2009-02-22 Morten Welinder * Release 0.7.3 2009-02-22 Jean Brefort * goffice/graph/gog-chart-map.c: (polar_make_path): return a NULL path for cubic splines interpolation (should not happen). * goffice/graph/gog-series.c: (gog_series_populate_editor): fix radial axis test when populating interpolation combo box. [#572698] * plugins/plot_radar/gog-radar.c: (gog_rt_view_render): avoid criticals when a path is NULL (anyway this should not happen). 2009-02-19 Morten Welinder * docs/reference/Makefile.am (IGNORE_HFILES): Ignore gog-equation unless with are compiling it. See bug 572483. 2009-02-19 Jean Brefort * plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update): don't set a value to an invalid length variable. [#572354] 2009-02-06 Tor Lillqvist Bug 570095 - [Win32] Make goffice build without urlmon and htmlhelp headers and libs Unfortunately, MinGW doesn't come with headers and libraries for urlmon and htmlhelp. So to make it easier to build goffice with MinGW, just include the very minimal declarations needed inline, and look up the two functions used at run-time. * goffice/utils/go-file.c (find_mime_from_data): Look up FindMimeFromData from urlmon.dll. * goffice/gtk/goffice-gtk.c (html_help): Look up HtmlHelp from hhctrl.ocx. * goffice/Makefile.am: Drop -lurlmon and -lhtmlhelp. 2009-01-24 Jean Brefort * goffice/graph/gog-series.c: (gog_series_populate_editor): fixed a wrong test. [#568932] 2009-01-16 Jean Brefort * goffice/graph/gog-guru.c: (graph_typeselect_minor): return if the item is the sample graph. [#567931] 2009-01-11 Morten Welinder * goffice/gtk/goffice-gtk.c (go_gtk_url_is_writeable): Undo incorrect fix for "goffice-gtk.c:925: warning: format not a string literal and no format arguments". For now, let gcc issue the false warning. 2008-01-07 Emmanuel Pacaud * goffice/graph/gog-equation.c (gog_equation_update): don't crash when on equation string == "{". 2009-01-06 Morten Welinder * goffice/goffice.c (libgoffice_init): Call g_type_init early as go_conf_init might need it. 2008-01-06 Emmanuel Pacaud * goffice/graph/gog-equation.c (gog_equation_populate_editor): remember last active preference page. 2008-12-31 Jean Brefort * goffice/graph/gog-guru-type-selector.glade: implement the insertion of an application specific custom widget. * goffice/graph/gog-guru.c: (graph_guru_type_selector_new), (gog_guru_add_custom_widget): ditto. * goffice/graph/gog-guru.h: ditto. * goffice/graph/gog-plot-impl.h: remove series minimum number. * goffice/graph/gog-plot.c: (gog_plot_class_init), (gog_plot_clear_series): ditto. * goffice/graph/gog-plot.h: ditto. * plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_class_init): ditto. * plugins/plot_distrib/gog-boxplot.c: (gog_box_plot_class_init): ditto. * plugins/plot_distrib/gog-histogram.c: ditto. (gog_histogram_plot_class_init): * plugins/plot_distrib/gog-probability-plot.c: ditto. (gog_probability_plot_class_init): * plugins/plot_pie/gog-pie.c: (gog_pie_plot_class_init), (gog_ring_plot_class_init): ditto. * plugins/plot_radar/gog-radar.c: (gog_rt_plot_class_init): ditto. * plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_class_init): ditto. * plugins/plot_xy/gog-xy.c: (gog_2d_plot_class_init): ditto. 2008-12-30 Morten Welinder * configure.in (set_more_warnings): Add -Wformat-security. 2008-12-24 Morten Welinder * goffice/utils/go-file.c (is_fd_uri): Allow terminating slash. 2008-12-24 Emmanuel Pacaud Avoid a warning when equation->itex string is NULL. * goffice/graph/gog-equation.c (gog_equation_populate_editor): here. 2008-12-15 Morten Welinder * goffice/utils/datetime.c (datetime_serial_to_g): Simply return 1900-02-29 as an invalid date. Callers now handle it. 2008-12-14 Morten Welinder * */*.c: Clean up glib includes. Patch from Pedro Fragoso. Fixes #564021. 2008-12-13 Emmanuel Pacaud Don't access mathml root element style field directly. That fixes the font sizes of the equation. * goffice/graph/gog-equation.c (_update_equation_style): here. 2008-12-13 Emmanuel Pacaud Avoid a crash when the equation expression is empty. * goffice/graph/gog-equation.c (_update_equation_style): here. 2008-12-13 Emmanuel Pacaud Avoid non-zero page size warnings in all glade files. 2008-12-13 Emmanuel Pacaud Actually use the parent styled_object properties. * goffice/graph/gog-equation.c (_update_equation_style): new. (gog_equation_style_changed): new. (gog_equation_init_style): we don't need text_layout properties. (gog_equation_view_size_request): propagates to the parent size_request method. (gog_equation_view_render): propagates to the parent render method. 2008-12-13 Emmanuel Pacaud Define the theme properties for the GogEquation objects. * goffice/graph/gog-theme.c: here. 2008-12-13 Emmanuel Pacaud Move the style-changed emission after the style have been applied to the styled object. Makes the new style availabe to the signal callbacks. * goffice/graph/gog-styled-object.c (gog_styled_object_set_style): here. 2008-12-12 Pedro Fragoso * goffice/app/goffice-app.h: * goffice/app/io-context.c: * goffice/component/go-component.h: * goffice/cut-n-paste/foocanvas/foo-canvas.h: * goffice/drawing/god-drawing-renderer-cairo.c: * goffice/drawing/god-drawing-renderer-gdk.h: * goffice/drawing/god-drawing-view.h: * goffice/graph/gog-axis-line.c: * goffice/graph/gog-axis.c: * goffice/graph/gog-chart.c: * goffice/graph/gog-child-button.c: * goffice/graph/gog-child-button.h: * goffice/graph/gog-error-bar.c: * goffice/graph/gog-graph.c: * goffice/graph/gog-grid.c: * goffice/graph/gog-guru.c: * goffice/graph/gog-guru.h: * goffice/graph/gog-label.c: * goffice/graph/gog-object.c: * goffice/graph/gog-plot.c: * goffice/graph/gog-reg-curve.c: * goffice/graph/gog-renderer.h: * goffice/graph/gog-series.c: * goffice/graph/gog-series.h: * goffice/graph/gog-style.c: * goffice/gtk/go-3d-rotation-sel.c: * goffice/gtk/go-3d-rotation-sel.h: * goffice/gtk/go-action-combo-color.c: * goffice/gtk/go-action-combo-pixmaps.c: * goffice/gtk/go-action-combo-stack.c: * goffice/gtk/go-action-combo-text.c: * goffice/gtk/go-charmap-sel.c: * goffice/gtk/go-charmap-sel.h: * goffice/gtk/go-color-palette.c: * goffice/gtk/go-color-palette.h: * goffice/gtk/go-color-selector.c: * goffice/gtk/go-color-selector.h: * goffice/gtk/go-combo-box.c: * goffice/gtk/go-combo-box.h: * goffice/gtk/go-combo-color.c: * goffice/gtk/go-combo-color.h: * goffice/gtk/go-combo-pixmaps.c: * goffice/gtk/go-combo-pixmaps.h: * goffice/gtk/go-combo-text.c: * goffice/gtk/go-combo-text.h: * goffice/gtk/go-font-sel.c: * goffice/gtk/go-font-sel.h: * goffice/gtk/go-format-sel.c: * goffice/gtk/go-format-sel.h: * goffice/gtk/go-gradient-selector.h: * goffice/gtk/go-graph-widget.c: * goffice/gtk/go-graph-widget.h: * goffice/gtk/go-image-sel.c: * goffice/gtk/go-image-sel.h: * goffice/gtk/go-line-selector.h: * goffice/gtk/go-locale-sel.c: * goffice/gtk/go-locale-sel.h: * goffice/gtk/go-marker-selector.h: * goffice/gtk/go-palette.c: * goffice/gtk/go-palette.h: * goffice/gtk/go-pattern-selector.h: * goffice/gtk/go-pixbuf.h: * goffice/gtk/go-rotation-sel.c: * goffice/gtk/go-rotation-sel.h: * goffice/gtk/go-selector.c: * goffice/gtk/go-selector.h: * goffice/gtk/goffice-gtk.h: * goffice/math/go-cspline.c: * goffice/math/go-math.h: * goffice/math/go-matrix3x3.h: * goffice/math/go-rangefunc.c: * goffice/math/go-rangefunc.h: * goffice/math/go-regression.c: * goffice/math/go-regression.h: * goffice/ms-compat/go-ms-parser.c: * goffice/ms-compat/god-drawing-ms.c: * goffice/utils/go-color.c: * goffice/utils/go-color.h: * plugins/plot_barcol/gog-1.5d.c: * plugins/plot_barcol/gog-barcol-prefs.c: * plugins/plot_distrib/gog-boxplot.c: * plugins/plot_pie/gog-pie-prefs.c: * plugins/plot_radar/gog-radar.c: * plugins/reg_linear/gog-polynom-reg.c: GNOME Goal: Clean up GLib and GTK+ includes (Closes: #564021) 2008-12-11 Emmanuel Pacaud Use a GtkTextView for the equation expression. * goffice/graph/gog-equation-prefs.glade: use a GtkTextView. * goffice/graph/gog-equation.c (cb_equation_buffer_changed): replaces cb_equation_entry_changed. (gog_equation_populate_editor): use a GtkTextView. (gog_equation_update): try to fix the user entered expression in order to have a valid mathml tree. 2008-12-08 Morten Welinder * goffice/gtk/go-combo-box.c (go_combo_box_realize): Set cursor in a realize handler, not at init time. * goffice/utils/go-format.c (go_format_parse_number_E): Handle E-00 as well as E+00. 2008-12-07 Emmanuel Pacaud Add an optional dependency to GMathml, for equation support. It's disabled by default. * configure.in: gmathml check. * goffice/goffice.c: Declare GogEquationType. * goffice/graph/Makefile.am: Conditionally build gog-equation.[ch] * goffice/graph/gog-equation.[ch]: new. * goffice/graph/gog-equation-prefs.c: new. * goffice/graph/gog-chart.c: add GogEquation to the possible chart children. * goffice/graph/gog-renderer.c (gog_renderer_draw_equation): new. 2008-11-29 Jean Brefort * goffice/graph/goffice-graph.h: make GogAxisBase public, at least a bit. * goffice/graph/gog-axis-line-impl.h: ditto. * goffice/graph/gog-axis-line.c: ditto. * goffice/graph/gog-axis-line.h: ditto. * plugins/plot_barcol/gog-line.c: make drop lines go to the axis instead of bottom (or left when horizontal). * plugins/plot_xy/gog-xy.c: ditto. 2008-11-24 Jean Brefort * goffice/graph/gog-axis.c: add support for clamped splines. * goffice/graph/gog-axis.h: ditto. * goffice/graph/gog-chart-map.c: ditto. * goffice/graph/gog-chart-map.h: ditto. * goffice/graph/gog-series-impl.h: ditto. * goffice/graph/gog-series-prefs.glade: ditto. * goffice/graph/gog-series.c: ditto. * goffice/graph/gog-series.h: ditto. * goffice/utils/go-line.c: ditto. * goffice/utils/go-line.h: ditto. * plugins/plot_xy/gog-xy.c: ditto. * plugins/plot_xy/gog-xy.h: ditto. 2008-11-20 Morten Welinder * goffice/utils/go-file.c (go_get_file_permissions): Fix memory corruption. Probably fixes #561708. 2008-11-16 Jean Brefort * goffice/math/go-spline.c: removed unnecessary casts. * goffice/math/go-distribution.c: removed unused gtk dependent function. * goffice/math/go-distribution.h: ditto. * plugins/plot_distrib/gog-probability-plot.c: fixed compilation without gtk. 2008-11-11 Jean Brefort * goffice/math/go-cspline.c: (go_cspline_init): don't use cast with g_new. * goffice/utils/go-bezier.c: (go_bezier_spline_init): create a struct, not a pointer to a struct, and don't cast. 2008-11-11 Jean Brefort * goffice/graph/gog-chart.c: set title priority to 0. [#152675] * goffice/graph/gog-graph.c: (gog_graph_class_init): ditto. 2008-11-11 Jean Brefort * goffice/graph/gog-chart-map.c: (make_path_linear), (make_path_spline), (make_path_cspline), (xy_make_path_step), (xy_make_path), (polar_make_path_step), (polar_make_path), (gog_chart_map_make_path): add new spline interpolation modes. * goffice/graph/gog-chart-map.h: ditto. * goffice/graph/gog-reg-curve.c: (gog_reg_curve_view_render): use natural cubic splines instead of Bezier splines. * goffice/graph/gog-series-impl.h: allow interpolation over invalid data. * goffice/graph/gog-series-prefs.glade: add new spline interpolation modes and allow interpolation over invalid data. * goffice/graph/gog-series.c: (gog_series_set_property), (gog_series_get_property), (cb_line_interpolation_changed), (cb_line_interpolation_skip_changed), (gog_series_populate_editor), (gog_series_class_init): ditto. * goffice/graph/gog-smoothed-curve.c: (gog_smoothed_curve_view_render): update after gog_chart_map_make_path signature change. * goffice/utils/Makefile.am: add bezier splines evaluation. * goffice/utils/go-line.c: (go_line_interpolation_as_label), (go_line_interpolation_supports_radial), (go_line_interpolation_auto_skip): add new spline interpolation modes. * goffice/utils/go-line.h: ditto. * plugins/plot_radar/gog-radar.c: (gog_rt_view_render): update after gog_chart_map_make_path signature change. * plugins/plot_xy/gog-xy.c: (gog_xy_view_render): add new spline interpolation modes. * plugins/plot_xy/gog-xy.h: ditto. 2008-11-10 Jean Brefort * goffice/math/go-cspline.c: (go_cspline_init): fixed evaluation for cubic and clamped limits. 2008-11-10 Jean Brefort * goffice/graph/gog-graph.c: (gog_graph_set_property): fixed typo. 2008-11-10 Jean Brefort * goffice/utils/go-bezier.c: new code for bezier splines. * goffice/utils/go-bezier.h: ditto. 2008-11-07 Jean Brefort * plugins/plot_distrib/go-distribution-prefs.c: (go_distribution_pref_new): fixed a memory leak. 2008-11-07 Jean Brefort * goffice/graph/gog-chart-map.c: (make_path_spline): use true splines. 2008-11-01 Jean Brefort * goffice/utils/go-file.c: (go_url_show): removed duplicated GError*. 2008-11-01 Jean Brefort * configure.in: drop the libgnome related code. [#558709] * goffice/goffice-features.h.in: ditto. * goffice/gtk/goffice-gtk.c: (go_help_display): ditto. * goffice/utils/go-file.c: (go_url_show): ditto. 2008-11-01 Jean Brefort * configure.in: add GOFFICE_WITH_GCONF and use gtk_show_uri when present. [#558709] * goffice/app/go-conf.c: ditto. * goffice/goffice-features.h.in: ditto. * goffice/gtk/goffice-gtk.c: (go_help_display): ditto. * goffice/utils/go-file.c: (go_url_show): ditto, (go_get_mime_type): simplify. 2008-10-31 Jean Brefort * pixmaps/Makefile.am: add new icon for GogXYZContourPlot. * pixmaps/chart_contour_2_1.png: new icon. * pixmaps/chart_contour_2_1.svg: ditto. * plugins/plot_surface/gog-contour.c: fixed various regressions. * plugins/plot_surface/gog-xyz-surface.c: add GogXYZContourPlot. * plugins/plot_surface/gog-xyz-surface.h: ditto. * plugins/plot_surface/gog-xyz.c: ditto. * plugins/plot_surface/plot-types.xml.in: ditto. 2008-10-25 Morten Welinder * goffice/gtk/go-action-combo-color.c (go_action_combo_color_finalize): Plug leak. * configure.in (long double): Add --without-long-double option. Fixes #557045. Patch by Halton Huo. * goffice/gtk/go-combo-box.c (go_combo_box_popup_hide_unconditional): Fix some very strange ref-unrefing. 2008-10-24 Morten Welinder * goffice/gtk/go-combo-text.c (go_combo_text_init): Plug leak. * goffice/gtk/go-color-palette.c (go_color_palette_set_group): Balance references. 2008-10-24 Jean Brefort * plugins/plot_surface/xl-surface.c: (get_y_vector): add labels if none is given, (xl_contour_plot_class_init): use GOG_SERIES_SUGGESTED for categories. 2008-10-24 Jean Brefort * plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_axis_get_bounds): make things work when there is no data for an axis. 2008-10-23 Morten Welinder * goffice/gtk/go-action-combo-color.c (go_action_combo_color_create_tool_item): Plug leak. 2008-10-22 Jean Brefort * goffice/math/go-cspline.c: (go_cspline_destroy): return without freeing if the argument is NULL. [#557442] 2008-10-18 Jody Goldberg * configure.in : post release bump