Michael Wallner
df26ea87bd
- output handler alias ctor should know about chunk_size and flags
2006-08-31 13:51:35 +00:00
Michael Wallner
d83fdc677f
- fix PHP_OUTPUT_CONFLICT macro
2006-08-30 22:34:32 +00:00
Michael Wallner
e62c35f141
- add PHP_OUTPUT_WRITTEN and PHP_OUTPUT_SENT status flags
2006-08-30 14:42:01 +00:00
Michael Wallner
2dc5f6de5d
- the Vary header for zlib.output_compression is now handled inside the output handler
2006-08-30 12:25:56 +00:00
Michael Wallner
0eef1208c2
- output handler may modify context->op
...
- discard any context->out.data on failure
2006-08-30 12:06:22 +00:00
Michael Wallner
7947beb75a
- revise output handler alias API
...
- add convenience macros for conflicts and aliases
- generalize flags to php_output_stack_pop()
- mark the handler as started *after* run
- handler should still be flushable after marking it immutable
2006-08-30 07:39:09 +00:00
Antony Dovgal
144cca7be3
fix #38199 (fclose() unable to close STDOUT and STDERR)
2006-08-28 17:14:13 +00:00
Andrei Zmievski
f4a5e50069
MFB
2006-08-23 20:39:37 +00:00
Michael Wallner
53ca648bb5
- fix php_output_handler_started()
2006-08-22 09:56:24 +00:00
Michael Wallner
31632b3458
- use the handler name zval directly when listing stati, too
2006-08-22 08:21:19 +00:00
Michael Wallner
0ff7bc29d9
- fix tests to comply with upgraded string.c
...
- use add_next_index_zval() when listing handlers
2006-08-22 08:16:37 +00:00
Michael Wallner
139f6ff79d
- allocate handler stack on the heap and avoid segfaults on shutdown when startup fails
...
- don't try to append empty buffer
- fix some dbg format strings
2006-08-22 07:53:58 +00:00
Dmitry Stogov
d824f02ce1
Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32)
2006-08-22 06:15:45 +00:00
Ilia Alshanetsky
2ae992d772
MFB: Increased default memory limit to 16 megabytes to accommodate for a
...
more accurate memory utilization measurement.
2006-08-17 13:43:51 +00:00
Antony Dovgal
a4a561dc72
fix #38450 (constructor is not called for classes used in userspace stream wrappers)
2006-08-14 15:00:04 +00:00
Nuno Lopes
5897477522
MFH: const/static keywording
2006-08-12 19:41:28 +00:00
Michael Wallner
de93f1dc91
- error message enhancements
...
- avoid duplicate error messages
- add PHP_OUTPUT_HANDLER_FLUSHABLE
- add PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL
- add more tests
2006-08-09 13:56:45 +00:00
Michael Wallner
6e54e763ae
- mark unicode safe functions
2006-08-09 10:57:46 +00:00
Michael Wallner
f5949edfe9
- use HashPosition for traversal of registered reverse conflicts
...
- fix protos
2006-08-09 10:21:10 +00:00
Antony Dovgal
2c946984da
unused variable
2006-08-08 17:05:14 +00:00
Antony Dovgal
dbe2092313
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Dmitry Stogov
a0f7f6680a
In addtion to path to php.ini, PHPRC now may specify full file name
2006-08-03 11:05:09 +00:00
Ilia Alshanetsky
d2579f9dd1
MFB: Fixed bug #38236 (Binary data gets corrupted on multipart/formdata
...
POST).
2006-07-27 17:14:24 +00:00
foobar
95f2db2459
- Removed unnecessary quotes
2006-07-27 08:52:10 +00:00
foobar
f0fe4e05b9
- Added PHP_VERSION_ID == PHP_VERSION as integer value.
2006-07-27 08:50:41 +00:00
Michael Wallner
73ba3e2592
- added error_get_last() function
2006-07-19 12:25:02 +00:00
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