Commit Graph

80 Commits

Author SHA1 Message Date
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Felipe Pena
b474e18f6c - Removed unused variables 2009-03-26 22:16:48 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Felipe Pena
f3d11b4415 - Fix version && year++ 2009-03-17 23:02:22 +00:00
Matt Wilmas
0c20069851 Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:02:05 +00:00
Dmitry Stogov
7c111e1e80 Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:41 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Felipe Pena
f0c4283f47 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:12:39 +00:00
Dmitry Stogov
6fc398fba9 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:45 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Nuno Lopes
b514dc1070 MFB: fix compiler warnings 2007-09-29 11:26:51 +00:00
Jani Taskinen
117ea0d3d1 ws fix 2007-08-06 18:25:41 +00:00
Jani Taskinen
6646603725 MFB: fix compile warning (+ some ws fixes) 2007-08-06 18:20:30 +00:00
Dmitry Stogov
c7b6c29857 Fixed custom unserialixe() in unicode mode 2007-07-09 15:58:52 +00:00
Dmitry Stogov
d71bcb658c Proper fix for MOPB-29 2007-07-09 14:33:37 +00:00
Dmitry Stogov
e99224ca66 Fixed deserialization of escaped strings 2007-07-09 13:43:50 +00:00
Antony Dovgal
c178da987c fix compile warning 2007-03-27 09:28:49 +00:00
Stanislav Malyshev
638a8c9e07 MFB: fix MOPB-29 - unserialize modifier S does not calculate length correctly 2007-03-23 20:34:11 +00:00
Marcus Boerger
c130110b05 - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:47:27 +00:00
Andrei Zmievski
7ccba6624d Use 'S' for escaped binary strings and 's' for non-escaped. 2006-12-14 23:41:57 +00:00
Andrei Zmievski
1f2d5e3b00 Finalize Unicode support in serialize() and unserialize(). 2006-12-01 19:25:11 +00:00
Dmitry Stogov
9d9adb2f35 Unicode support 2006-03-27 14:19:18 +00:00
Dmitry Stogov
c744d73d04 Unicode support 2006-03-27 13:37:47 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +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
foobar
80079e61a5 - Fixed bug #34311 (unserialize() crashes with characters above 191 dec) 2005-09-05 16:19:35 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Dmitry Stogov
9383e1b858 Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded) 2005-06-01 11:03:58 +00:00
foobar
b185ee0315 - Fixed bug with unserialize() with "exotic" letters in class names
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
Marcus Boerger
22fcd1aac7 - Fix #31442 unserialize broken on 64-bit systems
- Fix one warning
2005-03-10 00:10:21 +00:00
Marcus Boerger
9c08e3ccae - Update signature 2005-03-07 22:27:29 +00:00
Stefan Esser
e2f1b375a2 This way around for correct error messages 2005-02-28 16:32:49 +00:00
Stefan Esser
b7476a5bd6 Drop invalid arrays 2005-02-28 16:22:39 +00:00
Stanislav Malyshev
634a5ec6f8 fix typo 2005-02-27 11:30:41 +00:00
Stanislav Malyshev
8919a7ae08 fix typo 2005-02-24 10:58:16 +00:00
Stefan Esser
0ef1f50383 Correcting bounds check before someone uses this code 2005-02-23 18:26:39 +00:00
Stanislav Malyshev
db3fdce304 Custom object serializer infrastructure - PHP implementation
# The detailed announce on the list will follow
2005-02-23 11:17:52 +00:00
Marcus Boerger
ff8055fc5c - Disallow illegal class names 2005-02-14 20:58:22 +00:00
Ilia Alshanetsky
112eb3b35d Fix handling of INF/NAN in unserialize(). 2005-01-30 16:38:53 +00:00
Ilia Alshanetsky
4a5294788e Fixed bug #31699 (unserialize() float problem on non-English locales). 2005-01-26 16:55:17 +00:00
Stefan Esser
da7001a6c3 Fix compiler warning. 2005-01-17 11:45:09 +00:00
Stefan Esser
135fee7f10 and use it... 2005-01-15 18:30:16 +00:00
Stefan Esser
2c25b9d866 Restore unserialize() speed 2005-01-15 18:18:08 +00:00
Stefan Esser
9a18fb197d Handle already existing elements correctly 2004-12-03 16:02:48 +00:00
Stefan Esser
1094a0d243 Beware of negative indices 2004-12-01 22:42:00 +00:00
Marcus Boerger
abe47301c1 - Earlier detection of failure 2004-09-26 21:47:27 +00:00
Marcus Boerger
8564352f59 - Readd check for nested data (but correct this time) 2004-09-12 12:43:05 +00:00
Marcus Boerger
06ade1ab1c - Check for legal key types 2004-09-12 12:23:16 +00:00