Commit Graph

68 Commits

Author SHA1 Message Date
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Greg Beaver
27fa0688cc MFB: far better fix for bug #40189 2008-01-12 22:03:44 +00:00
Greg Beaver
368ba87ead fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:25:43 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ilia Alshanetsky
b5ccc0ad91 Fixed bug #43589 (a possible infinite loop in bz2_filter.c)
# Patch by Greg Beaver
2007-12-16 17:21:44 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Jani Taskinen
6cd020bca8 - Fixed bug #42627 (bz2 extension fails to build with -fno-common) 2007-09-12 11:44:11 +00:00
Antony Dovgal
25af0b4382 MFB: Fixed bug #42117 (bzip2.compress loses data in internal buffer) 2007-08-10 09:00:42 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Antony Dovgal
f597e9676b fix #40189 (possible endless loop in zlib.inflate stream filter) 2007-01-25 12:21:24 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
487ce5744a improve check for overflow 2006-12-25 20:03:20 +00:00
Nuno Lopes
de57a1f871 cleaning some warnings (char* -> zstr) 2006-10-31 22:13:09 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
fbbccfd9cf MFB (move static keywording from .h to .c) 2006-10-08 00:05:17 +00:00
Hannes Magnusson
dc9a30be4c Update test 2006-10-07 23:42:43 +00:00
Sara Golemon
32c3bf91e3 Updated for PHP6 2006-10-05 21:28:19 +00:00
Hannes Magnusson
1500e8bac0 fix test 2006-10-04 08:45:21 +00:00
Antony Dovgal
f3fa436ba3 fix test 2006-09-18 12:35:59 +00:00
Ilia Alshanetsky
d2d5387a92 Fixed build with gcc 4.1.1 2006-08-30 18:40:01 +00:00
Nuno Lopes
d3eac2892f MFB: a few more static keywording 2006-08-14 14:54:19 +00:00
Antony Dovgal
887337a84f add new tests, improve the old ones 2006-06-26 22:20:55 +00:00
Antony Dovgal
d4bb248ae0 detect empty mode string and avoid off-by-one 2006-06-26 21:13:22 +00:00
Michael Wallner
4c4d083b52 MFB: use %zu to format size_t 2006-06-23 07:30:40 +00:00
Ilia Alshanetsky
960ac4a6b1 MFB: Fixed compiler warnings. 2006-06-21 15:19:37 +00:00
Antony Dovgal
06ae96342f improve check for stream mode, add tests 2006-06-21 14:38:06 +00:00
Antony Dovgal
49a29c9b94 don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) 2006-06-21 13:12:00 +00:00
Antony Dovgal
f20ba806f9 fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
tests will follow
2006-06-21 12:42:50 +00:00
Hannes Magnusson
e6487d115e Added argument info
Fixed protos
Fixed vim folding
2006-06-10 22:59:40 +00:00
Sara Golemon
37b1114556 Make some tests pass.
compression is just a binary thing.
Write unicode and suffer my wrath!
2006-04-02 17:41:04 +00:00
Sara Golemon
48798021b5 Refactor streams layer for PHP6.
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use.  (Or a close aproximation thereof).

See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
cdd291f514 - Fix bug #35530 (ext/bz2 compile failure with phpize) 2005-12-03 13:22:20 +00:00
Ilia Alshanetsky
85aaa8e388 Fixed bug #34968 (bz2 extension fails on to build on some win32 setups). 2005-10-25 15:52:08 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
60b465fc5b MFB: MSVC++ 6.0 doesn't support long long type 2005-06-13 19:33:39 +00:00
Ilia Alshanetsky
3341b5dedd Fixed compiler warning. 2005-06-09 16:13:14 +00:00
Ilia Alshanetsky
e3d8886bcd Better storage size for output length.
# Thanks to Stefan for noticing the problem.
2005-06-06 16:30:46 +00:00
Ilia Alshanetsky
a13aaa8aef Fixed bug #33070 (Improved performance of bzdecompress() by several orders
of magnitude).
2005-06-05 18:04:20 +00:00
foobar
28ffae8ad0 - Make VC6 happy 2005-04-10 19:07:38 +00:00
Antony Dovgal
f27fb2d715 fix #32373 (segfault in bzopen('/wrong/path')) 2005-03-19 13:56:00 +00:00
Ilia Alshanetsky
5ffe5a485d MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
wrapper).
2005-02-23 18:48:49 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Sara Golemon
ee93ed0aaa Persistent mallocs can return NULL (on failure) 2004-07-21 02:38:40 +00:00
Sara Golemon
f92797f4e0 Add bz2 stream filter support 2004-07-20 05:26:33 +00:00