Commit Graph

769 Commits

Author SHA1 Message Date
Antony Dovgal
6aa5ed0d9c partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Marcus Boerger
61d7b66a81 - Fix handling of recursive inner iterators 2006-12-01 09:28:38 +00:00
Marcus Boerger
f40fd6731c - Add new example 2006-11-28 22:19:22 +00:00
Marcus Boerger
0187226da0 - Fix arginfo 2006-11-20 20:03:46 +00:00
Marcus Boerger
91ac043e7e - Add new test 2006-11-20 19:55:54 +00:00
Marcus Boerger
ddd4482998 - Add optional use_keys parameter to iterator_to_array(), (idea by Kevin) 2006-11-20 19:50:19 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Hannes Magnusson
14c48cb50b MFB: add missing headers 2006-11-12 19:01:33 +00:00
Marcus Boerger
61b3ee59fd - Optimize SPL directory stuff by making iterator part of object 2006-11-12 17:56:14 +00:00
Hannes Magnusson
b1b8dcfd42 SplFileObject no longer overwrites getFilename() 2006-11-12 17:34:28 +00:00
Hannes Magnusson
d98dfdb119 SplFileObject::getFilename() should not overwrite SplFileInfo::getFilename()
(Fixes bug where SplFileObject::getFilename() returns relative/path/to/file)
2006-11-12 17:08:45 +00:00
Marcus Boerger
74420e6be6 - Correct comments 2006-11-12 15:58:05 +00:00
Johannes Schlüter
70eac43346 - No C++ comments (fix #39414) 2006-11-07 15:17:42 +00:00
Hannes Magnusson
d634bee086 Fix arginfo 2006-11-06 23:19:46 +00:00
Hannes Magnusson
d8895dd81d Fix segfault on $splinfo->openFile()->getPath()
Improve test
2006-11-06 15:20:23 +00:00
Marcus Boerger
50514b8202 - Store length of autoload file exts 2006-11-04 20:22:29 +00:00
Marcus Boerger
b605d4eb3d - Mark some funcs as unicode ready 2006-11-04 20:12:26 +00:00
Hannes Magnusson
7fb679aae2 CS fix 2006-11-03 14:08:11 +00:00
Hannes Magnusson
d9c61f95c6 Fix segfault on invalid regex 2006-10-31 23:57:29 +00:00
Marcus Boerger
4cc8c959cd - Fixed Bug #39090 DirectoryFilterDots doxygen docs and example is wrong 2006-10-31 23:28:30 +00:00
Marcus Boerger
f35c2a34c4 - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php 2006-10-31 23:22:56 +00:00
Marcus Boerger
6a73cbe914 - Fixed Bug #39313 spl_autoload triggers Fatal error 2006-10-31 23:18:00 +00:00
Sara Golemon
5f19062164 Update test to reflect fix in spl_array.c r-1.114 2006-10-19 22:30:55 +00:00
Sara Golemon
631b9b016e Fix working with ArrayObjects which contain arrays. 2006-10-19 22:20:44 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Hannes Magnusson
32d1b3ad55 Remove duplicate 'wrong param count' warning 2006-10-08 10:50:19 +00:00
Hannes Magnusson
2288a69be1 fix proto 2006-09-29 13:22:43 +00:00
Hannes Magnusson
5075de6c5e Fix arginfo 2006-09-29 12:28:57 +00:00
Antony Dovgal
cefb8421f4 declare subclass after adding class constants to the parent 2006-09-29 12:18:54 +00:00
Antony Dovgal
e6fb764b43 64bit fixes 2006-09-28 22:32:56 +00:00
Andrei Zmievski
9124610982 Install SPL headers. 2006-09-20 20:29:24 +00:00
Antony Dovgal
074615035f fix spl tests 2006-09-19 12:01:18 +00:00
Dmitry Stogov
d5ecb40eeb Fixed PCRE related compilation errors 2006-09-19 07:39:07 +00:00
Antony Dovgal
67e747161d fix build 2006-08-29 21:49:32 +00:00
Andrei Zmievski
ff93bd421b Add Unicode support for preg_match[_all] 2006-08-28 20:36:50 +00:00
Antony Dovgal
7d019e4053 build ext/spl and ext/reflection as static (fixes #38556) 2006-08-23 09:47:07 +00:00
Hannes Magnusson
f5e44be71c Fix arginfo for SplObjectStorage 2006-08-23 09:31:41 +00:00
Marcus Boerger
2c2125ad56 - Add link 2006-08-13 10:37:46 +00:00
Nuno Lopes
70923e7011 MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) 2006-08-11 17:06:19 +00:00
Marcus Boerger
42e59effea - Fix cvs access through SplFileObject 2006-08-06 13:47:21 +00:00
Ilia Alshanetsky
886113e5f9 MFB: Fixed bug #38303 (spl_autoload_register() supress all errors
silently).
2006-08-03 14:53:51 +00:00
Marcus Boerger
f9e0395529 - Update tests 2006-07-24 23:34:35 +00:00
Marcus Boerger
db47731174 - Update docu 2006-07-21 21:54:49 +00:00
Marcus Boerger
0f92e907ce - Match code with docu 2006-07-21 21:09:49 +00:00
Marcus Boerger
ebbc559af5 - Update tests 2006-07-21 20:11:24 +00:00
Marcus Boerger
5b3d704bcd - Add control functions to RegexIterator 2006-07-21 19:57:36 +00:00
Marcus Boerger
94c8f3a0d7 - Need to initialized zvals completley 2006-07-20 22:52:16 +00:00
Marcus Boerger
8e3af0a026 - Change order of ctor args
# Do it before the child falls in the brunnel - aka prior to first release.
2006-07-20 22:35:44 +00:00
Marcus Boerger
0dc6d3e257 - Update docu 2006-07-20 22:04:52 +00:00
Marcus Boerger
b85fbd19ea # Sometimes i hate CVS and have no idea what it is doing 2006-07-20 21:32:44 +00:00
Marcus Boerger
bec72dba2a - Update RegexIterator 2006-07-20 21:21:20 +00:00
Ilia Alshanetsky
61fd6bbebf MFB: Fixed memory leak 2006-07-18 22:45:56 +00:00
Marcus Boerger
cc3d932875 - Fix #38125 undefined reference to spl_dual_it_free_storage 2006-07-17 21:09:10 +00:00
Dmitry Stogov
05dfd8d80b ZTS fix 2006-07-17 06:46:19 +00:00
Marcus Boerger
e394e8d1f8 -Typo 2006-07-16 23:48:15 +00:00
Marcus Boerger
2f4ca14c0b - Update docu 2006-07-16 23:45:29 +00:00
Marcus Boerger
754a741248 - Upgrade RegexIterator capabilities, see docu 2006-07-16 20:52:20 +00:00
Marcus Boerger
78f9ab3454 - This test fails right now and requires a zend API change to fix 2006-07-16 19:50:43 +00:00
Marcus Boerger
0499e0d8f1 - Update docu 2006-07-16 19:16:40 +00:00
Marcus Boerger
4aa20e0781 - Correct test name 2006-07-16 17:33:46 +00:00
Marcus Boerger
8a314279ab - Update docu 2006-07-15 15:04:52 +00:00
Marcus Boerger
810c9eee76 - Be on the safe side 2006-07-15 14:54:57 +00:00
Marcus Boerger
4afabf96ee - Implement todo: SplFileObject: ability to set the CSV separator per object, part 2 2006-07-15 14:50:38 +00:00
Marcus Boerger
d795e0b9bb - Implement todo: SplFileObject: ability to set the CSV separator per object 2006-07-15 14:31:51 +00:00
Marcus Boerger
395d4ae5e3 - Fix issue with SplFileObject and directories 2006-07-15 13:01:44 +00:00
Dmitry Stogov
0a435165ba Fixed memory leaks in ext/spl/tests/fileobject_003.phpt 2006-07-10 15:48:09 +00:00
Marcus Boerger
359dace679 - Add spl_object_hash() 2006-07-09 10:22:03 +00:00
Marcus Boerger
634fd5e58d - Add new test 2006-07-08 11:43:07 +00:00
Hannes Magnusson
e18bb1ce3d Fix/add SKIPIF 2006-06-27 00:09:23 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Antony Dovgal
4ee32398b7 MFB: plug a leak 2006-06-06 20:12:46 +00:00
Marcus Boerger
6a113f3b51 - Use engine call to register interfaces (steph) 2006-06-04 10:31:58 +00:00
Sara Golemon
a8ca40564c Minor fixes (bjori) 2006-05-30 19:05:21 +00:00
Marcus Boerger
f876597452 - Fix handling of third parameter to iterator_apply()
- Add test
2006-05-26 01:40:57 +00:00
Marcus Boerger
2c096460eb - Fix type hint 2006-05-26 00:49:02 +00:00
Marcus Boerger
f0e9f6e4f9 - Add function iterator_apply() 2006-05-26 00:37:33 +00:00
Marcus Boerger
0638b7cfec - Make recursive part and identical part work correct 2006-05-25 18:15:04 +00:00
Marcus Boerger
711c43406f - Add DualIterator and RecursiveDualIterator to examples including a test 2006-05-25 17:44:59 +00:00
Antony Dovgal
a2f0632198 fix test 2006-05-24 23:05:30 +00:00
Marcus Boerger
e843518509 - More exception related issues 2006-05-21 17:36:52 +00:00
Marcus Boerger
c7bf318305 - 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 17:27:12 +00:00
Marcus Boerger
9264ec9b63 - There is a problem in the string / unicode comparison here which we
do not want to test here, so simply drop the part which is irrelevant
  to the actual test
