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

Comparing JSON-XS/Changes (file contents):
Revision 1.120 by root, Mon Sep 29 03:09:27 2008 UTC vs.
Revision 1.154 by root, Fri Dec 21 05:16:19 2012 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.
5TODO: http://stevehanov.ca/blog/index.php?id=104 compression
6
7TODO: locale breakage introduced by 5.16 or 17.
8 - when canonicalising, only allocate up to 64 hash key
9 pointers on the stack. for larger hashes, use the heap,
10 to avoid using too much stackspace.
11
122.33 Wed Aug 1 21:03:52 CEST 2012
13 - internal encode/decode XS wrappers did not expect stack
14 moves caused by callbacks (analyzed and testcase by Jesse Luehrs).
15 - add bencode as to/from option in bin/json_xs.
16 - add -e option to json_xs, and none and string in/out formats.
17
182.32 Thu Aug 11 19:06:38 CEST 2011
19 - fix a bug in the initial whitespace accumulation.
20
212.31 Wed Jul 27 17:53:05 CEST 2011
22 - don't accumulate initial whitespace in the incremental buffer
23 (this can be useful to allow whitespace-keepalive on a tcp
24 connection without triggering the max_size limit).
25 - properly croak on some invalid inputs that are not strings
26 (e.g. undef) when trying to decode a json text (reported
27 and analyzed by Goro Fuji).
28
292.3 Wed Aug 18 01:26:47 CEST 2010
30 - make sure decoder doesn't change the decoding in the incremental
31 parser (testcase provided by Hendrik Schumacher).
32 - applied patch by DaTa for Data::Dumper support in json_xs.
33 - added -t dump support to json_xs, using Data::Dump.
34 - added -f eval support to json_xs.
35
362.29 Wed Mar 17 02:39:12 CET 2010
37 - fix a memory leak when callbacks set using filter_json_object
38 or filter_json_single_key_object were called (great testcase
39 by Eric Wilhelm).
40
412.28 Thu Mar 11 20:30:46 CET 2010
42 - implement our own atof function - perl's can be orders of
43 magnitudes slower than even the system one. on the positive
44 side, ours seems to be more exact in general than perl's.
45 (testcase provided by Tim Meadowcroft).
46 - clarify floating point conversion issues a bit.
47 - update jpsykes csrf article url.
48 - updated benchmark section - JSON::PP became much faster!
49
502.27 Thu Jan 7 07:35:08 CET 2010
51 - support relaxed option inside the incremental parser
52 (testcase provided by IKEGAMI via Makamaka).
53
542.26 Sat Oct 10 03:26:19 CEST 2009
55 - big integers could become truncated (based on patch
56 by Strobl Anton).
57 - output format change: indent now adds a final newline, which is
58 more expected and more true to the documentation.
59
602.25 Sat Aug 8 12:04:41 CEST 2009
61 - the perl debugger completely breaks lvalue subs - try to work
62 around the issue.
63 - ignore RMAGICAL hashes w.r.t. CANONICAL.
64 - try to work around a possible char signedness issue on aix.
65 - require common sense.
66
672.24 Sat May 30 08:25:45 CEST 2009
68 - the incremental parser did not update its parse offset
69 pointer correctly when parsing utf8-strings (nicely
70 debugged by Martin Evans).
71 - appending a non-utf8-string to the incremental parser
72 in utf8 mode failed to upgrade the string.
73 - wording of parse error messages has been improved.
74
752.232 Sun Feb 22 11:12:25 CET 2009
76 - use an exponential algorithm to extend strings, to
77 help platforms with bad or abysmal==windows memory
78 allocater performance, at the expense of some memory
79 wastage (use shrink to recover this extra memory).
80 (nicely analysed by Dmitry Karasik).
81
822.2311 Thu Feb 19 02:12:54 CET 2009
83 - add a section "JSON and ECMAscript" to explain some
84 incompatibilities between the two (problem was noted by
85 various people).
86 - add t/20_faihu.t.
87
882.231 Thu Nov 20 04:59:08 CET 2008
89 - work around 5.10.0 magic bugs where manipulating magic values
90 (such as $1) would permanently damage them as perl would
91 ignore the magicalness, by making a full copy of the string,
92 reported by Dmitry Karasik.
93 - work around spurious warnings under older perl 5.8's.
2 94
32.23 Mon Sep 29 05:08:29 CEST 2008 952.23 Mon Sep 29 05:08:29 CEST 2008
4 - fix a compilation problem when perl is not using char * as, well, 96 - fix a compilation problem when perl is not using char * as, well,
5 char *. 97 char *.
6 - use PL_hexdigit in favour of rolling our own. 98 - use PL_hexdigit in favour of rolling our own.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines