summaryrefslogtreecommitdiff
path: root/converters/p5-JSON
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24Updated from version 2.12nb1 to 2.14he2-7/+6
Upstream changes: 2.14 Tue Feb 24 11:20:24 2009 [JSON] - the compatible XS version was miswritten in document. 2.13 Sat Feb 21 17:01:05 2009 [JSON::PP] - decode() didn't upgrade unicode escaped charcters \u0080-\u00ff. this problem was pointed by rt#43424 (Mika Raento) [JSON::PP::56] - fixed utf8::encode/decode emulators bugs. - defined a missing B module constant in Perl 5.6.0. (reported by Clinton Pierce) [JSON::PP::5005] - _decode_unicode() returned a 0x80-0xff value as UTF8 encoded byte. [JSON] - added a refference to JSON::XS's document "JSON and ECMAscript". - fixed a typo in the document (pointed by Jim Cromie).
2008-12-22Drop maintainershop.obache1-2/+2
I'm not using this package, will do better to be maintained same as other perl modules.
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-08-12Update p5-JSON to 2.12.obache2-7/+7
2.12 Wed Jul 16 11:14:35 2008 [JSON] - made compatible with JSON::XS 2.22 [JSON::PP] - fixed the incremental parser in negative nest level (pointed and patched by Yuval Kogman) 2.11 Tue Jun 17 14:30:01 2008 [JSON::PP] - fixed the decoding process which checks number. regarded number like chars in Unicode (ex. U+FF11) as [\d]. - enhanced error messages compatible to JSON::XS.
2008-06-04Update p5-JSON to 2.10.obache2-6/+6
2.10 Tue Jun 3 18:42:11 2008 [JSON] - made compatible with JSON::XS 2.21 * updated the document. - added an item pointed by rt#32361 to the doc. [JSON::PP] [JSON::PP58] [JSON::PP56] [JSON::PP5005] - made compatible with JSON::XS 2.21 * added incr_reset - removed useless codes. 2.09 Sun Apr 20 20:45:33 2008 [JSON] - made compatible with JSON::XS 2.2 - changed pod section totally. [JSON::PP] 2.20001 - made compatible witg JSON::XS 2.2 * lifted the log2 rounding restriction of max_depth and max_size. * incremental json parsing (EXPERIMENTAL). * allow_unknown/get_allow_unknown methods. - the version format was changed. X.YYZZZ => X.YY is the same as JSON::XS. ZZZ is the PP own version. - changed pod section totally. 2.08 Sat Apr 12 22:49:39 2008 [JSON] - fixed JSON::Boolean inheritance mechanism. If the backend is XS with support_by_pp mode and using PP only support method, JSON::Boolean did not work correctly. Thanks to hg[at]apteryx's point. [JSON::PP] 2.07 - Now split into JSON::PP58 for Perl 5.8 and lator. - made an error message compatible to JSON::XS did not croak when TO_JSON method returns same object as passed. [JSON::PP58] - modified for Perls post 5.8.0 that don't have utf8::is_utf8. Thanks to Andreas Koenig. 2.07 Sat Feb 16 15:52:29 2008 [JSON] - experimentally added -convert_blessed_universally to define UNIVERSAL::TO_JSON subroutine. use JSON -convert_blessed_universally; $json->convert_blessed->encode( $blessed ); - and as_nonbleesed is obsoleted (not yet removed). OK? - fixed t/04_pretty.t.
2008-02-13Update p5-JSON to 2.06.obache2-6/+8
This version is DESTDIR ready. 2.06 Fri Feb 8 16:21:59 2008 [JSON::PP] 2.06 - enhanced the XS compatibility for pretty-printing and the indent handling was broken! 2.05 Tue Feb 5 13:57:19 2008 [JSON::PP] 2.05 - enhanced some XS compatibilities for de/encode. - now decode_error can dump high (>127) chars. - enhanced the XS combatilbity of the decoding error. - fixed the utf8 checker while decoding (is_valid_utf8). - implemented utf8::downgrade in JSON::PP56. - enhanced utf8::encode in JSON::PP56. - made utf8::downgrade return a true in JSON::PP5005. 2.04 Sat Jan 5 16:10:01 2008 [JSON] - fixed a document typo pointed by kawasaki@annocpan - make DATA handle closed for error mssages in support_by_pp mode. - switched JSON::Backend::XS::Supportable wrapper de/encode to changing symbolic tables for croak messages and speed. - fixed support_by_pp setting [JSON::PP] 2.04 - enhanced the error message compatiblity to XS.
2008-01-05Update p5-JSON to 2.03.obache2-7/+7
Changes: ## JSON version 2.00 ##################################################### In this version, JSON was totally rewritten. * JSON becomes a wrapper to JSON::XS or JSON::PP! * objToJson() and jsonToObj() are obsoleted! * $JSON::* variables are no longer available! * JSON::Parser and JSON::Converter are deleted from the distribution! * JSONRPC* and Apache::JSONRPC are deleted from the distribution! Please check JSON::RPC (supports JSON-RPC protocol v1.1 and 1.0). ########################################################################## 2.03 Fri Jan 4 14:10:58 2008 [JSON] - fixed the description - Transition ways from 1.xx to 2.xx. $JSON::ConvBlessed compat => $json->allow_blessed->as_nonbleesed - support_by_pp supports 'as_nonbleesed' (experimental) - clean up the code for saving memory [JSON::PP] 2.03 - Now the allo_bignum flag also affects the encoding process. encode() can convert Math::BigInt/Float objects into JSON numbers - added as_nonblessed option (experimental) - cleaned up internal function names (renamed camel case names) 2.02 Wed Dec 26 11:08:19 2007 [JSON] - Now support_by_pp allows to use indent_length() [JSON::PP] 2.02 - added get_indent_length 2.01 Thu Dec 20 11:30:59 2007 [JSON] - made the object methods - jsonToObj and objToJson available for a while with warnings. 2.00 Wed Dec 19 11:48:04 2007 [JSON] - new version! - modified Makefile.PL for broken Perls (when PERL_DL_NONLAZY = 1). [JSON::PP] 2.0104 - clean up the document. - use 'subs' instead of CORE::GLOBAL for fixing join() in 5.8.0 - 5.8.2 - enhanced decoding error messages for JSON::XS compatibility. - jsonToObj and objToJson warn. 1.99_05 Fri Dec 14 18:30:43 2007 [JSON] - added a description about the Unicode handling to document. [JSON::PP] (2.0103) - Now the JSON::PP56 unicode handling does not require Unicode::String. - Now JSON::PP5005 can de/enocde properly within the Perl 5.005 world. - decode() always utf8::decode()ed to strings. - decode() returned a big integer as string though the integer is smaller than it is so. - a bad know how - added the join() wrapper for Perl 5.8.0 - 5.8.2 bug. - JSON::PP56 encode() did not handle Unicode properly. - added a section about the unicode handling on Perls to JSON::PP doc. 1.99_04 Mon Dec 10 14:28:15 2007 [JSON] - modified the tests and source for Perl 5.005 [JSON::PP] (2.0102) - modified some prototypes in JSON::PP5005. 1.99_03 Mon Dec 10 11:43:02 2007 [JSON] - modified tests and document. in Perl5.8.2 or earlier, decoding with utf8 is broken because of a Perl side problem. (join() had a bug.) - modified Makefile.PL for Perl 5.005. in the version, 'require JSON' is fail.... [JSON::PP] (2.0102) - modified string decode function. - enhanced error messages for compatibility to JSON::XS. - enhanced utf8::decode emulator and unpack emulator in JSON::PP56. 1.99_02 Sun Dec 9 05:06:19 2007 [JSON::PP] (2.0101) - decoding with utf8 was broken in Perl 5.10 as the behaviour of unpack was changed. - added a fake in JSON::PP5005 (bytes.pm) - added the missing file JONS::PP::Boolean.pm 1.99_01 Sat Dec 8 12:01:43 2007 [JSON] - released as version 2.0 this module is incompatible to 1.xx, so check the document. [JSON::PP] (2.01 from 0.97) - updated JSON::PP for compatible to JSON::XS 2.01 - renamed from_json and to_json to decode_json and encode_json - added get_* to JSON::PP - deleted property() from JSON::PP - deleted strict() and added loose() - deleted disable_UTF8() and self_encode() - renamed singlequote to allow_singlequote - renamed allow_bigint to allow_bignum - max_depth and max_size round up their arguments. - added indent_length and sort_by
2007-12-03Update p5-JSON to 1.15.obache2-6/+6
1.15 Wed Nov 14 14:52:31 2007 [JSON] - modified a bug (rt#28434: UTF-8 handling severly broken) but recommend to use JSON::PP instead of JSON (with JSON::Converter) as JSON::Converter's utf8 handling is incomplete. - fixed rt#29139 (unary boolean negation generates) objToJson([!1]) => [""] objToJson([!!1]) => ["1"] - fixed doc (rt#21038: QuotApos documentation is flawed) [JSON::PP] - updated JSON::PP for compatible to JSON::XS 1.52 adding max_size, relaxed, allow_blessed, convert_blessed, filter_json_object, filter_json_single_key_object - modified a JSON::PP bug (rt#29988 JSON::PP recursion depth bug) - Now JSON::PP's max_depth default value is 512. - Now JSON::PP mapping policy is compatible to JSON::XS - JSON:PP's allow_tie is obsoleted.
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2007-09-12Update p5-JSON to 1.14.obache2-6/+6
1.14 Thu May 10 15:32:18 2007 - added 'TRANSITION PLAN' - updated JSON::PP (latin1 and decode_prefix are added for JSON::XS comatible) 1.13 Sun May 6 14:03:31 2007 - fixed round-trip handling for Perl5.9.4 (Thanks to andreas.koenig and Nicholas Clark) - added overload operator 'eq', 'ne', '==' and '!=' for JSON::NotString (JSON::Literal for JSON::PP) (rt#26923 by Ryan M 1.12 Thu May 3 18:32:28 2007 - fixed loose quoting bug in JSON::Parser. (Thanks to Allen Day and his - fixed round-trip problem (pointed by Marc Lehmann's JSON::XS) (However, only in the case of non autoconv mode) - updated JSON::PP now can be used in Perl 5.8, 5.6, 5.005 (There is functional restric added allow_bigint (Thanks to Adam Sussman's patch) added self_encode, singlequote, allow_barekey
2007-04-30Import p5-JSON version 1.11.obache4-0/+26
This module converts between JSON (JavaScript Object Notation) and Perl data structure into each other. For JSON, See to http://www.JSON.org/. JSON-RPC http://json-rpc.org/