Commit Graph

1069 Commits

Author SHA1 Message Date
Felipe Pena
4f83f918c5 Added UEXPECT 2008-02-28 15:41:56 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Etienne Kneuss
5bc0a12d7d Fix folding 2008-02-25 23:40:47 +00:00
Etienne Kneuss
cb51a84418 SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:36:36 +00:00
Felipe Pena
e97f7311a8 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 21:51:37 +00:00
Etienne Kneuss
693b47c131 Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly 2008-02-18 23:54:45 +00:00
Marcus Boerger
c345217eab - Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:01:16 +00:00
Etienne Kneuss
781180dcd4 Provide ctod/dtor with TSRM 2008-02-11 16:38:01 +00:00
Etienne Kneuss
e370d5bccc Cosmetics, move stuff around, ws 2008-02-10 14:07:40 +00:00
Marcus Boerger
95fe32b4e6 - Really last flag change (got confused with code) 2008-02-04 21:37:43 +00:00
Marcus Boerger
cf8300a542 - Update docu 2008-02-04 20:40:29 +00:00
Marcus Boerger
f5480b2cb0 - Fix/add folding markers 2008-02-04 19:39:07 +00:00
Marcus Boerger
ee8827288f - Really fix flag handling 2008-02-04 19:33:03 +00:00
Marcus Boerger
de120f6698 - Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:02 +00:00
Marcus Boerger
223764b66d - Setting flags once is enough 2008-02-04 18:35:08 +00:00
Marcus Boerger
a78c1b4759 Fix default flag value in contructor 2008-02-04 17:18:48 +00:00
Marcus Boerger
3c7c97303d - Fix ArrayObject serializing
- Fix test expectations
2008-02-04 16:47:06 +00:00
Marcus Boerger
ea6907a055 - Fix test 2008-02-04 16:12:47 +00:00
Marcus Boerger
fac5ae96cb - Fix message 2008-02-04 15:58:12 +00:00
Felipe Pena
421295b52e Fix tests 2008-02-04 15:43:09 +00:00
Felipe Pena
ac99835507 Fix tests (new error message) 2008-02-04 15:22:08 +00:00
Felipe Pena
b315388200 Fix tests (new error message) 2008-02-04 14:02:01 +00:00
Marcus Boerger
ff88449c31 - Fix error handling 2008-02-02 23:02:16 +00:00
Marcus Boerger
b0f5c889fe - Add new classes 2008-02-02 22:56:25 +00:00
Marcus Boerger
ac11e1c12d - MFB glob handling
- Add GlobIterator and FilesystemIterator
# Commit to 5.3 for more
2008-02-02 22:53:05 +00:00
Marcus Boerger
2d4c9b291f - Show interfaces 2008-02-02 21:02:08 +00:00
Rob Richards
e2c4c7359b fix win32 build 2008-01-31 11:09:50 +00:00
Marcus Boerger
c437d4d430 - Fix test 2008-01-31 07:43:49 +00:00
Marcus Boerger
ff4634120c - MFB SplDirectoryIterator/glob:// stream integration 2008-01-30 23:49:49 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Marcus Boerger
e3492e6d01 - Make SplObjectStorage implement ArrayAccess 2008-01-28 22:43:21 +00:00
Marcus Boerger
3eadc491a2 - Test went to 5.2... somehow.... very strange 2008-01-27 18:19:45 +00:00
Marcus Boerger
77d7cbaa66 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:54 +00:00
Marcus Boerger
f1d8a5ca60 - revert over constfying 2008-01-27 15:03:55 +00:00
Etienne Kneuss
3ee8346719 Typo 2008-01-27 14:07:54 +00:00
Etienne Kneuss
dee0ae6da5 -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:54:32 +00:00
Etienne Kneuss
2b70f51668 Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 18:06:51 +00:00
Nuno Lopes
64d4e4244a MFB: const keywording 2008-01-25 20:30:36 +00:00
Etienne Kneuss
34afc9ae6e News: already in 5_3
Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:51:11 +00:00
Etienne Kneuss
85254498dc Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:54:00 +00:00
Etienne Kneuss
2049896282 Fix mem errors 2008-01-20 12:51:33 +00:00
Rob Richards
e7c59ad6d4 fix win build 2008-01-15 15:45:44 +00:00
Etienne Kneuss
4068cea252 Fix ZTS build 2008-01-15 12:17:09 +00:00
Etienne Kneuss
66ff12bfb6 Bump year 2008-01-15 09:44:01 +00:00
Etienne Kneuss
822941ee7d Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:37:50 +00:00
Marcus Boerger
507ed4a13d - Fix bug in example code found by Surf Chen 2008-01-10 10:11:21 +00:00
Ilia Alshanetsky
66b9bc29dc MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") 2008-01-02 19:19:45 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Marcus Boerger
2501e574b9 - Fix folding (again)
- Fix clone mask
2007-12-17 13:47:09 +00:00
Johannes Schlüter
0e480791cb - Fix #43611 SplObjectStorage is available since 5.1.2 2007-12-16 22:19:35 +00:00
David Coallier
4c7266904d - MFB: Bug #41528
- Added possibility to serialize and unserialize classes that extend to ArrayObject
- See ext/spl/tests/array_023.phpt and ext/spl/tests/bug41528.php for references
- Put a folding for all SPL_ARRAY_METHOD() def
2007-12-15 01:18:28 +00:00
Etienne Kneuss
d6259bc207 Fix folding 2007-12-14 22:52:53 +00:00
David Coallier
8f41f80411 - Added other test with some unicode words (Sorry if this chinese word
turns out to be offensive I have no clue what it means, just copied it)
2007-12-14 04:49:47 +00:00
David Coallier
4b5929f7bf - MFB: Merged bug41528.phpt test from 5_3
- Added a very similar test but this one just makes sure we keep
  all the properties of the class members that we just serialized
