2013-04-26 Morten Welinder * Release 0.10.2 2013-04-26 Jean Brefort * goffice/gtk/go-font-sel.c (gfs_screen_changed): ensure a full initialization of all fields in the font selector. [#698867] 2013-04-25 Jean Brefort * goffice/graph/gog-series.c (gog_series_populate_editor): hide the skip invalid checkbox for line and area plots. * plugins/plot_barcol/gog-line.c (gog_line_view_render): fixed skip invalid test. 2013-04-24 Jean Brefort * goffice/graph/gog-series-prefs.ui: fix interpolation selector. * goffice/graph/gog-series.c (gog_series_set_property), (cb_line_interpolation_changed), (gog_series_populate_editor): ditto. * goffice/utils/go-style.c (outline_init): * plugins/plot_barcol/gog-1.5d.c (go_plugin_init): add new area series type. * plugins/plot_barcol/gog-line.c: implement interpolation in line and area plots. [#698534] * plugins/plot_barcol/gog-line.h: ditto. 2013-04-24 Morten Welinder * goffice/canvas/goc-widget.c (goc_offscreen_box_size_allocate): Clip crazy height/width to avoid program crash. 2013-04-19 Morten Welinder * goffice/gtk/go-action-combo-color.c (go_action_combo_color_create_tool_item): Show arrow only in horizontal mode. * goffice/gtk/go-combo-pixmaps.c (cb_preview_clicked): If arrow isn't shown, just pop up the choices. * goffice/gtk/go-action-combo-pixmaps.c (go_action_combo_pixmaps_create_tool_item): Show arrow only in horizontal mode. * goffice/gtk/go-combo-box.c (go_combo_box_class_init): Install "title" and "show-arrow" properties. 2013-04-18 Morten Welinder * goffice/gtk/go-combo-box.c (go_combo_box_dispose): Rename from go_combo_box_destroy and hooked up accordingly. * goffice/gtk/go-combo-pixmaps.c (go_combo_pixmaps_init): Keep a ref to grid. (go_combo_pixmaps_screen_changed): Install as class handler, not explicit signal. (go_menu_pixmaps_add_element): Remove workaround for gtk+ 2.16 bug. 2013-04-17 Jean Brefort * goffice/graph/gog-renderer.c (gog_renderer_export_image): don't cache markers when exporting to svg until things are fixed in cairo (https://bugs.freedesktop.org/show_bug.cgi?id=63633). [#698162] 2013-04-16 Morten Welinder * goffice/gtk/goffice-gtk.c (go_gtk_file_sel_dialog): Don't use hack post gtk+ 3.4. 2013-04-16 Jean Brefort * goffice/utils/go-editor.c (go_editor_add_page): add a reference to the widget when not using a scrolled window. Avoids unrefing a disposed object. [#698150] 2013-04-16 Jean Brefort * goffice/canvas/goc-item.c (goc_item_set_transform): fix test. [#698101] * goffice/utils/go-editor.c (go_editor_new): initialize GOEditor::use_scrolled. [#698102] 2013-04-15 Jean Brefort * plugins/plot_xy/gog-xy.c (gog_xy_view_render): fixed style in scatter plot after a valid but with invisible line series. [#698057] 2013-04-07 Jean Brefort * goffice/utils/go-style.c (font_init): show the font face selector. [#697243] 2013-03-30 Jean Brefort * goffice/component/go-component.c (go_component_set_property), (go_component_get_property), (go_component_finalize), (go_component_class_init), (go_component_init), (go_component_duplicate), (go_component_set_inline), (go_component_get_inline), (go_component_set_use_font_from_app), (go_component_get_use_font_from_app): new property and functions. * goffice/component/go-component.h: ditto. 2013-03-29 Jean Brefort * goffice/graph/gog-object.c (gog_object_get_editor): force pages inside a scrolled window. * goffice/utils/go-editor.c (go_editor_add_page), (go_editor_set_store_page), (go_editor_set_use_scrolled_window): make the scrolled window optional. [#696825] * goffice/utils/go-editor.h: 2013-03-27 Morten Welinder * goffice/canvas/goc-widget.c (goc_widget_connect_signals): Plug leak. (goc_widget_set_widget): Properly disconnect signals. 2013-03-27 Jean Brefort * goffice/canvas/goc-widget.c (goc_widget_connect_signals), (goc_widget_set_widget): connetc the signals to all widgets including those inside a container. [#696533] 2013-03-27 Jean Brefort * goffice/canvas/goc-widget.c (goc_widget_distance): fixed distance evaluation. This ensure that the cursor is correctly updated. 2013-03-27 Jean Brefort * goffice/gtk/go-format-sel.ui: fix currency selector visibility. [#696647] 2013-03-26 Morten Welinder * goffice/utils/go-pattern.c (go_pattern_is_solid): Handle greys. * goffice/canvas/goc-group.c (goc_group_add_child): Only notify of canvas changes when the canvas actually does change. * goffice/canvas/goc-item.c (goc_item_get_style_context): Track parent changes. 2013-03-25 Jean Brefort * goffice/canvas/goc-item.c (goc_item_draw), (goc_item_draw_region): simplify. 2013-03-25 Morten Welinder * goffice/canvas/goc-item.c (goc_item_get_style_context): Avoid 3.4 dependency. 2013-03-25 Jean Brefort * plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_render): one more uninitialized value issue fixed. 2013-03-25 Jean Brefort * plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): don't use uninitialized values. [#696569] 2013-03-25 Morten Welinder * goffice/canvas/goc-polyline.c (goc_polyline_draw): Fix cairo save stack imbalance. 2013-03-23 Morten Welinder * goffice/canvas/goc-item.c (goc_item_get_style_context): New function. 2013-03-22 Morten Welinder * goffice/gtk/go-optionmenu.c (go_option_menu_position): Plug leak. 2013-03-21 Morten Welinder * goffice/gtk/go-optionmenu.c (go_option_menu_build): New function. * goffice/gtk/go-font-sel.c: Add underline support. 2013-03-20 Morten Welinder * goffice/gtk/go-optionmenu.c (go_option_menu_set_history): Plug leak. (go_option_menu_get_menu): New function. * goffice/gtk/go-font-sel.c: Add color group. (go_font_sel_set_color): Add is_default argument and make this public. * goffice/gtk/go-color-group.c (go_color_group_finalize): Don't leak the hash. * goffice/gtk/go-combo-color.c (go_combo_color_class_init): Fix type of first argument of color_changed signal. Fixes #696022. 2013-03-20 Jean Brefort * goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw), (goc_ellipse_update_bounds), (goc_ellipse_distance), (goc_ellipse_draw): fixed line width. * goffice/canvas/goc-path.c (goc_path_prepare_draw), (goc_path_update_bounds), (goc_path_draw): fixed line width and position in RTL canvas. * goffice/canvas/goc-polygon.c (goc_polygon_prepare_path), (goc_polygon_update_bounds), (goc_polygon_distance), (goc_polygon_draw): ditto. * goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw), (goc_polyline_draw): ditto. * goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw), (goc_rectangle_update_bounds), (goc_rectangle_draw): fixed line width. * goffice/canvas/goc-styled-item.c (goc_styled_item_set_cairo_line), (goc_styled_item_get_scale_line_width), (goc_styled_item_set_scale_line_width): new helper functions. * goffice/canvas/goc-styled-item.h: ditto. 2013-03-20 Morten Welinder * goffice/gtk/go-font-sel.c (reload_faces): Use go_font_sel_set_style to restore user's choice, not string matching on face name. Fixes #696168. 2013-03-19 Jean Brefort * goffice/canvas/goc-arc.c (goc_arc_prepare_draw): make item transform work. * goffice/canvas/goc-canvas.c (button_press_cb): typo. * goffice/canvas/goc-circle.c (goc_circle_draw), (goc_circle_update_bounds): make item transform work. * goffice/canvas/goc-component.c (goc_component_draw), (goc_component_update_bounds): ditto. * goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw): ditto. * goffice/canvas/goc-group.c (goc_group_cairo_transform): ditto. * goffice/canvas/goc-image.c (goc_image_draw): ditto. * goffice/canvas/goc-item.c (goc_item_draw), (goc_item_draw_region), (_goc_item_transform): ditto. * goffice/canvas/goc-item.h: ditto. * goffice/canvas/goc-line.c (goc_line_update_bounds), (goc_line_draw): ditto. * goffice/canvas/goc-path.c (goc_path_prepare_draw): * goffice/canvas/goc-pixbuf.c (goc_pixbuf_update_bounds), (goc_pixbuf_draw): ditto. * goffice/canvas/goc-polygon.c (goc_polygon_update_bounds), (goc_polygon_draw): ditto. * goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw): ditto. * goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw): ditto. * goffice/canvas/goc-text.c (goc_text_prepare_draw), (goc_text_update_bounds), (goc_text_distance), (goc_text_draw): ditto. * goffice/utils/go-emf.c (go_emf_movetoex), (go_emf_exttextoutw): start work on text support. 2013-03-18 Morten Welinder * goffice/gtk/go-font-sel.c (reload_families): Add more observed. (my_get_face_name): Go a little crazy with resolving aliases and typos. 2013-03-17 Morten Welinder * goffice/gtk/go-optionmenu.c (go_option_menu_button_press): Focus on click if button is set to do that. 2013-03-16 Morten Welinder * goffice/gtk/goffice-gtk.c (go_gtk_grid_remove_row): New function. 2013-03-14 Morten Welinder * goffice/gtk/go-font-sel.c (gfs_fill_font_name_list): Implement font filtering. * goffice/gtk/go-font-sel-dialog.c: Just delegate to GOFontSel. (gfsd_init): Set a title. * goffice/gtk/go-font-sel.c: Implement the GtkFontChooser interface. * goffice/gtk/go-font-sel-dialog.c (gfsd_get_property) (gfsd_set_property): Partially implement. * goffice/gtk/go-font-sel.c (gfs_class_init): Default show-style to FALSE. (go_font_sel_set_style): Make this public and use pango type args. (go_font_sel_set_sample_attributes): Handle super and subscript. (go_font_sel_get_font_desc): New function. * goffice/gtk/goffice-gtk.c (go_gtk_widget_replace): New function. * goffice/utils/go-pango-extras.c (go_pango_measure_string): Move from goffice/gtk/goffice-gtk.c * goffice/gtk/go-font-sel.c (gfs_class_init): Add constructor since we depend on construction parameters. 2013-03-13 Morten Welinder * goffice/gtk/go-font-sel.c (go_font_sel_get_font): Make it clear that this doesn't work and hasn't done so for a while. (gfs_class_init): Use proper widget hierarchy. * goffice/gtk/go-optionmenu.c (go_option_menu_init): Be nice and mark composite child. 2013-03-12 Morten Welinder * goffice/gtk/go-optionmenu.c (go_option_menu_position): Simplify and make it work for menu items that aren't check items. (go_option_menu_select_item): Make public. * goffice/utils/go-glib-extras.c (go_slist_create): Constify. 2013-03-10 Morten Welinder * goffice/math/go-regression.c: Bring a blunt clue bat to the attention of gtk-doc. * goffice/math/go-cspline.c: ditto. * goffice/math/go-cspline.c (go_csplinel_get_type): Fix reversed conditionals. * goffice/app/file.c (GOFileOpener): Add property getters and setters. Add interactive property. * goffice/app/file.c (GOFileSaver): Add interactive property. 2013-03-09 Morten Welinder * configure.ac: Post-release bump.