Hello community,

here is the log from the commit of package jsoncpp for openSUSE:Factory checked 
in at 2015-04-21 10:53:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jsoncpp (Old)
 and      /work/SRC/openSUSE:Factory/.jsoncpp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jsoncpp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/jsoncpp/jsoncpp.changes  2015-04-05 
02:04:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.jsoncpp.new/jsoncpp.changes     2015-04-21 
10:53:08.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 20 08:34:04 UTC 2015 - mplus...@suse.com
+
+- Update to 1.6.2
+  * Do not truncate output at embedded zeroes.
+
+-------------------------------------------------------------------

Old:
----
  1.6.1.tar.gz

New:
----
  1.6.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jsoncpp.spec ++++++
--- /var/tmp/diff_new_pack.V0RGmZ/_old  2015-04-21 10:53:09.000000000 +0200
+++ /var/tmp/diff_new_pack.V0RGmZ/_new  2015-04-21 10:53:09.000000000 +0200
@@ -18,7 +18,7 @@
 
 %define libname lib%{name}1
 Name:           jsoncpp
-Version:        1.6.1
+Version:        1.6.2
 Release:        0
 Summary:        C++ library that allows manipulating with JSON
 License:        MIT

++++++ 1.6.1.tar.gz -> 1.6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/CMakeLists.txt 
new/jsoncpp-1.6.2/CMakeLists.txt
--- old/jsoncpp-1.6.1/CMakeLists.txt    2015-03-31 22:07:14.000000000 +0200
+++ new/jsoncpp-1.6.2/CMakeLists.txt    2015-04-11 21:45:33.000000000 +0200
@@ -60,7 +60,7 @@
 #SET( JSONCPP_VERSION_MAJOR X )
 #SET( JSONCPP_VERSION_MINOR Y )
 #SET( JSONCPP_VERSION_PATCH Z )
-SET( JSONCPP_VERSION 1.6.1 )
+SET( JSONCPP_VERSION 1.6.2 )
 jsoncpp_parse_version( ${JSONCPP_VERSION} JSONCPP_VERSION )
 #IF(NOT JSONCPP_VERSION_FOUND)
 #    MESSAGE(FATAL_ERROR "Failed to parse version string properly. Expect 
X.Y.Z")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/devtools/__init__.py 
new/jsoncpp-1.6.2/devtools/__init__.py
--- old/jsoncpp-1.6.1/devtools/__init__.py      2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/devtools/__init__.py      2015-04-11 21:45:33.000000000 
+0200
@@ -1 +1,6 @@
-# module
\ No newline at end of file
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
+# module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/devtools/antglob.py 
new/jsoncpp-1.6.2/devtools/antglob.py
--- old/jsoncpp-1.6.1/devtools/antglob.py       2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/devtools/antglob.py       2015-04-11 21:45:33.000000000 
+0200
@@ -1,6 +1,9 @@
 #!/usr/bin/env python
 # encoding: utf-8
-# Baptiste Lepilleur, 2009
+# Copyright 2009 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
 
 from __future__ import print_function
 from dircache import listdir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/devtools/fixeol.py 
new/jsoncpp-1.6.2/devtools/fixeol.py
--- old/jsoncpp-1.6.1/devtools/fixeol.py        2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/devtools/fixeol.py        2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 from __future__ import print_function
 import os.path
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/devtools/tarball.py 
new/jsoncpp-1.6.2/devtools/tarball.py
--- old/jsoncpp-1.6.1/devtools/tarball.py       2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/devtools/tarball.py       2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 from contextlib import closing
 import os
 import tarfile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/include/json/version.h 
new/jsoncpp-1.6.2/include/json/version.h
--- old/jsoncpp-1.6.1/include/json/version.h    2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/include/json/version.h    2015-04-11 21:45:33.000000000 
+0200
@@ -4,10 +4,10 @@
 #ifndef JSON_VERSION_H_INCLUDED
 # define JSON_VERSION_H_INCLUDED
 
-# define JSONCPP_VERSION_STRING "1.6.1"
+# define JSONCPP_VERSION_STRING "1.6.2"
 # define JSONCPP_VERSION_MAJOR 1
 # define JSONCPP_VERSION_MINOR 6
-# define JSONCPP_VERSION_PATCH 1
+# define JSONCPP_VERSION_PATCH 2
 # define JSONCPP_VERSION_QUALIFIER
 # define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | 
(JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/makerelease.py 
new/jsoncpp-1.6.2/makerelease.py
--- old/jsoncpp-1.6.1/makerelease.py    2015-03-31 22:07:14.000000000 +0200
+++ new/jsoncpp-1.6.2/makerelease.py    2015-04-11 21:45:33.000000000 +0200
@@ -1,3 +1,8 @@
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 """Tag the sandbox for release, make source and doc tarballs.
 
 Requires Python 2.6
@@ -14,6 +19,7 @@
 Note: This was for Subversion. Now that we are in GitHub, we do not
 need to build versioned tarballs anymore, so makerelease.py is defunct.
 """
+
 from __future__ import print_function
 import os.path
 import subprocess
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/scons-tools/globtool.py 
new/jsoncpp-1.6.2/scons-tools/globtool.py
--- old/jsoncpp-1.6.1/scons-tools/globtool.py   2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/scons-tools/globtool.py   2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2009 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 import fnmatch
 import os
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/scons-tools/srcdist.py 
new/jsoncpp-1.6.2/scons-tools/srcdist.py
--- old/jsoncpp-1.6.1/scons-tools/srcdist.py    2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/scons-tools/srcdist.py    2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 import os
 import os.path
 from fnmatch import fnmatch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/scons-tools/substinfile.py 
new/jsoncpp-1.6.2/scons-tools/substinfile.py
--- old/jsoncpp-1.6.1/scons-tools/substinfile.py        2015-03-31 
22:07:14.000000000 +0200
+++ new/jsoncpp-1.6.2/scons-tools/substinfile.py        2015-04-11 
21:45:33.000000000 +0200
@@ -1,3 +1,8 @@
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 import re
 from SCons.Script import *  # the usual scons stuff you get in a SConscript
 import collections
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/scons-tools/targz.py 
new/jsoncpp-1.6.2/scons-tools/targz.py
--- old/jsoncpp-1.6.1/scons-tools/targz.py      2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/scons-tools/targz.py      2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 """tarball
 
 Tool-specific initialization for tarball.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/src/lib_json/json_writer.cpp 
new/jsoncpp-1.6.2/src/lib_json/json_writer.cpp
--- old/jsoncpp-1.6.1/src/lib_json/json_writer.cpp      2015-03-31 
22:07:14.000000000 +0200
+++ new/jsoncpp-1.6.2/src/lib_json/json_writer.cpp      2015-04-11 
21:45:33.000000000 +0200
@@ -317,8 +317,14 @@
     document_ += valueToString(value.asDouble());
     break;
   case stringValue:
-    document_ += valueToQuotedString(value.asCString());
+  {
+    // Is NULL possible for value.string_?
+    char const* str;
+    char const* end;
+    bool ok = value.getString(&str, &end);
+    if (ok) document_ += valueToQuotedStringN(str, 
static_cast<unsigned>(end-str));
     break;
+  }
   case booleanValue:
     document_ += valueToString(value.asBool());
     break;
@@ -382,7 +388,7 @@
     break;
   case stringValue:
   {
-    // Is NULL is possible for value.string_?
+    // Is NULL possible for value.string_?
     char const* str;
     char const* end;
     bool ok = value.getString(&str, &end);
@@ -599,8 +605,15 @@
     pushValue(valueToString(value.asDouble()));
     break;
   case stringValue:
-    pushValue(valueToQuotedString(value.asCString()));
+  {
+    // Is NULL possible for value.string_?
+    char const* str;
+    char const* end;
+    bool ok = value.getString(&str, &end);
+    if (ok) pushValue(valueToQuotedStringN(str, 
static_cast<unsigned>(end-str)));
+    else pushValue("");
     break;
+  }
   case booleanValue:
     pushValue(valueToString(value.asBool()));
     break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/test/cleantests.py 
new/jsoncpp-1.6.2/test/cleantests.py
--- old/jsoncpp-1.6.1/test/cleantests.py        2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/test/cleantests.py        2015-04-11 21:45:33.000000000 
+0200
@@ -1,4 +1,10 @@
-# removes all files created during testing
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
+"""Removes all files created during testing."""
+
 import glob
 import os
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/test/generate_expected.py 
new/jsoncpp-1.6.2/test/generate_expected.py
--- old/jsoncpp-1.6.1/test/generate_expected.py 2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/test/generate_expected.py 2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 from __future__ import print_function
 import glob
 import os.path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/test/pyjsontestrunner.py 
new/jsoncpp-1.6.2/test/pyjsontestrunner.py
--- old/jsoncpp-1.6.1/test/pyjsontestrunner.py  2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/test/pyjsontestrunner.py  2015-04-11 21:45:33.000000000 
+0200
@@ -1,4 +1,11 @@
-# Simple implementation of a json test runner to run the test against json-py.
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
+"""Simple implementation of a json test runner to run the test against
+json-py."""
+
 from __future__ import print_function
 import sys
 import os.path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/test/runjsontests.py 
new/jsoncpp-1.6.2/test/runjsontests.py
--- old/jsoncpp-1.6.1/test/runjsontests.py      2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/test/runjsontests.py      2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2007 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 from __future__ import print_function
 from __future__ import unicode_literals
 from io import open
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/test/rununittests.py 
new/jsoncpp-1.6.2/test/rununittests.py
--- old/jsoncpp-1.6.1/test/rununittests.py      2015-03-31 22:07:14.000000000 
+0200
+++ new/jsoncpp-1.6.2/test/rununittests.py      2015-04-11 21:45:33.000000000 
+0200
@@ -1,3 +1,8 @@
+# Copyright 2009 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
 from __future__ import print_function
 from __future__ import unicode_literals
 from io import open
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsoncpp-1.6.1/version new/jsoncpp-1.6.2/version
--- old/jsoncpp-1.6.1/version   2015-03-31 22:07:14.000000000 +0200
+++ new/jsoncpp-1.6.2/version   2015-04-11 21:45:33.000000000 +0200
@@ -1 +1 @@
-1.6.1
+1.6.2


Reply via email to