2007-12-14 04:23:09 +00:00
Jani Taskinen
4fc4814012 - Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:58:28 +00:00
Dmitry Stogov
3f247aaf10 Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead) 2007-11-20 09:51:44 +00:00
Marcus Boerger
5dfcb7dee0 - MFB Add tests 2007-11-06 15:29:32 +00:00
Jani Taskinen
74b7f1239f - nuke extra s 2007-11-02 14:04:52 +00:00
Jani Taskinen
1dfc220753 - CPP macros are supposed to start at column 1 (# at least) 2007-11-01 22:31:39 +00:00
Marcus Boerger
caa99d8436 - Missing piece 2007-10-18 05:19:13 +00:00
Marcus Boerger
a860f45d72 - Commit new tests to correct brnach (funny broken checkout) 2007-10-18 05:09:49 +00:00
Marcus Boerger
2e9b0225b8 - MFB #42654, #42704 2007-10-18 04:49:54 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
David Soria Parra
68327cba36 WS/Indent fix. 2007-10-05 09:38:54 +00:00
David Soria Parra
ab38cc8d89 - Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501. 2007-10-03 10:31:04 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
9eb9d74932 - Fixed skipif block 2007-09-20 14:27:58 +00:00
Johannes Schlüter
6eccdf9203 - Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:43:38 +00:00
Rob Richards
4d17d8c681 fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:09:52 +00:00
Antony Dovgal
c771e2bf44 fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:45 +00:00
Antony Dovgal
a63e107188 add missing skipifs 2007-07-16 13:46:38 +00:00
Dmitry Stogov
3c347a6bd9 Fixed test 2007-07-10 10:16:14 +00:00
Dmitry Stogov
0b642b977a PCRE unicode/binary support 2007-07-06 23:06:51 +00:00
Antony Dovgal
145c29a96d apply corrected fix
fix tests
2007-06-27 12:38:20 +00:00
Antony Dovgal
a77541ebc2 fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 12:17:30 +00:00
Antony Dovgal
8881105443 fix build 2007-06-05 13:51:29 +00:00
Antony Dovgal
d7f7c97e43 no readlink() on windows 2007-06-05 12:02:38 +00:00
Antony Dovgal
9c99b709a7 zend_make_printable_zval -> zend_make_string_zval 2007-05-17 17:29:09 +00:00
Marcus Boerger
0d68eebac8 -Addvert optionto RegexIterator 2007-05-11 00:14:36 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Johannes Schlüter
20582e9a3c - Add new test 2007-04-30 19:52:04 +00:00
Marcus Boerger
207e9ddb5f - Update docu 2007-04-22 17:13:40 +00:00
Dmitry Stogov
2942319547 Fixed test 2007-04-18 08:34:58 +00:00
Marcus Boerger
3649874953 - Fix #41109: recursiveiterator.inc says 'implements' Iterator instead of 'extends' 2007-04-17 06:31:19 +00:00
Dmitry Stogov
c5602be799 Usage of sizeof(void*) is not portable 2007-04-09 15:33:59 +00:00
Marcus Boerger
d7c50ff9a9 - Fix unicode issue 2007-04-06 21:15:44 +00:00
Marcus Boerger
4868360f1c - Fix unicode issue in unregister according to register solution 2007-04-06 21:07:48 +00:00
Marcus Boerger
7425d1a6fa - Fix unicode issue (our string termination test checks both ending bytes instead of just one) 2007-04-06 21:02:20 +00:00
Marcus Boerger
3c1b5421aa - Fix types 2007-04-06 19:04:53 +00:00
Marcus Boerger
236ae8c79e - MFB #40091 fix 2007-04-06 18:50:07 +00:00
Marcus Boerger
aba41d889a - Fix #40442 2007-04-06 15:32:29 +00:00
Marcus Boerger
714e95d2e8 - Drop double variable declaration 2007-03-24 16:28:45 +00:00
Marcus Boerger
a4ee3cbff7 - Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) 2007-03-20 20:21:39 +00:00
Marcus Boerger
213172a41b - Missed one is-dot check 2007-03-04 12:13:20 +00:00
Marcus Boerger
0646ecdcc8 - Match docu with implementation
- RecursiveFilterIterator::accept() needs to be abstract
2007-03-04 12:06:55 +00:00
Marcus Boerger
afe24c2722 - Simplify 2007-03-04 12:02:16 +00:00
Marcus Boerger
eefa6754e8 - And finally use prefix style names for consistency sake 2007-03-04 00:42:30 +00:00
Marcus Boerger
9ee90718e9 - Reverting glob on child logic makes globbing work better with the example
code
2007-03-04 00:36:08 +00:00
Marcus Boerger
b30dbb98fc - Fix a minor issue with glob support - forgot to set length of string
- Add ability to not use glob on subdirs
2007-03-04 00:23:07 +00:00
Marcus Boerger
b0a595d2d7 - Glob might require us to refetch the path for every entry 2007-03-03 23:41:43 +00:00
Marcus Boerger
af7829f2dc - Add DirectoryIterator::count() 2007-03-03 23:07:33 +00:00
Marcus Boerger
c80d1b184d - Add glob support for DirectoryIterator 2007-03-03 21:41:56 +00:00
Marcus Boerger
b8969e549c - SplFileInfo::getRealPath() is not always present 2007-03-03 14:51:40 +00:00
Marcus Boerger
394bd0b8d3 # This block got lost somehow 2007-03-03 14:46:44 +00:00
Marcus Boerger
0337110f19 - [DOC] Add SplInfo::getBasename(), DirectoryIterator::getBasename() 2007-03-03 14:37:17 +00:00
Marcus Boerger
0b1cac154a - Add missing access check 2007-02-26 22:46:13 +00:00
Marcus Boerger
99cd807c3e - Add SplFileInfo::getLinkTarget
- Add SplFileInfo::getRealPath
2007-02-26 22:32:57 +00:00
Marcus Boerger
1aa148e647 - Make stat based functions throw an exception 2007-02-20 13:07:53 +00:00
Marcus Boerger
9bf2f53e87 - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 20:32:39 +00:00
Marcus Boerger
32c58eb43e - Drop useless stuff 2007-02-13 00:32:20 +00:00
Marcus Boerger
7874a6280a - Add new example 2007-02-13 00:18:36 +00:00
Marcus Boerger
4824b1456c - Add include 2007-02-08 22:53:47 +00:00
Marcus Boerger
496c1db1b5 - Moving Countable from spl_array.c to spl_iterator.c
allows CachingIterator to implement Countable
2007-02-08 20:13:49 +00:00
Marcus Boerger
06b9756c67 - Add missing PHPAPI 2007-02-05 20:04:56 +00:00
Antony Dovgal
fd6d1e45f4 fix classname 2007-01-22 08:36:11 +00:00
Marcus Boerger
ab2c4ffe54 - Mode debug info 2007-01-20 16:19:20 +00:00
Marcus Boerger
512f5dafb8 - Drop left-over 2007-01-20 14:41:04 +00:00
Marcus Boerger
c6ccbf32fb - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 14:03:59 +00:00
Marcus Boerger
4c0b85ba26 - Make use of get_debug_info handler in SplObjectStorage 2007-01-19 23:23:08 +00:00
Marcus Boerger
688125c252 - Update unicode progress on SPL, looks like nearly done, actually all is
unicode safe by now but a few things need to be added and a few problems
  be clarified.
