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
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
c7adc4a54e
- Make the ctor static and not inline
2006-03-04 17:01:16 +00:00
Marcus Boerger
ce20de5e46
- Fix issue with LimitIterator and bounds checking
2006-03-03 23:34:49 +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
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
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Antony Dovgal
96543b01ad
initialize variables and reduce the number of warnings
2006-02-06 11:28:20 +00:00
Marcus Boerger
c67d8b2152
- Iterator API was changed
2006-02-05 23:31:47 +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
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
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
320b5ce461
MFB: more SPL leak fixes
2005-12-20 12:41:38 +00:00
Marcus Boerger
1a7b411f9a
- MFH IteratorIterator::__construct() fixes
2005-12-19 00:55:40 +00:00