Antony Dovgal
5c5e74581b
make compilers happy
2005-10-26 22:46:51 +00:00
Marcus Boerger
578f36cc4a
- zend_is_callable_ex() was changed
2005-10-25 19:38:49 +00:00
Marcus Boerger
581d856af7
- Do not include because of implementing an interface if parent implements
...
the interface already
2005-10-21 23:42:56 +00:00
Marcus Boerger
533b61cf3b
- Add ability to bypass key() surrounding and make that default
2005-10-13 19:45:29 +00:00
Marcus Boerger
722613aeb8
- Use pcre_cache_entry* rather than pcre* directly for refcounting
...
# This prevents a theoretical crash when using too many regexes
2005-10-12 22:52:09 +00:00
Marcus Boerger
68f663eaf8
- Provide const RegExIterator::USE_KEY and actually use it in the test
2005-10-11 00:18:32 +00:00
Marcus Boerger
ac92e5988c
- Add (Recursive)RegExIterator
2005-10-10 23:58:42 +00:00
Marcus Boerger
d1ff98a560
- Register new class
2005-10-10 21:45:09 +00:00
Marcus Boerger
f9f2e8fa56
- Finalize work on SplFileInfo and derived for now (add missing get*Info())
...
- Update docu
2005-10-10 21:06:54 +00:00
Marcus Boerger
b3fb938ada
- Fix potential SEGV with overloaded objects
2005-10-09 09:55:30 +00:00
Marcus Boerger
033ffc206d
- Add new example directorytree_size.php
...
- Improve SplFileInfo:
. add function getFilename()
. add function getPath()
-Improve RecursiveTreeIterator
. add const BYPASS_CURRENT to bypass current instead of getting its
string representation
. make key() return the parent key() which calls inner iterators key()
- Improve RecursiveDirectoryIterator
. add consts CURRENT_AS_FILEINFO, KEY_AS_FILENAME, NEW_CURRENT_AND_KEY
. make current() return getFilename() or getFileInfo() depending on flags
. make key() return getPathname() or getFilename() depending on flags
- Improve DirectoryIterator
. make __construct() accept flags as second parameter
- Update docu
2005-10-08 18:57:17 +00:00
Marcus Boerger
7b330f195b
- Add new class SplFileInfo
...
. Make DirectoryIterator inherit it
. Make SplFileObject inherit it
2005-10-08 15:55:04 +00:00
Marcus Boerger
d6af3d268d
- Prevent notices from showing up if inner's current() does not return a string
2005-10-07 23:14:49 +00:00
Marcus Boerger
8b14aded85
- MFB Missing constants
2005-10-05 21:57:45 +00:00
Marcus Boerger
6ccd7ef74d
- Update cast_object handlers
2005-10-05 19:12:44 +00:00
Marcus Boerger
38e65a872f
- Update example
2005-10-05 19:10:22 +00:00
Marcus Boerger
070ed30039
- Throw an exception if an illegal string value is being used in ArrayObject::offsetSet()
2005-10-03 17:58:47 +00:00
Marcus Boerger
a0674235e3
- Really allow SXE being shared by not using anything from it directly in SPL
2005-10-03 16:04:50 +00:00
Marcus Boerger
94274df4e0
- Add more sorting funcs to ArrayObject/Iterator
2005-10-03 13:34:01 +00:00
Marcus Boerger
fcbb1d572e
- Make prefixing more generic
2005-10-03 13:29:30 +00:00
Marcus Boerger
12c2b1f128
- Add sorting to ArrayObject/Iterator
2005-10-03 12:55:11 +00:00
Marcus Boerger
a964956aa1
- Update
2005-10-03 10:17:02 +00:00
Marcus Boerger
086912dfff
- Allow to use currnet() and key() in __toString()
2005-10-03 10:08:56 +00:00
Marcus Boerger
748d497764
- Rewrite flags as hex values
2005-10-03 09:39:35 +00:00
Marcus Boerger
b1fc84f584
- Fix issue with RecursiveArrayIterator::getChildren()
2005-10-03 09:12:39 +00:00
Marcus Boerger
f28eec269c
- Add new example
2005-10-02 23:12:12 +00:00
Marcus Boerger
eedd7b36d2
- Add new example
2005-10-02 17:32:36 +00:00
Marcus Boerger
bfaf987363
- MFB spl/simplexml integration (when sxe is shared)
2005-10-01 15:55:27 +00:00
Marcus Boerger
179ab26968
- Reset global pointer to NULL after mem free (required for apache 1.3)
2005-09-26 17:54:57 +00:00
Dmitry Stogov
1b1b864941
Unicode support
2005-09-26 07:23:49 +00:00
Marcus Boerger
a2cbf80002
- Make code more readable, fix issue with parameter parsing introduced with
...
unicode update
2005-09-25 18:06:08 +00:00
Marcus Boerger
7e1763a115
- Implement RecursiveIteratorIterator::setMaxDepth()/getMaxDepth()
2005-09-25 12:01:31 +00:00
Marcus Boerger
da8c0af034
- Rename here too
2005-09-24 23:48:26 +00:00
Marcus Boerger
8c131ac952
- Serializeable was renamed to Serializable long ago
2005-09-24 23:18:14 +00:00
Antony Dovgal
c6e6b44b82
MF5.0: add new test
2005-09-19 18:59:50 +00:00
Marcus Boerger
b4271e8f3f
- Fix filename in docu
2005-09-19 18:28:01 +00:00
Marcus Boerger
97948f29a9
- Add deprecated/compatibility class for BC
2005-09-19 18:25:23 +00:00
Dmitry Stogov
f6a20bad6e
Unicode support
2005-09-19 07:49:13 +00:00
Marcus Boerger
8663b3a191
- Update docu: new slides are available
2005-09-18 17:51:37 +00:00
Marcus Boerger
d9604967ff
- Observer/Subject have been renamed
2005-09-18 17:44:50 +00:00
Marcus Boerger
eede773730
- Add missing docu
2005-09-18 17:39:12 +00:00
Marcus Boerger
7a9c654f83
- Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR
2005-09-18 17:32:52 +00:00
Marcus Boerger
02038b4ac4
- Rename 'CachingRecursiveIterator' to 'RecursiveCachingIterator' so that
...
all of those follow the naming scheme 'Recursive<*>Iterator'
2005-09-18 16:51:24 +00:00
Marcus Boerger
445e382454
- Move RecursiveArrayIterator into .c
...
- Add ability to control iterator class of ArrayObject
- Implement option to make CachingIterator cache all read elements
- Implement ArrayAccess to CachingIterator to access cached elements
- Update docu
- Update tests
2005-09-18 11:34:36 +00:00
Derick Rethans
0f391bb0b3
- Add E_RECOVERABLE.
...
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Marcus Boerger
50301ddc98
- Rename file class again by popular demmand: calling it SplFileObject now
...
# Any other idea about the name? Or should i come up with a renaming plan
# for the upcoming versions? :-)
2005-09-15 14:07:39 +00:00
Marcus Boerger
5f437cd590
- Changed in version 5.1
2005-09-15 03:52:58 +00:00
Marcus Boerger
849fb07201
- MFB
2005-09-15 03:48:38 +00:00
Marcus Boerger
8aa7f36a3b
- Rename Observer to SplObserver
...
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:31:37 +00:00
Marcus Boerger
5deac4859e
- Add missing docu tag
2005-09-04 18:57:21 +00:00
Marcus Boerger
4cba6ac94d
- Update docu
2005-09-04 18:51:50 +00:00
Marcus Boerger
a826dd2918
- Fix docu
2005-09-02 19:16:43 +00:00
Marcus Boerger
03136fc95d
- Update docu
2005-09-02 19:15:30 +00:00
Johannes Schlüter
a221a9742a
- Fix alphabetic order and add missing class
2005-08-24 10:16:45 +00:00
Dmitry Stogov
f4b8f4e958
Unicode support cleanup
2005-08-23 09:33:46 +00:00
Dmitry Stogov
ab2e9bc9bd
Unicode support
2005-08-22 13:32:46 +00:00
Dmitry Stogov
6b622046dc
zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string).
2005-08-22 12:22:16 +00:00
Dmitry Stogov
d0944d74f4
Unicode support
2005-08-16 15:09:51 +00:00
Antony Dovgal
760313346a
eliminate compile warning
2005-08-15 23:01:42 +00:00
Marcus Boerger
a24a21ecf0
- No c comment (+ old non unicode way not needed any longer)
2005-08-15 19:16:30 +00:00
Dmitry Stogov
909e0a1c4e
Unicode support
2005-08-15 17:29:07 +00:00
Dmitry Stogov
08fe0d1da3
Test engine is improved to support unicode mode
2005-08-15 14:37:55 +00:00
Dmitry Stogov
0bdfac1169
Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode)
2005-08-15 07:55:41 +00:00
Antony Dovgal
d09b1b1e89
shut up warnings
2005-08-12 20:58:28 +00:00
Sebastian Bergmann
52b001cc05
ZTS fixes.
2005-08-12 14:08:28 +00:00
Dmitry Stogov
e1627558ed
Unicode support
2005-08-12 13:09:58 +00:00
Dmitry Stogov
3e7ab37d9f
Unicode support
2005-08-12 12:59:20 +00:00
Dmitry Stogov
f39c77dda0
Fixed SIGSEGV
2005-08-12 12:14:31 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +00:00
Marcus Boerger
95064517d3
- Support non static class loader methods
2005-08-11 01:19:11 +00:00
Marcus Boerger
601b8fd2e5
- Register new classes with spl_classes()
2005-08-10 22:01:15 +00:00
Marcus Boerger
20de5cc091
- Implement SplObjectStorage as announced during OSCON
...
# This class starts naming of new classes in Spl by prefix Spl as dicussed.
# The class reduces object storage complexity from O(n) to O(1) which is
# not possible in user space.
2005-08-10 21:56:01 +00:00
Marcus Boerger
1434e56f6d
- WS
2005-08-10 21:53:53 +00:00
Marcus Boerger
9e38d04a7c
- Add RecursiveFilterIterator
...
- Derive ParentIterator from RecursiveIterator
# Actually brought up by a user. It is of course better to filter first and
# do the recursion only for accepted values. Otherwise you would iterate
# children and possibly recurse into them just to ignore them later anyway.
2005-08-10 19:48:48 +00:00
Marcus Boerger
aa53dcddab
- Support sttaic class loader methods
2005-08-10 08:31:57 +00:00
Dmitry Stogov
73c8a340cf
Fixed test file (.inc.php -> .php)
2005-08-10 06:36:25 +00:00
Marcus Boerger
af2e8a3db5
- PEAR uses .php not .inc.php
2005-08-09 21:11:42 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Marcus Boerger
cf7089972f
- Need to expose this one too
2005-08-02 02:20:01 +00:00
Marcus Boerger
fb5f1b7fad
- Update version info
2005-08-02 00:00:41 +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
d608181dc7
- Allow static loader functions (but only for 5.1.1 as discussed with Andi)
2005-07-28 20:59:44 +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
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
foobar
19639aa9ab
Use the new dependency system
2005-06-17 16:42:54 +00:00
Johannes Schlüter
f2fab902c4
fix typos
2005-06-16 21:27:51 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Marcus Boerger
ae35d25940
- Update
2005-05-30 20:10:38 +00:00
Marcus Boerger
309025e8c1
- Small fix (found by joerg)
2005-05-24 17:59:42 +00:00
Marcus Boerger
b45fb630d9
- Add ability to reference the object itself
...
- Add ability to exchange the refrenced object
- Add ArrayObject::getFlags/setFlags and 2nd param to __construct to
control operation modes
2005-05-19 15:52:02 +00:00
Marcus Boerger
cccdec3577
- Update tests after correcting internal order of actions
2005-05-19 15:49:44 +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
a5c37f37b6
- Add ability to fail silently
2005-05-12 21:23:56 +00:00
Marcus Boerger
99c72d0b94
- Update docu
2005-05-04 19:14:08 +00:00
Marcus Boerger
d6d9b15ef7
- Add another note
2005-05-03 22:28: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