Commit Graph

959 Commits

Author SHA1 Message Date
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
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Marcus Boerger
e3492e6d01 - Make SplObjectStorage implement ArrayAccess 2008-01-28 22:43:21 +00:00
Marcus Boerger
3eadc491a2 - Test went to 5.2... somehow.... very strange 2008-01-27 18:19:45 +00:00
Marcus Boerger
77d7cbaa66 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:54 +00:00
Marcus Boerger
f1d8a5ca60 - revert over constfying 2008-01-27 15:03:55 +00:00
Etienne Kneuss
3ee8346719 Typo 2008-01-27 14:07:54 +00:00
Etienne Kneuss
dee0ae6da5 -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:54:32 +00:00
Etienne Kneuss
2b70f51668 Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 18:06:51 +00:00
Nuno Lopes
64d4e4244a MFB: const keywording 2008-01-25 20:30:36 +00:00
Etienne Kneuss
34afc9ae6e News: already in 5_3
Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:51:11 +00:00
Etienne Kneuss
85254498dc Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:54:00 +00:00
Etienne Kneuss
2049896282 Fix mem errors 2008-01-20 12:51:33 +00:00
Rob Richards
e7c59ad6d4 fix win build 2008-01-15 15:45:44 +00:00
Etienne Kneuss
4068cea252 Fix ZTS build 2008-01-15 12:17:09 +00:00
Etienne Kneuss
66ff12bfb6 Bump year 2008-01-15 09:44:01 +00:00
Etienne Kneuss
822941ee7d Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:37:50 +00:00
Marcus Boerger
507ed4a13d - Fix bug in example code found by Surf Chen 2008-01-10 10:11:21 +00:00
Ilia Alshanetsky
66b9bc29dc MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") 2008-01-02 19:19:45 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Marcus Boerger
2501e574b9 - Fix folding (again)
- Fix clone mask
2007-12-17 13:47:09 +00:00
Johannes Schlüter
0e480791cb - Fix #43611 SplObjectStorage is available since 5.1.2 2007-12-16 22:19:35 +00:00
David Coallier
4c7266904d - MFB: Bug #41528
- Added possibility to serialize and unserialize classes that extend to ArrayObject
- See ext/spl/tests/array_023.phpt and ext/spl/tests/bug41528.php for references
- Put a folding for all SPL_ARRAY_METHOD() def
2007-12-15 01:18:28 +00:00
Etienne Kneuss
d6259bc207 Fix folding 2007-12-14 22:52:53 +00:00
David Coallier
8f41f80411 - Added other test with some unicode words (Sorry if this chinese word
turns out to be offensive I have no clue what it means, just copied it)
2007-12-14 04:49:47 +00:00
David Coallier
4b5929f7bf - MFB: Merged bug41528.phpt test from 5_3
- Added a very similar test but this one just makes sure we keep
  all the properties of the class members that we just serialized
2007-12-14 04:23:09 +00:00
Jani Taskinen
4fc4814012 - Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:58:28 +00:00
Dmitry Stogov
3f247aaf10 Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead) 2007-11-20 09:51:44 +00:00
Marcus Boerger
5dfcb7dee0 - MFB Add tests 2007-11-06 15:29:32 +00:00
Jani Taskinen
74b7f1239f - nuke extra s 2007-11-02 14:04:52 +00:00
Jani Taskinen
1dfc220753 - CPP macros are supposed to start at column 1 (# at least) 2007-11-01 22:31:39 +00:00
Marcus Boerger
caa99d8436 - Missing piece 2007-10-18 05:19:13 +00:00