Etienne Kneuss
36305912e9
MFH: -Pointer doesn't move if we're moving forward and shifting at the same time
...
-Userland implementation
-Doxygen doc
2008-01-27 13:59:51 +00:00
Etienne Kneuss
6a7074c837
MFH: Iterator implementation in SplDoublyLinkedList, SplStack, SplQueue
2008-01-26 23:04:43 +00:00
Etienne Kneuss
5c5d5dd0f6
MFH: Fix mem errors
2008-01-20 13:26:03 +00:00
Etienne Kneuss
67e82261c2
Fix ZTS build, fix tests
2008-01-15 12:17:35 +00:00
Etienne Kneuss
1b4cac77ba
MFH: Implement splDoublyLinkedList, splQueue, splStack classes in SPL
2008-01-15 09:38:15 +00:00
David Coallier
2196a52edd
- Unit test for bug #41528
...
- Checking that when you serialize a class that extends to ArrayObject
Is keeping it's properties.
2007-12-12 00:34:06 +00:00
Marcus Boerger
d71b3de7f4
- Fixing #38618 by:
...
- [DOC] ArrayIterator::CHILD_ARRAYS_ONLY, ArrayObject::CHILD_ARRAYS_ONLY
Passing this flag in the ctor prevents ArrayIterator from following
objects in ArrayObject::getIterator(), ArrayIterator::hasChildren(),
ArrayIterator::getChildren().
The exact behavior might change:
- should the flag be set by default
- should the flag be changed to have a negative effect
2007-12-05 15:56:41 +00:00
Jani Taskinen
56ef7a5ea3
- Fix tests
2007-11-14 14:05:42 +00:00
Jani Taskinen
a541bb8078
- Fix tests
...
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Marcus Boerger
80893e5727
- Fix #42703
2007-10-18 04:41:39 +00:00
Marcus Boerger
56f9d57091
- Fix #42654 (maybe also a bunch of others)
2007-10-18 03:55:43 +00:00
Jani Taskinen
30dc58671d
MFH
2007-09-20 14:28:12 +00:00
Johannes Schlüter
254992907c
- MFH: Fix Bug #42364 Crash when using getRealPath with DirectoryIterator
2007-08-21 22:45:53 +00:00
Rob Richards
07bf252ef5
MFH: fix bug #42259 (SimpleXMLIterator loses ancestry)
...
add test
2007-08-14 12:10:46 +00:00
Antony Dovgal
bfed3520c9
MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache)
2007-07-20 10:53:56 +00:00
Antony Dovgal
f132df4f66
MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance)
2007-06-27 12:30:28 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Johannes Schlüter
e181e3ac7b
- MFH Fix "f" modifier for zend_parse_parameters_ex in case of a __call call
...
# only affects iterator_apply() in 5_2 branch
2007-04-30 19:54:41 +00:00
Antony Dovgal
bb489851e9
win32 test fixes
2007-04-18 08:06:29 +00:00
Marcus Boerger
0ec117146e
- Add bug name
2007-04-06 17:54:22 +00:00
Marcus Boerger
63d8f70206
- Fix #40442
2007-04-06 15:32:30 +00:00
Marcus Boerger
4c1c431a38
- MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
...
of string enclosed integers)
2007-03-20 20:28:08 +00:00
Marcus Boerger
d2c8a3bb63
- Add tests
2007-01-21 12:30:19 +00:00
Ilia Alshanetsky
b5228f0c6c
Fixed bug #40091 (spl_autoload_register with 2 instances of the same class).
2007-01-10 18:14:37 +00:00
Dmitry Stogov
7c750656f1
Fixed tests
2007-01-10 16:00:31 +00:00
Ilia Alshanetsky
13f006ac69
Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class
...
not found").
2007-01-08 04:27:29 +00:00
Ilia Alshanetsky
5068511748
Fixed bug #40036 (empty() does not work correctly with ArrayObject when
...
using ARRAY_AS_PROPS).
2007-01-07 03:52:44 +00:00
Dmitry Stogov
108a2fc64c
Fixed bug #39775 ("Indirect modification ..." message is not shown)
...
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Marcus Boerger
164929d557
- MFH: Add new test
2006-11-20 19:58:01 +00:00
Hannes Magnusson
1182b325c2
MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
...
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Hannes Magnusson
c32408e694
MFH: fix segfault & improve test
2006-11-06 15:21:45 +00:00
Marcus Boerger
76ba475d76
- MFH: Synch
2006-11-03 18:58:41 +00:00
Sara Golemon
3042386549
MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context
2006-10-20 02:11:19 +00:00
Marcus Boerger
195417eb4d
- MFH Update tests
2006-07-24 23:41:09 +00:00
Marcus Boerger
85963e6300
- MFH Update RegexIterator, Docu & Tests
2006-07-21 20:14:31 +00:00
Marcus Boerger
45d09c71ba
- Synch RegexIterator with HEAD
2006-07-20 22:54:21 +00:00
Marcus Boerger
55f0596fab
- MFH:
...
. Upgrade RegexIterator capabilities, see docu
. Update docu
. Add test (which fails right now: iterator_049.phpt)
. Add tests for new functionality
2006-07-16 21:12:32 +00:00
Marcus Boerger
bd760162e6
- MFH Correct test name
2006-07-16 17:34:37 +00:00
Marcus Boerger
bb3c702162
- MFH Fix issue with SplFileObject and directories
2006-07-15 13:01:59 +00:00
Antony Dovgal
3aaf62d159
there is no Unicode in 5_2
2006-07-11 12:15:11 +00:00
Marcus Boerger
5fee10735f
- MFH Add spl_object_hash()
2006-07-09 10:22:27 +00:00
Marcus Boerger
0fd2b96204
- MFH Add test
2006-07-08 12:25:57 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Marcus Boerger
e0844e09bd
- MFH iterator_apply()
2006-06-07 09:44:42 +00:00
Sara Golemon
79b21ec4cf
MFH: Minor fixes (bjori)
2006-05-30 19:06:22 +00:00
Antony Dovgal
755caecfc9
fix test
2006-05-24 23:04:58 +00:00
Marcus Boerger
e3f89f116a
- MFH
...
. Make code exception safe
. Make RecursiveRegexIterator::getChildren pass regex to inner ctor
. Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
. Add CachingIterator::getCache()
. Add tests
2006-05-21 18:13:37 +00:00
Marcus Boerger
96916c95e8
- MFH Sync with head fixes part of an issue with iterator_(to_array|count)
2006-05-20 21:01:42 +00:00
Marcus Boerger
55041d6f3d
- MFH Add new test
2006-05-18 22:52:04 +00:00
Marcus Boerger
69079a7537
- MFH Add new test
2006-05-18 22:42:05 +00:00
Marcus Boerger
5e5327a7e0
- MFH Add new test
2006-05-18 21:59:05 +00:00
Marcus Boerger
7d79686f45
- MFH Fixed CachingIterator issues with string conversion/__toString()
...
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:42:58 +00:00
Marcus Boerger
26a67b8925
- MFH Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator)
2006-05-16 08:21:08 +00:00
Marcus Boerger
05273a73d8
- Fix test
2006-05-11 21:01:04 +00:00
Antony Dovgal
8ee1c45a3b
fix test
2006-05-11 15:43:28 +00:00
Andrei Zmievski
9e0e89c5cf
Rename RegExIterator -> RegexIterator.
...
Also rename recursive one.
2006-05-10 16:50:57 +00:00
Marcus Boerger
982822be93
- Fix iterators part and add tests
2006-05-10 00:29:42 +00:00
Marcus Boerger
c58e1fa5be
- MFH
...
. Fixed bug #36941 (ArrayIterator does not clone itself)
. Fixed SEGV when ArrayObject/Iterator use reference to self
. Added tests
2006-04-04 19:53:21 +00:00
Antony Dovgal
9a59df13cc
fix segfault when assigning value by ref and add test
...
(I consider it's wrong that we can't do it, but we shouldn't segfault anyway)
2006-04-01 19:13:04 +00:00
Marcus Boerger
ed43fd9b3b
- My eyes don't hurt anymore
2006-03-23 21:28:06 +00:00
Marcus Boerger
fe1c2cfc0f
- MFH
...
. spl_autoload_register() return bool to denote success/failure
. spl_autoload_unregister() acept any callable
2006-03-23 19:55:16 +00:00
Antony Dovgal
5f80bcaf26
add missing skipif sections
2006-03-23 15:03:27 +00:00
Antony Dovgal
e40df39518
fix typos
2006-03-23 14:56:12 +00:00
Marcus Boerger
1440bb5c7b
- MFH Add new test
2006-03-23 12:21:40 +00:00
Marcus Boerger
4b4d61952f
- MFH: Add new test
2006-03-23 11:57:34 +00:00
Marcus Boerger
660956b514
- Add missing bug title and synch with other tests
2006-03-23 11:48:59 +00:00
Antony Dovgal
09fcf3162c
add test
2006-03-22 23:10:59 +00:00
Marcus Boerger
7c14d86dc3
- Fix test
2006-03-16 00:39:50 +00:00
Marcus Boerger
7dc322754a
- Fix issues with not/double calling of constructors of SPL iterators
...
- Fix issues with info-class/file-class in SPL directory handling classes
- Add SimpleXMLElement::count()
- Drop erroneous RecursiveDirectoryIterator::getSubPathInfo()
- Drop dead code
- Add tests
- Update docu
2006-03-05 17:39:49 +00:00
Marcus Boerger
ff4ee6f043
- MFH Add new tests
2006-02-06 01:28:12 +00:00
Antony Dovgal
0655132e2c
add test for bug #36258
2006-02-02 13:56:16 +00:00
Antony Dovgal
c01d79b2df
merge two skipif entries
2005-12-22 00:19:28 +00:00
Marcus Boerger
fc0fe6472e
- MFH Add missing skipif
2005-12-21 22:22:33 +00:00
Antony Dovgal
5500dea5f1
MFH: fix spelling
2005-12-18 20:57:27 +00:00
Marcus Boerger
10f77a5d71
- Add/fix tests
2005-12-16 22:19:02 +00:00
Marcus Boerger
6dec77d25e
- MFH Add class SplFileInfo as base for DirectoryIterator and SplFileObject
...
# As discussed with ilia before 5.1.0
2005-11-29 03:33:59 +00:00
Marcus Boerger
134b2718d4
- Add new tests
2005-11-07 18:38:20 +00:00
Marcus Boerger
8098790208
- Add missing test
2005-11-02 20:32:21 +00:00
Marcus Boerger
061ff97f69
- MFH Throw an exception if an illegal string value is being used in
...
ArrayObject::offsetSet()
2005-10-03 17:59:56 +00:00
Marcus Boerger
049882f29c
- Try to fix bugs #34216 (Segfault with autoload) and #34584 (Segfault with
...
SPL autoload handler)
2005-09-25 18:04:35 +00:00
Antony Dovgal
33d913d9da
MF5.0: add new test
2005-09-19 18:58:59 +00:00
Marcus Boerger
d1ee4b407c
- Commite manually if not conatined in bunch commit
2005-09-18 17:16:17 +00:00
Marcus Boerger
7d918fae4c
- Synch naming/move changes with HEAD
...
- Update tests/docu
# New functionality in CachingIterator/RecursiveIteratorIterator not MFHed
2005-09-18 17:15:04 +00:00
Marcus Boerger
c0ffebcee6
- Rename file class again by popular demmand: calling it SplFileObject now
2005-09-15 14:08:16 +00:00
Marcus Boerger
a29501195f
- MFH: Add new files
2005-09-15 03:38:03 +00:00
Marcus Boerger
b4dd030782
MFH:
...
- Add SplObjectStorage
- Add RecursiveFilterIterator
- Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:33:04 +00:00
Dmitry Stogov
1a29376c07
Fixed test file (.inc.php -> .php)
2005-08-10 06:10:04 +00:00
Marcus Boerger
0b34e041e3
- Before we later run into BC trouble we split flags into two params mode
...
and flags now before branching for 5.1.
2005-07-28 21:09:02 +00:00
Marcus Boerger
efcfe44299
- Use correct/complete skipif condition
2005-07-20 07:33:19 +00:00
foobar
3996e49272
one might not have simplexml enabled
2005-06-28 10:17:01 +00:00
Marcus Boerger
74a63cc1b2
- Fixed #33136 :
...
- Allow ArrayObject::offsetSet(NULL, $value) as replacement for [] = $value
- Fix memleaks with overloading ArrayObject
2005-06-20 03:02:52 +00:00
Marcus Boerger
6a67d06c26
- Fix handling of ArrayObject/ArrayIterator flags and provide test
2005-06-20 00:19:18 +00:00
Marcus Boerger
cccdec3577
- Update tests after correcting internal order of actions
2005-05-19 15:49:44 +00:00
Marcus Boerger
177ea26dc1
- Make line counting work with FileObject::fgetc()
...
- Add a test for FileObject::fgetc()
- Update docs
2005-05-03 22:18:19 +00:00
Marcus Boerger
287864a611
- Change FileObject's line counting to be zero based
...
- Make FileObject implement SeekableIterator
- Add tests
2005-05-03 21:11:26 +00:00
Marcus Boerger
733aa2e949
- Make class_parentS() and class_implements() accepts class names as well
2005-04-06 15:16:45 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
Marcus Boerger
041524feee
- Fix Bug #32394 offsetUnset() segfaults in a foreach
2005-03-21 20:07:33 +00:00
Marcus Boerger
6735e8c2a7
- Update test
2005-03-19 15:15:32 +00:00
Marcus Boerger
fec4937052
- Add new test
2005-03-19 15:09:11 +00:00