Hello community, here is the log from the commit of package goffice for openSUSE:Factory checked in at 2017-08-10 14:03:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/goffice (Old) and /work/SRC/openSUSE:Factory/.goffice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goffice" Thu Aug 10 14:03:04 2017 rev:88 rq:509991 version:0.10.35 Changes: -------- --- /work/SRC/openSUSE:Factory/goffice/goffice.changes 2017-03-31 15:07:19.570718272 +0200 +++ /work/SRC/openSUSE:Factory/.goffice.new/goffice.changes 2017-08-10 14:11:35.872722012 +0200 @@ -1,0 +2,6 @@ +Tue Jul 11 08:53:08 UTC 2017 - [email protected] + +- Update to version 0.10.35: + + Fix quad-precision overflow problem. + +------------------------------------------------------------------- Old: ---- goffice-0.10.34.tar.xz New: ---- goffice-0.10.35.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ goffice.spec ++++++ --- /var/tmp/diff_new_pack.3A4P0F/_old 2017-08-10 14:11:36.760597002 +0200 +++ /var/tmp/diff_new_pack.3A4P0F/_new 2017-08-10 14:11:36.772595313 +0200 @@ -17,7 +17,7 @@ Name: goffice -Version: 0.10.34 +Version: 0.10.35 Release: 0 Summary: GLib/GTK+ Set of Document-Centric Objects and Utilities License: GPL-2.0 or GPL-3.0 ++++++ goffice-0.10.34.tar.xz -> goffice-0.10.35.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/ChangeLog new/goffice-0.10.35/ChangeLog --- old/goffice-0.10.34/ChangeLog 2017-03-20 23:06:09.000000000 +0100 +++ new/goffice-0.10.35/ChangeLog 2017-07-07 02:24:24.000000000 +0200 @@ -1,3 +1,16 @@ +2017-07-06 Morten Welinder <[email protected]> + + * Release 0.10.35 + +2017-05-17 Morten Welinder <[email protected]> + + * goffice/math/go-quad.c (go_quad_mul12): Avoid unnecessary + overflow when splitting a number into two parts. + +2017-03-20 Morten Welinder <[email protected]> + + * configure.ac: Post-release bump. + 2017-03-20 Morten Welinder <[email protected]> * Release 0.10.34 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/NEWS new/goffice-0.10.35/NEWS --- old/goffice-0.10.34/NEWS 2017-03-18 02:31:13.000000000 +0100 +++ new/goffice-0.10.35/NEWS 2017-05-17 23:09:01.000000000 +0200 @@ -1,3 +1,9 @@ +goffice 0.10.35: + +Morten: + * Fix quad-precision overflow problem. + +-------------------------------------------------------------------------- goffice 0.10.34: Morten: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/configure new/goffice-0.10.35/configure --- old/goffice-0.10.34/configure 2017-01-31 02:34:44.000000000 +0100 +++ new/goffice-0.10.35/configure 2017-03-22 22:37:11.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for goffice 0.10.34. +# Generated by GNU Autoconf 2.69 for goffice 0.10.35. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgoffice>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='goffice' PACKAGE_TARNAME='goffice' -PACKAGE_VERSION='0.10.34' -PACKAGE_STRING='goffice 0.10.34' +PACKAGE_VERSION='0.10.35' +PACKAGE_STRING='goffice 0.10.35' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libgoffice' PACKAGE_URL='' @@ -1495,7 +1495,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures goffice 0.10.34 to adapt to many kinds of systems. +\`configure' configures goffice 0.10.35 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1566,7 +1566,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of goffice 0.10.34:";; + short | recursive ) echo "Configuration of goffice 0.10.35:";; esac cat <<\_ACEOF @@ -1733,7 +1733,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -goffice configure 0.10.34 +goffice configure 0.10.35 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2148,7 +2148,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by goffice $as_me 0.10.34, which was +It was created by goffice $as_me 0.10.35, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3013,7 +3013,7 @@ # Define the identity of the package. PACKAGE='goffice' - VERSION='0.10.34' + VERSION='0.10.35' cat >>confdefs.h <<_ACEOF @@ -3109,7 +3109,7 @@ -VERSION_INFO=10:34:0 +VERSION_INFO=10:35:0 VERSION_IFACE=10 @@ -17175,7 +17175,7 @@ -$as_echo "#define GOFFICE_VERSION \"0.10.34\"" >>confdefs.h +$as_echo "#define GOFFICE_VERSION \"0.10.35\"" >>confdefs.h $as_echo "#define GO_VERSION_EPOCH 0" >>confdefs.h @@ -17184,7 +17184,7 @@ $as_echo "#define GO_VERSION_MAJOR 10" >>confdefs.h -$as_echo "#define GO_VERSION_MINOR 34" >>confdefs.h +$as_echo "#define GO_VERSION_MINOR 35" >>confdefs.h $as_echo "#define GO_VERSION_EXTRA \"\"" >>confdefs.h @@ -18164,7 +18164,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by goffice $as_me 0.10.34, which was +This file was extended by goffice $as_me 0.10.35, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18230,7 +18230,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -goffice config.status 0.10.34 +goffice config.status 0.10.35 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/configure.ac new/goffice-0.10.35/configure.ac --- old/goffice-0.10.34/configure.ac 2017-01-30 03:37:25.000000000 +0100 +++ new/goffice-0.10.35/configure.ac 2017-03-21 02:53:29.000000000 +0100 @@ -7,7 +7,7 @@ m4_define([goffice_version_epoch], [0]) m4_define([goffice_version_major], [10]) -m4_define([goffice_version_minor], [34]) +m4_define([goffice_version_minor], [35]) m4_define([goffice_version_extra], []) m4_define([goffice_full_version], [goffice_version_epoch.goffice_version_major.goffice_version_minor[]goffice_version_extra]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/goffice/goffice-features.h new/goffice-0.10.35/goffice/goffice-features.h --- old/goffice-0.10.34/goffice/goffice-features.h 2017-01-31 02:32:45.000000000 +0100 +++ new/goffice-0.10.35/goffice/goffice-features.h 2017-03-22 22:33:39.000000000 +0100 @@ -35,7 +35,7 @@ /* #undef GOFFICE_SUPPLIED_STRTOLD */ /* The version number of this release, possibly with additional suffix */ -#define GOFFICE_VERSION "0.10.34" +#define GOFFICE_VERSION "0.10.35" /* The Epoch of this release */ #define GO_VERSION_EPOCH 0 @@ -44,7 +44,7 @@ #define GO_VERSION_MAJOR 10 /* The Minor version number of this release */ -#define GO_VERSION_MINOR 34 +#define GO_VERSION_MINOR 35 /* Extra, possibly empty tag for this release */ #define GO_VERSION_EXTRA "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/goffice/math/go-quad.c new/goffice-0.10.35/goffice/math/go-quad.c --- old/goffice-0.10.34/goffice/math/go-quad.c 2016-09-14 02:25:21.000000000 +0200 +++ new/goffice-0.10.35/goffice/math/go-quad.c 2017-05-17 23:09:01.000000000 +0200 @@ -69,6 +69,7 @@ #define DOUBLE double #define SUFFIX(_n) _n #define DOUBLE_MANT_DIG DBL_MANT_DIG +#define DOUBLE_EPSILON DBL_EPSILON #ifdef GOFFICE_WITH_LONG_DOUBLE #include "go-quad.c" @@ -76,9 +77,11 @@ #undef DOUBLE #undef SUFFIX #undef DOUBLE_MANT_DIG +#undef DOUBLE_EPSILON #define DOUBLE long double #define SUFFIX(_n) _n ## l #define DOUBLE_MANT_DIG LDBL_MANT_DIG +#define DOUBLE_EPSILON LDBL_EPSILON #endif #endif @@ -392,6 +395,22 @@ res->l = r - res->h + s; } + +#define SPLIT1(x,h,t) do { \ + DOUBLE p = x * SUFFIX(CST); \ + if (!SUFFIX(go_finite) (p) && SUFFIX(go_finite)(x)) { \ + x *= DOUBLE_EPSILON; \ + p = x * SUFFIX(CST); \ + h = x - p + p; \ + t = x - h; \ + h *= (1 / DOUBLE_EPSILON); \ + t *= (1 / DOUBLE_EPSILON); \ + } else { \ + h = x - p + p; \ + t = x - h; \ + } \ +} while (0) + /** * go_quad_mul12: * @res: (out): result location @@ -413,20 +432,20 @@ void SUFFIX(go_quad_mul12) (QUAD *res, DOUBLE x, DOUBLE y) { - DOUBLE p1 = x * SUFFIX(CST); - DOUBLE hx = x - p1 + p1; - DOUBLE tx = x - hx; - - DOUBLE p2 = y * SUFFIX(CST); - DOUBLE hy = y - p2 + p2; - DOUBLE ty = y - hy; + DOUBLE hx, tx, hy, ty, p, q; + + SPLIT1 (x, hx, tx); + SPLIT1 (y, hy, ty); - DOUBLE p = hx * hy; - DOUBLE q = hx * ty + tx * hy; + p = hx * hy; + q = hx * ty + tx * hy; res->h = p + q; res->l = p - res->h + q + tx * ty; } +#undef SPLIT1 + + /** * go_quad_mul: * @res: (out): result location diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/po/ChangeLog new/goffice-0.10.35/po/ChangeLog --- old/goffice-0.10.34/po/ChangeLog 2017-03-20 23:06:09.000000000 +0100 +++ new/goffice-0.10.35/po/ChangeLog 2017-07-07 02:24:24.000000000 +0200 @@ -1,3 +1,7 @@ +2017-07-06 Morten Welinder <[email protected]> + + * Release 0.10.35 + 2017-03-20 Morten Welinder <[email protected]> * Release 0.10.34 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/po/ca.po new/goffice-0.10.35/po/ca.po --- old/goffice-0.10.34/po/ca.po 2015-06-23 02:20:03.000000000 +0200 +++ new/goffice-0.10.35/po/ca.po 2017-07-04 01:43:16.000000000 +0200 @@ -6985,7 +6985,7 @@ #: ../goffice/utils/go-style-prefs.ui.h:3 msgid "O_utline:" -msgstr "C_ontorn" +msgstr "C_ontorn:" #: ../goffice/utils/go-style-prefs.ui.h:4 msgid "_Fill:" @@ -7141,7 +7141,7 @@ #: ../goffice/utils/regutf8.c:74 msgid "Pattern is too big." -msgstr "El patró es massa gran." +msgstr "El patró és massa gran." #: ../goffice/utils/regutf8.c:75 msgid "Unmatched ) or \\)" @@ -8014,7 +8014,7 @@ #: ../plugins/plot_pie/gog-pie.c:308 msgid "Degrees clockwise from 12 O'Clock." -msgstr "Graus en el sentit horari des de les 12 en punt" +msgstr "Graus en el sentit horari des de les 12 en punt." #: ../plugins/plot_pie/gog-pie.c:313 msgid "Default separation" @@ -8304,7 +8304,7 @@ #: ../plugins/plot_radar/plot-types.xml.in.h:5 msgid "Radar plot with dots." -msgstr "Traçat de radar amb punts" +msgstr "Traçat de radar amb punts." #: ../plugins/plot_radar/plot-types.xml.in.h:6 msgid "Area Radar" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.34/tools/ChangeLog new/goffice-0.10.35/tools/ChangeLog --- old/goffice-0.10.34/tools/ChangeLog 2017-03-20 23:06:09.000000000 +0100 +++ new/goffice-0.10.35/tools/ChangeLog 2017-07-07 02:24:24.000000000 +0200 @@ -1,3 +1,7 @@ +2017-07-06 Morten Welinder <[email protected]> + + * Release 0.10.35 + 2017-03-20 Morten Welinder <[email protected]> * Release 0.10.34