2006-05-21 12:48:42 +00:00
Marcus Boerger
97e798257a - Remove duplicate error message and add new test 2006-05-21 12:42:00 +00:00
Marcus Boerger
a6c21ae746 - No need to fetch ce twice 2006-05-20 20:46:11 +00:00
Marcus Boerger
0a0d7b046d - Split up the test in different problem categories 2006-05-20 20:38:28 +00:00
Marcus Boerger
a677ab81f3 - Micro optimization 2006-05-20 19:47:18 +00:00
Marcus Boerger
9b314a8406 - Update test 2006-05-20 19:01:22 +00:00
Marcus Boerger
9e230861ca - No need to keep object alive, iterator api is taking care of that already 2006-05-20 18:48:43 +00:00
Marcus Boerger
05de29995f - Provide a generic c-level iterator apply function
- Base iterator_to_array() and iterator_count() on it
- Add a testcase
# Somehow there is an issue with exceptions in __destruct() here
2006-05-20 13:23:00 +00:00
Marcus Boerger
4c75c6bf29 - Add new test 2006-05-18 22:51:23 +00:00
Marcus Boerger
fae99963dc - Add new test 2006-05-18 22:41:14 +00:00
Marcus Boerger
fbb48b6f26 - Add new test 2006-05-18 21:56:57 +00:00
Marcus Boerger
4439e2c530 - Fixed CachingIterator issues with string conversion/__toString()
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:41:37 +00:00
Marcus Boerger
ac0a0664ce - Fix test in unicode mode 2006-05-18 21:40:30 +00:00
Marcus Boerger
59bf03c6a8 - Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator) 2006-05-16 08:19:56 +00:00
Antony Dovgal
d5c7ea7733 fix #37416 (iterator_to_array() hides exceptions thrown in rewind() method) 2006-05-12 09:42:19 +00:00
Marcus Boerger
7e92bac53e - s/RegExIterator/RegexIterator/ 2006-05-10 21:09:31 +00:00
Andrei Zmievski
a331a4d5f1 MFB 2006-05-10 16:51:18 +00:00
Marcus Boerger
b43ac2603b - WS 2006-05-09 22:15:16 +00:00
Frank M. Kromann
e6e2754439 Remove ZSTR() from stream macros. Calling function must apply this macro 2006-04-28 19:03:58 +00:00