1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

342 Commits

Author SHA1 Message Date
Martin Kraemer e46b1b3747 Typo 2007-03-14 09:49:58 +00:00
Michael Wallner cd2554343b - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 2007-02-02 17:11:10 +00:00
Antony Dovgal f597e9676b fix #40189 (possible endless loop in zlib.inflate stream filter) 2007-01-25 12:21:24 +00:00
Nuno Lopes 22ad2f9538 MFB 2007-01-03 22:33:33 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Nuno Lopes fc9b8ae1a3 MFB 2006-12-28 19:53:30 +00:00
Antony Dovgal 024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Michael Wallner d10aa39ce4 - fix protos 2006-11-16 13:36:03 +00:00
Ilia Alshanetsky c1af91befc MFB: Fixed compiler warnings 2006-10-16 15:42:23 +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
Dmitry Stogov 128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Michael Wallner 97db4007db - fix issues with ob_start("ob_gzhandler")
- add tests
2006-09-04 10:31:11 +00:00
Michael Wallner 26a013eb08 - fix tests SKIPIF 2006-08-31 16:28:46 +00:00
Michael Wallner d6c37b7bbc - add basic zlib.output_compression tests 2006-08-31 13:52:41 +00:00
Michael Wallner df26ea87bd - output handler alias ctor should know about chunk_size and flags 2006-08-31 13:51:35 +00:00
Michael Wallner 5de701d544 - good bye ob_gzhandler
- ego promo
2006-08-30 22:35:57 +00:00
Michael Wallner b35de68c73 - allow (de)activation with ini_set() 2006-08-30 14:42:26 +00:00
Michael Wallner aafd59eb91 - add php_zlib_output_encoding() decl 2006-08-30 12:26:38 +00:00
Michael Wallner d62b3a9d00 - avoid a loop around deflate() by using Z_SYNC_FLUSH for standard write 2006-08-30 12:07:04 +00:00
Michael Wallner 81b421f736 - implement new output API
- ported deflate/inflate code
- require zlib >= 1.2.0.4
- add gzdecode()

# if we want the filter code to benefit from zlib 1.2 the
# "streamable" API would have to be ported, too
2006-08-30 07:42:02 +00:00
Antony Dovgal 53e7c8afde the error message is different on different OSes and zlib versions 2006-08-24 11:30:28 +00:00
Nuno Lopes 0e29c9a870 upgrade the rest of the functions to Unicode (except ob_gzhandler, that I leave for Mike).
also update tests to force binary data to be passed
2006-07-27 16:31:07 +00:00
Nuno Lopes ae95b257f8 convert void* to zstr when using the 't' parameter type 2006-07-27 15:53:47 +00:00
Nuno Lopes 67793e71c0 change char* to void* when using the 't' parameter (as noted by Andrei) 2006-07-08 21:54:49 +00:00
Nuno Lopes 6cfeae5782 upgrade a couple of functions to Unicode 2006-07-07 23:30:30 +00:00
Antony Dovgal 98889cc198 add new tests 2006-06-26 23:41:51 +00:00
Antony Dovgal dfc2fd651c zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:45 +00:00
Antony Dovgal ffac3d3c1b MFB: don't try to inflate empty strings 2006-06-26 22:53:42 +00:00
Dmitry Stogov 943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Ilia Alshanetsky 634e59643c MFB: Fixed compiler warning 2006-06-12 23:28:44 +00:00
Hannes Magnusson 53d262c04d Nuke unused var 2006-06-11 20:33:29 +00:00
Michael Wallner 231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner be96a46e96 - fix encoding 2006-06-02 20:09:22 +00:00
Michael Wallner 4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Frank M. Kromann 1c307a8a9e fix build. ZSTR() must be applied to the buf argument of php_stream macros 2006-04-29 14:38:35 +00:00
Sara Golemon 6d42d94715 Silence false positive test failures 2006-04-02 17:49:10 +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
Ilia Alshanetsky 27e175eef0 So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +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
Antony Dovgal 2c508bc1f0 fix tests 2006-02-02 15:04:22 +00:00
foobar 251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Antony Dovgal b6b4514801 add missing skipif tag 2005-12-25 22:38:36 +00:00
Frank M. Kromann 89a3dc14af Export symbols needed by pecl/http 2005-12-15 02:26:14 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Antony Dovgal 0c110a93d2 MF51: change "-o" to "||" to support weird systems with broken test 2005-11-29 18:38:48 +00:00
Sara Golemon 0d8bbe7575 Sync tests with new defaults 2005-11-24 04:37:04 +00:00
Sara Golemon d1aeaab5cc MFB (r-1.6.2.1) 2005-11-22 22:08:22 +00:00
Michael Wallner 3fa81199ad - fix the fix 2005-10-25 15:35:22 +00:00
Michael Wallner b680d05c8e - add test case too 2005-10-25 15:17:11 +00:00