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
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