Commit Graph

86 Commits

Author SHA1 Message Date
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
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +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
Ilia Alshanetsky
c6ba5765be Nuke safe_mode 2006-02-19 18:19:33 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
f5318a9530 touch with re2c 0.9.11 2005-12-18 19:54:50 +00:00
foobar
3392f566c3 - Use the source file as output filename instead of stdout 2005-11-08 12:35:01 +00:00
foobar
2d9c625cf1 - Make sure the generated files have relative paths in the #line directives 2005-11-08 00:02:50 +00:00
foobar
7036ac440c touch 2005-09-05 16:20:56 +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
foobar
a66eb331f0 - Regenerated with re2c 0.9.8 2005-06-28 23:16:49 +00:00
foobar
8030941485 revert 2005-06-11 23:53:21 +00:00
foobar
467db93099 regenerated with re2c 0.9.7 2005-06-11 18:00:37 +00:00
foobar
f887ae2e80 touch 2005-06-02 05:49:56 +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
8defc849cc Touch 2005-05-31 09:41:46 +00:00
foobar
519f381fca - Regenerated with re2c 0.9.6 (fixes severe bugs) 2005-04-14 22:38:29 +00:00
Marcus Boerger
bd13b72164 - Wrong order of action - touch 2005-03-10 00:17:17 +00:00
Marcus Boerger
34c432de7e - Fix #31442 unserialize broken on 64-bit systems
- Fix one warning
2005-03-09 23:58:44 +00:00
foobar
7c1d94a702 update 2005-03-08 06:40:05 +00:00
foobar
c61608ef35 update 2005-03-01 09:26:28 +00:00
Stanislav Malyshev
634a5ec6f8 fix typo 2005-02-27 11:30:41 +00:00
foobar
129a8a7607 - Generated with re2c 0.9.4 2005-02-24 17:50:20 +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
3ab88a4718 - Disallow illegal class names (.c part) 2005-02-14 21:03:09 +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
foobar
bed68d8828 Touch the generated file. 2005-01-18 10:57:05 +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
881c2f05f5 - Earlier detection of failure (.c now) 2004-09-26 21:49:16 +00:00
Marcus Boerger
61bbeabdfa - Moe changed from .re to .c 2004-09-12 12:45:01 +00:00
Marcus Boerger
6200c9a5a1 - Remove wrong test 2004-09-12 11:51:13 +00:00
Marcus Boerger
2f5990a5c4 Touch 2004-09-05 17:44:15 +00:00
Marcus Boerger
91af7f394f - Add some checks when unserializing data to prevent buffer overflows 2004-09-05 16:29:05 +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
Marcus Boerger
141049a2e2 Touch after .c 2004-03-27 01:27:53 +00:00
Marcus Boerger
3f8a43989d Update .c output after .re 2004-03-23 22:33:29 +00:00