Commit Graph

2682 Commits

Author SHA1 Message Date
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Dmitry Stogov
14bb973768 Fixed memory leaks in ZTS mode 2006-07-17 07:20:28 +00:00
Sara Golemon
2ef3bb9cb8 Logic fix: (!a == b) != (a != b) 2006-07-14 22:24:07 +00:00
Sara Golemon
eb634dfa84 #38105 (2/3) Filters should report char/UChar count, not bytes 2006-07-14 19:15:31 +00:00
Sara Golemon
aea4195ac6 #38105 (1/3) Backward logic, filter_product == IS_STRING means the wrapper HAS applied pre-filtering 2006-07-14 19:14:40 +00:00
Antony Dovgal
87d846c2cb initialize variables 2006-07-13 17:55:50 +00:00
Antony Dovgal
f7f468863a fix build 2006-07-13 17:02:43 +00:00
Ilia Alshanetsky
e49961c935 MFB: Fixed compiler warnings. 2006-07-13 15:05:42 +00:00
Antony Dovgal
68bd430a63 fix C++ comments in C code and comment out unused variable 2006-07-13 12:17:25 +00:00
Antony Dovgal
12f44c2b2b fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length) 2006-07-13 11:58:42 +00:00
Andrei Zmievski
ed77c07a35 Commit Sara's patch for supporting filesystem enccoding in
include/require.
2006-07-12 17:04:13 +00:00
Nuno Lopes
62338cfeb8 static+const keywords 2006-07-07 23:28:23 +00:00
Dmitry Stogov
a72dd9fe17 Changed priority of PHPRC environment variable on win32 to be higher then value from registry. 2006-07-04 06:38:32 +00:00
Nuno Lopes
c2b1be3549 MFB5.2: const keywording 2006-07-01 11:50:52 +00:00
Hannes Magnusson
b9c078acf4 url->URL 2006-06-29 14:42:30 +00:00
Andrei Zmievski
e875205714 Implement user conversion error handler support. Works as normal error
handler, in that it can return false to make the default one take over.
Handler signature is:
  user_handler($direction, $encoding, $char_byte, $offset, $message)

Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Andrei Zmievski
9573e77249 Typos. 2006-06-21 17:10:13 +00:00
Hannes Magnusson
64ce1969c9 Plug memleak (leaks on empty files) 2006-06-20 18:09:33 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Michael Wallner
cf914cc0a7 - don't use anonymous union 2006-06-12 18:18:39 +00:00
Michael Wallner
773fa96dfc - fix SEGV in php_output_handler_started() 2006-06-06 22:13:23 +00:00
Antony Dovgal
7a9ad25d8c don't leak when decoding failed 2006-06-06 14:08:47 +00:00
Michael Wallner
0fe565293f - fix regression with bug #22690 (ob_start() with create_function() output handler) 2006-06-06 11:08:45 +00:00
Antony Dovgal
99e0a6f3d6 no need to check if non-existing include_path complies with open_basedir setting
the only result we can get is segfault
2006-06-05 22:39:10 +00:00
Edin Kadribasic
19787d38e9 MFB 2006-06-05 22:23:39 +00:00
Michael Wallner
af012fd916 - fix output handler seeing buffered data when it gets discarded
- add test
2006-06-04 10:01:58 +00:00
Michael Wallner
4de156baa2 - remove obsolete cruft 2006-06-03 11:51:35 +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
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
Andrei Zmievski
7a14d10fe4 MFB 2006-05-31 17:19:05 +00:00
Johannes Schlüter
3d2ddf524e - nitpicking "PHP6" vs. "PHP 6" 2006-05-27 20:53:38 +00:00
Edin Kadribasic
4eab123723 MFB: Missing definition, patch by Steph Fox 2006-05-25 18:48:30 +00:00
Edin Kadribasic
7d605c31d1 MFB: Initialize windows globals, fixes #37428 2006-05-24 22:00:57 +00:00
Ilia Alshanetsky
45b278cc34 MFB: Fixed handling of extremely long paths inside tempnam() function. 2006-05-23 23:22:16 +00:00
Marcus Boerger
25d5adec0d - Fix feof() with temp/memory streams 2006-05-23 22:26:23 +00:00
Marcus Boerger
a4d6c5a6f0 - Handle corrupt base64 data in data: url 2006-05-21 13:35:06 +00:00
Antony Dovgal
1417222aee initialize factory 2006-05-19 10:23:43 +00:00
Dmitry Stogov
ab9e070bbf Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:11:02 +00:00
Antony Dovgal
e2d3206e78 MFB: fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir) 2006-05-16 13:05:23 +00:00
Ilia Alshanetsky
9ac333f624 MFB: Disable realpath cache when open_basedir or safe_mode are enabled on a
per-request basis.
2006-05-16 00:40:36 +00:00
Marcus Boerger
1bbfe90571 - No need to have this controlled by allow_url_fopen 2006-05-14 19:13:17 +00:00
Marcus Boerger
3856d8da6d - Add strict compliant RFC2397 support (no //) 2006-05-14 18:35:40 +00:00
Marcus Boerger
3b66ab74f9 - RFC2397 add decoding
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger
f9c249407d - Enforce stream mode correct 2006-05-14 01:03:42 +00:00
Marcus Boerger
73069100fd - Change to use dedicated stream ops 2006-05-14 00:45:27 +00:00
Marcus Boerger
4f29479a22 - RFC 2397 meta data handling 2006-05-14 00:40:53 +00:00
Marcus Boerger
29c0f5bede - Initial RFC2397 support
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Dmitry Stogov
b75a22b203 Fixed bug #37306 (max_execution_time = max_input_time). 2006-05-11 22:08:55 +00:00
Marcus Boerger
1f030db700 - Fix error mode handling 2006-05-11 07:55:48 +00:00
Rasmus Lerdorf
839c3e24a3 MFB input filter hook for getenv() 2006-05-10 21:25:01 +00:00