Commit Graph

5595 Commits

Author SHA1 Message Date
Dmitry Stogov
106c808d41 Fixed bug #39640 (Segfault with "Allowed memory size exhausted") 2006-12-01 13:54:49 +00:00
Dmitry Stogov
d935b44364 Fixed bug #39652 (Wrong negative results from memeory_get_usage()) 2006-12-01 11:40:23 +00:00
23757fce66 ChangeLog update 2006-12-01 01:31:01 +00:00
Antony Dovgal
b0f688006d fix test 2006-11-30 13:09:24 +00:00
58698c964c ChangeLog update 2006-11-29 01:31:10 +00:00
Antony Dovgal
afd3d27c5f resolve coverity issue #224 2006-11-28 21:19:58 +00:00
929123554a ChangeLog update 2006-11-25 01:31:23 +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
7f16662c6b ChangeLog update 2006-11-24 01:31:16 +00:00
Antony Dovgal
7d4abedf5a nullify opened_path and filename (when required)
fixes invalid reads with `php-cli -F <script>`
2006-11-23 22:04:32 +00:00
Dmitry Stogov
a44849cf0e Fixed bug #39534 (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com) 2006-11-23 09:33:01 +00:00
Dmitry Stogov
6b2f3046e8 Fixed bug #39602 (Invalid session.save_handler crashes PHP) 2006-11-23 08:07:16 +00:00
3922d05797 ChangeLog update 2006-11-22 01:31:26 +00:00
Antony Dovgal
0052d291fc add test for some of builtin funcs 2006-11-21 11:11:25 +00:00
Antony Dovgal
43559f1b18 fix leak in get_extension_funcs() 2006-11-21 11:10:01 +00:00
Antony Dovgal
6983398b91 fix proto 2006-11-21 10:48:16 +00:00
f2a6b5ff00 ChangeLog update 2006-11-21 01:31:11 +00:00
Antony Dovgal
0e647693df fix leak in zend_register_functions()
this is very odd, but Zend MM said nothing about it..
2006-11-20 22:08:27 +00:00
fa94ed2bb2 ChangeLog update 2006-11-18 01:31:10 +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
ce5812d198 ChangeLog update 2006-11-16 01:31:33 +00:00
Antony Dovgal
8043daedbb fix typo (patch by Mike Wallner) 2006-11-15 22:50:19 +00:00
Dmitry Stogov
7edaae4ebf typo 2006-11-15 17:53:39 +00:00
Antony Dovgal
7c08c95070 fix leak appearing when converting object to NULL
add test
2006-11-15 17:28:56 +00:00
Dmitry Stogov
cc134cef18 Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 2006-11-15 16:05:26 +00:00
838419f864 ChangeLog update 2006-11-14 01:31:25 +00:00
Dmitry Stogov
eae5ec4197 Fixed incorrect heap corruptiuon detection code 2006-11-13 10:28:57 +00:00
55409461d2 ChangeLog update 2006-11-11 01:31:31 +00:00
Dmitry Stogov
706a0364e6 Unicode support 2006-11-10 14:21:13 +00:00
Dmitry Stogov
449e7d18a2 Start timiout thread on Windows only if necessary 2006-11-10 11:51:55 +00:00
Dmitry Stogov
df34e766b6 Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:16 +00:00
0daf1284cd ChangeLog update 2006-11-10 01:31:22 +00:00
Antony Dovgal
e16db0f454 add two more unicode related macros 2006-11-09 23:50:47 +00:00
e6714ae698 ChangeLog update 2006-11-09 01:31:24 +00:00
Dmitry Stogov
86c0ed37c8 HashTable copying optimization (Matt Wilmas) 2006-11-08 16:02:29 +00:00
Dmitry Stogov
f8b3df2bf2 Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array). 2006-11-08 13:38:44 +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
Sara Golemon
63c3ea2dcd Put zend_lookup_class_ex back into the API for BC. 2006-11-08 10:09:17 +00:00
157ace4f0e ChangeLog update 2006-11-08 01:31:28 +00:00
Ilia Alshanetsky
d5c7a2d9c6 MFB: Fixed bug #33282 (Re-assignment by reference does not clear the is_ref
flag)
2006-11-07 20:28:40 +00:00
97d10609bd ChangeLog update 2006-11-04 01:31:15 +00:00
d9419bc989 ChangeLog update 2006-11-02 01:31:07 +00:00
Johannes Schlüter
4b805aab5d - restoring init of the uni str which has been removed (patch by Pierre) 2006-11-01 20:04:19 +00:00
2b4e4159db ChangeLog update 2006-11-01 01:31:07 +00:00
Marcus Boerger
d675326a22 - Consistency of apply funcs, #39320 2006-10-31 22:05:56 +00:00
Marcus Boerger
f7600a7b67 - Fix issue with name mangling 2006-10-31 19:21:03 +00:00
b124d3c4b3 ChangeLog update 2006-10-31 01:31:15 +00:00
Dmitry Stogov
1bf9c4a45d Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:04:47 +00:00
34d0ffd03d ChangeLog update 2006-10-29 01:31:12 +00:00
Antony Dovgal
2ea0fcc651 fix build 2006-10-28 10:42:04 +00:00
26bdf07fbf ChangeLog update 2006-10-28 01:31:08 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +00:00
fabdfc0550 ChangeLog update 2006-10-27 01:31:13 +00:00
Antony Dovgal
53d94a9821 fix wrong function prototype (see bug #39260) 2006-10-26 09:28:44 +00:00
aca45de82a ChangeLog update 2006-10-25 01:31:04 +00:00
Andrei Zmievski
fbc37c81af Fix key length calculation. 2006-10-24 15:35:16 +00:00
Antony Dovgal
d5fbdc689a fix add_u_assoc_null() macro 2006-10-24 12:46:33 +00:00
8878fefeb6 ChangeLog update 2006-10-21 01:31:08 +00:00
Antony Dovgal
4a98596c90 rename REAL_KEY_SIZE() to USTR_BYTES() and move to zend_unicode.h
this macro is going to be actively used in Unicode version of OCI8 (and other extensions, probably)
2006-10-20 10:33:31 +00:00
b59fcf6572 ChangeLog update 2006-10-20 01:31:17 +00:00
Andrei Zmievski
ac73b4a6e5 Fix potential (and real) leaks due to bad macro writing. Grrr. 2006-10-19 20:54:48 +00:00
Andrei Zmievski
9d4d53515d Fix possible double macro expansion. 2006-10-19 18:27:35 +00:00
Antony Dovgal
15e479e892 fix invalid write 2006-10-19 10:02:34 +00:00
8c5bdbf452 ChangeLog update 2006-10-19 01:31:08 +00:00
Johannes Schlüter
38ea123751 - added missing return... 2006-10-18 17:03:26 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
a980840bb3 ChangeLog update 2006-10-18 01:31:14 +00:00
Andrei Zmievski
1e1f3efb02 Fix thread safety. 2006-10-17 22:15:19 +00:00
Andrei Zmievski
2602e49e65 Implement add_utf8_property_* API. 2006-10-17 17:56:42 +00:00
Dmitry Stogov
de613c8a1b Fixed incorrect parameter name coping 2006-10-17 10:43:37 +00:00
8a73fc9a3c ChangeLog update 2006-10-17 01:31:08 +00:00
Andrei Zmievski
6d38ea2988 Optimize ZEND_U_CASE_EQUAL() and move it to the header file. 2006-10-16 21:13:13 +00:00
Dmitry Stogov
0d7d1b7ffa Fixed bug #39140 (Uncaught exception may cause crash) 2006-10-16 11:13:20 +00:00
f1de0199c3 ChangeLog update 2006-10-14 01:31:14 +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
ba13b636e3 ChangeLog update 2006-10-13 01:30:58 +00:00
Dmitry Stogov
b907cd59d5 Make zend_memory_peak_usage() to be avalable even without --enable-memory-limit 2006-10-12 06:47:04 +00:00
3df7420fed ChangeLog update 2006-10-12 01:32:24 +00:00
Andrei Zmievski
97d0372249 Extend zend_fcall_info_args functions. (Patch from Mike Wallner) 2006-10-11 18:37:31 +00:00
Antony Dovgal
104c828662 initialize variable 2006-10-11 16:11:40 +00:00
f9a96f8ce9 ChangeLog update 2006-10-08 01:30:55 +00:00
Andrei Zmievski
d86524570f Hash functions for UTF-8 keys. 2006-10-07 17:34:19 +00:00
788f95587c ChangeLog update 2006-10-07 01:30:59 +00:00
Andrei Zmievski
f47955c66f Patch from Matt W to fix the case of hitting ERANGE too early. 2006-10-06 17:23:05 +00:00
Andrei Zmievski
706d7a3b55 Unicode string support for extension_loaded(). 2006-10-06 17:11:17 +00:00
Andrei Zmievski
de082072cf Unicode string support in get_extension_funcs(). 2006-10-06 17:05:22 +00:00
841a736681 ChangeLog update 2006-10-06 01:32:17 +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
Dmitry Stogov
301efee1cf Allow future extensibility without binary compatibility break 2006-10-05 08:09:12 +00:00
254e6a38eb ChangeLog update 2006-10-05 01:30:55 +00:00
Antony Dovgal
5ce3a350e4 add test for #39036 (reproducible with 5.1.6, but works fine in 5.2 and HEAD) 2006-10-04 13:35:31 +00:00
740309a54c ChangeLog update 2006-10-04 01:30:52 +00:00
Antony Dovgal
55de312ce2 throw a warning when doing modulus by 0 (fr #39027) 2006-10-03 17:54:32 +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
Dmitry Stogov
e8ddcf1077 Speedup array/HashTable copying. (Matt W) 2006-10-03 11:10:54 +00:00
Dmitry Stogov
ea1cd51094 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:35 +00:00
Dmitry Stogov
aaed3f9fcb Fixed memory leak (Nuno) 2006-10-03 07:31:10 +00:00
c88c6deeee ChangeLog update 2006-10-03 01:30:52 +00:00
Antony Dovgal
36b78b78a4 fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:05:02 +00:00