Commit Graph

170 Commits

Author SHA1 Message Date
Felipe Pena
2f777042a0 Fixed error message (%s -> %v) 2008-03-19 14:00:46 +00:00
Etienne Kneuss
5a10df8c56 Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:35:04 +00:00
Marcus Boerger
507ed4a13d - Fix bug in example code found by Surf Chen 2008-01-10 10:11:21 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
0b642b977a PCRE unicode/binary support 2007-07-06 23:06:51 +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
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
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
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
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +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
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
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
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
Marcus Boerger
0f92e907ce - Match code with docu 2006-07-21 21:09:49 +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
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
754a741248 - Upgrade RegexIterator capabilities, see docu 2006-07-16 20:52:20 +00:00
Antony Dovgal
4ee32398b7 MFB: plug a leak 2006-06-06 20:12:46 +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
f0e9f6e4f9 - Add function iterator_apply() 2006-05-26 00:37:33 +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
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
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
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
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
Andrei Zmievski
a331a4d5f1 MFB 2006-05-10 16:51:18 +00:00
Antony Dovgal
1262002a95 MF51:
AIX #define's accept as naccept
add a workaround
2006-04-13 13:21:59 +00:00
Antony Dovgal
6a53a49c8b MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
Marcus Boerger
31513f9a8b - Make IteratorIterator base class of most SPL iterators 2006-03-26 00:22:45 +00:00
Marcus Boerger
b2b921a10f - Fix arginfo for (Recursive)RegExIterator 2006-03-23 22:25:46 +00:00