Commit Graph

5595 Commits

Author SHA1 Message Date
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