Felipe Pena
6e8db0b35a
- New tests
2010-05-04 19:06:13 +00:00
Felipe Pena
a888d2cd16
- Added check for trait when trying to extend it
2010-05-04 18:45:01 +00:00
Felipe Pena
e431cec023
- Fix trait flag identification
2010-05-04 18:31:40 +00:00
Felipe Pena
45a536fc7c
- Added check for abstract class
...
abstract class foo { }
class T { use foo; } // T cannot use foo - it is not a trait
- Added check for trait on NEW
trait a { }
new a; // Cannot instantiate trait a
# Tests for errors comming soon :)
2010-05-04 18:21:00 +00:00
Rob Richards
d920d6226e
fix bug #49490 (XPath namespace prefix conflict)
...
add test
2010-05-04 15:41:49 +00:00
Derick Rethans
e743bcd862
- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
...
28 days). (Derick)
2010-05-04 15:11:41 +00:00
Andrey Hristov
d53337bbe7
OOM stability fixes
2010-05-04 14:02:42 +00:00
Andrey Hristov
447c693b2d
Add possibility to control the allocator in when PHP is compiled
...
with debug
2010-05-04 13:49:43 +00:00
Rob Richards
798aca0d83
fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)
2010-05-04 12:55:26 +00:00
Rob Richards
60f62fc563
fix non-windows builds
2010-05-04 12:12:28 +00:00
Adam Harvey
5c5fd74fdb
Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
...
Thanks to Hiroaki Kawai for the original patch.
2010-05-04 11:56:59 +00:00
Adam Harvey
574e578629
Alter the getmxrr() test to use lists.php.net (which we presumably control)
...
instead of ez.no (which we presumably don't) for the single MX record test.
2010-05-04 09:41:47 +00:00
Pierre Joye
cdadeed834
- Fixed bug #51732 , Fileinfo __construct or open does not work with NULL
2010-05-04 08:48:58 +00:00
Stefan Marr
331b052994
Changed naming of traits-related helper functions (suggested by Derick), added missing static qualifiers.
2010-05-03 22:08:09 +00:00
Pierre Joye
56e327ba27
- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon in 5.3 (trunk is vc9+ only)
2010-05-03 19:51:59 +00:00
Andrey Hristov
5ca71c00f5
Handle OOM in mysqlnd_res::store_result_fetch_data
2010-05-03 19:32:07 +00:00
Pierre Joye
05ac8f5c52
- fix build (declaration must be first)
2010-05-03 19:31:50 +00:00
Andrey Hristov
9c276eee6c
Handle OOM in mysqlnd_fetch_row_buffered_c()
2010-05-03 19:09:45 +00:00
Andrey Hristov
2b00096004
Handle OOM in mysqlnd_fetch_row_unbuffered_c()
2010-05-03 19:02:48 +00:00
Andrey Hristov
2b18a3ff93
Handle OOM stemming from mysqlnd_result_init in the same
...
function and up the stack.
2010-05-03 18:50:47 +00:00
Pierre Joye
d90f8560aa
- #51273 , Content-length header is limited to 32bit integer with apache2/windows
2010-05-03 17:47:58 +00:00
Andrey Hristov
7de2607c12
Handle gracefully OOM in mysqlnd_mempool_create and up the stack
2010-05-03 17:07:18 +00:00
Felipe Pena
e232da026b
- Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function
2010-05-03 16:36:04 +00:00
Andrey Hristov
c32bae720c
Handle OOM in block_alloc_get_chunk, and also in the caller
...
in mysqlnd_wireprotocol.c
2010-05-03 16:20:46 +00:00
Andrey Hristov
ec0fe858c6
Remove unused parameter
2010-05-03 16:09:05 +00:00
Ilia Alshanetsky
676a8338a1
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
2010-05-03 14:41:40 +00:00
Pierre Joye
9720dea2c7
- WS
2010-05-03 14:30:14 +00:00
Andrey Hristov
57059d4e31
One more case to handle in case of OOM, in block_alloc_resize_chunk
2010-05-03 14:26:08 +00:00
Andrey Hristov
8e8348a4b0
Handle OOM when resizing blocks during data fetch
2010-05-03 14:16:04 +00:00
Andrey Hristov
2da3f5ba90
Fix compiler warnings - unused functions
2010-05-03 13:51:30 +00:00
Andrey Hristov
333581fcb4
Better handing of OOM in mysqlnd::set_client_option
2010-05-03 13:45:58 +00:00
Kalle Sommer Nielsen
5c628d550b
Fix build, declarings first
2010-05-03 09:21:21 +00:00
Pierre Joye
b3b6cfea2a
- update bison version (mike)
2010-05-03 09:05:54 +00:00
Ilia Alshanetsky
74d4ddea3d
- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser
2010-05-02 19:34:21 +00:00
Felipe Pena
155bdc8a72
- WS
2010-05-02 18:47:27 +00:00
Felipe Pena
9568c8e398
- Changed zend_hash func calls to use the quick ones
2010-05-02 17:39:24 +00:00
Stefan Marr
fe4988241d
Refactored part of the Traits implementation.
...
# - renamed php_runkit_function_copy_ctor to _duplicate_function
# REM: runkit does not compile with trunk at the moment, fixing it would introduce even more version #ifs, don't know what the best way is to fix it
# - extracted traits related stuff from destroy_zend_class into _destroy_zend_class_traits_info
# - need to investigate implementation/handling of internal classes further before enabling internal traits
2010-05-02 16:32:25 +00:00
Raphael Geissert
1fc377bc99
Fix bug in unaligned memory access fix
2010-05-02 05:01:51 +00:00
Raphael Geissert
fbaef48278
Fix unaligned memory accesses in enchant (bug #51289 )
2010-05-01 23:32:40 +00:00
Felipe Pena
84c1643644
- Fixed bug #51719 (typo in function prototype)
2010-05-01 18:54:49 +00:00
Raphael Geissert
7d716f8373
Fix another typo s/exlcusive/exclusive
2010-05-01 18:30:38 +00:00
Raphael Geissert
59fa776c53
Fix typos s/connnection/connection
2010-05-01 18:27:42 +00:00
Antony Dovgal
47aa194a10
merge the fix for #51688
2010-04-30 08:20:57 +00:00
Pierre Joye
8a197878c8
- Fix #51688 , ini per dir crashes when invalid document root are given
2010-04-30 08:15:09 +00:00
David Soria Parra
e44d409472
Make sure we search the source dir for the dtrace files
2010-04-30 00:07:39 +00:00
Etienne Kneuss
f9532adcc6
Fix misplaced code
2010-04-29 17:14:37 +00:00
Andrey Hristov
3010485d44
Handle OOM cases, in case of persistent connections this is real
...
and the Zend MM won't help.
2010-04-29 15:49:51 +00:00
Etienne Kneuss
e6ee260b25
Implement SplObjectStorage::getHash()
2010-04-29 15:47:41 +00:00
Andrey Hristov
aec94a464b
Fix valgrind warning, usage of nirvana memory
2010-04-29 15:17:44 +00:00
Andrey Hristov
60db5154d2
Add a test case for the recently fixed memleak
2010-04-29 13:19:57 +00:00