Commit Graph

137 Commits

Author SHA1 Message Date
Marcus Boerger
3c7c97303d - Fix ArrayObject serializing
- Fix test expectations
2008-02-04 16:47:06 +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
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
Marcus Boerger
caa99d8436 - Missing piece 2007-10-18 05:19:13 +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
Antony Dovgal
c771e2bf44 fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:45 +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
Marcus Boerger
d7c50ff9a9 - Fix unicode issue 2007-04-06 21:15:44 +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
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
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
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
Sara Golemon
631b9b016e Fix working with ArrayObjects which contain arrays. 2006-10-19 22:20:44 +00:00
Hannes Magnusson
32d1b3ad55 Remove duplicate 'wrong param count' warning 2006-10-08 10:50:19 +00:00
Nuno Lopes
70923e7011 MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) 2006-08-11 17:06:19 +00:00
Marcus Boerger
a677ab81f3 - Micro optimization 2006-05-20 19:47:18 +00:00
Antony Dovgal
7cf30db27e MF51: fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators 2006-04-07 22:53:34 +00:00
Marcus Boerger
f2004b6f28 - WS 2006-04-03 19:58:03 +00:00
Marcus Boerger
091360caa1 - Fix issue related to #36941 (when referencing itself) 2006-04-03 19:52:02 +00:00
Marcus Boerger
8e97252506 - Behavior fix for #36941 2006-04-02 15:04:04 +00:00
Marcus Boerger
ac099ca676 - Bugfix #36941 (ArrayIterator does not clone itself) 2006-04-01 22:39:42 +00:00
Antony Dovgal
1160f87d1d MF51: fix segfault when assigning value by ref and add test 2006-04-01 19:14:01 +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
Dmitry Stogov
7983262579 Fixed possible memory corruption 2006-03-23 11:42:41 +00:00
Antony Dovgal
c2e7761de4 fix leak, add test 2006-03-22 23:12:38 +00:00
Antony Dovgal
e0cd1b87a8 MFH: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
fix similar issue in offsetExists()
remove redundant semicolons
2006-03-22 21:57:10 +00:00
Marcus Boerger
aae51ab2ed - WS/CS 2006-03-04 16:45:45 +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
Marcus Boerger
887d1202f4 - No more old parameter api usage 2006-02-12 16:43:30 +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
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
Marcus Boerger
aa55f8731a - Fix ArrayIterator::seek() edge cases 2006-02-02 22:11:49 +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
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00