Commit Graph

990 Commits

Author SHA1 Message Date
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
Etienne Kneuss
e28bcbbf60 remove the skipif 2008-05-25 12:10:14 +00:00
Sebastian Bergmann
1517e12411 Drop SKIPIF check for ext/spl. 2008-05-25 06:03:44 +00:00
Etienne Kneuss
649f10fd3f New tests from testfest 2008-05-24 16:48:15 +00:00
Etienne Kneuss
72f61bfc4f Also register the get_iterator handler for Max/Min Heap 2008-05-24 14:37:53 +00:00
Sebastian Bergmann
7efb792fe8 Drop SKIPIF check for ext/spl. 2008-05-24 14:17:44 +00:00
Sebastian Bergmann
28d77dff61 MFB: Drop SKIPIF check for ext/spl. 2008-05-24 14:12:00 +00:00
Etienne Kneuss
fa3ae04c28 Add tests from testfest 2008-05-24 13:40:33 +00:00
Etienne Kneuss
e35e5b93e3 Fix path lookup when include_path is used 2008-05-20 21:46:13 +00:00
Antony Dovgal
24cc4b72c3 nuke unused variables 2008-05-20 12:04:37 +00:00
Etienne Kneuss
1d2bfff3a9 Fix FilesystemIterator with ./.. 2008-05-16 13:22:02 +00:00
Etienne Kneuss
c2593307f3 Replace the iterator correctly after being cloned (related to #44964) 2008-05-15 17:22:03 +00:00
Etienne Kneuss
db0e4fac8b Implement SplPriorityQueue::getExtractFlags() 2008-05-15 17:05:20 +00:00
Etienne Kneuss
abd85a3ec1 Sync spl tests with 5.3 2008-05-08 12:03:18 +00:00
Etienne Kneuss
17bce65262 Add a flag that defines whether the objects should get iterated through or not 2008-05-06 22:59:59 +00:00
Etienne Kneuss
6e7d66eebd MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:01:00 +00:00
Elizabeth Marie Smith
7a01c2c738 MFB 2008-05-02 14:10:05 +00:00
Dmitry Stogov
20abb52b1e Added missing lazy initialization 2008-04-29 09:18:54 +00:00
Marcus Boerger
54502e978c - SPL can no longer be disabld as discussed some time ago (checked back with RM) 2008-04-09 21:47:29 +00:00
Etienne Kneuss
f6df935264 Fix #44511 (Ensure no exception was already thrown by php_stream_opendir) 2008-04-09 19:00:48 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Felipe Pena
2f777042a0 Fixed error message (%s -> %v) 2008-03-19 14:00:46 +00:00
Marcus Boerger
3264a25717 - Fix possible memory corruption 2008-03-13 19:45:22 +00:00
Etienne Kneuss
5a10df8c56 Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:35:04 +00:00
Etienne Kneuss
69a686dd6f Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:48:09 +00:00
Etienne Kneuss
47c663a943 Fix tests in non-unicode mode 2008-02-29 13:45:19 +00:00
Etienne Kneuss
03d5e7a7f1 Fix #44288 (Move declarations) 2008-02-29 09:25:30 +00:00
Felipe Pena
4f83f918c5 Added UEXPECT 2008-02-28 15:41:56 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Etienne Kneuss
5bc0a12d7d Fix folding 2008-02-25 23:40:47 +00:00
Etienne Kneuss
cb51a84418 SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:36:36 +00:00
Felipe Pena
e97f7311a8 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 21:51:37 +00:00
Etienne Kneuss
693b47c131 Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly 2008-02-18 23:54:45 +00:00
Marcus Boerger
c345217eab - Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:01:16 +00:00
Etienne Kneuss
781180dcd4 Provide ctod/dtor with TSRM 2008-02-11 16:38:01 +00:00
Etienne Kneuss
e370d5bccc Cosmetics, move stuff around, ws 2008-02-10 14:07:40 +00:00
Marcus Boerger
95fe32b4e6 - Really last flag change (got confused with code) 2008-02-04 21:37:43 +00:00
Marcus Boerger
cf8300a542 - Update docu 2008-02-04 20:40:29 +00:00
Marcus Boerger
f5480b2cb0 - Fix/add folding markers 2008-02-04 19:39:07 +00:00
Marcus Boerger
ee8827288f - Really fix flag handling 2008-02-04 19:33:03 +00:00
Marcus Boerger
de120f6698 - Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:02 +00:00
Marcus Boerger
223764b66d - Setting flags once is enough 2008-02-04 18:35:08 +00:00
Marcus Boerger
a78c1b4759 Fix default flag value in contructor 2008-02-04 17:18:48 +00:00
Marcus Boerger
3c7c97303d - Fix ArrayObject serializing
- Fix test expectations
2008-02-04 16:47:06 +00:00
Marcus Boerger
ea6907a055 - Fix test 2008-02-04 16:12:47 +00:00
Marcus Boerger
fac5ae96cb - Fix message 2008-02-04 15:58:12 +00:00
Felipe Pena
421295b52e Fix tests 2008-02-04 15:43:09 +00:00
Felipe Pena
ac99835507 Fix tests (new error message) 2008-02-04 15:22:08 +00:00
Felipe Pena
b315388200 Fix tests (new error message) 2008-02-04 14:02:01 +00:00
Marcus Boerger
ff88449c31 - Fix error handling 2008-02-02 23:02:16 +00:00
Marcus Boerger
b0f5c889fe - Add new classes 2008-02-02 22:56:25 +00:00
Marcus Boerger
ac11e1c12d - MFB glob handling
- Add GlobIterator and FilesystemIterator
# Commit to 5.3 for more
2008-02-02 22:53:05 +00:00
Marcus Boerger
2d4c9b291f - Show interfaces 2008-02-02 21:02:08 +00:00
Rob Richards
e2c4c7359b fix win32 build 2008-01-31 11:09:50 +00:00
Marcus Boerger
c437d4d430 - Fix test 2008-01-31 07:43:49 +00:00
Marcus Boerger
ff4634120c - MFB SplDirectoryIterator/glob:// stream integration 2008-01-30 23:49:49 +00:00