commit libqjson for openSUSE:Factory
Hello community,
here is the log from the commit of package libqjson for openSUSE:Factory
checked in at Thu Oct 22 13:26:31 CEST 2009.
--------
--- KDE/libqjson/libqjson.changes 2009-09-17 17:48:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/libqjson/libqjson.changes 2009-10-11 19:32:16.000000000 +0200
@@ -0,0 +1,5 @@
+----------------------------------------------------------------------
+Sun Oct 11 19:18:00 CEST 2009 - flavio@castelli.name
+
+- updated to 0.6.3: fixed a bug affecting ulonglong numbers serialization
+
calling whatdependson for head-i586
Old:
----
qjson-svn-r1024492.tar.bz2
New:
----
qjson-svn-r1033977.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqjson.spec ++++++
--- /var/tmp/diff_new_pack.9fQWfe/_old 2009-10-22 13:25:20.000000000 +0200
+++ /var/tmp/diff_new_pack.9fQWfe/_new 2009-10-22 13:25:20.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libqjson (Version 0.6.2)
+# spec file for package libqjson (Version 0.6.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,11 +20,11 @@
Name: libqjson
Summary: QJson is a qt-based library that maps JSON data to QVariant objects
-Version: 0.6.2
+Version: 0.6.3
Release: 1
License: LGPL
Url: http://qjson.sourceforge.net/
-%define svn_rev 1024492
+%define svn_rev 1033977
Source: qjson-svn-r%{svn_rev}.tar.bz2
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ qjson-svn-r1024492.tar.bz2 -> qjson-svn-r1033977.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qjson/CMakeLists.txt new/qjson/CMakeLists.txt
--- old/qjson/CMakeLists.txt 2009-09-16 19:20:08.000000000 +0200
+++ new/qjson/CMakeLists.txt 2009-10-11 19:20:29.000000000 +0200
@@ -44,7 +44,7 @@
set(QJSON_LIB_MAJOR_VERSION "0")
set(QJSON_LIB_MINOR_VERSION "6")
-set(QJSON_LIB_PATCH_VERSION "2")
+set(QJSON_LIB_PATCH_VERSION "3")
set(QJSON_LIB_VERSION_STRING "${QJSON_LIB_MAJOR_VERSION}.${QJSON_LIB_MINOR_VERSION}.${QJSON_LIB_PATCH_VERSION}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qjson/src/serializer.cpp new/qjson/src/serializer.cpp
--- old/qjson/src/serializer.cpp 2009-09-16 19:20:08.000000000 +0200
+++ new/qjson/src/serializer.cpp 2009-10-11 19:20:29.000000000 +0200
@@ -134,10 +134,10 @@
}
} else if ( v.type() == QVariant::Bool ) { // boolean value?
str = ( v.toBool() ? "true" : "false" );
+ } else if ( v.type() == QVariant::ULongLong ) { // large unsigned number?
+ str = QByteArray::number( v.value<qulonglong>() );
} else if ( v.canConvert<qlonglong>() ) { // any signed number?
str = QByteArray::number( v.value<qlonglong>() );
- } else if ( v.canConvert<qulonglong>() ) { // large unsigned number?
- str = QByteArray::number( v.value<qulonglong>() );
} else {
error = true;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qjson/tests/testparser.cpp new/qjson/tests/testparser.cpp
--- old/qjson/tests/testparser.cpp 2009-09-16 19:20:07.000000000 +0200
+++ new/qjson/tests/testparser.cpp 2009-10-11 19:20:29.000000000 +0200
@@ -267,7 +267,7 @@
// big number
input = QByteArray("128708157440");
output = QVariant(QVariant::ULongLong);
- output.setValue(128708157440);
+ output.setValue(128708157440ull);
QTest::newRow("big number") << input << output << QVariant::ULongLong;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qjson/tests/testserializer.cpp new/qjson/tests/testserializer.cpp
--- old/qjson/tests/testserializer.cpp 2009-09-16 19:20:07.000000000 +0200
+++ new/qjson/tests/testserializer.cpp 2009-10-11 19:20:29.000000000 +0200
@@ -18,6 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
+#include <limits>
+
#include
participants (1)
-
root@Hilbert.suse.de