Commit Graph

151 Commits

Author SHA1 Message Date
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Ilia Alshanetsky
961af05505 MFB: Optimize wddx boolean encoding 2008-01-20 15:33:42 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
Ilia Alshanetsky
59d10d5c4f MFB: Fixed bug #41527 (WDDX deserialize numeric string array key). 2007-06-11 15:10:12 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
97c8b1d13e more snprintf() 2007-01-18 16:21:00 +00:00
Ilia Alshanetsky
b9f2ed22a2 MFB: Added key_length intialization for intergers 2007-01-09 15:21:23 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
e226252ff6 fix build 2006-08-02 22:02:12 +00:00
Ilia Alshanetsky
45910673a8 MFB: Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
characters).
2006-08-02 15:45:29 +00:00
Marcus Boerger
eb0fd63012 - zend_(u_)_unmangle_property_name() has changed 2006-07-24 17:55:41 +00:00
Ilia Alshanetsky
7e2c124d14 MFB: Convert E_ERROR to E_RECOVERABLE_ERROR 2006-05-30 02:40:49 +00:00
Ilia Alshanetsky
d5efd946ae Corrected previous patch 2006-05-26 01:55:00 +00:00
Ilia Alshanetsky
ad5f0b50fa MFB: Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). 2006-05-25 23:23:15 +00:00
Marcus Boerger
40439b1670 - Bugfix 37587 2006-05-25 09:51:58 +00:00
Ilia Alshanetsky
8cfbb3ac5d MFB51: Fixed bug #37162 (wddx does not build as a shared extension). 2006-04-23 16:02:51 +00:00
Marcus Boerger
e365c4b7c4 - Fix build 2006-03-30 23:03:53 +00:00
Antony Dovgal
9fbd7efa09 fix ext/wddx build 2006-02-22 07:25:09 +00:00
Frank M. Kromann
f9484965f2 MFB51 Add header so WDDX builds as shared 2006-01-28 06:17:09 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Ilia Alshanetsky
92fd7f24a5 MFB51: Fixed bug #35410 (wddx_deserialize() doesn't handle large ints as keys
properly).
2005-11-30 18:13:17 +00:00
Rob Richards
9b912f6806 use sizeof instead of define 2005-10-06 18:47:47 +00:00
Rob Richards
67be950883 fix buffer lengths passed to snprintf 2005-10-05 22:35:11 +00:00
foobar
315cdad9b0 - Fixed bug #34306 (wddx_serialize_value() crashes with long array keys) 2005-08-31 14:30:46 +00:00
Ilia Alshanetsky
383673b508 Fixed build. 2005-08-14 20:24:34 +00:00
foobar
f73c6be9b7 - consistency fix, part 1/inf 2005-08-14 00:46:51 +00:00
Ilia Alshanetsky
46ef5b1708 Fixed bug #34068 (Numeric string as array key not cast to integer in
wddx_deserialize()).
2005-08-10 22:36:20 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Derick Rethans
3cdc895213 - Added backward compability wrapper "php_parse_date()".
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
foobar
9b57f5ff36 - Fixed bug #33185 (--enable-session=shared does not build) 2005-05-30 15:14:12 +00:00
Dmitry Stogov
37887f1bd0 Fixed SIGSEGV on serializing data with circular references 2005-04-11 11:58:19 +00:00
Dmitry Stogov
37eee73274 Support for encoding/decoding of private and protected members 2005-04-11 09:27:47 +00:00
Marcus Boerger
f3a5d430fc - Fix another memleak 2005-03-12 01:46:47 +00:00
Marcus Boerger
6c73805c45 - Fix memleak 2005-03-12 01:44:04 +00:00
Andi Gutmans
56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Ilia Alshanetsky
690ca62dd3 Do not use alloca() where it can be abused through user input. 2004-06-30 01:12:06 +00:00
Moriyoshi Koizumi
3d83a4db04 - Bugfix #27287 (wddx segfaults during deserialization) 2004-02-29 05:21:36 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
3929cf22d8 Fix compiler warnings 2003-10-20 15:41:53 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
58c25fb24a Added missing handling of dateTime
Fixed compiler warning involving streams
Added a test case for wddx_deserialize()
2003-06-28 06:55:47 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
5e0a3ed73b Make this build with libxml too. 2003-05-19 23:45:20 +00:00
Marcus Boerger
4229a483cf Really fix this 2003-05-18 23:20:10 +00:00
Wez Furlong
0ab6c816d9 Fix build 2003-05-18 23:05:38 +00:00