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

Comparing JSON-XS/Changes (file contents):
Revision 1.105 by root, Tue Mar 25 07:46:15 2008 UTC vs.
Revision 1.148 by root, Tue Mar 8 10:18:50 2011 UTC

1Revision history for Perl extension JSON::XS 1Revision history for Perl extension JSON::XS
2 2
3TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan)
4
5 - properly croak on some invalid inputs that are not strings
6 (e.g. undef) when trying to decode a json text (reported
7 and analyzed by Goro Fuji).
8
92.3 Wed Aug 18 01:26:47 CEST 2010
10 - make sure decoder doesn't change the decoding in the incremental
11 parser (testcase provided by Hendrik Schumacher).
12 - applied patch by DaTa for Data::Dumper support in json_xs.
13 - added -t dump support to json_xs, using Data::Dump.
14 - added -f eval support to json_xs.
15
162.29 Wed Mar 17 02:39:12 CET 2010
17 - fix a memory leak when callbacks set using filter_json_object
18 or filter_json_single_key_object were called (great testcase
19 by Eric Wilhelm).
20
212.28 Thu Mar 11 20:30:46 CET 2010
22 - implement our own atof function - perl's can be orders of
23 magnitudes slower than even the system one. on the positive
24 side, ours seems to be more exact in general than perl's.
25 (testcase provided by Tim Meadowcroft).
26 - clarify floating point conversion issues a bit.
27 - update jpsykes csrf article url.
28 - updated benchmark section - JSON::PP became much faster!
29
302.27 Thu Jan 7 07:35:08 CET 2010
31 - support relaxed option inside the incremental parser
32 (testcase provided by IKEGAMI via Makamaka).
33
342.26 Sat Oct 10 03:26:19 CEST 2009
35 - big integers could become truncated (based on patch
36 by Strobl Anton).
37 - output format change: indent now adds a final newline, which is
38 more expected and more true to the documentation.
39
402.25 Sat Aug 8 12:04:41 CEST 2009
41 - the perl debugger completely breaks lvalue subs - try to work
42 around the issue.
43 - ignore RMAGICAL hashes w.r.t. CANONICAL.
44 - try to work around a possible char signedness issue on aix.
45 - require common sense.
46
472.24 Sat May 30 08:25:45 CEST 2009
48 - the incremental parser did not update its parse offset
49 pointer correctly when parsing utf8-strings (nicely
50 debugged by Martin Evans).
51 - appending a non-utf8-string to the incremental parser
52 in utf8 mode failed to upgrade the string.
53 - wording of parse error messages has been improved.
54
552.232 Sun Feb 22 11:12:25 CET 2009
56 - use an exponential algorithm to extend strings, to
57 help platforms with bad or abysmal==windows memory
58 allocater performance, at the expense of some memory
59 wastage (use shrink to recover this extra memory).
60 (nicely analysed by Dmitry Karasik).
61
622.2311 Thu Feb 19 02:12:54 CET 2009
63 - add a section "JSON and ECMAscript" to explain some
64 incompatibilities between the two (problem was noted by
65 various people).
66 - add t/20_faihu.t.
67
682.231 Thu Nov 20 04:59:08 CET 2008
69 - work around 5.10.0 magic bugs where manipulating magic values
70 (such as $1) would permanently damage them as perl would
71 ignore the magicalness, by making a full copy of the string,
72 reported by Dmitry Karasik.
73 - work around spurious warnings under older perl 5.8's.
74
752.23 Mon Sep 29 05:08:29 CEST 2008
76 - fix a compilation problem when perl is not using char * as, well,
77 char *.
78 - use PL_hexdigit in favour of rolling our own.
79
802.2222 Sun Jul 20 18:49:00 CEST 2008
81 - same game again, broken 5.10 finds yet another assertion
82 failure, and the workaround causes additional runtime warnings.
83 Work around the next assertion AND the warning. 5.10 seriously
84 needs to adjust it's attitude against working code.
85
862.222 Sat Jul 19 06:15:34 CEST 2008
87 - you work around one -DDEBUGGING assertion bug in perl 5.10
88 just to hit the next one. work around this one, too.
89
902.22 Tue Jul 15 13:26:51 CEST 2008
91 - allow higher nesting levels in incremental parser.
92 - error out earlier in some cases in the incremental parser
93 (as suggested by Yuval Kogman).
94 - improve incr-parser test (Yuval Kogman).
95
962.21 Tue Jun 3 08:43:23 CEST 2008
97 - (hopefully) work around a perl 5.10 bug with -DDEBUGGING.
98 - remove the experimental status of the incremental parser interface.
99 - move =encoding around again, to avoid bugs with search.cpan.org.
100 when can we finally have utf-8 in pod???
101 - add ->incr_reset method.
102
1032.2 Wed Apr 16 20:37:25 CEST 2008
104 - lifted the log2 rounding restriction of max_depth and max_size.
105 - make booleans mutable by creating a copy instead of handing out
106 the same scalar (reported by pasha sadri).
3 - added support for incremental json parsing (still EXPERIMENTAL). 107 - added support for incremental json parsing (still EXPERIMENTAL).
4 - implemented and added a json_xs command line utility that can convert 108 - implemented and added a json_xs command line utility that can convert
5 from/to a number of serialisation formats - tell me if you need more. 109 from/to a number of serialisation formats - tell me if you need more.
110 - implement allow_unknown/get_allow_unknown methods.
111 - fixed documentation of max_depth w.r.t. higher and equal.
6 - moved down =encoding directive a bit, too much breaks if its the first 112 - moved down =encoding directive a bit, too much breaks if it's the first
7 pod directive :/. 113 pod directive :/.
114 - removed documentation section on other modules, it became somewhat
115 outdated and is nowadays mostly of historical interest.
8 116
92.1 Wed Mar 19 23:23:18 CET 2008 1172.1 Wed Mar 19 23:23:18 CET 2008
10 - update documentation here and there: add a large section 118 - update documentation here and there: add a large section
11 about utf8/latin1/ascii flags, add a security consideration 119 about utf8/latin1/ascii flags, add a security consideration
12 and extend and clarify the JSON and YAML section. 120 and extend and clarify the JSON and YAML section.
234 case the called functions do... stuff. 342 case the called functions do... stuff.
235 - croak when encoding to ascii and an out-of-range 343 - croak when encoding to ascii and an out-of-range
236 (non-unicode) codepoint is encountered. 344 (non-unicode) codepoint is encountered.
237 345
2380.2 Fri Mar 23 00:23:34 CET 2007 3460.2 Fri Mar 23 00:23:34 CET 2007
239 - the "could not sleep without debuggign release". 347 - the "could not sleep without debugging release".
240 it should basically work now, with many bugs as 348 it should basically work now, with many bugs as
241 no production tests have been run yet. 349 no production tests have been run yet.
242 - added more testcases. 350 - added more testcases.
243 - the expected shitload of bugfixes. 351 - the expected shitload of bugfixes.
244 - handle utf8 flag correctly in decode. 352 - handle utf8 flag correctly in decode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines