Hello community,
here is the log from the commit of package goffice for openSUSE:Factory checked in at 2016-05-16 12:03:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/goffice (Old)
and /work/SRC/openSUSE:Factory/.goffice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goffice"
Changes:
--------
--- /work/SRC/openSUSE:Factory/goffice/goffice.changes 2016-03-29 10:39:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.goffice.new/goffice.changes 2016-05-16 12:03:46.000000000 +0200
@@ -1,0 +2,11 @@
+Sat May 7 09:07:37 UTC 2016 - zaitor@opensuse.org
+
+- Update to version 0.10.29:
+ + Do not load invalid data labels in XYcolor plots (bgo#765155).
+ + Fix an infinite loop condition in 3D plots (bgo#765480).
+ + Implement line width and fill pattern support in themes
+ (bgo#765970).
+ + Improve go_complex_sqrt.
+ + Improve go_complex_div.
+
+-------------------------------------------------------------------
Old:
----
goffice-0.10.28.tar.xz
New:
----
goffice-0.10.29.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ goffice.spec ++++++
--- /var/tmp/diff_new_pack.6m1sdK/_old 2016-05-16 12:03:47.000000000 +0200
+++ /var/tmp/diff_new_pack.6m1sdK/_new 2016-05-16 12:03:47.000000000 +0200
@@ -17,7 +17,7 @@
Name: goffice
-Version: 0.10.28
+Version: 0.10.29
Release: 0
Summary: GLib/GTK+ Set of Document-Centric Objects and Utilities
License: GPL-2.0 or GPL-3.0
++++++ goffice-0.10.28.tar.xz -> goffice-0.10.29.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/ChangeLog new/goffice-0.10.29/ChangeLog
--- old/goffice-0.10.28/ChangeLog 2016-03-22 23:38:00.000000000 +0100
+++ new/goffice-0.10.29/ChangeLog 2016-05-07 00:52:57.000000000 +0200
@@ -1,3 +1,42 @@
+2016-05-06 Morten Welinder
+
+ * Release 0.10.29
+
+2016-05-04 Jean Brefort
+
+ * goffice/canvas/goc-canvas.c: fix doc.
+ * goffice/utils/go-style.c (go_style_apply_theme),
+ (go_style_gradient_sax_save), (go_style_fill_sax_save),
+ (go_style_sax_load_fill_pattern),
+ (go_style_sax_load_fill_gradient), (go_style_persist_sax_save),
+ (go_style_is_auto): really implement all auto flags.
+
+2016-04-29 Jean Brefort
+
+ * goffice/canvas/goc-item.c (cb_hierarchy_changed): make css work again with
+ gtk+-3.20.
+
+2016-04-24 Jean Brefort
+
+ * goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix an infinite
+ loop condition. [#765480]
+
+2016-04-17 Jean Brefort
+
+ * plugins/plot_xy/gog-xy.c (gog_xy_view_render): do not load invalid data
+ labels in XYcolor plots. [#765155]
+
+2016-03-24 Morten Welinder
+
+ * goffice/math/go-complex.c (go_complex_sqrt): Avoid extreme-case
+ unnecessary overflow.
+ (go_complex_div): Avoid extreme-case unnecessary overflow and
+ marginally improve accuracy.
+
+2016-03-22 Morten Welinder
+
+ * configure.ac: Post-release bump.
+
2016-03-22 Morten Welinder
* Release 0.10.28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/NEWS new/goffice-0.10.29/NEWS
--- old/goffice-0.10.28/NEWS 2016-03-10 23:14:40.000000000 +0100
+++ new/goffice-0.10.29/NEWS 2016-05-05 00:09:33.000000000 +0200
@@ -1,3 +1,15 @@
+goffice 0.10.29:
+
+Jean:
+ * Do not load invalid data labels in XYcolor plots. [#765155]
+ * Fix an infinite loop condition in 3D plots. [#765480]
+ * Implement line width and fill pattern support in themes. [#765970]
+
+Morten:
+ * Improve go_complex_sqrt.
+ * Improve go_complex_div.
+
+--------------------------------------------------------------------------
goffice 0.10.28:
Jean:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/configure new/goffice-0.10.29/configure
--- old/goffice-0.10.28/configure 2016-02-15 22:49:39.000000000 +0100
+++ new/goffice-0.10.29/configure 2016-05-05 03:21:32.000000000 +0200
@@ -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.28.
+# Generated by GNU Autoconf 2.69 for goffice 0.10.29.
#
# 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.28'
-PACKAGE_STRING='goffice 0.10.28'
+PACKAGE_VERSION='0.10.29'
+PACKAGE_STRING='goffice 0.10.29'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libgoffice'
PACKAGE_URL=''
@@ -1483,7 +1483,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.28 to adapt to many kinds of systems.
+\`configure' configures goffice 0.10.29 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1553,7 +1553,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of goffice 0.10.28:";;
+ short | recursive ) echo "Configuration of goffice 0.10.29:";;
esac
cat <<\_ACEOF
@@ -1718,7 +1718,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-goffice configure 0.10.28
+goffice configure 0.10.29
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2133,7 +2133,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.28, which was
+It was created by goffice $as_me 0.10.29, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2998,7 +2998,7 @@
# Define the identity of the package.
PACKAGE='goffice'
- VERSION='0.10.28'
+ VERSION='0.10.29'
cat >>confdefs.h <<_ACEOF
@@ -3093,7 +3093,7 @@
-VERSION_INFO=10:28:0
+VERSION_INFO=10:29:0
VERSION_IFACE=10
@@ -16828,7 +16828,7 @@
-$as_echo "#define GOFFICE_VERSION \"0.10.28\"" >>confdefs.h
+$as_echo "#define GOFFICE_VERSION \"0.10.29\"" >>confdefs.h
$as_echo "#define GO_VERSION_EPOCH 0" >>confdefs.h
@@ -16837,7 +16837,7 @@
$as_echo "#define GO_VERSION_MAJOR 10" >>confdefs.h
-$as_echo "#define GO_VERSION_MINOR 28" >>confdefs.h
+$as_echo "#define GO_VERSION_MINOR 29" >>confdefs.h
$as_echo "#define GO_VERSION_EXTRA \"\"" >>confdefs.h
@@ -17817,7 +17817,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.28, which was
+This file was extended by goffice $as_me 0.10.29, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17883,7 +17883,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.28
+goffice config.status 0.10.29
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.28/configure.ac new/goffice-0.10.29/configure.ac
--- old/goffice-0.10.28/configure.ac 2016-02-15 22:48:53.000000000 +0100
+++ new/goffice-0.10.29/configure.ac 2016-03-23 00:23:39.000000000 +0100
@@ -5,7 +5,7 @@
m4_define([goffice_version_epoch], [0])
m4_define([goffice_version_major], [10])
-m4_define([goffice_version_minor], [28])
+m4_define([goffice_version_minor], [29])
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.28/docs/reference/html/GocCanvas.html new/goffice-0.10.29/docs/reference/html/GocCanvas.html
--- old/goffice-0.10.28/docs/reference/html/GocCanvas.html 2016-03-22 23:39:45.000000000 +0100
+++ new/goffice-0.10.29/docs/reference/html/GocCanvas.html 2016-05-07 00:59:06.000000000 +0200
@@ -641,8 +641,8 @@
</div>
<div class="refsect3">
<a name="id-1.4.2.2.8.14.5"></a><h4>Returns</h4>
-<p> the width of the widget visible region. </p>
-<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
+<p> the width of the widget visible region.</p>
+<p></p>
</div>
</div>
<hr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/docs/reference/html/index.html new/goffice-0.10.29/docs/reference/html/index.html
--- old/goffice-0.10.28/docs/reference/html/index.html 2016-03-22 23:39:45.000000000 +0100
+++ new/goffice-0.10.29/docs/reference/html/index.html 2016-05-07 00:59:06.000000000 +0200
@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GOffice Reference Manual</p></th></tr></table></div>
-<div><p class="releaseinfo">For goffice 0.10.28
+<div><p class="releaseinfo">For goffice 0.10.29
</p></div>
</div>
<hr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/docs/reference/tmpl/goffice-0.10-unused.sgml new/goffice-0.10.29/docs/reference/tmpl/goffice-0.10-unused.sgml
--- old/goffice-0.10.28/docs/reference/tmpl/goffice-0.10-unused.sgml 2016-03-22 23:39:45.000000000 +0100
+++ new/goffice-0.10.29/docs/reference/tmpl/goffice-0.10-unused.sgml 2016-05-07 00:59:06.000000000 +0200
@@ -1,6 +0,0 @@
-<!-- ##### MACRO GO_ARROW_TYPE ##### -->
-<para>
-
-</para>
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/docs/reference/version.xml new/goffice-0.10.29/docs/reference/version.xml
--- old/goffice-0.10.28/docs/reference/version.xml 2016-02-15 22:49:59.000000000 +0100
+++ new/goffice-0.10.29/docs/reference/version.xml 2016-05-05 03:21:39.000000000 +0200
@@ -1 +1 @@
-0.10.28
+0.10.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/goffice/canvas/goc-canvas.c new/goffice-0.10.29/goffice/canvas/goc-canvas.c
--- old/goffice-0.10.28/goffice/canvas/goc-canvas.c 2015-03-03 23:50:53.000000000 +0100
+++ new/goffice-0.10.29/goffice/canvas/goc-canvas.c 2016-05-05 00:09:33.000000000 +0200
@@ -400,7 +400,7 @@
* goc_canvas_get_width:
* @canvas: #GocCanvas
*
- * Returns: (transfer none): the width of the widget visible region.
+ * Returns: the width of the widget visible region.
**/
int
goc_canvas_get_width (GocCanvas *canvas)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/goffice/canvas/goc-item.c new/goffice-0.10.29/goffice/canvas/goc-item.c
--- old/goffice-0.10.28/goffice/canvas/goc-item.c 2014-12-06 21:09:39.000000000 +0100
+++ new/goffice-0.10.29/goffice/canvas/goc-item.c 2016-04-29 23:09:10.000000000 +0200
@@ -870,6 +870,9 @@
path = gtk_widget_path_new ();
gtk_widget_path_append_type (path, G_TYPE_FROM_INSTANCE (item));
+#if GTK_CHECK_VERSION(3,20,0)
+ gtk_widget_path_iter_set_object_name (path, -1, G_OBJECT_TYPE_NAME (item));
+#endif
gtk_style_context_set_path (context, path);
gtk_widget_path_free (path);
gtk_style_context_set_parent (context, pcontext);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/goffice/goffice-features.h new/goffice-0.10.29/goffice/goffice-features.h
--- old/goffice-0.10.28/goffice/goffice-features.h 2016-02-06 19:39:18.000000000 +0100
+++ new/goffice-0.10.29/goffice/goffice-features.h 2016-03-23 00:24:05.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.28"
+#define GOFFICE_VERSION "0.10.29"
/* 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 28
+#define GO_VERSION_MINOR 29
/* 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.28/goffice/graph/gog-axis.c new/goffice-0.10.29/goffice/graph/gog-axis.c
--- old/goffice-0.10.28/goffice/graph/gog-axis.c 2016-02-03 02:16:59.000000000 +0100
+++ new/goffice-0.10.29/goffice/graph/gog-axis.c 2016-04-29 23:09:10.000000000 +0200
@@ -4306,6 +4306,7 @@
if (gog_chart_is_3d (chart)) {
gog_axis_view_size_allocate_3d (view,
child, plot_area);
+ ptr = ptr->next;
continue;
}
gog_view_size_request (child, &available, &req);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/goffice/math/go-complex.c new/goffice-0.10.29/goffice/math/go-complex.c
--- old/goffice-0.10.28/goffice/math/go-complex.c 2016-03-08 05:10:25.000000000 +0100
+++ new/goffice-0.10.29/goffice/math/go-complex.c 2016-03-24 22:19:04.000000000 +0100
@@ -247,23 +247,58 @@
void
SUFFIX(go_complex_div) (COMPLEX *dst, COMPLEX const *a, COMPLEX const *b)
{
- DOUBLE bmod = SUFFIX(go_complex_mod) (b);
+ DOUBLE a_re = a->re, a_im = a->im;
+ DOUBLE b_re = b->re, b_im = b->im;
+ DOUBLE asize = MAX (SUFFIX(fabs)(a_re), SUFFIX(fabs)(a_im));
+ DOUBLE bsize = MAX (SUFFIX(fabs)(b_re), SUFFIX(fabs)(b_im));
+ DOUBLE bmodsqr, q_re, q_im;
+ int e = 0;
- if (bmod >= GO_const(1e10) || bmod < GO_const(1e-10)) {
- /* Ok, it's very big or very small. */
- DOUBLE a_re = a->re / bmod;
- DOUBLE a_im = a->im / bmod;
- DOUBLE b_re = b->re / bmod;
- DOUBLE b_im = b->im / bmod;
- SUFFIX(go_complex_init) (dst,
- a_re * b_re + a_im * b_im,
- a_im * b_re - a_re * b_im);
- } else {
- DOUBLE bmodsqr = bmod * bmod;
- SUFFIX(go_complex_init) (dst,
- (a->re * b->re + a->im * b->im) / bmodsqr,
- (a->im * b->re - a->re * b->im) / bmodsqr);
+ if (!SUFFIX(go_finite) (asize) || !SUFFIX(go_finite) (bsize) ||
+ bsize == 0) {
+ // Inf or Nan occurs somewhere. Or divide by zero.
+ SUFFIX(go_complex_invalid) (dst);
+ return;
+ }
+
+ if (b_im == 0) {
+ // Special case for correctly-rounded result
+ SUFFIX(go_complex_init) (dst, a_re / b_re, a_im / b_re);
+ return;
+ }
+
+ if (b_re == 0) {
+ // Special case for correctly-rounded result
+ SUFFIX(go_complex_init) (dst, a_im / b_im, -a_re / b_im);
+ return;
}
+
+ if (asize + bsize > 1e100 || asize < 1e-100 || bsize < 1e-100) {
+ // Avoid overflows and underflows by scaling both arguments
+ // to sane sizes without any rounding errors.
+ int ea, eb;
+
+ (void)SUFFIX(frexp) (asize, &ea);
+ a_re = SUFFIX(ldexp) (a_re, -ea);
+ a_im = SUFFIX(ldexp) (a_im, -ea);
+
+ (void)SUFFIX(frexp) (bsize, &eb);
+ b_re = SUFFIX(ldexp) (b_re, -eb);
+ b_im = SUFFIX(ldexp) (b_im, -eb);
+
+ e = ea - eb;
+ }
+
+ bmodsqr = b_re * b_re + b_im * b_im;
+ q_re = (a_re * b_re + a_im * b_im) / bmodsqr;
+ q_im = (a_im * b_re - a_re * b_im) / bmodsqr;
+
+ if (e) {
+ q_re = SUFFIX(ldexp) (q_re, e);
+ q_im = SUFFIX(ldexp) (q_im, e);
+ }
+
+ SUFFIX(go_complex_init) (dst, q_re, q_im);
}
/* ------------------------------------------------------------------------- */
@@ -271,6 +306,8 @@
void
SUFFIX(go_complex_sqrt) (COMPLEX *dst, COMPLEX const *src)
{
+ DOUBLE m, sm;
+
if (src->re < 0 && -src->re > SUFFIX(fabs)(src->im)) {
// Near the negative axis we do not want to squeeze
// angle/pi against +-1.
@@ -285,9 +322,17 @@
return;
}
+ m = SUFFIX(go_complex_mod) (src);
+ if (SUFFIX(go_finite) (m))
+ sm = SUFFIX(sqrt) (m);
+ else {
+ // Overflow avoidance
+ sm = 2 * SUFFIX(sqrt) (SUFFIX(hypot) (src->re / 4, src->im / 4));
+ }
+
SUFFIX(go_complex_from_polar_pi)
(dst,
- SUFFIX(sqrt) (SUFFIX(go_complex_mod) (src)),
+ sm,
SUFFIX(go_complex_angle_pi) (src) / 2);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/goffice/utils/go-style.c new/goffice-0.10.29/goffice/utils/go-style.c
--- old/goffice-0.10.28/goffice/utils/go-style.c 2015-05-31 23:52:32.000000000 +0200
+++ new/goffice-0.10.29/goffice/utils/go-style.c 2016-05-05 00:09:33.000000000 +0200
@@ -1253,10 +1253,16 @@
if (fields & GO_STYLE_FILL) {
if (dst->fill.auto_type)
dst->fill.type = src->fill.type;
+ if (dst->fill.auto_pattern)
+ dst->fill.pattern.pattern = src->fill.pattern.pattern;
if (dst->fill.auto_fore)
dst->fill.pattern.fore = src->fill.pattern.fore;
if (dst->fill.auto_back)
dst->fill.pattern.back = src->fill.pattern.back;
+ if (dst->fill.gradient.auto_dir)
+ dst->fill.gradient.dir = src->fill.gradient.dir;
+ if (dst->fill.gradient.auto_brightness)
+ dst->fill.gradient.brightness = src->fill.gradient.brightness;
}
if (fields & (GO_STYLE_LINE | GO_STYLE_OUTLINE)) {
@@ -1264,6 +1270,8 @@
dst->line.dash_type = src->line.dash_type;
if (dst->line.auto_color)
dst->line.color = src->line.color;
+ if (dst->line.auto_width)
+ dst->line.width = src->line.width;
}
if (fields & GO_STYLE_MARKER) {
if (dst->marker.auto_shape)
@@ -1451,6 +1459,8 @@
else
go_xml_out_add_color (output, "end-color",
style->fill.pattern.fore);
+ gsf_xml_out_add_bool (output, "auto-direction", style->fill.gradient.auto_dir);
+ gsf_xml_out_add_bool (output, "auto-brightness", style->fill.gradient.auto_brightness);
gsf_xml_out_end_element (output);
}
@@ -1476,6 +1486,7 @@
style->fill.pattern.fore);
go_xml_out_add_color (output, "back",
style->fill.pattern.back);
+ gsf_xml_out_add_bool (output, "auto-pattern", style->fill.auto_pattern);
gsf_xml_out_end_element (output);
break;
@@ -1610,6 +1621,8 @@
go_color_from_str (attrs[1], &style->fill.pattern.fore);
else if (attr_eq (attrs[0], "back"))
go_color_from_str (attrs[1], &style->fill.pattern.back);
+ else if (bool_sax_prop ("auto-pattern", attrs[0], attrs[1], &style->fill.auto_pattern))
+ ;
}
static void
@@ -1626,6 +1639,10 @@
go_color_from_str (attrs[1], &style->fill.pattern.fore);
else if (attr_eq (attrs[0], "brightness"))
go_style_set_fill_brightness (style, g_strtod (attrs[1], NULL));
+ else if (bool_sax_prop ("auto-direction", attrs[0], attrs[1], &style->fill.gradient.auto_dir))
+ ;
+ else if (bool_sax_prop ("auto-brightness", attrs[0], attrs[1], &style->fill.gradient.auto_brightness))
+ ;
}
static void
@@ -1764,10 +1781,11 @@
gsf_xml_out_add_cstr_unchecked (output, "type",
G_OBJECT_TYPE_NAME (style));
- if (style->interesting_fields & GO_STYLE_OUTLINE)
- go_style_line_sax_save (output, "outline", &style->line);
if (style->interesting_fields & GO_STYLE_LINE)
go_style_line_sax_save (output, "line", &style->line);
+ else if (style->interesting_fields & GO_STYLE_OUTLINE)
+ /* no need to save both line and outline */
+ go_style_line_sax_save (output, "outline", &style->line);
if (style->interesting_fields & GO_STYLE_FILL)
go_style_fill_sax_save (output, style);
if (style->interesting_fields & GO_STYLE_MARKER)
@@ -1967,6 +1985,10 @@
style->marker.auto_fill_color && style->line.auto_dash &&
style->line.auto_color && style->fill.auto_type &&
style->fill.auto_fore && style->fill.auto_back &&
+ (style->fill.type == GO_STYLE_FILL_NONE ||
+ (style->fill.type == GO_STYLE_FILL_PATTERN && style->fill.auto_pattern) ||
+ (style->fill.type == GO_STYLE_FILL_GRADIENT && style->fill.gradient.auto_dir
+ && style->fill.gradient.auto_brightness)) &&
style->font.auto_scale && style->font.auto_color && style->font.auto_font &&
style->text_layout.auto_angle);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/plugins/plot_xy/gog-xy.c new/goffice-0.10.29/plugins/plot_xy/gog-xy.c
--- old/goffice-0.10.28/plugins/plot_xy/gog-xy.c 2015-06-23 02:20:03.000000000 +0200
+++ new/goffice-0.10.29/plugins/plot_xy/gog-xy.c 2016-04-29 23:09:10.000000000 +0200
@@ -1527,7 +1527,8 @@
if (zmin > zmax) zmax = zmin;
}
n = gog_series_get_xyz_data (GOG_SERIES (series), &x_vals, &y_vals, &z_vals);
- }
+ } else if (GOG_IS_XY_COLOR_PLOT (model))
+ n = gog_series_get_xyz_data (GOG_SERIES (series), &x_vals, &y_vals, &z_vals);
else
n = gog_series_get_xy_data (GOG_SERIES (series), &x_vals, &y_vals);
if (n < 1) {
@@ -1566,7 +1567,7 @@
alloc.x = gog_axis_map_to_view (x_map, x);
alloc.y = gog_axis_map_to_view (y_map, y);
Elt = gog_series_labels_vector_get_element (lbls, i - 1);
- if (Elt->point) {
+ if (Elt && Elt->point) {
g_object_get (Elt->point, "offset", &cur_offset, NULL);
cur_position = gog_data_label_get_position (GOG_DATA_LABEL (Elt->point));
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/po/ChangeLog new/goffice-0.10.29/po/ChangeLog
--- old/goffice-0.10.28/po/ChangeLog 2016-03-22 23:38:00.000000000 +0100
+++ new/goffice-0.10.29/po/ChangeLog 2016-05-07 00:52:57.000000000 +0200
@@ -1,3 +1,7 @@
+2016-05-06 Morten Welinder
+
+ * Release 0.10.29
+
2016-03-22 Morten Welinder
* Release 0.10.28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goffice-0.10.28/tools/ChangeLog new/goffice-0.10.29/tools/ChangeLog
--- old/goffice-0.10.28/tools/ChangeLog 2016-03-22 23:38:00.000000000 +0100
+++ new/goffice-0.10.29/tools/ChangeLog 2016-05-07 00:52:57.000000000 +0200
@@ -1,3 +1,7 @@
+2016-05-06 Morten Welinder
+
+ * Release 0.10.29
+
2016-03-22 Morten Welinder
* Release 0.10.28