Stanislav Malyshev
aa827cf2b9
add safe_realloc
2007-02-16 18:12:34 +00:00
Dmitry Stogov
a909db6d9c
Allow C++ extensions to use CG(), EG() ... (Caroline)
2007-02-16 08:54:45 +00:00
Dmitry Stogov
a6fa18ac7d
Fixed zend_llist_remove_tail (Michael Wallner)
2007-02-16 08:33:52 +00:00
d37f52174f
ChangeLog update
2007-02-16 01:31:09 +00:00
Dmitry Stogov
cb5ae2b82c
Fixed bug #40236 (php -a function allocation eats memory)
2007-02-15 10:42:52 +00:00
c345929860
ChangeLog update
2007-02-14 01:31:07 +00:00
Antony Dovgal
c212923e29
new/improved tests
2007-02-13 13:01:18 +00:00
7e36477e77
ChangeLog update
2007-02-09 01:31:10 +00:00
Marcus Boerger
bd7d5b527c
- No reason not to pass return_value_ptr for non return-by-reference functions
2007-02-08 14:47:32 +00:00
Marcus Boerger
10f0e0a5fa
- Fix potential issue with 'f'-parameter parsing
...
- Complete zend_fcall_info_*() API
2007-02-08 14:33:16 +00:00
Marcus Boerger
f709c26072
- Do not set is_ref/refcount for functions that return by reference
2007-02-08 12:30:40 +00:00
Marcus Boerger
70777b7df6
- More ZEND_API's
2007-02-08 12:29:57 +00:00
619c729ea8
ChangeLog update
2007-02-03 01:31:11 +00:00
Andrei Zmievski
696e85f062
Typos.
2007-02-02 22:18:55 +00:00
Andrei Zmievski
135c947f8d
- Add ^ specifier that returns original string type before conversion.
...
- Add ZVAL_ENC_STRING[L] macro that allows returning either a binary
string or an encoded strings as Unicode based on type, instead of
UG(unicode)
2007-02-02 21:49:38 +00:00
Antony Dovgal
535e38a473
add new tests
2007-02-02 12:53:54 +00:00
Antony Dovgal
92bf7d9872
-exactly 1 arguments
...
+exactly 1 argument
2007-02-02 12:51:37 +00:00
Antony Dovgal
afe43f7794
add new tests
2007-02-02 11:10:42 +00:00
Antony Dovgal
ffa0edaee1
fix tests
2007-02-02 10:55:23 +00:00
Antony Dovgal
427f94a5d4
fix isset() & unset() with CV-superglobals
...
see #40311
2007-02-02 09:24:13 +00:00
85de060da2
ChangeLog update
2007-02-02 01:31:04 +00:00
Dmitry Stogov
f994b102c7
Removed dead code
2007-02-01 16:38:15 +00:00
Dmitry Stogov
5a695e9f32
Fixed possible crash because of dereference of NULL
2007-02-01 15:24:10 +00:00
Dmitry Stogov
09de519e79
Enable canary protection in DEBUG mode only.
2007-02-01 15:12:07 +00:00
78db3ccc1c
ChangeLog update
2007-01-30 01:31:01 +00:00
Ilia Alshanetsky
ce8285d289
Copyright update
2007-01-29 04:40:46 +00:00
0a1bb1064f
ChangeLog update
2007-01-23 01:31:13 +00:00
Antony Dovgal
e196cfe7db
fix test
...
array_unique() is not expected to modify its argument
2007-01-22 08:55:39 +00:00
64e7508aaa
ChangeLog update
2007-01-22 01:31:08 +00:00
62ee72b42b
ChangeLog update
2007-01-21 01:31:09 +00:00
Antony Dovgal
4c6ee6f1d9
catch overflow right away
2007-01-20 23:09:42 +00:00
Sara Golemon
57da96bb42
Resolve autoglobals as global-fetch CVs when possible
2007-01-20 20:36:55 +00:00
b4693e4bee
ChangeLog update
2007-01-20 01:31:05 +00:00
Marcus Boerger
06af520df7
- Add Z_OBJDEBUG[_P[P]] helper macros
2007-01-19 22:19:08 +00:00
0dcfb9c769
ChangeLog update
2007-01-19 01:31:01 +00:00
Marcus Boerger
13da6bf4d7
- Add debug_info helper to overloadedobjects
2007-01-18 23:23:13 +00:00
Antony Dovgal
93ecf75a1f
fix folding, mark functions as unicode safe
2007-01-18 12:13:05 +00:00
583d976691
ChangeLog update
2007-01-16 01:31:06 +00:00
Antony Dovgal
54cc687609
fix test
2007-01-15 10:31:04 +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
2db8020bcb
ChangeLog update
2007-01-12 01:31:05 +00:00
Marcus Boerger
aa4cd53b7b
- Consistency: macros shall be uppercased (as requested by Andrei)
2007-01-11 22:55:33 +00:00
Marcus Boerger
cbcda92dc5
- MFB Missing part of __toString() support
2007-01-11 22:35:36 +00:00
Marcus Boerger
6a6d9da6ea
- Add zstrlen() helper
2007-01-11 21:32:57 +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
8713544381
ChangeLog update
2007-01-11 01:31:01 +00:00
Andrei Zmievski
1037e06dc8
Remove const warnings. (Andrey)
2007-01-10 16:47:41 +00:00
Dmitry Stogov
f6387758c6
- Fixed bug #35106 (nested foreach fails when array variable has a reference).
...
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:59:56 +00:00
58a751cc56
ChangeLog update
2007-01-10 01:31:05 +00:00
Andrei Zmievski
1c68a4cff7
Fix 'b' prefix in highlighting and tokenizer. (Matt W)
2007-01-09 17:39:59 +00:00
Dmitry Stogov
158ec65ba2
Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer)
2007-01-09 15:29:29 +00:00
Dmitry Stogov
a318af9992
Fixed bug #40002 (Try/Catch performs poorly)
2007-01-09 15:06:15 +00:00
Dmitry Stogov
9de739b847
Bump year.
2007-01-09 11:54:52 +00:00
8765d8553d
ChangeLog update
2007-01-09 01:31:08 +00:00
Andrei Zmievski
c1c23f8f42
Let caller issue error.
2007-01-08 18:01:16 +00:00
Andrei Zmievski
005a9909ae
Note.
2007-01-08 17:58:52 +00:00
79d92eaa2f
ChangeLog update
2007-01-08 01:31:08 +00:00
Sara Golemon
110a1b6788
Typo
2007-01-07 19:04:33 +00:00
Sara Golemon
7dcebde684
Add add_property_zstr(l)(_ex)()
2007-01-07 06:16:57 +00:00
Sara Golemon
d3149fbda4
Add pestrndup()
2007-01-07 06:16:10 +00:00
Sara Golemon
6f234cbf6f
Fix prior commit noticing this time that persistent allocators start with zend_*() and that one already exists
2007-01-07 05:45:07 +00:00
Sara Golemon
97ee887a13
Flesh out some missing API calls
2007-01-07 05:24:55 +00:00
3faf580a9a
ChangeLog update
2007-01-06 01:31:04 +00:00
Sara Golemon
b39fc244f0
Update create_function()
2007-01-05 19:00:36 +00:00
3d0d3ed316
ChangeLog update
2007-01-04 01:30:57 +00:00
Antony Dovgal
6dd26de0c9
more magic number fixes
2007-01-03 20:49:27 +00:00
1cb8989129
ChangeLog update
2007-01-02 01:31:02 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
011a8ac0e6
ChangeLog update
2006-12-31 01:30:58 +00:00
4a2fe2e564
ChangeLog update
2006-12-29 01:30:58 +00:00
Antony Dovgal
52d9ed7b34
nuke dead code
2006-12-28 21:01:52 +00:00
19fca9176f
ChangeLog update
2006-12-28 01:31:05 +00:00
Antony Dovgal
5204c96323
restore old behaviour when casting objects to strings and NULL
2006-12-27 17:22:22 +00:00
Antony Dovgal
da9f5e95bc
fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly
2006-12-27 16:50:05 +00:00
Antony Dovgal
b1ce8b0345
add zend_u_strtoul() and fix build
2006-12-27 15:23:45 +00:00
62a107ea55
ChangeLog update
2006-12-27 01:31:05 +00:00
Ilia Alshanetsky
2dbfe66e4a
MFB: safety checks
2006-12-26 17:40:20 +00:00
599b2e6d38
ChangeLog update
2006-12-26 01:31:04 +00:00
Dmitry Stogov
e88cc26864
Fixed bug #39825 (foreach produces memory error)
2006-12-25 19:23:18 +00:00
Dmitry Stogov
326fcd0261
Fixed bug #39944 (References broken)
2006-12-25 14:16:38 +00:00
Dmitry Stogov
cd07310423
Fixed possible size_t overflow
2006-12-25 12:16:49 +00:00
1a07d80f65
ChangeLog update
2006-12-24 01:31:04 +00:00
Antony Dovgal
6cbc9b0043
fix typo
2006-12-23 14:12:38 +00:00
4d5943ccb7
ChangeLog update
2006-12-23 01:30:59 +00:00
Andrei Zmievski
93b9c779f3
Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input,
...
since we cannot check for UG(unicodE) inside it.
2006-12-22 21:38:12 +00:00
9b8babbbd2
ChangeLog update
2006-12-22 01:31:06 +00:00
Marcus Boerger
9103d6b5fe
- Implement ezstrndup()
2006-12-22 00:56:59 +00:00
Marcus Boerger
7acd10fb2c
- Make custom serializing work with zstr (as discussed with andrei)
2006-12-22 00:29:11 +00:00
Marcus Boerger
bc1b8f0ab1
- Use conversion macro
2006-12-22 00:28:20 +00:00
Marcus Boerger
063fe11d25
-Serialization doesn't work with unicode data
2006-12-21 22:54:20 +00:00
Antony Dovgal
bfed0b6d94
fix possible leak
2006-12-21 11:07:41 +00:00
Ilia Alshanetsky
68181b4430
MFB: Fix a possible memory leak
2006-12-21 02:11:12 +00:00
Ilia Alshanetsky
113686caa4
MFB: Fixed possible memory leak
2006-12-21 01:58:46 +00:00
ee24e243f5
ChangeLog update
2006-12-21 01:31:02 +00:00
Antony Dovgal
53f30a15aa
make sure err_char is initialized properly
2006-12-21 00:25:16 +00:00
Antony Dovgal
120275b00e
fix possible leak on failure in get_defined_functions()
2006-12-20 23:19:44 +00:00
Antony Dovgal
722ad46c38
fix leak in zend_disable_class()
2006-12-20 23:00:54 +00:00
Marcus Boerger
71a73834f4
- Make shorter and do not use problematic attribute
2006-12-20 20:59:18 +00:00
Marcus Boerger
2f7e1b8ef3
- Compilers mightnot like the zstr return,thus return void*
2006-12-20 20:49:01 +00:00
Andrei Zmievski
de0f972b2b
Check for conversion failure in "s&" and return appropriately.
2006-12-20 20:43:52 +00:00
Andrei Zmievski
a98fa516e0
Fix return value in zval_unicode_to_string_ex().
2006-12-20 20:43:31 +00:00
Andrei Zmievski
57e7e4921f
Fix warning.
2006-12-20 20:42:50 +00:00
Marcus Boerger
89496ce1e6
- Implement zend_zstrndup()
2006-12-20 20:12:11 +00:00
Antony Dovgal
fa2889fbb1
return NULL right away if invalid length was passed
2006-12-20 19:08:23 +00:00
Antony Dovgal
7d1e0e7f30
fix #39903 (Notice message when executing __halt_compiler() more than once)
2006-12-20 16:30:00 +00:00
Dmitry Stogov
a7c536fbcd
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
...
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Hannes Magnusson
460360ae53
MFB:
...
- Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
4006f00219
ChangeLog update
2006-12-20 01:31:04 +00:00
Marcus Boerger
dcc6a0e511
- Changed macro once again
2006-12-19 22:27:15 +00:00
Marcus Boerger
da3d27dc4e
- Implement parameter parsing 'x'
2006-12-19 22:21:18 +00:00
Marcus Boerger
745b01794f
- Fix macro param order
2006-12-19 22:20:16 +00:00
Marcus Boerger
0caec1601a
- Implement zend_u_call_method to deal with situations where the function
...
name type is already known
2006-12-19 22:14:35 +00:00
Andrei Zmievski
e722dce575
- Marcus was too quick. Let's put type before zstr in the macros.
...
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Marcus Boerger
98dce57dd5
- Fix ZVAL_ZSTRL
2006-12-19 21:13:21 +00:00
c80e30a86f
ChangeLog update
2006-12-19 01:31:00 +00:00
Dmitry Stogov
4d7652abef
Fixed random generation of cookies and canaries
2006-12-18 11:39:34 +00:00
c89dabe0a2
ChangeLog update
2006-12-17 01:31:06 +00:00
Hannes Magnusson
950ab95207
Fix ZTS build
2006-12-16 18:31:23 +00:00
344ee28eb1
ChangeLog update
2006-12-16 01:31:02 +00:00
Andrei Zmievski
8a4e2184e0
Make convert_to_*() APIs return SUCCESS/FAILURE.
2006-12-16 00:21:41 +00:00
Andrei Zmievski
03547341ec
__builtin_expect() exists only in GCC 3.0 and higher.
2006-12-15 22:47:09 +00:00
Andrei Zmievski
b78a38a2ae
Make all macros (RETURN_*, RETVAL_*, ZVAL_*, add_*) that convert binary
...
strings to Unicode actually issues errors on failure. I'm surprised we
haven't done this already.
2006-12-15 22:35:23 +00:00
Andrei Zmievski
4d9e16e743
Fix potential buffer overflow in default conversion error handler.
2006-12-15 22:33:28 +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
Andi Gutmans
76b38dc441
- MF 5.2 (put cookie in first place)
2006-12-15 17:17:57 +00:00
Dmitry Stogov
03ffc4de4e
Added internal heap protection
...
. safe unlinking
. cookies
. canary protection (debug build only)
2006-12-15 13:25:47 +00:00
4967375aef
ChangeLog update
2006-12-13 01:31:03 +00:00
Sara Golemon
16cd1e762c
Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error
2006-12-12 23:09:01 +00:00
179456f9c1
ChangeLog update
2006-12-12 01:31:15 +00:00
Andrei Zmievski
5a15a3c3f4
Clarify stream_encoding.
2006-12-11 21:48:07 +00:00
a1f9cfb653
ChangeLog update
2006-12-09 01:31:06 +00:00
Dmitry Stogov
f37ad2e146
Fixed bug #39775 ("Indirect modification ..." message is not shown)
2006-12-08 16:23:04 +00:00
Dmitry Stogov
595c45e532
Fixed possible failure
2006-12-08 12:47:58 +00:00
49b8d0cd37
ChangeLog update
2006-12-08 01:31:00 +00:00
Antony Dovgal
2122cf4fab
initialize variables and make Coverity happy
2006-12-07 20:45:21 +00:00
Andrei Zmievski
6526e323a1
Apply Matt W's patch to only allow ASCII digits and not use u_digit().
2006-12-07 18:56:25 +00:00
Andrei Zmievski
1ef43a02ee
Guard against ambiguous 'else' clauses.
2006-12-07 18:19:21 +00:00
7d6583a064
ChangeLog update
2006-12-07 01:31:16 +00:00
Antony Dovgal
8f98226510
fix tests
2006-12-06 13:11:02 +00:00
Antony Dovgal
b8ad517526
add zend_u_strtod() implementation by Matt Wilmas
...
major speedup when using floats in Unicode mode
also fixes several problems with the current code
2006-12-06 12:25:29 +00:00
Antony Dovgal
d8e8eb4e08
destroy freelist before destroying the mutexes
2006-12-06 10:49:19 +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
d0792dc615
ChangeLog update
2006-12-06 01:31:05 +00:00
Dmitry Stogov
3d5825bb3d
Fixed bug #39721 (Runtime inheritance causes data corruption)
2006-12-05 19:04:51 +00:00
Antony Dovgal
07cbe3317a
remove duplicating line
2006-12-05 12:55:38 +00:00
Dmitry Stogov
08f035bbac
Removed unused zend_mm.*
2006-12-05 08:08:33 +00:00
Stanislav Malyshev
40b496d63f
Merge from 5.2:
...
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
09848fa0fc
ChangeLog update
2006-12-05 01:31:09 +00:00
Dmitry Stogov
f595859918
Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi)
2006-12-04 16:30:59 +00:00
2b16c2569a
ChangeLog update
2006-12-02 01:31:01 +00:00
Dmitry Stogov
ef3df1e6ff
Bug #39438 (Fatal error: Out of memory)
2006-12-01 20:02:00 +00:00
Dmitry Stogov
5b5b730c4c
typo
2006-12-01 19:42:19 +00:00
Dmitry Stogov
fa6ab159a6
Fixed bug #39702 (php crashes in the allocator on linux-m68k)
2006-12-01 15:33:20 +00:00
Dmitry Stogov
bea2519575
Fixed buffer overflow. (Rob)
2006-12-01 14:57:44 +00:00
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
365be9cd62
ChangeLog update
2006-10-01 01:30:51 +00:00
Ilia Alshanetsky
13a9ddb973
MFB: Added safety checks against integer overflow.
2006-09-30 17:17:31 +00:00
6084ba053b
ChangeLog update
2006-09-30 01:31:05 +00:00
Andrei Zmievski
966d8022b9
Fix off-by-one error.
2006-09-29 20:59:26 +00:00
9ae218ef45
ChangeLog update
2006-09-29 01:30:57 +00:00
Antony Dovgal
e6ebe4dab3
new tests
2006-09-28 12:08:44 +00:00
Antony Dovgal
766c159460
add new tests
2006-09-28 11:45:55 +00:00
Dmitry Stogov
d746725744
Fixed wrong return value
2006-09-28 07:16:59 +00:00
e19c133571
ChangeLog update
2006-09-28 01:30:58 +00:00
Antony Dovgal
3408bafa32
use if() instead of ?: and avoid possible optimization problems
2006-09-27 15:40:09 +00:00
9a6366309c
ChangeLog update
2006-09-27 01:30:54 +00:00
Dmitry Stogov
798d93c4da
Fixed bug #38808 ("maybe ref" issue for current() and others)
2006-09-26 10:31:04 +00:00
Dmitry Stogov
59d0c16391
Fixed bug #38942 (Double old-style-ctor inheritance)
2006-09-26 07:55:54 +00:00
18e28ba12f
ChangeLog update
2006-09-22 01:30:55 +00:00
Sara Golemon
3b24a795a6
Add missing function protos
2006-09-21 23:58:06 +00:00
036403114e
ChangeLog update
2006-09-21 01:30:59 +00:00
Andrei Zmievski
7ff8b9b090
Bug fixes for substr_replace().
2006-09-20 20:30:19 +00:00
f717a00c7b
ChangeLog update
2006-09-20 01:31:03 +00:00
Dmitry Stogov
7aeb4421b7
Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks)
2006-09-19 21:36:00 +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
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Dmitry Stogov
c0dbffaa3c
Forgotten part of patch (Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT)
2006-09-19 07:40:38 +00:00
Dmitry Stogov
70ad4607d7
ZTS fix
2006-09-19 07:39:25 +00:00
b874530ad3
ChangeLog update
2006-09-19 01:30:58 +00:00
Andrei Zmievski
81b83f327b
More work on Unicode support in PCRE. When UG(unicode) is on, all
...
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Dmitry Stogov
9d55b3d3fc
Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry)
2006-09-18 14:35:37 +00:00
Dmitry Stogov
5bda51a5c0
Fixed non-specialized executor
2006-09-18 12:03:21 +00:00
0ca3729f73
ChangeLog update
2006-09-15 01:30:55 +00:00
Dmitry Stogov
5adb0b309f
Reinamed variables to avoid name conflicts
2006-09-14 10:32:57 +00:00
Dmitry Stogov
a9f035d5c1
*** empty log message ***
2006-09-14 09:59:23 +00:00
Dmitry Stogov
1f12ada0f7
Added is_zend_mm() to allow runtime check for zend memory manager
2006-09-14 08:55:17 +00:00
e4086a79c3
ChangeLog update
2006-09-14 01:30:53 +00:00
Antony Dovgal
eec02cb1be
fix tests
2006-09-13 14:00:44 +00:00
80460edba1
ChangeLog update
2006-09-13 01:30:57 +00:00
Dmitry Stogov
5574651edb
Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts)
2006-09-12 11:01:31 +00:00
424b469b8f
ChangeLog update
2006-09-12 01:31:11 +00:00
Dmitry Stogov
9b222e6f07
fix
2006-09-11 17:18:47 +00:00
Andrei Zmievski
21bc25e025
Add a couple more UTF-8 functions.
2006-09-11 16:32:02 +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
50222ced54
fix tests
2006-09-11 14:27:25 +00:00
Antony Dovgal
3aeebd120f
add tests
2006-09-11 14:13:05 +00:00
Antony Dovgal
6c0d0217ca
fix test
2006-09-11 08:10:03 +00:00
aee2284473
ChangeLog update
2006-09-09 01:31:01 +00:00
Andrei Zmievski
82ace06252
convert_to_string_with_converter_ex()
2006-09-08 17:19:42 +00:00
c20aae3e5d
ChangeLog update
2006-09-07 01:30:54 +00:00