12006-09-10  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
2
3	Add drag and drop support to color selector.
4	Postpone palette content creation to widget realization.
5
6	* goffice/gtk/go-color-selector.c (cb_color_dialog_response): use
7	go_color_selector_set_color.
8	(go_color_selector_drag_data_received),
9	(go_color_selector_drag_data_get),
10	(go_color_selector_drag_fill_icon): new.
11	(go_color_selector_new): setup drag and drop.
12	(go_color_selector_set_color): return TRUE if color actually changed.
13	* goffice/gtk/go-palette.c (go_palette_realize): fill menu here. That
14	makes dialog with lot of selectors appear faster.
15	(go_palette_new): don't fill menu.
16	(go_palette_show_automatic): ditto.
17	(go_palette_show_custom): ditto.
18	* goffice/gtk/go-selector.c (go_selector_drag_data_received),
19	(go_selector_drag_data_get), (go_selector_drag_begin): new.
20	We should make drag_begin smarter and don't require a custom
21	implementation.
22	(go_selector_setup_dnd): new.
23
242006-09-10  Jean Brefort  <jean.brefort@normalesup.org>
25
26	* goffice/component/go-component-factory.c:
27	(goc_plugin_services_shutdown): clean hash tables,
28	(go_components_set_mime_suffix), (go_components_get_mime_suffix):
29	new utilities.
30	* goffice/component/go-component-factory.h: add two utilities.
31
322006-09-07  Jean Brefort  <jean.brefort@normalesup.org>
33
34	* plugins/plot_boxes/gog-histogram.c:
35	(gog_histogram_plot_view_render): check if a series is present before
36	using it (fixes #354705).
37
382006-09-07  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
39
40	* .cvsignore:
41	* goffice/.cvsignore:
42	* goffice/app/.cvsignore:
43	* goffice/component/.cvsignore:
44	* goffice/data/.cvsignore:
45	* goffice/drawing/.cvsignore:
46	* goffice/graph/.cvsignore:
47	* goffice/gtk/.cvsignore:
48	* goffice/ms-compat/.cvsignore:
49	* goffice/utils/.cvsignore: added *.def
50
51	* configure.in: distinguishs between native Win32 and Cygwin. The later one is
52	actually a kind of Unix whose share object shares the properties of a DLL.
53
54	* goffice.mk:
55	* goffice/goffice.h: defines GO_VAR_DECL
56
57	* goffice-win32.mk:
58	* dumpdef.pl: recognizes GO_VAR_DECL (dllexport) for global variables.
59
60	* goffice/Makefile.am:
61	* goffice/app/Makefile.am:
62	* goffice/component/Makefile.am: fixed Win32 build
63
64	* goffice/app/go-plugin.c:
65	* goffice/gtk/goffice-gtk.c:
66	* goffice/utils/go-file.[ch]: added go_file_access().
67
68	* goffice/app/file.c:
69	* goffice/app/go-doc-control-impl.h:
70	* goffice/app/go-doc.[ch]:
71	* goffice/component/go-component-factory.c:
72	* goffice/component/go-component.h:
73	* goffice/cut-n-paste/foocanvas/foo-canvas-line.c:
74	* goffice/cut-n-paste/foocanvas/foo-canvas-polygon.c:
75	* goffice/drawing/god-drawing-renderer-gdk.c:
76	* goffice/graph/gog-axis.c:
77	* goffice/graph/gog-guru.c:
78	* goffice/graph/gog-renderer-cairo.h:
79	* goffice/graph/gog-renderer-svg.c:
80	* goffice/graph/gog-style.c:
81	* goffice/graph/gog-theme.c:
82	* goffice/gtk/go-action-combo-color.c:
83	* goffice/gtk/go-action-combo-pixmaps.c:
84	* goffice/gtk/go-color-palette.c:
85	* goffice/gtk/go-combo-box.c:
86	* goffice/gtk/go-combo-color.c:
87	* goffice/gtk/go-combo-pixmaps.c:
88	* goffice/gtk/go-font-sel.c:
89	* goffice/gtk/go-graph-widget.h:
90	* goffice/utils/format.c:
91	* goffice/utils/formats.c:
92	* goffice/utils/go-color.h:
93	* goffice/utils/go-font.h:
94	* goffice/utils/go-format.[ch]:
95	* goffice/utils/go-geometry.c:
96	* goffice/utils/go-glib-extras.[ch]:
97	* goffice/utils/go-marker.c:
98	* goffice/utils/go-math.h:
99	* goffice/utils/go-pattern.c: replaced all #warning with /* FIXME ...*/
100	replaced all calls to rint() with go_rint(), uses GO_VAR_DECL for all
101	public global variables, replaced ssize_t with gssize, etc.
102
1032006-09-04  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
104
105	* goffice/gtk/go-gradient-selector.[ch]: new.
106	* goffice/gtk/go-color-selector.c (go_color_selector_set_color): new.
107	* goffice/gtk/go-marker-selector.c (go_marker_palette_render_func):
108	use marker colors.
109	(go_marker_selector_new): ditto.
110	(go_marker_selector_set_colors): new.
111	* goffice/gtk/go-palette.c (cb_swatch_expose): don't leak cairo_t.
112
1132006-09-03  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
114
115	* goffice/gtk/go-color-group.c (go_color_group_add_color): fix
116	history.
117
1182006-09-03  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
119
120	New GOPalette and GOSelector widgets for unification
121	and beautification of goffice selectors. They depend on
122	cairo, so I'm not using them for now, until we change gtk
123	version requirement.
124
125	* goffice/gtk/go-line-selector.[ch],
126	* goffice/gtk/go-marker-selector.[ch],
127	* goffice/gtk/go-pattern-selector.[ch],
128	* goffice/gtk/go-color-selector.[ch],
129	* goffice/gtk/go-selector.[ch],
130	* goffice/gtk/go-palette.[ch]: new.
131
1322006-08-21  Jean Brefort  <jean.brefort@normalesup.org>
133
134	* goffice/graph/gog-guru.c: (graph_guru_init_format_page): explicitly
135	create the FooCanvas widget instead of using the custom widget mechanism
136	from libglade, because when called from the Abiword plugin, the
137	foo_canvas_new might be unresolved and lead to a crash
138	(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190579).
139	* goffice/graph/gog-guru.glade: ditto.
140
1412006-08-20  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
142
143	Add a graph theme selector.
144
145	* goffice/graph/gog-graph.c (cb_theme_changed): new.
146	(cb_force_theme): new.
147	(gog_graph_populate_editor): new.
148	(gog_graph_class_init): install graph property editor.
149	(apply_theme): new.
150	* goffice/graph/gog-plot-engine.c (gog_theme_service_read_xml): adapt
151	to GogTheme API changes.
152	* goffice/graph/gog-theme.c: remove theme hash caches. They were
153	broken. I didn't see a good way to fix them.
154	(gog_theme_register): renamed to gog_theme_registry_add. Change theme
155	list order.
156	(gog_theme_new_from_file): new. Don't register theme to be consistent
157	with got_theme_new.
158	(gog_theme_register_file): removed.
159	(gog_theme_lookup): renamed to gog_theme_registry_lookup.
160	(gog_theme_registry_get_theme_names): new.
161	(gog_themes_init): Theme for chart titles. Tweak Guppi theme.
162
1632006-08-18  Jean Brefort  <jean.brefort@normalesup.org>
164
165	* goffice/graph/gog-style.c: (str_as_image_type),
166	(image_type_as_str), (gog_style_fill_sax_save),
167	(gog_style_image_load), (gog_style_fill_load),
168	(gog_style_sax_load_fill_image), (gog_style_persist_prep_sax): save
169	image fill options.
170	* goffice/utils/go-image.c: (go_image_get_pixbuf): don't crash if image
171	is NULL [#348780].
172
1732006-08-17  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
174
175	* goffice/graph/gog-axis-line.c (gog_axis_base_set_property): handle
176	new padding property.
177	(gog_axis_base_get_property): ditto.
178	(gog_axis_base_class_init): ditto.
179	(cb_position_toggled): make padding spinbutton insensitive when
180	padding setting is not relevent.
181	(cb_padding_changed): new.
182	(gog_axis_base_populate_editor): handle padding spinbutton.
183	(gog_axis_base_get_padding): new.
184	(axis_line_point): take padding setting into account.
185	(axis_line_get_bbox): ditto.
186	(axis_line_render): ditto. Store axis position here for use by
187	axis tools...
188	(x_process): ... instead of here. Adapt to new axis_line_render and
189	axis_line_point signature.
190	(xy_process): ditto.
191	(radar_process): ditto.
192	* goffice/graph/gog-axis-prefs.glade: add new padding spinbutton.
193
1942006-08-11  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
195
196	* goffice/graph/gog-object.c (gog_editor_get_notebook): always show
197	notebook tabs. Makes thing more consistent.
198	* plugins/plot_xy/gog-xy.c (gog_xy_series_populate_editor): don't display
199	details on first page.
200
2012006-08-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
202
203	* configure.in: bump cairo req to 1.2.0 for
204	cairo_surface_set_fallback_resolution.
205	* goffice/graph/gog-renderer-cairo.c
206	(gog_renderer_cairo_export_image): call
207	cairo_surface_set_fallback_resolution.
208	* goffice/gtk/goffice-gtk.c (cb_format_combo_changed): new.
209	(gui_get_image_save_info): disable resolution spinbutton for formats
210	that don't require a resolution setting.
211	* goffice/utils/go-image.c: set is_dpi_useful to FALSE for PDF format.
212	* goffice/app/go-plugin.c (plugin_get_loader_if_needed): fix compiler
213	warning.
214	(go_plugin_list_read_for_subdirs_of_dir): ditto.
215
2162006-08-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
217
218	* goffice/graph/gog-axis.c (map_discrete_calc_ticks): use go_fake_ceil
219	and go_fake_floor variants preventively.
220	(map_linear_calc_ticks): ditto. (Not preventively in this case, I've
221	really seen an issue on my laptop, where lower bound tick was not
222	displayed for minimum < 0.0).
223	(map_log_auto_bounds): ditto.
224	(map_log_calc_ticks): ditto.
225
2262006-07-30  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
227
228	* plugins/plot_radar/gog-radar.c (gog_rt_view_render): fix a crash
229	where clip path == NULL (#349238).
230
2312006-07-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
232
233	* goffice/graph/gog-theme.c (gog_themes_init): set serie default fill
234	style to GOG_FILL_STYLE_PATTERN.
235	* plugins/plot_boxes/gog-histogram.c (gog_histogram_plot_view_render):
236	make histogram plots sharp.
237
2382006-07-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
239
240	* plugins/plot_xy/gog-axy.c (gog_xy_view_render): make step
241	interpolation sharp.
242
2432006-07-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
244
245	* plugins/plot_barcol/gog-barcol.c (barcol_draw_rect): make barcol
246	plot log scale safe.
247
2482006-07-21  Morten Welinder  <terra@gnome.org>
249
250	* goffice/utils/go-file.c (go_url_resolve_relative): Add
251	preconditions.
252
2532006-06-30  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
254
255	* plugins/plot_radar/gog-radar.c (gog_rt_view_class_init): disable
256	default clipping.
257
2582006-06-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
259
260	Add support for polar plot units (degrees, radians, grads).
261
262	* goffice/graph/gog-axis.c (map_linear_auto_bound): handle radian
263	and grad case.
264	(gog_axis_set_format): request an object update.
265	(gog_axis_set_property): handle new circular_rotation and polar_unit
266	properties.
267	(gog_axis_get_property): ditto.
268	(gog_axis_class_init): ditto.
269	(gog_axis_pref_state_free): new.
270	(gog_axis_populate_polar_unit_combo): new.
271	(cb_polar_unit_changed): new.
272	(cb_rotation_changed): new.
273	(gog_axis_populate_editor): handle circular_rotation and polar_unit
274	properties.
275	(gog_axis_set_polar_unit): new.
276	(gog_axis_get_polar_unit): new.
277	(gog_axis_get_polar_perimeter): new.
278	(gog_axis_get_circular_rotation): new.
279	* goffice/graph/gog-chart.c (calc_circle_parameters): fix wrong
280	calculations.
281	(gog_chart_map_new): handle other polar units.
282	* goffice/utils/format.c (go_format_number): handle new ?pi/? format.
283	* plugins/plot_radar/gog-radar.c (gog_polar_plot_axis_get_bounds):
284	don't limit bounds to 0 / 360 °.
285
2862006-06-28  Jody Goldberg <jody@gnome.org>
287
288	* goffice/graph/gog-style.h : include <cairo.h> rather than
289	  <cairo/cairo.h>
290	* goffice/utils/go-image.h : ditto.
291
2922006-06-16  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
293
294	Add support for background stripes.
295
296	* goffice/graph/gog-chart.c (grid_line_render): render stripes, then
297	lines. Add a kludge layer on top of the initial kludge, since we
298	don't use GogView::render, but specialized render functions.
299	* goffice/graph/gog-grid-line.c (gog_grid_line_init_style): enable
300	fill property.
301	(fill_rectangle): new.
302	(gog_grid_line_xy_render): new.
303	(gog_grid_line_radial_render): new.
304	(gog_grid_line_circular_render): new.
305	(gog_grid_line_view_render): not called directly by GogView::render.
306	Now has a stripes parameter.
307	(gog_grid_line_view_render_lines): new.
308	(gog_grid_line_view_render_stripes): new.
309	* goffice/graph/gog-renderer.c (gog_renderer_get_ring_wedge_vpath):
310	automatically swap in and out radii. Fix fill decision.
311	Fix ring wedges.
312	* goffice/graph/gog-style.c (gog_style_init): set fill to none by
313	default. That'll be overriden by theme settings.
314	* goffice/graph/gog-theme (gog_themes_init): init fill property of
315	GogGridLine objects.
316
3172006-06-15  Jody Goldberg <jody@gnome.org>
318
319	http://bugzilla.gnome.org/show_bug.cgi?id=344747
320	* goffice/graph/gog-axis.c (gog_axis_get_format) : new.
321	(gog_axis_set_format) : make public.
322
3232006-06-14  Jody Goldberg <jody@gnome.org>
324
325	* goffice/utils/go-marker.c : constify
326
327	* goffice/utils/go-cairo.c : tweak comments to make gtk-doc happy.
328
3292006-06-05  Jean Brefort  <jean.brefort@normalesup.org>
330
331	* goffice/graph/gog-renderer-cairo.c: (grc_draw_polygon): GogStyle now use
332	GOImage instead of GdkPixbuf.
333	* goffice/graph/gog-renderer-gnome-print.c:
334	(gog_renderer_gnome_print_draw_polygon): ditto.
335	* goffice/graph/gog-renderer-pixbuf.c:
336	(gog_renderer_pixbuf_draw_polygon): ditto.
337	* goffice/graph/gog-style.c: (gog_style_set_image_preview),
338	(gog_style_set_fill_image_filename),
339	(gog_style_create_cairo_pattern): ditto.
340	* goffice/graph/gog-style.h: ditto.
341	* goffice/utils/go-cairo.c: (go_cairo_fill): ditto.
342	* goffice/utils/go-image.c: (go_image_set_property),
343	(go_image_class_init), (go_image_get_pixbuf),
344	(go_image_new_from_file), (go_image_get_pixels),
345	(go_image_get_rowstride), (go_image_fill): add new functions and fixed some
346	issues.
347	* goffice/utils/go-image.h: new functions.
348
3492006-06-05  Jean Brefort  <jean.brefort@normalesup.org>
350
351	* goffice/utils/go-marker.c: (marker_update_pixbuf): free old
352	pixbuf if any,
353	(go_marker_assign): unref destination pixbuf, not source.
354
3552006-06-02  Jean Brefort  <jean.brefort@normalesup.org>
356
357	* goffice/goffice.c: (libgoffice_init): set initialized to TRUE
358	after initialization.
359
3602006-05-31  Jean Brefort  <jean.brefort@normalesup.org>
361
362	* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_view_render): fixed
363	discrete axis origin.
364	* plugins/plot_barcol/gog-minmax.c: (gog_minmax_view_render): ditto.
365
3662006-05-30  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
367
368	* pixmaps/chart_scatter_*: simplification.
369
3702006-05-30  Jean Brefort  <jean.brefort@normalesup.org>
371
372	* goffice/gtk/go-graph-widget.c: modifying the graph secured.
373
3742006-05-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
375
376	* goffice/utils/go-path.c: new.
377	* goffice/utils/go-path.h: new.
378	* goffice/utils/go-path-impl.h: new.
379	* goffice/utils/go-cairo.c: new.
380	* goffice/utils/go-cairo.h: new. These files are just commited, not
381	used yet.
382
3832006-05-26  Jean Brefort  <jean.brefort@normalesup.org>
384
385	* plugins/plot_xy/gog-xy.c: add four types of stepped plots.
386	* plugins/plot_xy/gog-xy.h: ditto.
387	* plugins/plot_xy/plot-types.xml.in: ditto.
388
3892006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
390
391	* goffice/utils/go-image.c: Fix preprocessor conditionals.
392
3932006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
394
395	* goffice/graph/gog-renderer-cairo.c: (grc_draw_polygon),
396	(gog_renderer_cairo_update): use GOImage.
397	* goffice/graph/gog-style.c: (gog_style_create_cairo_pattern): ditto.
398	* goffice/graph/gog-style.h: ditto.
399	* goffice/utils/go-image.c: new GOImage object.
400	* goffice/utils/go-image.h: ditto.
401	* goffice/utils/goffice-utils.h: ditto.
402
4032006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
404
405	* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render):
406	fixed rendering of series lines in bar plots.
407
4082006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
409
410	* pixmaps/Makefile.am: add new pixmaps for step plots.
411	* pixmaps/chart_scatter_3_1.svg: new icon.
412	* pixmaps/chart_scatter_4_1.png: ditto.
413	* pixmaps/chart_scatter_4_1.svg: ditto.
414	* pixmaps/chart_scatter_4_2.png: ditto.
415	* pixmaps/chart_scatter_4_2.svg: ditto.
416	* pixmaps/chart_scatter_4_3.png: ditto.
417	* pixmaps/chart_scatter_4_3.svg: ditto.
418	* pixmaps/chart_scatter_4_4.png: ditto.
419	* pixmaps/chart_scatter_4_4.svg: ditto.
420
4212006-05-24  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
422
423	* goffice/graph/gog-axis.c (get_adjusted_tick_array): removed.
424	(map_log_calc_ticks): use g_renew instead of get_adjusted_tick_array.
425
4262006-05-22  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
427
428	* goffice/graph/gog-axis.c (map_log_calc_ticks): fix major start tick.
429	(get_adjusted_tick_array): obviously, I'm not reliable when it comes
430	to calculate memory allocation sizes, so emit a critical when
431	something's wrong.
432
4332006-05-22  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
434
435	* goffice/utils/go-image.c (go_image_build_pixbuf_format_infos):
436	default alpha_support to FALSE.
437	* goffice/graph/gog-renderer-cairo.c
438	(gog_renderer_cairo_export_image): extend image export to all format
439	with pixbuf savers.
440	* goffice/graph/gog-renderer-pixbuf.c
441	(gog_renderer_pixbuf_export_image): ditto.
442	* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): ditto.
443
4442006-05-22  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
445
446	* goffice/utils/go-format.c: new alpha_support property for
447	GOImageFormatInfo. Tells wether export format support alpha channel.
448	* goffice/graph/gog-renderer-cairo.c
449	(gog_renderer_cairo_export_image): for image formats that don't
450	support alpha channel, composite onto white background.
451	* goffice/graph/gog-renderer-pixbuf.c
452	(gog_renderer_pixbuf_export_image): ditto.
453
4542006-05-19  Morten Welinder  <terra@gnome.org>
455
456	* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): Fix
457	preprocessor conditionals.
458
4592006-05-16  Jean Brefort  <jean.brefort@normalesup.org>
460
461	* goffice/gtk/go-graph-widget.c: removed unused GOGraphWidget::chart,
462	and reimplemented helper function go_graph_widget_get_chart for
463	compatibility.
464
4652006-05-14  Jean Brefort  <jean.brefort@normalesup.org>
466
467	* goffice/graph/gog-graph.c: (gog_graph_render_to_cairo): new function.
468	* goffice/graph/gog-graph.h: ditto.
469	* goffice/graph/gog-renderer-cairo.c: added "cairo" and "is-vector"
470	properties to allow rendering to an external cairo_t structure.
471
4722006-05-14  Jean Brefort  <jean.brefort@normalesup.org>
473
474	* configure.in: use Cairo if present.
475	* goffice/goffice-features.h.in: export GOFFICE_WITH_CAIRO.
476	* goffice/graph/gog-style.c: compile even without cairo.
477	* goffice/graph/gog-style.h: ditto.
478
4792006-05-13  Jody Goldberg <jody@gnome.org>
480
481	* goffice/graph/gog-style.c (gog_style_create_cairo_pattern) :
482	  constify and fix some warnings.
483
4842006-05-13  Jean Brefort  <jean.brefort@normalesup.org>
485
486	* goffice/app/go-plugin.c: (go_plugins_add): new function.
487	* goffice/app/go-plugin.h: ditto.
488
4892006-05-12  Morten Welinder  <terra@gnome.org>
490
491	* goffice/utils/format.c (split_time): Handle invalid dates
492	sanely.
493
4942006-05-12  Jean Brefort  <jean.brefort@normalesup.org>
495
496	* goffice/utils/go-color.h: define GO_COLOR_TO_CAIRO.
497
4982006-05-12  Jean Brefort  <jean.brefort@normalesup.org>
499
500	* goffice/graph/gog-style.c: (pixbuf_to_cairo),
501	(gog_style_create_cairo_pattern): new cairo support functions.
502	* goffice/graph/gog-style.h: ditto.
503
5042006-05-12  Christian Neumair  <chris@gnome-de.org>
505
506	* goffice/gtk/go-graph-widget.c:
507	* goffice/gtk/go-graph-widget.h: Add multiple size modes,
508	modify go_graph_widget_new to take a GogGraph *.
509
510	* tests/pie-demo.c: (main): Pass NULL to go_graph_widget_new.
511
5122006-05-08  Jean Brefort  <jean.brefort@normalesup.org>
513
514	* goffice/component/go-component.c: change api.
515	* goffice/component/go-component.h: ditto.
516
5172006-05-08  Morten Welinder  <terra@gnome.org>
518
519	* goffice/utils/format.c (go_render_general): Extracted from
520	gnumeric.
521	(go_fmt_general_float, go_fmt_general_int): Remove.  All callers
522	fixed.
523	(go_render_number_scientific, go_format_number): Handle
524	unicode_minus.
525
526	* goffice/utils/go-format.c (go_format_value_gstring): Add
527	unicode_minus flag.  All callers changed.
528
529	* goffice/utils/go-font.c (go_font_metrics_new,
530	go_font_metrics_free, go_font_metrics_unit): New, moved from
531	Gnumeric.
532
5332006-05-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
534
535	* goffice/graph/gog-style.c (text_layout_init): Add border around
536	rotation selector widget.
537
5382006-05-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
539
540	* goffice/graph/gog-renderer-gnome-print.c
541	(gog_renderer_gnome_print_draw_text):
542	Use markup when compiled with cairo support.
543	(gog_renderer_gnome_print_get_text_OBR): ditto.
544
5452006-05-02  Jean Brefort  <jean.brefort@normalesup.org>
546
547	* plugins/plot_pie/gog-pie.c: (gog_pie_view_render): fixed max angle
548	for partial ring plots (which are not implemented).
549
5502006-05-01  Jean Brefort  <jean.brefort@normalesup.org>
551
552	* plugins/plot_pie/gog-pie.c: (gog_pie_plot_class_init),
553	(gog_pie_plot_init), (find_element), (gog_pie_view_render):
554	use percentage for span instead of degrees.
555	* plugins/plot_pie/plot-types.xml.in: ditto.
556
5572006-05-01  Jean Brefort  <jean.brefort@normalesup.org>
558	* pixmaps/Makefile.am: add new pixmaps for half pies.
559	* pixmaps/chart_pie_3_1.png: ditto.
560	* pixmaps/chart_pie_3_1.svg: ditto.
561	* pixmaps/chart_pie_3_2.png: ditto.
562	* pixmaps/chart_pie_3_2.svg: ditto.
563	* plugins/plot_pie/gog-pie.c: (gog_pie_plot_set_property),
564	(gog_pie_plot_get_property), (gog_pie_plot_class_init),
565	(gog_pie_plot_init), (find_element), (gog_pie_view_render):
566	add support for half pies.
567	* plugins/plot_pie/gog-pie.h: ditto.
568	* plugins/plot_pie/plot-types.xml.in: ditto.
569
5702006-04-27  Morten Welinder  <terra@gnome.org>
571
572	* goffice/gtk/go-action-combo-text.c
573	(go_action_combo_text_create_menu_item): New function.  Fixes
574	#157901.
575	(go_action_combo_text_finalize): Plug leak.
576
5772006-04-25  Jody Goldberg <jody@gnome.org>
578
579	* configure.in : post release bump to 0.3.1
580
5812006-04-23  Jody Goldberg <jody@gnome.org>
582
583	* Release 0.3.0
584
5852006-04-22  Morten Welinder  <terra@gnome.org>
586
587	* goffice/gtk/go-optionmenu.c (cb_select): Send "changed" signal
588	here.
589
5902006-04-20  Morten Welinder  <terra@gnome.org>
591
592	* goffice/gtk/go-optionmenu.c: Simplify.
593
594	* goffice/gtk/go-action-combo-text.c
595	(go_tool_combo_text_set_tooltip): Implement.
596
5972006-04-19  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
598
599	* goffice/gtk/go-image-save-dialog-extra.glade: new.
600	* goffice/gtk/goffice-gtk.c (go_gtk_select_image): use glade file
601	above for widgets in extra area. Displays a spin box for selecting
602	output resolution.
603
6042006-04-18  Morten Welinder  <terra@gnome.org>
605
606	* goffice/gtk/goffice-gtk.c (go_gtk_dialog_run): Hold a ref to the
607	dialog until we're done with it.  Don't install an [Esc] handler
608	since gtk_dialog_run does that now.
609
6102006-04-17  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
611
612	* goffice/utils/format.c (go_render_number_scientific): fix for
613	#338554 (1-epsilon was displayed 10.00E-01 instead of 1.00E-00).
614	Also fix handling of optional right digits.
615
6162006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
617
618	* configure.in: Remove obsolete entry for no_NO
619	* po/no.po: And the translation.
620
6212006-04-16  Jody Goldberg <jody@gnome.org>
622
623	* *.[ch] : Clear the easy bit for --without-gtk
624	  Leaving us with a library that lack GdkPixbuf and needs a
625	  replacement for GtkAnchorType.  Still not exactly turn-key but it
626	  makes the primary elements clear.
627
6282006-04-10  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
629
630	* goffice/graph/gog-axis.c (map_log_baseline): inverted or not,
631	baseline is always min.
632	* plugins/plot_boxes/gog-histogram.c
633	(gog_histogram_plot_view_render): fix in case of log y axis.
634
6352006-04-10  Morten Welinder  <terra@gnome.org>
636
637	* goffice/utils/format.c (format_compile): Fix handling of
638	[$curr].  Fixes #337796.
639	(format_compile): Fix ABR.
640
6412006-04-08  Jean Brefort  <jean.brefort@normalesup.org>
642
643	* goffice/graph/gog-object-xml.c: (gogo_start): use
644	gog_trend_line_new_by_name instead of obsolete gog_reg_curve_new_by_name.
645
6462006-04-08  Jean Brefort  <jean.brefort@normalesup.org>
647
648	* configure.in: add new plugin (smoothed curves).
649	* goffice/graph/Makefile.am: add new files.
650	* goffice/graph/goffice-graph.h: add GogTrendLine and GogSmoothedCurve
651	types.
652	* goffice/graph/gog-chart.c: fixed typo.
653	* goffice/graph/gog-guru.c: replace GogRegCurve by GogTrendLine.
654	* goffice/graph/gog-object-xml.c: ditto.
655	* goffice/graph/gog-plot-engine.c: ditto.
656	* goffice/graph/gog-plot-engine.h: ditto.
657	* goffice/graph/gog-reg-curve.c: make GogRegCurve derive from GogTrendLine.
658	* goffice/graph/gog-reg-curve.h: ditto.
659	* goffice/graph/gog-series-impl.h: replace regression curves by trend lines.
660	* goffice/graph/gog-series.c: ditto.
661	* goffice/graph/gog-smoothed-curve.c: new smoothed curves:
662	* goffice/graph/gog-smoothed-curve.h: ditto.
663	* goffice/graph/gog-theme.c: added tredn lines and removed
664	regression curves.
665	* goffice/graph/gog-trend-line.c: new parent object for regression
666	curves and trend lines.
667	* goffice/graph/gog-trend-line.h: ditto.
668	* plugins/Makefile.am: add smoothing plugin.
669	* plugins/plot_barcol/gog-line.c: accept trend lines.
670	* plugins/plot_boxes/gog-histogram.c: ditto.
671	* plugins/plot_xy/gog-xy.c: ditto.
672	* plugins/reg_linear/plugin.xml.in: changed service name.
673	* plugins/reg_logfit/plugin.xml.in: ditto.
674	* plugins/smoothing/Makefile.am: new moving average curves.
675	* plugins/smoothing/gog-exp-smooth.c: ditto.
676	* plugins/smoothing/gog-exp-smooth.glade: ditto.
677	* plugins/smoothing/gog-exp-smooth.h: ditto.
678	* plugins/smoothing/gog-moving-avg.c: ditto.
679	* plugins/smoothing/gog-moving-avg.glade: ditto.
680	* plugins/smoothing/gog-moving-avg.h: ditto.
681	* plugins/smoothing/plugin.c: ditto.
682	* plugins/smoothing/plugin.xml.in: ditto.
683	* plugins/smoothing/types.xml.in: ditto.
684
6852006-04-06  Morten Welinder  <terra@gnome.org>
686
687	* goffice/gtk/goffice-gtk.c
688	(go_dialog_guess_alternative_button_order): New function.
689
6902006-04-06  Morten Welinder  <terra@gnome.org>
691
692	* goffice/gtk/goffice-gtk.c (go_access): Replace by g_access, if
693	present, and by access otherwise.
694
695	* goffice/app/go-plugin.c (go_plugin_deactivate): Only unload base
696	if it is actually loaded.
697
698	* goffice/utils/format.c (go_format_number): Show 0/x also when
699	whole==0, even if we rendered it (blank).
700
701	* goffice/utils/formats.c (go_currency_date_format_init): Match
702	more fraction formats.
703	(cell_format_is_fraction): Adjust accordingly.
704
7052006-04-05  Jean Brefort  <jean.brefort@normalesup.org>
706
707	* plugins/plot_xy/Makefile.am: add new glade file.
708	* plugins/plot_xy/gog-xy-series-prefs.glade: new glade file.
709	* plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
710	(gog_xy_series_set_property), (gog_xy_series_get_property),
711	(invalid_toggled_cb), (gog_xy_series_populate_editor),
712	(gog_xy_series_class_init): use zero instead of invalid data or
713	skip them [#334697].
714	* plugins/plot_xy/gog-xy.h: ditto.
715
7162006-04-04  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
717
718	Fix engineering format: http://bugzilla.gnome.org/show_bug.cgi?id=129706
719	Adds a special format using pango markup for superscripted exponents,
720	currently only enabled in format selector in graph guru when using
721	cairo renderer.
722
723	* goffice/graph/gog-axis.c (gog_axis_populate_editor): enable format
724	with markup when using cairo.
725	* goffice/gtk/go-format-sel.c (generate_format): handle new format
726	settings.
727	(go_format_sel_set_style_format): ditto.
728	(cb_engineering_toggle): new.
729	(cb_superscript_toggle): new.
730	(cb_superscript_hide_1_toggle): new.
731	(fmt_dialog_enable_widgets): handle new scientific format widgets.
732	(nfs_init): ditto.
733	(go_format_sel_new_full): new. Provides a way to enable format with
734	markup.
735	(go_format_sel_new): creates a new format selector with pango markup
736	disabled.
737	* goffice/gtk/go-format-sel.glade: add new widgets for scientific
738	format.
739	* goffice/utils/format.c (go_render_number_scientific): new.
740	(do_render_number): call go_render_number_scientific when needed.
741	(go_format_as_scientific): handle exponent step, use of marlup and
742	simplification of mantissa.
743	(go_format_number): fix handling of scientific/engineering format.
744	* goffice/utils/formats.c (go_currency_date_format_init): expand
745	science/percentage format.
746	(cell_format_is_number): handle simplification of mantissa, use of
747	markup and exponent step for scientific format.
748
7492006-04-04  Morten Welinder  <terra@gnome.org>
750
751	* goffice/app/go-plugin.c (go_plugin_deactivate): Unload the
752	plugin so the shutdown hook gets called.
753	(go_plugin_read_service_list): Ditto.
754
7552006-03-29  Morten Welinder  <terra@gnome.org>
756
757	* goffice/utils/format.c (append_day): Use go_date_weekday_name.
758	(append_month): Use go_date_month_name.  Fix UTF-8 problem.
759	(day_short, day_long, month_short, month_long): Remove.
760	(format_entry_ctor): Don't setup regexps.
761	(format_entry_set_fmt): Ditto.
762	(format_entry_dtor): Don't destroy regexps.
763
764	* goffice/utils/Makefile.am (libgoffice_utils_la_HEADERS): Kill
765	go-format-match.h
766
7672006-03-29  Eduardo Lima  <eduardo.lima@indt.org.br>
768
769	* configure.in: Fixed check for g_chmod().
770
7712006-03-28  Morten Welinder  <terra@gnome.org>
772
773	* goffice/utils/datetime.c (go_date_weekday_name,
774	go_date_month_name): New function.  This should allow for a
775	cleaner interface.
776
7772006-03-28  Eduardo Lima  <eduardo.lima@indt.org.br>
778
779	* configure.in: Borrowed code from libgsf to check for g_chmod(),
780	avoiding dependency on glib 2.8.
781	* goffice/utils/go-file.c (go_set_file_permissions): Call chmod()
782	instead of g_chmod() if not defined HAVE_G_CHMOD.
783
7842006-03-23  Morten Welinder  <terra@gnome.org>
785
786	* goffice/utils/datetime.c (datetime_serial_to_g): Don't go beyond
787	year 9999.
788
7892006-03-21  Morten Welinder  <terra@gnome.org>
790
791	* goffice/utils/go-file.c (go_url_make_relative): New function.
792
7932006-03-20  Morten Welinder  <terra@gnome.org>
794
795	* goffice/utils/go-file.c (go_filename_simplify): New function.
796	(go_filename_to_uri): Extracted from here.
797	(go_url_simplify): New function.
798	(go_url_resolve_relative): Extracted from here.
799	(go_shell_arg_to_uri): Use go_url_simplify.
800
8012006-03-19  Morten Welinder  <terra@gnome.org>
802
803	* goffice/utils/datetime.c (datetime_g_days_between): Remove.
804	glib has g_date_days_between.
805
8062006-03-18  Jody Goldberg <jody@gnome.org>
807
808	* goffice/app/go-doc.c : actually implement some basics
809
8102006-03-18  Morten Welinder  <terra@gnome.org>
811
812	* goffice/utils/go-file.c (go_url_resolve_relative): New function.
813	(go_url_encode): Take extra argument to determine what needs
814	quoting.  All Gnumeric callers changed.
815
8162006-03-16  Morten Welinder  <terra@gnome.org>
817
818	* plugins/plot_surface/gog-surface.c (gog_contour_view_render):
819	Use NULL, not 0.
820
821	* plugins/plot_barcol/gog-1.5d.h: Bitfields need to be explicitly
822	signed or unsigned.
823
8242006-03-15  Jean Brefort  <jean.brefort@normalesup.org>
825
826	* goffice/app/module-plugin-defs.h: add a comment for go_plugin_init
827	and go_plugin_shutdown declaration.
828
8292006-03-15  J.H.M. Dassen (Ray) <jdassen@debian.org>
830
831	* goffice/utils/go-file.h: #include <time.h> for time_t.
832
8332006-03-14  Morten Welinder  <terra@gnome.org>
834
835	* goffice/utils/go-file.c (go_file_get_owner_name,
836	go_file_get_group_name): Ensure that result is UTF-8 encoded.  Let
837	the caller free the result.  Handle remote files sanely.  Plug
838	leaks.
839	(go_file_get_date, go_file_get_date_changed,
840	go_file_get_date_modified, go_file_get_date_accessed): return a
841	time_t, not a [const] char *.  That makes it possible to localize
842	properly.  Plug leak.
843	(go_set_file_permissions): Plug leaks and avoid dumping non-UTF8
844	error messages.
845	(go_get_file_permissions): Plug leak.
846
8472006-03-11  Jean Brefort  <jean.brefort@normalesup.org>
848
849	* goffice/app/module-plugin-defs.h: add prototypes for go_plugin_init
850	and go_plugin_shutdown.
851	* goffice/graph/gog-theme.c: (gog_theme_find_element): initialized
852	klass = NULL to avoid a warning.
853
8542006-03-11  Jody Goldberg <jody@gnome.org>
855
856	* goffice/gtk/go-combo-box.c :
857	* goffice/gtk/go-color-palette.c :
858	* goffice/gtk/go-combo-pixmaps.c : use g_object_ref_sink
859	  for newer versions of glib.
860
861	* goffice/cut-n-paste/foocanvas : update
862	* plugins/gnome_extensions/egg-recent-* : update
863
8642006-03-06  Jean Brefort  <jean.brefort@normalesup.org>
865
866	* goffice/app/io-context-priv.h: added a exec_main_loop flag to IOContext
867	* goffice/app/io-context.c: (io_context_init),
868	(io_context_set_property), (io_context_get_property),
869	(io_context_class_init), (io_progress_update): ditto, and implement it
870	as a GObject property.
871
8722006-03-03  Eduardo Lima <eduardo.lima@indt.org.br>
873
874	* goffice/utils/go-file.[ch] (go_file_get_owner_name): new
875	(go_file_get_group_name): new
876	(go_get_file_permissions): new
877	(go_set_file_permissions): new
878	(go_file_get_date_accessed): new
879	(go_file_get_date_modified): new
880	(go_file_get_date_changed): new
881
8822006-03-03  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
883
884	* goffice/graph/gog-renderer-cairo.c (grc_draw_polygon): implement
885	stretched image.
886
8872006-03-02  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
888
889	* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix axis
890	label allocation.
891
8922006-03-01  Jean Brefort  <jean.brefort@normalesup.org>
893
894	* goffice/graph/gog-reg-curve.c: (gog_reg_curve_view_render): don't render
895	segments outside the bounding box [#332990].
896
8972006-02-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
898
899	* goffice/graph/gog-legend.c (cb_size_elements): don't push legend
900	style here. Pass GogLegendView pointer directly.
901	(cb_render_elements): don't push legend style here. Keep marker size
902	to sane values.
903	(cb_swatch_scale): calculate maximum and minimum marker size.
904	(gog_legend_view_size_request): make swatch size a function of legend
905	font size.
906	(gog_legend_view_render): ditto. Keep marker size to sane values.
907
908	* goffice/graph/gog-plot.c (gog_tool_move_plot_area_double_click): set
909	position to automatic on double click.
910	* goffice/graph/gog-object.c (gog_tool_move_object_double_click):
911	ditto.
912
913	* goffice/graph/gog-style.c (gog_style_get_marker): new.
914
9152006-02-25  Jean Brefort  <jean.brefort@normalesup.org>
916
917	* goffice/utils/go-file.c: (go_mime_type_get_description): use
918	GOFFICE_WITH_GNOME instead of WITH_GNOME.
919
9202006-02-25  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
921
922	* goffice/graph/gog-object-prefs.glade: Use a combo_box for
923	manual/automatic position selection.
924	* goffice/graph/gog-plot-prefs.glade: ditto.
925	* goffice/graph/gog-object.c (cb_manuel_position_changed): ditto.
926	(gog_object_populate_editor): ditto.
927	* goffice/graph/gog-plot.c (cb_manual_position_changed): ditto. Was
928	cb_manual_toggle_changed.
929	(cb_update_editor): ditto.
930	(gog_plot_populate_editor): ditto.
931
9322006-02-21  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
933
934	Move plot area property editor to GogPlot.
935
936	* goffice/graph/gog-axis-line.c (gog_tool_select_axis_point),
937	(gog_tool_select_axis_render),
938	(gog_tool_move_stop_bound_point),
939	(gog_tool_move_stop_bound_render): check for axis type.
940	* goffice/graph/gog-chart-prefs.glade: move to gog-plot-prefs.glade.
941	* goffice/graph/gog-chart.c (chart_pref_state_free),
942	(cb_plot_area_changed), (cb_manual_toggle_changed),
943	(gog_chart_populate_editor): remove plot area property editor.
944	* goffice/graph/gog-plot.c (plot_pref_state_free),
945	(cb_plot_area_changed), (cb_manual_toggle_changed): new.
946	(cb_axis_changed): axis type stored as object data.
947	(cb_update_editor): new.
948	(gog_plot_populate_editor): add plot area property editor.
949	* plugins/plot_pie/gog-pie.c (gog_pie_plot_populate_editor): show plot
950	area editor.
951	(gog_pie_view_build_toolkit): and enable edition by mouse.
952	* plugins/plot_surface/gog-surface.c
953	(gog_contour_plot_populate_editor): show plot area editor.
954
955	* goffice/graph/gog-renderer-cairo.c (grc_pixbuf_to_cairo): probably
956	fix pixbuf to cairo data conversion for big endian in a renamed
957	grc_invert_pixbuf_RB.
958
959	* goffice/graph/gog-view.c (gog_tool_select_object_render): fix object
960	outline.
961
9622006-02-19  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
963
964	* goffice/Makefile.am: use the right library version when making
965	.lib file.
966
9672006-02-18  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
968
969	* configure.in:
970	* dumpdef.pl: NEW
971	* goffice.mk:
972	* goffice-win32.mk: NEW
973	* goffice/Makefile.am:
974	* goffice/app/Makefile.am:
975	* goffice/cut-n-paste/foocanvas/Makefile.am:
976	* goffice/data/Makefile.am:
977	* goffice/drawing/Makefile.am:
978	* goffice/graph/Makefile.am:
979	* goffice/gtk/Makefile.am:
980	* goffice/ms-compat/Makefile.am:
981	* goffice/utils/Makefile.am:
982	[Win32] 1.) For every source directory of a library, pass all
983	the public headers (with all #include removed) to the C preprocessor.
984	2.) Pass the result from 1. to a perl script which extracts names of
985	all the public functions and variables. 3.) Concat all from step 2. to
986	produce a single .def file at the top directory of the library. No
987	--export-all-symbols anymore.
988
989	* goffice/gtk/goffice-gtk.c:
990	* goffice/utils/Makefile.am:
991	* goffice/utils/go-file.c:
992	win32-stub is no longer needed.
993
994	* goffice/app/module-plugin-defs.h:
995	* goffice/data/go-data.h:
996	* goffice/graph/gog-axis-line-impl.h:
997	* goffice/graph/gog-object-xml.h:
998	* goffice/graph/gog-series-lines.h:
999	* goffice/graph/gog-view.h:
1000	* goffice/gtk/go-combo-color.h:
1001	* goffice/utils/go-glib-extras.h:
1002	* goffice/utils/go-marker.h:
1003	* goffice/utils/regutf8.h:
1004	Remove non-exist public function declarations.
1005
10062006-02-16  Morten Welinder  <terra@gnome.org>
1007
1008	* goffice/utils/format.c (go_format_number): Fix handling of
1009	decimals.
1010
10112006-02-16  Morten Welinder  <terra@gnome.org>
1012
1013	* goffice/utils/format.c (go_format_number): Fix handling of
1014	decimals.
1015
10162006-02-13  Morten Welinder  <terra@gnome.org>
1017
1018	* goffice/utils/format.c (go_number_format_init): Renamed from
1019	number_format_init.  All callers changed.
1020	(go_number_format_shutdown): Renamed from number_format_shutdown.
1021	All callers changed.
1022
1023	* goffice/utils/formats.c (go_currency_date_format_init): Renamed
1024	from currency_date_format_init.  All callers changed.
1025	(go_currency_date_format_shutdown): Renamed from
1026	currency_date_format_shutdown.  All callers changed.
1027
1028	* goffice/goffice.c (libgoffice_init): Call
1029	go_currency_date_format_init.
1030	(libgoffice_shutdown): Call go_currency_date_format_shutdown.
1031
10322006-02-10  Jean Brefort  <jean.brefort@normalesup.org>
1033
1034	* goffice/component/go-component.h: add GOC_PARAM_PERSISTENT flag.
1035
10362006-02-08  Morten Welinder  <terra@gnome.org>
1037
1038	* plugins/reg_linear/gog-polynom-reg.c (append_number): New
1039	subroutine to get minuses right.
1040
10412006-02-06  Morten Welinder  <terra@gnome.org>
1042
1043	* plugins/reg_linear/gog-polynom-reg.c
1044	(gog_polynom_reg_curve_get_equation): Simplify.  Handle exponents
1045	>= 10 again.  Include highest terms.  Drop "1" factors.  Handle
1046	degenerate case of "y = 0".
1047
10482006-02-06  Morten Welinder  <terra@gnome.org>
1049
1050	* plugins/reg_linear/gog-polynom-reg.c: Constify.
1051
10522006-02-06  Jean Brefort  <jean.brefort@normalesup.org>
1053
1054	* goffice/graph/gog-series-impl.h: add get_xy_data to GogSeriesClass
1055	(needed by regrerssion curves in histograms and line plots.
1056	* goffice/graph/gog-series.c: (gog_series_get_xy_data): new function.
1057	* goffice/graph/gog-series.h: ditto.
1058	* goffice/utils/go-regression.c: (go_power_regression): new regression
1059	method, (go_non_linear_regression): fix params updates.
1060	* goffice/utils/go-regression.h: new power regressions.
1061	* plugins/plot_barcol/gog-1.5d.c: (go_plugin_init): add a view to
1062	GogLinePlot to support regression curves [#328236].
1063	* plugins/plot_barcol/gog-line.c: (gog_line_series_view_render),
1064	(gog_line_series_view_size_allocate),
1065	(gog_line_series_view_class_init), (gog_line_series_init_style),
1066	(gog_line_series_update), (gog_line_series_get_xy_data),
1067	(gog_line_series_finalize), (gog_line_series_class_init),
1068	(child_added_cb), (gog_line_plot_init), (gog_line_view_render),
1069	(gog_line_view_size_allocate), (gog_line_view_class_init): ditto.
1070	* plugins/plot_barcol/gog-line.h: ditto.
1071	* plugins/plot_boxes/gog-histogram.c: (gog_histogram_plot_update),
1072	(gog_histogram_plot_view_size_allocate),
1073	(gog_histogram_plot_view_class_init), (drop_lines_post_add),
1074	(gog_histogram_plot_series_update),
1075	(gog_histogram_plot_series_finalize),
1076	(gog_histogram_plot_series_get_xy_data),
1077	(gog_histogram_plot_series_class_init),
1078	(gog_histogram_plot_series_init): support regression curves.
1079	* plugins/reg_linear/Makefile.am: add new power regression.
1080	* plugins/reg_linear/gog-exp-reg.c:
1081	(gog_exp_reg_curve_get_equation): fixed equation [#328236].
1082	* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update),
1083	(gog_lin_reg_curve_get_equation),
1084	(gog_lin_reg_curve_populate_editor), (go_plugin_init):
1085	* plugins/reg_linear/gog-log-reg.c:
1086	(gog_log_reg_curve_get_equation): ditto.
1087	* plugins/reg_linear/gog-polynom-reg.c:
1088	(gog_polynom_reg_curve_get_equation): ditto.
1089	* plugins/reg_linear/gog-power.c: new power regression curves.
1090	* plugins/reg_linear/gog-power.h: ditto.
1091	* plugins/reg_linear/plugin.xml.in: ditto.
1092	* plugins/reg_linear/reg-types.xml.in: ditto.
1093	* plugins/reg_logfit/gog-logfit.c: (gog_log_fit_curve_update),
1094	(gog_log_fit_curve_get_equation): fixed equation [#328236].
1095
10962006-01-29  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1097
1098	* goffice/graph/gog-graph.c (gog_graph_view_handle_event): correct use
1099	of GDK_POINTER_MOTION_HINT_MASK, according to gtk tutorial. There's
1100	still a problem with foocanvas which seems to eat a GDK_BUTTON_PRESS
1101	event.
1102
11032006-01-26  Morten Welinder  <terra@gnome.org>
1104
1105	* goffice/utils/go-math.c (go_math_init): Prevent compilation with
1106	-ffast-math.
1107
11082006-01-23  Jean Brefort  <jean.brefort@normalesup.org>
1109
1110	* goffice/gtk/go-action-combo-color.c: (make_icon),
1111	(go_action_combo_color_connect_proxy): fixed warnings when using a
1112	combo action in a menu.
1113	* goffice/gtk/go-action-combo-pixmaps.c: (make_icon),
1114	(go_action_combo_pixmaps_connect_proxy): ditto.
1115
11162006-01-21  J.H.M. Dassen (Ray) <jdassen@debian.org>
1117
1118	* configure.in: Versioned the pixmap files and the translations to make
1119	complete parallel installability of packages easier.
1120	* docs/reference/Makefile.am, goffice/goffice.c, tests/Makefile.am:
1121	follow version change.
1122
11232006-01-05  Jody Goldberg <jody@gnome.org>
1124
1125	* goffice.mk (goffice_include_dir) : version the include files to
1126	  avoid conflict between stable and unstable.
1127
11282006-01-05  Jean Brefort  <jean.brefort@normalesup.org>
1129
1130	* goffice/graph/goffice-graph.h: change GogSeriesLines definition.
1131	* goffice/graph/gog-series-lines.c: Change the way markers are managed.
1132	* goffice/graph/gog-series-lines.h: ditto.
1133	* goffice/utils/go-libxml-extras.c:
1134	(e_xml_get_child_by_name_by_lang): fix an internaionalization bug.
1135	* pixmaps/Makefile.am: add new histograms pixmaps.
1136	* pixmaps/chart_histogram_1_1.png: ditto.
1137	* pixmaps/chart_histogram_1_1.svg: ditto.
1138	* pixmaps/hist.xpm: ditto.
1139	* plugins/plot_barcol/gog-1.5d.c: (lines_post_add): add markers for lines
1140	in DropBar plots.
1141	* plugins/plot_boxes/Makefile.am: add histograms.
1142	* plugins/plot_boxes/gog-boxplot.c: (go_plugin_init): ditto.
1143	* plugins/plot_boxes/gog-histogram.c: ditto.
1144	* plugins/plot_boxes/gog-histogram.h: ditto.
1145	* plugins/plot_boxes/plot-types.xml.in: ditto.
1146	* plugins/plot_boxes/plugin.xml.in: ditto.
1147
11482006-01-01  Jean Brefort  <jean.brefort@normalesup.org>
1149
1150	* plugins/plot_barcol/gog-minmax.c: fixed a marker display problem.
1151
11522006-01-03  Stepan Kasal  <kasal@ucw.cz>
1153
1154	* goffice/graph/gog-error-bar.h: #include <goffice/goffice-features.h>
1155	* goffice/gtk/go-font-sel.c: #include <string.h> for strcmp()
1156
11572006-01-02  Stepan Kasal  <kasal@ucw.cz>
1158
1159	* Makefile.am: Add DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1160	* docs/reference/Makefile.am (EXTRA_DIST): Add version.xml,
1161	  to work around #314105.
1162
11632006-01-01  Stepan Kasal  <kasal@ucw.cz>
1164
1165	* docs/reference/Makefile.am (INCLUDES): Remove, it's redundant.
1166	(GTKDOC_CFLAGS): Add -I$(top_builddir).
1167	* docs/reference/goffice.types:
1168	  #include <goffice/graph/gog-object-xml.h>
1169
11702006-01-01  Jean Brefort  <jean.brefort@normalesup.org>
1171
1172	* goffice/utils/go-file.c: (go_mime_type_get_description): new gnome-vfs
1173	wrapper.
1174	* goffice/utils/go-file.h: ditto.
1175	* goffice/utils/go-font.c: moved inclusion of pango-context.h to
1176	header.
1177	* goffice/utils/go-font.h: ditto, removed unused panfo_fc header.
1178
11792005-12-30  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1180
1181	* goffice/graph/gog-renderer-cairo.c (grc_free_marker_data): new.
1182	(gog_renderer_cairo_finalize): call grc_free_marker_data.
1183	(grc_draw_path): don't draw a line if dash_type = GO_LINE_NONE.
1184	(grc_get_marker_surface): use cairo_surface_create_similar and draw marker
1185	here instead of use pixbuf given by go_marker_get_pixbuf.
1186	(gog_renderer_cairo_draw_marker): don't draw marker here for vector
1187	case, just paint a similar surface.
1188	(gog_renderer_cairo_push_style): free marker data.
1189	(gog_renderer_cairo_pop_style): ditto.
1190
11912005-12-30  Stepan Kasal  <kasal@ucw.cz>
1192
1193	* goffice/.cvsignore: Remove goffice-paths.sh.
1194
11952005-12-28  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1196
1197	* goffice/graph/gog-renderer-cairo.c (grc_draw_path): invalidate cairo
1198	dash setting when line is not dashed.
1199	(grc_draw_polygon): ditto. Fix a typo.
1200	(gog_renderer_cairo_draw_text): use pango_cairo API instead of toy cairo text API.
1201	(gog_renderer_cairo_get_text_OBR): ditto.
1202
12032005-12-22  Stepan Kasal  <kasal@ucw.cz>
1204
1205	* docs/reference/goffice-overrides.txt: New file, fixes "make dist".
1206
12072005-12-17  J.H.M. Dassen (Ray) <jdassen@debian.org>
1208
1209	* goffice/graph/gog-style.h:
1210	  #include <goffice/graph/gog-renderer-pixbuf.h> for GdkPixbuf;
1211	  #include <goffice/utils/go-font.h> for PangoFontDescription.
1212
12132005-12-16  Jean Brefort  <jean.brefort@normalesup.org>
1214
1215	* goffice/goffice-features.h.in: add GOFFICE_WITH_GTK and
1216	GOFFICE_WITH_GNOME.
1217	* configure.in: rename WITH_GTK and WITH_GNOME to GOFFICE_WITH_GTK and
1218	GOFFICE_WITH_GNOME.
1219	* goffice/graph/gog-error-bar.c: ditto.
1220	* goffice/graph/gog-error-bar.h: ditto.
1221	* goffice/gtk/goffice-gtk.c: (go_help_display): ditto.
1222	* goffice/utils/go-color.c: ditto.
1223	* goffice/utils/go-color.h: ditto (and include goffice-features.h).
1224	* goffice/utils/go-file.c: (go_filename_from_uri),
1225	(go_filename_to_uri), (go_shell_arg_to_uri),
1226	(go_basename_from_uri), (go_dirname_from_uri), (go_file_open),
1227	(go_file_create), (go_url_show), (go_get_mime_type),
1228	(go_get_mime_type_for_data): ditto.
1229	* goffice/utils/go-gradient.c: ditto.
1230	* goffice/utils/go-gradient.h: ditto (and include goffice-features.h).
1231	* goffice/utils/go-image.c: (go_image_format_to_mime),
1232	(go_image_build_pixbuf_format_infos),
1233	(go_image_get_formats_with_pixbuf_saver): ditto.
1234	* goffice/utils/go-line.c: ditto.
1235	* goffice/utils/go-marker.c: (go_marker_init), (go_marker_assign): ditto.
1236	* goffice/utils/go-marker.h: ditto (and include goffice-features.h).
1237	* goffice/utils/go-pattern.c: ditto.
1238	* goffice/utils/go-pattern.h: ditto (and include goffice-features.h).
1239
12402005-12-16  Jean Brefort  <jean.brefort@normalesup.org>
1241
1242	* goffice/component/go-component-factory.c: remove go_components_set_screen_resolution
1243	* goffice/component/go-component-factory.h: ditto.
1244	* goffice/component/go-component.c: (go_component_set_size): do not set size if not resizable,
1245	(go_component_draw): draw to correct size whatever the zoom and the screen resolution.
1246	* goffice/component/go-component.h: changed signature of go_component_draw.
1247
12482005-12-16  Stepan Kasal  <kasal@ucw.cz>
1249
1250	* configure.in (PKG_PROG_PKG_CONFIG): Add an explanation.
1251	* autogen.sh: Add an explanation about REQUIRED_PKG_CONFIG_VERSION.
1252
12532005-12-13  Morten Welinder  <terra@gnome.org>
1254
1255	* configure.in: Undo change to PKG_PROG_PKG_CONFIG.
1256
12572005-12-13  Stepan Kasal  <kasal@ucw.cz>
1258
1259	* goffice/gtk/goffice-gtk.h, goffice/gtk/goffice-gtk.c: Move
1260	  GOImageFormat, GOImageFormatInfo and related functions to ...
1261	* goffice/utils/go-image.h, goffice/utils/go-image.c: ... a new file.
1262	* goffice/utils/Makefile.am: Add them.
1263	* docs/reference/TODO: Update.
1264
12652005-12-13  Morten Welinder  <terra@gnome.org>
1266
1267	* goffice/utils/go-file.c (go_filename_to_uri): Resolve some ".."
1268	cases, namely those where no symlinks are involved.
1269
12702005-12-13  Stepan Kasal  <kasal@ucw.cz>
1271
1272	* goffice/component/go-component.c (go_component_export_to_svg):
1273	Do not use return without a value.
1274
12752005-12-12  Morten Welinder  <terra@gnome.org>
1276
1277	* goffice/graph/gog-object-xml.c (gog_object_write_xml_sax): Add
1278	precondition.  See #323608.
1279
12802005-12-12  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1281
1282	* configure.in: bump cairo version requisition to 1.0.0.
1283	* goffice/graph/gog-graph.c (gog_graph_get_supported_image_formats):
1284	new.
1285	(gog_graph_export_image): new.
1286	* goffice/graph/gog-renderer-cairo.c (grc_line_size): handle case of
1287	vector rendering (for SVG, PDF, PS output).
1288	(gog_renderer_cairo_clip_push): ditto.
1289	(gog_renderer_cairo_line_size): ditto.
1290	(gog_renderer_cairo_sharp_path): ditto.
1291	(gog_renderer_cairo_draw_marker): ditto.
1292	(gog_renderer_cairo_draw_text): don't restrict text position to
1293	positive values.
1294	(gcr_gsf_gdk_pixbuf_save): new.
1295	(grc_cairo_write_func): new.
1296	(grc_cairo_setup): remove and move code...
1297	(gog_renderer_cairo_update): ...here.
1298	* goffice/graph/gog-renderer-impl.h (GogRenderer::export_image): new.
1299	* goffice/graph/gog-renderer-pixbuf.c (grp_gsf_gdk_pixbuf_save): new.
1300	(gog_renderer_pixbuf_export_image): new.
1301	* goffice/graph/gog-renderer-svg.c (gog_graph_export_to_svg): removed.
1302	(gog_graph_export_image): new.
1303	* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): new.
1304	(gog_renderer_export_image): new.
1305	* goffice/gtk/goffice-gtk.c (gui_get_image_save_info): format is an
1306	enum now.
1307	(go_image_build_pixbuf_format_infos): new.
1308	(go_image_get_format_info): new.
1309	(go_image_get_format_from_name): new.
1310	(go_image_get_formats_with_pixbuf_saver): new.
1311
13122005-12-11  J.H.M. Dassen (Ray) <jdassen@debian.org>
1313
1314	* configure.in: Require pkg-config version that understands about
1315	private libraries.
1316	* libgoffice-1.pc.in: Moved @EXTRA_LIBS@ into Libs.private .
1317
13182005-12-07  Morten Welinder  <terra@gnome.org>
1319
1320	* goffice/gtk/go-format-sel.c (format_entry_set_text): Constify.
1321	(cb_format_list_select): Plug leak.
1322
13232005-12-06  Christian Neumair  <chris@gnome-de.org>
1324
1325	* goffice/graph/gog-object.c:
1326	* goffice/graph/gog-object.h:
1327	Add gog_object_get_child_by_name API.
1328
13292005-12-05  Jean Brefort  <jean.brefort@normalesup.org>
1330
1331	* goffice/gtk/go-combo-box.c: undef GTK_DISABLE_DEPRECATED. [#323171]
1332
13332005-12-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1334
1335	* goffice/data/go-data-simple.c: doc fixes.
1336
13372005-12-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1338
1339	* goffice/graph/goffice-graph.h: declare GogSeriesLines here.
1340	* goffice/graph/gog-axis-line.h: make gtk-doc happy by creating a
1341	GogAxisTickTypes struct.
1342	* goffice/graph/gog-axis-line.c (gog_tool_move_stop_bound_move): don't
1343	access GogAxisMap::axis directly.
1344	* goffice/graph/gog-axis.c: make GogAxisMap and GogAxisMapDesc
1345	private. Doc fixes.
1346	* goffice/graph/gog-chart.c: make GogChartMap private. Documentation
1347	of GogChartMap API.
1348	* goffice/graph/gog-data-allocator.h: doc fixes.
1349	* goffice/graph/gog-data-allocator.c: ditto.
1350	* goffice/graph/gog-renderer-cairo.c: ditto.
1351	* goffice/graph/gog-renderer-pixbuf.c: doc fixes.
1352	* goffice/graph/gog-renderer-gnome-print.c: don't access GOMarker
1353	data directly.
1354	* goffice/graph/gog-renderer-svg.c: ditto.
1355	* goffice/graph/gog-series-lines.c: ditto.
1356	* goffice/gtk/go-combo-box.c: doc fixes.
1357	* goffice/gtk/go-combo-color.c: ditto.
1358	* goffice/gtk/go-combo-pixmaps.c: ditto.
1359	* goffice/gtk/go-combo-text.c: ditto.
1360	* goffice/gtk/go-dock-item.c: ditto.
1361	* goffice/utils/format.c: ditto.
1362	* goffice/utils/go-glib-extras: ditto.
1363	* goffice/utils/go-marker.c: make GOMarker struct private.
1364
13652005-12-03  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1366
1367	* goffice/graph/gog-axis: doc fixes.
1368	* goffice/graph/gog-chart.c: ditto.
1369	* goffice/graph/gog-error-bar.c: ditto.
1370	* goffice/graph/gog-object.c: ditto.
1371	* goffice/graph/gog-renderer.c: ditto.
1372	* goffice/graph/gog-series.c: ditto.
1373	* goffice/graph/gog-style.c: ditto.
1374	* goffice/graph/gog-view.c: ditto.
1375	* goffice/gtk/go-dock-item.c: ditto.
1376	* goffice/utils/format.c: ditto.
1377	* goffice/utils/go-geometry.c: ditto.
1378	* goffice/utils/go-pattern.c: ditto.
1379	* goffice/utils/go-regression.c: move doc from headers.
1380
13812005-12-03  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1382
1383	* goffice/graph/gog-styled-object.c: doc fixes.
1384
13852005-12-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
1386
1387	* goffice/Makefile.am: Don't try to use pcre.la from cut-n-paste when
1388	using the system's pcre library.
1389
13902005-12-02  Morten Welinder  <terra@gnome.org>
1391
1392	* configure.in: Check for a system libpcre that supports UTF-8.
1393	* goffice/cut-n-paste/Makefile.am: Arrange to use system pcre when
1394	appropriate.
1395	* goffice/utils/Makefile.am: Ditto.
1396	* goffice/utils/regutf8.c: Ditto.
1397
13982005-12-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1399
1400	* configure.in: build docs/reference/version.xml
1401
14022005-12-02  Morten Welinder  <terra@gnome.org>
1403
1404	* goffice/utils/go-file.c (go_shell_arg_to_uri): Be more careful
1405	with filenames that contain colons.  Fixed #322799.
1406
14072005-11-30  Morten Welinder  <terra@gnome.org>
1408
1409	* goffice/utils/go-file.c (go_filename_to_uri): Improve slightly
1410	for systems with more than one directory separator.
1411
14122005-12-01  Jon K Hellan  <hellan@acm.org>
1413
1414	* goffice/graph/gog-renderer.h: Fix typo.
1415
14162005-12-01  J.H.M. Dassen (Ray) <jdassen@debian.org>
1417
1418	* goffice/app/go-plugin.c, goffice/graph/gog-axis.c,
1419	goffice/graph/gog-chart.c, goffice/graph/gog-chart.h,
1420	goffice/graph/gog-data-set.c, goffice/graph/gog-graph.c,
1421	goffice/graph/gog-object.c, goffice/graph/gog-object.h,
1422	goffice/graph/gog-renderer.c, goffice/graph/gog-renderer.h,
1423	goffice/graph/gog-series.c, goffice/graph/gog-theme.c,
1424	goffice/graph/gog-theme.h, goffice/graph/gog-view.c,
1425	goffice/graph/gog-view.h, goffice/gtk/go-combo-color.c,
1426	goffice/gtk/go-combo-text.c, goffice/gtk/goffice-gtk.c,
1427	goffice/utils/datetime.c, goffice/utils/go-geometry.c,
1428	goffice/utils/go-libxml-extras.c: Some gtk-doc fixes.
1429
14302005-12-01  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1431
1432	Enable gtk-doc.
1433
1434	* Makefile.am: add docs to SUBDIRS.
1435	* configure.in: add GTK_DOC_CHECK. Add docs Makefile to
1436	AC_CONFIG_FILES.
1437	* docs/Makefile.am: new.
1438	* docs/reference/Makefile.am: new.
1439	* docs/reference/goffice-sections.txt: new. Only include Goffice Graph
1440	API for now.
1441	* docs/reference/goffice-docs.sgml: ditto.
1442	* docs/reference/TODO: new. Contains remaining API sections.
1443	* goffice/graph/gog-error-bar.c (gog_error_bar_prefs): fix a gtk-doc
1444	warning.
1445
14462005-11-27  Jean Brefort  <jean.brefort@normalesup.org>
1447
1448	* configure.in: create goffice/component/Makefile.
1449	* goffice/Makefile.am: add component subdir.
1450	* goffice/component/Makefile.am: new component API.
1451	* goffice/component/go-component-factory.c: ditto.
1452	* goffice/component/go-component-factory.h: ditto.
1453	* goffice/component/go-component.c: ditto.
1454	* goffice/component/go-component.h: ditto.
1455	* goffice/component/goffice-component.h: ditto.
1456	* goffice/goffice.c: (libgoffice_init), (libgoffice_shutdown):
1457	init/shutdown component sustem.
1458	* goffice/utils/go-file.c: (go_get_mime_type_for_data): new function.
1459	* goffice/utils/go-file.h: ditto.
1460	* libgoffice-1.pc.in: add GOffice_plugins_dir variable.
1461
14622005-11-23  Morten Welinder  <terra@gnome.org>
1463
1464	* goffice/utils/format.c (go_format_number): Handle the separation
1465	of numbers into whole and fractional part such that numbers from
1466	2^31 and up do not invoke undefined behaviour.
1467
1468	* goffice/utils/go-math.c (go_continued_fraction): Don't go to
1469	int-space until we have checked the size.
1470
14712005-11-20  Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
1472
1473	* goffice/graph/Makefile.am: always compile gog-renderer-pixbuf.c.
1474
14752005-11-20  Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
1476
1477	Fix smoothness of object movements in guru.
1478
1479	* goffice/graph/gog-graph.c (gog_graph_view_handle_event): force
1480	update processing, and call gdk_window_get_pointer in order to get
1481	next motion event.
1482	* goffice/graph/gog-guru.c (graph_guru_init_format_page): add
1483	GDK_POINTER_MOTION_HINT_MASK to graph window event mask.
1484
14852005-11-18  Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
1486
1487	* goffice/graph/Makefile.am: don't build pixbuf renderer when cairo is
1488	enabled.
1489	* goffice/graph/gog-control-foocanvas.c
1490	(gog_control_foocanvas_set_property): don't use conditionnal
1491	compilation, but helper functions from gog-renderer.c.
1492	(gog_control_foocanvas_draw): ditto.
1493	(gog_control_foocanvas_update): ditto.
1494	(gog_control_foocanvas_class_init): ditto.
1495	* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_clip_push):
1496	set clip from arbitrary path instead of rectangle region.
1497	(gog_renderer_cairo_draw_text): use 72 dpi for screen resolution.
1498	(gog_renderer_cairo_get_text_OBR): ditto.
1499	* goffice/graph/gog-renderer.c (gog_renderer_new_for_pixbuf): new.
1500	(gog_renderer_update): new.
1501	(gog_renderer_get_pixbuf): new.
1502	* goffice/gtk/go-graph-widget.c (go_graph_widget_size_allocate): use
1503	new helper functions from gog-renderer instead of requesting
1504	explicitely a pixbuf renderer.
1505	(go_graph_widget_expose_event): ditto.
1506	(idle_handler): ditto.
1507	(go_graph_widget_init): ditto.
1508
15092005-11-17  Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
1510
1511	* pixmap/chart_dropbar_1_[12].[svg,png]: fix rendering and bitmap.
1512	[#321675]
1513
15142005-11-16  Morten Welinder  <terra@gnome.org>
1515
1516	* goffice/graph/gog-object.c (gog_object_add_by_name): Add
1517	pre-condition.
1518	* goffice/graph/*.c: Fix preconditions to use IS_ forms.
1519
15202005-11-15  Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
1521
1522	* goffice/graph/gog-axis-line.c (gog_tool_select_axis_point),
1523	(gog_tool_select_axis_render),
1524	(gog_tool_bound_is_valid_axis),
1525	(gog_tool_move_start_bound_point),
1526	(gog_tool_move_start_bound_render),
1527	(gog_tool_move_stop_bound_point),
1528	(gog_tool_move_stop_bound_render),
1529	(gog_tool_move_bound_init),
1530	(gog_tool_move_bound_destroy),
1531	(gog_tool_move_start_bound_move),
1532	(gog_tool_move_stop_bound_move): new.
1533	(x_process): store axis position for use in tools.
1534	(xy_process): ditto.
1535	(gog_axis_base_view_info_at_point): renamed to
1536	gog_axis_base_view_point, for use in tools.
1537	(gog_axis_base_build_toolkit): new.
1538	* goffice/graph/gog-axis.c (elem_toggle_data_free): new.
1539	(cb_update_dim_editor): new.
1540	(make_dim_editor): don't use closure, since they're not destroyed on
1541	watched object finalization, just invalidated.
1542	(cb_axis_fmt_assignment_toggled): removed.
1543	(gog_axis_populate_editor): remove dead code.
1544	(gog_axis_set_bounds): new.
1545	(gog_axis_set_extents): new.
1546	* goffice/graph/gog-graph.c: new selection-changed signal for
1547	GogGraphView objects. This signal is emitted when visual selection
1548	is changed after a mouse action.
1549	(gog_graph_view_render): new.
1550	(gog_graph_view_finalize): new.
1551	(update_cursor), (update_action): new.
1552	(gog_graph_view_handle_event): new.
1553	(gog_graph_view_set_selection): new.
1554	(gog_graph_view_get_selection): new.
1555	* goffice/graph/gog-grid-line.c (gog_grid_line_info_at_point):
1556	removed.
1557	* goffice/graph/gog-guru.c: now also store graph view in guru state.
1558	(graph_guru_state_destroy): unref graph view.
1559	(cb_attr_tree_selection_change): update visual selection.
1560	(cb_canvas_select_item): forward event to gog_graph_view_handle_event.
1561	(cb_graph_selection_changed): new. Update object tree.
1562	(graph_guru_init_format_page): store graph view in state.
1563	* goffice/graph/gog-object.c: new update-editor signal, emitted when
1564	an object editor needs to be refreshed.
1565	(cb_update_editor): new.
1566	(gog_object_populate_editor): connect to update-editor signal.
1567	(gog_object_request_editor_update): new.
1568	* goffice/graph/gog-plot.c (gog_tool_move_plot_area_point),
1569	(gog_tool_move_plot_area_render),
1570	(gog_tool_move_plot_area_init),
1571	(gog_tool_move_plot_area_move),
1572	(gog_tool_resize_plot_area_point),
1573	(gog_tool_resize_plot_area_render),
1574	(gog_tool_resize_plot_area_move),
1575	(gog_plot_view_build_toolkit),
1576	(gog_plot_view_class_init): new.
1577	* goffice/graph/gog-renderer.c (gog_renderer_finalize): unref grip
1578	style.
1579	(gog_renderer_draw_grip),
1580	(gog_renderer_push_selection_style): new.
1581	* goffice/graph/gog-renderer.h (gog_renderer_in_grip): new.
1582	* goffice/graph/gog-view.c (gog_tool_select_object_point),
1583	(gog_tool_select_object_render),
1584	(gog_tool_move_object_point),
1585	(gog_tool_move_object_init),
1586	(gog_tool_move_object_move),
1587	(gog_tool_resize_object_point),
1588	(gog_tool_resize_object_render),
1589	(gog_tool_resize_object_move),
1590	(gog_tool_action_new),
1591	(gog_tool_action_move),
1592	(gog_tool_action_double_click),
1593	(gog_tool_action_free): new.
1594	(gog_view_finalize): free toolkit.
1595	(gog_view_build_toolkit): new.
1596	(gog_view_queue_resize): purge dead code.
1597	(gog_view_info_at_point): removed.
1598	(gog_view_find_child_view): don't emit warning if child view is not
1599	found, since all objects don't have an assciated view.
1600	(gog_view_render_toolkit),
1601	(gog_view_get_toolkit),
1602	(gog_view_get_tool_at_point),
1603	(gog_view_get_view_at_point): new.
1604	* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_info_at_point):
1605	removed.
1606	* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_info_at_point):
1607	removed.
1608	* plugins/plot_barcol/gog-line.c (gog_line_view_info_at_point):
1609	removed.
1610	* plugins/plot_barcol/gog-minmax.c (gog_minmax_view_info_at_point):
1611	removed.
1612	* plugins/plot_pie/gog-pie-prefs.c (pie_pref_state_free): new.
1613	(cb_update_editor): new.
1614	(gog_pie_plot_pref): connect to update-editor signal.
1615	(gog_ring_plot_pref): ditto.
1616	* plugins/plot_pie/gog-pie.c (gog_pie_plot_set_default_separation):
1617	new.
1618	(find_element): new.
1619	(gog_tool_move_pie_point),
1620	(gog_tool_move_pie_render),
1621	(gog_tool_move_pie_init),
1622	(gog_tool_move_pie_move),
1623	(gog_tool_move_pie_double_click),
1624	(gog_pie_view_build_toolkit): new.
1625	(gog_pie_view_info_at_point): removed.
1626	* plugins/plot_radar/gog-radar.c (fmin): removed.
1627	(gog_rt_view_info_at_point): removed.
1628	* plugins/plot_xy/gog-xy.c (gog_xy_view_info_at_point): ditto.
1629
16302005-11-14  Jody Goldberg <jody@gnome.org>
1631
1632	* configure.in : post BRANCH bump
1633
16342005-11-14  Jody Goldberg <jody@gnome.org>
1635
1636	* Release 0.1.2
1637
16382005-11-13  Morten Welinder  <terra@gnome.org>
1639
1640	* goffice/goffice.c: Call bind_textdomain_codeset.
1641
16422005-11-07  Jody Goldberg <jody@gnome.org>
1643
1644	* configure.in : post release bump
1645
16462005-11-06  Jody Goldberg <jody@gnome.org>
1647
1648	* Release 0.1.1
1649
16502005-11-06  Jody Goldberg <jody@gnome.org>
1651
1652	* goffice/graph/gog-style.c (gog_style_persist_prep_sax) :
1653	  differentiate between line and outline.
1654	(gog_style_sax_load_line) : typo s/auto-dash/auto-color/
1655
16562005-11-05  Jody Goldberg <jody@gnome.org>
1657
1658	* goffice/graph/gog-style.c
1659	(gog_style_line_dom_save) : delete.
1660	(gog_style_gradient_dom_save) : delete.
1661	(gog_style_fill_dom_save) : delete.
1662	(gog_style_marker_dom_save) : delete.
1663	(gog_style_font_dom_save) : delete.
1664	(gog_style_text_layout_dom_save) : delete.
1665	(gog_style_persist_dom_save) : delete.
1666
1667	(gog_style_sax_load_line) : use the correct state.
1668	(gog_style_sax_load_fill_pattern) : use the correct state.
1669	(gog_style_sax_load_fill_gradient) : use the correct state.
1670	(gog_style_sax_load_fill) : use the correct state.
1671	(gog_style_sax_load_marker) : use the correct state.
1672	(gog_style_sax_load_font) : use the correct state.
1673	(gog_style_sax_load_text_layout) : use the correct state.
1674
1675	(gog_style_persist_prep_sax) : new.
1676
1677	* goffice/graph/gog-object-xml.c (gog_persist_dom_save) : delete
1678	(gog_object_write_property) : delete.
1679	(gog_dataset_dom_save) : delete.
1680	(gog_object_write_xml) : delete.
1681	(gog_persist_prep_sax) : new.
1682	(gog_dataset_sax_save) : use gsf_xml_out_add_int instead of rolling
1683	  our own.
1684
1685	First pass at a sax based importer.
1686	(gog_xml_read_state_get_obj) : new.
1687	(gogo_dim_start) : new.
1688	(gogo_dim_end) : new.
1689	(gogo_prop_start) : new.
1690	(gogo_prop_end) : new.
1691	(gogo_start) : new.
1692	(gogo_end) : new.
1693	(go_sax_parser_done) : new.
1694	(gog_object_sax_push_parser) : new.
1695
1696	* goffice/graph/gog-error-bar.c (gog_error_bar_persist_prep_sax) : new.
1697	(gog_error_bar_persist_dom_save) : delete.
1698	(geb_start) : delete.
1699	(gog_error_bar_persist_init) : adapt to new sax_prep interface.
1700
1701	* configure.in : bump gsf req to 1.13.3 to get the updated semantics
1702	  for the sax extension api.
1703	* README : ditto.
1704
17052005-11-03  Jean Brefort  <jean.brefort@normalesup.org>
1706
1707	* goffice/data/go-data-simple.c: (go_data_vector_val_load_values): do
1708	not take non finite values into account while calculating maximum.
1709
17102005-10-30  Jody Goldberg <jody@gnome.org>
1711
1712	* goffice/app/go-plugin-loader-module.c
1713	(go_plugin_loader_module_load_base) : Use G_MODULE_BIND_LAZY as per
1714	  http://bugzilla.gnome.org/show_bug.cgi?id=319557
1715
17162005-11-01  J.H.M. Dassen (Ray) <jdassen@debian.org>
1717
1718	* README: Updated list archive URL. (Debian #336699)
1719
17202005-10-30  Morten Welinder  <terra@gnome.org>
1721
1722	* goffice/utils/go-math.c (go_math_init): Save the right
1723	old_locale.
1724
1725	* goffice/graph/gog-chart.c (axis_set_desc): Make static.
1726	* goffice/ms-compat/go-ms-parser.c (unknown_type): Make static.
1727	* goffice/utils/go-line.c (line_dashes): Make static.
1728
17292005-10-26  Morten Welinder  <terra@gnome.org>
1730
1731	* goffice/gtk/go-charmap-sel.c (charset_order, lgroups_order): Use
1732	precomputed collate key.
1733	(cs_class_init): Pre-compute collate keys before sorting.
1734
17352005-10-26  Stepan Kasal  <kasal@ucw.cz>
1736
1737	* goffice/graph/gog-object-xml.c: Remove #include glade/glade-build.h
1738	the code no longer uses glade xml utils.
1739
17402005-10-20  Morten Welinder  <terra@gnome.org>
1741
1742	* goffice/graph/gog-view.c (gog_view_render): Survive NaN
1743	allocation.  Fixes #319309.
1744
17452005-10-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1746
1747	* goffice/graph/gog-object.c (gog_object_populate_editor): hide manual
1748	settings when manual position is not allowed.
1749
17502005-10-10  Jody Goldberg <jody@gnome.org>
1751
1752	* configure.in : bump gsf req to avoid the breakage in 1.13.1
1753
17542005-10-10  Jody Goldberg <jody@gnome.org>
1755
1756	* configure.in : post release bump
1757
17582005-10-10  Jody Goldberg <jody@gnome.org>
1759
1760	* Release 0.1.0
1761
17622005-10-10  Jody Goldberg <jody@gnome.org>
1763
1764	* goffice/graph/gog-object-xml.h (GogPersistClass) : Add sax_doc as a
1765	  hook to support GsfXMLIn sax based import.
1766	* goffice/graph/gog-style.c (gog_style_persist_init) : whip up a quick
1767	  dtd but do not implement. (Leak the doc)
1768	* goffice/graph/gog-error-bar.c (gog_error_bar_persist_init) : whip up
1769	  a dtd (leak the doc).
1770	(geb_start) : implement it.
1771
17722005-10-09  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1773
1774	* goffice/graph/gog-label.c (gog_reg_eqn_view_class_init): default for show-eq
1775	and show-r2 is TRUE [#318316].
1776
17772005-10-07  Jean Brefort  <jean.brefort@normalesup.org>
1778
1779	* goffice/gtk/go-action-combo-pixmaps.c:
1780	(go_action_combo_pixmaps_create_tool_item): translate non goffice strings
1781	[#318042].
1782	* goffice/gtk/goffice-gtk.c: (gui_get_image_save_info): ditto [#318043].
1783
17842005-10-07  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1785
1786	* goffice/graph/gog-renderer-svg.c (fill_properties): fix gradient
1787	start / stop colors [#318191].
1788
17892005-10-07  Jean Brefort  <jean.brefort@normalesup.org>
1790
1791	* plugins/plot_surface/xl-surface.c: (xl_contour_plot_update):
1792	do not use num_elements for first series to caculate comlumns number.
1793
17942005-10-06  Jean Brefort  <jean.brefort@normalesup.org>
1795
1796	* plugins/plot_surface/plugin.xml.in: add TM mention to Excel name
1797	and remove the description from the translation strings as it
1798	never appears in the UI.
1799
18002005-10-06  Jean Brefort  <jean.brefort@normalesup.org>
1801
1802	* plugins/plot_surface/xl-surface.c (xl_contour_plot_axis_get_bounds):
1803	fixed axis bounds.
1804
18052005-10-05  Jean Brefort  <jean.brefort@normalesup.org>
1806
1807	* goffice/utils/go-pattern.c: add /* xgettext:no-c-format */ before
1808	"75% Grey" and analogs.
1809
18102005-10-05  Jean Brefort  <jean.brefort@normalesup.org>
1811
1812	* goffice/graph/gog-plot.c: (gog_plot_class_init): fixed typo.
1813	* goffice/graph/gog-style-prefs.glade: fixed a duplicate shortcut.
1814	* goffice/utils/regutf8.c: (go_regerror): fixed typo.
1815
18162005-10-05  Jean Brefort  <jean.brefort@normalesup.org>
1817
1818	* goffice/graph/gog-guru-type-selector.glade: remove an unused
1819	label text.
1820
18212005-10-05  Jean Brefort  <jean.brefort@normalesup.org>
1822
1823	* goffice/app/file.c: fixed localization issues [#317925].
1824	* goffice/app/go-cmd-context.c: (go_cmd_context_get_type): ditto.
1825	* goffice/app/go-object.c: ditto.
1826	* goffice/app/go-plugin-loader-module.c: ditto.
1827	* goffice/app/go-plugin-loader.c: (go_plugin_loader_get_type): ditto.
1828	* goffice/app/go-plugin-service.c: ditto.
1829	* goffice/app/go-plugin.c: ditto.
1830	* goffice/data/go-data-simple.c: ditto.
1831	* goffice/data/go-data.c: ditto.
1832	* goffice/drawing/god-default-attributes.c: ditto.
1833	* goffice/drawing/god-paragraph-attributes.c: ditto.
1834	* goffice/goffice.c: (libgoffice_init): ditto.
1835	* goffice/graph/gog-axis-line.c: (gog_axis_base_populate_editor): ditto.
1836	* goffice/graph/gog-axis.c: (gog_axis_populate_editor): ditto.
1837	* goffice/graph/gog-chart.c: (gog_chart_populate_editor): ditto.
1838	* goffice/graph/gog-control-foocanvas.c: ditto.
1839	* goffice/graph/gog-error-bar.c: (gog_error_bar_prefs): ditto.
1840	* goffice/graph/gog-graph.c: ditto.
1841	* goffice/graph/gog-grid-line.c: ditto.
1842	* goffice/graph/gog-grid.c: ditto.
1843	* goffice/graph/gog-guru.c: (graph_guru_type_selector_new),
1844	(graph_guru_init): ditto.
1845	* goffice/graph/gog-label.c: (gog_reg_eqn_populate_editor): ditto.
1846	* goffice/graph/gog-legend.c: ditto.
1847	* goffice/graph/gog-object.c: (gog_object_populate_editor): ditto.
1848	* goffice/graph/gog-outlined-object.c: ditto.
1849	* goffice/graph/gog-plot-engine.c: ditto.
1850	* goffice/graph/gog-plot.c: ditto.
1851	* goffice/graph/gog-reg-curve.c: (gog_reg_curve_populate_editor): ditto.
1852	* goffice/graph/gog-series.c: ditto.
1853	* goffice/graph/gog-style.c: (font_init),
1854	(gog_style_populate_editor): ditto.
1855	* goffice/graph/gog-styled-object.c: ditto.
1856	* goffice/graph/gog-theme.c: ditto.
1857	* goffice/graph/gog-view.c: ditto.
1858	* goffice/gtk/go-action-combo-color.c: ditto.
1859	* goffice/gtk/go-action-combo-pixmaps.c: ditto.
1860	* goffice/gtk/go-action-combo-stack.c: ditto.
1861	* goffice/gtk/go-action-combo-text.c: ditto.
1862	* goffice/gtk/go-charmap-sel.c: ditto.
1863	* goffice/gtk/go-color-palette.c: ditto.
1864	* goffice/gtk/go-combo-box.c: ditto.
1865	* goffice/gtk/go-combo-pixmaps.c: ditto.
1866	* goffice/gtk/go-dock-band.c: ditto.
1867	* goffice/gtk/go-dock-item-grip.c: ditto.
1868	* goffice/gtk/go-dock-item.c: (go_dock_item_get_grip): ditto.
1869	* goffice/gtk/go-dock-layout.c: ditto.
1870	* goffice/gtk/go-dock.c: ditto.
1871	* goffice/gtk/go-font-sel.c: (gfs_init): ditto.
1872	* goffice/gtk/go-format-sel.c: (nfs_init): ditto.
1873	* goffice/gtk/go-locale-sel.c: ditto.
1874	* goffice/gtk/go-optionmenu.c: (go_option_menu_scroll_event): ditto.
1875	* goffice/gtk/go-rotation-sel.c: (grs_init): ditto.
1876	* goffice/gtk/goffice-gtk.c: ditto.
1877	* goffice/utils/format.c: ditto.
1878	* goffice/utils/formats.c: ditto.
1879	* goffice/utils/go-format-match.c: (format_match_release): ditto.
1880	* goffice/utils/go-glib-extras.c: ditto.
1881	* goffice/utils/go-gradient.c: ditto.
1882	* goffice/utils/go-line.c: ditto.
1883	* goffice/utils/go-marker.c: ditto.
1884	* goffice/utils/go-pattern.c: ditto.
1885	* goffice/utils/regutf8.c: ditto.
1886	* plugins/plot_barcol/gog-1.5d.c: ditto.
1887	* plugins/plot_barcol/gog-barcol-prefs.c: (gog_barcol_plot_pref): ditto.
1888	* plugins/plot_barcol/gog-barcol.c: ditto.
1889	* plugins/plot_barcol/gog-dropbar.c: ditto.
1890	* plugins/plot_barcol/gog-line.c: ditto.
1891	* plugins/plot_barcol/gog-minmax.c: ditto.
1892	(gog_minmax_plot_populate_editor): ditto.
1893	* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_pref): ditto.
1894	* plugins/plot_pie/gog-pie-prefs.c: (gog_pie_series_element_pref),
1895	(gog_pie_plot_pref), (gog_ring_plot_pref), (gog_pie_series_pref): ditto.
1896	* plugins/plot_pie/gog-pie.c: ditto.
1897	* plugins/plot_radar/gog-radar.c: ditto.
1898	* plugins/plot_surface/gog-contour-prefs.c: ditto.
1899	(gog_contour_plot_pref): ditto.
1900	* plugins/plot_surface/gog-surface.c: ditto.
1901	* plugins/plot_surface/xl-surface.c: ditto.
1902	* plugins/plot_xy/gog-bubble-prefs.c: (gog_bubble_plot_pref): ditto.
1903	* plugins/plot_xy/gog-xy.c: ditto.
1904	* plugins/reg_linear/gog-exp-reg.c: ditto.
1905	* plugins/reg_linear/gog-lin-reg.c: ditto.
1906	* plugins/reg_linear/gog-log-reg.c: ditto.
1907	* plugins/reg_linear/gog-polynom-reg.c: ditto.
1908	* plugins/reg_logfit/gog-logfit.c: ditto.
1909
19102005-10-03  Jean Brefort  <jean.brefort@normalesup.org>
1911
1912	* goffice/graph/gog-object-xml.c (gog_object_set_arg_full) : do
1913	not call g_value_init before gsf_xml_gvalue_from_str.
1914
19152005-10-03  Jean Brefort  <jean.brefort@normalesup.org>
1916
1917	* plugins/plot_surface/gog-surface.c:
1918	(gog_contour_plot_axis_get_bounds),
1919	(gog_contour_view_render): start discrete axis scale from 1.
1920	(gog_contour_plot_set_property): update Y axis when transposing (add
1921	missing line).
1922
19232005-10-02  Jody Goldberg <jody@gnome.org>
1924
1925	* configure.in : bump libgsf req.
1926
1927	* goffice/graph/gog-object-xml.c (gog_object_set_arg_full) : the
1928	  general stuff was split out and moved to the libgsf.  Use the new
1929	  gsf_xml_gvalue_from_str.
1930
19312005-10-02  Jody Goldberg <jody@gnome.org>
1932
1933	* plugins/plot_surface/gog-surface.c (gog_contour_plot_set_property) :
1934	  Don't signal the axis if they are not set yet.  Don't do anything if
1935	  things are not changing.
1936
19372005-10-01  Stepan Kasal  <kasal@ucw.cz>
1938
1939	* configure.in (GOFFICE_LIB_VERSION): Rename to ...
1940	(VERSION_INFO): ... and fix it, adding an explanation.
1941	* goffice/Makefile.am (GOFFICE_LIB_VERSION, VERSION_INFO): Likewise.
1942
19432005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
1944
1945	* goffice/graph/gog-error-bar.c: (cb_destroy), (cb_type_changed): unref
1946	the error bar when appropriate.
1947
19482005-09-26  Jody Goldberg <jody@gnome.org>
1949
1950	* goffice/utils/format.c (go_format_unref) : merge in format_destroy
1951	  there was no utility in keeping them distinct.  Do not warn about
1952	  the final unref of a markup style, they are not kept in the global
1953	  cache.
1954	(go_format_new_markup) : do not put markup formats in the global
1955	  cache.  We do not really want to share them, and the old code would
1956	  replace existing formats in the rare situation where some rich text
1957	  formating happened to be used in the same way in two places
1958	  eg C sub 1  vs C sub 2
1959	(go_format_parse_markup) : support rise.
1960	(cb_attrs_as_string) : ditto.
1961
19622005-09-28  Jean Brefort  <jean.brefort@normalesup.org>
1963
1964	* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): fixed an
1965	inverted test.
1966
19672005-09-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1968
1969	* goffice/graph/gog-graph.c (gog_graph_view_class_init): clip to graph
1970	area.
1971	* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text):
1972	fix text clipping.
1973
19742005-09-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1975
1976	* goffice/graph/gog-axis.c (gog_axis_view_padding_request): axis title
1977	follows axis line now [#317009].
1978	(gog_axis_view_size_allocate): ditto.
1979
19802005-09-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1981
1982	* goffice/graph/gog-theme.c (gog_themes_init): set regression equation
1983	fill color to white.
1984
19852005-09-21  Morten Welinder  <terra@gnome.org>
1986
1987	* goffice/utils/go-glib-extras.c (go_guess_encoding): Return
1988	explicit endianness for UTF-16 encodings.
1989
19902005-09-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1991
1992	* goffice/graph/gog-axis.c (gog_axis_view_padding_request): pass
1993	available to gog_view_size_request.
1994	(gog_axis_view_size_allocate): ditto.
1995	* goffice/graph/gog-label.c (gog_text_view_size_request): ditto.
1996	* goffice/graph/gog-legend.c (gog_legend_view_size_request):
1997	multicolumn/line and horizontal layout support.
1998	(cb_render_elements): ditto.
1999	(gog_legend_view_render): ditto.
2000	* goffice/graph/gog-view.c (gog_view_size_request_real): use different
2001	parameters for different meanings.
2002	(gog_view_size_request): ditto.
2003	(gog_view_size_allocate_real):  pass available to
2004	gog_view_size_request.
2005	(gog_view_render): don't render when allocation is invalid, not
2006	residual.
2007	(gog_view_size_child_request): return additionnal requisition and
2008	minimum child requisition.
2009
20102005-09-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2011
2012	* goffice/utils/go-geometry.c: use hypot and atan2 functions.
2013
20142005-09-16  Morten Welinder  <terra@gnome.org>
2015
2016	* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): Always
2017	set ->alpha.
2018
20192005-09-14  Jody Goldberg <jody@gnome.org>
2020
2021	* goffice/graph/gog-style.c (text_layout_init) : use GORotationSel
2022
20232005-09-15  Morten Welinder  <terra@gnome.org>
2024
2025	* goffice/utils/regutf8.c (go_regcomp): Improve error handling.
2026
20272005-09-12  Jean Brefort  <jean.brefort@normalesup.org>
2028
2029	* plugins/reg_logfit/gog-logfit.c:
2030	(gog_log_fit_curve_get_equation): fixed a sign in displayed equation.
2031
20322005-09-12  Jean Brefort  <jean.brefort@normalesup.org>
2033
2034	* configure.in: add plugins/reg_logfit/Makefile
2035	* goffice/graph/gog-reg-curve.c: (gog_reg_curve_populate_editor),
2036	(gog_reg_curve_finalize), (gog_reg_curve_class_init),
2037	(gog_reg_curve_get_R2): changed api to support more regressions types.
2038	* goffice/graph/gog-reg-curve.h: ditto.
2039	* plugins/Makefile.am: added reg_logfit subdir.
2040	* plugins/reg_linear/Makefile.am: added exp, log and polynom regs.
2041	* plugins/reg_linear/gog-exp-reg.c: implement exponential regressions.
2042	* plugins/reg_linear/gog-exp-reg.h: ditto.
2043	* plugins/reg_linear/gog-lin-reg.c: updated to support other linear
2044	regression types: log, exp and polynom.
2045	* plugins/reg_linear/gog-lin-reg.h: ditto.
2046	* plugins/reg_linear/gog-log-reg.c: implement logarithmic regressions.
2047	* plugins/reg_linear/gog-log-reg.h: ditto.
2048	* plugins/reg_linear/gog-polynom-reg.c: implement polynomial regressions.
2049	* plugins/reg_linear/gog-polynom-reg.h: ditto.
2050	* plugins/reg_linear/plugin.xml.in: add the new types.
2051	* plugins/reg_linear/reg-types.xml.in: ditto.
2052	* plugins/reg_logfit/Makefile.am: new file. Implements log fits analog
2053	to the gnumeric LOGFIT function.
2054	* plugins/reg_logfit/gog-logfit.c: ditto.
2055	* plugins/reg_logfit/gog-logfit.h: ditto.
2056	* plugins/reg_logfit/plugin.xml.in: ditto.
2057	* plugins/reg_logfit/reg-types.xml.in: ditto.
2058
20592005-09-10  Stepan Kasal  <kasal@ucw.cz>
2060
2061	* goffice/utils/go-file.h (go_shell_argv_to_glib_encoding): Changed
2062	  the return value to "gchar const **".
2063	(go_shell_argv_to_glib_encoding_free): New function, frees the args
2064	  array created by go_shell_argv_to_glib_encoding.
2065	* goffice/utils/go-file.h (saved_args, saved_argc): New static
2066	  variables.
2067	(go_shell_argv_to_glib_encoding): Store args and argc to saved_args
2068	  and saved_argc; adapted to the changed type of return value.
2069	  Moved to the end of the file.
2070	(go_shell_argv_to_glib_encoding_free): Implement.
2071
20722005-09-08  Morten Welinder  <terra@gnome.org>
2073
2074	* goffice/utils/format.c (split_time): Add precision argument.
2075	(guess_invprecision): Crude hack to guess precision.
2076
20772005-09-08  Jody Goldberg <jody@gnome.org>
2078
2079	* goffice/utils/format.c (number_format_init) : add an unref when
2080	  formats are removed from the cache.
2081	(cb_format_leak) : ignore the ref from the cache.
2082	(go_format_unref) : warn if final unref and format is still in cache.
2083	(number_format_shutdown) : work around the warning in _unref.
2084	(go_format_new_from_XL) : give a ref to the cache and the caller.
2085	(go_format_new_markup) : ditto.
2086
20872005-09-08  Jody Goldberg <jody@gnome.org>
2088
2089	* configure.in : post release bump.  jump to 0.1.0 in preparation for
2090	  release
2091
20922005-09-08  Jody Goldberg <jody@gnome.org>
2093
2094	* Release 0.0.4
2095
20962005-09-05  Jody Goldberg <jody@gnome.org>
2097
2098	* goffice/utils/format.c (go_format_number) : Show 0/??? for fractions
2099	  with no integer component. [#315018]
2100
21012005-09-05  Jody Goldberg <jody@gnome.org>
2102
2103	* goffice/utils/go-format-match.c (format_create_regexp) : match
2104	  correct number of digits in denominator.
2105
21062005-09-05  Stepan Kasal  <kasal@ucw.cz>
2107
2108	* goffice/graph/gog-reg-curve.c (skip_invalid_toggled_cb): Move this
2109	function next to gog_reg_curve_populate_editor, where it is used.
2110	(gog_reg_curve_set_property), (gog_reg_curve_class_init): Fix consts.
2111
21122005-09-05  Jean Brefort  <jean.brefort@normalesup.org>
2113
2114	* goffice/graph/gog-reg-curve-prefs.glade: add a check box to allow
2115	invalid data skipping [#312788].
2116	* goffice/graph/gog-reg-curve.c: (skip_invalid_toggled_cb),
2117	(gog_reg_curve_populate_editor), (gog_reg_curve_get_property),
2118	(gog_reg_curve_set_property), (gog_reg_curve_class_init): ditto.
2119	* goffice/graph/gog-reg-curve.h: add skip_invalid to GogRegCurve and
2120	remove obsolete members.
2121	* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update): use
2122	GogRegCurve::skip_invalid [#312788] and use code in go-regression.c.
2123
21242005-09-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2125
2126	* goffice/graph/gog-renderer-svg.c (fill_properties): set fill pattern
2127	opacity.
2128
21292005-09-02  Jody Goldberg <jody@gnome.org>
2130
2131	* goffice/app/io-context.c (gnm_io_context_processing_file) : people
2132	  do not want to see escaped uri's in the progress bar.
2133
21342005-09-02  Jody Goldberg <jody@gnome.org>
2135
2136	* goffice/utils/format.c : Add GOFormatElement::forces_text.
2137	(format_entry_ctor) : initialize it to FALSE.
2138	(format_compile) : '@' sets it to TRUE.
2139
21402005-08-31  Jean Brefort  <jean.brefort@normalesup.org>
2141
2142	* goffice/utils/Makefile.am: add go-regression.* and go-rangefuncs.*
2143	* goffice/utils/go-rangefunc.c: imported various functions from gnumeric
2144	and build both double and long double versions if long double is available.
2145	* goffice/utils/go-rangefunc.h: ditto.
2146	* goffice/utils/go-regression.c: ditto.
2147	* goffice/utils/go-regression.h: ditto.
2148
21492005-08-29  Jody Goldberg <jody@gnome.org>
2150
2151	* goffice/utils/format-impl.h : s/StyleFormatEntry/GOFormatElement/
2152	  Move the regexp into here from.
2153	* goffice/utils/go-format.h : here.
2154	  s/StyleFormat/GOFormat/
2155
21562005-08-26  Jody Goldberg <jody@gnome.org>
2157
2158	* goffice/graph/gog-plot.c (gog_plot_new_series) : add some safety.
2159	* goffice/graph/gog-data-set.c (gog_dataset_set_dim) : add some safety
2160	  for invalid datasets, being careful to avoid leaking the new val.
2161
21622005-08-24  Stepan Kasal  <kasal@ucw.cz>
2163
2164	The roles hash is now inherited by subclasses, with copy-on-write.
2165
2166	* goffice/graph/gog-object.h (GogObject) <roles_allocated>: New flag,
2167	indicates whether this function is resposible to free the hash.
2168	(gog_object_unregister_role): Removed.
2169	* goffice/graph/gog-object.c (gog_object_unregister_role): Removed.
2170	(gog_object_base_finalize): Free the hash, if it's ours.
2171	(gog_object_base_init): Set roles_allocated to FALSE, indicating that
2172	the inherited hash is read-only.
2173	(gog_object_register_roles): When first used for a class, call ...
2174	(gog_object_allocate_roles): ... this new function, which creates
2175	a new hash and fill is with inherited values, if any, using...
2176	(cb_copy_hash_table): ... this new helper function.
2177
2178	* goffice/graph/gog-series.c (gog_series_base_init): Nuke, moving the
2179	roles registration code ...
2180	(gog_series_class_init): ... here.
2181	* plugins/plot_barcol/gog-1.5d.c (gog_series1_5d_base_class_finalize): Nuke.
2182	* plugins/plot_xy/gog-xy.c (gog_xy_series_base_finalize): Nuke.
2183
21842005-08-24  Stepan Kasal  <kasal@ucw.cz>
2185
2186	* goffice/utils/go-math.c (go_math_init): Fix the bugzilla URL.
2187
21882005-08-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2189
2190	* goffice/graph/gog-reg-curve.c (gog_reg_curve_view_render): clip to
2191	residual area.
2192	* plugins/plot_xy/gog-xy.c (gog_xy_view_render): don't clip children,
2193	we want to be able to show equation outside of plot area.
2194
21952005-08-18  Stepan Kasal  <kasal@ucw.cz>
2196
2197	* goffice/utils/go-pattern.c (go_pattern_get_svg_path): Issue an
2198	  error if the pattern is not found.
2199	* plugins/plot_xy/gog-xy.c (gog_xy_view_render): Silence the compiler.
2200
22012005-08-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2202
2203	Make GogRegEqn and GogLabel a derived class of GogText.
2204
2205	* goffice/graph/gog-reg-eqn.[ch]: removed.
2206	* goffice/graph/Makefile.am: remove references to gog-reg-eqn.[ch].
2207	* goffice/graph/gog-label.c: rename GogLabel class to GogText.
2208	Implement GogLabel as a derived class of GogText and a GogDataSet
2209	interface.
2210	(gog_text_get_str): new.
2211	Implement GogRegEqn as a derived class of GogText.
2212	(gog_reg_eqn_populate_editor): remove code related to position.
2213	(gog_reg_eqn_class_init): remove position properties.
2214	rename GogLabelView to GogTextView.
2215	(gog_text_view_render): get content from gog_text_get_str.
2216	* goffice/graph/gog-reg-eqn-prefs.glade: fix layout. Remove position
2217	widgets.
2218	* goffice/graph/gog-reg-curve-prefs.glade: fix layout.
2219
22202005-08-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2221
2222	Fix position constistency between discrete and linear axes. Enable
2223	user set bounds for discrete axes [#309468].
2224
2225	* goffice/graph/gog-chart.c (gog_chart_map_new): th1 = maximum now,
2226	not maximum + 1.
2227	(calc_polygon_parameters): ditto. take start theta (th0) into
2228	account.
2229	* goffice/graph/gog-axis-line.c (axis_circle_render): ditto.
2230	(radar_process): ditto.
2231	* goffice/graph/gog-grid-line.c (gog_grid_line_view_render): ditto.
2232	* goffice/graph/gog-grid.c (gog_grid_view_render): ditto.
2233	* goffice/utils/go-math.c (go_rint): new.
2234	* goffice/graph/gog-axis.c (map_discrete_calc_ticks): fix label when
2235	minimum != 1.
2236	(gog_axis_populate_editor): enable minimum et maximum editor for
2237	discrete axes.
2238	* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds):
2239	minimum = 1.0 now.
2240	* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): use GogChartMap
2241	facilities. minimum = 1.0 now.
2242	* plugins/plot_barcol/gog-line.c (gog_line_view_render): minimum = 1.0 now.
2243	* plugins/plot_radar/gog-radar.c (gog_rt_plot_update): ditto.
2244	(gog_rt_view_render): take start theta (th0) into account.
2245
22462005-08-17  Jean Brefort  <jean.brefort@normalesup.org>
2247
2248	* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_update),
2249	(gog_box_plot_view_render), (float_compare),
2250	(gog_box_plot_series_update): use raw data instead of min, max, median
2251	and quartiles. Fixes #308136.
2252	* plugins/plot_boxes/plot-types.xml.in: removed obsolete comment.
2253
22542005-08-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2255
2256	* plugins/plot_xy/gog-xy.c (gog_xy_view_render): use GogChartMap
2257	facilities.
2258	* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto. be
2259	consistent with GogXYPlot.
2260
22612005-08-16  Stepan Kasal  <kasal@ucw.cz>
2262
2263	* goffice/graph/gog-axis.c (gog_axis_get_grid_line): Fix typo
2264	  in the comment.
2265
22662005-08-15  Morten Welinder <terra@gnome.org>
2267
2268	* configure.in: Post release bump
2269
22702005-08-15  Morten Welinder <terra@gnome.org>
2271
2272	* Release 0.0.3
2273
22742005-08-15  Jean Brefort  <jean.brefort@normalesup.org>
2275	* goffice/graph/gog-object-xml.c: (gog_object_new_from_xml): return NULL
2276	if dynamic type is not available.
2277
22782005-08-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2279
2280	* goffice/graph/gog-guru.c (cb_graph_guru_add_plot): call
2281	gog_plot_guru_helper if plot is added from porerty editor page.
2282
22832005-08-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2284
2285	* goffice/graph/gog-axis.c (map_bounds): minimum or maximum may be
2286	NULL.
2287	(map_log_bounds): ditto.
2288	* goffice/graph/gog-series-lines.c (gog_series_lines_render): draw
2289	sharp lines.
2290	* plugins/plot_xy/gog-xy.c (gog_xy_view_render): draw drop lines from
2291	point to axis start.
2292
22932005-08-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2294
2295	* goffice/graph/goffice-graph.h: new GOG_POSITION_IS_SPECIAL and
2296	GOG_POSITION_IS_PADDING macros for determining GogPosition type.
2297	Simple == test doesn't work.
2298	* goffice/graph/gog-axis.c (gog_axis_view_padding_request): use these
2299	macros.
2300	(gog_axis_view_size_allocate): ditto.
2301	* goffice/graph/gog-chart.c (gog_chart_view_size_allocate): ditto.
2302	* goffice/graph/gog-graph.c (gog_graph_view_size_allocate): ditto.
2303	* goffice/graph/gog-view.c (gog_view_padding_request_real): ditto.
2304	(gog_view_size_allocate_real): ditto.
2305	(gog_view_size_child_request): ditto.
2306	* goffice/graph/gog-object.c (gog_object_position_cmp): ditto.
2307	(gog_object_populate_editor): fix manual_toggle widget handling.
2308	(cb_anchor_changed): set position to manual if anchor changes.
2309
23102005-08-14  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2311
2312	Fix clipping of polar plots. Renamed all clip_push, clip_pop functions
2313	to push_clip, pop_clip for consistency with push_style, pop_style.
2314
2315	* goffice/graph/gog-renderer-gnome-print.c
2316	(print_make_rectangle_path): removed.
2317	(gog_renderer_gnome_print_push_clip): clipping region is a path now.
2318	(gog_renderer_gnome_print_draw_path): clip dashed line to graph bbox.
2319	(gog_renderer_gnome_print_draw_polygon): ditto.
2320	(gog_graph_print_to_gnome_print): stire graph bbox.
2321	* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_push_clip):
2322	handle clipping region as path, assuming nested region is included in
2323	parent one.
2324	(gog_renderer_pixbuf_pop_clip): free clip svp.
2325	(gog_renderer_pixbuf_do_clip): new.
2326	(gog_renderer_pixbuf_draw_path): call gog_renderer_pixbuf_do_clip.
2327	clip dashed line to graph bbox.
2328	(gog_renderer_pixbuf_draw_polygon): ditto.
2329	* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_push_clip):
2330	clipping region is a path now.
2331	* goffice/graph/gog-renderer.c (gog_renderer_push_clip): ditto.
2332	(gog_renderer_pop_clip): ditto. Free clip_path.
2333	(gog_renderer_get_rectangle_vpath): new.
2334	* goffice/graph/gog-view.c (gog_view_render): clipping region is a
2335	path now.
2336	* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto.
2337	* plugins/plot_radar/gog-radar.c (gog_rt_plot_guru_helper): force
2338	auto_dash to FALSE.
2339	(gog_rt_view_render): add correct polar clipping.
2340	(gog_rt_series_init_style): don't disable marker theming.
2341
23422005-08-14  Jean Brefort  <jean.brefort@normalesup.org>
2343
2344	* goffice/graph/gog-series.c: (gog_series_class_init),
2345	(gog_series_base_init): moved roles registering from class_init to
2346	base_init.
2347
23482005-08-13  Jean Brefort  <jean.brefort@normalesup.org>
2349
2350	* goffice/graph/gog-chart.c: (calc_circle_parameters): fix a dangerous
2351	comparison and avoid resulting infinite loops.
2352
23532005-08-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2354
2355	* goffice/graph/gog-view.c (gog_view_info_at_point): walk the list in
2356	reverse order.
2357
23582005-08-12  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2359
2360	Add pattern support for SVG renderer [#310320].
2361
2362	* goffice/graph/gog-renderer-svg.c (fill_properties): add support for
2363	patterns.
2364	* goffice/utils/Makefile.am: install svg-patterns.xml in
2365	goffice_datadir/patterns.
2366	* goffice/utils/go-pattern.c: fix thin-rev-diag str in go_patterns.
2367	(go_pattern_get_svg_path): new.
2368	* goffice//utils/svg-patterns.xml: new.
2369
23702005-08-12  Jean Brefort  <jean.brefort@normalesup.org>
2371
2372	* goffice/graph/gog-grid-line.c: (gog_grid_line_view_render):
2373	fix a memory leak
2374	* goffice/graph/gog-plot.c: (gog_plot_finalize): and one more.
2375
23762005-08-12  Jean Brefort  <jean.brefort@normalesup.org>
2377
2378	* goffice/graph/gog-object.c: (gog_object_clear_parent),
2379	(gog_object_set_parent): do not set class before checking object validity.
2380
23812005-08-11  Morten Welinder  <terra@gnome.org>
2382
2383	* goffice/utils/go-format-match.c (format_create_regexp): Fix
2384	buffer overrun problem exibited while loading file from #313150.
2385
23862005-08-11  Jean Brefort  <jean.brefort@normalesup.org>
2387
2388	* goffice/app/go-plugin-loader-module.c: updated to new
2389	GSF_CLASS_FULL signature.
2390	* goffice/app/io-context.c: ditto.
2391	* goffice/graph/gog-axis-line.c: ditto.
2392	* goffice/graph/gog-axis.c: ditto.
2393	* goffice/graph/gog-error-bar.c: ditto.
2394	* goffice/graph/gog-label.c: ditto.
2395	* goffice/graph/gog-reg-curve.c: ditto.
2396	* goffice/graph/gog-series.c: ditto.
2397	* goffice/graph/gog-style.c: ditto.
2398	* plugins/plot_barcol/gog-1.5d.c: updated to new
2399	GSF_DYNAMIC_CLASS_FULL signature.
2400	* plugins/plot_xy/gog-xy.c: ditto and use base_finalize instead
2401	of class_finalize.
2402
24032005-08-10  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2404
2405	* goffice/graph/gog-axis-line.c (axis_circle_render): fix label
2406	overlap of 0° and 360° ticks.
2407
2408	GogPlot::guru_helper implementation for automatic addition of objects
2409	when creating graphs in guru.
2410
2411	* goffice/graph/gog-axis.c (role_grid_line_can_add): removed.
2412	(role_grid_line_major_can_add): use new gog_axis_get_grid_line
2413	function.
2414	(role_grid_line_minor_post_add): ditto.
2415	(gog_axis_get_grid_line): new.
2416	* goffice/graph/gog-chart.c (role_plot_pre_remove): remove
2417	GogChart::grid if new axis set is not compatible.
2418	(role_grid_can_add): add GOG_AXIS_SET_RADAR in list of axis sets
2419	compatible with GogGrid.
2420	(gog_chart_axis_set_assign): don't handle GogGrid object here.
2421	* goffice/graph/gog-guru.c (graph_typeselect_minor): remove current
2422	chart, not only plot. Call GogPlot::guru_helper for additionnal
2423	objects.
2424	* goffice/graph/gog-plot.c (gog_plot_set_property): add new guru-hints
2425	property, which is a semicolon separated list of hints for
2426	GogPlot::guru_helper.
2427	(gog_plot_get_property): ditto.
2428	(gog_plot_class_init): ditto.
2429	(gog_plot_guru_helper_add_grid_line): new.
2430	(gog_plot_guru_helper): new.
2431	* plugins/plot_barcol/plot_types.xml.in: add "backplane" hint for all
2432	plots.
2433	* plugins/plot_box_plot/plot_types.xml.in: ditto.
2434	* plugins/plot_radar/gog-radar.c (gog_rt_plot_guru_helper): new.
2435	Handle "circular-no-line" guru hint.
2436	* plugins/plot_radar/plot-types.xml.in: add "circular-no-line" hint to
2437	radar plots. add "major-grid" and "backplane" to polar plot.
2438	* plugins/plot_xy/plot-types.xml.in: add "backplane" to all plots.
2439
24402005-08-10  Jean Brefort  <jean.brefort@normalesup.org>
2441
2442	* plugins/plot_barcol/gog-1.5d.c:
2443	(gog_series1_5d_register_type): use base_finalize instead of
2444	class_finalize since we have derived classes.
2445
24462005-08-08  J.H.M. Dassen (Ray) <jdassen@debian.org>
2447
2448	* *: Updated FSF's address.
2449
24502005-08-07  Stepan Kasal  <kasal@ucw.cz>
2451
2452	* goffice/graph/Makefile.am (goffice_gladedir): Rename to ...
2453	(gladedir): ..., to prevent conflicts--goffice_gladedir is AC_SUBSTed.
2454	* goffice/gtk/Makefile.am (goffice_gladedir, gladedir): Likewise.
2455
24562005-08-06  Jean Brefort  <jean.brefort@normalesup.org>
2457
2458	* goffice/goffice.c: (libgoffice_init): add call to GOG_SERIES_LINES_TYPE.
2459	* goffice/graph/Makefile.am: add gog-series-lines.[c,h].
2460	* goffice/graph/gog-object.c: (gog_object_unregister_role): new function.
2461	* goffice/graph/gog-object.h: ditto.
2462	* goffice/graph/gog-series-lines.c: moved from plugins/plot_barcol.
2463	* goffice/graph/gog-series-lines.h: ditto.
2464	* plugins/plot_barcol/Makefile.am: remove gog-series-lines.[c,h].
2465	* plugins/plot_barcol/gog-1.5d.c: (gog_series1_5d_class_finalize),
2466	(gog_series1_5d_get_type), (gog_series1_5d_register_type),
2467	(go_plugin_init): unregister roles when class is destroyed.
2468	* plugins/plot_barcol/gog-barcol.c: update path to gog-series-lines.h.
2469	* plugins/plot_barcol/gog-dropbar.c: ditto.
2470	* plugins/plot_barcol/gog-line.c: ditto.
2471	* plugins/plot_barcol/gog-minmax.c: ditto.
2472	* plugins/plot_barcol/gog-series-lines.c: moved to goffice/graph/.
2473	* plugins/plot_barcol/gog-series-lines.h: ditto.
2474	* plugins/plot_xy/gog-xy.c: add horizontal and vertical droplines.
2475	* plugins/plot_xy/gog-xy.h: ditto.
2476
24772005-08-04  Jean Brefort  <jean.brefort@normalesup.org>
2478
2479	* goffice/utils/go-line.c (go_line_build_bpath): do not access data
2480	outside of allocated arrays.
2481
24822005-08-04  Stepan Kasal  <kasal@ucw.cz>
2483
2484	* goffice/utils/go-file.c: #include unistd.h, for dup().
2485
24862005-08-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2487
2488	Allow user to delete all plots of a chart and re-add new plots with
2489	different axis set.
2490
2491	* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
2492	handle GOG_AXIS_SET_UNKNOW.
2493	(gog_axis_base_view_info_at_point): ditto. Do nothing.
2494	(gog_axis_base_view_padding_request): ditto.
2495	(gog_axis_base_view_render): ditto.
2496	* goffice/graph/gog-chart.c (role_plot_pre_remove): if there's no plot
2497	left, reset axis_set to GOG_AXIS_SET_UNKNOW.
2498	(gog_chart_axis_set_assign): don't touch axes if axis_set ==
2499	GOG_AXIS_SET_UNKNOW.
2500	* goffice/graph/gog-guru.c (cb_graph_guru_delete_item): select parent
2501	row after item is deleted, because if we do this before, parent->add
2502	submenu is sometimes incorrect.
2503
25042005-08-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2505
2506	* goffice/graph/gog-axis-line.c (gog_axis_base_view_info_at_point):
2507	handle GOG_AXIS_SET_XY_pseudo_3d.
2508	* goffice/graph/gog-chart.c (gog_axis_set_from_str): new.
2509	* goffice/graph/gog-guru.c (cb_plot_family_menu_create): show only
2510	family with compatible axis set.
2511	* goffice/graph/gog-label.c (gog_label_init_style): only change text
2512	orientation if auto flag is TRUE.
2513	* goffice/graph/gog-plot-engine.c (cb_pending_plot_types_load): load
2514	axis_set from plot-types.xml.
2515	(gog_plot_family_register): set axis_set.
2516	* goffice/graph/gog-plot-impl.h: now store axis_set in GogPlotClass. No
2517	need for GogPlot::axis_set_pref, GogPlot::axis_set_is_valid and
2518	GogPlot::axis_set_assign.
2519	* goffice/graph/gog-plot.c (gog_plot_axis_set_pref): use
2520	GogPlot::axis_set.
2521	(gog_plot_axis_set_is_valid): ditto.
2522	(gog_plot_axis_set_assign): ditto.
2523	* goffice/graph/gog-style.c (gog_style_assign): assign
2524	GogStyle::text_layout.auto_angle too.
2525	(gog_style_force_auto): init GogStyle::text_layout.auto_angle.
2526	(gog_style_set_text_angle): force auto_angle to FALSE.
2527	* goffice/gtk/goffice-gtk.c (go_gtk_button_new_with_stock): fix
2528	compilation warning.
2529	* plugins/plot_*/gog*.c: remove axis_set_pref, axis_set_is_valid,
2530	axis_set_assign functions. Set GogPlotClass::axis_set value.
2531	* plugins/plot_*/plot-types.xml.in: Add axis_set property.
2532
25332005-08-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
2534
2535	* README, configure.in: Bumped libgsf requirements as
2536	goffice/utils/go-file.c needs gsf_input_stdio_new_FILE which is only in
2537	libgsf HEAD.
2538
25392005-08-03  Jody Goldberg <jody@gnome.org>
2540
2541	* goffice/gtk/goffice-gtk.c (go_gtk_button_new_with_stock) : Use
2542	  gtk_button_set_image to avoid the kludgery that broken settings.
2543	(go_gtk_dialog_add_button) : merged from gnumeric.
2544
25452005-08-03  Morten Welinder  <terra@gnome.org>
2546
2547	* goffice/utils/go-file.c (go_file_open): Handle URIs like "fd://0".
2548
25492005-08-03  Stepan Kasal  <kasal@ucw.cz>
2550
2551	* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text):
2552	  Fix a typo; add an initialization to silence a warning.
2553
25542005-08-03  Stepan Kasal  <kasal@ucw.cz>
2555
2556	In many Makefile.am's, use the "dist_" prefix instead of adding the
2557	variable to EXTRA_DIST.
2558	* goffice/graph/Makefile.am (cairo_sources, cairo_headers): Nuke;
2559	  instead, append to the variables directly.
2560
25612005-08-03  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2562
2563	Cairo renderer build fixes.
2564
2565	* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_draw_text):
2566	fix size.
2567	(gog_renderer_cairo_get_text_OBR): ditto.
2568	(gog_renderer_cairo_update): graph size is a property of GogGraph now.
2569
25702005-07-28  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2571
2572	Who said text angle is not a style property ?
2573
2574	* goffice/graph/gog-axis-line.c (gog_axis_base_set_property): remove
2575	label-angle property.
2576	(gog_axis_base_get_property): ditto.
2577	(gog_axis_base_class_init): ditto.
2578	(gog_axis_base_set_label_angle): removed.
2579	(cb_label_angle_changed): removed.
2580	(gog_axis_base_populate_editor): remove UI for label angle.
2581	* goffice/graph/gog-axis-prefs.glade: ditto.
2582	* goffice/graph/gog-axis.c (role_label_post_add): removed.
2583	(role_label_can_add): new.
2584	(gog_axis_init_style): if axis is GOG_AXIS_PSEUDO_3D, no style.
2585	* goffice/graph/gog-label.c (gog_label_set_angle): removed.
2586	(gog_label_set_property): remove angle property.
2587	(gog_label_get_property): ditto.
2588	(gog_label_class_init): ditto.
2589	(label_pref_state_free): removed.
2590	(cb_angle_changed): removed.
2591	(gog_label_populate_editor): remove UI for angle.
2592	(gog_label_init_style): set text angle to 90 if parent is an Y axis.
2593	* goffice/graph/gog-renderer-gnome-print.c
2594	(gog_renderer_gnome_print_draw_text): text_angle is a style property.
2595	* goffice/graph/gog-renderer-pixbuf.c
2596	(gog_renderer_pixbuf_get_pango_layout): ditto.
2597	* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_draw_text):
2598	ditto.
2599	* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): ditto.
2600	(gog_renderer_push_style): no more
2601	angle property in renderer.
2602	(gog_renderer_pop_style): ditto.
2603	(gog_renderer_set_text_angle): removed.
2604	* goffice/graph/gog-style-prefs.glade: add a new UI for text layout
2605	group.
2606	* goffice/graph/gog-style (cb_angle_changed): new.
2607	(text_layout_init): new.
2608	(gog_style_assign): handle angle.
2609	(gog_style_init): ditto.
2610	(gog_style_text_layout_load): new.
2611	(gog_style_text_layout_dom_save): new.
2612	(gog_style_text_layout_sax_save): new.
2613	(gog_style_persist_dom_load): handle angle.
2614	(gog_style_persist_dom_save): ditto.
2615	(gog_style_persist_sax_save): ditto.
2616	(gog_style_is_different_size): ditto.
2617	(gog_style_set_text_angle): new.
2618	* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
2619	don't display style editor if there isn't any interresting fields.
2620
26212005-07-27  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2622
2623	Code cleanup. Remove bbox parameter of GogRenderer:draw functions.
2624	It was a previous attempt to do clipping, which is handled by
2625	gog_renderer_clip_push and gog_renderer_clip_pop for quite a long
2626	time now.
2627
2628	Modified Files:
2629
2630	ChangeLog goffice/graph/gog-axis-line.c
2631	goffice/graph/gog-error-bar.c goffice/graph/gog-grid-line.c
2632	goffice/graph/gog-grid.c goffice/graph/gog-label.c
2633	goffice/graph/gog-legend.c goffice/graph/gog-outlined-object.c
2634	goffice/graph/gog-reg-curve.c goffice/graph/gog-reg-eqn.c
2635	goffice/graph/gog-renderer-cairo.c
2636	goffice/graph/gog-renderer-gnome-print.c
2637	goffice/graph/gog-renderer-impl.h
2638	goffice/graph/gog-renderer-pixbuf.c
2639	goffice/graph/gog-renderer-svg.c goffice/graph/gog-renderer.c
2640	goffice/graph/gog-renderer.h plugins/plot_barcol/gog-barcol.c
2641	plugins/plot_barcol/gog-dropbar.c
2642	plugins/plot_barcol/gog-line.c
2643	plugins/plot_barcol/gog-minmax.c
2644	plugins/plot_barcol/gog-series-lines.c
2645	plugins/plot_boxes/gog-boxplot.c plugins/plot_pie/gog-pie.c
2646	plugins/plot_radar/gog-radar.c
2647	plugins/plot_surface/gog-surface.c plugins/plot_xy/gog-xy.c
2648
26492005-07-27  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2650
2651	Text angle is not a font property.
2652	Set default angle to 90° for y axes (#301582).
2653
2654	* goffice/graph/gog-axis-line.c (gog_axis_base_class_init): install
2655	label_angle property.
2656	(gog_axis_base_set_property): handle label_angle property.
2657	(gog_axis_base_get_property): ditto.
2658	(gog_axis_base_set_label_angle): new.
2659	(cb_label_angle_changed): new.
2660	(gog_axis_base_populate_editor): init UI for label_angle.
2661	(gog_axis_base_view_padding_request): set text angle.
2662	(gog_axis_base_view_render): ditto.
2663	* goffice/graph/gog-axis-prefs.glade: add UI for label angle.
2664	* goffice/graph/gog-axis.c (role_label_post_add): new. Sets label
2665	angle to 90° for y axis.
2666	(gog_axis_class_init): add role_label_post_add.
2667	* goffice/graph/gog-label-prefs.glade: new.
2668	* goffice/graph/gog-label.c (gog_label_set_angle): new.
2669	(gog_label_class_init): handle angle property.
2670	(gog_label_set_property): ditto.
2671	(gog_label_get_property): ditto.
2672	(label_pref_state_free): new.
2673	(cb_angle_changed): new.
2674	(gog_label_populate_editor): add layout page for angle setting.
2675	(gog_label_init): new.
2676	(gog_label_view_size_request): set text angle.
2677	(gog_label_view_render): ditto.
2678	* goffice/graph/gog-renderer-gnome-print.c
2679	(gog_renderer_gnome_print_draw_text): text_angle is a property of
2680	renderer.
2681	* goffice/graph/gog-renderer-pixbuf.c
2682	(gog_renderer_pixbuf_get_pango_layout): ditto.
2683	* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_draw_text):
2684	ditto.
2685	* goffice/graph/gog-renderer.c (gog_renderer_push_style): reset text
2686	angle.
2687	(gog_renderer_pop_style): ditto.
2688	(gog_renderer_set_text_angle): new.
2689	(gog_renderer_get_text_OBR): text_angle is a property of renderer.
2690	* goffice/graph/gog-style-prefs.glade: remove UI for angle.
2691	* goffice/graph/gog-style.c (cb_rotation_angle_changed): removed.
2692	(font_init): remove angle UI.
2693	(gog_style_font_load): remove rotation_angle setting.
2694	(gog_style_font_dom_save): ditto.
2695	(gog_style_font_sax_save): ditto.
2696
26972005-07-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2698
2699	* goffice/graph/gog-object-prefs.glade: remove chart preference
2700	dialog and move it to gog-chart-prefs.glade.
2701	* goffice/graph/gog-chart-prefs.glade: new.
2702	* goffice/graph/gog-chart.c (cb_plot_area_changed): actually use
2703	signal handlers.
2704	(gog_chart_populate_editor): ditto.
2705
27062005-07-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2707
2708	Implementation of manual position of graph objects.
2709
2710	* goffice/graph/goffice-graph.h: new modifier flags in
2711	GogObjectPosition for manual position.
2712	* goffice/graph/gog-axis.c (gog_axis_class_init): Label can be
2713	positionned manually.
2714	(gog_axis_view_padding_request): GOG_POSITION_MANUAL supersedes
2715	GOG_POSITION_SPECIAL.
2716	(gog_axis_view_size_allocate): handle GOG_POSITION_MANUAL case.
2717	* goffice/graph/gog-chart-impl.h: plot_area stores plot area position
2718	in fraction of chart size. new is_plot_area_manual flag.
2719	* goffice/graph/gog-chart.c (gog_chart_set_property): new.
2720	(gog_chart_get_property): handles plot-area and is-plot-area-manual
2721	properties.
2722	(chart_pref_state_free): new.
2723	(cb_plot_area_changed): new.
2724	(cb_manual_toggle_changed): new.
2725	(gog_chart_populate_editor): new.
2726	(gog_chart_class_init): reorder childs. Still need some work for a
2727	nice display in object tree.  Install plot-area and
2728	is-plot_area-manual properties.
2729	(gog_chart_get_plot_area): new.
2730	(gog_chart_set_plot_area): new.
2731	(gog_chart_view_get_plot_area): plot area extents are stored in
2732	GogChartView::plot_area now.
2733	(gog_chart_view_size_allocate): handle manual case.
2734	(gog_chart_view_class_init): don't clip to chart area.
2735	* graph/goffice/gog-control-foocanvas
2736	(gog_control_foocanvas_set_property): remove logical_width_pts and
2737	logical_height_pts properties. These are properties of GogGraph now.
2738	(gog_control_foocanvas_get_property): ditto.
2739	(gog_control_foocanvas_class_init): ditto.
2740	* goffice/graph/gog-graph.c (gog_graph_set_property): handle new width-pts
2741	and height-pts properties.
2742	(gog_graph_get_property): ditto.
2743	(gog_graph_class_init): ditto. Chart and Title object can be
2744	positionned manually.
2745	(gog_graph_get_size): new.
2746	(gog_graph_set_size): new.
2747	* goffice/graph/gog-guru.c (cb_typesel_sample_plot_resize): don't
2748	change graph logical size.
2749	(cb_sample_pressed): don't change canvas scale.
2750	(cb_canvas_select_item): center graph on canvas.
2751	(cb_sample_plot_resize): calculate graph size to make it fit in canvas
2752	area.
2753	(graph_guru_init_format_page): don't change canvas scale.
2754	* goffice/graph/gog-object.c (gog_object_set_property): handle new
2755	position, position-is-manual and anchor properties.
2756	(gog_object_get_property): ditto.
2757	(gog_object_class_init): ditto.
2758	(cb_position_changed): new.
2759	(cb_manual_position_changed): new.
2760	(cb_anchor_changed): new.
2761	(gog_object_populate_editor): new UI for manual position setting.
2762	(gog_role_cmp): test priority first, then compare allowable positions.
2763	(gog_object_set_position_flags): emit a warning in case of wrong
2764	flags.
2765	(gog_object_get_manual_position): new.
2766	(gog_object_set_manual_position): new.
2767	(gog_object_get_manual_allocation): new.
2768	* goffice/graph/gog-plot.c (gog_plot_populate_editor): always call parent
2769	populate_editor.
2770	* goffice/graph/gog-renderer-pixbuf.c
2771	(gog_renderer_pixbuf_get_text_OBR): use pango_layout_get_extents
2772	instead of pango_layout_get_pixel_extents for more accuracy.
2773	(gog_renderer_pixbuf_update): logical width and height of graph is a
2774	property of GogGraph now.
2775	* goffice/graph/gog-renderer.c (gog_renderer_set_property): remove
2776	logical_width_pts and logical_height_pts properties.
2777	(gog_renderer_get_property): ditto.
2778	(gog_renderer_class_init): ditto.
2779	* goffice/graph/gog-view.c (gog_view_size_allocate_real): handle
2780	manual case.
2781
27822005-07-22  Chris Lahey  <clahey@our.domain.is.not.set>
2783
2784	* goffice/drawing/god-drawing-renderer-gdk.c: Remove * .7 hack
2785	since it's been fixed in parsing code.
2786
27872005-07-21  Chris Lahey  <clahey@site>
2788
2789	* goffice/drawing/god-drawing-renderer-gdk.c,
2790	goffice/drawing/god-paragraph-attributes.c,
2791	goffice/drawing/god-paragraph-attributes.h: Add support for
2792	setting whether the bullet is drawn for a particular paragraph.
2793
27942005-07-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2795
2796	* goffice/grah/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
2797	don't complain when axis_set = GOG_AXIS_SET_X.
2798	(axis_line_get_bbox): scale tick len with gog_renderer_pt2r instead of
2799	gog_renderer_pt2r_x.
2800	(axis_line_render): ditto.
2801	(axis_circle_get_bbox): ditto.
2802	(axis_circle_render): ditto.
2803	(x_process): use correct enum for label/tick side, which fixes a
2804	display bug.
2805
28062005-07-15  Dom Lachowicz <cinamod@hotmail.com>
2807
2808	* goffice/utils/go-file.c (go_get_mime_type): Free 'wuri' if mime lookup failed;
2809	have function return "application/octet-stream" instead of "octet-string";
2810	g_strdup() the "application/octet-stream" so that we don't try to free .text data
2811
28122005-07-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2813
2814	* goffice/graph/gog-legend.c (cb_render_elements): fix swatch,
2815	line/marker position.
2816
28172005-07-11  Morten Welinder  <terra@gnome.org>
2818
2819	* configure.in (set_more_warnings): Check for fdopen.
2820
2821	* goffice/utils/go-file.c (is_fd_uri): New function.
2822	(go_file_create): Support URIs like "fd://1".
2823
28242005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
2825
2826	* goffice/data/go-data-simple.c: (go_data_vector_str_load_values): set
2827	vec->len (fixes a crash when pasting charts in abiword).
2828	* goffice/graph/goffice-graph.h: change GOG_MS_DIM_* enum.
2829	* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): fix export of
2830	scalar strings.
2831	* goffice/graph/gog-plot.c: (gog_plot_finalize),
2832	(gog_plot_set_property), (gog_plot_get_property),
2833	(gog_plot_class_init), (gog_plot_init): add "plot_group" property.
2834	* goffice/graph/gog-plot.h:
2835	* pixmaps/chart_dropbar_1_1.svg:
2836	* pixmaps/chart_minmax_2_2.svg:
2837	* plugins/plot_barcol/Makefile.am:
2838	* plugins/plot_barcol/gog-1.5d.c: (go_plugin_init):
2839	* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_class_init):
2840	update GOG_MS_DIM_*.
2841	* plugins/plot_barcol/gog-minmax.c: (gog_minmax_axis_get_bounds):
2842	set center_on_ticks to FALSE,
2843	(gog_minmax_plot_class_init): update  GOG_MS_DIM_*.
2844
28452005-06-26  Jean Brefort  <jean.brefort@normalesup.org>
2846
2847	* goffice/graph/gog-theme.c: (gog_themes_init): add GogSeriesLines.
2848	* plugins/plot_barcol/Makefile.am: add gog-series-lines.[c,h].
2849	* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_init),
2850	(series_lines_can_add), (series_lines_post_add),
2851	(series_lines_pre_remove), (drop_lines_can_add),
2852	(drop_lines_post_add), (drop_lines_pre_remove), (lines_can_add),
2853	(lines_post_add), (lines_pre_remove), (gog_series1_5d_class_init),
2854	(gog_series1_5d_init), (go_plugin_init): add support for various lines.
2855	* plugins/plot_barcol/gog-1.5d.h: ditto.
2856	* plugins/plot_barcol/gog-barcol.c: (gog_barcol_plot_init),
2857	(gog_barcol_view_render): added series lines.
2858	* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_init),
2859	(barcol_draw_rect), (gog_dropbar_view_render): added lines.
2860	* plugins/plot_barcol/gog-line.c: (gog_line_plot_init),
2861	(gog_area_plot_init), (gog_line_view_render): added drop lines.
2862	* plugins/plot_barcol/gog-minmax.c: (gog_minmax_plot_init),
2863	(gog_minmax_view_render): added lines.
2864	* plugins/plot_barcol/gog-series-lines.c:
2865	(gog_series_lines_init_style), (gog_series_lines_update),
2866	(gog_series_lines_changed), (gog_series_lines_class_init),
2867	(gog_series_lines_render): support for lines in various plots.
2868	* plugins/plot_barcol/gog-series-lines.h: ditto.
2869
28702005-06-24  Jean Brefort  <jean.brefort@normalesup.org>
2871
2872	* goffice/graph/gog-legend.c: (cb_size_elements),
2873	(gog_legend_view_size_request): use legned style to calculate elements
2874	height.
2875
28762005-06-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2877
2878	* goffice/graph/gog-renderer-cairo.c (grc_invert_pixbuf_RB): new.
2879	(grc_draw_polygon): implement repeated image texture.
2880	(grc_get_marker_surface): use grc_invert_pixbuf_RB.
2881	(gog_renderer_cairo_update): ditto.
2882
28832005-06-21  Jon K Hellan  <hellan@acm.org>
2884
2885	* goffice/graph/gog-control-foocanvas.c
2886	(gog_control_foocanvas_update):  Fix typo.
2887
28882005-06-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2889
2890	New cairo renderer. Option at compile time (--with-cairo).
2891
2892	* configure.in: add optional cairo dependency.
2893	* goffice/graph/gog-control-foocanvas.c
2894	(gog_control_foocanvas_set_property): use cairo renderer if enabled.
2895	(gog_control_foocanvas_draw): ditto.
2896	(gog_control_foocanvas_update): ditto.
2897	(gog_control_foocanvas_class_init): ditto.
2898	* goffice/graph/gog-renderer-cairo.[ch]: new files.
2899	* goffice/utils/go-pattern.c (go_pattern_get_pattern): new.
2900
29012005-06-20  Jean Brefort  <jean.brefort@normalesup.org>
2902
2903	* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
2904	(gog_series1_5d_finalize), (gog_series1_5d_class_init): fixed error bar
2905	leaks.
2906
29072005-06-20  Morten Welinder  <terra@gnome.org>
2908
2909	* goffice/utils/formats.c (find_currency): Special hack to accept
2910	a quoted euro character.
2911	(pattern_account): Remove stray "}".
2912
29132005-06-20  Jean Brefort  <jean.brefort@normalesup.org>
2914
2915	* goffice/graph/gog-guru.c: (cb_canvas_select_item): fixed one more leak.
2916
29172005-06-20  Jean Brefort  <jean.brefort@normalesup.org>
2918
2919	* goffice/graph/gog-guru.c: (cb_canvas_select_item): add missing
2920	g_object_unref call.
2921	* goffice/graph/gog-series.c: (regression_curve_can_add): fixed the test.
2922	* goffice/graph/gog-style.c: (gog_style_set_image_preview): return if
2923	pix == NULL (#308307).
2924
29252005-06-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2926
2927	* goffice/graph/gog-axis-line.c (axis_line_render): remove kludge for
2928	ticks not centered on labels.
2929	* goffice/graph/gog-axis.c (map_discrete_calc_ticks): separate
2930	handling of ticks from handling of labels.
2931	(gog_axis_update): always set GogAxis::center_on_ticks from
2932	GogBounds.
2933	* plugins/plot_radar/gog-radar.c (gog_radar_plot_axis_get_bounds):
2934	set center_on_ticks=TRUE explicitely.
2935
29362005-06-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2937
2938	Support for rotated text and text color.
2939
2940	* goffice/graph/gog-axis-line.c (get_point_to_segment_distance):
2941	moved to go-geometry.c.
2942	(update_bbox): ditto.
2943	(overlap): removed.
2944	(compute_angles): removed.
2945	(axis_line_point): use go_geometry_point_to_segment.
2946	(axis_line_get_bbox): handle rotated text case. Use
2947	go_geometry_cartesian_to_polar. side is an enum now.
2948	(axis_line_render): ditto.
2949	(axis_circle_get_bbox): ditto.
2950	(axis_circle_render): ditto.
2951	(xy_process): side is an enum.
2952	(radar_process): ditto.
2953	* goffice/graph/gog-label.c (gog_label_view_size_request): use
2954	gog_renderer_get_text_AABR.
2955	(gog_label_view_render): ditto.
2956	* goffice/graph/gog-legend.c (cb_size_elements): ditto.
2957	* goffice/graph/gog-reg-eqn.c
2958	(gog_reg_eqn_view_render): ditto.
2959	* goffice/graph/gog-renderer-gnome-print.c
2960	(gog_renderer_gnome_print_draw_text): handle rotated text and color.
2961	(gog_renderer_gnome_print_get_text_OBR): new.
2962	* goffice/graph/gog-renderer-pixbuf.c (get_rotated_layout_bounds):
2963	new.
2964	(gog_renderer_pixbuf_get_pango_layout): handle rotation angle.
2965	(gog_renderer_pixbuf_draw_text): ditto. Handle special n * pi / 2
2966	angles separately for performance.
2967	(gog_renderer_pixbuf_get_text_OBR): new.
2968	* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_get_text_OBR):
2969	ditto.
2970	(gog_renderer_svg_draw_text): handle rotation angle and color.
2971	* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): new.
2972	(gog_renderer_get_text_AABR): new. Replaces measure_text.
2973	* goffice/graph/gog-style-prefs.glade: add widgets for text rotation
2974	angle and text color.
2975	* goffice/graph/gog-style.c (cb_rotation_angle_changed): new.
2976	(cb_font_color_changed): new.
2977	(font_init): load widgets for text rotation and color.
2978	(gog_style_font_load): load rotation angle.
2979	(gog_style_font_save): save rotation angle.
2980	(gog_style_font_sax_save): ditto.
2981	(gog_style_is_different_size): different angles means different sizes.
2982	* goffice/utils/go-geometry.[ch]: new files. Collection of geometry
2983	related functions.
2984
29852005-06-12  Jody Goldberg <jody@gnome.org>
2986
2987	* configure.in : post release bump
2988
29892005-06-12  Jody Goldberg <jody@gnome.org>
2990
2991	* Release 0.0.2
2992
29932005-06-11  Ivan, Wong Yat Cheung  <email@ivanwong.info>
2994
2995	* goffice/gtk/Makefile.am: Fix typos.
2996
29972005-06-09  Morten Welinder  <terra@gnome.org>
2998
2999	* goffice/utils/go-libxml-extras.c (xml_node_get_enum,
3000	xml_node_set_enum): New functions.
3001	(xml_node_get_int, xml_node_get_double): Improve error handling.
3002
30032005-06-08  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3004
3005	* goffice/gtk/htmlhelp-stub.c:
3006	* goffice/gtk/htmlhelp-stub.h:
3007	* goffice/gtk/libhtmlhelp-stub.def: Remove
3008	* goffice/gtk/Makefile.am: Remove libgoffice-html-help-stub.la
3009	  it no longer belongs here.
3010
3011	* goffice/Makefile.am:
3012	* goffice/gtk/goffice-gtk.c:
3013	* goffice/utils/Makefile.am: Now stubs for Win32 are placed in
3014	  libgoffice-win32-stub.la
3015
3016	* goffice/utils/goffice-win32-stub.def:
3017	* goffice/utils/win32-stub.c:
3018	* goffice/utils/win32-stub.h: New
3019
3020	* goffice/utils/go-file.[ch] (go_get_mime_type): Use
3021	  FindMimeFromData() on Win32. Fall back to "text/plain" if
3022	  no mime type is matched. [#304074]
3023
30242005-06-06  Jody Goldberg <jody@gnome.org>
3025
3026	* goffice/app/go-plugin.c : Don't inherit from GTypeModule
3027	  contain one and use it as long as we are active.
3028
30292005-06-06  Morten Welinder  <terra@gnome.org>
3030
3031	* goffice/utils/go-math.c (log1p): Define if needed.
3032
30332005-06-05  Jean Brefort  <jean.brefort@normalesup.org>
3034
3035	* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): add a helper
3036	function to convert data to simple data.
3037	* goffice/graph/gog-data-set.h: ditto.
3038	* goffice/graph/gog-object.c: (dataset_dup), (gog_object_dup): add an
3039	optional data converter to gog_object_dup and define a default one.
3040	* goffice/graph/gog-object.h: ditto.
3041	* goffice/graph/gog-graph.c: use new gog_object_dup syntax.
3042
30432005-06-05  Jody Goldberg <jody@gnome.org>
3044
3045	* goffice/app/go-plugin.c (go_plugin_get_type_module) : new in
3046	  preparation of change to GOPlugin.
3047
30482005-06-05  Jody Goldberg <jody@gnome.org>
3049
3050	* goffice/app/go-plugin.c (go_plugin_activate) : add a
3051	  g_type_module_use
3052	(go_plugin_deactivate) : and an unuse.  Things are still broken on
3053	  exit.
3054
30552005-06-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3056
3057	* goffice/graph/gog-object (gog_object_populate_editor): remove
3058	g_message call.
3059
30602005-06-04  Jody Goldberg <jody@gnome.org>
3061
3062	* plugins/plot_xy/plot-types.xml.in : XY priority 100
3063	* plugins/plot_barcol/plot-types.xml.in : COL priority 90
3064	  BAR priority 80
3065
3066	* goffice/graph/gog-guru.c (cb_plot_families_init) : select if the
3067	  current item is a higher priority than anything we've seen.
3068	(graph_guru_type_selector_new) : don't connect to the signal handler
3069	  until after we select the default type.  Sort the list of families.
3070	  We need to prune this list.
3071
3072	* goffice/graph/gog-plot-engine.c (cb_pending_plot_types_load) : load
3073	  a priority for each family to allow for a reasonable default.
3074
30752005-06-04  Jody Goldberg <jody@gnome.org>
3076
3077	* goffice/gtk/go-format-sel.c (nfs_init) : suppress warning.
3078	(generate_preview) : put the args in the right order and remove the
3079	  debug spew.
3080
30812005-06-04  Jean Brefort  <jean.brefort@normalesup.org>
3082
3083	* plugins/plot_surface/gog-surface.c: (gog_contour_view_render):
3084	fixed appearance, libart warnings and a major bug.
3085
30862005-06-03  Stepan Kasal  <kasal@ucw.cz>
3087
3088	* configure.in: Require libgsf 1.12.1; GSF_DYNAMIC_CLASS has changed.
3089
30902005-06-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3091
3092	* goffice/graph/Makefile.am: add gog-object-prefs.glade
3093	* goffice/graph/gog-graph.c (gog_graph_class_init): position of chart
3094	and title can be manual.
3095	* goffice/graph/gog-object-prefs.glade: new.
3096	* goffice/graph/gog-object.c (gog_editor_get_notebook): first page
3097	is the default page.
3098	(gog_object_set_property): handle compass and alignment properties.
3099	(gog_object_get_property): ditto.
3100	(object_pref_state_free): new.
3101	(cb_compass_changed): new.
3102	(cb_alignment_changed): new.
3103	(gog_object_populate_editor): new. It handles only compass and alignment
3104	flags.
3105	(gog_object_class_init): install compass and alignment properties.
3106	(gog_object_get_pos): renamed to gog_object_get_position_flags. Add a
3107	mask parameter in order to get only a subset of position flags.
3108	(gog_object_set_pos): renamed to gog_object_set_position_flags. Add a
3109	mask parameter.
3110	* goffice/graph/gog-style-prefs.glade: move line widgets to the left.
3111	It improves consistency of widget position when navigating through
3112	object tree.
3113	* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
3114	call parent method.
3115
31162005-06-01  Jody Goldberg <jody@gnome.org>
3117
3118	* goffice/utils/go-format.c (go_format_value_gstring) : pull over from
3119	  gnumeric with a simplified structure to handle only ints and
3120	  doubles.
3121	(go_style_format_condition) : ditto.
3122
31232005-05-30  Jean Brefort  <jean.brefort@normalesup.org>
3124
3125	* plugins/plot_surface/xl-surface.c: (xl_contour_plot_build_matrix):
3126	set num-elements of the first series, not the last one.
3127
31282005-05-29  Jean Brefort  <jean.brefort@normalesup.org>
3129
3130	* goffice/graph/gog-object.c: (gog_object_dup),
3131	(gog_object_dup_with_values): rewrote to share identical code.
3132
31332005-05-28  Jean Brefort  <jean.brefort@normalesup.org>
3134
3135	* goffice/graph/gog-object.h: added missing declaration
3136	(gog_object_dup_with_values).
3137
31382005-05-28  Jean Brefort  <jean.brefort@normalesup.org>
3139
3140	* goffice/graph/gog-object.c: (gog_object_dup_with_values):
3141	new function aimed at export charts.
3142
31432005-05-27  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3144
3145	* goffice/utils/go-file.c (go_shell_arg_to_uri):
3146	revert changes made by me in yesterday.
3147	(go_shell_argv_to_glib_encoding): New. For Win32 we need to
3148	get argv[] in utf-16 and convert them to utf-8 under NT
3149	and use g_locale_to_utf() under Win9x.
3150
31512005-05-27  Jean Brefort  <jean.brefort@normalesup.org>
3152
3153	* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_view_render): fixed
3154	bars width and position.
3155	* plugins/plot_barcol/plot-types.xml.in: ditto.
3156
31572005-05-27  Jean Brefort  <jean.brefort@normalesup.org>
3158
3159	* goffice/gtk/go-format-sel.c: (nfs_init): make the shortcut for currency
3160	symbol selection work (#305635).
3161
31622005-05-27  Jean Brefort  <jean.brefort@normalesup.org>
3163
3164	* goffice/data/go-data-simple.c: (go_data_vector_val_as_str),
3165	(go_data_vector_val_from_str), (go_data_vector_str_finalize),
3166	(go_data_vector_str_dup), (go_data_vector_str_as_str),
3167	(go_data_vector_str_from_str), (go_data_vector_str_load_len),
3168	(go_data_vector_str_load_values), (go_data_vector_str_get_value),
3169	(go_data_matrix_val_as_str), (go_data_matrix_val_from_str): fixed various
3170	concerns related to the abigochart plugin.
3171
31722005-05-26  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3173
3174	[#305010]
3175	* goffice/graph/gog-error-bar-prefs.glade: remove gnome requirement.
3176	* plugins/plot_pie/gog-pie-series-prefs.glade: ditto.
3177	* plugins/plot_pie/gog-ring-prefs.glade: ditto.
3178
31792005-05-26  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3180
3181	* goffice/utils/go-file.c (go_shell_arg_to_uri): Convert
3182	file name from system codepage to utf8 (glib/win32 now uses
3183	utf8). [#304874]
3184
31852005-05-25  Stepan Kasal  <kasal@ucw.cz>
3186
3187	* configure.in (PKG_PROG_PKG_CONFIG): Rephrase the explanation.
3188
31892005-05-24  Morten Welinder  <terra@gnome.org>
3190
3191	* goffice/utils/format.c (format_remove_decimal): In the fallback
3192	code, remove a decimals from all subformats.
3193	(find_currency): Accept quotes around the currency.  Fixes
3194	recognition of accounting formats.  [#305314]  [#305313]
3195
31962005-05-23  Morten Welinder  <terra@gnome.org>
3197
3198	* goffice/gtk/goffice-gtk.c (go_gtk_file_sel_dialog,
3199	go_gtk_select_image): Insist on getting a toplevel.  (It
3200	determines, for one thing, what screen to use.)
3201	* goffice/graph/gog-style.c (cb_image_file_select): Provide a
3202	toplevel.  Fixes #305009.
3203
32042005-05-22  Jean Brefort  <jean.brefort@normalesup.org>
3205
3206	* plugins/plot_barcol/gog-1.5d.c: (gog_series1_5d_update): Fix a trivial
3207	bug.
3208
32092005-05-20  Morten Welinder  <terra@gnome.org>
3210
3211	* goffice/gtk/goffice-gtk.c (go_access): Fix return type to int as
3212	we return -1 sometimes.
3213
3214	* configure.in (set_more_warnings): Don't use -Wcrazy.
3215
32162005-05-20  Stepan Kasal  <kasal@ucw.cz>
3217
3218	* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_render):
3219	  Remove unused variables.
3220
32212005-05-20  Jean Brefort  <jean.brefort@normalesup.org>
3222
3223	* goffice/graph/goffice-graph.h: change GOG_MS_DIM_TYPES value and
3224	add new ones.
3225	* goffice/graph/gog-axis.c: (gog_axis_set_property): remove labels
3226	and ticks for GOG_AXIS_PSEUDO_3D (enhance export to excel).
3227	* pixmaps/Makefile.am: add icons for minmax and dropbar plots.
3228	* plugins/plot_barcol/Makefile.am: add minmx and dropbar support.
3229	* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
3230	(gog_series1_5d_update), (gog_series1_5d_populate_editor),
3231	(go_plugin_init): ditto.
3232	* plugins/plot_barcol/gog-barcol.c: ditto.
3233	(gog_barcol_plot_populate_editor): ditto.
3234	* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_type_name),
3235	(gog_dropbar_plot_class_init), (barcol_draw_rect),
3236	(gog_dropbar_view_render), (gog_dropbar_view_info_at_point),
3237	(gog_dropbar_view_class_init): ditto.
3238	* plugins/plot_barcol/gog-dropbar.h: ditto.
3239	* plugins/plot_barcol/gog-minmax-prefs.glade: ditto.
3240	* plugins/plot_barcol/gog-minmax.c: (gog_minmax_series_init_style),
3241	(gog_minmax_series_class_init), (gog_minmax_plot_set_property),
3242	(gog_minmax_plot_get_property), (gog_minmax_plot_type_name),
3243	(gog_minmax_axis_get_bounds), (cb_gap_changed),
3244	(gog_minmax_plot_populate_editor), (gog_minmax_swap_x_and_y),
3245	(gog_minmax_plot_class_init), (gog_minmax_plot_init),
3246	(gog_minmax_view_render), (gog_minmax_view_info_at_point),
3247	(gog_minmax_view_class_init): ditto.
3248	* plugins/plot_barcol/gog-minmax.h: ditto.
3249	* plugins/plot_barcol/plot-types.xml.in: ditto.
3250	* plugins/plot_barcol/plugin.xml.in: ditto.
3251
32522005-05-19  Jody Goldberg <jody@gnome.org>
3253
3254	* goffice/data/go-data-simple.c (go_data_vector_val_as_str) : use
3255	  format_get_row_sep.
3256
32572005-05-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3258
3259	* goffice/graph/gog-axis.c (map_discrete_calc_ticks): remove kludge by
3260	using center_on_ticks.
3261	* goffice/graph/gog-plot.c (gog_plot_get_axis_bounds): defaults
3262	center_on_ticks to TRUE.
3263	* plugins/plot_barcol/gog-barcol.c (gog_barcol_axis_get_bounds):
3264	center_on_ticks = FALSE.
3265
32662005-05-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3267
3268	* goffice/graph/gog-axis.c (map_discrete_init): scale doesn't depend
3269	on center_on_ticks.
3270	(map_discrete): ditto.
3271	(map_discrete_to_view): ditto.
3272	(map_discrete_from_view): ditto.
3273	(map_discrete_calc_ticks): tick_nbr doesn't depend on center_on_ticks.
3274	* goffice/graph/gog-axis-line.c (gog_axis_base_populate_editor): don't
3275	show layout page for GOG_AXIS_PSEUDO_3D. Call inherited
3276	populate_editor if gui==NULL.
3277	* plugins/plot_surface/gog-surface.c
3278	(gog_contour_plot_axis_get_bounds): maxima = num_elements - 1.0
3279	* plugins/plot_surface/xl-surface.c
3280	(xl_contour_plot_axis_get_bounds): ditto.
3281
32822005-05-17  Jean Brefort  <jean.brefort@normalesup.org>
3283
3284	* goffice/data/go-data-simple.c: (go_data_vector_val_get_value),
3285	(go_data_vector_val_get_str): check args to avoid a segfault.
3286
32872005-05-16  Stepan Kasal  <kasal@ucw.cz>
3288
3289	* goffice/graph/gog-reg-curve.c (gog_reg_curve_get_value_at): Make
3290	  this function static, without any declaration at the top.
3291
3292	* goffice/utils/go-file.h (go_get_mime_type): Change the return type
3293	  to `const gchar *'.
3294	* goffice/utils/go-file.c: ditto.
3295
3296	* goffice/utils/format.c (beyond_precision, beyond_precisionl):
3297	  Move the declarations to the top, into an #ifdef DEFINE_COMMON.
3298
3299	* plugins/plot_surface/xl-surface.c (xl_contour_plot_axis_get_bounds):
3300	  Make this more readable by moving part of the body ...
3301	(get_y_vector): ... to this new function.
3302
3303	* tests/pie-demo.c (main): Adapt to the changed type of arg 1 of
3304	  go_data_vector_str_new.
3305
33062005-05-14  J.H.M. Dassen (Ray) <jdassen@debian.org>
3307
3308	* configure.in: Supply GOFFICE_PLUGIN_LIBADD on all platforms, not just
3309	win32, in order to get complete dependency information in the plugins.
3310	Use -no-undefined in GOFFICE_PLUGIN_LDFLAGS on all platforms to ensure
3311	complete dependency information at link time.
3312	Update the BUG-REPORT argument to AC_INIT now that bugzilla.gnome.org
3313	has a "libgoffice" product.
3314	Enable a number of additional warnings (when available) for which the
3315	current code base is already virtually clean.
3316
33172005-05-12  Stepan Kasal  <kasal@ucw.cz>
3318
3319	* goffice/data/go-data-simple.h (go_data_vector_str_new): Change the
3320	  type of the first parameter from (char**) back to (char const*const*)
3321	* goffice/data/go-data-simple.c: Do the same and adapt the code.
3322
33232005-05-12  Morten Welinder  <terra@gnome.org>
3324
3325	* goffice/utils/go-marker.c (go_marker_selector): Plug leak.
3326	Avoid const for non-const parameter.
3327
3328	* goffice/gtk/go-action-combo-pixmaps.c
3329	(go_action_combo_pixmaps_create_tool_item): Take toolbar settings
3330	into account.
3331
3332	* goffice/gtk/go-action-combo-color.c (make_icon): Multihead fix.
3333
3334	* goffice/gtk/goffice-gtk.c (update_preview_cb): Multihead fix.
3335
3336	* goffice/gtk/go-action-combo-stack.c
3337	(go_action_combo_stack_create_tool_item): Take theme into account.
3338
33392005-05-12  Jean Brefort  <jean.brefort@normalesup.org>
3340
3341	* goffice/data/go-data-simple.c: (go_data_matrix_val_as_str),
3342	(go_data_matrix_val_from_str): always use a semicolon as row
3343	separator.
3344
33452005-05-11  Jean Brefort  <jean.brefort@normalesup.org>
3346
3347	* pixmaps/chart_dropbar_1_1.png: update icon.
3348	* pixmaps/chart_dropbar_1_1.svg: ditto.
3349	* pixmaps/chart_dropbar_1_2.png: ditto.
3350	* pixmaps/chart_dropbar_1_2.svg: ditto.
3351	* pixmaps/chart_minmax_1_1.png: ditto.
3352	* pixmaps/chart_minmax_1_1.svg: ditto.
3353	* pixmaps/chart_minmax_1_2.png: ditto.
3354	* pixmaps/chart_minmax_1_2.svg: ditto.
3355	* pixmaps/chart_minmax_2_1.png: new icon.
3356	* pixmaps/chart_minmax_2_1.svg: ditto.
3357	* pixmaps/chart_minmax_2_2.png: ditto.
3358	* pixmaps/chart_minmax_2_2.svg: ditto.
3359
33602005-05-11  Jean Brefort  <jean.brefort@normalesup.org>
3361
3362	* pixmaps/chart_dropbar_1_1.png: New icon.
3363	* pixmaps/chart_dropbar_1_1.svg: ditto.
3364	* pixmaps/chart_dropbar_1_2.png: ditto.
3365	* pixmaps/chart_dropbar_1_2.svg: ditto.
3366	* pixmaps/chart_minmax_1_1.png: ditto.
3367	* pixmaps/chart_minmax_1_1.svg: ditto.
3368	* pixmaps/chart_minmax_1_2.png: ditto.
3369	* pixmaps/chart_minmax_1_2.svg: ditto.
3370	* pixmaps/dropbar.xpm: ditto.
3371	* pixmaps/minmax.xpm: ditto.
3372
33732005-05-11  Jean Brefort  <jean.brefort@normalesup.org>
3374
3375	* plugins/plot_surface/gog-surface.c:
3376	(gog_contour_plot_class_init): limit series number to 1.
3377
33782005-05-10  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3379
3380	* goffice/graph/gog-chart.c (gog_chart_map_free): unref map::chart.
3381
33822005-05-10  Jean Brefort  <jean.brefort@normalesup.org>
3383
3384	* configure.in: add linear regressions in scatter plots.
3385	* goffice/goffice.c: (libgoffice_init): ditto.
3386	* goffice/graph/Makefile.am: ditto.
3387	* goffice/graph/goffice-graph.h: ditto.
3388	* goffice/graph/gog-guru.c: (cb_graph_guru_add_reg_curve),
3389	(cb_reg_curve_type_menu_create), (reg_curve_type_menu_create),
3390	(cb_attr_tree_selection_change): ditto.
3391	* goffice/graph/gog-object-xml.c: (gog_object_new_from_xml): ditto.
3392	* goffice/graph/gog-plot-engine.c: ditto.
3393	(gog_reg_curve_engine_service_get_description),
3394	(gog_reg_curve_engine_service_class_init),
3395	(gog_reg_curve_new_by_name), (cb_pending_reg_curve_types_load),
3396	(pending_reg_curves_types_load), (gog_reg_curve_service_read_xml),
3397	(gog_reg_curve_service_get_description),
3398	(gog_reg_curve_service_init), (gog_reg_curve_service_class_init),
3399	(gog_plugin_services_init), (gog_reg_curve_type_free),
3400	(create_reg_curve_types), (gog_reg_curve_types): ditto.
3401	* goffice/graph/gog-plot-engine.h: ditto.
3402	* goffice/graph/gog-reg-curve-prefs.glade: ditto.
3403	* goffice/graph/gog-reg-curve.c: (gog_reg_curve_init_style),
3404	(gog_reg_curve_populate_editor), (gog_reg_curve_finalize),
3405	(gog_reg_curve_type_name), (gog_reg_curve_class_init),
3406	(gog_reg_curve_init), (gog_reg_curve_dataset_dims),
3407	(gog_reg_curve_dataset_get_elem),
3408	(gog_reg_curve_dataset_dim_changed), (gog_reg_curve_dataset_init),
3409	(gog_reg_curve_new_by_type), (gog_reg_curve_get_value_at),
3410	(gog_reg_curve_get_equation), (gog_reg_curve_get_R2),
3411	(gog_reg_curve_get_bounds), (gog_reg_curve_view_render),
3412	(gog_reg_curve_view_size_allocate),
3413	(gog_reg_curve_view_class_init): ditto.
3414	* goffice/graph/gog-reg-curve.h: ditto.
3415	* goffice/graph/gog-reg-eqn-prefs.glade: ditto.
3416	* goffice/graph/gog-reg-eqn.c: (cb_text_pos_changed),
3417	(cb_text_visibility_changed), (gog_reg_eqn_set_property),
3418	(gog_reg_eqn_get_property), (gog_reg_eqn_init_style),
3419	(gog_reg_eqn_populate_editor), (gog_reg_eqn_type_name),
3420	(gog_reg_eqn_class_init), (gog_reg_eqn_init),
3421	(gog_reg_eqn_view_render), (gog_reg_eqn_view_class_init): ditto.
3422	* goffice/graph/gog-reg-eqn.h: ditto.
3423	* goffice/graph/gog-series-impl.h: ditto.
3424	* goffice/graph/gog-series.c: (regression_curve_can_add),
3425	(regression_curve_post_add), (regression_curve_pre_remove),
3426	(gog_series_class_init), (gog_series_init): ditto.
3427	* goffice/graph/gog-theme.c: (gog_themes_init): ditto.
3428	* plugins/Makefile.am: ditto.
3429	* plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
3430	(gog_xy_view_size_allocate), (gog_xy_view_class_init),
3431	(gog_xy_series_view_render), (gog_xy_series_view_size_allocate),
3432	(gog_xy_series_view_class_init), (gog_xy_series_update),
3433	(gog_xy_series_init), (gog_xy_series_class_init): ditto.
3434	* plugins/reg_linear/Makefile.am: ditto.
3435	* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update),
3436	(gog_lin_reg_curve_get_value_at), (gog_lin_reg_curve_get_equation),
3437	(gog_lin_reg_curve_get_R2), (gog_lin_reg_curve_finalize),
3438	(gog_lin_reg_curve_class_init), (gog_lin_reg_curve_init),
3439	(go_plugin_init), (go_plugin_shutdown): ditto.
3440	* plugins/reg_linear/gog-lin-reg.h: ditto.
3441	* plugins/reg_linear/plugin.xml.in: ditto.
3442	* plugins/reg_linear/reg-types.xml.in: ditto.
3443	* po/POTFILES.in: ditto.
3444	* plugins/plot_surface/xl-surface.c:
3445	(xl_contour_plot_axis_get_bounds): fixed a compilation warning.
3446
34472005-05-10  Jody Goldberg <jody@gnome.org>
3448
3449	* configure.in : post release version bump
3450
34512005-05-09  Jody Goldberg <jody@gnome.org>
3452
3453	* Release 0.0.1
3454
34552005-05-09  Jody Goldberg <jody@gnome.org>
3456
3457	* tests/pie-demo.c (main) : update
3458
34592005-05-09  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3460
3461	* plugins/plot_radar/gog-radar.c (gog_rt_view_render): warning fix.
3462
34632005-05-09  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3464
3465	* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
3466	handle GOG_AXIS_SET_XY_pseudo_3d case.
3467	(axis_line_get_bbox): fix label offset.
3468	(axis_line_render): ditto.
3469	(axis_circle_get_bbox): take ticks into account. Use GogChartMap.
3470	(axis_circle_render): if axis is polar, use bezier paths by calling
3471	gog_renderer_draw_arc. Draw ticks. Use GogChartMap.
3472	(x_process): new.
3473	(xy_process): use GogChartMap.
3474	(calc_polygon_parameters): removed.
3475	(radar_process): implement padding_request for radial axes.
3476	(gog_axis_base_view_info_at_point): handle GOG_AXIS_SET_X.
3477	(gog_axis_base_view_padding_request): ditto.
3478	(gog_axis_base_view_render): ditto.
3479	* goffice/graph/gog-axis.c (map_bounds): new.
3480	(map_linear_auto_bound): handle auto bounds for non discrete circular
3481	axis.
3482	(map_linear_calc_ticks): place major ticks to a multiple of major
3483	step.
3484	(map_log_bounds): new.
3485	(gog_axis_map_get_extents): new.
3486	(gog_axis_map_get_bounds): new.
3487	(role_grid_line_major_can_add): can be TRUE for non discrete
3488	GOG_AXIS_CIRCULAR.
3489	(role_grid_line_minor_post_add): ditto.
3490	(role_axis_line_can_add): can be TRUE for GOG_AXIS_RADIAL.
3491	(gog_axis_set_property): changing invert flag invalidates layout.
3492	(gog_axis_populate_editor): don't show map type selector for
3493	GOG_AXIS_CIRCULAR.
3494	(gog_axis_is_inverted): new.
3495	* goffice/graph/gog-chart.c (calc_polygon_parameters): new.
3496	(calc_circle_parameters): new.
3497	(null_map_2D): new.
3498	(x_map_2D_to_view): new.
3499	(xy_map_2D_to_view): new.
3500	(polar_map_2D_to_view): new.
3501	(gog_chart_map_get_polar_parms): new.
3502	(gog_chart_map_new): needs pointers to axes of the axis set now.
3503	handle GOG_AXIS_SET_X, GOG_AXIS_SET_RADAR and
3504	GOG_AXIS_SET_XY_pseudo_3d.
3505	(gog_chart_map_2D): removed.
3506	(gog_chart_map_2D_to_view): new.
3507	(gog_chart_map_get_axis_map): new.
3508	(gog_chart_map_is_valid): new.
3509	(gog_chart_axis_set_assign): handle GOG_AXIS_SET_RADAR.
3510	* goffice/graph/gog-grid-line.c (calc_polygon_parameters): removed.
3511	(gog_grid_line_view_render): handle polar plots.
3512	* goffice/graph/gog-grid.c (gog_grid_view_render): handle polar and
3513	radar plots.
3514	* goffice/graph/gog-renderer-gnome-print.c
3515	(draw_bezier_path): new.
3516	(gog_renderer_gnome_print_draw_bezier_path): use draw_bezier_path.
3517	(gog_renderer_gnome_print_draw_bezier_polygon): new.
3518	* goffice/graph/gog-renderer-pixbuf.c
3519	(gog_renderer_pixbuf_draw_polygon): fix transparency rendering. Idea
3520	stolen from gnome-print.
3521	(gog_renderer_pixbuf_draw_bezier_polygon): new.
3522	* goffice/graph/gog-renderer-svg.c (fill_properties): new.
3523	(gog_renderer_svg_draw_bezier_polygon): new.
3524	* goffice/graph/gog-renderer.c
3525	(gog_renderer_get_ring_wedge_vpath): new.
3526	(gog_renderer_draw_ring_wedge): new.
3527	(gog_renderer_draw_pie_wedge): new.
3528	(gog_renderer_draw_arc): new.
3529	* plugins/plot_radar/gog-radar.c: renamed GogRadarPlot to GogRTPlot,
3530	as base of GogRadarPlot and GogPolarPlot.
3531	New GogRadarPlot and GogPolarPlot classes.
3532	Renamed GogRadarView class to GogRTView class.
3533	(gog_rt_view_render): handle radar and polar plots.
3534	Renamed GogRadarSeries class to GogRTSeries.
3535	* plugins/plot_radar/plot-types.xml.in: add polar plots.
3536	* plugins/plot_radar/plugin.xml.in: ditto.
3537
35382005-05-09  Morten Welinder  <terra@gnome.org>
3539
3540	* goffice/graph/gog-style.c (cb_font_changed): C99, const, and
3541	type fixes.
3542
35432005-05-09  Jean Brefort  <jean.brefort@normalesup.org>
3544
3545	* goffice/data/go-data-simple.c: (go_data_matrix_val_as_str),
3546	(go_data_matrix_val_from_str): made things work.
3547	* plugins/plot_surface/gog-surface.c: (gog_contour_plot_update),
3548	(gog_contour_view_render): avoid crashes and weird displays
3549	when there are no data for the axis.
3550	* plugins/plot_surface/xl-surface.c (xl_contour_plot_build_matrix):
3551	fix a vector length problem and replace nan by 0. to be xl compatible.
3552
35532005-05-08  Jean Brefort  <jean.brefort@normalesup.org>
3554
3555	* goffice/data/go-data-simple.c: (go_data_vector_str_from_str):
3556	fix an infinite loop condition.
3557	* plugins/gog-surface.c: fixed several critical bugs.
3558
35592005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
3560	* goffice/graph/gog-legend.c: (cb_render_elements): use style
3561	for legend font.
3562	* goffice/graph/gog-style.c: (cb_font_changed): make things work,
3563	at least for now
3564	* goffice/gtk/go-font-sel.c: (style_selected): fixed it,
3565	(go_font_sel_set_style): added a warning.
3566
35672005-05-07  Morten Welinder  <terra@gnome.org>
3568
3569	* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new):
3570	Don't set ->icon here, but make it when needed.  Fixes #302880.
3571	(make_icon): New function.
3572
35732005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
3574
3575	* goffice/data/go-data-simple.c: (go_data_vector_val_finalize),
3576	(go_data_vector_val_dup), (go_data_vector_val_as_str),
3577	(go_data_vector_val_from_str), (go_data_vector_val_class_init),
3578	(go_data_vector_val_new), (cb_strings_destroy_notify),
3579	(go_data_vector_str_finalize), (go_data_vector_str_dup),
3580	(go_data_vector_str_as_str), (go_data_vector_str_from_str),
3581	(go_data_vector_str_class_init), (go_data_vector_str_init),
3582	(go_data_vector_str_new),
3583	(go_data_vector_str_set_translation_domain),
3584	(go_data_matrix_val_finalize), (go_data_matrix_val_dup),
3585	(go_data_matrix_val_eq), (go_data_matrix_val_load_size),
3586	(go_data_matrix_val_load_values), (go_data_matrix_val_get_value),
3587	(go_data_matrix_val_get_str), (go_data_matrix_val_as_str),
3588	(go_data_matrix_val_from_str), (go_data_matrix_val_class_init),
3589	(go_data_matrix_val_new): add GODataMatrixVal class and add
3590	serialization to GODataVectorVal and GODataVectorStr.
3591	* goffice/data/go-data-simple.h: add GODataMatrixVal class and
3592	enhanced vectors.
3593	* goffice/data/go-data.c: (go_data_matrix_get_value),
3594	(go_data_matrix_get_str): check if row and column are valid.
3595	* goffice/gtk/go-color-palette.c: (create_color_sel): set opacity (see
3596	#302387).
3597	* goffice/gtk/go-format-sel.c: use go_setlocale instead of gnm_setlocale.
3598	* goffice/utils/format.c: (go_setlocale),
3599	(go_set_untranslated_bools): renamed two gnm functions.
3600	* goffice/utils/format.h: ditto.
3601	* plugins/plot_surface/xl-surface.c: updated args to go_data_vector_str_new
3602	(xl_contour_plot_axis_get_bounds): updated args to go_data_vector_str_new.
3603
36042005-05-07  Jody Goldberg <jody@gnome.org>
3605
3606	* goffice/graph/gog-object-xml.c (gog_dataset_sax_save) : use
3607	  g_snprintf it is more portable.
3608	(gog_dataset_dom_save) : ditto.
3609	* goffice/utils/go-libxml-extras.c (xml_node_set_double) : ditto.
3610
36112005-05-06  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3612
3613	* goffice/graph/gog-chart.c (plot_render): new.
3614	(gog_chart_view_render): render plot marked with render_before_axes
3615	before axes, but after grid and background.
3616	* goffice/graph/gog-plot.c (gog_plot_init): default render_before_axes
3617	to FALSE.
3618	* plugings/plot_barcol/gog-line.c (gog_area_plot_init):
3619	render_before_axes = TRUE.
3620	* plugins/plot_radar/gog-radar.c (gog_radar_area_plot_init): ditto.
3621	* plugins/plot_surface/gog-surface.c (gog_contour_plot_init): ditto.
3622
36232005-05-05  Morten Welinder  <terra@gnome.org>
3624
3625	* goffice/utils/go-glib-extras.c (go_object_properties_free,
3626	go_object_properties_collect, go_object_properties_apply): New
3627	functions.
3628
36292005-05-04  Morten Welinder  <terra@gnome.org>
3630
3631	* goffice/gtk/go-combo-box.c (go_combo_box_style_set): New
3632	function.
3633	(go_combo_box_class_init): Hook up go_combo_box_style_set and
3634	define add-tearoffs widget style property.
3635
36362005-05-04  Jody Goldberg <jody@gnome.org>
3637
3638	* goffice/app/go-plugin-service.c (plugin_service_new) : minor leak.
3639
36402005-05-01  Jon K Hellan  <hellan@acm.org>
3641
3642	* goffice/gtk/goffice-gtk.[ch] (go_mime_to_image_format): New. Get
3643	image format for mime type.
3644	(go_image_format_to_mime): New. Get mime types for image format.
3645
36462005-04-29  Jean Brefort  <jean.brefort@normalesup.org>
3647
3648	* goffice/graph/gog-plot.c: added missing header.
3649
36502005-04-29  Morten Welinder  <terra@gnome.org>
3651
3652	* goffice/utils/go-glib-extras.c (go_object_toggle): New function.
3653
36542005-04-28  Stepan Kasal  <kasal@ucw.cz>
3655
3656	* configure.in (WITH_WIN32): Fix the case command for $host_os,
3657	add the "pw32*" pattern.
3658	(AC_CANONICAL_HOST): Call explicitly, we use $host_os.
3659	(WINDRES): Add an AC_ARG_VAR declaration.
3660
36612005-04-28  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3662
3663	* configure.in: Remove OS_WIN32 and combine PLATFORM_WIN32
3664	and WITH_WIN32.
3665
3666	* goffice/Makefile.am: Use WITH_WIN32
3667
36682005-04-28  Jean Brefort  <jean.brefort@normalesup.org>
3669
3670	* goffice/graph/gog-plot.c: (cb_axis_changed): initialize value.
3671
36722005-04-21  Stepan Kasal  <kasal@ucw.cz>
3673
3674	* configure.in (GOFFICE_LIB_VERSON): Rename to ...
3675	(GOFFICE_LIB_VERSION): ... and compute statically, by m4_eval.
3676	* goffice/Makefile.am (goffice-paths.h): Also depends on Makefile.
3677	* plugins/plot_barcol/Makefile.am, plugins/plot_pie/Makefile.am:
3678	* plugins/plot_xy/Makefile.am: Don't list glade files in xml_DATA.
3679
36802005-04-20  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3681
3682	* goffice/gtk/go-action-combo-text.c: Add a new property
3683	"case-sensitive".
3684
36852005-04-19  Stepan Kasal  <kasal@ucw.cz>
3686
3687	* goffice/utils/Makefile.am (SUFFIXES): Remove, Automake deduces it
3688	  (at least Automake >= 1.7).
3689
36902005-04-18  Stepan Kasal  <kasal@ucw.cz>
3691
3692	* plugins/plot_surface/xl-surface.c (xl_contour_plot_build_matrix):
3693	Don't initialize `ptr' twice; do initialize `series'.
3694
36952005-04-18  Stepan Kasal  <kasal@ucw.cz>
3696
3697	* goffice/utils/go-gradient.h (GOGradientDirection): Properly terminate
3698	  with GO_GRADIENT_MAX.
3699	* goffice/utils/go-gradient.c (grad_dir_names): No need to include the
3700	  enum number in the structure; code adapted.
3701	* goffice/utils/go-marker.c: Don't omit libart includes when !WITH_GTK;
3702	(marker_shape_names): Merge into marker_shapes; adapt code.
3703	(marker_shapes): Use macros to shorten the definition.
3704	(marker_update_pixbuf, go_marker_finalize, go_marker_set_shape):
3705	(go_marker_set_outline_color, go_marker_set_fill_color):
3706	(go_marker_set_size): Factor out common code ...
3707	(marker_free_pixbuf): ... to a new static function.
3708	(SELECTOR_PIXBUF_SIZE, SELECTOR_MARKER_SIZE): Remove unused defines.
3709	* goffice/utils/go-marker.h (pixbuf): If !WITH_GTK, rename this to ...
3710	(pixbuf_placeholder): ..., so that noone can actually use it.
3711	* goffice/utils/go-pattern.c (pattern_names): Merge into go_patterns;
3712	  adapt code.
3713	* goffice/utils/go-pattern.h (go_pattern_selector): Omit if !WITH_GTK.
3714
37152005-04-18  Stepan Kasal  <kasal@ucw.cz>
3716
3717	* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
3718
37192005-04-15  Stepan Kasal  <kasal@ucw.cz>
3720
3721	* configure.in: Fix the appearance of help strings.
3722
37232005-04-12  Stepan Kasal  <kasal@ucw.cz>
3724
3725	* goffice/utils/go-file.c: #include libgnomevfs/gnome-vfs-mime-utils.h;
3726	  this file comes via gsf-input-gnomevfs.h and gnome-vfs.h in current
3727	  version, but not in my gnome-vfs 2.4.2.
3728	* goffice/graph/gog-plot.c (gog_plot_update_3d): Cosmetic fix.
3729
37302005-04-10  Jean Brefort  <jean.brefort@normalesup.org>
3731
3732	* goffice/graph/goffice-graph.h: allow use of GOG_AXIS_PSEUDO_3D.
3733	* goffice/graph/gog-axis-line.c: add pseudo 3d axis support.
3734	(gog_axis_base_view_padding_request), (gog_axis_base_view_render):
3735	* goffice/graph/gog-axis.c: (gog_axis_calc_ticks): ditto.
3736	* goffice/graph/gog-chart.c: (gog_chart_map_new),
3737	(gog_chart_map_2D), (role_grid_can_add), (pseudo_3d_axis_can_add),
3738	(pseudo_3d_axis_post_add), (gog_chart_axis_set_assign): ditto.
3739	* goffice/graph/gog-plot-impl.h: ditto.
3740	* goffice/graph/gog-plot.c: (gog_plot_class_init),
3741	(gog_plot_foreach_elem), (gog_plot_get_axis), (gog_plot_update_3d): ditto.
3742	* goffice/graph/gog-plot.h: ditto.
3743	* plugins/plot_surface/Makefile.am: ass xl-surface.*.
3744	* plugins/plot_surface/gog-contour-prefs.c: removed deprecated code and
3745	added "transposed" property managing.
3746	* plugins/plot_surface/gog-contour-prefs.glade: ditto.
3747	* plugins/plot_surface/gog-surface.c: rewrote to use pseudo 3d axis.
3748	* plugins/plot_surface/gog-surface.h: ditto.
3749	* plugins/plot_surface/plugin.xml.in: added xl compatibility contours plots
3750	* plugins/plot_surface/xl-surface.c: ditto.
3751	* plugins/plot_surface/xl-surface.h: ditto.
3752
37532005-04-08  Ivan, Wong Yat Cheung  <email@ivanwong.info>
3754
3755	* goffice/gtk/Makefile.am: use -export-symbols to link with
3756	libhtmlhelp-stub.def
3757
37582005-04-07  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3759
3760	* goffice/graph/gog-renderer-svg.c: avoid use of
3761	g_string_append_printf.
3762
37632005-04-07  Morten Welinder  <terra@gnome.org>
3764
3765	* goffice/gtk/goffice-gtk.c (go_gtk_url_is_writeable): Use
3766	go_access.  No need to define G_IS_DIR_SEPARATOR anymore.
3767	(go_access): Copied from gsf while we're waiting for glib.
3768
37692005-04-07  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3770
3771	* goffice/graph/gog-renderer-svg.c: Avoid locale changes by using
3772	g_ascii_dtostr.  Fixes 172726.
3773
37742005-04-07  Jean Brefort  <jean.brefort@normalesup.org>
3775
3776	* goffice/graph/gog-guru.c: (cb_attr_tree_selection_change): don't
3777	scroll to selection if nothing is selected.
3778
37792005-04-06  Morten Welinder  <terra@gnome.org>
3780
3781	* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_set_property): Add
3782	missing "break;"
3783
3784	* goffice/utils/datetime.c (datetime_isoweeknum): Replace by
3785	g_date_get_iso8601_week_of_year.
3786	* configure.in: Require glib 2.6.4.
3787
37882005-04-04  Morten Welinder  <terra@gnome.org>
3789
3790	* goffice/utils/format.c (go_format_number): Do at least a small
3791	attempt at getting fractional seconds right.
3792
37932005-04-02  Jean Brefort  <jean.brefort@normalesup.org>
3794
3795	* goffice/goffice.c: (libgoffice_init), (libgoffice_shutdown): call
3796	number_format_init/shutdown.
3797
37982005-04-01  Jody Goldberg <jody@gnome.org>
3799
3800	* goffice/utils/regutf8.c : include string.h to suppress warning about
3801	  implicit decl of strlen
3802
38032005-04-01  Morten Welinder  <terra@gnome.org>
3804
3805	* goffice/utils/go-glib-extras.c (go_guess_encoding): Try exotic
3806	encodings guess by libxml.
3807
3808	* goffice/drawing/god-property-table.h: Use canonical property
3809	names.
3810
3811	* goffice/gtk/goffice-gtk.c (go_gtk_select_image): Moderately
3812	cheesy way of saving where we were last time.
3813
38142005-04-01  Stepan Kasal  <kasal@ucw.cz>
3815
3816	s/INCLUDES/AM_CPPFLAGS/  "automake -Wall" has told me this.
3817
3818	* goffice/libgoffice-1.pc.in: Move ...
3819	* libgoffice-1.pc.in: ... here.
3820	* Makefile.am, goffice/Makefile.am, configure.in: Adapt to the move.
3821	* goffice/utils/Makefile.am (non-intermediate): New dummy rule; see
3822		http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
3823		http://bugzilla.gnome.org/show_bug.cgi?id=172212
3824	(.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
3825	  anyway, the prerequisities of an implicit rule are ignored.
3826	* configure.in (GLIB_GENMARSHAL): Full path is not needed.
3827	(GOFFICE_CFLAGS): No need to amend this.
3828
38292005-03-31  Morten Welinder  <terra@gnome.org>
3830
3831	* goffice/app/go-plugin-service.c (go_plugin_file_saver_save): If
3832	we failed to load the plugin, set an error on the output.
3833
38342005-03-30  Ivan, Wong Yat Cheung <email@ivanwong.info>
3835
3836	* configure.in:
3837	* plugins/plot_*/Makefile.am: modify GOFFICE_PLUGIN_LDFLAGS and
3838	  add add GOFFICE_PLUGIN_LIBADD. They help when
3839	  host_os == win32.
3840
3841	* goffice/Makefile.am: -export-all-symbols is not the
3842	  final solution. Will remove it when we have GO_API or
3843	  any other solution.
3844
3845	* goffice/goffice-priv.h:
3846	* goffice/goffice.c:
3847	* goffice/app/go-plugin.c: use go_sys_lib_dir ()
3848
3849	* goffice/gtk/Makefile.am: libgoffice-html-help-stub.la
3850
38512005-03-30  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3852
3853	* goffice/graph/gog-object.c (gog_editor_free): free editor.
3854
38552005-03-30  Morten Welinder  <terra@gnome.org>
3856
3857	* goffice/utils/regutf8.c: Import Gnumeric's non-gui search stuff.
3858	Make it a gobject.
3859	(go_search_replace_set_search_text,
3860	go_search_replace_set_replace_text): Be paranoid.
3861
38622005-03-29  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3863
3864	* pixmaps/chart_polar_1_1.[png,svg]: new.
3865	* pixmaps/polar.[png,svg]: new.
3866
38672005-03-28  Morten Welinder  <terra@gnome.org>
3868
3869	* .../*.c: Use canonical property names.
3870
3871	* goffice/utils/go-libxml-extras.c
3872	(e_xml_get_child_by_name_by_lang): Use g_get_language_names.
3873
3874	* goffice/utils/Makefile.am (libgoffice_utils_la_HEADERS): Remove
3875	go-locale.[ch].
3876
38772005-03-27  Morten Welinder  <terra@gnome.org>
3878
3879	* goffice/gtk/go-combo-box.c (go_combo_box_init): Use canonical
3880	property names.
3881	(go_combo_popup_tear_off): Ditto.
3882
3883	* goffice/gtk/go-action-combo-text.c
3884	(go_action_combo_create_tool_item): Ditto.
3885
3886	* goffice/gtk/go-action-combo-stack.c
3887	(go_action_combo_stack_create_tool_item): Ditto.
3888
3889	* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new):
3890	Ditto.
3891
38922005-03-27  Jean Brefort  <jean.brefort@normalesup.org>
3893
3894	* goffice/app/error-info.h: add missing G_BEGIN_DECLS and G_END_DECLS.
3895	* goffice/app/file-priv.h: ditto.
3896	* goffice/app/file.h: ditto.
3897	* goffice/app/go-cmd-context-impl.h: ditto.
3898	* goffice/app/go-cmd-context.h: ditto.
3899	* goffice/app/go-error-stack.h: ditto.
3900	* goffice/app/go-object.h: ditto.
3901	* goffice/app/go-plugin-loader-module.h: ditto.
3902	* goffice/app/go-plugin-loader.h: ditto.
3903	* goffice/app/go-plugin-service.h: ditto.
3904	* goffice/app/go-plugin.h: ditto.
3905	* goffice/app/go-service.h: ditto.
3906	* goffice/app/io-context-priv.h: ditto.
3907	* goffice/app/io-context.h: ditto.
3908	* goffice/app/module-plugin-defs.h: ditto.
3909	* goffice/data/go-data-simple.h: ditto.
3910	* goffice/graph/gog-error-bar.h: ditto.
3911	* goffice/graph/gog-renderer.h: ditto.
3912	* goffice/ms-compat/go-ms-parser.h: ditto.
3913	* goffice/ms-compat/god-drawing-ms.h: ditto.
3914	* goffice/utils/datetime.h: ditto.
3915	* goffice/utils/go-math.h: ditto.
3916
39172005-03-25  Stepan Kasal  <kasal@ucw.cz>
3918
3919	* configure.in (GOFFICE_WITHOUT_GTK, GOFFICE_WITH_GNOME): Rename
3920	  these defines back to WITH_GTK and WITH_GNOME.
3921	(GOFFICE_WITH_GTK, GOFFICE_WITH_GNOME): Rename the Automake
3922	  conditionals back to WITH_GTK and WITH_GNOME, too.
3923
39242005-03-24  Stepan Kasal  <kasal@ucw.cz>
3925
3926	* goffice/app/module-plugin-defs.h (GOFFICE_MODULE_PLUGIN_INFO_DECL):
3927	  Removed, it's not used.
3928
39292005-03-24  Stepan Kasal  <kasal@ucw.cz>
3930
3931	* goffice/Makefile.am (goffice-paths.h): Rewrite the rule,
3932	  goffice-paths.sh* is no longer used.
3933	(EXTRA_DIST, noinst_HEADERS): No longer needed.
3934	* goffice/goffice-paths.sh.in: Removed.
3935	* configure.in: Don't generate goffice-paths.sh, rearrange the
3936	  goffice_* AC_SUBSTs.
3937	* goffice/goffice.c (LIBGOFFICE_VERSION): Renamed to GOFFICE_VERSION.
3938	(libgoffice_lib_dir): Comment out in the WIN32 block, since the
3939	  declaration is already commented out.
3940
39412005-03-23  Stepan Kasal  <kasal@ucw.cz>
3942
3943	* configure.in: Generate goffice-features.h as a header file, subset
3944	  of goffice-config.h.
3945	* goffice/goffice-config.h.in: Adjust the template.
3946
39472005-03-22  Stepan Kasal  <kasal@ucw.cz>
3948
3949	* autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54  We already required
3950	  that indirectly, by asking for Automake >= 1.7.2.
3951	* configure.in: AC_PREREQ(2.54)
3952	  - don't default to --without-gtk even if the reqs are not met;
3953	  - don't generate stamp.h; the issue is solved by Automake 1.7.2;
3954	    see info '(autoconf)Automatic Remaking' for details.
3955	* stamp.h.in: Nuke.
3956	* .cvsignore: Remove stamp*.
3957	* goffice/.cvsignore: Remove depcomp.
3958	* po/POTFILES.in: Remove goffice/cut-n-paste/pcre/printint.c.
3959
39602005-03-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3961
3962	* plugins/plot_radar/gog-radar.c (gog_radar_view_render): handle
3963	inverted circular axis.
3964
39652005-03-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3966
3967	* goffice/graph/gog-axis-line.c (radar_process): fix padding request
3968	for circular axis.
3969
39702005-03-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3971
3972	* goffice/graph/gog-axis-line.c (gog_axis_base_get_property): handle
3973	GOG_AXIS_AUTO.
3974	(gog_axis_base_set_position_auto): removed.
3975	(gog_axis_base_set_position): handle GOG_AXIS_AUTO.
3976	(xy_process): ditto.
3977	* goffice/graph/gog-axis-line.h: add GOG_AXIS_AUTO to GogAxisPosition.
3978
39792005-03-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3980
3981	Add support for axis selection.
3982
3983	* goffice/graph/gog-axis-line.c (get_point_to_segment_distance): new.
3984	(axis_line_point): new.
3985	(axis_circle_point): new.
3986	(axis_cirlce_render): render as polygon if num_radii > 0.0
3987	cos (x - pi/2) = sin (x)
3988	sin (x - pi/2) = -cos (x)
3989	(xy_process): handle point routine now.
3990	(radar_process) : ditto.
3991	(gog_axis_base_view_info_at_point): new.
3992	(gog_axis_base_view_padding_request): pass action parameter to process
3993	functions.
3994	(gog_axis_base_view_render): ditto.
3995	* goffice/graph/gog-grid-line.c (gog_grid_line_info_at_point): new.
3996	Just return FALSE for now.
3997
39982005-03-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3999
4000	* goffice/graph/gog-graph.c (gog_graph_force_update): replace if
4001	statement by a while loop, since an object update may trigger a
4002	update request for an other object.
4003	* goffice/graph/gog-renderer-gnome-print.c
4004	(gog_graph_print_to_gnome_print): force model update before rendering.
4005	* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update):
4006	ditto.
4007	* goffice/graph/gog-renderer-svg.c (gog_graph_export_to_svg): ditto.
4008	* plugins/plot_barcol/gog-line.c (gog_line_view_render): revert
4009	previous broken fix (2005-03-17).
4010	* tests/pie-demo.c (main): gog_chart_get_cardinality is not needed
4011	anymore.
4012
40132005-03-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4014
4015	* configure.in: change test/Makefile to tests/Makefile
4016
40172005-03-21  Christopher James Lahey  <clahey@ximian.com
4018
4019	* goffice/drawing/Makefile.am, goffice/ms-compat/Makefile.am:
4020	Export header files.
4021
40222005-03-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4023
4024	* goffice/graph/gog-axis-line.c (gog_axis_base_set_position_auto):
4025	convenience function that places an axis line in the first free
4026	position.
4027	(cb_position_toggled): search all the axes with the same type, not
4028	just parent one.
4029	(axis_line_get_bbox): correct placement of axis labels.
4030	(axis_line_render): ditto.
4031	(axis_circle_get_bbox): ditto.
4032	(axis_circle_render): ditto.
4033	* goffice/graph/gog-axis.c (role_axis_line_post_add): use
4034	gog_axis_base_set_position_auto.
4035	(gog_axis_view_padding_request): restore padding hack.
4036	(gog_axis_view_size_allocate): ditto.
4037	* goffice/graph/gog-chart.c (axis_post_add): place axis in the first
4038	free position.
4039
40402005-03-21  Stepan Kasal  <kasal@ucw.cz>
4041
4042	* MAINTAINERS: New file, two beings selected as victims -- one human
4043	  and one demi-god.
4044	* Makefile.am (EXTRA_DIST): Add README NEWS BUGS MAINTAINERS AUTHORS.
4045	* README: In the requirements, state that we require pango 1.8.1, and
4046	  fix the Debian name of the pango package; delete intltool, it's
4047	  distributed with the package.
4048	* configure.in: Delete the requirement for libgnomeprintui.
4049
40502005-03-20  Jody Goldberg <jody@gnome.org>
4051
4052	* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets) : make sure
4053	  the current selection is visible.
4054
4055	* goffice/goffice.c (libgoffice_init) : look in the right place.
4056
40572005-03-19  Jean Brefort  <jean.brefort@normalesup.org>
4058
4059	* goffice/gtk/go-graph-widget.c: (go_graph_widget_size_allocate),
4060	(go_graph_widget_set_property), (go_graph_widget_get_property),
4061	(go_graph_widget_class_init), (go_graph_widget_init): add abd use
4062	aspect-ratio property.
4063	* test/pie-demo.c: (main): add a title and a lengend.
4064
40652005-03-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4066
4067	* goffice/graph/gog-axis.c (map_discrete): inverted is in
4068	GogAxisMap::axis->inverted.
4069	(map_discrete_to_view): ditto.
4070	(map_discrete_from_view): ditto.
4071	(map_linear_from_view) :ditto.
4072	(map_linear_to_view): ditto.
4073	(map_log_to_view): ditto.
4074	(map_log_from_view): ditto.
4075	(gog_axis_map_from_view): ditto.
4076	(gog_axis_map_to_view): ditto.
4077	(map_baseline): new.
4078	(map_log_finite): new.
4079	(map_log_baseline): new.
4080	(gog_axis_map_finite): new. Returns TRUE if value means something in
4081	this map.
4082	(gog_axis_map_get_baseline): new. Returns the baseline for the given
4083	map, in view coordinates, clipped to offset and offset+length, where
4084	offset and length are the parameters of gog_axis_map_new.
4085 	* goffice/graph/gog-error-bar.c (gog_error_bar_render): do not try to
4086	render error bar if a part of it is not at a valid coordinate.
4087	* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): replace
4088	go_finite tests by gog_axis_map_finite.
4089	* plugins/plot_radar/gog-radar.c (gog_radar_view_render): ditto.
4090	* plugins/plot_xy/gog-xy.c: ditto.
4091	* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto. Use
4092	gog_axis_map_get_baseline for y_zero.
4093
40942005-03-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4095
4096	* plugins/plot_barcol/gog-line.c (gog_line_view_render): Don't free
4097	memory with invalid pointers.
4098
40992005-03-16  Stepan Kasal  <kasal@ucw.cz>
4100
4101	* autogen.sh: Require intltool >= 0.27.2 and explain why;
4102	  fix IFS handling; cosmetic changes.
4103	* configure.in: Cosmetics.
4104	* goffice/libgoffice-1.pc.in: Change the "Name:" to libGOffice,
4105	  and put a command with a hint for anon cvs.
4106
41072005-03-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4108
4109	* goffice/graph/gog-axis.c (map_discrete_auto_bound): do not set auto
4110	cross point.
4111
41122005-03-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4113
4114	* goffice/utils/go-line.c (go_line_build_vpath),
4115	(go_line_build_bpath): fix new point test.
4116
41172005-03-16  Jean Brefort  <jean.brefort@normalesup.org>
4118
4119	* test/pie-demo.c: fix compilation warnings and add some comments.
4120
41212005-03-15  Morten Welinder  <terra@gnome.org>
4122
4123	* goffice/cut-n-paste/pcre/pcre.c (pcre_exec): Backport another
4124	UMR fix.
4125
41262005-03-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4127
4128	* goffice/graph/gog-axis-line.c (axis_line_get_bbox): remove extra
4129	gog_axis_map_new.
4130	(gog_axis_base_view_padding_request): handle GOG_AXIS_SET_X like
4131	GOG_AXIS_SET_XY.
4132	(gog_axis_base_view_render): ditto.
4133	* goffice/graph/gog-chart.c (gog_chart_map_new): ditto.
4134	(gog_chart_map_2D): ditto.
4135	* goffice/graph/gog-axis.c (role_axis_line_can_add): adding an axis
4136	line is only relevant for GOG_AXIS_SET_XY for now.
4137	(gog_axis_class_init): add role_axis_line_can_add.
4138	* goffice/graph/gog-plot.c (gog_plot_populate_editor): axis selection
4139	is only relevant for GOG_AXIS_SET_XY.
4140	(gog_plot_set_axis_by_id): don't try to find an axis if id = 0,
4141	GogObject::id starts at 1.
4142	* plugins/plot_boxes/gog-xy.c (gog_bubble_plot_populate_editor):
4143	call parent::populate_editor.
4144	* plugins/plot_boxes/gog-boxplot.c (gog_box_plot_populate_editor):
4145	ditto.
4146	(gog_box_plot_view_render): free x_map.
4147
41482005-03-15  Stepan Kasal  <kasal@ucw.cz>
4149
4150	* goffice/graph/Makefile.am: Distribute gog-axis-line-impl.h.
4151
41522005-03-15  Jean Brefort  <jean.brefort@normalesup.org>
4153
4154	* goffice/graph/gog-axis.c: (map_discrete_calc_ticks): limit ticks number
4155	to GOG_AXIS_MAX_TICK_NBR (fix a crash when importing xl log axis).
4156
41572005-03-15  Stepan Kasal  <kasal@ucw.cz>
4158
4159	Also undo the changes connected with the changes in configure.in, ...
4160
4161	* plugins/plot_barcol/Makefile.am, plugins/plot_boxes/Makefile.am,
4162	plugins/plot_pie/Makefile.am, plugins/plot_radar/Makefile.am,
4163	plugins/plot_surface/Makefile.am, plugins/plot_xy/Makefile.am: ...here.
4164
41652005-03-14  Morten Welinder  <terra@gnome.org>
4166
4167	* configure.in: Undo last change.  Test links with gcc, not $LD.
4168
4169	* goffice/utils/format.c: Compile plain double version first as
4170	gdb sets breakpoints only for first copy.
4171	(go_format_number): Disable strange number scaling for ".".
4172	[#167274]
4173
41742005-03-14  Jean Brefort  <jean.brefort@normalesup.org>
4175
4176	* goffice/graph/gog-axis.c: (gog_axis_get_entry): fixed test for
4177	GogAxisElemType arg (GOG_AXIS_ELEM_MAX_ENTRY instead of GOG_AXIS_ELEM_MAX).
4178
41792005-03-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4180
4181	* goffice/goffice.c (libgoffice_init): add GogAxisLine object.
4182	* goffice/graph/Makefile.am: add gog-axis-line.[ch]
4183	* goffice/graph/goffice-graph.h: add GogAxisLine object. Add new
4184	object position GOG_POSITION_PADDING.
4185	* goffice/graph/gog-axis-prefs.glade: Rework of axis property pages,
4186	now called Scale and Layout.
4187	* goffice/graph/gog-axis-line.[ch], gog-axis-line-impl.h: new.
4188	Contains an implementation of what is needed to actually draw an
4189	axis on screen, which was previously provided by GogAxis, in
4190	GogAxisBase and GogAxisBaseView.
4191	* goffice/graph/gog-axis.c: GogAxis is now derived from GogAxisBase.
4192	Tick settings and position are now property of GogAxisBase.
4193	(create_invalid_axis_ticks): always generate tick labels.
4194	(map_discrete_calc_ticks): ditto.
4195	(map_linear_calc_ticks): ditto.
4196	(map_log_calc_ticks): ditto.
4197	(role_label_post_add): removed.
4198	(role_axis_line_post_add): new. Set axis line position to an unused
4199	position.
4200	(gog_axis_set_property): removed tick and position settings.
4201	(gog_axis_get_property): ditto.
4202	(cb_pos_changed): removed.
4203	(gog_axis_editor): renamed to populate_editor. Use new GogEditor API.
4204	Removed everything related to tick and position settings.
4205	(gog_axis_class_init): Change position type of Label childs to
4206	GOG_POSITION_SPECIAL. Add AxisLine as possible child. Removed tick and
4207	position properties.
4208	(gog_axis_init): removed tick and position settings.
4209	(gog_axis_dataset_get_elem): cross location is a member of
4210	GogAxisBase.
4211	(gog_axis_get_pos): removed.
4212	(gog_axis_is_center_on_ticks): new.
4213	(gog_axis_view_padding_request): padding is now calculated in
4214	GogAxisBaseView.
4215	(gog_axis_view_size_request): removed.
4216	(gog_axis_view_size_allocate): new. handle axis titles.
4217	(draw_axis_from_a_to_b): removed.
4218	(gog_axis_view_render_children): removed.
4219	(gog_axis_view_render): rendering is now in GogAxisBaseView.
4220	* goffice/graph/gog-chart.c (gog_chart_map_new),
4221	(gog_chart_map_2D), (gog_chart_map_free): new.
4222	(gog_chart_class_init): Axis position type is GOG_POSITION_PADDING
4223	now.
4224	(gog_chart_axis_set): renamed to gog_chart_get_axis_set.
4225	(gog_chart_get_axis): renamed to gog_chart_get_axes.
4226	(gog_chart_view_get_plot_area): no need to store plot_area. It's in
4227	GogView::residual.
4228	(child_request): removed.
4229	(gog_chart_view_size_allocate): Do not handle axis padding request
4230	here.
4231	* goffice/graph/gog-grid-line.c (gog_grid_line_view_render): better
4232	placement of radar plots.
4233	* goffice/graph/gog-guru.c (cb_attr_tree_selection_change):
4234	no need to handle editor type since gog_object_get_editor always
4235	returns a notebook now.
4236	* goffice/graph/gog-label.c (gog_label_populate_editor): Use new
4237	GogEditor API.
4238	* goffice/graph/gog-legend.c (gog_legend_populate_editor): ditto.
4239	* goffice/graph/gog-series.c (gog_series_element_populate_editor):
4240	ditto.
4241	(gog_series_populate_editor): ditto.
4242	* goffice/graph/gog-style.c (font_init): ditto.
4243	(gog_style_populate_editor): ditto.
4244	(style_editor): ditto.
4245	(gog_style_editor): renamed to gog_style_get_editor.
4246	(gog_styled_object_editor): removed.
4247	(gog_style_handle_notebook): removed.
4248	* goffice/graph/gog-object.c (gog_editor_new), (gog_editor_add_page),
4249	(gog_editor_set_store_page), (gog_editor_get_notebook),
4250	(gog_editor_free): new.
4251	GogObject::id is an int now. This id is unique for a given object type
4252	and on the same level in the object tree.
4253	(gog_object_set_property): persist id now.
4254	(gog_object_get_property): ditto.
4255	(gog_object_class_init): ditto.
4256	(gog_object_is_same_type): new.
4257	(gog_object_generate_name): store auto_name and don't return anything.
4258	(gog_object_get_id): new.
4259	(gog_object_generate_id): new.
4260	(gog_object_set_id): new.
4261	(gog_object_get_name): return GogObject::auto_name.
4262	(gog_object_position_cmp): GOG_POSITION_PADDING and
4263	GOG_POSITION_SPECIAL are equivalent.
4264	(gog_object_get_editor): use new GogEditor API.
4265	(gog_object_set_parent): id is an int now.
4266	* goffice/graph/gog-plot.c (cb_axis_changed): new.
4267	(gog_plot_populate_editor): new.
4268	(gog_plot_set_property): store axis reference now.
4269	(gog_plot_get_property): ditto.
4270	(gog_plot_class_init): ditto.
4271	(gog_plot_set_axis_by_id): new.
4272	(gog_plot_get_axis_id): new.
4273	* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
4274	use new GogEditor API.
4275	* goffice/graph/gog-theme.c (gog_themes_init): handle GogAxisLine
4276	objects.
4277	* goffice/graph/gog-view.c: GogView::padding_request : new.
4278	(gog_view_padding_request_real): new.
4279	(gog_view_padding_request): new.
4280	* plugins/plot_barcol/gog-1_5d.c (gog_series1_5d_populate_editor):
4281	use GogEditor API.
4282	* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_populate_editor):
4283	ditto.
4284	* plugins/plot_boxes/gog-boxplot.c (gog_box_plot_populate_editor):
4285	ditto.
4286	(gog_box_plot_view_render): draw sharp rectangles.
4287	* plugins/plot_pie/gog-pie-prefs.glade: layout fixes.
4288	* plugins/plot_pie/gog-pie-series.glade: ditto.
4289	* plugins/plot_pie/gog-pie.c (gog_pie_series_element_populate_editor):
4290	use GogEditor API.
4291	(gog_pie_plot_populate_editor): ditto.
4292	(gog_ring_plot_populate_editor): ditto.
4293	* plugins/plot_radar/gog-radar.c (gog_radar_plot_axis_get_bounds):
4294	maxima is num_elements - 1.
4295	(gog_radar_view_render): better radar plot placement.
4296	* plugins/plot_surface/gog-surface.c
4297	(gog_contour_plot_populate_editor): use GogEditor API.
4298	* plugins/plot_xy/gog-xy.c (gog_bubble_plot_populate_editor): ditto.
4299	(gog_xy_series_populate_editor): ditto.
4300
4301
43022005-03-13  J.H.M. Dassen (Ray) <jdassen@debian.org>
4303
4304	* configure.in: Link -Wl,-O1 if the linker supports it; see
4305	http://people.redhat.com/drepper/dsohowto.pdf for background.
4306	* configure.in: Link -Wl,-z,defs if the linker supports it
4307	* plugins/plot_barcol/Makefile.am, plugins/plot_boxes/Makefile.am,
4308	plugins/plot_pie/Makefile.am, plugins/plot_radar/Makefile.am,
4309	plugins/plot_surface/Makefile.am, plugins/plot_xy/Makefile.am: except
4310	for the plugins.
4311
43122005-03-13  Jean Brefort  <jean.brefort@normalesup.org>
4313
4314	* goffice/gtk/Makefile.am: add go-graph-widget.*.
4315	* goffice/gtk/go-font-sel.c: (canvas_size_changed): display sample
4316	text centered in the canvas.
4317	* goffice/gtk/go-graph-widget.c: new GOGraphWidget class.
4318	* goffice/gtk/go-graph-widget.h: ditto.
4319	* test/Makefile.am: add pie-demo sample program.
4320	* test/pie-demo.c: simple sample program.
4321
43222005-03-12  Morten Welinder  <terra@gnome.org>
4323
4324	* goffice/utils/format.c (go_render_number): Add epsilon early and
4325	permanently.  Fix significant digit check.
4326
43272005-03-11  Morten Welinder  <terra@gnome.org>
4328
4329	* goffice/utils/format.c (go_render_number): Fix two
4330	trailing-zeros bugs.
4331
4332	* goffice/utils/Makefile.am (.list.c): Add include of
4333	goffice/goffice-config.h when building this.
4334
4335	* goffice/utils/go-libxml-extras.c (xml_node_set_gocolor): Don't
4336	go via GdkColor which we may not have.
4337
4338	* goffice/utils/regutf8.c (go_regexp_quote): Renamed from
4339	gnumeric_regexp_quote.
4340
43412005-03-11  Stepan Kasal  <kasal@ucw.cz>
4342
4343	* configure.in: Propagate ACLOCAL_FLAGS, so that it's available
4344	  in the Makefile for the aclocal.m4 rule.
4345	(goffice_reqs): Require pango 1.8.1; it is not good if we
4346	  _slightly_ differ from gnumeric.
4347
43482005-03-09  Morten Welinder  <terra@gnome.org>
4349
4350	* goffice/utils/datetime.h (WEEKNUM_METHOD_SUNDAY): Define using
4351	enum.
4352
4353	* goffice/utils/datetime.c (datetime_weeknum,
4354	datetime_g_days_between, datetime_g_months_between,
4355	datetime_g_years_between): Use g_return_val_if_fail, not g_assert.
4356
4357	* goffice/utils/format.c: Fix long double compilation.
4358
43592005-03-08  Jody Goldberg <jody@gnome.org>
4360
4361	The last of the code dependencies on gnumeric.  Now I just need to
4362	move the icons.
4363	* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new) :
4364	  use gtk_icon_theme_load_icon in place of gnm_app_get_pixbuf.
4365	* goffice/gtk/goffice-gtk.c (update_preview_cb) : ditto.
4366
43672005-03-08  Stepan Kasal  <kasal@ucw.cz>
4368
4369	* configure.in (AC_OUTPUT, AC_CONFIG_FILES): Use AC_CONFIG_FILES and
4370	  call AC_OUTPUT with no parameters; this was already available in
4371	  autoconf 2.52.
4372
43732005-03-07  J.H.M. Dassen (Ray) <jdassen@debian.org>
4374
4375	* goffice/Makefile.am: Fixed inter-library dependencies; fix towards
4376	  -Wl,-z,defs buildability.
4377	* goffice/graph/gog-grid-line.h, goffice/gtk/go-action-combo-stack.c,
4378	  goffice/ms-compat/god-drawing-ms.c: Switch to traditional C comments,
4379	  to be buildable by gcc -ansi.
4380
43812005-03-07  Morten Welinder  <terra@gnome.org>
4382
4383	* configure.in: Pare down long double support checks to what is
4384	needed.
4385	* goffice/goffice-config.h: Don't install this, ...
4386	* goffice/goffice-features.h: ... install this one instead.
4387
43882005-03-07  Stepan Kasal  <kasal@ucw.cz>
4389
4390	* configure.in: Don't default to --without-gtk if gtk libs are not
4391	  found; remove checks for gconf, Corba and GNU make, as they are
4392	  not used in goffice; improve quoting and make use of AC_SUBST/2.
4393	* goffice/app/Makefile.am (UNUSED): List the unused files lingering
4394	  in the CVS, ...
4395	(EXTRA_DIST): ... and distribute them.
4396	* goffice/gtk/Makefile.am (UNUSED, EXTRA_DIST): Likewise.
4397	* goffice/cut-n-paste/pcre/Makefile.am: Refresh.
4398
43992005-03-07  Morten Welinder  <terra@gnome.org>
4400
4401	* configure.in: Use largefile apis.
4402
4403	* goffice/utils/go-libxml-extras.c (go_xml_parse_file):
4404	New replacement for xmlParseFile.  All users changed.
4405
4406	* goffice/utils/go-math.c (go_math_init): Verify properties of
4407	go_nanl, go_pinfl, and go_ninfl.
4408
4409	* goffice/utils/format.c (number_format_init): Fix initialization
4410	of beyond_precision and beyond_precisionl.
4411
44122005-03-06  Jean Brefort  <jean.brefort@normalesup.org>
4413
4414	* goffice/graph/gog-axis.c: (map_discrete_to_view),
4415	(map_discrete_from_view), (map_linear_to_view),
4416	(map_linear_from_view), (map_log_to_view), (map_log_from_view),
4417	(gog_axis_map_from_view), (gog_axis_map_to_view),
4418	(draw_axis_from_a_to_b), (gog_axis_view_render): changed map_to_canvas to
4419	map_to_view and added gog_axis_map_from_canvas and support.
4420	* goffice/graph/gog-axis.h: ditto.
4421	* goffice/graph/gog-error-bar.c: (gog_error_bar_render): ditto.
4422	* goffice/graph/gog-grid-line.c: (gog_grid_line_view_render): ditto.
4423	* plugins/plot_barcol/gog-barcol.c: (barcol_draw_rect): ditto.
4424	* plugins/plot_barcol/gog-line.c: (gog_line_view_render): ditto.
4425	* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_view_render): ditto.
4426	* plugins/plot_radar/gog-radar.c: (gog_radar_view_render): ditto.
4427	* plugins/plot_surface/gog-surface.c: (gog_contour_view_render): ditto.
4428	* plugins/plot_xy/gog-xy.c: (gog_xy_view_render): ditto.
4429
44302005-03-06  Jon K Hellan  <hellan@acm.org>
4431
4432	* goffice/utils/go-file.c (go_get_mime_type): New.
4433
44342005-03-06  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4435
4436	* goffice/app/go-plugin.c (go_plugins_init): append goffice plugin
4437	directory to plugin_dirs list.
4438	(go_plugins_get_plugin_dir): new.
4439
44402005-03-04  Jody Goldberg <jody@gnome.org>
4441
4442	* goffice/app/module-plugin-defs.h : remove the ugly go_get_current_plugin
4443	  and the PLUGIN & PLUGIN_CLASS macras.
4444
44452005-03-04  Morten Welinder  <terra@gnome.org>
4446
4447	* goffice/utils/go-math.c (go_finite): Make this a function and
4448	add a fallback definition.
4449
4450	* goffice/graph/gog-renderer-pixbuf.c
4451	(gog_renderer_pixbuf_finalize): No need to call
4452	go_pango_fc_font_map_cache_clear.
4453	(gog_renderer_pixbuf_get_pango_context): Use Gimp's leak
4454	work-around instead.
4455
4456	* goffice/utils/go-font.c (go_fonts_list_families,
4457	go_fonts_list_sizes): New function.  Rework all references to
4458	go_fonts_family_names, go_fonts_font_size_names,
4459	go_fonts_font_size_pts to use these.  (This gets rid of one more
4460	direct -- and wrong -- reference to the ft2 pango backend.)
4461	(go_pango_fc_font_map_cache_clear): Remove.
4462
4463	* goffice/utils/go-math.c (go_stern_brocot): Use double, not
4464	float.
4465
4466	* goffice/utils/go-glib-extras.c (go_mem_chunk_new): Drop
4467	references to gnm_float.
4468
44692005-03-04  Stepan Kasal  <kasal@ucw.cz>
4470
4471	* goffice/cut-n-paste/foocanvas/foo-canvas.c: Refresh.
4472
44732005-03-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
4474
4475	* goffice/gtk/goffice-gtk.c: Use gsf_input_textline_utf8_gets()
4476	to read .hhmap file which stores topic_string-context_id pairs.
4477	Become more verbose when topic is not found.
4478	go_gtk_notice_(nonmodal_)dialog/go_gtk_query_yes_no now
4479	accept va_arg.
4480
44812005-03-02  Stepan Kasal  <kasal@ucw.cz>
4482
4483	* configure.in: Add check for Xrender.
4484	* goffice-plugins.mk (INCLUDES): Fix.
4485	* goffice/cut-n-paste/foocanvas/*: Refresh.
4486
44872005-02-28  Jean Brefort  <jean.brefort@normalesup.org>
4488
4489	* goffice/utils/go-glib-extras.c: replaced gnumeric-config.h by
4490	goffice-config.h
4491	* goffice/gtk/go-action-combo-pixmaps.h: updated gui-utils to gtk
4492	for includes paths.
4493	* goffice/gtk/go-font-sel.c: ditto.
4494	* goffice/gtk/go-format-sel.c: ditto.
4495	* goffice/utils/go-glib-extras.c: ditto.
4496	* goffice/utils/go-gradient.c: ditto.
4497	* goffice/utils/go-line.c: ditto.
4498	* goffice/utils/go-marker.c: ditto.
4499	* goffice/utils/go-pattern.c: ditto.
4500	* plugins/plot_barcol/gog-barcol-prefs.c: ditto.
4501	* plugins/plot_boxes/gog-boxplot.c: ditto.
4502	* plugins/plot_pie/gog-pie-prefs.c: ditto.
4503	* plugins/plot_surface/gog-contour-prefs.c: ditto.
4504	* plugins/plot_xy/gog-bubble-prefs.c: ditto.
4505
45062005-02-28  Christopher James Lahey  <clahey@clahey.net>
4507
4508	* configure.in, goffice-plugins.mk: Changed gnumeric to goffice
4509	here.
4510
45112005-02-27  Christopher James Lahey  <clahey@clahey.net>
4512
4513	* Makefile.am (pkgconfigdir), configure.in (AC_OUTPUT): Create and
4514	install libgoffice-1.pc.
4515
45162005-02-27  Christopher James Lahey  <clahey@clahey.net>
4517
4518	* libgoffice-1.pc.in: New file.
4519
45202005-02-27  Jody Goldberg <jody@gnome.org>
4521
4522	* configure.in : Quick and dirty subset of gnumeric
4523
45242005-02-26  Jody Goldberg <jody@gnome.org>
4525
4526	* graph/Makefile.am : move the plugins into the root dir
4527	  so that the plugins can link against libgoffice
4528
45292005-02-22  Morten Welinder  <terra@gnome.org>
4530
4531	* gui-utils/go-gui-utils.c (filter_images): If we have no
4532	mime-type, fall back to checking the extension against what
4533	gdk-pixbuf supports.  Adapted from bug #164589.
4534
45352005-02-17  Stepan Kasal  <kasal@ucw.cz>
4536
4537	* Makefile.am (INCLUDES): Remove -I$(top_srcdir)/src/cut-n-paste-code/goffice.
4538	Fix the remaining includes.
4539	* goffice.c (go_sys_icon_dir): Fix typo.
4540
45412005-02-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4542
4543	* gui-utils/go-gui-utils.c: include errno.h
4544	(go_help_display): link is part of paths.
4545
45462005-02-16  Jean Brefort  <jean.brefort@normalesup.org>
4547
4548	* graph/gog-renderer-pixbuf.c: (gog_renderer_pixbuf_draw_path): rewrite to
4549	use large paths at once and have better dashes support
4550	* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render): render path at once
4551	and use ART_PATH_STROKE_CAP_ROUND for better rendering of large lines.
4552	* utils/go-line.c: (go_line_build_vpath): new function, builds a vpath from
4553	a set of points.
4554	* utils/go-line.h: ditto.
4555
45562005-02-16  Jody Goldberg <jody@gnome.org>
4557
4558	* utils/go-file.c (go_url_check_extension) : pull down from gnumeric
4559
4560	* gui-utils/go-gui-utils.c (go_gtk_button_new_with_stock) : renamed
4561	  from go_gtk_button_new_with_stock_image.
4562	(go_libglade_new) : use go_sys_data_dir.
4563	(go_gtk_widget_disable_focus) : renamed from go_widget_disable_focus.
4564	(go_pango_measure_string) : renamed from go_measure_string.
4565	(go_gtk_window_set_transient) : renamed from go_window_set_transient.
4566	(go_gtk_nonmodal_dialog) : renamed from gnumeric_non_modal_dialog.
4567	(go_gtk_file_sel_dialog) : renamed from gnumeric_dialog_file_selection.
4568	(go_gtk_select_image) : renamed from gui_image_file_select.
4569	(gui_get_image_save_info) : pulled in from gnumeric.
4570	(go_atk_setup_label) : renamed from gnm_setup_label_atk.
4571	(go_help_display) : pulled down from gnumeric and made generic.
4572	(go_gtk_help_button_init) : ditto.
4573	(go_gtk_url_is_writeable) : ditto.
4574	(go_gtk_dialog_run) : pulled from gnumeric
4575	(go_gtk_notice_dialog) : ditto.
4576	(go_gtk_notice_nonmodal_dialog) : ditto.
4577	(go_gtk_query_yes_no) : ditto.
4578
4579	* gui-utils/Makefile.am : Add libhtml_stub
4580
4581	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_init) : init the
4582	  dpis.
4583	(gog_renderer_pixbuf_get_pango_context) : use the stored calculated
4584	  dpi rather than gconf
4585	(gog_renderer_pixbuf_update) : store the dpi
4586
4587	* goffice.c (libgoffice_init) : init the paths.  We may want to expand
4588	  this at some point to allow cmd-line or env-var override.
4589	(go_sys_data_dir) : new.
4590	(go_sys_icon_dir) : new.
4591
45922005-02-15  Stepan Kasal  <kasal@ucw.cz>
4593
4594	* gui-utils/go-marshalers.list: Remove, merge with ...
4595	* utils/go-marshalers.list: ... this one, adjust all callers.
4596	* gui-utils/Makefile.am: Nuke the rules for go-marshalers.
4597	* utils/Makefile.am: Typo.
4598	* goffice.mk (INCLUDES): Add $(builddir)/../cut-n-paste-code,
4599	  for the generated header goffice/utils/go-marshalers.h.
4600
46012005-02-11  Morten Welinder  <terra@gnome.org>
4602
4603	* gui-utils/go-combo-text.c (cb_list_changed): Plug leak.
4604
4605	* utils/go-font.c (go_fonts_init): Copy family names instead of
4606	relying on pango leak.  Destroy fontmap only after we get the
4607	names out.
4608
4609	* gui-utils/go-format-sel.c (generate_preview): Avoid crash in
4610	g_warning.
4611
46122005-02-09  Stepan Kasal  <kasal@ucw.cz>
4613
4614	* app/error-info.h: Change the guard to GO_ERROR_INFO_H.
4615
46162005-02-08  Jon K Hellan  <hellan@acm.org>
4617
4618	* utils/format.h: Include numbers.h.
4619	(render_number): Make declaration match	definition.
4620
46212005-02-08  Morten Welinder  <terra@gnome.org>
4622
4623	* utils/go-font.c (go_fonts_init): Plug leak.
4624
46252005-02-08  Jody Goldberg <jody@gnome.org>
4626
4627	* Release 1.5.0
4628
46292005-02-05  Morten Welinder  <terra@gnome.org>
4630
4631	* graph/gog-renderer-gnome-print.c (get_font): Return a
4632	PangoFontDescription, not a GnomeFont.  All callers changed.
4633
46342005-02-04  Morten Welinder  <terra@gnome.org>
4635
4636	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize):
4637	Remove old #ifdef HAVE_foo stuff.
4638	* graph/gog-renderer-gnome-print.c: Ditto.
4639
46402005-02-03  Jean Brefort  <jean.brefort@normalesup.org>
4641
4642	* graph/gog-axis.c: (map_linear_auto_bound): change < to >, fix #164593.
4643
46442005-01-25  Jody Goldberg <jody@gnome.org>
4645
4646	* graph/plugins/plot_boxes/gog-boxplot.c (gog_box_plot_pref) : fix
4647	  signature.
4648
46492005-01-24  Jean Brefort  <jean.brefort@normalesup.org>
4650
4651	* graph/goffice-graph.h: add GOG_AXIS_SET_X.
4652	* graph/gog-chart.c: (role_grid_can_add),
4653	(gog_chart_axis_set_assign), (gog_chart_view_size_allocate): add grid
4654	when we have only an X axis.
4655	* graph/plugins/Makefile.am: add box-plots plugin
4656	* graph/plugins/plot_boxes/Makefile.am: new plugin.
4657	* graph/plugins/plot_boxes/gog-boxplot-prefs.glade:
4658	* graph/plugins/plot_boxes/gog-boxplot.c: ditto.
4659	* graph/plugins/plot_boxes/gog-boxplot.h: ditto.
4660	* graph/plugins/plot_boxes/plot-types.xml.in: ditto.
4661	* graph/plugins/plot_boxes/plugin.xml.in: ditto.
4662	* pixmaps/Makefile.am: add box-plots pixmaps.
4663	* pixmaps/boxplot.xpm: ditto.
4664	* pixmaps/chart_boxplot_1_1.png: ditto.
4665	* pixmaps/chart_boxplot_1_1.svg: ditto.
4666
46672005-01-22  Jean Brefort  <jean.brefort@normalesup.org>
4668
4669	* graph/gog-renderer-gnome-print.c:
4670	(gog_renderer_gnome_print_draw_bezier_path),
4671	(gog_renderer_gnome_print_class_init): add Bezier paths support.
4672	* graph/gog-renderer-impl.h: ditto.
4673	* graph/gog-renderer-pixbuf.c:
4674	(gog_renderer_pixbuf_draw_bezier_path),
4675	(gog_renderer_pixbuf_class_init): ditto.
4676	* graph/gog-renderer-svg.c: (gog_renderer_svg_draw_bezier_path),
4677	(gog_renderer_svg_class_init): ditto.
4678	* graph/gog-renderer.c: (gog_renderer_draw_bezier_path): ditto.
4679	* graph/gog-renderer.h: ditto.
4680	* graph/plugins/plot_xy/gog-xy.c: (gog_xy_set_property),
4681	(gog_xy_get_property), (gog_xy_plot_class_init),
4682	(gog_xy_view_render): add spline interpolation support.
4683	* graph/plugins/plot_xy/gog-xy.h: ditto.
4684	* graph/plugins/plot_xy/plot-types.xml.in: ditto.
4685	* pixmaps/Makefile.am: install chart_scatter_3_3.png.
4686	* utils/go-line.c: (go_line_build_bpath): new function, builds a Bezier path
4687	from an array of points.
4688	* utils/go-line.h: add go_line_build_bpath.
4689
46902005-01-17  Jody Goldberg <jody@gnome.org>
4691
4692	* Release 1.4.2
4693
46942005-01-14  Jody Goldberg <jody@gnome.org>
4695
4696	http://bugzilla.gnome.org/show_bug.cgi?id=163939
4697	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) : zero
4698	  sized views are not relevent, and does not require any redrawing.
4699
47002005-01-11  Morten Welinder  <terra@gnome.org>
4701
4702	* gui-utils/go-combo-text.c (go_combo_text_init): Bind to the
4703	treeview's cursor_changed signal, not the selection's changed
4704	signal.  [#163412].
4705
47062005-01-06  Morten Welinder  <terra@gnome.org>
4707
4708	* utils/go-math.c (go_fake_floor, go_fake_ceil): Fix negative
4709	case.
4710
47112005-01-05  Jean Brefort <jean.brefort@normalesup.org>
4712
4713	* pixmaps/Makefile.am: add chart_contour_1_1.png.
4714	* pixmaps/chart_contour_1_1.png: new icon by Emmanuel Pacaud.
4715	* pixmaps/chart_contour_1_1.svg: ditto.
4716	* pixmaps/chart_contour_1_2.png: ditto.
4717	* pixmaps/chart_contour_1_2.svg: ditto.
4718	* pixmaps/chart_scatter_3_3.png: ditto.
4719	* pixmaps/chart_scatter_3_3.png: ditto.
4720	* graph/plugins/plot_surface/plot_types.xml.in: use chart_contour_1_1.png.
4721
4722
47232005-01-05  Morten Welinder  <terra@gnome.org>
4724
4725	* graph/gog-series.c (gog_series_get_element): Fix NULL/FALSE
4726	confusion.
4727
47282004-12-17  Jody Goldberg <jody@gnome.org>
4729
4730	From Ivan Wong :
4731	http://bugzilla.gnome.org/show_bug.cgi?id=159860
4732	* utils/go-file.c (go_url_show) : Use ShellExecute on win32
4733
47342004-12-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4735
4736	* graph/plot-xy/gog-xy.c (gog_xy_series_init_style): don't disable
4737	theming.
4738
47392004-12-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4740
4741	* graph/gog-series.c (gog_series_dataset_dim_changed): resize for every
4742	label change.
4743	* graph/gog-axis.c (gog_axis_update): no need to force resize for
4744	discrete axis, it's handled by gog_series_dataset_dim_changed.
4745
47462004-12-15  Morten Welinder  <terra@gnome.org>
4747
4748	* gui-utils/go-action-combo-stack.c (get_key_at_path): Don't crash
4749	if we don't get an iter.
4750	(cb_motion_notify_event): Handle empty tree case.
4751
47522004-12-09  Jody Goldberg <jody@gnome.org>
4753
4754	* Release 1.4.1
4755
47562004-12-09  Jody Goldberg <jody@gnome.org>
4757
4758	* utils/go-file.c (go_url_show) : patch the problems morten pointed
4759	  out and finish the '%1' subsitution.
4760
47612004-12-08  Jody Goldberg <jody@gnome.org>
4762
4763	* utils/go-file.c (go_url_show) : new with a win32 and non-gnome wrapper
4764
47652004-12-01  Jody Goldberg <jody@gnome.org>
4766
4767	* goffice.mk (INCLUDES) : remove GNUMERIC_ICON_DIR
4768
47692004-11-28  Jody Goldberg <jody@gnome.org>
4770
4771	* Release 1.4.0
4772
47732004-11-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4774
4775	* graph/gog-style.c (gog_style_gradient_load): call
4776	  gog_style_set_fill_brightness in order to correctly initialize start
4777	  and end colors.
4778
47792004-11-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4780
4781	* graph/gog-axis.c (create_invalid_axis_ticks): add a flag to note
4782	create "##" labels.
4783	* graph/gog-guru.c (cb_attr_tree_selection_change): scroll to selected
4784	row.
4785
47862004-11-14  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4787
4788	* graph/gog-renderer-pixbuf.c (line_size): width <= 0. is hairline.
4789	* graph/gog-renderer.c (gog_render_line_size): ditto.
4790	* graph/gog-style.c (cb_outline_size_changed): round to 2 significant
4791	digits since sometimes adj->value returns 1E-17 instead of zero.
4792	(cb_line_size_changed): ditto.
4793	(gog_style_apply_theme): handle dash_type property.
4794	(gog_style_gradient_sax_save): fix brightness test to be consistent
4795	with dom_save.
4796	(gog_style_gradient_load): start-color and end-coilor were inverted.
4797	(gog_style_is_outline_visible): line is visible for all width values.
4798	(gog_style_is_line_visible): ditto.
4799	(gog_style_force_auto): handle auto_dash.
4800 	* graph/plugins/plot_xyt/gog-xy.c (gog_xy_series_init_style): handle
4801	dash_type property.
4802
48032004-11-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
4804
4805	http://bugzilla.gnome.org/show_bug.cgi?id=152514
4806	* graph/gog-guru.c (graph_guru_init_ok_button): new
4807	(graph_guru_init): call graph_guru_init_ok_button
4808	(gog_guru): initialize state->editing
4809
48102004-11-07  Jody Goldberg <jody@gnome.org>
4811
4812	* Release 1.3.93
4813
48142004-10-31  Jody Goldberg <jody@gnome.org>
4815
4816	* Release 1.3.92
4817
48182004-11-01  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4819
4820	http://bugzilla.gnome.org/show_bug.cgi?id=157048
4821	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): fix
4822	leak.
4823
48242004-10-30  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4825
4826	http://bugzilla.gnome.org/show_bug.cgi?id=152765
4827	* graph/gog-guru.c (graph_guru_init_format_page): delete_button is
4828	really a button now, so connect "clicked" signal instead of
4829	"activate".
4830	* graph/gog-guru.glade: replace "Delete" menuitem by a button as a
4831	workaround of gtk+ bug #155336.
4832
48332004-10-29  Morten Welinder  <terra@gnome.org>
4834
4835	* cut-n-paste/pcre/pcre.c (ord2utf8): Fix ABR.  (Fixed in PCRE
4836	5.0, but I don't want to upgrade right now.)
4837
48382004-10-27  Morten Welinder  <terra@gnome.org>
4839
4840	* utils/go-line.c (go_line_clip_vpath): Make sure "reject" is
4841	initialized.
4842	(GOLineDashDesc): Do not rely on C99 features.
4843
48442004-10-27  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4845
4846	* graph/gog-style.c (gog_style_gradient_load): fix brightness case.
4847
48482004-10-26  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4849
4850	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): fix
4851	marker for missing data.
4852
48532004-10-26  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4854
4855	http://bugzilla.gnome.org/show_bug.cgi?id=152585
4856	* grah/gog-axis.c (gog_axis_update): always emit changed signal for
4857	discrete axis, since labels may have changed.
4858	* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update): call
4859	gog_axis_bound_changed if GogSeries1_5D->index_changed == TRUE.
4860	(gog_series1_5d_dim_changed): new. Used to set index_changed to TRUE
4861	when vector dim_i == 0 changed.
4862
48632004-10-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4864
4865	* graph/gog-axis.c (draw_axis_from_a_to_b): use
4866	gog_style_is_line_visible instead of checking line width.
4867	(gog_axis_view_render): ditto.
4868	* graph/gog-label.c (gog_label_view_render): draw sharp rectangle
4869	around label.
4870	* graph/gog-legend.c (cb_render_elements): draw sharp sample line and
4871	sharp rectangle around elements.
4872	(gog_legend_class_init): set clip to TRUE in order to avoid sample
4873	lines to extend beyond legend area.
4874	* graph/gog-outlined-object.c (gog_outlined_view_size_request): use
4875	gog_style_is_line_visible instead of checking for positive line width.
4876	(gog_outlined_view_size_allocate): ditto.
4877	(gog_outlined_view_render): draw sharp rectangle.
4878	* graph/gog-renderer-gnome-print.c (set_dash): new.
4879	(gog_renderer_gnome_print_draw_path): honor dash setting. Clip dashed path
4880	in order to avoid huge memory allocation and crash for very long
4881	lines.
4882	(gog_renderer_gnome_print_draw_polygon): ditto.
4883	* graph/gog-renderer-impl.h: add GogRenderer::line_dash and
4884	GogRenderer::outline_dash members.
4885	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_clip_push): fix
4886	clip area rounding.
4887	(line_size): new. Same as gog_renderer_line_size, but don't round
4888	width < 1.0 .
4889	(gog_renderer_pixbuf_line_size): use line_size.
4890	(gog_renderer_pixbuf_sharp_path): fix rounding.
4891	(gog_renderer_pixbuf_draw_path): honor dash setting.
4892	(gog_renderer_pixbuf_draw_polygon): ditto.
4893	* graph/gog-renderer-svg.c (gog_renderer_svg_clip_push): use C locale
4894	for double to string conversion.
4895	(stroke_dasharray): new.
4896	(gog_renderer_svg_draw_path): honor dash setting.
4897	(gog_renderer_svg_draw_polygon): ditto.
4898	* graph/gog-renderer.c: define a hair line width and set it to 0.24pt.
4899	(gog_renderer_finalize): free line_dash and outline_dash.
4900	(update_dash): new.
4901	(gog_renderer_push_style): call update_dash.
4902	(gog_renderer_pop_style): ditto.
4903	(gog_renderer_clip_push): keep a pointer to the current clip.
4904	(gog_renderer_clip_pop): ditto.
4905	(draw_rectangle): new.
4906	(gog_renderer_draw_sharp_rectangle): new.
4907	(gog_renderer_line_size): return GOG_RENDERER_HAIR_LINE_WIDTH instead
4908	of 1.0 for style->line.width == 0.0 .
4909	* graph/gog-style-prefs.glade: add dash type combos.
4910	* graph/gog-style.c (cb_outline_dash_type_changed): new.
4911	(cb_line_dash_type_changed): new.
4912	(outline_init): add dash selector.
4913	(line_init): ditto.
4914	(gog_style_line_load): load dash settings.
4915	(gog_style_line_dom_save): save dash settings.
4916	(gog_style_line_sax_save): ditto.
4917	(gog_style_is_different_size): check dash_type.
4918	(gog_style_is_outline_visible): new.
4919	(gog_style_is_line_visible): check dash_type.
4920	* graph/gog-theme.c (gog_themes_init): use dash_type.
4921	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): don't
4922	draw sharp path.
4923	* utils/go-line.[ch]: new.
4924
49252004-10-13  Jean Brefort <jean.brefort@normalesup.org>
4926
4927	* graph/gog-axis.c: add center_on_ticks boolean to force centering labels
4928	on ticks for discree mapped axis.
4929	* graph/gog-plot.h: ditto.
4930	* graph/gog-plot.c: ditto.
4931
49322004-10-19  Morten Welinder  <terra@gnome.org>
4933
4934	* utils/go-file.c (go_dirname_from_uri): New function.
4935
49362004-10-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4937
4938	* graph/gog-axis.c (gog_axis_dim_changed): call gog_axis_update in
4939	order to refresh labels and ticks.
4940
49412004-10-13  Morten Welinder  <terra@gnome.org>
4942
4943	* graph/gog-axis.c (gog_axis_get_entry): Remove band-aid no longer
4944	needed.  (Although files created in the past few days will have
4945	the vector type in the file.)
4946
49472004-10-13  Jean Brefort <jean.brefort@normalesup.org>
4948
4949	* graph/gog-axis.c: (make_dim_editor): replace TRUE by GO_DATA_SCALAR in the
4950	call to gog_data_allocator_editor.
4951	* graph/gog-label.c: (gog_label_editor): ditto.
4952	* graph/gog-series.c: (gog_series_editor): ditto.
4953
49542004-10-13  Jean Brefort <jean.brefort@normalesup.org>
4955
4956	* graph/gog-plot-impl.h: added a foreach_elem member in GogPlotClass
4957	* graph/gog-plot.c: (gog_plot_foreach_elem): calls Klass->foreach_elem
4958	when not NULL to override default legends management.
4959	* graph/gog-renderer-gnome-print.c: (draw_path): add ART_MOVETO_OPEN case,
4960	(gog_renderer_gnome_print_measure_text): fix a bad sign.
4961	* graph/gog-renderer-svg.c: (draw_path): add ART_MOVETO_OPEN case.
4962
49632004-10-12  Morten Welinder  <terra@gnome.org>
4964
4965	* graph/gog-axis.h (GogAxisTickTypes): Fix namespace.
4966
4967	* graph/gog-axis.c (GogAxisElemType): Name this type.
4968	(gog_axis_get_entry): Use GogAxisElemType, not unsigned int, for
4969	the index argument.
4970
49712004-10-12  Morten Welinder  <terra@gnome.org>
4972
4973	* graph/gog-axis.c (map_linear_auto_bound): Fix gnm_float/double
4974	confusion.
4975	(gog_axis_get_entry): Temporary fix for user-defined axis limits.
4976
49772004-10-11  Morten Welinder  <terra@gnome.org>
4978
4979	* graph/gog-series.c (gog_series_finalize): Plug leak.
4980
49812004-10-11  Jody Goldberg <jody@gnome.org>
4982
4983	* gui-utils/Makefile.am : drop the dock code we're not going to be
4984	  using it before 1.4
4985
49862004-10-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4987
4988	http://bugzilla.gnome.org/show_bug.cgi?id=154664
4989	* graph/gog-guru.glade: set width and height request for sample area
4990	and object list.
4991
49922004-10-09  Jean Brefort <jean.brefort@normalesup.org>
4993
4994	* graph/go-data.c: (go_data_matrix_emit_changed),
4995	(go_data_matrix_class_init), (go_data_matrix_get_size),
4996	(go_data_matrix_get_values), (go_data_matrix_get_value),
4997	(go_data_matrix_get_str), (go_data_matrix_get_minmax): new GOMatix class.
4998	* graph/go-data.h: ditto.
4999	* graph/go-data-impl.h: ditto.
5000	* graph/goffice-graph.h: ditto. Added GODataType enumerated type.
5001	* graph/gog-data-allocator.c: (gog_data_allocator_editor): Replaced
5002	"gboolean prefers_scalar" by "GODataType data_type".
5003	* graph/gog-data-allocator.h: ditto.
5004	* graph/gog-error-bar.c: (cb_type_changed), (gog_error_bar_prefs):
5005	* graph/gog-series.c: (gog_series_editor): ditto.
5006	* graph/plugins/plot_surface/Makefile.am: new contour plots.
5007	* graph/plugins/plot_surface/gog-contour-prefs.c: ditto.
5008	* graph/plugins/plot_surface/gog-contour-prefs.glade: ditto.
5009	* graph/plugins/plot_surface/gog-surface.c: ditto.
5010	* graph/plugins/plot_surface/gog-surface.h: ditto.
5011	* graph/plugins/plot_surface/plot-types.xml.in: ditto.
5012	* graph/plugins/plot_surface/plugin.xml.in: ditto.
5013
50142004-10-08  Jody Goldberg <jody@gnome.org>
5015
5016	* graph/gog-object.c (gog_object_dup) : copy the position.
5017
50182004-10-06  Jody Goldberg <jody@gnome.org>
5019
5020	* graph/gog-control-foocanvas.c (gog_control_foocanvas_update) : Fix
5021	  redraw.  There were two bugs.
5022	  1) foocanvas_group_update was wiping tbe bounds (things always look
5023	     like they move)
5024	  2) We were not requesting a redraw for the old position before
5025	     moving.
5026
50272004-10-05  Jody Goldberg <jody@gnome.org>
5028
5029	* Release 1.3.91
5030
50312004-10-03  Jody Goldberg <jody@gnome.org>
5032
5033	* graph/gog-control-foocanvas.c :  Make the class definition public to
5034	  make it easier to graft on an additional interface in the app.  We
5035	  may not need this later if SheetObject moves down into goffice
5036
50372004-10-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5038
5039	http://bugzilla.gnome.org/show_bug.cgi?id=152672
5040	* graph/gog-theme.c (gog_themes_init): set pattern background to
5041	white, even when automatic pattern style is NONE.
5042	* graph/gog-label.c (gog_label_editor): fix layout.
5043	(gog_label_view_render): add padding
5044	when outline > 0. or pattern != NONE.
5045	* graph/gog-outlined-object.c (gog_outlined_view_size_request): ditto.
5046	(gog_outlined_view_size_allocate): ditto.
5047	* graph/gog-style.c (gog_style_is_different_size): changing pattern
5048	type can change object size.
5049
50502004-09-29  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5051
5052	* graph/gog-guru-type-selector.glade: new.
5053	* graph/Makefile.am: add gog-guru-type-selector.glade.
5054	* graph/gog-axis-prefs.glade: fix layout.
5055	* graph/gog-axis.c (make_dim_editor): ditto.
5056	(gog_axis_editor): ditto.
5057	* graph/gog-guru.c (cb_attr_tree_selection_change): always use a
5058	notebook, but hide tabs when there's only one page.
5059	(graph_guru_type_selector_new): load layout from glade file.
5060	* graph/gog-guru-glade: remove scrollbar around property notebook.
5061	Make object menu unshrinkable. Fix layout.
5062	* graph/gog-series.c (gog_series_element_editor): fix layout.
5063	* graph/gog-style.c (font_int): ditto.
5064	* graph/plugins/plot_barcol/gog-barcol-prefs.glade: ditto.
5065	* graph/plugins/plot_pie/gog-pie-series.glade: ditto.
5066	* graph/plugins/plot_pie/gog-ring-prefs.glade: ditto.
5067	* graph/plugins/plot_xye/gog-xy-prefs.glade: ditto.
5068
50692004-09-29  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5070
5071	http://bugzilla.gnome.org/show_bug.cgi?id=153402
5072	* graph/plugins/gog-radar-prefs.c: removed.
5073	* graph/plugins/gog-radar-prefs.glade: removed.
5074	* graph/plugins/gog-radar.c: removed reference to plot editor.
5075	* graph/plugins/Makefile.am: removed reference to
5076	gog-radar-prefs.[c,glade].
5077
50782004-09-29  Morten Welinder  <terra@gnome.org>
5079
5080	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize):
5081	Conditionalise the use of pango_context_get_font_map.
5082
50832004-09-28  Morten Welinder  <terra@gnome.org>
5084
5085	* utils/go-font.c (go_pango_fc_font_map_cache_clear): New
5086	function, wrapping pango_fc_font_map_cache_clear (which isn't
5087	public).
5088
5089	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize): Call
5090	go_pango_fc_font_map_cache_clear.
5091
5092	* utils/go-color.c (go_color_to_pango): Add is_fore argument and
5093	export.
5094
50952004-09-28  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5096
5097	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_info_at_point):
5098	disable automatic point creation for ring plot, since it
5099	doesn't work. For pie plot, don't create new point when it already
5100	exists, but select it.
5101
51022004-09-28  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5103
5104	http://bugzilla.gnome.org/show_bug.cgi?id=153401
5105	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render): fix special
5106	inner arc handling test (has_hole :) ).
5107
51082004-09-27  Morten Welinder  <terra@gnome.org>
5109
5110	* utils/go-math.c (go_fake_ceil): New function.
5111
5112	* utils/go-file.c (go_url_encode): Make this half-way decent.
5113	(go_url_decode): Make this O(n) too.
5114
5115	* libpresent/ppt-parsing-helper.h: Add header guard.
5116
51172004-09-27  Jon K Hellan  <hellan@acm.org>
5118
5119	* graph/gog-renderer-gnome-print.c
5120	(gog_graph_print_to_gnome_print): Conditionalize call to
5121	gnome_print_pango_create_layout.
5122
51232004-09-26  Jody Goldberg <jody@gnome.org>
5124
5125	From : Yukihiro Nakai  <nakai@gnome.gr.jp>
5126	http://bugzilla.gnome.org/show_bug.cgi?id=148550
5127	* utils/go-file.c (go_url_decode) : new
5128	(go_url_encode) : new.  I'm not sure these belong in go vs gsf
5129	  but lets keep them here for now until they get fleshed out.
5130
51312004-09-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5132
5133	* graph/gog-error-bar-prefs.glade: 12 px between label and control.
5134	* graph/gog-style-prefs.glade: 12 px padding. Use GtkAlignment for
5135	group layout.
5136	* graph/gog-style.c: use new layout.
5137
51382004-09-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5139
5140	* graph/gog-error-bar-prefs.glade: layout rework.
5141	* graph/gog-error-bar.c (cb_type_changed): use new layout. Hide styles
5142	when category is none.
5143	(gog_error_bar_prefs): ditto.
5144
51452004-09-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5146
5147	* graph/gog-axis.c (gog_axis_view_render): draw_minor and draw_major
5148	only if line_width > 0.
5149	* grapg/gog-theme.c (gog_themes_init): initialize GogGrid outline.
5150
51512004-09-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5152
5153	* graph/gog-axis.c (gog_axis_view_render): Calculate major_out even if
5154	line_width <= 0, because it's needed for label positionning.
5155
51562004-09-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5157
5158	* graph/gog-axis.c: make GogGridLine as child of GogAxis.
5159	(role_grid_line_can_add): new.
5160	(role_grid_line_major_can_add): new.
5161	(role_grid_line_minor_can_add): new.
5162	(role_grid_line_major_post_add): new.
5163	(role_grid_line_minor_post_add): new.
5164	(gog_axis_view_class_init): add grid line roles.
5165	(gog_axis_view_render_children): new. Don't render grid lines here.
5166	(gog_axis_view_render): call gog_axis_view_render_children. Free
5167	axis_list.
5168	* graph/gog-chart.c
5169	(gog_chart_view_class_init): set call_parent_render to FALSE.
5170	(grid_line_render): new. Render minor grid, then major.
5171	(gog_chart_view_render): new. Kludge for grid lines rendering before
5172	axis.
5173	* graph/gog-grid-line.c: add new is_minor property and remove type
5174	property.
5175	(gog_grid_line_is_minor): new.
5176	(gog_grid_line_view_render): implement radar grid.
5177	* graph/gog-grid.c: Remove grid line roles.
5178	(role_grid_line_can_add): removed.
5179	(role_grid_x_major_can_add): removed.
5180	(role_grid_x_minor_can_add): removed.
5181	(role_grid_y_major_can_add): removed.
5182	(role_grid_y_minor_can_add): removed.
5183	(role_grid_x_major_post_add): removed.
5184	(role_grid_x_minor_post_add): removed.
5185	(role_grid_y_major_post_add): removed.
5186	(role_grid_y_minor_post_add): removed.
5187	(gog_grid_view_render): sharpen polygon.
5188	(gog_grid_init_style): add OUTLINE property.
5189	* graph/gog-outlined-object.c: add a call_parent_render class
5190	property. Deafult to TRUE.
5191	* graph/gog-theme.c (gog_themes_init): add MajorGrid and MinorGrid
5192	themes. Remove X-MajorGrid, Y-MajorGrid, X-MinorGrid, Y-MinorGrid
5193	themes.
5194
51952004-09-23  Morten Welinder  <terra@gnome.org>
5196
5197	* graph/gog-renderer-gnome-print.c
5198	(gog_renderer_gnome_print_draw_text): Get the right kind of size.
5199	(gog_renderer_gnome_print_measure_text): Use layout method here
5200	too.
5201
52022004-09-22  Morten Welinder  <terra@gnome.org>
5203
5204	* graph/gog-renderer-gnome-print.c
5205	(gog_renderer_gnome_print_draw_text): Print using pango layouts.
5206	Adapted from code by Yaacov Zamir <kzamir@walla.co.il>.
5207
52082004-09-21  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5209
5210	http://bugzilla.gnome.org/show_bug.cgi?id=153289
5211	* graph/gog-axis.c (gog_axis_editor): hide minor tick properties when
5212	editing discrete axis properties.
5213	* grah/gog-axis-prefs.glade: name minor tick frame.
5214
52152004-09-20  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5216
5217	* pixmaps: make color order consistent and rerender png from svg with
5218	inkscape instead of rsvg.
5219
52202004-09-20  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5221
5222	* goffice.c: new GogGridLine type.
5223	* graph/gog-axis.c (map_discrete_calc_ticks): always calc major and
5224	minor ticks.
5225	(map_linear_calc_ticks): ditto.
5226	(map_log_calc_ticks): ditto.
5227	(gog_axis_get_ticks): return tick list and tick number now.
5228	(gog_axis_view_render): since all ticks are in cache, only draw them
5229	if they are visibles.
5230	* graph/gog-grid-line.[ch]: new.
5231	* graph/gog-grid.c (gog_grid_init_style): use only fill property.
5232	(role_grid_line_can_add): new.
5233	(role_grid_x_major_can_add): new.
5234	(role_grid_x_minor_can_add): new.
5235	(role_grid_y_major_can_add): new.
5236	(role_grid_y_minor_can_add): new.
5237	(role_grid_x_major_post_add): new.
5238	(role_grid_x_minor_post_add): new.
5239	(role_grid_y_major_post_add): new.
5240	(role_grid_y_minor_post_add): new.
5241	(gog_grid_class_init): register new grid line roles.
5242	* graph/gog-theme.c: register theme for new grid line objects.
5243
52442004-09-20  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5245
5246	http://bugzilla.gnome.org/show_bug.cgi?id=153146
5247	* graph/plugins/plot_radar/gog-radar.c (gog_radar_view_render): Check
5248	if series is valid before trying to render it.
5249
52502004-09-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5251
5252	http://bugzilla.gnome.org/show_bug.cgi?id=152615
5253	* pixmaps: new consistent charting icon set (based on a Jimmac work).
5254
52552004-09-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5256
5257	* graph/gog-error-bar.c (gog_error_bar_get_min_max): get values from
5258	outside of loop.
5259	(gog_error_bar_get_bounds): add assertions. Use
5260	go_data_vector_get_value.
5261
52622004-09-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5263
5264	http://bugzilla.gnome.org/show_bug.cgi?id=152499
5265	* graph/gog-error-bar.c (gog_error_bar_get_minmax): check whether
5266	associated GogSeries is valid.
5267
52682004-09-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5269
5270	* graph/gog-error-bar.c (gog_error_bar_get_minmax): add assertions.
5271
52722004-09-14  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5273
5274	* graph/gog-axis.c (gog_axis_map_is_valid): add assertion.
5275
52762004-09-09  Jody Goldberg <jody@gnome.org>
5277
5278	* graph/gog-series.c (gog_series_element_set_index) : new to handle
5279	  theming properly.
5280	(gog_series_element_set_property) : use it here.
5281	(gog_series_element_init_style) : and here.
5282	(role_series_element_allocate) : and here.
5283
52842004-09-10  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5285
5286	* graph/gog-renderer-pixbuf.c (gog_renderer_draw_text): remove
5287	remaining unref.
5288
52892004-09-10  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5290
5291	http://bugzilla.gnome.org/show_bug.cgi?id=152201
5292	* graph/gog-axis.c (map_discrete_auto_bound): Set automatic maximum
5293	number of major and lables to 100.
5294	(gog_axis_view_render): don't draw axis + ticks in one path.
5295	* graph/gog-renderer-pixbuf.c: cache pango layout.
5296	(gog_renderer_pixbuf_get_pango_layout): new.
5297	(gog_renderer_pixbuf_get_pango_context): new.
5298	(gog_renderer_pixbuf_push_style): new. unref pango_layout.
5299	(gog_renderer_pixbuf_push_style): ditto.
5300
53012004-09-08  Jody Goldberg <jody@gnome.org>
5302
5303	* Release 1.3.90
5304
53052004-09-07  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5306
5307	http://bugzilla.gnome.org/show_bug.cgi?id=151530
5308	tick label truncated by chart outline
5309	http://bugzilla.gnome.org/show_bug.cgi?id=151527
5310	pb when exporting to svg a chart without outline
5311	http://bugzilla.gnome.org/show_bug.cgi?id=127203
5312	X axis labels centre on chart, not on axis
5313
5314	* graph/goffice-graph.h: new GogViewPadding type.
5315	* graph/gog-axis.c (map_log_to_canvas): DBL_MIN is not -DBL_MAX.
5316	(gog_axis_view_padding_request): new.
5317	(gog_axis_view_size_request): just call gog_view_size_child_request.
5318	(gog_axis_view_size_allocate): remove.
5319	(gog_axis_view_render): stop libart path to third element in case of
5320	  line_width <= 0. Fix label dropping. Use Chart->plot_area for axis
5321	  drawing.
5322	* graph/gog-chart.c (gog_chart_view_get_plot_area): new.
5323	(child_request): new.
5324	(gog_chart_view_size_allocate): axis now request space around
5325	  residual. Store residual in Chart->plot_area.
5326	* graph/gog-label.c (gog_label_view_render): draw rectangle here,
5327	  since in gog_outlined_object, rectangle around label is clipped to
5328	  view->allocation.
5329	* graph/gog-renderer-pixbuf.c (draw_text): don't clip text, to be
5330	  consistent with svg and gnome-print renderer.
5331
53322004-09-06  Jody Goldberg <jody@gnome.org>
5333
5334	* gui-utils/go-color-palette.c (go_color_palette_setup) : warning
5335	  suppression
5336
53372004-09-05  Jody Goldberg <jody@gnome.org>
5338
5339	http://bugzilla.gnome.org/show_bug.cgi?id=151628
5340	* graph/gog-guru.c (cb_typesel_sample_plot_resize) : hard code the
5341	  zoom when recalculating the size.  The sample graph is only zoomed
5342	  when visible.
5343
53442004-09-05  Jody Goldberg <jody@gnome.org>
5345
5346	* graph/gog-guru.c (graph_guru_type_selector_new) : Add a light bulb
5347	  to the 'show sample' button to make it stand out a bit more
5348
5349	* graph/gog-guru.c (graph_guru_type_selector_new) : Make the sample
5350	  canvas the main resizeable element in the type selector.
5351
53522004-09-01  Jody Goldberg <jody@gnome.org>
5353
5354	* utils/go-gradient.c : conditionalize selector on WITH_GTK
5355	* utils/go-pattern.c : ditto
5356	* utils/go-marker.c : conditionalize selector and the use of GdkPixbuf
5357
5358	* utils/go-color.c : Remove unnecessary include of color-combo
5359	  and conditionalize the gdk support routines in case we do not have
5360	  gtk.
5361
53622004-09-03  Morten Welinder  <terra@gnome.org>
5363
5364	* graph/plugins/plot_barcol/gog-1.5d.c
5365	(gog_series1_5d_populate_editor): Terminate g_object_get call by
5366	NULL, not 0.
5367
53682004-09-02  Morten Welinder  <terra@gnome.org>
5369
5370	* graph/plugins/plot_radar/gog-radar-prefs.glade: Someone
5371	accidentally cut the guts of this.  Add vary-style button that the
5372	code appears to want.
5373
53742004-08-31  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5375
5376	http://bugzilla.gnome.org/show_bug.cgi?id=151529
5377	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): set series to to
5378	right value for marker drawing.
5379	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): use
5380	right index when walking through path for marker drawing.
5381
53822004-08-30  Morten Welinder  <terra@gnome.org>
5383
5384	* graph/gog-plot-engine.c (gog_plot_new_by_name): Ick.  We need to
5385	keep a GObject ref in addition to the GnmPlugin ref.
5386
53872004-08-29  Jody Goldberg <jody@gnome.org>
5388
5389	* Release 1.3.2
5390
53912004-08-26  Morten Welinder  <terra@gnome.org>
5392
5393	* goffice.c (libgoffice_shutdown): Showdown plugin services.
5394
5395	* graph/gog-plot-engine.c (gog_plot_new_by_name): Handle inactive
5396	plugins.  Mark plugins as used.
5397	(gog_plugin_services_shutdown): New function.
5398
53992004-08-25  Jody Goldberg <jody@gnome.org>
5400
5401	* graph/gog-axis.c (gog_axis_view_render) : don't leak an axis map for
5402	  discrete axes
5403
54042004-08-24  Morten Welinder  <terra@gnome.org>
5405
5406	* utils/go-file.c (go_file_split_uris): New function for
5407	text/uri-list parsing.
5408
54092004-08-23  Morten Welinder  <terra@gnome.org>
5410
5411	* graph/gog-plot-engine.c (create_plot_families): New function.
5412	(gog_plot_family_by_name, gog_plot_families): Ensure we have
5413	families.
5414
54152004-08-20  Morten Welinder  <terra@gnome.org>
5416
5417	* graph/gog-error-bar.c (gog_error_bar_prefs): Arrange for gui to
5418	be unref'd.
5419
54202004-08-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5421
5422	* graph/gog-axis.c (map_linear_calc_ticks): fix tick number
5423	calculation.
5424	(overlap): use already defined MAX / MIN.
5425
54262004-08-17  Morten Welinder  <terra@gnome.org>
5427
5428	* goffice.c (libgoffice_init): Call gsf_init.
5429
54302004-08-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5431
5432	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render):
5433	don't clip markers to plot area.
5434
54352004-08-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5436
5437	* graph/gog-axis.c (create_invalid_axis_ticks): new.
5438	(map_[log,discrete,linear]_init): when axis is not valid, init data
5439	for special invalid axis rendering.
5440	(map_[log,discrete,linear]_calc_ticks): when axis is not valid, return
5441	a special set of ticks/labels.
5442	(gog_axis_map_is_valid): new.
5443	(gog_axis_map_new): set the map->is_valid flag. Default to FALSE if
5444	there's no init function.
5445	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): use
5446	gog_axis_map_is_valid.
5447	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): idem.
5448	* graph/plugins/plot_radar/gog-radar.c (gog_radar_view_render): idem.
5449	Add support for mapping.
5450	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): don't clip
5451	markers to plot area, but to chart area.
5452
54532004-08-17  Jon K Hellan  <hellan@acm.org>
5454
5455	* graph/gog-stisyle.c (cb_image_file_select): is_save parameter to
5456	gui_image_file_select no longer needed.
5457
54582004-08-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5459
5460	* graph/gog-axis.c (gog_axis_editor): don't show preferences for
5461	circular axis.
5462	(overlap): new.
5463	(draw_axis_from_a_to_b): use gog_axis_map and draw labels.
5464	(gog_axis_view_render): at least width of the '0' char between two
5465	labels for GOG_AXIS_X.
5466	* graph/gog-view.h: remove call_parent_render and add a clip flag.
5467	* graph/gog-chart.c (gog_chart_view_render): removed.
5468	(gog_chart_view_class_init): set clip to TRUE.
5469	* graph/gog-outlined-object.c: always call parent render.
5470	* graph/gog-renderer-gnome-print.c: change start/stop_clipping to
5471	clip_push/pop.
5472	* graph/gog-renderer-svg.c: change start/stop_clipping to
5473	clip_push/pop.
5474	(gog_renderer_draw_text): add xml child in current node instead of
5475	first doc child.
5476	* graph/gog-renderer-pixbuf: change start/stop_clipping to
5477	clip_push/pop.
5478	(gog_renderer_pixbuf_clip_push): add multilevel clipping capability.
5479	(gog_renderer_pixbuf_print_clip_pop): idem.
5480	* graph/gog-renderer.c: change start/stop_clipping to clip_push/pop
5481	and add a clip stack to handle mutilevel clipping.
5482	* graph/gog-view.c (gog_view_class_init): set default clip flag to
5483	FALSE.
5484	(gog_view_render): if klass->clip is TRUE, call to clip_push/pop
5485	functions.
5486	* graph/plugins/plot_barcol/gog-barcol.c: set klass->clip to TRUE.
5487	* graph/plugins/plot_barcol/gog-line.c: idem.
5488	* graph/plugins/plot_xy/gog-xy.c: idem.
5489	* graph/plugins/plot_radar/gog-radar.c: idem.
5490
54912004-08-09  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5492
5493	* graph/gog-axis.c (map_[log,linear,discrete]_init) : add arguments
5494	for direct mapping to canvas coordinates.
5495	(gog_axis_map_new) : idem.
5496	(map_[log,linear,discrete]_to_canvas : new.
5497	(gog_axis_map_to_canvas) : new.
5498	(map_discrete) : handle barcol / area,line correctly.
5499	(map_log_auto_bounds): be smarter in case of min <= 0.
5500	(gog_axis_render) : draw axis/ticks in one call. Drop labels when they
5501	overlap.
5502	* graph/gog-error-bar.c (gog_error_bar_get_bounds) : return relative
5503	values of errors instead of absolute values.
5504	(gog_error_bar_get_min_max) : adapt to new gog_error_bar_get_bounds.
5505	(gog_error_bar_render) : use gog_axis_map functions.
5506	* graph/gog-grid.c (gog_grid_render) : remove kludge.
5507	* grapg/gog-renderer-gnome-print.c (gog_graph_print_to_gnome_print) :
5508	add a workaround for a bug in libgnomeprint.
5509	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_start_clipping) :
5510	rendering fix.
5511	(gog_renderer_pixbuf_line_size) : new.
5512	(gog_renderer_pixbuf_sharp_path) : new. Tweak a path for sharp
5513	rendering with libart.
5514	(gog_renderer_pixbuf_draw_marker) : zoom support for markers. Fix
5515	marker position.
5516	* graph/gog-renderer.c (gog_renderer_draw_sharp_path) : new.
5517	(gog_renderer_draw_sharp_polygon) : new.
5518	(gog_renderer_line_size) : remove kludge.
5519	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds)
5520	: maxima = num_elements - 1.
5521	* graph/plugins/plot_barcol/gog-barcol.c
5522	(gog_barcol_update_stacked_and_percentage) : adapt
5523	to new gog_error_bar_get_bounds.
5524	(gog_barcol_axis_get_bounds) : new.
5525	(barcol_draw_rest) : remove kludge.
5526	(gog_barcol_view_render) : use gog_axis_map functions.
5527	* graph/plugins/plot_barcol/gog-line.c
5528	(gog_line_update_stacked_and_percentage) : adapt
5529	to new gog_error_bar_get_bounds.
5530	(gog_line_view_render) : use gog_axis_map functions.
5531	* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_render) : use
5532	gog_axis_map_to_canvas and new gog_error_bar_get_bounds.
5533	* utils/go-marker.c (go_marker_get_pixbuf) : add a scale argument.
5534
55352004-07-29  Morten Welinder  <terra@gnome.org>
5536
5537	* gui-utils/go-action-combo-pixmaps.c
5538	(go_action_combo_pixmaps_create_menu_item): Let's initialize item
5539	before we use it.
5540
55412004-07-28  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5542
5543	* graph/gog-axis-prefs.glade: HIGification.
5544	* graph/gog-axis.c (get_adjusted_tick_array): new.
5545	(map_[discrete,linear,log]_init): new. Init for map functions.
5546	(map_[discrete,linear,log]): new. Map data to visible plot area.
5547	(map_[discrete,linear,log]_auto_bound): new. Calculate auto bounds and
5548	tick spacing.
5549	(map_[discrete,linear,log]_calc_ticks): new. Calculate position of
5550	major ticks,minor ticks and labels.
5551	(gog_axis_map_new),
5552	(gog_axis_map),
5553	(gog_axis_map_free): new. For use in plot view rendering functions.
5554	(gog_axis_set_ticks): new. Put tick and label positions in axis->ticks.
5555	(gog_axis_auto_bound),
5556	(gog_axis_calc_ticks): new.
5557	(gog_axis_set_property): check if update or calc_ticks is needed.
5558	(gog_axis_update): makes use of gog_axis_set_ticks and
5559	gog_axis_auto_bound.
5560	(gog_axis_editor): hide map combobox if axis is discrete.
5561	(gog_axis_view_render): use axis->ticks for rendering.
5562	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): use new map
5563	functions.
5564
55652004-07-22  Christopher James Lahey  <clahey@ximian.com>
5566
5567	* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
5568	ppt-parsing-helper.c and ppt-parsing-helper.h.
5569
5570	* libpresent/god-drawing-ms-client-handler-ppt.c: Handle
5571	TextBytesAtom and StyleTextPropAtom.
5572
5573	* libpresent/god-drawing-ms-client-handler-ppt.h: Added parameter
5574	fonts.
5575
5576	* libpresent/load-ppt.c: Moved StyleTextPropAtom parsing to
5577	ppt-parsing-helper.c.
5578
5579	* libpresent/ppt-parsing-helper.c,
5580	libpresent/ppt-parsing-helper.h: Moved StyleTextPropAtom parsing
5581	here.  Improved StyleTextPropAtom parsing.
5582
5583	* test/dump-ppt-records.c: Improved StyleTextPropAtom parsing.
5584
55852004-07-20  Christopher James Lahey  <clahey@ximian.com>
5586
5587	* libpresent/load-ppt.c (handle_atom), test/dump-ppt-records.c
5588	(handle_atom): Improved StyleTextPropAtom parsing.
5589
55902004-07-20  Christopher James Lahey  <clahey@ximian.com>
5591
5592	* libpresent/load-ppt.c (handle_atom): Missing NULL.
5593
55942004-07-20  Christopher James Lahey  <clahey@ximian.com>
5595
5596	* drawing/god-drawing-renderer-gdk.c (draw_text),
5597	drawing/god-paragraph-attributes.c,
5598	drawing/god-paragraph-attributes.h, libpresent/load-ppt.c: Support
5599	default paragraph attributes and support bullets and alignment.
5600
5601	* libpresent/present-view.c: Added space and backspace bindings
5602	(these don't work since the widget doesn't get focus.)
5603
5604	* test/dump-ppt-records.c (handle_atom): Handle TxMasterStyleAtom
5605	better.
5606
5607	* test/test-view-ppt.c: Added q and escape bindings.
5608
56092004-07-19  Jody Goldberg <jody@gnome.org>
5610
5611	* Release 1.3.1
5612
56132004-07-19  Jody Goldberg <jody@gnome.org>
5614
5615	* gui-utils/go-action-combo-pixmaps.c : switch from inline pixbufs to
5616	  stock ids.
5617
5618	* gui-utils/go-action-combo-color.c
5619	(go_action_combo_color_set_color):  implement
5620
56212004-07-13  Christopher James Lahey  <clahey@ximian.com>
5622
5623	* libpresent/load-ppt.c (handle_atom): Parse fonts.
5624
5625	* test/dump-ppt-records.c (handle_atom): Print a bunch of info
5626	about default attributes.
5627
56282004-07-12  Jody Goldberg <jody@gnome.org>
5629
5630	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_info_at_point) :
5631	  expand this to offer name and override creation.
5632
5633	* graph/gog-view.c (gog_view_info_at_point) :  expand this interface a
5634	  bit. I'm still not happy with it.
5635
5636	* graph/gog-series.c :  keep a sorted list of overrides in place
5637
5638	* graph/gog-plot.c (gog_plot_foreach_elem) :  handle point overrides
5639
5640	* graph/gog-object.c (gog_object_emit_changed) :  handle updates for
5641	  objects not yet connected to parents.
5642
56432004-07-11  Christopher James Lahey  <clahey@ximian.com>
5644
5645	* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
5646	god-default-attributes.c and god-default-attributes.h.
5647
5648	* drawing/god-default-attributes.c,
5649	drawing/god-default-attributes.h: Default pango and paragraph
5650	attributes per indent level.
5651
5652	* drawing/god-drawing-renderer-gdk.c: Handle default attributes.
5653	Rework character attributes.
5654
5655	* drawing/god-text-model.c, drawing/god-text-model.h: Added indent
5656	and default attributes concepts.
5657
5658	* libpresent/load-ppt.c (handle_atom): Parse TxMasterStyleAtom.
5659
5660	* libpresent/present-presentation.c,
5661	libpresent/present-presentation.h: Added a default default
5662	attributes object per text type.
5663
5664	* libpresent/present-text.c: Added a property to store a pointer
5665	to the main presentation object.
5666
5667	* test/dump-ppt-records.c: Parse TxMasterStyleAtom.
5668
56692004-07-08  Jody Goldberg <jody@gnome.org>
5670
5671	* graph/gog-guru.c (cb_canvas_select_item) : handle the zoom
5672
5673	* graph/gog-theme.c (gog_themes_init) : Add a global alias for
5674	  GogSeriesElement -> GogSeries
5675	(gog_theme_find_element) : Look up theme local and global aliases for
5676	  classes.
5677	(gog_theme_add_alias) : new.
5678
56792004-07-08  Jody Goldberg <jody@gnome.org>
5680
5681	* goffice.c (libgoffice_init) : Add SeriesElement to be pedantic
5682
56832004-07-06  Jody Goldberg <jody@gnome.org>
5684
5685	* graph/gog-graph.c (gog_graph_init) : apply theme style for graphs
5686	  to do a full init.
5687
56882004-07-04  Jody Goldberg <jody@gnome.org>
5689
5690	* graph/gog-styled-object.c (gog_styled_object_parent_changed) :
5691	    initialize the style completely using the theme when we have a
5692	    theme.
5693
56942004-07-04  Christopher James Lahey  <clahey@ximian.com>
5695
5696	* drawing/god-drawing-renderer-gdk.c (draw_text): Handle
5697	char_attributes.
5698
5699	* drawing/god-text-model.c, drawing/god-text-model.h
5700	(real_god_text_model_set_paragraph_attributes): Fixed up this
5701	function a bit.
5702	(real_god_text_model_set_pango_attributes): Implemented this
5703	function.  Changed it to take GList instead of PangoAttrList.
5704
5705	* libpresent/load-ppt.c (handle_atom): Implemented parsing
5706	character attributes.
5707
57082004-07-02  Jody Goldberg <jody@gnome.org>
5709
5710	* graph/gog-theme.c (map_area_series_solid_default) : simplify now
5711	  that we're just filling in the color no need to twiddle types
5712
5713	* graph/gog-style.c : rework GogStyle::fill share pattern:fore/back
5714	and gradient:start/end.
5715	merge all the different auto flags.
5716	initialize the gradient brightness to -1 to avoid starting with black
5717	Change fill from union to struct to simplify changing fill types
5718	Allow themed gradient fills
5719
57202004-06-30  Christopher James Lahey  <clahey@ximian.com>
5721
5722	* drawing/god-text-model.c
5723	(real_god_text_model_set_paragraph_attributes): Oh yeah, the
5724	character count should increase as you iterate through the
5725	paragraph.
5726
5727	* libpresent/load-ppt.c (handle_atom): Pass in the position in the
5728	text instead of the position in the file.  That might be a good
5729	idea.
5730
57312004-06-29  Christopher James Lahey  <clahey@ximian.com>
5732
5733	* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
5734	god-paragraph-attributes.c and god-paragraph-attributes.h.
5735
5736	* drawing/god-drawing-renderer-gdk.c (draw_text): Draw each
5737	paragraph separately with some paragraph formatting.
5738
5739	* drawing/god-paragraph-attributes.c,
5740	drawing/god-paragraph-attributes.h: New file to handle attributes
5741	of a paragraph.
5742
5743	* drawing/god-text-model.c, drawing/god-text-model.h: Store as a
5744	list of paragraphs.  Store some formatting information.
5745
5746	* libpresent/load-ppt.c: Load some of the paragraph formatting
5747	from ppt.
5748
5749	* test/dump-ppt-records: Attempted to parse BaseTextPropAtom.
5750
5751	* test/test-view-ppt.c (main): Fullscreen the window.
5752
57532004-06-23  Jean Brefort  <jean.brefort@ac-dijon.fr>
5754
5755	* Makefile.am: Added cut-n-paste subdir.
5756	* cut-n-paste/Makefile.am: New file.
5757	* cut-n-paste/pcre/Makefile.am: pcre tree moved from gnumeric.
5758	* cut-n-paste/pcre/get.c: (pcre_get_stringnumber),
5759	(pcre_copy_substring), (pcre_copy_named_substring),
5760	(pcre_get_substring_list), (pcre_free_substring_list),
5761	(pcre_get_substring), (pcre_get_named_substring),
5762	(pcre_free_substring): ditto, changed gnumeric_* to go_*
5763	* cut-n-paste/pcre/internal.h: ditto.
5764	* cut-n-paste/pcre/maketables.c: (pcre_maketables): ditto.
5765	* cut-n-paste/pcre/pcre.c: (make_pcre_default_tables), (ord2utf8),
5766	(pcre_version), (pcre_info), (pcre_fullinfo), (pcre_config),
5767	(pchars), (check_escape), (is_counted_repeat),
5768	(read_repeat_counts), (first_significant_code), (find_fixedlength),
5769	(find_bracket), (find_recurse), (could_be_empty_branch),
5770	(could_be_empty), (check_posix_syntax), (check_posix_name),
5771	(adjust_recurse), (compile_branch), (compile_regex), (is_anchored),
5772	(is_startline), (find_firstassertedchar), (valid_utf8),
5773	(pcre_compile), (match_ref), (match_xclass), (match), (pcre_exec):
5774	* cut-n-paste/pcre/pcre.h: ditto.
5775	* cut-n-paste/pcre/pcreposix.c: (pcre_posix_error_code),
5776	(go_regerror), (go_regfree), (go_regcomp), (go_regexec):
5777	* cut-n-paste/pcre/pcreposix.h: ditto.
5778	* cut-n-paste/pcre/printint.c: (print_char), (print_internals): ditto.
5779	* cut-n-paste/pcre/study.c: (set_bit), (set_start_bits),
5780	(pcre_study): ditto.
5781	* goffice.c: (libgoffice_init): Added call to go_math_init.
5782	* graph/go-data-simple.c: (go_data_scalar_str_get_value),
5783	(go_data_vector_str_get_value),
5784	(go_data_vector_str_set_translation_domain): use new go_nan and functions in utils/go-math.*
5785	* graph/go-data.c: (go_data_vector_get_value): ditto.
5786	* graph/gog-axis.c: (gog_axis_get_entry), (gog_axis_update),
5787	(cb_enable_dim), (cb_axis_bound_changed), (gog_axis_get_bounds),
5788	(gog_axis_num_markers), (gog_axis_view_render): ditto.
5789	* graph/gog-error-bar.c: (gog_error_bar_get_bounds): ditto.
5790	* graph/gog-plot.c: (gog_plot_get_axis_bounds): ditto.
5791	* graph/plugins/plot_barcol/gog-1.5d.c:
5792	(gog_plot1_5d_axis_get_bounds): ditto.
5793	* graph/plugins/plot_barcol/gog-barcol.c:
5794	(gog_barcol_update_stacked_and_percentage),
5795	(gog_barcol_view_render): ditto.
5796	* graph/plugins/plot_barcol/gog-line.c:
5797	(gog_line_update_stacked_and_percentage), (gog_line_view_render): ditto.
5798	* graph/plugins/plot_pie/gog-pie.c: (gog_pie_view_render),
5799	(gog_pie_series_update): ditto.
5800	* graph/plugins/plot_radar/gog-radar.c:
5801	(gog_radar_plot_axis_get_bounds), (gog_radar_view_render):
5802	* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update),
5803	(gog_2d_plot_axis_get_bounds), (gog_xy_view_render): ditto.
5804	* utils/go-marker.c: ditto.
5805	* utils/Makefile.am: Added go_math.[c,h]
5806	* utils/go-math.c: (go_math_init), (go_add_epsilon),
5807	(go_sub_epsilon), (go_fake_floor), (go_fake_trunc): imported from gnumeric.
5808	* utils/go-math.h: ditto.
5809
58102004-06-20  Jody Goldberg <jody@gnome.org>
5811
5812	* graph/gog-axis.c (gog_axis_view_render) : Ensure that the line
5813	  extends out far enough for the first and last tick.
5814
5815	* graph/gog-theme.c (map_area_series_solid_default) : honour the new
5816	  disable_theming flag.
5817	* graph/gog-style.c (gog_style_is_completely_auto) : new.
5818
58192004-06-16  Morten Welinder  <terra@gnome.org>
5820
5821	* utils/go-file.c (go_filename_to_uri): Handle "//" and "/./"
5822	parts in filenames.
5823
5824	* graph/gog-style.c (cb_image_file_select): Handle change in
5825	gui_image_file_select's signature.  (Barely.)
5826
5827	* utils/go-file.c (go_file_create): New function.
5828
58292004-06-15  Morten Welinder  <terra@gnome.org>
5830
5831	* utils/go-file.c (go_basename_from_uri): Better WITH_GNOME
5832	implementation that handles fragments and methods.
5833
58342004-06-13  Jody Goldberg <jody@gnome.org>
5835
5836	* graph/plugins/plot_barcol/gog-1.5d.c : tack on a placeholder 'in_3d'
5837	  attribute to simplify roundtripping for xls.
5838
58392004-06-11  Morten Welinder  <terra@gnome.org>
5840
5841	* utils/go-file.c: New file.
5842
58432004-06-11  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5844
5845	* graph/gog-axis-prefs.glade : add a combobox for map selection.
5846	* graph/gog-axis.c : add a map description structure. remove log_scale
5847	boolean property of GogAxis, and add a new named map property.
5848	(map_init_linear),
5849	(map_linear),
5850	(map_init_log),
5851	(map_log),
5852	(gog_axis_map_set_by_num),
5853	(gog_axis_map_populate_combo),
5854	(gog_axis_map_set),
5855	(gog_axis_map_init),
5856	(gog_axis_map),
5857	(gog_axis_map_destroy) : new.
5858	(gog_axis_editor) : handle map combobox.
5859	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : use map
5860	functions.
5861
58622004-06-05  Jody Goldberg <jody@gnome.org>
5863
5864	* graph/gog-axis.c (gog_axis_get_entry) : add some protection now that
5865	  this is public.
5866	  (gog_axis_is_discrete) : ditto.
5867
5868	* graph/gog-style.c : add sax exporters
5869	* graph/gog-error-bar.c : ditto
5870
5871	* graph/gog-object-xml.h : s/GogPersistDOM/GogPersist
5872	* graph/gog-object-xml.c : add sax exporters
5873	  (go_xml_out_add_color) : new.
5874
5875	* utils/go-font.c : Added some conditional leak debug tools
5876
58772004-06-01  Morten Welinder  <terra@gnome.org>
5878
5879	* gui-utils/go-combo-text.c (go_combo_text_set_text): Plug leak.
5880
58812004-05-31  Jody Goldberg <jody@gnome.org>
5882
5883	* graph/gog-view.c (gog_view_find_child_view) : new
5884
58852004-05-31  Jody Goldberg <jody@gnome.org>
5886
5887	* graph/gog-series.c (gog_series_get_plot) : new.
5888
5889	* graph/gog-axis.c (gog_axis_get_entry) : rename from axis_get_entry
5890	  and make public.
5891
58922004-05-24  Jody Goldberg <jody@gnome.org>
5893
5894	* graph/go-data-simple.c (go_data_vector_str_get_str) : enable the
5895	  translation mechanism
5896
58972004-05-26  Jean Brefort  <jean.brefort@ac-dijon.fr>
5898
5899	* gui-utils/Makefile.am: added go-combo-text.h
5900	* gui-utils/go-action-combo-text.c: (cb_entry_changed),
5901	(go_action_combo_create_tool_item),
5902	(go_action_combo_text_set_entry):
5903	* gui-utils/go-combo-text.h: was gnumeric-combo-text.h
5904	* gui-utils/go-combo-text.c: was gnumeric-combo-text.c,
5905	replaced GtkList by GtkTreeView
5906	* gui-utils/go-marshalers.list: added BOOLEAN:POINTER
5907
59082004-05-23  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5909
5910	* graph/gog-chart.c (gog_chart_view_class_init) : set call_parent_render
5911	to FALSE.
5912	* graph/gog-outlined-object.c (gog_outlined_view_render) : call parent
5913	render method only if call_parent_render is TRUE;
5914	(gog_outlined_view_class_init) : set call_parent_render to TRUE;
5915	* graph/gog-outlined-object.h : add a call_parent_render boolean.
5916
59172004-05-20  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5918
5919	http://bugzilla.gnome.org/show_bug.cgi?id=142212
5920	* graph/plugins/plot-barcol/gog-line.c (gog_line_view_render) : don't
5921	use '0' if Y value is missing.
5922
59232004-05-13  Jody Goldberg <jody@gnome.org>
5924
5925	* graph/gog-renderer-svg.c (gog_renderer_svg_measure_text) : use
5926	  logical rather than ink extents.
5927	(gog_renderer_pixbuf_draw_text) : ditto.
5928	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : ditto.
5929	(gog_renderer_pixbuf_draw_text) : ditto.
5930
5931	* graph/gog-axis.c (gog_axis_view_size_request) : tick labels for
5932	  discrete axes are below the line not the major tick marks.
5933	(gog_axis_view_render) : ditto
5934
5935	* graph/gog-renderer-svg.c (make_layout) : cache the context.
5936	(gog_renderer_pixbuf_finalize) : unref cached contexts.
5937	(gog_renderer_pixbuf_class_init) : connect the new finalize.
5938
5939	* graph/gog-style.c (gog_style_is_different_size) : line width change
5940	  for axis changes size.
5941
5942	* graph/gog-axis.c (gog_axis_view_render) : don't allocate size for
5943	  ticks if the lines are invisible.
5944
5945	* graph/gog-plot.c (gog_plot_get_axis_bounds) : add some safety.
5946          This will be called for things like a pie when adding one while
5947	  something with an still exists.
5948
5949	* graph/gog-guru.c (cb_attr_tree_selection_change) : be more forgiving
5950	  about when a user can go back to select a plot.  If there is only
5951	  one chart, or one plot things are unambiguous.
5952
5953	* drawing/god-property-table.h : sync with the extensions in the xls
5954	  importer to handle gradients and richtext.
5955
5956	* drawing/god-property-table.c (god_property_table_get_markup) : new.
5957	(god_property_table_set_markup) : ditto.
5958
59592004-05-11  Jean Brefort  <jean.brefort@ac-dijon.fr>
5960
5961	* graph/gog-renderer-pixbuf.c: (make_layout),
5962	(gog_renderer_pixbuf_update): replaced deprecated pango_ft2_get_context.
5963	* graph/gog-renderer-svg.c: (make_layout): ditto.
5964	* graph/gog-style-prefs.glade: replaced GtkOptionMenu by GtkComboBox.
5965	* graph/gog-style.c: (cb_gradient_style_changed),
5966	(fill_gradient_init), (cb_image_style_changed), (fill_image_init),
5967	(cb_fill_type_changed), (fill_init): ditto.
5968
59692004-05-10  Jody Goldberg <jody@gnome.org>
5970
5971	* graph/gog-plot.c (gog_plot_foreach_elem) : pass the index of the
5972	  iteration, not the absolute for has-legend situations
5973
5974	* graph/gog-series.c (gog_series_set_property) : update cardinality if
5975	  has-legend changes.
5976	(gog_series_editor) : Add a quick 'show in legend' toggle
5977
59782004-05-07  Jody Goldberg <jody@gnome.org>
5979
5980	* graph/gog-theme.c (gog_themes_init) : sync the default theme with
5981	  XL's notion of things so that we do not theme away auto settings on
5982	  import.  Specificly Give chart's the background and make graph
5983	  empty.
5984
5985	*  */Makefile.am : use goffice.mk for include paths
5986
59872004-05-03  Jody Goldberg <jody@gnome.org>
5988
5989	http://bugzilla.gnome.org/show_bug.cgi?id=136363
5990	* graph/gog-style.c (gog_style_apply_theme) : Do not theme the fonts
5991	  it over rides the user selection because there is no 'auto' flag.
5992
59932004-05-06  Morten Welinder  <terra@gnome.org>
5994
5995	* utils/go-gradient.c (go_gradient_dir_from_str,
5996	go_gradient_dir_as_str): Use G_N_ELEMENTS.
5997	(grad_dir_names[]): Constify.
5998	(go_gradient_selector): Eliminate elements table.
5999
60002004-04-29  Jody Goldberg <jody@gnome.org>
6001
6002	http://bugzilla.gnome.org/show_bug.cgi?id=141405
6003	* drawing/god-drawing-renderer-gdk.c
6004	(god_drawing_renderer_gdk_render_shape) : explicitly set alignment for
6005	  now.  Set layout bounds so that we wrap.
6006
60072004-04-19  Jody Goldberg <jody@gnome.org>
6008
6009	http://bugzilla.gnome.org/show_bug.cgi?id=127411
6010	* graph/gog-chart.c (gog_chart_view_render) : render the style.
6011
60122004-04-17  Jody Goldberg <jody@gnome.org>
6013
6014	* graph/plugins/plot_xy/gog-xy.c (gog_bubble_plot_class_init) : Do not
6015	  replicate ms dim types.  That breaks xls import.
6016	(gog_xy_plot_class_init) : ditto.
6017	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_class_init) : ditto
6018
60192004-04-15  Morten Welinder  <terra@gnome.org>
6020
6021	* graph/gog-error-bar.c (gog_error_bar_prefs): Look for pixmaps in
6022	the right directory.
6023
60242004-04-08  Jean Brefort  <jean.brefort@ac-dijon.fr>
6025
6026	* graph/plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
6027	(gog_plot1_5d_axis_get_bounds), (gog_plot1_5d_class_init),
6028	(gog_series1_5d_set_property), (gog_series1_5d_get_property),
6029	(gog_series1_5d_populate_editor), (gog_series1_5d_class_init),
6030	(gog_series1_5d_init): Add error bars support.
6031	* graph/plugins/plot_barcol/gog-1.5d.h: ditto.
6032	* graph/plugins/plot_barcol/gog-barcol.c: ditto.
6033	(gog_barcol_update_stacked_and_percentage),
6034	(gog_barcol_view_render): ditto.
6035	* graph/plugins/plot_barcol/gog-line.c: ditto.
6036	(gog_line_update_stacked_and_percentage), (gog_line_view_render): ditto.
6037	* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update): use gog_error_bar_is_visible instead
6038	of detailed tests.
6039
60402004-04-05  Jody Goldberg <jody@gnome.org>
6041
6042	http://bugzilla.gnome.org/show_bug.cgi?id=139205
6043	* gui-utils/go-action-combo-stack.c
6044	(go_action_combo_stack_create_menu_item) : There's no reason to set a
6045	  default label not only was it ugly, but it disabled the nice utility
6046	  code in GtkAction::connect_proxy that would set 'use_underline' for us
6047
60482004-03-30  Jody Goldberg <jody@gnome.org>
6049
6050	http://bugzilla.gnome.org/show_bug.cgi?id=138532
6051	* graph/plugins/plot_radar/gog-radar.c (gog_radar_plot_update) : don't
6052	  use an invalid series for anything.
6053
60542004-03-28  Jody Goldberg <jody@gnome.org>
6055
6056	* Release 1.3.0
6057
60582004-03-26  Christopher James Lahey  <clahey@ximian.com>
6059
6060	* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
6061	god-drawing-renderer-gdk.c, god-drawing-renderer-gdk.h,
6062	god-drawing-view.c, and god-drawing-view.h.
6063
6064	* drawing/god-drawing-renderer-gdk.c,
6065	drawing/god-drawing-renderer-gdk.h: New class.  Renders a drawing
6066	to a gdk drawable.
6067
6068	* drawing/god-drawing-view.c, god-drawing-view.h: New class.
6069	Widget to display a drawing.
6070
6071	* drawing/god-drawing.c, drawing/god-drawing.h: Added a background
6072	shape.
6073
6074	* drawing/god-image.c: Call gdk_pixbuf_loader_close.
6075
6076	* drawing/god-property-table.c, drawing/god-property-table.h:
6077	Added length type and fixed up flag type.  Added a bunch of types.
6078
6079	* drawing/god-shape.c: Allow a NULL anchor.
6080
6081	* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
6082	present-view.c and present-view.h.
6083
6084	* libpresent/load-ppt.c: Handle the DocumentAtom.
6085
6086	* libpresent/present-presentation.c,
6087	libpresent/present-presentation.h: Added extents and notes_extents
6088	fields.
6089
6090	* libpresent/present-view.c, libpresent/present-view.h: New class.
6091	Widget to display a presentation.
6092
6093	* ms-compat/god-image-ms.c: Added a bunch of EscherOPT fields.
6094	Handle the patriarch and background shapes more cleanly.
6095
6096	* test/.cvsignore: Added test-view-ppt.
6097
6098	* test/Makefile.am (test_view_ppt_SOURCES): Added test-view-ppt.c.
6099
6100	* test/test-ppt.c: Handle the separate patriarch and background
6101	shapes.
6102
6103	* test/test-view-ppt.c: New Class.  Tests present-view.c.
6104
6105	* utils/go-units.h: Added new unit EMU.  (360000 EMUs per
6106	centimeter, 914400 EMUs per inch, 12700 EMUs per point.)
6107
61082004-03-22  Christopher James Lahey  <clahey@ximian.com>
6109
6110	* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
6111	god-image.c, god-image.h, god-image-store.c, and
6112	god-image-store.h.
6113
6114	* drawing/god-drawing-group.c, drawing/god-drawing-group.h: Added
6115	an image store to the drawing group.  Implemented
6116	god_drawing_group_new.
6117
6118	* drawing/god-drawing.c, drawing/god-drawing.h: Gave each drawing
6119	a link to its drawing group.
6120
6121	* drawing/god-image-store.c, drawing/god-image-store.h: New class.
6122	An array of images.
6123
6124	* drawing/god-image.c, drawing/god-image.h: An image or a
6125	placeholder for an image.  Includes the original data as well as a
6126	loaded pixbuf.
6127
6128	* libpresent/load-ppt.c: Actually store the drawings in the slides
6129	and the drawing groups in the presentations.  Load the pictures
6130	into the drawing group.
6131
6132	* libpresent/present-presentation.c,
6133	libpresent/present-presentation.h: Added a drawing group here.
6134
6135	* libpresent/present-slide.c, libpresent/present-slide.h: Added a
6136	drawing here.
6137
6138	* ms-compat/Makefile.am (libgoffice_ms_compat_la_SOURCES): Added
6139	god-image-ms.c and god-image-ms.h.
6140
6141	* ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h: Actually
6142	do drawing group loads and load up the image store as we go.
6143	Added a function to handle parsing of images not in the main
6144	Escher stream.
6145
6146	* ms-compat/god-image-ms.c, ms-compat/god-image-ms.h: New class.
6147	Just a god_image with a hash that's used at load time.
6148
6149	* test/test-ppt.c: Moved dumping the Drawings here since they're
6150	included in the slides now so it makes more sense to dump them
6151	here than in load-ppt.c.
6152
61532004-03-22  Morten Welinder  <terra@gnome.org>
6154
6155	* libpresent/load-ppt.c (handle_atom): The usual fix.
6156
61572004-03-21  Christopher James Lahey  <clahey@ximian.com>
6158
6159	* ms-compat/god-drawing-ms.c (handle_atom),
6160	test/dump-ppt-records.c (handle_atom): Moved some of the debugging
6161	stuff from god-drawing-ms to dump-ppt-records.
6162
61632004-03-20  Christopher James Lahey  <clahey@ximian.com>
6164
6165	* drawing/god-anchor.c (god_anchor_finalize),
6166	ms-compat/god-drawing-ms-client-handler.c
6167	(god_drawing_ms_client_handler_finalize): Chain the finalize
6168	function.
6169
6170	* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
6171	present-presentation.c, present-presentation.h, present-slide.c,
6172	present-slide.h, present-text.c, present-text.h.
6173
6174	* libpresent/god-drawing-ms-client-handler-ppt.c,
6175	libpresent/god-drawing-ms-client-handler-ppt.h: Add a PresentSlide
6176	so that we can parse OutlineTextRefAtom and link it up to the
6177	outline.
6178
6179	* libpresent/load-ppt.c, libpresent/load-ppt.h: Changed it to use
6180	PresentPresentation.  Pass a PresentSlide into the client_handler
6181	if the PPDrawing is a child of a Slide.
6182
6183	* libpresent/present-presentation.c,
6184	libpresent/present-presentation.h, libpresent/present-slide.c,
6185	libpresent/present-slide.h, libpresent/present-text.c,
6186	libpresent/present-text.h: New classes.  A presentation, a slide,
6187	and a piece of text on a slide.
6188
6189	* test/test-ppt.c: Changed this to use PresentPresentation.
6190
61912004-03-19  Christopher James Lahey  <clahey@ximian.com>
6192
6193	* libpresent/god-drawing-ms-client-handler-ppt.c
6194	(god_drawing_ms_client_handler_ppt_handle_client_text): Handles
6195	simple cases with text inside of a shape in Escher.
6196
6197	* libpresent/load-ppt.c (dump_shape): Print text if there is any.
6198
6199	* ms-compat/go-ms-parser.c (go_ms_parser_read): Only read the data
6200	if there's a handler.
6201
6202	* ms-compat/god-drawing-ms-client-handler.c,
6203	ms-compat/god-drawing-ms-client-handler.h: Make it so subclasses
6204	can specify whether they want the super class to read the data
6205	from the input stream.
6206
6207	* ms-compat/god-drawing-ms.c (handle_atom): Handle
6208	EscherClientTextbox by calling the client handler.
6209
62102004-03-18  Christopher James Lahey  <clahey@ximian.com>
6211
6212	* ms-compat/go-ms-parser.c, ms-compat/go-ms-parser.h
6213	(go_ms_parser_read): Included the record type as a field in the
6214	record structure.
6215
6216	* test/.cvsignore, test/Makefile.am: Added dump-ppt-records.
6217
6218	* test/dump-ppt-records.c: New test app to list all the records in
6219	a ppt file.
6220
62212004-03-18  Christopher James Lahey  <clahey@ximian.com>
6222
6223	* drawing/god-shape.c, drawing/god-shape.h: Each shape has an
6224	anchor.  Added functions to get the children of a shape.
6225
6226	* graph/gog-legend.c (gog_legend_init),
6227	graph/gog-outlined-object.c (gog_outlined_object_init),
6228	graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update),
6229	graph/gog-renderer-svg.c (make_layout), graph/gog-renderer.c
6230	(gog_renderer_init): Cast to double before calling
6231	GO_.._TO_.. unit conversion functions.
6232
6233	* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
6234	god-drawing-ms-client-handler-ppt.c and
6235	god-drawing-ms-client-handler-ppt.h.
6236
6237	* libpresent/god-drawing-ms-client-handler-ppt.c,
6238	libpresent/god-drawing-ms-client-handler-ppt.h: New class.
6239	Handles client functions for PPT.
6240
6241	* libpresent/load-ppt.c: Added #include <gnumeric-config.h>.
6242	Created a GodDrawingMsClientHandlerPpt for use in parsing.  Added
6243	code to dump the Escher drawing for testing purposes.
6244
6245	* ms-compat/Makefile.am (libgoffice_ms_compat_la_SOURCES): Added
6246	god-drawing-ms-client-handler.c and
6247	god-drawing-ms-client-handler.h.
6248
6249	* ms-compat/god-drawing-ms-client-handler.c,
6250	ms-compat/god-drawing-ms-client-handler.h: New class.  Allows
6251	Escher parser to let the host application handle Client records.
6252
6253	* ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h: Use
6254	GodDrawingMsClientHandler to parse EscherClientAnchor records.
6255
6256	* test/.cvsignore: Ignore test-ppt.
6257
6258	* test/test-ppt.c: Fixed include here.  Added #include
6259	<gnumeric-config.h>
6260
6261	* utils/go-unit.h: Changed these to use the math in whatever type
6262	the input is.  If you pass a double, it uses double math.  If you
6263	pass an integer type, it uses integer math.
6264
62652004-03-18  Morten Welinder  <terra@gnome.org>
6266
6267	* libpresent/*.h: Add header guards.
6268
62692004-03-16  Christopher James Lahey  <clahey@ximian.com>
6270
6271	* Makefile.am (SUBDIRS): Added libpresent and test.
6272
6273	* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
6274	god-anchor.c and god-anchor.h.
6275
6276	* drawing/Makefile.am, drawing/god-drawing-group.c,
6277	drawing/god-drawing.c, drawing/god-drawing.h,
6278	drawing/god-property-table.c, drawing/god-shape.c,
6279	drawing/god-shape.h, drawing/god-text-model.c,
6280	ms-compat/Makefile.am, ms-compat/go-ms-parser.c,
6281	ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h:
6282	Standardized #include lines.
6283
6284	* utils/go-units.h: Added an underlying unit and added a type for
6285	storing lengths.  Added point and rect types.
6286
62872004-03-16  Morten Welinder  <terra@gnome.org>
6288
6289	* graph/gog-error-bar-prefs.glade: Don't start visible.
6290
62912004-03-16  Morten Welinder  <terra@gnome.org>
6292
6293	* graph/gog-error-bar.c (gog_error_bar_persist_dom_save): Constify
6294	and avoid errors.
6295
6296	* graph/gog-graph.c (gog_graph_validate_chart_layout): Initialize
6297	graph.
6298
6299	* drawing/god-property-table.c (god_property_table_finalize): Chain up.
6300	* drawing/god-shape.c (god_shape_dispose): Chain up.
6301	* drawing/god-text-model.c (god_text_model_finalize): Chain up.
6302	* drawing/god-drawing-group.c (god_drawing_group_finalize): Chain
6303	up.
6304
6305	* gui-utils/go-action-combo-text.c
6306	(go_tool_combo_text_finalize): Add dummy chain.
6307
6308	* graph/plugins/plot_xy/gog-xy.c (gog_2d_plot_update): Initialize
6309	series.
6310	(gog_xy_series_finalize, gog_2d_finalize): Skip pointless tests.
6311
63122004-03-16  Jean Brefort  <jean.brefort@ac-dijon.fr>
6313
6314	* Makefile.am: restore data subdir
6315	* data/Makefile.am: add error bars icons
6316	*data/bar-*.png: new icons for error bars editor.
6317	* goffice.c: (libgoffice_init): add GOD_ERROR_BAR_TYPE
6318	* graph/Makefile.am: add gog-error-bar.*
6319	* graph/goffice-graph.h: add GogErrorBar struct
6320	* graph/gog-object-xml.c: (gog_object_write_property):
6321	set success to FLASE when the object does not exist.
6322	* graph/gog-series-impl.h: add populate_editor in GogSeriesClass
6323	* graph/gog-series.c: (gog_series_editor): add pages for error bars.
6324	* graph/gog-error-bar-prefs.glade:
6325	* graph/gog-error-bar.[c,h]: new files.
6326	* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update),
6327	(gog_xy_plot_class_init), (gog_bubble_plot_class_init),
6328	(gog_xy_view_render), (gog_xy_series_init),
6329	(gog_xy_series_finalize), (gog_xy_series_set_property),
6330	(gog_xy_series_get_property), (gog_xy_series_populate_editor),
6331	(gog_xy_series_class_init): add support for error bars.
6332
63332004-03-15  Morten Welinder  <terra@gnome.org>
6334
6335	* gui-utils/go-combo-box.c (go_combo_box_destroy): Plug leaks.
6336
63372004-03-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6338
6339	http://bugzilla.gnome.org/show_bug.cgi?id=135621
6340	* graph/gog-axis.c (gog_axis_render) : fix rounding issue.
6341
63422004-03-07  Jody Goldberg <jody@gnome.org>
6343
6344	* graph/plugins/plot_radar/gog-radar.c (gog_radar_plot_type_name) :
6345	  remove the starting angle pref.  That is better handled by the axis.
6346
63472004-03-13  Jean Brefort  <jean.brefort@ac-dijon.fr>
6348
6349	* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
6350	(gog_xy_series_update), (gog_xy_series_init_style): fixed tests about bubble plots.
6351
63522004-03-13  Christopher James Lahey  <clahey@ximian.com>
6353
6354	* Makefile.am (SUBDIRS): Added drawing and ms-compat.
6355	(libgoffice_la_LIBADD): Added drawing/libgoffice-drawing.la and
6356	ms-compat/libgoffice/ms-compat.la.
6357
63582004-03-12  Morten Welinder  <terra@gnome.org>
6359
6360	* graph/gog-series.c (gog_series_element_class_init): Apply the
6361	usual fix.
6362
63632004-03-11  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6364
6365	* graph/plugins/plot_xy/gog-xy.c : draw markers when they are in plot
6366	area and a margin half marker size wide (partly fix 135621).
6367
63682004-03-09  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6369
6370	* graph/gog-object.c : make use_parent_as_proxy a class property
6371	instead of an instance one.
6372	* graph/gog-style.c : defines a new GogStyledObject derived
6373	GogSeriesElement object for storing of single element style overrides.
6374	(gog_series_class_init) : declares a new GogObjectRole for use of
6375	GogSeriesElement objects. Set use_parent_as_proxy as true.
6376	(gog_series_get_elements) : returns the GList of GogSeriesElement
6377	children of GogSeries.
6378	(gog_series_get_valid_element_index) : returns the next or previous
6379	index which is not already used by a GogSeriesElement children of
6380	GogSeries.
6381	* graph/gog-style.c : remove unused implementation of
6382	GogStyleExtension and old gog_series_element_style code.
6383	(gog_style_editor) : remove code related to GogStyleExtension.
6384	(gog_style_assing) : idem.
6385	(gog_style_persist_dom_load) : idem.
6386	(gog_style_persist_dom_save) : idem.
6387	* graph/gog-syled-object.c (gog_styled_object_set_property) : use of
6388	gog_styled_object_set_style.
6389	(gog_styled_object_set_style)  : new.
6390	* graph/plugins/plot_pie/gog-pie-series-element-prefs.glade : new.
6391	* graph/plugins/plot_pie/gog-pie-prefs.c (gog_pie_series_element_pref)
6392	: new.
6393	* graph/plugins/plot_pie/gog-pie.c : define a new GogSeriesElement
6394	derived GogPieSeriesElement object for storage of separation and style
6395	of single elements.
6396	(gog_pie_view_render) : handle single element style overrides.
6397	* graph/plugins/plot_pie/gog-ring-prefs.glade : fix climb_rate, digits
6398	and adjustment properties of the separation spin_button.
6399
64002004-03-03  Jody Goldberg <jody@gnome.org>
6401
6402	http://bugzilla.gnome.org/show_bug.cgi?id=136088
6403	* graph/gog-object-xml.c (gog_object_write_property) : Add a
6404	  GOG_PARAM_FORCE_SAVE to save a parameter even if the value is the
6405	  same as the default.
6406	* graph/gog-plot.c (gog_plot_class_init) : Use it here to always store
6407	  the vary_style_by_element property.
6408
64092004-02-27  Jody Goldberg <jody@gnome.org>
6410
6411	* graph/gog-theme.c (map_area_series_solid_default) : don't set colors
6412	  for image fills.
6413	(map_area_series_solid_guppi) : ditto.
6414
64152004-02-23  Jody Goldberg <jody@gnome.org>
6416
6417	* graph/plugins/plot_radar/gog-radar.c : use
6418	  'default-style-has-markers' rather than 'markers' to be consistent.
6419	(gog_radar_plot_update) : store the minima and maxima from all the
6420	  series.
6421	(gog_radar_plot_axis_get_bounds) : renamed from gog_radar_plot_axis_bounds
6422	  for consistency.  Set the bounds for a radial axis more generally.
6423	  We want the outbound to be hard (unscaled) and the inner rounded.
6424
64252004-02-22  Jody Goldberg <jody@gnome.org>
6426
6427	* graph/gog-chart.c (gog_chart_view_size_allocate) : only position th
6428	  axis, not all the children.
6429
6430	* graph/plugins/plot_radar/gog-radar.c
6431	(gog_radar_view_render_series) : Just alloca the max numbr of points
6432	  aka model::num_elements, and don't free alloca-ed memory.
6433
64342004-02-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6435
6436	* graph/plugins/plot_radar/gog-radar.c
6437	(gog_plot_radar_render_series) : use g_new instead of g_alloca for
6438	allocation of path.
6439
64402004-02-21  Jody Goldberg <jody@gnome.org>
6441
6442	* utils/go-locale.c : Some cut-n-paste for the without_gnome case
6443
6444	* gui-utils/go-action-combo-text.c : some initial implementation
6445
6446	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_foreach_elem) :
6447	  handle mismatched numbers of elements and labels.
6448	(gog_pie_view_render) : take the outline into account when sizing.
6449
6450	* graph/gog-style.h : add weak notion of centered image.  This needs
6451	  to be stronger to specify alignement.
6452
6453	* graph/gog-style.c (gog_style_set_fill_image_filename) : new.
6454	(cb_image_file_select) : Use it.
6455
6456	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) :
6457	supported centered images.
6458
6459	* graph/gog-renderer-gnome-print.c
6460	(gog_renderer_gnome_print_draw_polygon) : support centered images.
6461
6462	* graph/gog-object.c (gog_object_get_children) : add a filter parm.
6463	(gog_object_get_child_by_role) : new utility routine.
6464
6465	* graph/gog-legend.c (gog_legend_update) : set up the editor properly
6466	  for fonts.
6467
6468	* graph/gog-graph.c (gog_graph_view_size_allocate) : typo.  Only
6469	  effected manually created plots
6470
6471	* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : make
6472	  more resistent to out of memory situations.
6473
6474	* graph/go-data-simple.c : Add some quick and dirty constant vectors
6475	  for double [], and char const *[].  These could certainly be more
6476	  robust.
6477
6478	From Michael Devine <mdevine@cs.stanford.edu> :
6479	* graph/goffice-graph.h : Add a first pass at 'radar' plots
6480	* graph/gog-axis.c : ditto.
6481	* goffice/graph/gog-chart.c : ditto
6482
64832004-02-13  Morten Welinder  <terra@gnome.org>
6484
6485	* graph/gog-style.c (gog_style_extension_editor): Fix declaration
6486	and check order.
6487
64882004-02-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6489
6490	* graph/gog-style.[ch] : new GogStyleExtension object.
6491	(gog_style_assign) : handle extension.
6492	(gog_style_editor) : shows extension editor if it exists.
6493	(gog_style_get_extension) : new.
6494	(gog_style_set_extension) : new.
6495	* graph/gog-series : add a new style_extension_type field in
6496	GogSeriesDesc, and use it in gog_series_init_style.
6497
64982004-02-09  Morten Welinder  <terra@gnome.org>
6499
6500	* graph/plugins/plot_xy/gog-bubble-prefs.glade: Do not start
6501	visible.
6502
65032004-02-09  Jean Brefort  <jean.brefort@ac-dijon.fr>
6504
6505	* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render): replaced
6506	test series.num_dim == 3 by GOG_IS_BUBBLE_PLOT
6507	* graph/plugins/plot_xy/gog-xy.h: fixed GOG_IS_BUBBLE_PLOT
6508
65092004-02-04  Jody Goldberg <jody@gnome.org>
6510
6511	* gui-utils/go-color-palette.c (cb_menu_custom_activate) : don't show
6512	  until after the signal in case a handler is marking the dialog as a
6513	  transient.
6514	(cb_combo_custom_clicked) : ditto.
6515
65162004-02-02  Jean Brefort  <jean.brefort@ac-dijon.fr>
6517
6518	* graph/plugins/plot_xy/gog-xy.c: fixed several warnings
6519
65202004-02-02  Jody Goldberg <jody@gnome.org>
6521
6522	* gui-utils/go-combo-color.c (cb_preview_clicked) : return the real
6523	  is_custom state.
6524
6525	* gui-utils/go-color-palette.c (handle_color_sel) : simplify and just
6526	  return the color caller can emit the signal, and store the new
6527	  colour.
6528	(cb_combo_custom_response) : store results.
6529	(cb_menu_default_activate) : ditto.
6530	(cb_menu_color_activate) : ditto.
6531	(cb_menu_custom_response) : ditto.
6532	(set_color) : store when something is a custom of default.
6533	(go_color_palette_get_current_color) : return a flag indicating if
6534	  this is custom.
6535
65362004-02-01  Jody Goldberg <jody@gnome.org>
6537
6538	* gui-utils/go-color-palette.c (handle_color_sel) : destroy before we
6539	  emit in case the custom dialog handler played with the wrapper
6540	  actions (eg desensitized them)
6541
6542	* gui-utils/go-combo-color.c (cb_proxy_custom_dialog) : pop the combo
6543	  down when the custom dialog goes up.
6544
65452004-01-29  Jody Goldberg <jody@gnome.org>
6546
6547	* graph/gog-style.c (cb_gradient_type_changed) : store the last
6548	  selected type.
6549	(populate_gradient_combo) : default to that when changing fill type to
6550	  gradient.
6551
6552	* graph/gog-style-prefs.glade : fix mnemonics to not clash.
6553
6554	* gui-utils/go-action-combo-stack.c
6555	(go_action_combo_stack_create_tool_item) : patch leak
6556
6557	* utils/go-marker.c (go_marker_selector) :
6558	  go_combo_pixmaps_add_element absorbs a ref to the pixbuf, don't lose
6559	  control of it.  Handle shape=none nicely too.
6560
65612004-01-29  Morten Welinder  <terra@gnome.org>
6562
6563	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): Attempt
6564	fix.
6565
65662004-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
6567
6568	* graph/plugins/plot_xy/gog-xy.c: fix 2 syntax errors to make it
6569	  compile
6570
65712004-01-28  Jean Brefort  <jean.brefort@ac-dijon.fr>
6572
6573	* graph/plugins/plot_xy/Makefile.am:
6574	* graph/plugins/plot_xy/gog-bubble-prefs.glade:
6575	* graph/plugins/plot_xy/gog-bubble-prefs.c:
6576	* graph/plugins/plot_xy/gog-xy.c:
6577	* graph/plugins/plot_xy/gog-xy.h:
6578		added support for bubble plots options
6579
65802004-01-24  Jon K Hellan  <hellan@acm.org>
6581
6582	* gui-utils/go-dock.c (go_dock_class_init): Initialize parent_class.
6583
6584	* gui-utils/go-dock-item.c (go_dock_item_class_init): Ditto.
6585
6586	* gui-utils/go-dock-band.c (go_dock_band_class_init): Ditto.
6587
65882004-01-24  Jody Goldberg <jody@gnome.org>
6589
6590	* graph/plugins/plot_xy/gog-xy.c : suppress warning
6591
6592	* gui-utils/go-action-combo-text.c (go_action_combo_text_set_entry) :
6593	  implement.
6594
6595	* gui-utils/go-action-combo-stack.c
6596	(go_action_combo_stack_create_tool_item) : set the relief here too.
6597	  We're close to having a GOActionCombo base for this.
6598
65992004-01-23  Jody Goldberg <jody@gnome.org>
6600
6601	* gui-utils/go-action-combo-stack.c : tweak to make it sorta work.
6602	  I do not like the kludgy approach required by our not supporting
6603	  arguments to GtkAction::activate
6604
66052004-01-22  Jody Goldberg <jody@gnome.org>
6606
6607	* gui-utils/go-action-combo-pixmaps.c : rewrite.
6608
66092004-01-17  Jody Goldberg <jody@gnome.org>
6610
6611	* gui-utils/go-action-combo-color.c (cb_color_changed) : Use the
6612	  supplied color directly.
6613	(go_action_combo_color_create_menu_item) : connect up the activate signal.
6614
66152004-01-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6616	* graph/gog-style.c (gog_style_editor) : edit a GogStyle, not
6617	GogStyledObject.
6618	(gog_styled_object_editor) : new.
6619	* graph/gog-axis.c : use gog_styled_object_editor instead of
6620	gog_style_editor.
6621	* graph/gog-label.c : ditto.
6622	* graph/gog-series.c : ditto.
6623	* graph/gog-styled-object.c : ditto. rename gog_styled_object_editor
6624	to styled_object_editor.
6625
66262004-01-17 Jean Brefort <jean.brefort@ac-dijon.fr>
6627	* graph/plugins/plot_xy/* : add initial support for bubble plots
6628
66292004-01-16  Jody Goldberg <jody@gnome.org>
6630
6631	* gui-utils/go-action-combo-stack.c (go_action_combo_stack_push) :
6632	  operate on the combo, not the toolitem wrapper.
6633	(go_action_combo_stack_pop) : ditto.
6634	(go_action_combo_stack_truncate) : ditto.
6635
66362004-01-16  Jon K Hellan  <hellan@acm.org>
6637
6638	* gui-utils/go-action-combo-stack.c (go_action_combo_stack_push)
6639	(go_action_combo_stack_pop): Fix typos.
6640
66412004-01-14  Jody Goldberg <jody@gnome.org>
6642
6643	* gui-utils/go-action-combo-color.c
6644	(go_action_combo_color_create_menu_item) : some initial work on
6645	  producing a menu.  Its not bad, but the combo needs alot of cleanup
6646	  before it can migrate.
6647
66482003-12-23  Jody Goldberg <jody@gnome.org>
6649
6650	* Release 1.2.3
6651
66522003-12-22  Jody Goldberg <jody@gnome.org>
6653
6654	* graph/gog-axis.c (gog_axis_editor) : set the current format.
6655
66562003-12-19  Jody Goldberg <jody@gnome.org>
6657
6658	* utils/go-format.c (go_format_eq) : new.
6659	(go_format_as_XL) : new
6660	(go_format_new_from_XL) : new
6661
6662	* graph/gog-axis.c (gog_axis_editor) : add a format selection page for
6663	  non-discrete axis.
6664
66652003-12-18  Jody Goldberg <jody@gnome.org>
6666
6667	http://bugzilla.gnome.org/show_bug.cgi?id=129445
6668	* graph/gog-style.c (gog_style_assign) : transfer the
6669	  needs_obj_defaults field.
6670	(gog_style_init) : init needs_obj_defaults field to TRUE.
6671	(gog_style_persist_dom_load) : persisted styles do not need object
6672	  defaults.
6673	* graph/plugins/plot_barcol/gog-line.c (gog_line_series_init_style) :
6674	  respect the needs_obj_defaults.
6675	* graph/plugins/plot_xy/gog-xy.c (gog_xy_series_init_style) : ditto.
6676
6677	* graph/gog-axis.c (gog_axis_get_marker) : Use go_format to handle the
6678	  markers.
6679
6680	* utils/go-format.c : A quick cheesy wrapper to GnmFormat in
6681	  preparation for sucking it down here.
6682
66832003-12-14  Jody Goldberg <jody@gnome.org>
6684
6685	* utils/go-pattern.c (go_pattern_selector) : fix leak.
6686	* utils/go-gradient.c (go_gradient_selector) : fix leak.
6687	* utils/go-marker.c (go_marker_selector) : fix leak.
6688
66892003-12-14  Jody Goldberg <jody@gnome.org>
6690
6691	http://bugzilla.gnome.org/show_bug.cgi?id=128874
6692	* graph/gog-axis.c (gog_axis_finalize) : unref labels.
6693	(gog_axis_update) : ref them here.
6694
66952003-11-26  Jody Goldberg <jody@gnome.org>
6696
6697	* Release 1.2.2
6698
66992003-11-18  Jody Goldberg <jody@gnome.org>
6700
6701	* graph/gog-styled-object.c (gog_styled_object_set_property) : dup the
6702	  style to avoid themes stomping on shared styles.  refcounting is not
6703	  an ideal semantic for GogStyle.
6704
67052003-11-17  Morten Welinder  <terra@gnome.org>
6706
6707	* graph/gog-object-xml.c (gog_object_write_property): Plug leak.
6708
67092003-11-15  Jody Goldberg <jody@gnome.org>
6710
6711	* graph/gog-axis.c (gog_axis_view_render) : support minor ticks and
6712	  tune placement to work around anti-aliasing blur.
6713
6714	* graph/gog-grid.c (gog_grid_view_render) : tune the cheat to work
6715	  around anti-aliasing blur.
6716
67172003-11-14  Jody Goldberg <jody@gnome.org>
6718
6719	http://bugzilla.gnome.org/show_bug.cgi?id=126775
6720	* graph/gog-axis.c (gog_axis_update) : be smarter when min == max.
6721
67222003-11-13  Jody Goldberg <jody@gnome.org>
6723
6724	* graph/gog-guru.c (cb_obj_children_reordered) : implement.
6725	(cb_reordered_find) : new.
6726
6727	* graph/gog-object.c (gog_object_can_reorder) : implement.
6728
67292003-11-13  Jody Goldberg <jody@gnome.org>
6730
6731	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
6732	  avoid the potential for trouble for a series with only zeros.
6733
67342003-11-12  Jody Goldberg <jody@gnome.org>
6735
6736	* graph/gog-guru.c (graph_guru_init_format_page) : store the
6737	  precedence widgets.
6738	(cb_attr_tree_selection_change) : adjust sensitivity of the precedence
6739	  elements.
6740
67412003-11-11  Jody Goldberg <jody@gnome.org>
6742
6743	* graph/gog-style.c (marker_init) : fix leak.
6744
6745	* graph/gog-guru.c (cb_attr_tree_selection_change) : work around a
6746	  probable bug in GtkViewport by adding an extra GtkFrame inside the
6747	  viewport and using that.
6748
67492003-11-11  Morten Welinder  <terra@gnome.org>
6750
6751	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): Use finite
6752	consistently.
6753
67542003-11-11  Jody Goldberg <jody@gnome.org>
6755
6756	* utils/go-pattern.c (go_pattern_selector) : add auto support.
6757
6758	* utils/go-marker.c : move the default handling where it belongs.
6759
6760	* utils/go-color.c (go_color_to_gdk) : new.
6761
6762	* graph/plugins/plot_barcol/plot-types.xml.in : include non-marker
6763	  variants.
6764	* graph/plugins/plot_xy/plot-types.xml.in : include non-marker, and
6765	 barcol non-line variants.
6766
6767	* graph/gog-theme.c : respect the auto flags here.
6768
6769	* graph/gog-styled-object.c (gog_styled_object_apply_theme) : new.
6770	(gog_styled_object_set_property) : Use it here.
6771	(gog_styled_object_parent_changed) : and here.
6772	(gog_styled_object_editor) : provide a default impl.
6773	(gog_styled_object_get_auto_style) : new.
6774
6775	* graph/gog-style.c :
6776	    - Add support for auto* flags for the marker here, not GoMarker.
6777	    - Support restoring auto for shapes and colours
6778
6779	* graph/gog-series.c (gog_series_init_style) : new.  Gives us finer
6780	  control of what is themable.
6781
6782	* graph/gog-guru.c : Simplify our lives and only have 1 prop sheet at
6783	  any given time.  No need to worry about updating when something
6784	  changes externally (styles or dimensions)
6785
6786	* graph/gog-chart.c : Use the default editor and init_style
6787	* graph/gog-graph.c : ditto
6788
6789	* graph/gog-axis.c : convert from ::interesting_fields -> ::init_style
6790	* graph/gog-grid.c : ditto.
6791	* graph/gog-label.c : ditto.
6792	* graph/gog-legend.c : ditto.
6793
67942003-11-05  Jody Goldberg <jody@gnome.org>
6795
6796	* utils/go-marker.h : I don't want GtkWidget in these headers
6797
67982003-11-04  Jody Goldberg <jody@gnome.org>
6799
6800	http://bugzilla.gnome.org/show_bug.cgi?id=125986
6801	* graph/gog-style.c (gog_style_merge) : A cheesy solution to the
6802	  current lack of clarity on the theming.  We only have a
6803	  colour.is_auto flag, so only assign the colour.  This means that
6804	  lines and outlines can only theme the colour, not the width or the
6805	  pattern.  Which seems reasonably until we have a plan for defining
6806	  'autoness' for those attributes.
6807
68082003-11-03  Jody Goldberg <jody@gnome.org>
6809
6810	http://bugzilla.gnome.org/show_bug.cgi?id=126056
6811	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : differentiate
6812	  between missing and bad strings.  X axis strings are indicies, Y
6813	  axis strings are 0.
6814
68152003-11-02  Jody Goldberg <jody@gnome.org>
6816
6817	* graph/gog-style.c (gog_style_editor) : Add a weakref so that we can
6818	  disconnect the signal if the object is destroyed.
6819
6820	* graph/gog-axis.c (make_dim_editor) : Use closures to avoid having a
6821	  callback after a widget has been destroyed.
6822
68232003-11-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6824
6825  	http://bugzilla.gnome.org/show_bug.cgi?id=125419
6826	* graph/gog-renderer.[ch] (gog_renderer_start_clipping),
6827	(gog_renderer_stop_clipping) : new. Implement clipping of drawing.
6828  	Only one level of clipping is allowed.
6829	* graph/gog-renderer[svg, pixbuf, gnome-print]
6830	(gog_renderer_.._start_clipping),
6831	(gog_renderer_.._stop_clipping) : new.
6832	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_path),
6833	(gog_renderer_pixbuf_draw_polygon),
6834	(gog_renderer_pixbuf_draw_text) : handle offset for drawing when
6835	clipping.
6836	* graph/gog-rendere-gnome-print.c (make_rectangle_path) : new;
6837	* graph/gog-chart.c (gog_chart_render) : new. Use the same clipping
6838 	region for all plots.
6839
68402003-11-01 Jean Brefort <jean.brefort@ac-dijon.fr>
6841
6842	* graph/gog-renderer-svg.c: added scale parameter to gog_graph_export_to_svg.
6843	* graph/gog-renderer-svg.c: implement gog_renderer_svg_measure_text and
6844	gog_renderer_svg_draw_text.
6845
68462003-11-01  Jody Goldberg <jody@gnome.org>
6847
6848	* graph/plugins/plot_barcol/gog-barcol.c
6849	(gog_barcol_plot_class_init) : set the default to match the real
6850	  default so that things persist properly.
6851
68522003-10-30  Jody Goldberg <jody@gnome.org>
6853
6854	* graph/gog-plot.c (gog_plot_get_cardinality) : Set the index even if
6855	  the series is invald.  This makes like easier when adding a series.
6856
6857	* graph/gog-style.c (gog_object_set_style) : block style change
6858	  signals.
6859	(gog_style_pref_state_free) : disconnect the style change handler.
6860	(gog_style_editor) : monitor style changed signals.
6861	(cb_style_changed) : new.
6862
6863	* graph/gog-series.c (gog_series_set_index) : signal when the style
6864	  changes.
6865
6866	* graph/gog-object.c (gog_object_get_editor) : force an update before
6867	  creating an editor to avoid flicker later.
6868	* graph/gog-graph.c (gog_graph_force_update) : new.
6869
68702003-10-29  Jody Goldberg <jody@gnome.org>
6871
6872	* graph/gog-axis.c (cb_axis_bound_changed) : update all the auto
6873	  bounds when anything changes.
6874
68752003-10-28  Jody Goldberg <jody@gnome.org>
6876
6877	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : be lazy and
6878	  do the clipping in the renderer rather than here.  It will make
6879	  life easier when we add splines.
6880
68812003-10-27  Jody Goldberg <jody@gnome.org>
6882
6883	http://bugzilla.gnome.org/show_bug.cgi?id=125619
6884	* graph/gog-axis.c (gog_axis_editor) : init the high/low button
6885
6886	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) : clip
6887	  markers and lines.
6888
6889	* graph/gog-renderer-pixbuf.c (clip_path) : new.
6890	(gog_renderer_pixbuf_draw_path) : support the new clipping argument.
6891	(gog_renderer_pixbuf_draw_polygon) : ditto.
6892
68932003-10-23  Jody Goldberg <jody@gnome.org>
6894
6895	http://bugzilla.gnome.org/show_bug.cgi?id=125045
6896	* graph/gog-axis.c (gog_axis_view_render) : clip correctly and space
6897	  the ticks based on the actual tick values, not just their index.
6898	(gog_axis_num_markers) : return a step fraction too.
6899
69002003-10-21  Jody Goldberg <jody@gnome.org>
6901
6902	* graph/gog-renderer.c (gog_renderer_init) : init zoom to 1.
6903	* graph/gog-renderer-gnome-print.c (gog_graph_print_to_gnome_print) :
6904	  ditto.
6905
69062003-10-14  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6907
6908	* graph/gog-axis.c (axis_get_entry) : Add a user_defined parameter in
6909	order to know if the returned value is defined by user or computed.
6910	(gog_axis_update) : Use user defined bound for the tick spacing
6911	calculation.
6912	(gog_axis_num_markers) : round to nearest value instead of the
6913	automatic double to int cast that removes the fractionnal part.
6914
69152003-10-18  Jody Goldberg <jody@gnome.org>
6916
6917	* graph/gog-chart-impl.h : Inherit from GogOutlinedObject and use the
6918	  padding there.
6919	* graph/gog-graph-impl.h : ditto.
6920	* graph/gog-label.c : ditto.
6921	* graph/gog-legend.c : ditto.
6922
6923	* graph/gog-chart.c (gog_chart_get_property) : padding is in outlined
6924	  object now.
6925	(gog_chart_set_property) : delete.
6926	(gog_chart_class_init) : delete set_prop method and padding_pts prop
6927	(gog_chart_init) : delete padding_pts.
6928	(gog_chart_view_size_allocate) : use outlined view.
6929	(gog_chart_view_render) : ditto.
6930	(gog_chart_view_class_init) : just use render in outlined view.
6931
6932	* graph/gog-graph.c (gog_graph_set_property) : remove PADDING
6933	(gog_graph_get_property) : ditto.
6934	(gog_graph_class_init) : ditto.
6935	(gog_graph_init) : we don't inherit directly from StyledObject anymore
6936	(gog_graph_view_size_allocate) : use OutlinedView.
6937	(gog_graph_view_render) : ditto.
6938	(gog_graph_view_class_init) : ditto.
6939
6940	* graph/Makefile.am : Add gog-outlined-object.[ch]
6941
69422003-10-13  Jody Goldberg <jody@gnome.org>
6943
6944	http://bugzilla.gnome.org/show_bug.cgi?id=122546
6945	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : Update
6946	  the index axis if our labels change.  This problem does not apply to
6947	  XY plots because their x bounds will change when a dim is set or
6948	  cleared.
6949
69502003-10-08  Jody Goldberg <jody@gnome.org>
6951
6952	* Release 1.2.1
6953
69542003-10-06 Jean Brefort <jean.brefort@ac-dijon.fr>
6955
6956 	* graph/gog-renderer-svg.c (gog_renderer_svg_draw_polygon) : use go_pattern_is_solid.
6957 	(gog_renderer_svg_draw_marker) : implemented.
6958
69592003-10-08  Jody Goldberg <jody@gnome.org>
6960
6961	* graph/gog-axis.c (role_label_post_add) : put y axis labels to the
6962	  left or right not at the top.
6963	(gog_axis_class_init) : enable y axis labels
6964
69652003-10-07  Jody Goldberg <jody@gnome.org>
6966
6967	* graph/gog-axis.c (gog_axis_dataset_dims) : enable setting the cross
6968	  point.
6969
69702003-10-07  Morten Welinder  <terra@gnome.org>
6971
6972	* graph/gog-axis.c (gog_axis_update): Fake floor, not fake trunc.
6973
69742003-10-06  Morten Welinder  <terra@gnome.org>
6975
6976	* graph/gog-plot.c (gog_plot_get_axis_bounds): Return NULL, not
6977	FALSE.
6978	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_point): Ditto.
6979
69802003-10-05  Jon K Hellan  <hellan@acm.org>
6981
6982	* utils/go-pattern.c (go_pattern_selector): gtk_combo_box renamed
6983	to gnm_combo_box.
6984
6985	* utils/go-marker.c (go_marker_selector): Ditto.
6986
6987	* utils/go-gradient.c (go_gradient_selector): Ditto.
6988
6989	* graph/gog-style.c (create_color_combo): Ditto.
6990
69912003-10-05  J.H.M. Dassen (Ray) <jdassen@debian.org>
6992
6993	* graph/gog-guru.c: #include gtkliststore.h to fix build.
6994
69952003-09-30  Jody Goldberg <jody@gnome.org>
6996
6997	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) : we
6998	  already winnowed out the invalid series, no need to flag them.
6999	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
7000	  ditto.
7001
70022003-09-28  Jody Goldberg <jody@gnome.org>
7003
7004	* graph/gog-style.c (gog_style_is_marker_visible) : Use the
7005	  interesting field too.
7006	(gog_style_assign) : Assign the interesting flags too.
7007
7008	* graph/gog-legend.c (cb_size_elements) : see if anything has a marker
7009	(gog_legend_view_size_request) : if any of the elements has a marker
7010	  rather than a swatch we need 3x swatch width.
7011	(cb_render_elements) : If entry has a marker draw the line and marker
7012	(gog_legend_view_render) : Prep for drawing markers if any exist.
7013
70142003-09-29  Morten Welinder  <terra@gnome.org>
7015
7016	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render):
7017	Survive getting a NULL vals, even though that might be a symptom
7018	of something else.
7019
7020	* graph/gog-object.c (gog_object_dup): Plug leak.
7021
7022	* graph/gog-object-xml.c (gog_object_new_from_xml): Plug leaks.
7023
70242003-09-23  Jody Goldberg <jody@gnome.org>
7025
7026	* graph/gog-axis.h : delete unused enum GogAxisTickLevel.
7027	  Publicize the data elements.
7028	(gog_axis_update) : Manually handle the epsilon shifts so that we can
7029	  ignore sign.
7030
70312003-09-22  Jody Goldberg <jody@gnome.org>
7032
7033	* graph/gog-view.c (cb_remove_child) : doh!
7034
70352003-09-21  Jody Goldberg <jody@gnome.org>
7036
7037	* graph/gog-renderer-pixbuf.c (make_layout) : scale the font size
7038	  manually to work around.
7039	    http://bugzilla.gnome.org/show_bug.cgi?id=121543
7040
70412003-09-15 Jean Brefort <jean.brefort@ac-dijon.fr>
7042
7043	* graph/gog-renderer-svg.c : added gradient support.
7044
7045	* utils/go-gradient.c (go_gradient_setup): changed vector for oblique gradients.
7046
70472003-09-20  Jody Goldberg <jody@gnome.org>
7048
7049	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_bounds) :
7050	  only valid series can contribute to an index dimension.
7051	* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_axis_bounds) : ditto.
7052
7053	* graph/gog-renderer-gnome-print.c (get_font) : respect zoom.
7054
7055	* graph/gog-style.c (font_init) : set the font _before_ connecting the
7056	  signal. doh!
7057
70582003-09-16  Jody Goldberg <jody@gnome.org>
7059
7060	* graph/gog-theme.c (gog_themes_init) : change the default theme for
7061	Adrian.
7062
70632003-09-16  Morten Welinder  <terra@gnome.org>
7064
7065	* graph/gog-renderer-pixbuf.c (make_layout): Change to way font
7066	description is set so that it will work both before and after the
7067	fix to http://bugzilla.gnome.org/show_bug.cgi?id=121543.
7068
70692003-09-15  Jody Goldberg <jody@gnome.org>
7070
7071	* graph/gog-label.c (gog_label_view_size_request) : empty labels are
7072	  of size 0,0 not 1,1
7073
7074	* graph/gog-view.c (gog_view_size_allocate_real) : don't pad if the
7075	  child is 0 sized.
7076	(gog_view_size_child_request) : ditto.
7077
7078	* graph/gog-axis.c (gog_axis_num_markers) : we can't use the max_val
7079	  as a fallback if there is no data defining it.
7080
70812003-09-15  Morten Welinder  <terra@gnome.org>
7082
7083	* utils/go-marker.c (go_marker_selector): Terminate the array as
7084	it is shorter than we tell the pixbuf combo.
7085
70862003-09-15  Jody Goldberg <jody@gnome.org>
7087
7088	* Release 1.2.0
7089
70902003-09-15  Jody Goldberg <jody@gnome.org>
7091
7092	* graph/gog-renderer.c (gog_renderer_measure_text) : pango does not
7093	  like measuring ""
7094	(gog_renderer_draw_text) : ditto.
7095
70962003-09-15  Jody Goldberg <jody@gnome.org>
7097
7098	* graph/gog-axis.c (gog_axis_view_render) : clipping the label text in
7099	  the iterating dimension is a bad idea, we want to clip whole labels,
7100	  not the individual lines.
7101
7102	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : only draw
7103	  the first series for a pie.  Things can sneak in.
7104
7105	* utils/go-font.c (go_font_init) : make default font smaller
7106
7107	* graph/gog-object.c (gog_object_get_pos) : new.
7108	(gog_object_set_pos) : new.
7109
71102003-09-14  Jody Goldberg <jody@gnome.org>
7111
7112	* graph/gog-axis.c (gog_axis_editor) : We ignore the bounds for a
7113	  discrete axis.
7114	(gog_axis_update) : store information pertaining to axes with discrete
7115	  enumerations.
7116	(gog_axis_editor) : discrete enumerations do not allow for manual boun
7117	  changes.
7118	(gog_axis_num_markers) : handle discrete enumerations.
7119	(gog_axis_get_marker) : ditto.
7120	(gog_axis_view_size_request) : ditto.
7121	(gog_axis_view_render) : rework to support in and out ticks.
7122	  Support discrete enumerations.
7123	(gog_axis_is_discrete) : new.
7124	(gog_axis_get_ticks) : new.
7125
7126	* graph/gog-renderer.c (gog_renderer_draw_text) : revamp the interface
7127	  yet again to make parameters clearer.
7128	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : adjsut
7129	  to the new interface and imrpve clipping support.
7130	* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_text) :
7131	  adjust to the new interface, add support for anchors.
7132
71332003-09-14  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7134
7135	* gog-style-prefs.glade: `colour' should be `color'
7136
71372003-09-14  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7138
7139	* graph/gog-renderer-gnome-print.c: replace calls of
7140	  gnome_font_find_closest_from_weight_slant with
7141	  gnm_font_find_closest_from_weight_slant
7142
71432003-09-14  Jody Goldberg <jody@gnome.org>
7144
7145	* graph/gog-axis.c (axis_get_entry) : new utility.
7146	(gog_axis_get_bounds) : use it here.
7147	(gog_axis_num_markers) : here.
7148	(gog_axis_get_marker) : and here.
7149	(role_label_can_add) : new.
7150	(gog_axis_class_init) : use it here to disable labels on the Y axis
7151	  until we can get a smarter layout engine.
7152
71532003-09-14  Jody Goldberg <jody@gnome.org>
7154
7155	* graph/gog-axis.c (gog_axis_update) : yet another layer of heuristic
7156	  to handle -1 .. 1 better.
7157	(gog_axis_get_marker) : force to 0.
7158
7159	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
7160	  Get the bounds from the value axis. (fixes bar plots)
7161
71622003-09-13  Jody Goldberg <jody@gnome.org>
7163
7164	* graph/gog-axis.c (cb_enable_dim) : get smarter and handle
7165	  transitions to from auto state.
7166
71672003-09-13  Jon K Hellan  <hellan@acm.org>
7168
7169	* graph/gog-style.c (cb_fg_color_changed, cb_bg_color_changed,
7170	cb_fill_gradient_start_color, cb_fill_gradient_end_color): Update
7171	is_auto and pattern_fore_auto, pattern_back_auto,
7172	gradient_start_auto, gradient_end_auto flags.
7173	(gog_style_merge): Only merge color attributes for fill.
7174	(gog_style_init): Initialize attern_fore_auto, pattern_back_auto,
7175	gradient_start_auto, gradient_end_auto flags
7176
7177	* graph/gog-style.h: Add non-persistent auto flags for each color
7178	element in fill.
7179
71802003-09-13  Jody Goldberg <jody@gnome.org>
7181
7182	* graph/gog-axis.c (role_label_post_add) : be smarter about
7183	  positioning.
7184
7185	* graph/gog-view.c (gog_view_size_child_request) : hard code some
7186	  inter-child padding.  We can be more elegant in the future.
7187	(gog_view_size_allocate_real) : ditto.
7188
7189	* graph/gog-axis.c (gog_axis_view_size_request) : request space for
7190	  children too.
7191
71922003-09-13  Jon K Hellan  <hellan@acm.org>
7193
7194	* graph/gog-legend.c (cb_render_elements): Allow for floating
7195	point inaccuracies when deciding if there is room for an element.
7196
71972003-09-13  Jody Goldberg <jody@gnome.org>
7198
7199	* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : support index
7200	  axis for X.
7201	(gog_xy_series_update) : ditto.
7202
7203	* graph/gog-axis.c (gog_axis_editor) : we want font too.
7204	  Align the Auto header nicely.
7205	(make_dim_editor) : some initial work to give the Auto button's some
7206	  feedback.
7207
7208	* graph/gog-style.c (cb_line_color_changed) : set auto_color.
7209	(cb_outline_color_changed) : ditto.
7210
72112003-09-13  Jody Goldberg <jody@gnome.org>
7212
7213	* graph/gog-chart.c (gog_chart_axis_set_assign) : clear_parent clears
7214	  ::grid, store the pointer for a moment so that we can free it.
7215
7216	* utils/go-color.c (color_combo_get_gocolor) : cheap hack to support
7217	  alpha channel despite interface limitations.  It only works for
7218	  custom colours, but thats the most important case.
7219	(color_combo_set_gocolor) : init the custom picker too to ensure that
7220	  alpha gets set correctly.
7221
7222	* utils/go-gradient.c (go_gradient_selector) : no need to free images,
7223	  have the combo absorb them.
7224	* utils/go-pattern.c (go_pattern_selector) : ditto.
7225	  fix cut-n-paste-o the first
7226	  'Thin Diagonal Crosshatch' was actually
7227	  'Thin Diagonal Stripe'
7228
7229	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : leak.
7230
72312003-09-12  Jody Goldberg <jody@gnome.org>
7232
7233	* graph/gog-axis.c (gog_axis_set_property) : fix typos.
7234	(gog_axis_view_render) : actually support some of the tick options.
7235	(gog_axis_editor) : hook up some of the controls.
7236
7237	* graph/gog-chart.c (gog_chart_axis_set_assign) : add or remove a grid
7238	  depending on the axis set.
7239
72402003-09-11  Jody Goldberg <jody@gnome.org>
7241
7242	* graph/gog-object-xml.c (gog_object_write_property) : don't bother
7243	  saving parameters with default values.
7244
7245	* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) :
7246	  respect axis bounds.
7247
7248	* graph/gog-axis.c (gog_axis_view_render) : invert alignment of text
7249	  and support tick marks.
7250	(gog_axis_view_size_request) : Make axis labels optional, and allocate
7251	  size for major and minor ticks.
7252	(gog_axis_class_init) : Lots of new options.
7253	(gog_axis_get_property) : ditto, not all of them are supported yet.
7254	(gog_axis_set_property) : ditto, not all of them are supported yet.
7255	(gog_axis_update) : Add pull to 0, and step doubling heuristics.
7256
7257	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : Clip
7258	  text trying to draw out of the physical bounds.
7259
7260	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_bounds) :
7261	  fix cut-n-paste-o.
7262
72632003-09-10  Jody Goldberg <jody@gnome.org>
7264
7265	* Release 1.1.90
7266
72672003-09-09  Jody Goldberg <jody@gnome.org>
7268
7269	* graph/gog-styled-object.c (gog_styled_object_parent_changed) : set
7270	  the interesting fields when all the parents are in place.
7271
7272	* graph/gog-renderer.h : Add an anchor parm to draw_text and clean up
7273	  the semantics of size.
7274
7275	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : handle
7276	  the various anchor types.
7277
7278	* graph/gog-axis.c : Some initial work at generating bounds, and
7279	  drawing axis values.
7280
7281	* graph/gog-view.c (gog_view_render) : filter objects with invalid
7282	  size.  eg a user makes the plot too small to be useful.
7283
72842003-09-09  Jody Goldberg <jody@gnome.org>
7285
7286	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) :
7287	  percentage charts logicly limit -1 .. 1
7288
7289	* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_update) : no logical min
7290	  or max.
7291
72922003-09-08  Jody Goldberg <jody@gnome.org>
7293
7294	* graph/plugins/plot_barcol/plot-types.xml.in : fix icons to match
7295	  reality.  All lines currently have markers by default.
7296
7297	* graph/plugins/plot_barcol/gog-line.c
7298	(gog_line_update_stacked_and_percentage) : Generate the correct bounds.
7299
7300	* graph/plugins/plot_barcol/gog-barcol.c
7301	(gog_barcol_update_stacked_and_percentage) : Why special case 0..1
7302	(gog_barcol_view_render) : handle bound clipping.
7303
73042003-09-08  Jon K Hellan  <hellan@acm.org>
7305
7306	* graph/gog-renderer-svg.c (gog_renderer_svg_draw_marker): New
7307	dummy implementation.
7308	(gog_renderer_svg_class_init): Use it.
7309
73102003-09-08  Jody Goldberg <jody@gnome.org>
7311
7312	* graph/gog-style.c (cb_fill_gradient_end_color) : throw the update
7313	  into a timer to decrease flicker.
7314	  Works around a bug in older libarts.
7315	(gog_style_set_fill_brightness) : new.
7316	(cb_gradient_brightness_value_changed) : actually hide the brightness.
7317	(cb_gradient_style_changed) : ditto.
7318	(fill_gradient_init) : ditto.
7319
7320	* graph/gog-renderer-svg.c (gog_graph_export_to_svg) : convert
7321	  interface to use libgsf.
7322
73232003-09-07 Jean Brefort <jean.brefort@ac-dijon.fr>
7324
7325	* utils/go-gradient.c (go_gradient_setup): added a small value to gradient->c for
7326	  vertical gradients to avoid a line whith the bad color at the top of the area.
7327	* graph/gog-style.c: handle brightness in gradients.
7328	* graph/gog-renderer-svg.[c,h]: new files to handle svg export (not
7329	fully implemented).
7330	* graph/Makefile.am: added gog-renderer-svg.[c,h].
7331
73322003-09-07  Jody Goldberg <jody@gnome.org>
7333
7334	* utils/go-marker.c (go_marker_selector) : Add marker names.
7335
73362003-09-07  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
7337
7338	* utils/go-marker.c : removed unused property and signal stuff.
7339	(go_marker_selector) : new.
7340	* graph/gog-style.c (populate_marker_combo) : new.
7341	(marker_init) : use the marker combo.
7342	* graph/gog-style-prefs.glade : removed marker option menu.
7343	* graph/gog-renderer-gnome-print.c
7344	(gog_renderer_gnome_print_draw_marker): returns when one of the path
7345	is NULL (fix a crash).
7346
73472003-09-07  Jody Goldberg <jody@gnome.org>
7348
7349	* graph/gog-styled-object.c (gog_styled_object_set_property) : set the
7350	  interesting field for a style.
7351	(gog_styled_object_init) : ditto.
7352	(gog_styled_object_interesting_fields) : default to outline & fill.
7353
7354	* graph/gog-style.c (gog_style_persist_dom_save) : only save
7355	  interesting fields.
7356
7357	* graph/gog-series.c (gog_series_interesting_fields) : new.
7358	(gog_series_class_init) : hook it up.
7359	* graph/gog-legend.c (gog_legend_interesting_fields) : new.
7360	(gog_legend_class_init) : hook it up.
7361	* graph/gog-label.c (gog_label_interesting_fields) : new.
7362	(gog_label_class_init) : hook it up.
7363	* graph/gog-axis.c (gog_axis_interesting_fields) : new.
7364	(gog_axis_class_init) : hook it up.
7365
73662003-09-07  Jody Goldberg <jody@gnome.org>
7367
7368	* graph/gog-style.c (gog_style_line_load) : support auto_color flags.
7369	(gog_style_line_save) : ditto.
7370	(gog_style_fill_load) : handle is_auto.
7371	(gog_style_fill_save) : ditto.
7372
7373	* graph/gog-legend.c (gog_legend_view_render) : tune the padding.
7374	(cb_render_elements) : ditto.
7375
73762003-09-06  Jon K Hellan  <hellan@acm.org>
7377
7378	* graph/gog-theme.c (gog_theme_init_style): Merge styles instead
7379	of assigning style from theme.
7380	(map_area_series_solid_default): Only change elements which hold
7381	auto values.
7382
7383	* utils/go-marker.[ch] (go_marker_shape_from_str,
7384	go_marker_shape_as_str): Move from gog-style.c and rename.
7385	(go_marker_is_auto): New. Tests if marker is different from
7386	default. Should really test if user has chosen the marker
7387	explicitly.
7388
7389	* graph/gog-style.c (gog_style_merge): Implement.
7390	(str_as_marker_shape, marker_shape_as_str):Move to utils/go-marker
7391	and rename.
7392	(gog_style_marker_load, gog_style_marker_save): Use renamed
7393	version of above functions.
7394	(gog_style_persist_dom_load): Mark style elements read from file
7395	as non-auto (for now).
7396
73972003-09-06  Jon K Hellan  <hellan@acm.org>
7398
7399	* utils/go-pattern.[ch] (go_pattern_as_str, go_pattern_as_str): Move
7400	from gog-style.c and rename.
7401
7402	* utils/go-gradient.[ch] (go_gradient_dir_from_str)
7403	(go_gradient_dir_as_str): Ditto.
7404
7405	* graph/gog-style.c (str_as_pattern, pattern_as_str,
7406	str_as_grad_dir, grad_dir_as_str): Move to utils/go-pattern /
7407	go-gradient and rename.
7408	(gog_style_gradient_load, gog_style_gradient_save,
7409	gog_style_fill_load, gog_style_fill_save): Use renamed version of
7410	above functions.
7411
74122003-09-05  Jon K Hellan  <hellan@acm.org>
7413
7414	* utils/go-color.[ch] (go_color_from_str, go_color_as_str):
7415	New. Convert color to/from string.
7416
7417	* graph/gog-style.c (str_as_fill_style, fill_style_as_str):
7418	New. Convert fill style to/from string.
7419	(str_as_pattern, pattern_as_str): New. Convert pattern to/from
7420	string.
7421	(str_as_grad_dir, grad_dir_as_str): New. Convert gradient
7422	direction to/from string.
7423	(str_as_marker_shape, marker_shape_as_str): New. Convert marker
7424	shape to/from string.
7425	(gog_style_line_load, gog_style_line_save): New. Load/save a
7426	line/outline style.
7427	(gog_style_gradient_load, gog_style_gradient_save): New. Load/save
7428	a gradient.
7429	(gog_style_fill_load, gog_style_fill_save): New. Load/save a fill.
7430	(gog_style_marker_load, gog_style_marker_save): New. Load/save a
7431	marker.
7432	(gog_style_font_load, gog_style_font_save): New. Load/save a font.
7433	(gog_style_persist_dom_load, gog_style_persist_dom_save):
7434	Implement.
7435
7436	* graph/gog-object-xml.c (gog_object_set_arg_full) : Don't expect
7437	GObject type name as entity content.
7438	(gog_object_write_property): Don't save GObject type name as
7439	entity content.
7440
74412003-09-04  Jody Goldberg <jody@gnome.org>
7442
7443	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : don't
7444	  force 0.  That will be handled at the axis level.
7445
7446	* graph/gog-style.c : move the marker editor back into the main style
7447	  editor rather than being distinct.
7448
74492003-09-03  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
7450
7451	* utils/go-marker.[ch] : new.
7452	* graph/gog-pixbuf-renderer.c : add draw_marker method.
7453	* graph/gog-gnome-print-renderer.c : idem.
7454	* graph/gog-renderer.c : idem.
7455	* graph/gog-style-prefs.glade : update marker editor
7456	* graph/gog-style.c (cb_marker_changed) : new.
7457	(marker_init) : use editor in gog-marker.c.
7458	(gog_style_pref_state_free) : free marker pointer.
7459	(gog_style_assign) : handle marker pointer.
7460	(gog_style_finalize) : idem.
7461	(gog_style_init) : init marker pointer.
7462	* graph/gog-theme.c (map_area_series_solid_default)
7463	(map_area_series_solid_guppi) : initialize marker properties.
7464	* graph/plugins/plot_barcol/gog-line.c
7465	(gog_line_view_render) : draw markers.
7466
74672003-09-03  Jody Goldberg <jody@gnome.org>
7468
7469	* graph/gog-legend.c (cb_render_elements) : clip before things
7470	  overflow.
7471
74722003-09-03  Jody Goldberg <jody@gnome.org>
7473
7474	* graph/gog-style.h : add GogStyle::font::color
7475	* graph/gog-style.c (gog_style_init) : init font::color
7476
7477	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) :
7478	  composite manually cause libart was dog slow when using the approach
7479	  in librsvg.
7480
74812003-09-03  Jody Goldberg <jody@gnome.org>
7482
7483	* graph/gog-label.c (gog_label_view_size_request) : take outline
7484	  into account.
7485
7486	* graph/gog-legend.c (gog_legend_view_render) : don't over draw space
7487	  allocated to children, and actually measure the text.
7488	(gog_legend_editor) : add.
7489
7490	* graph/gog-view.c (gog_view_size_child_request) : new utility to
7491	  build up a size requestfor the children around the request for the
7492	  parent.
7493
7494	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_foreach_elem) :
7495	  handle case with no series.
7496
74972003-09-03  Morten Welinder  <terra@gnome.org>
7498
7499	* graph/gog-object-xml.c (gog_object_set_arg_full): Plug leak.
7500
75012003-09-01  Jody Goldberg <jody@gnome.org>
7502
7503	* graph/gog-renderer-pixbuf.c (make_layout) : kludge a patch for font
7504	  scaling.
7505
75062003-09-01  Jody Goldberg <jody@gnome.org>
7507
7508	* graph/plugins/plot_xy/gog-xy.c : An initial skeleton, because I
7509	  accidentally deleted the last one.  Useless.
7510
7511	* graph/gog-style.c (gog_object_get_style) : fix leak.
7512	(fill_init) : do not assign the style as part of the initialization.
7513
7514	* graph/gog-renderer-pixbuf.c (make_layout) : another failing attempt
7515	  to get font sizes to change.
7516
7517	* graph/gog-renderer-gnome-print.c : An initial pass at font support.
7518	  Untested, and unlikely to work out of the box.
7519
75202003-08-29  Morten Welinder  <terra@gnome.org>
7521
7522	* graph/gog-axis.c (gog_axis_class_init): Plug leak.
7523
7524	* utils/go-pattern.c (go_pattern_selector): Free the pixel data.
7525
7526	* graph/gog-guru.c (graph_typeselect_minor): Handle ->plot
7527	changing underneath us.
7528
7529	* utils/go-font.c (go_font_init): Since the key is a pango font
7530	description, not a go-font, use proper hash and equal functions.
7531
75322003-08-29  Jody Goldberg <jody@gnome.org>
7533
7534	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : go
7535	  clockwise to avoid having ArtRender think the figure is inside out.
7536
75372003-08-28  Jody Goldberg <jody@gnome.org>
7538
7539	* graph/gog-renderer-impl.h : Add font_removed.
7540
75412003-08-28  Jody Goldberg <jody@gnome.org>
7542
7543	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_class_init) : pie
7544	  series need outlines and fills.
7545
7546	* graph/gog-theme.c (gog_theme_element_free) : new.
7547	(gog_theme_element_hash) : ditto.
7548	(gog_theme_element_eq) : ditto.
7549	(gog_themes_shutdown) : new to avoid leaking.
7550	(gog_theme_finalize) : handle lookup by role.
7551	(gog_theme_init) : ditto.
7552	(gog_theme_add_element) : ditto.
7553	(gog_theme_init_style) : rework to clarify precedence.
7554	    1) <parent_type>::<role>
7555	    2) ::<role>
7556	    3) object_type
7557
7558	* graph/gog-style.c (gog_style_assign) : Use GOFont.
7559	(gog_style_finalize) : ditto.
7560	(gog_style_init) : ditto.
7561	(gog_style_set_font) : new,
7562
7563	* goffice.c (libgoffice_init) : init fonts.
7564	(libgoffice_shutdown) : shutdown fonts and themes.
7565
7566	* utils/go-font.c : new utility class to ref count fonts.
7567
75682003-08-28  Morten Welinder  <terra@gnome.org>
7569
7570	* utils/go-gradient.c (go_gradient_selector): Clean a bit.
7571
7572	* graph/gog-style.c (gog_style_pref_state_free): Don't unref NULL
7573	images.
7574	(gog_style_set_image_preview): Handle setting the same picture,
7575	just in case.
7576
75772003-08-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7578
7579	* graph/gog-style.c (gog_style_set_image_preview): add
7580	  argument to gnm_pixbuf_intelligent_scale call
7581	(cb_image_file_select) use preview_file_selection_set_filename
7582	  rather than gtk_file_selection_set_filename
7583	(fill_image_init): set minimum preview size
7584
75852003-08-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7586
7587	* graph/gog-style.c (gog_style_set_image_preview): new
7588	(cb_image_file_select): use gtk_image_set_from_pixbuf
7589	(fill_image_init): initialize state->fill.image.image
7590	(cb_fill_type_changed): store original size image
7591	(gog_style_pref_state_free): free state->fill.image.image
7592	* graph/gog-style-prefs.glade: add size label to image-fill
7593	  preview
7594
75952003-08-26  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7596
7597	* graph/gog-style.c (cb_image_file_select): use
7598	  preview_file_selection_new and not
7599	  gnumeric_dialog_image_file_selection
7600
76012003-08-26  Morten Welinder  <terra@gnome.org>
7602
7603	* utils/go-pattern.c (go_pattern_selector): Get the args to
7604	gdk_pixbuf_new right.  Plug leak.
7605
7606	* utils/go-gradient.c (go_gradient_setup): New function.
7607	(go_gradient_selector): Use go_gradient_setup.  Make return type
7608	sane.
7609
7610	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
7611	Use go_gradient_setup.
7612
7613	* graph/gog-renderer-gnome-print.c
7614	(gog_renderer_gnome_print_draw_polygon): Use go_gradient_setup.
7615
76162003-08-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7617
7618	* graph/gog-style.c (cb_image_file_select): use
7619	  gnumeric_dialog_image_file_selection
7620
76212003-08-25  Jody Goldberg <jody@gnome.org>
7622
7623	* graph/gog-renderer-gnome-print.c
7624	(gog_renderer_gnome_print_draw_polygon) : remove double
7625	  gonme_print_grestore
7626
76272003-08-24  Jody Goldberg <jody@gnome.org>
7628
7629	* graph/gog-guru.c (cb_graph_guru_clicked) :clear the tmp value that
7630	  was refing the graph.
7631
76322003-08-24  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7633
7634	* graph/gog-guru.c (gog_guru): store and ref gclosure
7635	(graph_guru_state_destroy): unref closure
7636	(cb_graph_guru_clicked): invoke gclosure
7637	* graph/gog-guru.h (gog_guru): use gclosure
7638
76392003-08-23  Jody Goldberg <jody@gnome.org>
7640
7641	* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : doh!
7642
76432003-08-22  Jody Goldberg <jody@gnome.org>
7644
7645	* graph/gog-object.c (gog_role_cmp) : use the new priority field to
7646	  be smarter.
7647	(gog_object_dup) : Use the new go_data_dup.
7648	(gog_object_set_parent) : use gog_role_cmp instead of just using the
7649	  position.
7650
76512003-08-21  Jody Goldberg <jody@gnome.org>
7652
7653	* graph/gog-guru.c (gog_guru) : use gog_graph_dup now that styles
7654	  work.
7655
7656	* graph/gog-object.c (gog_object_dup) : doh! dst = src works better
7657	  than src = src.
7658
76592003-08-21  Jody Goldberg <jody@gnome.org>
7660
7661	* Release 1.1.20
7662
76632003-08-21  Jody Goldberg <jody@gnome.org>
7664
7665	* graph/gog-object-xml.c (gog_object_new_from_xml) : don't mark newly
7666	  reconstituted objects as explititly typed unless they really were.
7667	(gog_dataset_save) : patch leak.
7668
7669	* graph/gog-object.c (gog_object_dup) : new.
7670
76712003-08-21  Jody Goldberg <jody@gnome.org>
7672
7673	* graph/gog-axis-prefs.glade : Remove the ticks menu.  I'll handle it
7674	  via roles later.
7675
7676	* graph/gog-axis.c (gog_axis_editor) : we're only interested in the
7677	  line characteristics.
7678
7679	* utils/go-units.h : fix arg names
7680
7681	* graph/gog-chart.c (gog_chart_class_init) : add padding_pts.
7682	* graph/gog-graph.c (gog_graph_class_init) : typo.
7683
76842003-08-19  Jody Goldberg <jody@gnome.org>
7685
7686	* graph/gog-renderer.c (gog_renderer_draw_rectangle) : handle outlines
7687	  properly.
7688
76892003-08-14  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7690
7691	* graph/gog-style-prefs.glade: shuffle fill-image widgets again
7692
76932003-08-14  Morten Welinder  <terra@gnome.org>
7694
7695	* graph/gog-style.c (cb_fill_type_changed): Don't unref the old
7696	image if it is NULL.
7697
76982003-08-14  Jody Goldberg <jody@gnome.org>
7699
7700	* graph/gog-chart.c (role_plot_post_add) : don't set the axis twice
7701	  for the first plot.  Add a post condition to keep us honest.
7702
77032003-08-12  Jody Goldberg <jody@gnome.org>
7704
7705	* graph/gog-style.c (fill_image_init) : store the filename
7706	(cb_image_file_select) : ditto.
7707	(cb_fill_type_changed) : use it here to support restoring the image
7708	  filaname even though all we have is the image.
7709
77102003-08-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7711
7712	* graph/gog-style-prefs.glade: shuffle fill-image widgets
7713	* graph/gog-guru.glade: increase default size and increase
7714	  default style portion
7715
77162003-08-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7717
7718	* graph/gog-style-prefs.glade: align fill-image widgets
7719
77202003-08-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7721
7722	* graph/gog-style-prefs.glade: improve spacing, add scoll window
7723
77242003-08-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7725
7726	* graph/gog-style-prefs.glade: add some missed label names
7727
77282003-08-10  Jody Goldberg <jody@gnome.org>
7729
7730	* graph/gog-style.c : re-enable image handling and cache the pixbuf.
7731
7732	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) : The
7733	  style stores the pixbuf now, no need to reload the damn thing from
7734	  disk every time we use it.
7735
7736	* graph/gog-renderer-gnome-print.c
7737	(gog_renderer_gnome_print_draw_polygon) : Use a convenience routine
7738	(print_image) : new convenience routine.
7739
77402003-08-11  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7741
7742	* graph/plugins/plot_pie/gog-pie-prefs.c (cb_center_size_changed):
7743	  scale between display and storage
7744	(gog_ring_plot_pref): ditto
7745	* graph/plugins/plot_pie/gog-ring-prefs.glade: center_size spin
7746	  button should range from 0 to 95 in steps of 5
7747
77482003-08-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>
7749
7750	* graph/gog-guru.c: add correct helpfile address
7751
77522003-08-01  Morten Welinder  <terra@gnome.org>
7753
7754	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize): Plug
7755	leak.
7756
7757	* graph/gog-style.c (gog_style_class_init): Plug leaks.
7758
77592003-08-01  Jody Goldberg <jody@gnome.org>
7760
7761	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_path) : use
7762	  the line characteristics, not outline.
7763	* graph/gog-renderer-gnome-print.c
7764	(gog_renderer_gnome_print_draw_path) : ditto.
7765
7766	* graph/gog-theme.c (gog_themes_init) : set the line width.
7767	(map_area_series_solid_default) : line colour seems to start at an
7768	  offset to area colours.
7769	(map_area_series_solid_guppi) : set the line colour too.
7770
77712003-07-31  Jody Goldberg <jody@gnome.org>
7772
7773	* graph/gog-series.c (gog_series_set_index) : always init the style,
7774	  don't be cheap.  When loading index is initialized to 0, so the
7775	  first series would not get styled because it did not look like
7776	  anything changed.
7777
7778	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : fix
7779	  interpretation of the center_size parameter.  Thanks tino.
7780
7781	* graph/gog-plot.c (gog_plot_init) : copy the plot descriptor from the
7782	  class to the plot here for use cases that use g_object_new.
7783	* graph/gog-plot-engine.c (gog_plot_new_by_name) : rather than here
7784	  where it gets missed.
7785
7786	* graph/gog-legend.c (gog_legend_parent_changed) : catch object name
7787	  changes in the chart and trigger an update.
7788
7789	* graph/gog-graph.c (cb_graph_idle) : clear the handler before doing
7790	  the update so that a handler can queue an update for another object.
7791
77922003-07-30  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
7793
7794	* graph/plugins/plot_barcol/gog-line.[ch]: new. Line and Area support.
7795	* graph/plugins/plot_barcol/gog-1.d.[ch]: new. Defines base class for
7796	gog-line and gog-barcol.
7797	* graph/plugins/plot_barcol/plot-types.xml.in: add support for are and
7798	line plots.
7799	* graph/plugins/plot_barcol/plugin.xml.in: add are and line engines.
7800
78012003-07-19  Jody Goldberg <jody@gnome.org>
7802
7803	* graph/gog-chart.c (gog_chart_get_axis) : new.
7804
78052003-07-19  Jody Goldberg <jody@gnome.org>
7806
7807	* graph/plugins/plot_barcol/plot-types.xml.in : for stacked and
7808	  percentage set the overlap to 100.
7809
78102003-07-17  Jody Goldberg <jody@gnome.org>
7811
7812	* graph/plugins/plot_barcol/gog-barcol.c : Request XY axis set.
7813
7814	* graph/gog-data-set.c (gog_dataset_set_dim_internal) : always fire an
7815	  update.
7816
78172003-07-09  Jody Goldberg <jody@gnome.org>
7818
7819	* graph/gog-object-xml.h : fix guards
7820
78212003-07-07  Jody Goldberg <jody@gnome.org>
7822
7823	* graph/gog-legend.c (gog_legend_parent_changed) : chain upwards.
7824	* graph/gog-series.c (gog_series_parent_changed) : ditto.
7825
78262003-07-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
7827
7828	* graph/plugins/plot_pie/gog-ring-prefs.glade: colour -> color
7829
78302003-07-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
7831
7832	* graph/plugins/plot_pie/gog-pie-prefs.glade: colour -> color
7833
78342003-07-03  Jon K Hellan  <hellan@acm.org>
7835
7836	* graph/gog-style.c (init_solid_page, init_gradient_page)
7837	(init_gradient_page, gog_style_editor): Turn off color combo
7838	tearoff behaviour in dialogs.
7839
78402003-07-02  Jody Goldberg <jody@gnome.org>
7841
7842	* graph/gog-renderer.c (gog_renderer_init) : tweak the default size to
7843	  produce a better proportion.
7844
7845	* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : some minor
7846	  cleanup.
7847
7848	* graph/plugins/plot_pie/gog-pie-prefs.glade : fix units of separation
7849	  spinner.
7850
78512003-06-29  Jody Goldberg <jody@gnome.org>
7852
7853	For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
7854	* graph/plugins/plot_pie/gog-pie.c : Handle rings
7855
78562003-06-27  Jody Goldberg <jody@gnome.org>
7857
7858	* graph/gog-plot.c (gog_plot_set_property) : don't allow setting
7859	  vary_style_by_element if the plot does not permit it in the current
7860	  state.
7861	(gog_plot_get_property) : be anal.
7862
7863	* graph/plugins/plot_barcol/gog-barcol.c
7864	(gog_barcol_supports_vary_style_by_element) : new.
7865
78662003-06-27  Jody Goldberg <jody@gnome.org>
7867
7868	* graph/gog-plot-impl.h : Add GogPlotClass::supports_vary_by_element
7869
78702003-06-26  Morten Welinder  <terra@gnome.org>
7871
7872	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
7873	Fix gradients.
7874
78752003-06-25  Jody Goldberg <jody@gnome.org>
7876
7877	* graph/gog-plot-engine.c (gog_plot_type_service_finalize) : still
7878	  incomplete, but the lists definitely need to be freed.
7879
78802003-06-25  Jody Goldberg <jody@gnome.org>
7881
7882	* graph/gog-data-allocator.c (gog_dataset_get_type) : fix
7883	  cut-n-paste-o.
7884
78852003-06-25 Jean Brefort <jean.brefort@ac-dijon.fr>
7886
7887	* graph/gog-renderer-gnome-print.c: use alpha channel when
7888	  printing gradients
7889
78902003-06-20    Jean Brefort <jean.brefort@ac-dijon.fr>
7891
7892	* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_polygon):
7893	  unref the pixmaps
7894
78952003-06-22  Jody Goldberg <jody@gnome.org>
7896
7897	* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_set_property) : vary
7898	  style by element handled in plot now.
7899	(gog_pie_plot_get_property) : ditto.
7900	(gog_pie_plot_cardinality) : deleted.
7901	(gog_pie_plot_foreach_elem) : doh!  USe the label we just calculated.
7902	(gog_pie_view_render) : implement general extracted slices.
7903
7904	* graph/gog-theme.c (gog_theme_get_name) : new util.
7905
7906	* graph/gog-style.c : Implement the hooks for serialization but have
7907	  not actually written them yet.
7908
7909	* graph/gog-series.c (gog_series_editor) : add a notebook wrapper to
7910	  allow changing style and data.
7911	(gog_series_init) : set GogObject::use_parent_as_proxy flag.
7912	(gog_series_dataset_dims) new.
7913
7914	* graph/gog-plot.c (gog_plot_set_property) : handle the
7915	  'vary_style_by_element' at this level.
7916	(gog_plot_get_cardinality) : ditto.
7917
7918	* graph/gog-object.c (gog_object_emit_changed) : Add
7919	  'use_parent_as_proxy' utility to make life easier for things like
7920	  series that will not have individual views.  This will fire a
7921	  changed signal from their plots.
7922
7923	* graph/gog-legend.c (gog_legend_parent_changed) : new.  ensure we get
7924	  updated when chart cardinality changes.
7925	(gog_legend_update) : new.
7926
7927	* graph/gog-label.c (gog_label_editor) : fix.
7928	(gog_label_class_init) : fix.
7929	(gog_label_dims) : added to handle the extension to dataset interface.
7930
7931	* graph/gog-guru.glade : remove frame wrapping the prop notebook.
7932
7933	* graph/gog-guru.c (prop_notebook_set_current_page) : new util.
7934	  to cleanup the handling of prop pages.  Only show the border if the
7935	  prop page is not a notebook.  This keeps the layout visually
7936	  similar in both cases.
7937	(cb_select_prop_page) : use it here.
7938	(cb_attr_tree_selection_change) : and here.
7939	(graph_guru_type_selector_new) : remove the useless notebook wrapping
7940	  the type selector.  It gives us more space and forces an initial
7941	  selection.
7942
7943	* graph/gog-graph.c (gog_graph_set_property) : add a 'theme-name'
7944	  property to facilitate serialization.
7945
7946	* graph/gog-data-allocator.c (gog_dataset_dims) : extension to the
7947	  dataset interface to facilitate serialization.
7948
7949	* graph/gog-chart.c (gog_chart_get_property) : new.  Needed a way to
7950	  signal that the cardinality had changed, and a read only property
7951	  with a notify handler seemed cleaner than a stand alone signal.
7952	  Looking back at that decision, it seems ugly.  Might revisit this
7953	  later.
7954
7955	* graph/gog-axis.c : hook up the dataset interface to prepare for
7956	 serializing all the flags.
7957
7958	* graph/go-data-impl.h (GOData) : extend interface to require a
7959	  'from_str' operation to allow serialization to xml.
7960	* graph/go-data.c (go_data_from_str) : wrapper.
7961
7962	* graph/Makefile.am : Add gog-object-xml.[ch]
7963
79642003-06-14    Jean Brefort <jean.brefort@ac-dijon.fr>
7965
7966	* graph/gog-style.c (gog_style_editor): move a bad placed g_signal_connect
7967	* graph/gog-style.c (gog_style_copy): duplicate filename if useful
7968	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
7969	  added missing white spaces (purely cosmetic)
7970	* graph/gog-renderer-pixbuf.c (go_color_to_artpix): removed static
7971	* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_polygon):
7972	  added image and gradient support
7973
79742003-06-13  Jon K Hellan  <hellan@acm.org>
7975
7976	* graph/gog-style.c (gog_style_editor) : Use the new
7977	color_combo_set_instant_apply flag.
7978
79792003-06-12  Jody Goldberg <jody@gnome.org>
7980
7981	* graph/goffice-graph.h : remove POSITION_FILL
7982	  It does no good to have random thought experiments floating around.
7983
79842003-06-12  Jody Goldberg <jody@gnome.org>
7985
7986	* graph/gog-guru.c (graph_guru_type_selector_new) : add an accelerator
7987	  for the plot family selector.
7988
79892003-06-10  Jody Goldberg <jody@gnome.org>
7990
7991	* graph/gog-view.c (gog_view_size_allocate) : Use the new debug macro.
7992	(cb_model_changed) : ditto.
7993	* graph/gog-object.c (gog_object_update) : and here.
7994
7995	* graph/goffice-graph.h : Add trivial d() debugging macro so that
7996	  normal folk don't get deluged with debug spew.
7997	* graph/lib.c : store goffice_graph_debug_level here.
7998
7999	* graph/gog-renderer-gnome-print.c * (gog_renderer_gnome_print_draw_text) :
8000	  implement trivial version.  Need to decide how to handle fonts.
8001
80022003-06-10  Jody Goldberg <jody@gnome.org>
8003
8004	* graph/plugins/plot_pie/gog-pie.c (gog_pie_series_update) :
8005	  handle series before they are valid.
8006	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_series_update) : ditto.
8007
8008	* graph/gog-object.c (gog_object_set_parent) : call the role's
8009	  post_add routine then objects parent_changed before signaling its
8010	  addition.
8011	(gog_object_add_by_role) : set_parent calls the role functions, not us.
8012
80132003-06-07    Jean Brefort <jean.brefort@ac-dijon.fr>
8014
8015	* graph/gog-style.c (gog_style_editor) :
8016	* graph/gog-style.h (struct _GogStyle) :
8017	* graph/gog-style-prefs.glade :
8018	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) : Start work on image
8019
80202003-06-07  Jody Goldberg <jody@gnome.org>
8021
8022	* Release 1.1.19
8023
80242003-06-07  Jody Goldberg <jody@gnome.org>
8025
8026	* Release 1.1.18
8027
80282003-06-07  Jody Goldberg <jody@gnome.org>
8029
8030	* graph/gog-view.c (gog_view_queue_resize) : invalidate the allocation
8031	  too if there is no parent.
8032
80332003-06-06  Jody Goldberg <jody@gnome.org>
8034
8035	* graph/gog-chart.c (gog_chart_set_position) : simplify.
8036	* graph/gog-graph.c (gog_graph_validate_chart_layout) : new.
8037
8038	* graph/gog-guru.c (cb_sample_pressed) : set the zoom here.
8039	(cb_sample_released) : and unset it here so that the icons don't get
8040	  shrunk.
8041
80422003-06-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
8043
8044	* graph/gog-style.h: Fixed include of command-context.h to make it work
8045	for builds outside the source dir.
8046
80472003-06-04  Jody Goldberg <jody@gnome.org>
8048
8049	* graph/gog-object.c (gog_object_generate_name) : return NULL, not FALSE
8050
80512003-06-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
8052
8053	* graph/gog-guru.h: Fixed include of command-context.h to make it work
8054	for builds outside the source dir.
8055
80562003-06-02  Jody Goldberg <jody@gnome.org>
8057
8058	* graph/gog-legend.c (cb_render_elements) : quick and dirty draw the
8059	  text.  Still lots of work needed to measure things properly and do a
8060	  more dynamic layout.
8061
8062	* graph/gog-guru.c (cb_typesel_sample_plot_resize) : use the canvas zoom
8063	(cb_sample_plot_resize) : ditto.
8064	(graph_guru_init_format_page) : ditto.
8065	(graph_guru_type_selector_new) : ditto.
8066
8067	* graph/gog-renderer-pixbuf.c (make_layout) : new.
8068	(gog_renderer_pixbuf_draw_text) : new. simple handler no rotation yet.
8069	(gog_renderer_pixbuf_measure_text) : new.
8070	(gog_art_renderer_new) : new utility.
8071	(gog_renderer_pixbuf_draw_polygon) : used here.
8072
8073	* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : another
8074	  speed up by using regions rather tha nthe bounding rect of the expose.
8075	  Thanks to AlexL for pointing out that this will help us when
8076	  multiple exposes are compressed into 1 event and we do better to
8077	  clip against the distinct sub regions, than the bounding box of all
8078	  of them.
8079	(gog_control_foocanvas_update) : make life easier and pass the zoom to
8080	  the renderer.
8081
80822003-06-02  Jody Goldberg <jody@gnome.org>
8083
8084	* graph/gog-style.c : minor warning suppression and format style
8085	  tidying.
8086
80872003-06-01  Jean Brefort <jean.brefort@ac-dijon.fr>
8088	* graph/gog-style.h : new gradient styles,
8089		fill type accessible only if GOG_STYLE_FILL is used
8090	* graph/gog-style.c : Enhanced gradient selector
8091	* graph/gog-renderer-pixbuf.c : Support for new gradient types
8092	* graph/gog-themes.c : Top to bottom gradient in Guppi theme
8093
80942003-05-31  Jody Goldberg <jody@gnome.org>
8095
8096	For Jean Brefort <jean.brefort@ac-dijon.fr>
8097	* graph/gog-style.c (gog_style_editor) : Start work on gradient
8098	  selector.
8099
81002003-05-31  Jody Goldberg <jody@gnome.org>
8101
8102	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) : fix
8103	  canvas warnings about tryingto queue an update from an update
8104	  handler.
8105
81062003-05-30  Jody Goldberg <jody@gnome.org>
8107
8108	* graph/gog-theme.c (gog_themes_init) : make default them fill legend
8109	  with white.
8110
8111	* graph/plugins/plot_barcol/gog-barcol.c (barcol_draw_rect) : smooth
8112	  the anti-aliasing fuzziness in the libart backend for hairline
8113	  outlines.
8114
8115	* graph/gog-chart.c (gog_chart_view_size_allocate) : support
8116	  positions of NE, NW, SE, SW so that we can handle XL's 'corner'
8117	  legends.
8118
8119	* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : big
8120	  speed win.  Only draw the piece of the chart that was exposed.
8121
8122	* graph/gog-plot.c (gog_plot_request_cardinality_update) : we may add
8123	  a series before assigning to a chart.
8124
8125	* graph/gog-theme.c (gog_themes_init) : default and guppi themes were
8126	  inverted for legends.
8127
8128	* graph/gog-chart.c (gog_chart_class_init) : default to centering
8129	  legends.
8130
81312003-05-30  Jody Goldberg <jody@gnome.org>
8132
8133	* graph/gog-chart.c (gog_chart_view_render) : re-enable.
8134
8135	* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) :
8136	  When the scale changes size requests are invalidated.
8137
8138	* graph/gog-renderer.c (gog_renderer_invalidate_size_requests) : new.
8139	* graph/gog-view.c (gog_view_invalidate_sizes) : new.
8140
8141	* graph/gog-legend.c (gog_legend_view_render) : typo.  pad is in Y
8142	  coordinates.
8143
8144	* graph/gog-plot.c (role_series_post_add) : adding a series changes
8145	  the cardinality.
8146	(role_series_pre_remove) : ditto.
8147	(gog_plot_update) : delete.  Already handled at the chart level.
8148	(gog_plot_init) : Make sure cardinailty is initially valid so that we
8149	  queue an an update request as necessary when it really
8150	  does change.
8151
8152	* graph/gog-chart.c (gog_chart_view_size_allocate) : support the
8153	  alignment flags and enforce clipping.
8154	(role_plot_post_add) : adding a plot changes the cardinality.
8155	(role_plot_pre_remove) : ditto.
8156	(gog_chart_init) : Make sure cardinailty is initially valid so that we
8157	  queue an an update request as necessary when it really
8158	  does change.
8159
81602003-05-29  Jody Goldberg <jody@gnome.org>
8161
8162	* graph/gog-renderer.c (gog_renderer_outline_size) : keep widths >= 1
8163
8164	* graph/plugins/plot_barcol/gog-barcol.c (barcol_draw_rect) : clip to
8165	  integer sizes to decrease amount of bleed through due to antialiasing.
8166
81672003-05-27  Jody Goldberg <jody@gnome.org>
8168
8169	* graph/gog-legend.c : make the swatch sizes properties.
8170
8171	* graph/gog-guru.c (cb_typesel_sample_plot_resize) : fix sizing.
8172	(cb_sample_plot_resize) : ditto.
8173
8174	* graph/gog-renderer.c (gog_renderer_set_property) : doh!
8175	  set the values if they are _different_ not the same.
8176
81772003-05-26  Jody Goldberg <jody@gnome.org>
8178
8179	* graph/gog-guru.c (graph_guru_set_page) : we can't run the
8180	  typeselector without a chart selected.
8181	(cb_graph_guru_add_plot) : the child_added handler already populates
8182	  things.
8183	(cb_find_child_added) : It may happen that something else will add an
8184	  item while we're editing, and the change of focus may not be
8185	  welcome,  However, it is far more likely that we just added it.
8186
8187	* graph/gog-object.c (gog_object_is_deletable) : don't let the guru
8188	  delete the top level graph.
8189
8190	* graph/gog-guru.glade : Add border to the menu bar to align it with
8191	  the scrolled window.
8192	Add a 'Precedence' menu.
8193
81942003-05-25  Jody Goldberg <jody@gnome.org>
8195
8196	The code is in CVS time to start keeping a changelog.
8197