summaryrefslogtreecommitdiff
path: root/ext/spl
Commit message (Collapse)AuthorAgeFilesLines
* Fixed problem introduced in a763929 (fixing bug #61347).Gustavo André dos Santos Lopes2012-03-281-1/+1
| | | | The test added in 8c44c85 should now pass.
* Added failing test for ArrayObject::offsetExists().Shein Alexey2012-03-271-0/+10
|
* Fixed tests that var_dump/print_r DOM objects.Gustavo André dos Santos Lopes2012-03-231-18/+6
|
* Fixed bug #61482, caused by the fix to bug #61418.Gustavo André dos Santos Lopes2012-03-231-5/+8
| | | | | | | | | | | | | | | | | | Turns out I'd forgotten to also update the destructor for the iterator returned by DirectoryIterator. The iterator for DirectoryIterator maintains the same ->current pointer throughout its existence (the DirectoryIterator itself) and returns it (the same object) everytime a value is requested from the iterator. Moving forward the iterator only changes the object. Previous code added two references to the object in get_iterator on the account of 1) the iterator memory living in its DirectoryIterator object and 2) the object being stored in iterator->current. This seems to be unnecessary. Iterators are not responsible for incrementing the refcount of the values they yield, that's up to the caller (the engine). What matters for the iterator is that the object exists as long as the iterator exists and this can be guaranteed by incremented the refcount only once. Consequently, I only add one reference in get_iterator (and reclaim it in the iterator destructor).
* Revert "Revert "- Fixed bug #61418 (Segmentation fault when ↵Gustavo André dos Santos Lopes2012-03-232-15/+55
| | | | | | DirectoryIterator's or" - causes bug #61482" This reverts commit a89c4a34ee55686ab1430a5060e1460335fc5203.
* Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" ↵Stanislav Malyshev2012-03-222-55/+15
| | | | | | - causes bug #61482 This reverts commit 714f1ff4b37c5101b3c61ea108a3d415f41e50df.
* Revert "Fixed reference counting"Dmitry Stogov2012-03-221-2/+2
| | | | This reverts commit 14af1fe6923c65a91cd77eab5a8d4326f854391d.
* Fixed reference countingDmitry Stogov2012-03-221-2/+2
|
* - Fixed bug #61418 (Segmentation fault when DirectoryIterator's orGustavo André dos Santos Lopes2012-03-182-15/+55
| | | | | | FilesystemIterator's iterators are requested more than once without having had its dtor callback called in between).
* - Fixed memory leak when calling SplFileInfo's constructor twiceFelipe Pena2012-03-112-1/+19
|
* Fix testXinchen Hui2012-03-111-0/+2
|
* Fixed bug #61347 (inconsist isset behavior of Arrayobject)Xinchen Hui2012-03-112-39/+76
|
* - Fixed bug #61326 (ArrayObject comparison).Gustavo André dos Santos Lopes2012-03-102-0/+43
|
* Fix bug #60596: Code Cleanup Removing Superfluous If StatementNikita Popov2012-03-041-6/+3
| | | | | Cleanup only, no function change. Patch by ircmaxell.
* more verbose skip reason in test files with not so obvious extension ↵Olivier DOUCET2012-02-251-1/+1
| | | | requirements
* Fix testEtienne Kneuss2012-02-011-3/+1
|
* These tests don't work if run as rootRasmus Lerdorf2012-01-082-8/+14
|
* Make sure gc is enabledRasmus Lerdorf2012-01-081-26/+27
|
* - Year++Felipe Pena2012-01-0122-22/+22
|
* Added tests contributions on spl_autoload and stream_context_set_option()Patrick Allaert2011-12-091-0/+18
| | | | Thank you Jean-Marc Fontaine and Alter Way
* fix bug #60082 (Crash in ArrayObject() when using recursive references)Antony Dovgal2011-11-181-1/+10
| | | | | | | | | | --Tis line, and those below, will be ignored-- M trunk/ext/spl/spl_array.c M branches/PHP_5_4/ext/spl/spl_array.c M branches/PHP_5_3/ext/spl/spl_array.c M branches/PHP_5_3/NEWS
* - Fixed bug #60261 (phar dos null pointer)Felipe Pena2011-11-111-1/+4
|
* ignore this test on FreeBSD per #60186Ferenc Kovacs2011-11-011-0/+3
|
* duhFerenc Kovacs2011-11-011-0/+2
|
* marking ext/spl/tests/bug60082.phpt as slow testFerenc Kovacs2011-11-011-0/+2
|
* Test for #60082 Xinchen Hui2011-10-191-0/+14
|
* - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)Felipe Pena2011-10-121-0/+1
| | | | | patch by: tom at punkave dot com
* Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)Hannes Magnusson2011-09-301-1/+1
|
* Test for non-string replacement, bug#54304Hannes Magnusson2011-09-121-0/+26
|
* Allow replacement to be any scalar valueHannes Magnusson2011-09-121-1/+11
|
* Fix cleanup routinesHannes Magnusson2011-09-072-4/+4
|
* fix skipif descriptionXinchen Hui2011-09-071-1/+1
|
* - use something we know it exists...Pierre Joye2011-09-061-2/+2
|
* - skip on win, name.. name. are not valid namesPierre Joye2011-09-061-0/+6
|
* Add skipifs for bug#54971 (patch by datibbaw@)Hannes Magnusson2011-08-301-0/+4
|
* - Make usage of new PHP_FE_END macroFelipe Pena2011-07-256-33/+33
|
* Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on ↵Pierrick Charron2011-06-282-0/+47
| | | | true)
* fixed temp directory names in spl testsKnut Urdalen2011-06-252-4/+4
|
* fixed/refactored some spl tests related to owner/group retrievalKnut Urdalen2011-06-254-71/+56
|
* - Possible fix for bug #54609 (Certain implementation(s) of SplFixedArray ↵Felipe Pena2011-06-051-4/+1
| | | | cause hard crash)
* - Fixed bug #54970 (SplFixedArray::setSize() isn't resizing)Felipe Pena2011-06-022-0/+40
|
* - Make SplFileInfo::_bad_state_ex final.Gustavo André dos Santos Lopes2011-04-051-1/+1
|
* - Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject andGustavo André dos Santos Lopes2011-04-044-59/+294
| | | | | | SplTempFileObject crash when user-space classes don't call the paren constructor).
* Fix common typos in the source code (Reported in Bug #54065)Pierrick Charron2011-04-033-5/+5
| | | | | | | # External libraries were excluded # Thanks eitan at eitanadler dot com for the first patch :)
* - Fixed bug #54292 (Wrong parameter causes crash in ↵Felipe Pena2011-03-232-3/+24
| | | | SplFileObject::__construct())
* - Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)Felipe Pena2011-03-222-0/+19
|
* - Fixed bug #54291 (Crash iterating DirectoryIterator for dir name startingGustavo André dos Santos Lopes2011-03-192-1/+18
| | | | | with \0).
* - Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance ↵Felipe Pena2011-03-081-1/+3
| | | | segfaults)
* - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118Felipe Pena2011-03-011-6/+1
|
* - Fixed memory leak in DirectoryIterator::getExtension() and ↵Felipe Pena2011-02-201-8/+20
| | | | SplFileInfo::getExtension()