# I wonder why my keyboard has space issues...it should be out of Us by now
2007-01-19 10:19:50 +00:00
Marcus Boerger
d01145a893 - A few unicode fixes and tidying 2007-01-19 00:36:11 +00:00
Antony Dovgal
1743344cdf fix win32 build 2007-01-18 22:52:32 +00:00
Marcus Boerger
bfa86bfcde - Simplify by using zspprintf 2007-01-18 21:40:18 +00:00
Marcus Boerger
a1c0bfdb5d - Different results in unicode now 2007-01-17 22:49:39 +00:00
Marcus Boerger
6236d0f0a7 - Ensure string-type is always set correctly 2007-01-17 22:43:53 +00:00
Marcus Boerger
1d4fe8b21a - More help from David 2007-01-17 21:29:38 +00:00
Marcus Boerger
29537f3c7f - A little help from Andrei 2007-01-17 21:23:55 +00:00
Marcus Boerger
f26413f41b - Steps towards unicode 2007-01-16 23:52:14 +00:00
Marcus Boerger
f9d2b5088e - WS 2007-01-12 22:28:05 +00:00
Marcus Boerger
8117489f19 - Unicode support 2007-01-11 21:33:23 +00:00
Dmitry Stogov
e28fd01d7d Fixed tests 2007-01-10 16:00:57 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Marcus Boerger
4562ab4d4a - Make Andrei happy - spread some U's 2007-01-02 18:15:22 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Marcus Boerger
f9a45d2cdb - Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() 2006-12-31 18:20:03 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Marcus Boerger
844b3a1b86 - Fix memory allocation/deallocation to match 2006-12-22 00:57:51 +00:00
Marcus Boerger
483aae6646 - Mark a fewthings as unicode ready 2006-12-21 22:56:58 +00:00
Marcus Boerger
ba2f82f2eb - Quick hackto make tests pass
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?
2006-12-20 23:30:23 +00:00
Marcus Boerger
09bee96044 - More unicode 2006-12-20 22:11:14 +00:00
Marcus Boerger
14a81a2974 - Add unicode expectations 2006-12-20 22:08:51 +00:00
Marcus Boerger
8fb4a771bc - Fix test name 2006-12-20 22:08:35 +00:00
Marcus Boerger
39898f9f9d - Use new 'x' parameter parsing 2006-12-19 22:31:26 +00:00
Marcus Boerger
362b986352 - Make spl_autoload_call() unicode safe 2006-12-19 22:30:59 +00:00
Marcus Boerger
a0733cc2fa - More tests
- Test naming
2006-12-18 23:01:29 +00:00
Marcus Boerger
5a04fb4815 - Support members in SplObjectStorage serialization / shorter serialization 2006-12-18 22:32:10 +00:00
Marcus Boerger
e02a15a625 - Make this work in unicode mode
# Well of course i should have set the return type to ascii here :-)
2006-12-17 23:23:33 +00:00
Marcus Boerger
1b11ae1e74 - Implement feature request #39836i (SplObjectStorage empty after
unserialize)
# Unicode mode currently does not work...looks like funny changes in the
# unserializer.
2006-12-16 13:55:14 +00:00
Marcus Boerger
d17cd366e9 - Fix comparison of RecursiveDualIterators 2006-12-10 23:44:35 +00:00
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
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