2012-11-16 Morten Welinder * Release 0.9.90 2012-11-15 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_str_delocalize): delocalize "\ " to " " 2012-11-14 Jean Brefort * goffice/graph/gog-renderer.c (gog_renderer_get_pixbuf), (_gsf_gdk_pixbuf_save), (gog_renderer_export_image): removed ifdef GOFFICE_WITH_GTK around gdk_pixbuf calls. 2012-11-12 Jean Brefort * goffice/graph/gog-theme.c (theme_loaded): fixed series style. * plugins/plot_pie/gog-pie.c (gog_pie_view_render): fixed a leak. 2012-11-12 Jean Brefort * goffice/utils/go-style.c (go_style_init): adjust bevel limit. 2012-11-11 Jean Brefort * goffice/graph/gog-theme.c (elem_start), (parse_done_cb), (gog_theme_prep_sax): avoid warnings when loading a known theme, (gog_theme_fillin_style): fix auto fields. 2012-11-10 Jean Brefort * goffice/utils/go-emf.c (go_dib_create_pixbuf_from_data): read 24 bits images. 2012-11-10 Jean Brefort * goffice/graph/gog-axis-color-map.c: * goffice/graph/gog-theme.c (gog_theme_set_name), (gog_theme_set_description), (gog_theme_dup), (gog_theme_edit): prepare for theme edition. * goffice/graph/gog-theme.h: ditto. * goffice/utils/go-emf.c (go_emf_parse): do not crash when loading an .xls file with an embedded EMF. [#688047] 2012-11-10 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_scientific_number_element_to_odf): add argument (go_format_output_scientific_number_to_odf): fix checking for literal E 2012-11-09 Andreas J. Guelzow * office/gtk/go-format-sel.c (cb_force_exponent_sign_toggle): new (fmt_dialog_enable_widgets): add widget and handle F_FORCE_EXPONENT_SIGN_BUTTON (nfs_init): add widget and connect cb_force_exponent_sign_toggle * goffice/gtk/go-format-sel.ui: add checkbox * goffice/utils/go-format.c (go_format_generate_scientific_str): use exponent_sign_forced (go_format_details_init): initialize exponent_sign_forced (go_format_get_details): determine exponent_sign_forced * goffice/utils/go-format.h: add exponent_sign_forced field to details 2012-11-09 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_execute): fix placement of minus sign 2012-11-09 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_parse): use 32 bits for the locale 2012-11-08 Jean Brefort * goffice/graph/gog-axis-color-map.c (color_map_load_from_uri): cosmetic changes. * goffice/graph/gog-graph.c (gog_graph_populate_editor): use Id instead of name to list themes. * goffice/graph/gog-theme.c (gog_theme_sax_save), (gog_theme_registry_lookup), (theme_load_from_uri): make embedded theme saving really work. 2012-11-07 Jean Brefort * goffice/graph/gog-graph-prefs.ui: add a button to save an embedded theme. * goffice/graph/gog-graph.c (cb_theme_changed), (save_theme_cb), (gog_graph_populate_editor): ditto. * goffice/graph/gog-theme.c (gog_theme_save_to_home_dir): new function, (gog_theme_registry_get_theme_names), (theme_load_from_uri): fix a locale related issue. * goffice/graph/gog-theme.h: ditto. 2012-11-06 Jean Brefort * goffice/app/go-doc.c (go_doc_write), (load_color_map), (load_theme), (go_doc_read): serialize custom themes. * goffice/graph/gog-axis-color-map.c (gog_axis_color_map_write), (gog_axis_color_map_save), (gog_axis_color_map_persist_init), (_gog_axis_color_maps_shutdown): cosmetic changes. * goffice/graph/gog-graph.c (gog_graph_get_property), (gog_graph_populate_editor), (gog_graph_sax_save), (gog_graph_prep_sax), (gog_graph_persist_init), (theme_loaded_cb), (gog_graph_set_theme): serialize custom themes. * goffice/graph/gog-theme.c (gog_theme_set_property), (gog_theme_get_property), (gog_theme_element_free), (gog_theme_finalize), (gog_theme_class_init), (gog_theme_init), (save_name_cb), (save_desc_cb), (save_elem_cb), (save_series_style_cb), (gog_theme_build_uri), (gog_theme_sax_save), (gog_theme_save), (theme_start), (name_start), (name_end), (desc_end), (gog_theme_add_element), (elem_start), (color_map_start), (theme_loaded), (parse_done_cb), (gog_theme_prep_sax), (gog_theme_persist_init), (gog_theme_find_element), (gog_theme_new), (gog_theme_get_id), (gog_theme_get_description), (gog_theme_get_resource_type), (gog_theme_registry_lookup), (build_predefined_themes), (theme_load_from_uri), (_gog_themes_shutdown): * goffice/graph/gog-theme.h: ditto. * goffice/utils/go-style.c (go_style_force_auto), (go_style_clear_auto): ditto. * goffice/utils/go-style.h: ditto. * goffice/utils/goffice-utils.c: ditto. * goffice/utils/goffice-utils.h: ditto. 2012-11-05 Jean Brefort * goffice/app/go-doc.c (go_doc_write), (load_color_map), (go_doc_save_resource): simplify. * goffice/app/go-doc.h: ditto. * goffice/graph/gog-axis-color-map-prefs.ui: only save a modified map. * goffice/graph/gog-axis-color-map.c (gog_axis_color_map_set_property), (gog_axis_color_map_get_property), (gog_axis_color_map_class_init), (save_name_cb), (build_uri), (gog_axis_color_map_write), (color_stop_start), (map_start), (name_start), (name_end), (color_stops_cmp), (gog_axis_color_map_save), (color_map_loaded), (parse_done_cb), (gog_axis_color_map_prep_sax), (gog_axis_map_persist_init), (gog_axis_color_map_get_resource_type), (gog_axis_color_map_set_name), (gog_axis_color_map_dup), (update_snapshots), (gog_axis_color_map_edit), (gog_axis_color_map_from_colors), (gog_axis_color_map_get_from_id), (_gog_axis_color_maps_init), (_gog_axis_color_maps_shutdown): implement color map duplication. * goffice/graph/gog-axis-color-map.h: ditto. * goffice/graph/gog-axis-prefs.ui: ditto. * goffice/graph/gog-axis.c (gog_axis_sax_save): save a color map loaded from a document, (color_map_dup_cb), (color_map_save_cb), (color_map_changed_cb), (gog_axis_populate_editor): color map duplication. * goffice/graph/gog-theme.c (build_predefined_themes), (theme_load_from_uri): ditto. * goffice/utils/go-persist.c: fix includes. * goffice/utils/goffice-utils.c (go_resource_type_get_type): add new enum. * goffice/utils/goffice-utils.h: ditto. 2012-11-04 Jean Brefort * goffice/graph/gog-axis-color-map-prefs.ui: make it functional. * goffice/graph/gog-axis-color-map.c (gog_axis_color_map_finalize), (gog_axis_color_map_get_snapshot), (gog_axis_color_map_save), (gog_axis_color_map_compare), (update_snapshots), (erase_cb), (define_cb), (bin_changed_cb), (gog_axis_color_map_edit), (gog_axis_color_map_from_colors), (color_map_loaded), (color_map_load_from_uri), (_gog_axis_color_maps_init): implement the creation of a new color map. * goffice/graph/gog-axis.c (gog_axis_set_property), (color_map_new_cb), (gog_axis_populate_editor): ditto. 2012-11-04 Jean Brefort * goffice/graph/gog-guru.c (cb_graph_guru_delete_item): select another child with the same type when one exists instead of the parent. [#687102] 2012-11-03 Jean Brefort * goffice/Makefile.am: add goffice-utils.c. * goffice/app/go-doc.c (go_doc_finalize), (go_doc_write), (load_color_map), (go_doc_read), (go_doc_save_color_map): save and load used color maps. * goffice/app/go-doc.h: ditto. * goffice/graph/gog-axis-color-map.c (gog_axis_color_map_finalize), (gog_axis_color_map_init), (gog_axis_color_map_get_id), (gog_axis_color_map_from_colors), (save_name_cb), (gog_axis_color_map_write), (color_stop_start), (map_start), (name_start), (name_end), (color_map_loaded), (color_map_load_from_uri), (parse_done_cb), (gog_axis_color_map_sax_push_parser), (gog_axis_color_map_get_from_id), (_gog_axis_color_maps_init): ditto. * goffice/graph/gog-axis-color-map.h: ditto. * goffice/graph/gog-axis.c (gog_axis_prep_sax), (gog_axis_sax_save), (gog_axis_set_property), (gog_axis_get_property), (gog_axis_persist_init): ditto. * goffice/utils/goffice-utils.h: new uuid generator copied from telepathy-gabble. * goffice/utils/goffice-utils.c: new file. 2012-11-01 Jean Brefort * goffice/Makefile.am: add new ui file. * file goffice/app/go-doc.c: add support for color maps. * file goffice/app/go-doc.h: ditto. * file goffice/app/goffice-app.h: ditto. * file goffice/goffice.h: ditto. * file goffice/graph/goffice-graph.h: ditto. * goffice/graph/gog-axis-color-map-prefs.ui: new ui file. * goffice/graph/gog-axis-color-map.c: new functions. * goffice/graph/gog-axis-color-map.h: ditto. * goffice/graph/gog-axis-prefs.ui: allow for color map changes. * goffice/graph/gog-axis.c: ditto. * goffice/graph/gog-color-scale.c: minor update. * goffice/graph/gog-graph.c: make sure we can access the GODoc when loading. * goffice/graph/gog-graph.h: ditto. * goffice/graph/gog-object-xml.c: ditto. * goffice/graph/gog-object.c: ditto. * goffice/graph/gog-theme.c: minor update. * plugins/plot_surface/gog-contour.c: interpolate colors when using a color map with less colors than there are levels. 2012-10-28 Morten Welinder * goffice/math/go-regression.c (go_regression_stat_destroy): Plug leak. * goffice/app/go-conf-gsettings.c (go_conf_free_node): Plug leak. (go_conf_get_node): Plug leak. * goffice/graph/gog-theme.c (gog_theme_finalize): Get rid of ->dcm too. 2012-10-28 Jean Brefort * goffice/Makefile.am: new objects. * goffice/graph/goffice-graph.h: ditto. * goffice/graph/gog-axis.c (gog_axis_init_style), (gog_axis_init), (gog_axis_get_color_map): add a color map to GogAxis. * goffice/graph/gog-axis.h: ditto. * goffice/graph/gog-axis-color-map.c: new objects. * goffice/graph/gog-axis-color-map.h: ditto. * goffice/graph/gog-color-scale.c: ditto. * goffice/graph/gog-color-scale.h: ditto. * goffice/graph/gog-theme.c (map_area_series_solid_default), (map_area_series_solid_guppi), (build_predefined_themes), (theme_load_from_uri), (_gog_themes_init), (_gog_themes_shutdown), (gog_theme_get_color_map): add two color maps to themes. * goffice/graph/gog-theme.h: ditto. * plugins/plot_surface/gog-contour.c (gog_contour_plot_foreach_elem), (gog_contour_view_render): use GogAxisColorMap API for color plots. * plugins/plot_xy/gog-xy.c (gog_2d_plot_update): fixed warning, (gog_xy_view_render), (gog_xy_series_populate_editor): ditto for contour plots. 2012-10-27 Morten Welinder * goffice/graph/gog-axis-line.c (axis_line_get_bbox): Improve padding. Fixes #686473. Patch by Jean. 2012-10-20 Jean Brefort * goffice/canvas/goc-image.c (goc_image_draw): fix image clipping. [#686490] 2012-10-20 Jean Brefort * goffice/graph/gog-label.c (gog_text_view_size_request), (gog_text_view_render): fix rotated frames position. * goffice/gtk/go-rotation-sel.c (cb_rotate_changed), (cb_rotate_canvas_realize), (set_rot_from_point), (go_rotation_sel_new), (go_rotation_sel_new_full): optionally support -180° to 180° as allowed by GOStyle. * goffice/gtk/go-rotation-sel.h: ditto. * goffice/gtk/go-rotation-sel.ui: minor layout fix. * goffice/utils/go-style.c (text_layout_init): use a full circle rotation selector. 2012-10-19 Jean Brefort * goffice/graph/gog-label.c (gog_text_view_render): 2012-10-19 Jean Brefort * goffice/graph/gog-legend.c (cb_render_elements): restore pixel aligned lines. [#686476] 2012-10-10 Jean Brefort * goffice/utils/go-style.h: add some more auto fields. 2012-10-05 Jean Brefort * goffice/graph/gog-legend.c (cb_render_elements): don't draw a marker when not needed. [#685484] 2012-10-04 Jean Brefort * goffice/graph/gog-axis.c (gog_axis_populate_editor): don't show the span tab for axes which don't support it. [#685405] 2012-10-04 Jean Brefort * goffice/graph/gog-axis-line.c (axis_line_render): fixed axis handles positions. [#684886] 2012-10-02 Jean Brefort * goffice/app/go-doc-impl.h: make image buffer really private. * goffice/app/go-doc.c (go_doc_finalize), (go_doc_init), (go_doc_init_write), (go_doc_init_read), (go_doc_write), (go_doc_save_image), (load_image), (load_image_data), (go_doc_end_read), (go_doc_image_fetch): ditto. 2012-10-01 Jean Brefort reviewed by: * goffice/graph/gog-series-labels-prefs.ui: * goffice/graph/gog-series-labels.c (gog_data_label_class_init): 2012-09-28 Emmanuel Pacaud * goffice/graph/gog-equation.c: remove creation of goffice.mml. 2012-09-27 Jean Brefort * goffice/graph/gog-series-labels-prefs.ui: allow multiple selection. * goffice/graph/gog-series-labels.c (used_selection_changed_cb), (add_cb), (remove_cb), (gog_series_labels_update): fixed crash after gtk+ behavior change. [#684889] 2012-09-27 Chris Leonard * goffice/gtk/go-locale-sel.c: updated locales. [#682749] 2012-09-26 Jean Brefort * configure.in: automatically use lasem when present. 2012-09-23 Jean Brefort * goffice/graph/gog-axis.c (map_linear_auto_bound): fix scale when data differ are nearly identical. [#684599] 2012-09-20 Jean Brefort * plugins/plot_distrib/gog-histogram.c (gog_histogram_plot_view_render): clip drawing to the plot area. [#684195] 2012-09-15 Jean Brefort * plugins/plot_distrib/gog-histogram.c (gog_histogram_plot_series_update): don't crash when no valid data is available. [#684047] 2012-09-13 Jean Brefort * plugins/plot_xy/Makefile.am: add XYMinMax plot. [#683493] * plugins/plot_xy/chart_minmax_1_3.svg: new icon. * plugins/plot_xy/chart_minmax_1_4.svg: * plugins/plot_xy/chart_minmax_2_3.svg: * plugins/plot_xy/chart_minmax_2_4.svg: * plugins/plot_xy/gog-xy.c (go_plugin_init): register xy-minmax types. * plugins/plot_xy/gog-xy-minmax.c: Scattered MinMax plot implementation. (gog_xy_minmax_view_render), (gog_xy_minmax_view_class_init): * plugins/plot_xy/gog-xy-minmax.h: * plugins/plot_xy/plot-types.xml.in: register new plot type. * plugins/plot_xy/plugin.xml.in: ditto. 2012-09-11 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_to_odf): try to improve ODF export of unidentified formats. 2012-09-09 Jean Brefort * goffice/graph/gog-equation.c (gog_equation_update): fix warning, (gog_equation_init): intialize the lasem document style. * goffice/utils/go-style.c (go_style_persist_prep_sax): cosmetic. 2012-09-06 Morten Welinder * configure.in: Post-release bump.