ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/Changes
(Generate patch)

Comparing JSON-XS/Changes (file contents):
Revision 1.124 by root, Thu Feb 19 01:13:46 2009 UTC vs.
Revision 1.152 by root, Mon Nov 7 12:28:21 2011 UTC

1Revision history for Perl extension JSON::XS 1Revision history for Perl extension JSON::XS
2
3TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan)
4TODO: maybe avoid the reblessing and better support readonly objects.
5
6 - add bencode as to/from option in bin/json_xs.
7 - add -e option to json_xs, and none and string in/out formats.
8
92.32 Thu Aug 11 19:06:38 CEST 2011
10 - fix a bug in the initial whitespace accumulation.
11
122.31 Wed Jul 27 17:53:05 CEST 2011
13 - don't accumulate initial whitespace in the incremental buffer
14 (this can be useful to allow whitespace-keepalive on a tcp
15 connection without triggering the max_size limit).
16 - properly croak on some invalid inputs that are not strings
17 (e.g. undef) when trying to decode a json text (reported
18 and analyzed by Goro Fuji).
19
202.3 Wed Aug 18 01:26:47 CEST 2010
21 - make sure decoder doesn't change the decoding in the incremental
22 parser (testcase provided by Hendrik Schumacher).
23 - applied patch by DaTa for Data::Dumper support in json_xs.
24 - added -t dump support to json_xs, using Data::Dump.
25 - added -f eval support to json_xs.
26
272.29 Wed Mar 17 02:39:12 CET 2010
28 - fix a memory leak when callbacks set using filter_json_object
29 or filter_json_single_key_object were called (great testcase
30 by Eric Wilhelm).
31
322.28 Thu Mar 11 20:30:46 CET 2010
33 - implement our own atof function - perl's can be orders of
34 magnitudes slower than even the system one. on the positive
35 side, ours seems to be more exact in general than perl's.
36 (testcase provided by Tim Meadowcroft).
37 - clarify floating point conversion issues a bit.
38 - update jpsykes csrf article url.
39 - updated benchmark section - JSON::PP became much faster!
40
412.27 Thu Jan 7 07:35:08 CET 2010
42 - support relaxed option inside the incremental parser
43 (testcase provided by IKEGAMI via Makamaka).
44
452.26 Sat Oct 10 03:26:19 CEST 2009
46 - big integers could become truncated (based on patch
47 by Strobl Anton).
48 - output format change: indent now adds a final newline, which is
49 more expected and more true to the documentation.
50
512.25 Sat Aug 8 12:04:41 CEST 2009
52 - the perl debugger completely breaks lvalue subs - try to work
53 around the issue.
54 - ignore RMAGICAL hashes w.r.t. CANONICAL.
55 - try to work around a possible char signedness issue on aix.
56 - require common sense.
57
582.24 Sat May 30 08:25:45 CEST 2009
59 - the incremental parser did not update its parse offset
60 pointer correctly when parsing utf8-strings (nicely
61 debugged by Martin Evans).
62 - appending a non-utf8-string to the incremental parser
63 in utf8 mode failed to upgrade the string.
64 - wording of parse error messages has been improved.
65
662.232 Sun Feb 22 11:12:25 CET 2009
67 - use an exponential algorithm to extend strings, to
68 help platforms with bad or abysmal==windows memory
69 allocater performance, at the expense of some memory
70 wastage (use shrink to recover this extra memory).
71 (nicely analysed by Dmitry Karasik).
2 72
32.2311 Thu Feb 19 02:12:54 CET 2009 732.2311 Thu Feb 19 02:12:54 CET 2009
4 - add a section "JSON and ECMAscript" to explain some 74 - add a section "JSON and ECMAscript" to explain some
5 incompatibilities between the two (problem was noted by 75 incompatibilities between the two (problem was noted by
6 various people). 76 various people).
92.231 Thu Nov 20 04:59:08 CET 2008 792.231 Thu Nov 20 04:59:08 CET 2008
10 - work around 5.10.0 magic bugs where manipulating magic values 80 - work around 5.10.0 magic bugs where manipulating magic values
11 (such as $1) would permanently damage them as perl would 81 (such as $1) would permanently damage them as perl would
12 ignore the magicalness, by making a full copy of the string, 82 ignore the magicalness, by making a full copy of the string,
13 reported by Dmitry Karasik. 83 reported by Dmitry Karasik.
14 - work around spurious wanrings under older perl 5.8's. 84 - work around spurious warnings under older perl 5.8's.
15 85
162.23 Mon Sep 29 05:08:29 CEST 2008 862.23 Mon Sep 29 05:08:29 CEST 2008
17 - fix a compilation problem when perl is not using char * as, well, 87 - fix a compilation problem when perl is not using char * as, well,
18 char *. 88 char *.
19 - use PL_hexdigit in favour of rolling our own. 89 - use PL_hexdigit in favour of rolling our own.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines