commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2020-10-28 12:10:01 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.3463 (New) Package is "perl-JSON-XS" Wed Oct 28 12:10:01 2020 rev:24 rq:844527 version:4.03 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2019-03-10 09:33:03.316209942 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.3463/perl-JSON-XS.changes 2020-10-28 12:10:07.693424777 +0100 @@ -1,0 +2,8 @@ +Wed Oct 28 03:07:22 UTC 2020 - Tina Müller + +- updated to 4.03 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + TODO: replace bool_stash by BOOL_STASH seems to work with mod_perl, make a compile time option? + +--- Old: JSON-XS-4.02.tar.gz New: JSON-XS-4.03.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.TwBT6B/_old 2020-10-28 12:10:08.633425544 +0100 +++ /var/tmp/diff_new_pack.TwBT6B/_new 2020-10-28 12:10:08.633425544 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,14 @@ Name: perl-JSON-XS -Version:4.02 +Version:4.03 Release:0 %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast License:Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url:https://metacpan.org/release/%{cpan_name} -#Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-4.01.tar.gz -Source0:JSON-XS-4.02.tar.gz +URL:https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -47,7 +46,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++ JSON-XS-4.02.tar.gz -> JSON-XS-4.03.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.02/Changes new/JSON-XS-4.03/Changes --- old/JSON-XS-4.02/Changes2019-03-06 08:31:29.0 +0100 +++ new/JSON-XS-4.03/Changes2020-10-27 19:05:18.0 +0100 @@ -5,10 +5,16 @@ TODO: how to cope with tagged values and standard json decoders TODO: investigate magic (Eric Brine) TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions +TODO: replace bool_stash by BOOL_STASH seems to work with mod_perl, make a compile time option? + +4.03 Tue Oct 27 19:05:01 CET 2020 + - when parsing comments in relaxed mode, JSON::XS would detect garbage + after the JSON text if the comment is after the end and does not end in + a newline (reported by Felipe Gasper). 4.02 Wed Mar 6 08:31:24 CET 2019 - undo the fix from 4.01, it breaks more things than it fixes - (another tetscase by Wesley Schwengle). + (another testcase by Wesley Schwengle). - try a proper fix this time. 4.01 Sun Feb 24 05:03:30 CET 2019 @@ -17,7 +23,7 @@ 4.0 Fri Nov 16 00:06:54 CET 2018 - SECURITY IMPLICATION: this release enables allow_nonref by default - for compatibnility with RFC 7159 and newer. See "old" vs. "new" + for compatibility with RFC 7159 and newer. See "old" vs. "new" JSON under SECURITY CONSIDERATIONS. - reworked the "old" vs. "new" JSON section. - add ->boolean_values to provide the values to which booleans diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.02/META.json new/JSON-XS-4.03/META.json --- old/JSON-XS-4.02/META.json 2019-03-06 08:31:55.0 +0100 +++ new/JSON-XS-4.03/META.json 2020-10-27 19:05:48.0 +0100 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150001", "license" : [ "unknown"
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2019-03-10 09:32:54 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833 (New) Package is "perl-JSON-XS" Sun Mar 10 09:32:54 2019 rev:23 rq:682373 version:4.02 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2019-03-04 09:23:04.284571871 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833/perl-JSON-XS.changes 2019-03-10 09:33:03.316209942 +0100 @@ -1,0 +2,11 @@ +Thu Mar 7 06:15:20 UTC 2019 - Stephan Kulow + +- updated to 4.02 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + 4.02 Wed Mar 6 08:31:24 CET 2019 + - undo the fix from 4.01, it breaks more things than it fixes +(another tetscase by Wesley Schwengle). + - try a proper fix this time. + +--- Old: JSON-XS-4.01.tar.gz New: JSON-XS-4.02.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.79SF2S/_old 2019-03-10 09:33:03.832209813 +0100 +++ /var/tmp/diff_new_pack.79SF2S/_new 2019-03-10 09:33:03.832209813 +0100 @@ -17,14 +17,15 @@ Name: perl-JSON-XS -Version:4.01 +Version:4.02 Release:0 %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast License:Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url:https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +#Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-4.01.tar.gz +Source0:JSON-XS-4.02.tar.gz Source1:cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl ++ JSON-XS-4.01.tar.gz -> JSON-XS-4.02.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.01/Changes new/JSON-XS-4.02/Changes --- old/JSON-XS-4.01/Changes2019-02-24 05:03:35.0 +0100 +++ new/JSON-XS-4.02/Changes2019-03-06 08:31:29.0 +0100 @@ -6,9 +6,14 @@ TODO: investigate magic (Eric Brine) TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions +4.02 Wed Mar 6 08:31:24 CET 2019 + - undo the fix from 4.01, it breaks more things than it fixes + (another tetscase by Wesley Schwengle). +- try a proper fix this time. + 4.01 Sun Feb 24 05:03:30 CET 2019 - fix some stack corruption caused mostly when calling methods - in list context (tewstcase by Wesley Schwengle). + in list context (testcase by Wesley Schwengle). 4.0 Fri Nov 16 00:06:54 CET 2018 - SECURITY IMPLICATION: this release enables allow_nonref by default diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.01/META.json new/JSON-XS-4.02/META.json --- old/JSON-XS-4.01/META.json 2019-02-24 05:08:10.0 +0100 +++ new/JSON-XS-4.02/META.json 2019-03-06 08:31:55.0 +0100 @@ -39,6 +39,6 @@ } }, "release_status" : "stable", - "version" : "4.01", + "version" : "4.02", "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.01/META.yml new/JSON-XS-4.02/META.yml --- old/JSON-XS-4.01/META.yml 2019-02-24 05:08:10.0 +0100 +++ new/JSON-XS-4.02/META.yml 2019-03-06 08:31:55.0 +0100 @@ -21,5 +21,5 @@ requires: Types::Serialiser: '0' common::sense: '0' -version: '4.01' +version: '4.02' x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.01/XS.pm new/JSON-XS-4.02/XS.pm --- old/JSON-XS-4.01/XS.pm 2019-02-24 05:03:43.0 +0100 +++ new/JSON-XS-4.02/XS.pm 2019-03-06 08:31:38.0 +0100 @@ -89,7 +89,7 @@ use common::sense; -our $VERSION = '4.01'; +our $VERSION = '4.02'; our @ISA = qw(Exporter); our @EXPORT = qw(encode_json decode_json); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.01/XS.xs new/JSON-XS-4.02/XS.xs --- old/JSON-XS-4.01/XS.xs 2019-02-24 05:01:16.0 +0100 +++ new/JSON-XS-4.02/XS.xs 2019-03-06 08:29:47.0 +0100 @@ -828,6 +828,8 @@ SP -= count; } + PUTBACK; + encode_ch (enc, ']'); FREETMPS; LEAVE; @@ -1535,13 +1537,17 @
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2019-03-04 09:22:59 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833 (New) Package is "perl-JSON-XS" Mon Mar 4 09:22:59 2019 rev:22 rq:680855 version:4.01 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2018-12-12 17:27:15.414970329 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833/perl-JSON-XS.changes 2019-03-04 09:23:04.284571871 +0100 @@ -1,0 +2,10 @@ +Sat Mar 2 15:13:04 UTC 2019 - Stephan Kulow + +- updated to 4.01 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + 4.01 Sun Feb 24 05:03:30 CET 2019 + - fix some stack corruption caused mostly when calling methods +in list context (tewstcase by Wesley Schwengle). + +--- Old: JSON-XS-4.0.tar.gz New: JSON-XS-4.01.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.fScfB0/_old 2019-03-04 09:23:05.320571685 +0100 +++ /var/tmp/diff_new_pack.fScfB0/_new 2019-03-04 09:23:05.320571685 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-JSON-XS -Version:4.0 +Version:4.01 Release:0 %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast ++ JSON-XS-4.0.tar.gz -> JSON-XS-4.01.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.0/Changes new/JSON-XS-4.01/Changes --- old/JSON-XS-4.0/Changes 2018-11-19 11:26:51.0 +0100 +++ new/JSON-XS-4.01/Changes2019-02-24 05:03:35.0 +0100 @@ -6,8 +6,11 @@ TODO: investigate magic (Eric Brine) TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions +4.01 Sun Feb 24 05:03:30 CET 2019 + - fix some stack corruption caused mostly when calling methods + in list context (tewstcase by Wesley Schwengle). + 4.0 Fri Nov 16 00:06:54 CET 2018 - - 4.0 pre-release, do not use other than for testing. - SECURITY IMPLICATION: this release enables allow_nonref by default for compatibnility with RFC 7159 and newer. See "old" vs. "new" JSON under SECURITY CONSIDERATIONS. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.0/META.json new/JSON-XS-4.01/META.json --- old/JSON-XS-4.0/META.json 2018-11-19 11:27:09.0 +0100 +++ new/JSON-XS-4.01/META.json 2019-02-24 05:08:10.0 +0100 @@ -39,6 +39,6 @@ } }, "release_status" : "stable", - "version" : "4.0", + "version" : "4.01", "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.0/META.yml new/JSON-XS-4.01/META.yml --- old/JSON-XS-4.0/META.yml2018-11-19 11:27:09.0 +0100 +++ new/JSON-XS-4.01/META.yml 2019-02-24 05:08:10.0 +0100 @@ -21,5 +21,5 @@ requires: Types::Serialiser: '0' common::sense: '0' -version: '4.0' +version: '4.01' x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.0/XS.pm new/JSON-XS-4.01/XS.pm --- old/JSON-XS-4.0/XS.pm 2018-11-19 11:26:55.0 +0100 +++ new/JSON-XS-4.01/XS.pm 2019-02-24 05:03:43.0 +0100 @@ -89,7 +89,7 @@ use common::sense; -our $VERSION = '4.0'; +our $VERSION = '4.01'; our @ISA = qw(Exporter); our @EXPORT = qw(encode_json decode_json); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-4.0/XS.xs new/JSON-XS-4.01/XS.xs --- old/JSON-XS-4.0/XS.xs 2018-11-15 23:20:25.0 +0100 +++ new/JSON-XS-4.01/XS.xs 2019-02-24 05:01:16.0 +0100 @@ -1506,7 +1506,7 @@ sv = newRV_noinc ((SV *)hv); // check filter callbacks - if (dec->json.flags & F_HOOK) + if (expect_false (dec->json.flags & F_HOOK)) { if (dec->json.cb_sk_object && HvKEYS (hv) == 1) { @@ -1558,15 +1558,12 @@ PUTBACK; count = call_sv (dec->json.cb_object, G_ARRAY); SPAGAIN; if (count == 1) -{ - sv = newSVsv (POPs); - FREETMPS; LEA
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2018-12-12 17:27:12 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833 (New) Package is "perl-JSON-XS" Wed Dec 12 17:27:12 2018 rev:21 rq:655789 version:4.0 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2017-09-04 12:36:37.676933521 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.28833/perl-JSON-XS.changes 2018-12-12 17:27:15.414970329 +0100 @@ -1,0 +2,6 @@ +Thu Dec 6 15:47:56 UTC 2018 - Stephan Kulow + +- updated to 4.0 + see /usr/share/doc/packages/perl-JSON-XS/Changes + +--- Old: JSON-XS-3.04.tar.gz New: JSON-XS-4.0.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.0LjaqV/_old 2018-12-12 17:27:16.050969521 +0100 +++ /var/tmp/diff_new_pack.0LjaqV/_new 2018-12-12 17:27:16.050969521 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-JSON-XS -Version:3.04 +Version:4.0 Release:0 -#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast -License:Artistic-1.0 or GPL-1.0+ +License:Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url:http://search.cpan.org/dist/JSON-XS/ +Url:https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,20 +41,6 @@ primary goal is to be _correct_ and its secondary goal is to be _fast_. To reach the latter goal it was written in C. -Beginning with version 2.0 of the JSON module, when both JSON and JSON::XS -are installed, then JSON will fall back on JSON::XS (this can be -overridden) with no overhead due to emulation (by inheriting constructor -and methods). If JSON::XS is not available, it will fall back to the -compatible JSON::PP module as backend, so using JSON instead of JSON::XS -gives you a portable JSON API that can be fast when you need it and doesn't -require a C compiler when that is a problem. - -As this is the n-th-something JSON module on CPAN, what was the reason to -write yet another JSON module? While it seems there are many JSON modules, -none of them correctly handle all corner cases, and in most cases their -maintainers are unresponsive, gone missing, or not listening to bug reports -for other reasons. - See MAPPING, below, on how JSON::XS maps perl values to JSON values and vice versa. @@ -64,11 +49,11 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++ JSON-XS-3.04.tar.gz -> JSON-XS-4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.04/Changes new/JSON-XS-4.0/Changes --- old/JSON-XS-3.04/Changes2017-08-17 04:31:27.0 +0200 +++ new/JSON-XS-4.0/Changes 2018-11-19 11:26:51.0 +0100 @@ -1,13 +1,27 @@ Revision history for Perl extension JSON::XS -TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan) +TODO: maybe detect and croak on more invalid inputs (e.g. +-inf/nan) TODO: maybe avoid the reblessing and better support readonly objects. -TODO: http://stevehanov.ca/blog/index.php?id=104 compression TODO: how to cope with tagged values and standard json decoders TODO: investigate magic (Eric Brine) -TODO: rfc7464 -TODO: Victor Efimov -TODO: move json_xs to types::serialiser +TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions + +4.0 Fri Nov 16 00:06:54 CET 2018 + - 4.0 pre-release, do not use other than for testing. + - SECURITY IMPLICAT
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2017-09-04 12:36:33 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS" Mon Sep 4 12:36:33 2017 rev:20 rq:520423 version:3.04 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2016-11-18 22:02:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2017-09-04 12:36:37.676933521 +0200 @@ -1,0 +2,19 @@ +Fri Aug 18 05:38:04 UTC 2017 - co...@suse.com + +- updated to 3.04 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + TODO: move json_xs to types::serialiser + + 3.04 Thu Aug 17 04:30:47 CEST 2017 + - change exponential realloc algorithm on encoding and string decoding to be +really exponential (this helps slow/debugging allocators such as libumem) +(reported by Matthew Horsfall). + - string encoding would needlessly overallocate output space +(testcase by Matthew Horsfall). + - be very paranoid about extending buffer lengths and croak if buffers get too large, +which might (or might not) improve security. + - add cbor-packed type to json_xs. + - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated. + +--- Old: JSON-XS-3.03.tar.gz New: JSON-XS-3.04.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.WiLovY/_old 2017-09-04 12:36:39.140727578 +0200 +++ /var/tmp/diff_new_pack.WiLovY/_new 2017-09-04 12:36:39.152725890 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-JSON-XS -Version:3.03 +Version:3.04 Release:0 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name JSON-XS @@ -25,7 +25,7 @@ License:Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/JSON-XS/ -Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -47,7 +47,7 @@ overridden) with no overhead due to emulation (by inheriting constructor and methods). If JSON::XS is not available, it will fall back to the compatible JSON::PP module as backend, so using JSON instead of JSON::XS -gives you a portable JSON API that can be fast when you need and doesn't +gives you a portable JSON API that can be fast when you need it and doesn't require a C compiler when that is a problem. As this is the n-th-something JSON module on CPAN, what was the reason to @@ -77,6 +77,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes COPYING README +%doc Changes README +%license COPYING %changelog ++ JSON-XS-3.03.tar.gz -> JSON-XS-3.04.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/Changes new/JSON-XS-3.04/Changes --- old/JSON-XS-3.03/Changes2016-11-16 20:21:23.0 +0100 +++ new/JSON-XS-3.04/Changes2017-08-17 04:31:27.0 +0200 @@ -7,6 +7,18 @@ TODO: investigate magic (Eric Brine) TODO: rfc7464 TODO: Victor Efimov +TODO: move json_xs to types::serialiser + +3.04 Thu Aug 17 04:30:47 CEST 2017 + - change exponential realloc algorithm on encoding and string decoding to be + really exponential (this helps slow/debugging allocators such as libumem) + (reported by Matthew Horsfall). +- string encoding would needlessly overallocate output space + (testcase by Matthew Horsfall). +- be very paranoid about extending buffer lengths and croak if buffers get too large, + which might (or might not) improve security. + - add cbor-packed type to json_xs. +- switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated. 3.03 Wed Nov 16 20:20:59 CET 2016 - fix a bug introduced by a perl bug workaround that would cause diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/META.json new/JSON-XS-3
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2016-11-18 22:02:55 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS" Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2016-04-28 16:53:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2016-11-18 22:02:56.0 +0100 @@ -1,0 +2,15 @@ +Thu Nov 17 06:37:58 UTC 2016 - co...@suse.com + +- updated to 3.03 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + TODO: rfc7464 + TODO: Victor Efimov + + 3.03 Wed Nov 16 20:20:59 CET 2016 + - fix a bug introduced by a perl bug workaround that would cause +incremental parsing to fail with a sv_chop panic. + - json_xs: toformat failure error message fixed. + - json_xs: allow cyclic data structures in CBOR. + +--- Old: JSON-XS-3.02.tar.gz New: JSON-XS-3.03.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.A7o56n/_old 2016-11-18 22:02:57.0 +0100 +++ /var/tmp/diff_new_pack.A7o56n/_new 2016-11-18 22:02:57.0 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-XS -Version:3.02 +Version:3.03 Release:0 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name JSON-XS ++ JSON-XS-3.02.tar.gz -> JSON-XS-3.03.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.02/Changes new/JSON-XS-3.03/Changes --- old/JSON-XS-3.02/Changes2016-02-26 22:46:02.0 +0100 +++ new/JSON-XS-3.03/Changes2016-11-16 20:21:23.0 +0100 @@ -5,6 +5,14 @@ TODO: http://stevehanov.ca/blog/index.php?id=104 compression TODO: how to cope with tagged values and standard json decoders TODO: investigate magic (Eric Brine) +TODO: rfc7464 +TODO: Victor Efimov + +3.03 Wed Nov 16 20:20:59 CET 2016 + - fix a bug introduced by a perl bug workaround that would cause + incremental parsing to fail with a sv_chop panic. + - json_xs: toformat failure error message fixed. +- json_xs: allow cyclic data structures in CBOR. 3.02 Fri Feb 26 22:45:20 CET 2016 - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.02/META.json new/JSON-XS-3.03/META.json --- old/JSON-XS-3.02/META.json 2016-02-26 22:46:28.0 +0100 +++ new/JSON-XS-3.03/META.json 2016-11-16 20:21:42.0 +0100 @@ -39,5 +39,5 @@ } }, "release_status" : "stable", - "version" : 3.02 + "version" : 3.03 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.02/META.yml new/JSON-XS-3.03/META.yml --- old/JSON-XS-3.02/META.yml 2016-02-26 22:46:28.0 +0100 +++ new/JSON-XS-3.03/META.yml 2016-11-16 20:21:42.0 +0100 @@ -21,4 +21,4 @@ requires: Types::Serialiser: '0' common::sense: '0' -version: 3.02 +version: 3.03 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.02/README new/JSON-XS-3.03/README --- old/JSON-XS-3.02/README 2016-02-26 22:46:28.0 +0100 +++ new/JSON-XS-3.03/README 2016-11-16 20:21:43.0 +0100 @@ -678,10 +678,10 @@ And finally, in list context, it will try to extract as many objects from the stream as it can find and return them, or the empty list -otherwise. For this to work, there must be no separators between the -JSON objects or arrays, instead they must be concatenated -back-to-back. If an error occurs, an exception will be raised as in -the scalar context case. Note that in this case, any +otherwise. For this to work, there must be no separators (other than +whitespace) between the JSON objects or arrays, instead they must be +concatenated back-to-back. If an error occurs, an exception will be +raised as in the scalar context case. Note that in this case, any previously-parsed JSON texts will be lost. Example: Parse some JSON arrays/objects in a given string and return @@ -699,6 +699,10 @@ exception, you can also call this method before having parsed anything. +That means you can only use this function to look at or manipulate +text before or after complete JSON objects, not while the parser is +in the middle of parsing a JSON object. + This function is
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2016-04-28 16:52:52 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS" Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2013-12-06 14:43:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2016-04-28 16:53:02.0 +0200 @@ -1,0 +2,9 @@ +Fri Mar 11 10:17:07 UTC 2016 - co...@suse.com + +- updated to 3.02 + see /usr/share/doc/packages/perl-JSON-XS/Changes + + TODO: how to cope with tagged values and standard json decoders + TODO: investigate magic (Eric Brine) + +--- Old: JSON-XS-3.01.tar.gz New: JSON-XS-3.02.tar.gz cpanspec.yml Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.ayiiEl/_old 2016-04-28 16:53:03.0 +0200 +++ /var/tmp/diff_new_pack.ayiiEl/_new 2016-04-28 16:53:03.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,22 @@ Name: perl-JSON-XS -Version:3.01 +Version:3.02 Release:0 +#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast -License:GPL-1.0+ or Artistic-1.0 +License:Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/JSON-XS/ -Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source1:cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Canary::Stability) BuildRequires: perl(Types::Serialiser) BuildRequires: perl(common::sense) -#BuildRequires: perl(JSON::XS) Requires: perl(Types::Serialiser) Requires: perl(common::sense) %{perl_requires} @@ -59,7 +61,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++ JSON-XS-3.01.tar.gz -> JSON-XS-3.02.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.01/Changes new/JSON-XS-3.02/Changes --- old/JSON-XS-3.01/Changes2013-10-29 16:55:22.0 +0100 +++ new/JSON-XS-3.02/Changes2016-02-26 22:46:02.0 +0100 @@ -3,6 +3,20 @@ TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan) TODO: maybe avoid the reblessing and better support readonly objects. TODO: http://stevehanov.ca/blog/index.php?id=104 compression +TODO: how to cope with tagged values and standard json decoders +TODO: investigate magic (Eric Brine) + +3.02 Fri Feb 26 22:45:20 CET 2016 + - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) + as well (reported by Alex Efros). + - allow literal tabs in strings in relaxed mode (patch by + lubo.rin...@gooddata.com). + - support "cbor" format in json_xs tool. + - support (and fix) calling encode and decode in list context + (reported by Вадим Власов). +- work around a bug in older perls crashing when presented + with shared hash keys (Reini Urban). +- use stability canary. 3.01 Tue Oct 29 16:55:15 CET 2013 - backport to perls < 5.18 (reported by Paul Howarth). @@ -11,7 +25,7 @@ - implemented an object tagging extension (using the Types::Serialiser serialisation protocol). - reworked the documentation regarding object serialisation, - add a new OBJECT SERIALISATION section that explains the + add a new OBJECT SERIALISATION section that explains th whole process. - new setting: allow_tags. - switch to Types::Serialiser booleans. @@ -142,7 +156,7 @@ - lifted the log2 rounding restriction of max_depth and max_size. - make booleans mutable by creating a copy instead of handing out the same scalar (reported by pasha sadri). - - added support for incremental json parsin
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2013-12-06 13:45:20 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS" Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2013-06-05 17:51:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2013-12-06 14:43:05.0 +0100 @@ -1,0 +2,15 @@ +Mon Nov 25 07:46:38 UTC 2013 - co...@suse.com + +- updated to 3.01 + - backport to perls < 5.18 (reported by Paul Howarth). + - implemented an object tagging extension (using the + Types::Serialiser serialisation protocol). + - reworked the documentation regarding object serialisation, + add a new OBJECT SERIALISATION section that explains the + whole process. + - new setting: allow_tags. + - switch to Types::Serialiser booleans. + - remove to_json/from_json. + - other minor improvements to the documentation. + +--- Old: JSON-XS-2.34.tar.gz New: JSON-XS-3.01.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.c07mCP/_old 2013-12-06 14:43:05.0 +0100 +++ /var/tmp/diff_new_pack.c07mCP/_new 2013-12-06 14:43:05.0 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-XS -Version:2.34 +Version:3.01 Release:0 %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast @@ -28,8 +28,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Types::Serialiser) BuildRequires: perl(common::sense) #BuildRequires: perl(JSON::XS) +Requires: perl(Types::Serialiser) Requires: perl(common::sense) %{perl_requires} ++ JSON-XS-2.34.tar.gz -> JSON-XS-3.01.tar.gz ++ 1668 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2013-06-05 17:51:16 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS" Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2011-11-21 12:42:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2013-06-05 17:51:18.0 +0200 @@ -1,0 +2,17 @@ +Wed Jun 5 08:30:08 UTC 2013 - co...@suse.com + +- updated to 2.34 + - work around bugs in perl 5.18 breaking more than 100 + widely used modules, without a fix in sight because + p5pers don't care about CPAN anymore. + - when canonicalising, only allocate up to 64 hash key + pointers on the stack. for larger hashes, use the heap, + to avoid using too much stackspace. +- discuss the problem with setlocale (reported by a few victims). + + - internal encode/decode XS wrappers did not expect stack + moves caused by callbacks (analyzed and testcase by Jesse Luehrs). + - add bencode as to/from option in bin/json_xs. +- add -e option to json_xs, and none and string in/out formats. + +--- Old: JSON-XS-2.32.tar.gz New: JSON-XS-2.34.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.dWX4V5/_old 2013-06-05 17:51:19.0 +0200 +++ /var/tmp/diff_new_pack.dWX4V5/_new 2013-06-05 17:51:19.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-XS # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,54 +15,52 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-JSON-XS +Version:2.34 +Release:0 %define cpan_name JSON-XS Summary:JSON serialising/deserialising, done correctly and fast -Version:2.32 -Release:1 License:GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/JSON-XS/ -# http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(common::sense) +#BuildRequires: perl(JSON::XS) Requires: perl(common::sense) +%{perl_requires} %description This module converts Perl data structures to JSON and vice versa. Its -primary goal is to be *correct* and its secondary goal is to be *fast*. -To reach the latter goal it was written in C. +primary goal is to be _correct_ and its secondary goal is to be _fast_. To +reach the latter goal it was written in C. -Beginning with version 2.0 of the JSON module, when both JSON and -JSON::XS are installed, then JSON will fall back on JSON::XS (this can -be overridden) with no overhead due to emulation (by inheriting -constructor and methods). If JSON::XS is not available, it will fall -back to the compatible JSON::PP module as backend, so using JSON instead -of JSON::XS gives you a portable JSON API that can be fast when you need -and doesn`t require a C compiler when that is a problem. - -As this is the n-th-something JSON module on CPAN, what was the reason -to write yet another JSON module? While it seems there are many JSON -modules, none of them correctly handle all corner cases, and in most -cases their maintainers are unresponsive, gone missing, or not listening -to bug reports for other reasons. - -Author: -Marc Lehmann +Beginning with version 2.0 of the JSON module, when both JSON and JSON::XS +are installed, then JSON will fall back on JSON::XS (this can be +overridden) with no overhead due to emulation (by inheriting constructor +and methods). If JSON::XS is not available, it will fall back to the +compatible JSON::PP module as backend, so using JSON instead of JSON::XS +gives you a portable JSON API that can be fast when you need and doesn't +require a C compiler when that is a problem. + +As this is the n-th-something JSON module on CPAN, what was the reason to +write yet another JSON module? While it seems there are many JSON modules, +none of them correctly handl
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2011-12-06 18:43:30 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS", Maintainer is "" Changes: Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.c7jZbg/_old 2011-12-06 19:12:24.0 +0100 +++ /var/tmp/diff_new_pack.c7jZbg/_new 2011-12-06 19:12:24.0 +0100 @@ -23,7 +23,7 @@ Summary:JSON serialising/deserialising, done correctly and fast Version:2.32 Release:1 -License:GPL+ or Artistic +License:GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/JSON-XS/ # http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-JSON-XS for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2011-11-21 12:42:01 Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New) Package is "perl-JSON-XS", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2011-09-23 12:37:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2011-11-21 12:42:06.0 +0100 @@ -1,0 +2,5 @@ +Fri Nov 18 11:08:50 UTC 2011 - co...@suse.com + +- use original .tar.gz + +--- Old: JSON-XS-2.32.tar.bz2 New: JSON-XS-2.32.tar.gz Other differences: -- ++ perl-JSON-XS.spec ++ --- /var/tmp/diff_new_pack.1Y06tv/_old 2011-11-21 12:42:07.0 +0100 +++ /var/tmp/diff_new_pack.1Y06tv/_new 2011-11-21 12:42:07.0 +0100 @@ -27,7 +27,7 @@ Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/JSON-XS/ # http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 +Source: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org