Marcus Boerger
eec9a59b27
- Revert left-over
2006-03-09 23:07:48 +00:00
Marcus Boerger
b7f6e116f7
- Add read ahead ability
...
- Add skipping empty lines
- Add ability to read lines as csv
2006-03-09 23:03:08 +00:00
Sebastian Bergmann
281ebbe664
Make spl_register_std_class() and spl_register_sub_class() available outside of SPL, for instance in SPL_Types.
2006-03-09 11:44:05 +00:00
Marcus Boerger
e8e264dcf2
- Cloning might need special treatment as well
2006-03-08 20:30:12 +00:00
Marcus Boerger
24726c19d5
- Something that uses void* oth might want to deinitialize it in the dtor
2006-03-08 20:06:16 +00:00
Pierre Joye
bb1ec86f9d
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
...
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Marcus Boerger
05ffb7902d
- WS
2006-03-07 20:22:12 +00:00
Marcus Boerger
51044eabd4
- Missed 'proto'
2006-03-06 22:22:07 +00:00
Marcus Boerger
1050956ad1
- Proto fixes
2006-03-06 09:47:03 +00:00
Marcus Boerger
04aebae9e4
- Need to change a few things to exception based error handling
...
- Drop erroneus/useless RecursiveDirectoryIterator::getSubPathInfo()
2006-03-04 22:56:11 +00:00
Marcus Boerger
c7adc4a54e
- Make the ctor static and not inline
2006-03-04 17:01:16 +00:00
Marcus Boerger
aae51ab2ed
- WS/CS
2006-03-04 16:45:45 +00:00
Marcus Boerger
dbb83bc10e
- One skipif section is enough
2006-03-04 16:40:54 +00:00
Marcus Boerger
d350e2949a
- Drop dead code
2006-03-04 16:32:59 +00:00
Marcus Boerger
3e986adfe3
- Unicode...
2006-03-03 23:51:40 +00:00
Marcus Boerger
e86cc2a41d
- Add new test
2006-03-03 23:48:36 +00:00
Marcus Boerger
75c95e09c3
- Add new test
2006-03-03 23:35:06 +00:00
Marcus Boerger
ce20de5e46
- Fix issue with LimitIterator and bounds checking
2006-03-03 23:34:49 +00:00
Marcus Boerger
742c59862d
- Test addition
2006-03-03 22:58:13 +00:00
Marcus Boerger
b9630ddf52
- Fix issue with LimitIterator
2006-03-03 22:56:27 +00:00
Marcus Boerger
7bb0ca9ce6
- Fix SEGV with AppendIterator when base class constructor was not called
...
- Generic check to prevent double call to constructors of SPL iterators
2006-03-03 21:35:16 +00:00
Marcus Boerger
1c0d546bd4
- Fix issues withhandling of derived info classes as entries
2006-02-27 22:31:07 +00:00
Marcus Boerger
5a42b4086b
- Extend struct to allow inherited c classes hookk their own info there
2006-02-27 18:15:29 +00:00
Dmitry Stogov
36002f16c3
Fixed test file
2006-02-22 12:22:07 +00:00
Marcus Boerger
54c4478a12
- 2006 now
2006-02-21 23:21:53 +00:00
Marcus Boerger
de27da1c85
- More bodies
2006-02-21 21:22:39 +00:00
Marcus Boerger
0cf591a5f9
- Ensure non abstract methods have code
...
# This is very usefull once doxygen 1.4.7 comes out with my patch :-)
2006-02-21 21:19:34 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Marcus Boerger
53f2048fd1
- Its 2006 already
2006-02-21 09:47:09 +00:00
Marcus Boerger
43e9def563
- Update
2006-02-21 09:45:38 +00:00
Marcus Boerger
b56190d25b
- Add some arginfo
2006-02-20 22:23:27 +00:00
Marcus Boerger
45dd9a10b8
- WS
2006-02-20 22:21:24 +00:00
Marcus Boerger
f4fd040d73
- Include examples in documentation
...
- Provide a better place for the examples
2006-02-20 22:19:04 +00:00
Andi Gutmans
1efe984d08
- Get rid of using ENFORCE_SAFE_MODE.
2006-02-19 04:29:42 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Marcus Boerger
887d1202f4
- No more old parameter api usage
2006-02-12 16:43:30 +00:00
Antony Dovgal
50bbedcec3
fix #36359 (splFileObject::fwrite() doesn't write when no data length specified)
2006-02-10 16:56:56 +00:00
Antony Dovgal
96543b01ad
initialize variables and reduce the number of warnings
2006-02-06 11:28:20 +00:00
Marcus Boerger
8d0a71a30e
- Finally enable optimization
2006-02-06 02:07:08 +00:00
Marcus Boerger
ee37c70736
- WS
...
- current() doesn't return anything
2006-02-06 01:49:13 +00:00
Marcus Boerger
0d1594692d
- Simplify
2006-02-06 01:42:37 +00:00
Marcus Boerger
42cc8c1ba3
- Simplify
2006-02-06 01:30:26 +00:00
Marcus Boerger
9b8b9632cd
- Add new test
2006-02-06 01:28:08 +00:00
Marcus Boerger
1ea1975817
- Synch c-level iterator and iterator methods
...
- Fix iterator checks
# A nice discussion with Andrei made me remember this issue
2006-02-06 00:58:11 +00:00
Marcus Boerger
c67d8b2152
- Iterator API was changed
2006-02-05 23:31:47 +00:00
Antony Dovgal
bd8a167442
fix #36295 (typo in SplFileObject::flock() parameter name)
2006-02-05 19:22:13 +00:00
Marcus Boerger
19117cf9c9
- Fix bug #36287
2006-02-05 11:43:28 +00:00
Marcus Boerger
aa55f8731a
- Fix ArrayIterator::seek() edge cases
2006-02-02 22:11:49 +00:00
Marcus Boerger
9f628d10f6
- Fix oversight
2006-02-02 19:02:05 +00:00
Ilia Alshanetsky
555cfd0146
MFB51: Only use win32 directory separators on win32 or netware.
2006-02-02 15:10:23 +00:00
Antony Dovgal
c4daf2fffa
add test for bug #36258
2006-02-02 13:57:04 +00:00
Antony Dovgal
6f1ccba730
add missing folding tags
...
nuke unnecessary semicolons
2006-02-02 12:40:07 +00:00
Antony Dovgal
fc2f82751a
MF51: fix #36258 (SplFileObject::getPath() may lead to segfault)
2006-02-02 12:20:26 +00:00
Ilia Alshanetsky
9201fa6918
MFB51: Fixed bug #36134 (DirectoryIterator constructor failed to detect
...
empty directory names).
2006-01-23 15:24:41 +00:00
Marcus Boerger
2a2eae219c
- Fix error message
2006-01-23 02:26:15 +00:00
Antony Dovgal
4f07cff61c
fix typo (and possible segfault)
2006-01-18 23:39:00 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
8f86b6d145
avoid segfaults
2006-01-15 16:05:49 +00:00
Marcus Boerger
2d3dc44908
- Fix issue found by nuno
2006-01-15 00:17:08 +00:00
Marcus Boerger
d91dd0a0bb
- Update
2006-01-14 20:20:53 +00:00
Marcus Boerger
f22c929561
- Fix #35998 (getPathname() method always returns unix style filenames)
2006-01-13 19:35:27 +00:00
Marcus Boerger
9f0f9bc958
- Update
2006-01-06 19:57:49 +00:00
foobar
f8bda52627
- Fix configure on Solaris
2006-01-06 14:03:28 +00:00
Marcus Boerger
4c5fb5fc50
- Fix docu
2006-01-05 19:00:01 +00:00
Marcus Boerger
c9128375f9
- Update examples
2006-01-04 15:34:26 +00:00
Marcus Boerger
e16171a6b1
- MFB
2006-01-01 19:57:27 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
6102ec3a06
- Remove wrong inline usage (and fix bug #35796 )
2005-12-25 16:03:38 +00:00
Marcus Boerger
d06b1b77a1
- MFB Make this work with VPATH builds too
2005-12-24 13:19:49 +00:00
Marcus Boerger
2f2711acfd
- MFB Fix leak
2005-12-22 00:38:05 +00:00
Marcus Boerger
b6caa5e369
- MFB Fix memleak
2005-12-22 00:24:49 +00:00
Antony Dovgal
73db3873cc
MFB: merge two skipif entries
2005-12-22 00:20:44 +00:00
Marcus Boerger
8a7a093996
- Add missing skipif
2005-12-21 22:21:54 +00:00
Marcus Boerger
d3ae24eb79
- MFB Need to store length (and type) of class name
2005-12-21 20:12:44 +00:00
Marcus Boerger
a9a1bd419b
- Only apply workaround solution for 64 bit machines when necessary
...
# Actually this can already be necessary on 32 bit machine and also not be
# necessary on 64 bit machines. It all depends on the compiler settings.
2005-12-20 21:36:47 +00:00
Antony Dovgal
320b5ce461
MFB: more SPL leak fixes
2005-12-20 12:41:38 +00:00
Antony Dovgal
e236055976
MFB: fix possible invalid reads
2005-12-19 13:53:28 +00:00
Marcus Boerger
1a7b411f9a
- MFH IteratorIterator::__construct() fixes
2005-12-19 00:55:40 +00:00
Antony Dovgal
099ab8ac8d
MFB: fix leak in SPL iterators
2005-12-18 22:53:18 +00:00
Antony Dovgal
891059b089
more spelling fixes
2005-12-18 21:00:59 +00:00
Antony Dovgal
3e2d9c2549
fix spelling
2005-12-18 20:57:06 +00:00
Zeev Suraski
d04772ab12
Prototype fix (MFB)
2005-12-18 15:47:03 +00:00
Zeev Suraski
4000ac531c
Prototype fixes (MFB)
2005-12-18 15:41:22 +00:00
Zeev Suraski
9955ce10b1
Fix prototype (MFB)
2005-12-18 14:05:23 +00:00
Marcus Boerger
884cb32a38
- MFB
2005-12-17 00:09:06 +00:00
Marcus Boerger
cea4c80b88
- Add new tests
2005-12-16 22:22:14 +00:00
Marcus Boerger
218c07c328
- Fix issue spotted by Wez using ms vc 2005
2005-12-14 09:55:04 +00:00
Marcus Boerger
12c5f90386
- Change to use sane default flags fro RecursiveDirectoryIterator
...
- Drop 2nd parameter from DirectoryIterator::__construct()
2005-12-11 16:43:00 +00:00
Antony Dovgal
be74ca8f85
MF51: nuke C++ comment
2005-12-09 13:32:07 +00:00
Antony Dovgal
d5cd3efe2b
fix segfault in SplFileObject when file doesn't exist or cannot be read
2005-12-08 19:53:43 +00:00
Dmitry Stogov
8010c59c88
Unicode support
2005-12-07 16:52:13 +00:00
foobar
5f44819b72
- function_entry -> zend_function_entry (php3 legacy!)
2005-12-06 02:00:07 +00:00
Stanislav Malyshev
1a60646023
MF5.1: fix reallocation bug
2005-12-05 20:08:19 +00:00
Marcus Boerger
df710be5c7
- Fix minor issues in RecursiveDirectoryIterator & provide new flag consts
2005-11-27 13:07:18 +00:00
Marcus Boerger
1bec704ea7
- Fix editor blocks
2005-11-27 12:13:42 +00:00
Johannes Schlüter
57deca0c8f
- Fix SPL class listing for phpinfo in unicode mode
2005-11-20 15:21:23 +00:00
Antony Dovgal
e658842761
fix #35197 (Destructor is not called) and similar issues in other extensions
2005-11-14 21:52:27 +00:00
Marcus Boerger
ce939c2cc5
- Add missing check flag
2005-11-03 22:04:35 +00:00
Marcus Boerger
e2ea55ccbe
- Tray fixing #35088
2005-11-03 21:58:42 +00:00
Marcus Boerger
3243167b45
- Add missing check
2005-11-03 21:28:16 +00:00
Marcus Boerger
8088087b0b
- Update docu
2005-11-01 21:46:33 +00:00
Marcus Boerger
d73184b6ba
- The iterator base interface is Traversable not IteratorAggregate
2005-11-01 21:17:51 +00:00
Marcus Boerger
35d80e39d2
- Allow to recive derived SplFileInfo/SplFileObject instances
2005-11-01 16:54:44 +00:00
Marcus Boerger
15f4a227e0
- Make SimpleXMLIterator implement Countable
2005-10-31 20:29:34 +00:00
Marcus Boerger
f93d64e8ce
- Add docu
2005-10-30 16:07:29 +00:00
Marcus Boerger
82aa412cf8
- Fix unicode expectations
2005-10-30 14:00:45 +00:00
Marcus Boerger
5303f42825
- Use var_dump() and fix test expectations
2005-10-29 21:01:03 +00:00
Marcus Boerger
bf0f844521
- Add new example
2005-10-29 20:38:30 +00:00
Marcus Boerger
a5a9cd2f0f
- Attribues don't have children
2005-10-29 20:37:59 +00:00
Marcus Boerger
9ee8a78cef
- Add new example
2005-10-29 16:38:49 +00:00
Marcus Boerger
bdb7ff4c2e
- Increase buffer for 64 bit systems
2005-10-29 15:48:14 +00:00
Marcus Boerger
dd702a23dc
- Fix stupid unicode warnings
2005-10-29 15:44:37 +00:00
Marcus Boerger
5c4d1edef3
- Add AppendIterator::getIteratorIndex
...
- Add AppendIterator::getArrayIterator
2005-10-29 15:37:57 +00:00
Marcus Boerger
feafd25b0d
- Add class SplTempFileObject
2005-10-29 15:15:22 +00:00
Dmitry Stogov
2b5cd0e756
Unicode support
2005-10-28 08:07:17 +00:00
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
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
51d100a27a
- Fix speling
...
- Add links
2005-05-03 12:09:26 +00:00
Marcus Boerger
4f3b12b3fd
- Rename class File to FileObject
...
# by popular demand
2005-04-14 21:02:09 +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
7e7775a328
- Register class File
...
- Remove superflous ;
- Stop spl_autoloading on pending exception
2005-04-05 09:24:53 +00:00
Marcus Boerger
2f8d672bfc
- Use correct var name
2005-04-05 09:23:50 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
Marcus Boerger
7adb2b0c0b
- Add RecursiveDirectoryIterator::getSubPathname()
2005-03-31 23:02:20 +00:00
Marcus Boerger
d383735978
- Add RecursiveDirectoryIterator::getSubPath()
2005-03-31 21:51:46 +00:00
Marcus Boerger
530917b463
- Make iterator_to_array() accept Traversable
2005-03-31 21:49:47 +00:00
Marcus Boerger
3eb4162122
- Bugfix #32521 (apache2handler accidental crashes caused by SPL)
2005-03-31 17:17:38 +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
Marcus Boerger
dd54f36d49
- Fix signature definition
2005-03-13 16:35:01 +00:00
Marcus Boerger
5880260c78
- Update docu
2005-03-12 23:21:41 +00:00
Marcus Boerger
6f668d4978
- Fix extension to be .inc
2005-03-12 23:05:03 +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
b924ef8796
- Don't touch refcount/is_ref
2005-03-11 00:44:34 +00:00
Marcus Boerger
56235c6cc8
Fix the fix
2005-03-09 10:29:27 +00:00
Antony Dovgal
a2413c32ce
fix build
2005-03-09 09:19:27 +00:00
Marcus Boerger
f0a3e5be17
More line count fixes
2005-03-09 03:07:42 +00:00
Marcus Boerger
b79e8759fc
Add documentation
2005-03-09 03:07:07 +00:00
Marcus Boerger
ef17168fd1
No double line counting
2005-03-09 02:54:36 +00:00
Marcus Boerger
b06d0ef758
Add description for interface Serializeable
2005-03-09 01:21:04 +00:00
Johannes Schlüter
0e9e0f62fc
- Fix #32238 (spl_array.c: void function cannot return value)
2005-03-08 21:33:15 +00:00
Marcus Boerger
7b64727519
- Add/Correct parameter info and protos
2005-03-08 00:42:49 +00:00
Marcus Boerger
9b8725a967
- Add more methods
...
- Avoid exceptions in iterator access
- Do not read in rewind8) or next() instead read in iteration if neccessary
- Correctly count line numer on reading
2005-03-07 22:18:40 +00:00
Marcus Boerger
1d54f897ca
- Fix problem with some plain c pedantic compilers
2005-03-07 08:04:47 +00:00
Marcus Boerger
3960865e8e
- In File::fgetcsv() use max length from object
2005-03-07 01:00:29 +00:00
Marcus Boerger
40bf907541
- Add File object
2005-03-07 00:40:57 +00:00
Marcus Boerger
89f320755d
- Use new objects
2005-03-06 23:09:21 +00:00
Marcus Boerger
16f0329a52
- Fix problem with exception in other methods, too
2005-03-06 23:07:43 +00:00
Marcus Boerger
f3970b8076
- Add intefaces from zend_interface.h as macros
2005-03-06 22:57:45 +00:00
Marcus Boerger
0d1e43711a
- Fix problem with exceptions in hasChildren calls
2005-03-06 22:57:05 +00:00