2012-03-02 Morten Welinder * Release 0.9.2 2012-02-15 Jean Brefort * goffice/utils/go-path.c (go_path_interpret), (go_path_to_cairo), (go_path_copy), (go_path_append): cleaned GOPath API. * goffice/utils/go-path.h: ditto. 2012-02-14 Morten Welinder * goffice.mk (list_of_sources): Create a list of sources at each directory level. 2012-02-12 Jean Brefort * goffice/graph/gog-axis-line.c (cb_position_toggled): don't move any other axis when changing an axis position. [#669050] 2012-02-10 Jean Brefort * goffice/graph/gog-reg-curve-prefs.ui: add limits to the regression curve display range. [#669252] * goffice/graph/gog-reg-curve.c (limits_changed_cb), (gog_reg_curve_populate_editor), (gog_reg_curve_get_property), (gog_reg_curve_set_property), (gog_reg_curve_class_init), (gog_reg_curve_init), (gog_reg_curve_dataset_dims), (gog_reg_curve_dataset_get_elem), (gog_reg_curve_view_render): ditto. * goffice/graph/gog-reg-curve.h: ditto. * plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_populate_editor): ditto. * plugins/reg_linear/gog-polynom-reg.c (gog_polynom_reg_curve_populate_editor): ditto. 2012-02-07 Jean Brefort * goffice/graph/gog-renderer.c (gog_renderer_draw_gostring): take subscript and superscript into account. 2012-02-06 Jean Brefort * goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix Y-axis label position. [#669325] * goffice/utils/go-line.c: fix documentation. 2012-02-05 Jean Brefort * goffice/graph/gog-axis-line.c (axis_line_render): limit the axis line to its actual span. * goffice/graph/gog-axis.c (gog_axis_map_get_extents), (gog_axis_map_get_bounds): fix bounds for logarithmic axes using only a partial range. [#669257] * goffice/graph/gog-chart-map.c (xy_make_path): add ODF like Bezier cubic spline interpolation. [#663356] * goffice/utils/go-line.c: ditto. * goffice/utils/goffice-utils.h: ditto. 2012-01-26 Morten Welinder * goffice/app/go-doc.c (go_doc_set_dirty_time) (go_doc_get_dirty_time): New function. (go_doc_set_dirty): Set dirty time. (go_doc_class_init): Install new dirty-time property. 2012-01-12 Jean Brefort * goffice/graph/gog-guru.c (graph_typeselect_minor): fixed selector position. [#667793] * goffice/utils/go-cairo.h: set CAIRO_CLAMP to a larger value. [#645938] 2012-01-06 Jean Brefort * goffice/graph/gog-renderer.h: fixed GdkPixbuf usage. [#667005] 2012-01-05 Morten Welinder * goffice/app/go-plugin-service.c (go_plugin_service_resource_finalize): Plug leak. 2011-12-30 Morten Welinder * goffice/utils/go-glib-extras.c (go_guess_encoding): Hook up existing debug code. 2011-12-29 Andreas J. Guelzow * goffice/utils/go-format.c (ethiopic_additional_digits): new (convert_numerals): use ethiopic_additional_digits (handle_ethiopic): new (go_format_execute): call handle_ethiopic (go_render_general): call handle_ethiopic 2011-12-29 Andreas J. Guelzow * goffice/utils/go-format.c (GOFormatShapeFlags): new flag (handle_chinese): add and use shape_flags argument, change all callers 2011-12-29 Andreas J. Guelzow * goffice/utils/go-format.c (chinese_marker_shapes): add large markers (handle_chinese): use '?' for larger than expected markers 2011-12-28 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_parse_number_new_1): handle locales before starting the numbers (numeral_shapes): adjust (chinese_marker_shapes): new (convert_numerals): handle chinese position markers (handle_chinese): new (go_format_execute): call handle_chinese (HANDLE_NUMERAL_SHAPE): call handle_chinese 2011-12-27 Jean Brefort * configure.in: inhibit eps support for now because it makes gnumeric crash when using jpeg images. * goffice/graph/gog-label.c (gog_text_set_property), (gog_text_view_size_request), (gog_text_view_render): add justification for multi lines text. * goffice/gtk/go-font-sel.c (go_font_sel_set_font): allow non integer font sizes. * goffice/utils/go-image.c (go_image_new_from_data): always display an image even when the format is not supported. 2011-12-25 Andreas J. Guelzow * goffice/utils/go-glib-extras.c (go_unichar_issign): add signs 2011-12-25 Morten Welinder * goffice/utils/go-glib-extras.c (go_unichar_issign): New function. 2011-12-23 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_parse_locale): allow for 33 bit locale (handle_common_token): handle shape-flags (go_format_parse_number_new_1): write sign after common tokens (go_format_parse): just look at the locale part for the magic (go_format_dump_program): separate shape flags from shape (plus_shapes): new (convert_minus): change into convert_sign (INSERT_PLUS): new (INSERT_MINUS): look at the right part of the flag (go_format_execute): consider shape_flags, use shapes for non-markup scientific format 2011-12-21 Andreas J. Guelzow * goffice/utils/go-format.c (handle_common_token): store shape separately (go_format_dump_program): handle OP_NUMERAL_SHAPE and make OP_LOCALE more descriptive (minus_shapes): new (numeral_shapes): new (convert_numerals): new (INSERT_MINUS): use the correct symbol (go_format_execute): handle numeral shape (convert_minus): use the correct symbol (go_render_general): add argument, change all callers, handle numeral shape * goffice/utils/go-format.h (go_render_general): add arguments 2011-12-21 Jean Brefort * goffice/graph/gog-axis-line.c (axis_line_get_bbox), (axis_line_render), (axis_circle_get_bbox), (axis_circle_render), (xyz_process): allow for multi-line labels. * goffice/graph/gog-label.c (gog_label_set_property), (gog_label_get_property), (gog_label_class_init), (gog_label_init), (gog_text_view_size_request), (gog_text_view_render): ditto. * goffice/graph/gog-legend.c (cb_size_elements), (cb_render_elements): ditto. * goffice/graph/gog-renderer.c (gog_renderer_draw_gostring), (gog_renderer_draw_text), (gog_renderer_get_gostring_OBR), (gog_renderer_get_text_OBR), (gog_renderer_get_text_AABR), (gog_renderer_get_gostring_AABR): add new arguments. * goffice/graph/gog-renderer.h: ditto. * goffice/utils/go-geometry.c: documentation typo. * plugins/plot_distrib/gog-histogram.c (gog_histogram_plot_view_render): fixed after API change. 2011-12-17 Jean Brefort * plugins/plot_surface/gog-contour.c (gog_contour_plot_foreach_elem): fixed rounding errors in limits displayed in the legend. [#666292] 2011-12-08 Jean Brefort * configure.in: remove pixmaps/Makefile. 2011-12-05 Morten Welinder * goffice/app/go-plugin-service.c: new "resource" service type. * goffice/utils/go-rsm.c (go_rsm_unregister_file): fix precondition. 2011-12-05 Jean Brefort * goffice/canvas/goc-group.c (goc_group_init): initialize the transform matrix. * goffice/canvas/goc-group.h: add a matrix. * goffice/canvas/goc-path.c (goc_path_set_property), (goc_path_get_property), (goc_path_prepare_draw), (goc_path_class_init): add a fill rule. * goffice/canvas/goc-path.h: ditto. * goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw): skip invalid points so that it supports polypolyline. * goffice/utils/go-emf.c (go_wmf_read_points), (go_wmf_read_pointl), (go_emf_polygon), (go_emf_polyline), (go_emf_polybezierto), (go_emf_polylineto), (go_emf_polypolyline), (go_emf_polypolygon), (go_emf_setwindowextex), (go_emf_setwindoworgex), (go_emf_setviewportextex), (go_emf_setviewportorgex), (go_emf_setpolyfillmode), (go_emf_settextalign), (go_emf_settextcolor), (go_emf_movetoex), (go_emf_selectobject), (go_emf_ellipse), (go_emf_rectangle), (go_emf_fillpath), (go_emf_strokeandfillpath), (go_emf_extcreatefontindirectw), (go_emf_exttextoutw), (go_emf_polygon16), (go_emf_polyline16), (go_emf_polybezierto16), (go_emf_polylineto16), (go_emf_polypolyline16), (go_emf_polypolygon16): more work. 2011-12-04 Morten Welinder * goffice/graph/gog-plot-engine.c: Add debug code. 2011-12-03 Morten Welinder * plugins/reg_linear: embed ui files into plugin. * plugins/reg_logfit: embed ui files into plugin. * plugins/smoothing: embed ui files into plugin. * plugins/plot_pie: embed stuff like plot_xy. * plugins/plot_radar: embed stuff like plot_xy. * pixmaps/Makefile.am (dist_icon_DATA): Don't distribute unused icon files. * plugins/plot_distrib: embed stuff like plot_xy. * goffice/graph/gog-error-bar.c (display_combo_desc): Embed error bar pixmaps. * plugins/plot_barcol: embed stuff like plot_xy. * plugins/plot_surface: embed stuff like plot_xy. 2011-12-02 Morten Welinder * plugins/plot_xy: Move icon files here... * pixmaps: ...from here. * plugins/plot_xy/gog-xy.c: embed icons into here. * tools/embedder: Add the ability to unregister resources. * goffice/graph/gog-guru.c (graph_typeselect_minor): Load icons for subtypes here. (cb_plot_types_init): Not here. * goffice/utils/go-pixbuf.c (go_gdk_pixbuf_new_from_file): Optionally load from resource. * goffice/utils/go-glib-extras.c (go_debug_flag): New function. * goffice/utils/go-rsm.c (go_rsm_unregister_file): New function. * goffice/Makefile.am: Embed svg-patterns.xml without compression. * goffice/utils/go-pattern.c (go_pattern_get_svg_path): Use embedded resource, not a file. 2011-12-02 Jean Brefort * goffice/canvas/goc-path.c (goc_path_set_property): make it properly manage the path. * goffice/utils/go-emf.c (go_wmf_read_spoint), (go_wmf_read_lpoint), (go_wmf_read_gocolor), (go_emf_dc_free), (go_emf_convert_coords), (go_emf_polygon), (go_emf_polyline), (go_emf_polybezierto), (go_emf_polylineto), (go_emf_polypolyline), (go_emf_setwindowextex), (go_emf_setwindoworgex), (go_emf_setviewportextex), (go_emf_setviewportorgex), (go_emf_movetoex), (go_emf_intersectcliprect), (go_emf_savedc), (go_emf_restoredc), (go_emf_selectobject), (go_emf_createpen), (go_emf_createbrushindirect), (go_emf_beginpath), (go_emf_endpath), (go_emf_closefigure), (go_emf_fillpath), (go_emf_strokeandfillpath), (go_emf_strokepath), (go_emf_polygon16), (go_emf_polyline16), (go_emf_polybezierto16), (go_emf_polylineto16), (go_emf_parse): implement more. * goffice/utils/go-path.c (go_path_ref): fixed a crasher. * goffice/utils/go-path.h: ditto. 2011-12-01 Morten Welinder * goffice/goffice.c: Include generated embedded-ui.c here and call the registration function. * goffice/*/*.c: use resource, not filename for ui files. 2011-12-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_get_details): When looking for the exponent skip the whole EESI/ESI/EE/E marker 2011-12-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_get_details): do not mistake the scale symbol as mantissa 2011-12-01 Andreas J. Guelzow * goffice/gtk/go-format-sel.c (cb_si_combo_changed): check "Append this SI unit" button 2011-12-01 Andreas J. Guelzow * goffice/gtk/go-format-sel.c (cb_si_unit_toggle): set the scale correctly 2011-11-30 Andreas J. Guelzow * goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets): set initial sensitivity of SI unit checkboxes 2011-11-30 Jean Brefort * goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets), (nfs_init), (go_format_sel_show_preview), (go_format_sel_hide_preview): replaced GtkTable by GtkGrid. * goffice/gtk/go-format-sel.ui: ditto. * tests/mf-demo.c (main): works only if built with GOFFICE_WITH_EMF defined. 2011-11-27 Morten Welinder * configure.in: Post-release bump.