Commit Graph

400 Commits

Author SHA1 Message Date
Dmitry Stogov
611abb17fc Namespace constants 2007-08-24 13:50:52 +00:00
Jani Taskinen
5d0176a32b - Fix compile warnings 2007-07-21 00:34:41 +00:00
Antony Dovgal
4adec955f9 fix folding and ws 2007-07-10 15:06:58 +00:00
Antony Dovgal
0e240e2df1 this case is handled in convert_to_unicode(), no need to duplicate it 2007-04-28 12:05:19 +00:00
Antony Dovgal
5ff229034f fix build on Tru64 2007-04-26 19:08:24 +00:00
Antony Dovgal
99def5cac2 reset the exception if it's still NULL 2007-03-15 16:42:51 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Marcus Boerger
06af520df7 - Add Z_OBJDEBUG[_P[P]] helper macros 2007-01-19 22:19:08 +00:00
Marcus Boerger
13da6bf4d7 - Add debug_info helper to overloadedobjects 2007-01-18 23:23:13 +00:00
Dmitry Stogov
e5ea244b36 Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts) 2007-01-12 14:38:07 +00:00
Dmitry Stogov
c849a54b02 Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 16:47:46 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
52d9ed7b34 nuke dead code 2006-12-28 21:01:52 +00:00
Andrei Zmievski
a87ab2a879 Make utf8_conv stop on conversion errors when converting to UTF-16. 2006-12-15 22:30:44 +00:00
Andrei Zmievski
5a15a3c3f4 Clarify stream_encoding. 2006-12-11 21:48:07 +00:00
Antony Dovgal
4789badd3a use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Antony Dovgal
63df6688b5 initialize CG(literal_type) using ZEND_STR_TYPE macro
add CG(literal_type) initialization in non-ZTS mode
fixes backticks operator
2006-11-24 11:36:40 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Dmitry Stogov
15aca2c17d Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) 2006-11-08 11:04:42 +00:00
Marcus Boerger
f7600a7b67 - Fix issue with name mangling 2006-10-31 19:21:03 +00:00
Antony Dovgal
15e479e892 fix invalid write 2006-10-19 10:02:34 +00:00
Dmitry Stogov
de613c8a1b Fixed incorrect parameter name coping 2006-10-17 10:43:37 +00:00
Dmitry Stogov
0d7d1b7ffa Fixed bug #39140 (Uncaught exception may cause crash) 2006-10-16 11:13:20 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Sara Golemon
64806e499e Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts() 2006-10-05 23:24:55 +00:00
Andrei Zmievski
32a2f348af This might not be necessary if we clean it all up ourselves. 2006-10-05 22:45:34 +00:00
Sara Golemon
d666c05427 PHP6 Update for get_included_files() and export of path decode for Zend 2006-10-03 16:28:02 +00:00
Andrei Zmievski
966d8022b9 Fix off-by-one error. 2006-09-29 20:59:26 +00:00
Andrei Zmievski
1efe216585 Use internal converter name to speed up instantiation. 2006-09-19 20:44:37 +00:00
Sara Golemon
3f56da6eba Add INI controlled default stream encoding (unicode.stream_encoding).
Add convenience function stream_defualt_encoding() for setting it.
2006-09-19 20:36:48 +00:00
Antony Dovgal
398a45429e fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) 2006-09-11 14:28:19 +00:00
Antony Dovgal
f5715ee86f implement zend_unicode_to_string() and zend_string_to_unicode()
part #1 (of 2)
2006-08-08 16:58:06 +00:00
Marcus Boerger
617a18fc40 - Fix for #34505 and repated (improved version of what is in 5.2, 5.1) 2006-07-24 17:51:41 +00:00
Antony Dovgal
93094e525b MFB: fetch tsrm_ls, don't use it uninitialized 2006-07-19 06:33:07 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Antony Dovgal
90d62b46a0 initialize EG(exit_status) 2006-07-12 21:03:07 +00:00
Andrei Zmievski
ed77c07a35 Commit Sara's patch for supporting filesystem enccoding in
include/require.
2006-07-12 17:04:13 +00:00
Andrei Zmievski
619350f27c Rename unicode_semantics to unicode.semantics. 2006-06-28 14:13:13 +00:00
Andrei Zmievski
37972451f8 Implement unicode_set_error_handler() / unicode_restore_error_handler().
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Stefan Esser
08e355e39e Added hook for compile_string() 2006-06-13 12:56:20 +00:00
Marcus Boerger
9b29f1a3f4 - Fix memleaks (by nuno) 2006-06-12 22:48:46 +00:00
Marcus Boerger
3350fd0fd1 - Revert - Needs further discussing 2006-06-03 11:41:29 +00:00
Marcus Boerger
c870888d06 - Printable is supposed to return nativ/unicode depending on ini setting 2006-06-03 11:01:40 +00:00
Dmitry Stogov
916a317385 SAPI globals are destroied at this point and reporting errors about memory leaks
can cause crash.
2006-06-02 13:31:38 +00:00
Dmitry Stogov
ab9e070bbf Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:11:02 +00:00
Ilia Alshanetsky
2639d7e6d8 Fixed bug #35512 (Lack of read permission on main script results in
E_WARNING rather then E_ERROR).
2006-05-17 13:28:20 +00:00
Andrei Zmievski
7009fb94fe Oops. 2006-05-04 21:23:53 +00:00
Andrei Zmievski
534cad7064 Add a global ASCII connverter, macros to return single codepoints
(UCHAR32), and zend_unicode_to_ascii() function.
2006-05-04 21:22:17 +00:00
Andrei Zmievski
16c55fb25a Move to refcounted implementation of collators. 2006-04-20 21:56:43 +00:00
Dmitry Stogov
39a5677cf3 Fixed cleanup dependent on uninitialized value 2006-04-19 10:29:46 +00:00