Antony Dovgal
bccf4bd9e7
MFH: initialize variables and reduce the number of warnings
2006-02-06 11:28:41 +00:00
Marcus Boerger
2d1d476391
- MFH Fix error message
2006-01-23 02:26:32 +00:00
Marcus Boerger
34f32d4dcd
- Just another place where rewind() might not be set
2006-01-01 19:55:27 +00:00
Marcus Boerger
e99fac3d01
- key() might be optional
2006-01-01 19:51:17 +00:00
Marcus Boerger
d6ee7d1d9a
- Fix SEGV when rewind() not set
2006-01-01 19:48:11 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
cfda375620
MFH
2005-12-25 16:04:15 +00:00
Marcus Boerger
7f6018aa3a
- WS
2005-12-22 00:37:07 +00:00
Marcus Boerger
53e37ac843
- Fix memleak
2005-12-22 00:35:37 +00:00
Marcus Boerger
0986f33d1e
- Fix memleak
2005-12-22 00:06:38 +00:00
Antony Dovgal
efff8a45e2
more SPL leak fixes
2005-12-20 12:41:24 +00:00
Marcus Boerger
32220d2e7e
- Check for result of getIterator() call
2005-12-19 00:45:28 +00:00
Marcus Boerger
e989e9f70f
- Fix reference counting
2005-12-19 00:32:51 +00:00
Antony Dovgal
9e8a1bfcbe
fix leak in SPL iterators
2005-12-18 22:52:24 +00:00
foobar
a4295629b8
MFH
2005-12-06 02:00:14 +00:00
Stanislav Malyshev
3eafc3d329
fix reallocation bug
2005-12-05 19:54:47 +00:00
Antony Dovgal
241aa9a59d
MFH: fix #35197 (Destructor is not called) and similar issues in other extensions
2005-11-14 22:03:02 +00:00
Marcus Boerger
376d4554fb
- MFH the iterator base interface is Traversable not IteratorAggregate
2005-11-01 21:18:24 +00:00
Marcus Boerger
b29b16af2e
- Synch RecursiveIteratorIterator, fixes a few memory corruptions/memleaks
2005-10-05 21:59:13 +00:00
Marcus Boerger
308a64bc08
- MFH Really allow SXE being shared by not using anything from it directly in SPL
2005-10-03 16:05:08 +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
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
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +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
a935b06236
- Fix issues with iterators and excpetions
...
# update documentation
#
# In 5.2 we need to implement an event handler onException() to be invoked
# on exceptions during getChildren() calls. Its default implementation
# would simply rethrow the exception if the flag is not set and delete if
# if it was set. To do so the exceptions refcount needs to be increased
# before calling zend_clear_exception() to keep the exception alive but
# clear the control information.
#
# As a side note this is alos the easy solution to allow multi exception
# handling: Simply clear the engine's exception info and add a property
# called $previousException to the base exception and assign it from the
# already pending one.
2005-07-27 22:19:01 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Marcus Boerger
626d781afd
- Execute both RecursiveIteratorIterator::beginChildren() and endChildren()
...
on the same level (while the actual child is available).
2005-05-14 16:40:58 +00:00
Marcus Boerger
530917b463
- Make iterator_to_array() accept Traversable
2005-03-31 21:49:47 +00:00
Marcus Boerger
f9de3fd02b
- Allow to hook into RecursiveIteratorIterator's child handling
...
- Better=faster function caching for RecursiveIteratorIterator
- Check for exceptions and fix check for illegal return values
- Add UnexpectedValueException
- Add docu
2005-03-12 23:03:33 +00:00
Marcus Boerger
16f0329a52
- Fix problem with exception in other methods, too
2005-03-06 23:07:43 +00:00
Marcus Boerger
0d1e43711a
- Fix problem with exceptions in hasChildren calls
2005-03-06 22:57:05 +00:00
Marcus Boerger
76c5d53993
- Need to store class entry
2005-03-01 10:05:12 +00:00
Marcus Boerger
5f1c3f4a7e
- Allow to convert traversable into Iterator
2005-02-23 01:03:16 +00:00
Marcus Boerger
3c36e73b95
- bugfix 31348
2005-01-24 20:21:11 +00:00
Antony Dovgal
6528b1b0b4
more typos
2004-12-29 16:11:42 +00:00
Antony Dovgal
0460f73db2
MFB: fix typos
2004-12-29 13:53:40 +00:00
Marcus Boerger
9c0f5e8887
- Use appropriate exception class where possible
2004-11-11 19:36:27 +00:00
Marcus Boerger
5dbb0aaa24
- Drop debug message
2004-11-11 19:31:27 +00:00
Marcus Boerger
31165806f8
- Simplify construction of RecursiveIteratorIterator
2004-11-08 13:44:34 +00:00
Frank M. Kromann
6a15a50d35
oops missed a couple!
...
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
This fixes the - duplicate name - warning
2004-11-03 01:20:16 +00:00
Frank M. Kromann
93da44811e
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
...
This fixes the - duplicate name - warning
2004-11-03 01:16:10 +00:00
Marcus Boerger
e1dfbfc695
- Don't call beginChildren/endChildren if they don't do anything
2004-11-01 23:16:43 +00:00
Marcus Boerger
533e39ecf7
- Cache function lookup
2004-11-01 23:02:10 +00:00
Marcus Boerger
3b7e24cab2
- Add RecursiveIteratorIterator::beginChildren(), endChildren()
2004-11-01 22:54:12 +00:00
Marcus Boerger
2ce7bcd742
- Allow direct access to spl class entries (SPL cannot be build shared)
2004-11-01 20:57:23 +00:00
Marcus Boerger
bd40510b62
- Two new exceptions
...
- Make use of new exception classes
2004-11-01 17:39:59 +00:00
Marcus Boerger
b9470609ad
- Minor fixes
...
- Implement AppendIterator in C
2004-11-01 00:26:59 +00:00
Marcus Boerger
9626e9859a
- Implement EmptyIterator in C
2004-10-31 20:59:39 +00:00
Marcus Boerger
de3a8ea3e1
- Implement InfiniteIterator in C
2004-10-31 19:49:18 +00:00
Marcus Boerger
a872cb0d8d
- Aggregate inner iterator for RecursiveIteratorIterator
2004-10-31 19:05:19 +00:00