Commit Graph

1045 Commits

Author SHA1 Message Date
David Coallier
84020c1560 - Added tests for bug #46615 (Adjustments) 2008-11-22 14:17:40 +00:00
Arnaud Le Blanc
085b11a8cb CS 2008-11-19 17:54:24 +00:00
Arnaud Le Blanc
629c74a10a Improved ArrayObject performance (made spl_hash_verify_pos() an O(1)
and removed some spl_array_get_hash_table() calls). Fixes #46039
2008-11-19 14:42:27 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Etienne Kneuss
933e2eb4dd Fix #46421 (Take care about /) 2008-11-06 01:07:05 +00:00
Etienne Kneuss
6e2845f377 Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:36:29 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Etienne Kneuss
78325e3f94 Link to spl iterator 2008-10-19 17:59:39 +00:00
Antony Dovgal
ac589d8084 fix memleak 2008-10-17 22:09:35 +00:00
Zoe Slattery
868c69b72b Replacing explicit object ID with %d 2008-10-17 15:05:31 +00:00
Zoe Slattery
75fcb938c5 Committing for Robin Fernandes 2008-10-17 14:40:13 +00:00
Etienne Kneuss
002e17d501 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:19:55 +00:00
Etienne Kneuss
41493606e6 Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:42:49 +00:00
Felipe Pena
4a0956cf09 - Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 2008-09-23 12:05:02 +00:00
Felipe Pena
ac5d2bd5f0 - Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:06:29 +00:00
Dmitry Stogov
063c29f9ce Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:45 +00:00
Etienne Kneuss
4396e6ec11 Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:15 +00:00
Felipe Pena
4768abe05f - Missing argument to type "t" 2008-09-12 16:24:12 +00:00
Arnaud Le Blanc
962cc9d9c8 Fix test 2008-09-11 15:47:56 +00:00
Arnaud Le Blanc
8483399c08 Fix invalid free 2008-09-11 15:45:29 +00:00
Arnaud Le Blanc
f49c3c98bc Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:31:48 +00:00
Arnaud Le Blanc
f327994df3 Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:22:17 +00:00
Arnaud Le Blanc
cee365dbf0 Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:43:52 +00:00
Jani Taskinen
c66533a789 - Fix CS, folding tags..etc. PLEASE do not invent your own coding styles. Or commit something as fubar as this.. 2008-08-25 19:07:12 +00:00
Etienne Kneuss
b2dd15897a Fix #45826 (Custom serialization) 2008-08-25 18:38:23 +00:00
Marcus Boerger
2b929abc84 - Add new test 2008-08-24 16:46:17 +00:00
Felipe Pena
be5df04540 - Removed unused variable 2008-08-24 04:18:22 +00:00
Jani Taskinen
4c1e90066f fix skipif 2008-08-14 23:46:12 +00:00
Jani Taskinen
955d49d3fb - Skipif: as long as it is an extension, it can be disabled.. 2008-08-14 23:27:38 +00:00
Marcus Boerger
75b08f4adf - Improved exception linking 2008-08-14 10:06:39 +00:00
Marcus Boerger
de87bc2d27 - EXPECT rather than EXPECTF 2008-08-11 17:30:22 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Etienne Kneuss
f3ca0282f2 Test the catching of chains of exceptions 2008-08-08 14:09:15 +00:00
Robin Fernandes
4ef68b9627 Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ). 2008-08-04 11:45:15 +00:00
Etienne Kneuss
1c23174d9d Fix clone + add tests 2008-08-03 19:07:22 +00:00
Etienne Kneuss
7aa5e4ab32 Remove cast and fix mem errors 2008-08-03 18:15:18 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Dmitry Stogov
03ebd36385 Fixed memory leak 2008-07-29 14:27:31 +00:00
Dmitry Stogov
21f41b06f3 Removed warning 2008-07-29 11:50:23 +00:00
Etienne Kneuss
03de75498d Increase coverage a bit 2008-07-28 14:24:35 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Arnaud Le Blanc
a3f0f90dfd Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:33:34 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Arnaud Le Blanc
2db33d3d7f Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:51:14 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Steph Fox
64a04a58a6 - Make test x-platform 2008-07-24 08:53:56 +00:00
Steph Fox
32b474b730 - Introduce SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:52:24 +00:00
Marcus Boerger
abe24e95fa - MFH [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:44 +00:00
Marcus Boerger
eb6333be1c - Add new classes 2008-07-23 06:07:55 +00:00
Marcus Boerger
32f51050bc - Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:15 +00:00
Rob Richards
c2eb3ea158 Sync with 5_3 changes 2008-07-21 16:12:28 +00:00
Etienne Kneuss
f493ef90e1 Iterator methods overwriting optimisations 2008-07-20 17:31:36 +00:00
Etienne Kneuss
f388db74f5 Fix build for solaris 2008-07-20 16:32:43 +00:00
Etienne Kneuss
4254ef3891 Complete the ZTS build fix 2008-07-19 19:45:25 +00:00
Derick Rethans
14d348c9ec - Fixed ZTS build. 2008-07-19 19:23:54 +00:00
Marcus Boerger
28a325bc0f - Add MultipleIterator (http://blog.somabo.de/2008/01/multipleiterator-for-php.html) 2008-07-19 15:56:00 +00:00
Marcus Boerger
f765f8e99f - added missing @since tag 2008-07-19 15:48:07 +00:00
Marcus Boerger
1223c085b0 - Move RecursiveTreeIterator from PHP to C code (Arnaud, Marcus)
[DOC] Added RecursiveTreeIterator
      Documentation in ext/spl/internal/recursivetreeiterator.inc
2008-07-19 15:43:35 +00:00
Etienne Kneuss
b0623e09d0 Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch) 2008-07-19 13:13:44 +00:00
Etienne Kneuss
8ee084b365 Implement DirectoryIterator::seek 2008-07-19 11:20:04 +00:00
Antony Dovgal
7c16cfd85b minor speedup - convert offset to long only when needed 2008-07-14 08:08:39 +00:00
Antony Dovgal
8c96f79ca5 fix test 2008-07-14 08:05:58 +00:00
Marcus Boerger
e3944720b5 - Use new helper 2008-07-13 21:38:58 +00:00
Marcus Boerger
7c3726c907 - Fix test 2008-07-13 21:38:19 +00:00
Antony Dovgal
05028ba6d3 improve code coverage 2008-07-13 19:47:27 +00:00
Etienne Kneuss
b111b673e6 Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:38 +00:00
Marcus Boerger
059e4f06ef - Allow multiple exceptions in spl's autoload 2008-07-12 14:58:07 +00:00
Etienne Kneuss
ad3cd911ac Forgot to remove the count method here 2008-07-10 13:16:01 +00:00
Etienne Kneuss
4362c16f6a Test extended iterators methods 2008-07-09 20:34:36 +00:00
Etienne Kneuss
8cab636c24 Woopsy 2008-07-08 22:49:35 +00:00
Etienne Kneuss
c621d4f63f - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:30 +00:00
Etienne Kneuss
b6c53b8c73 Remove .htaccess file(??) 2008-07-07 00:06:05 +00:00
Etienne Kneuss
e6fe25f589 Add missing test 2008-07-06 23:52:44 +00:00
Etienne Kneuss
e8cbf4c663 First part of count/handlers related fixes 2008-07-06 23:45:38 +00:00
Felipe Pena
4b50d12a48 - MFB: Added arginfo (functions) 2008-07-03 12:21:25 +00:00
Antony Dovgal
6c94aa02ab fix test 2008-07-02 12:24:45 +00:00
Antony Dovgal
15e70c34e2 use zend_ascii_hash_find() and check its return value to prevent crash when function not found 2008-07-02 10:46:52 +00:00
Etienne Kneuss
422bc27588 Add some tests to increase code coverage 2008-06-22 16:23:33 +00:00
Etienne Kneuss
c6472bfd80 Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:28 +00:00
Etienne Kneuss
6444ec388c Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:15 +00:00
Etienne Kneuss
53b6c68a90 Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:45:48 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Etienne Kneuss
0e213d1628 Add tests from testfest 2008-06-12 20:51:25 +00:00
Etienne Kneuss
3dcd9ca7a2 Add tests from testfest 2008-06-12 20:46:00 +00:00
Antony Dovgal
5be006d48b avoid invalid reads when reached memory_limit during initialization 2008-06-12 12:40:07 +00:00
Etienne Kneuss
a917479c19 add get_Debug_info + fix proto 2008-06-09 17:29:09 +00:00
Antony Dovgal
b519f3c83e more checks and tests 2008-06-07 21:35:53 +00:00
Antony Dovgal
a5c08c6a6d more tests (by Felipe) 2008-06-07 14:10:21 +00:00
Antony Dovgal
b38279abf4 fix several memleaks and invalid reads 2008-06-07 14:08:59 +00:00
Antony Dovgal
67630e0cd7 disallow $a[] = value syntax 2008-06-07 12:46:54 +00:00
Antony Dovgal
77ba2ab567 update credits 2008-06-07 08:05:48 +00:00
Etienne Kneuss
7df366675e Fix segfault caused by get_current_data on an uninitialized element 2008-06-07 01:46:27 +00:00
Etienne Kneuss
bd233197fd Implements C arrays wrapper 2008-06-06 23:53:10 +00:00
Felipe Pena
6c06a591f2 - Removed UEXPECT(F) 2008-05-27 16:53:36 +00:00
Felipe Pena
77080b64d9 - Removed UEXPECT(F) 2008-05-27 02:55:52 +00:00
Etienne Kneuss
8210627fc1 ws 2008-05-25 12:23:22 +00:00
Etienne Kneuss
be6d55935c Add a prepend param to spl_autoload_register 2008-05-25 12:17:27 +00:00