1 2005-11-14 Jody Goldberg <jody@gnome.org>
5 2005-11-14 Jody Goldberg <jody@gnome.org>
7 The rest of the Maemo port.
8 From eduardo.lima@indt.org.br
9 http://bugzilla.gnome.org/show_bug.cgi?id=321073
11 * src/gnumeric-canvas.c
14 * src/sheet-control-gui.c
17 * src/workbook-control-gui-priv.h
18 * src/workbook-control-gui.c : Merge the remaining Maemo/Hildon patches.
20 2005-11-14 Jody Goldberg <jody@gnome.org>
22 * configure.in : bump goffice req to 0.1.2 to get morten's fix.
23 Add a < 0.2.0 to avoid problems when we branch.
24 Disable the DEPRECATED warnings in the stable release.
26 2005-11-13 Jody Goldberg <jody@gnome.org>
28 * src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : we weren't
29 extending while at the very top.
30 (cb_vscrollbar_adjust_bounds) : ditto.
32 2005-11-13 Jean Brefort <jean.brefort@normalesup.org>
34 * src/gnumeric-canvas.c: (gnm_canvas_key_press),
35 (gnm_canvas_commit_cb): use localized decimal separator [#80139].
36 * src/gnumeric-canvas.h:
37 * src/widgets/gnumeric-expr-entry.c: (cb_gee_key_press_event): ditto.
39 2005-11-10 Morten Welinder <terra@gnome.org>
41 * src/application.c (gnumeric_application_finalize): Free
42 ->clipboard_cut_range.
44 2005-11-06 Jody Goldberg <jody@gnome.org>
46 * src/GNOME_Gnumeric-gtk.xml.in : Include menu item for R1C1
48 2005-11-05 Jody Goldberg <jody@gnome.org>
50 * src/xml-io.c : Delete the original DOM based export. The pseudo-sax
51 based variant is faster and lighter and there's not much point in
52 maintaining two code bases.
54 * src/gnm-so-filled.c (gnm_so_filled_write_xml_dom) : delete.
55 * src/gnm-so-line.c (gnm_so_line_write_xml_dom) : delete.
56 * src/gnm-so-polygon.c (gnm_so_polygon_write_xml_dom) : delete.
57 * src/sheet-object-cell-comment.c (cell_comment_write_xml_dom) : delete.
58 * src/sheet-object-image.c (sheet_object_image_write_xml_dom) : delete.
59 * src/sheet-object-widget.c
60 (sheet_widget_frame_write_xml_dom) : delete.
61 (sheet_widget_button_write_xml_dom) : delete.
62 (sheet_widget_adjustment_write_xml_dom) : delete.
63 (sheet_widget_checkbox_write_xml_dom) : delete.
64 (sheet_widget_list_base_write_xml_dom) : delete.
65 * src/sheet-object-graph.c (sheet_object_graph_write_xml_dom) : delete.
66 (sheet_object_graph_prep_xml_sax) : new.
67 (sog_xml_finish) : new.
68 (sheet_object_graph_write_object) : use the sax interface.
70 * src/xml-sax-read.c (xml_sax_wb) : ICK. We are actually dependent on
71 the prefix for the namespace. The change from gmr -> gnm broke the
72 version test here. Add gnm to fix it.
73 (xml_sax_wb_sheetname) : be more flexible and only create a sheet if
75 (xml_sax_object_start) : implement.
77 2005-11-02 Jody Goldberg <jody@gnome.org>
79 * src/sheet-autofill.c : remove the i18n flags for string lists as far
80 as I can tell they were always true.
81 (type_is_compatible) : an item might be in
82 multiple lists. Check that the current item is in the previous list
83 or that the previous item is in the current list.
85 2005-10-25 Jody Goldberg <jody@gnome.org>
87 * src/sheet-filter.c (collect_unique_elements) : yes that is the type
88 of equality and hash we want. Remove the warning.
90 2005-11-01 Morten Welinder <terra@gnome.org>
92 * src/main-application.c: Move include of popt stuff here. It has
93 no business in libgnumeric.h
95 2005-11-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
97 * README: Updated list archives URL (Debian #336699).
99 2005-11-01 Stepan Kasal <kasal@ucw.cz>
101 * src/sheet-filter.c, src/xml-io.c, src/tools/analysis-tools.c:
102 #include <stdlib.h>, for the qsort() prototype.
103 * src/gnumeric-gconf.c: In the non-gconf case, #include glib/gstdio.h.
105 2005-10-31 Morten Welinder <terra@gnome.org>
107 * src/gnumeric-gconf.c: Implement non-gconf case, see #310354.
108 (Patch from Allin Cottrell.)
110 2005-10-24 Morten Welinder <terra@gnome.org>
112 * src/func.c (function_dump_defs): Describe args too.
114 2005-10-24 Morten Welinder <terra@gnome.org>
116 * src/func.c (function_dump_defs): Do the minimum for the new
119 2005-10-23 Jody Goldberg <jody@gnome.org>
121 * src/parse-util.c (r1c1_rangeref_parse) : cut-n-paste-o
122 (r1c1_get_index) : == max is ok, we're about to decrement.
124 * src/parser.y (yylex) : special case check for #N/A which does not
126 (cellref) : Allow RANGEREF : RANGEREF
128 2005-10-15 Jody Goldberg <jody@gnome.org>
130 * src/wbcg-actions.c (cb_format_general) : Fix fmt accelerators.
131 ctrl-~ == general not number
132 ctrl-! == number not accounting
134 * src/gnm-format.c (format_value_gstring) : Use the last element as a
135 catch all. eg [>10][Blue]0;0 will fmt 1 in black even though it's
136 implicit condition is <0
138 * src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
141 2005-10-12 Stepan Kasal <kasal@ucw.cz>
143 * configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
144 1.12.x cannot be used in combination with libgsf >= 1.13.2 anyway.
145 * README: Sync all version requirements with configure.in.
147 2005-10-10 Morten Welinder <terra@gnome.org>
149 * src/stf.c (csv_tsv_probe): Fix a pile of content-probe issues.
151 Handle empty csv files sanely.
153 2005-10-10 Jody Goldberg <jody@gnome.org>
155 * src/xml-io.c (xml_sheet_read) : xml_node_get_bool returns TRUE on
156 success. Only set the value if we have one. The other code is
157 reading directly into the value and setting it to a constant on
160 2005-10-10 Jody Goldberg <jody@gnome.org>
162 * configure.in : post release bump
164 2005-10-10 Jody Goldberg <jody@gnome.org>
168 2005-10-10 Jody Goldberg <jody@gnome.org>
170 * configure.in : bump gsf req to avoid breakage in 1.13.1
172 2005-10-10 Morten Welinder <terra@gnome.org>
174 * src/mathfunc.c (pdhyper): Avoid infinite loop for NB==0, n==x.
175 NOTE: Changed directly in genereated code.
177 2005-10-08 Jody Goldberg <jody@gnome.org>
179 * src/cellspan.c (cell_calc_span) : numbers can span when centered
180 across selection. [Debian #286131]
182 2005-10-07 Jody Goldberg <jody@gnome.org>
184 * src/style-border.c (style_borders_row_draw) : more rtl fixage.
185 (style_borders_row_print) : ditto.
187 2005-10-07 Morten Welinder <terra@gnome.org>
189 * src/xml-sax-write.c (xml_write_summary): Save all the summary
190 items, not N copies of the first. [#318254]
192 2005-10-06 Jean Brefort <jean.brefort@normalesup.org>
194 * src/gnumeric-pane.c: (build_so_menu): localize all menu items [#318042].
195 * src/sheet-autofill.c: (in_list), (autofill_cell): use localized days
196 and months names when autofilling [#318043].
198 2005-10-06 Jody Goldberg <jody@gnome.org>
200 * src/style-conditions.c (gnm_style_conditions_eval) : whip up the
202 * src/print-cell.c (print_merged_range) : support conditional styles
204 * src/item-grid.c (item_grid_draw_merged_range) : ditto.
206 2005-10-06 Jody Goldberg <jody@gnome.org>
208 http://bugzilla.gnome.org/show_bug.cgi?id=317806
209 * src/dependent.c (cb_single_contained_collect) : do not collect
210 dynamic depends they may get cleared.
211 (cb_range_contained_collect) : ditto.
213 2005-10-04 Jody Goldberg <jody@gnome.org>
215 * src/Makefile.am : libspreadsheet_la_LDFLAGS is already defined use
218 2005-10-04 Jody Goldberg <jody@gnome.org>
220 * src/func-builtin.c (gnumeric_table_link) : finish
221 * src/dependent.c (link_expr_dep) : take an EvalPos rather than just a
222 dep so that we can pass around array bound details.
224 2005-10-02 Jody Goldberg <jody@gnome.org>
226 * src/ranges.c (range_intersection) : return FALSE if the ranges do
227 not overlap, but do not generate an error.
228 formula_import_biff8.xls
230 * src/gnumeric-pane.c (gnm_pane_init) : Use a realize handler on the
231 canvas to create the object views. Doing it sooner can break
232 because the canvas has not been attached to a container yet.
233 test-xls/prislistekomplett.xls
235 * src/workbook-control-gui.c (wbcg_sheet_add) : only grab focus if we
236 are the current sheet.
237 samples/derivatives.gnumeric
239 * src/xml-sax-read.c : Move to new libgsf xml interface.
240 Support un-namespaced variant of Name for compatibility.
242 http://bugzilla.gnome.org/show_bug.cgi?id=317427
243 * src/parse-util.c (gnm_1_0_rangeref_as_string) : new stripped down
244 variant of rangeref_as_string.
245 * src/xml-sax-write.c (xml_io_conventions) : use it here.
246 * src/xml-io.c (xml_io_conventions) : and here.
248 * src/style.c (required_updates_for_style) : add super/sub script
250 2005-10-01 Stepan Kasal <kasal@ucw.cz>
252 * src/Makefile.am (libspreadsheet_la_LDFLAGS): Add a -release flag,
253 that says that there is no compatibility between releases.
255 2005-09-28 Morten Welinder <terra@gnome.org>
257 * src/xml-io.c (xml_read_names): Check whether the expression is
258 NULL, not whether the exp function pointer is.
259 (xml_workbook_read): Setup context earlier.
260 (xml_read_names): Work around bug 317427.
262 2005-09-28 Jean Brefort <jean.brefort@normalesup.org>
264 * src/graph.c: (gnm_go_data_set_sheet): unlink dependent if necessary
265 before setting the sheet.
267 2005-09-28 Jean Brefort <jean.brefort@normalesup.org>
269 * src/graph.c: (gnm_go_data_dup): set the sheet of the dep with a
270 call to dependent_set_sheet.
272 2005-09-26 Jody Goldberg <jody@gnome.org>
274 * src/gnm-style-impl.h : Add a script element to GnmStyle
275 * src/mstyle.c (elem_is_eq) : support scripts
276 (elem_assign_content) : support scripts
277 (gnm_style_new_default) : support scripts
278 (gnm_style_get_pango_attrs) : support scripts
279 (gnm_style_dump) : support scripts
280 (gnm_style_set_font_script) : new.
281 (gnm_style_get_font_script) : new.
283 * src/GNOME_Gnumeric-gtk.xml.in : Add the super/sub script
286 * gnumeric.xsd : update to include the new h/v alignments and to add
289 * src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script
290 and fix support for double underline
292 * src/wbcg-actions.c (toggle_font_attr) : support super/sub script
293 (cb_font_subscript) : new.
294 (cb_font_superscript) : new.
296 * src/xml-io.c (xml_write_style) : ditto.
297 (xml_read_style) : ditto.
298 * src/xml-sax-read.c (xml_sax_styleregion_font) : ditto.
299 * src/xml-sax-write.c (xml_write_gnmstyle) : ditto.
301 2005-09-27 Morten Welinder <terra@gnome.org>
303 * src/position.c (eval_pos_init_dep): Fix typo.
305 2005-09-26 Jody Goldberg <jody@gnome.org>
307 * src/workbook-control-gui.c (show_gui) : protection against scg == NULL
308 Wallenbach-Formulas2003/chap17/thermometer chart.xls
309 (disconnect_sheet_signals) : no need to warn when shutting down hidden
312 * src/format-template.c (gnm_auto_fmt_filter_edges) : This is not
313 correct, but at least it no longer causes a crash. Rework things to
314 rationalize the handling of edges at some point in the future.
316 * src/mstyle.c (gnm_style_set_shrink_to_fit) : cut-n-paste-o that
317 would erase wrap text with shrink to fit.
318 (gnm_style_get_shrink_to_fit) : ditto.
320 2005-09-24 Jody Goldberg <jody@gnome.org>
322 * src/sheet-control-gui.c (resize_pane_pos) : handle motion in frozen
324 (sheet_control_gui_new) : use a blank label as a space rather than a
325 scrollbar. Emmanuel's idea seems more consistent with frozen panes
326 than reseting the pane.
327 (set_resize_pane_pos) : new utility to calculate the desired pane
328 position and block the signal.
329 (resize_pane_finish) : renamed from cb_resize_pane_finish to be more
330 consistent. Round the pane position to the col/row bound using
332 (scg_set_panes) : position the resize panes. Change the behavior not
333 to short circuit if the freeze status is unchanged. This seems safe
334 and makes sue that set_resize_pane_pos is called.
336 * src/dependent.c : warning suppression.
338 2005-09-22 Jody Goldberg <jody@gnome.org>
340 * src/selection.c (sv_selection_to_plot) : Use the total number of
341 rows and cols to decide row vs col major. Using just the first
342 range had the potential for problems with a singleton followed by a
345 http://bugzilla.gnome.org/show_bug.cgi?id=314867
346 * src/dependent.c (workbook_recalc) : queue an update to the auto
349 2005-09-20 Jody Goldberg <jody@gnome.org>
351 * src/position.c : Add some gnm_ to the api.
352 (gnm_cellref_set_col_ar) : new
353 (gnm_cellref_set_row_ar) : new.
355 2005-09-20 Morten Welinder <terra@gnome.org>
357 * src/cell-draw.c: Don't use gdk_draw_layout_with_colors -- it
358 breaks rich text. (We might be able to use it if we can somehow
359 deduce that rich text is not present, but that is a patch for
360 later.) Unset clip explicitly in the rotation case.
362 2005-09-19 Jody Goldberg <jody@gnome.org>
364 http://bugzilla.gnome.org/show_bug.cgi?id=316597
365 * src/cell-draw.c (cell_draw) : gtk-2.8 clips more vigorously.
366 Don't clip at all for rotation rather than setting a clip of
369 2005-09-18 Stepan Kasal <kasal@ucw.cz>
371 * configure.in: Fix the way GCONF_SCHEMAS_INSTALL is set.
372 Update obsolete macros.
374 2005-09-17 Jody Goldberg <jody@gnome.org>
376 * src/gnumeric-canvas.c (gnm_canvas_key_press) : add a quick guard
377 around gtk_im_context_reset to avoid starting an edit for no reason.
379 2005-09-16 Jody Goldberg <jody@gnome.org>
381 * src/sheet.c (sheet_destroy_contents) : destroy filters and pivots
382 before remaining objects. Those are higher order objects and may
383 contain objects themselves. [#316533]
385 2005-09-15 Jody Goldberg <jody@gnome.org>
387 * src/func-builtin.c (gnumeric_table_link) : new incomplete.
388 (gnumeric_table_unlink) : new incomplete.
389 (gnumeric_table) : implement 1d iteration.
391 2005-09-15 Jody Goldberg <jody@gnome.org>
393 * src/workbook-control-gui.c (wbcg_is_local_drag) : new.
394 (cb_wbcg_drag_motion) : check for object drags here.
395 (cb_wbcg_drag_leave) : here.
396 (cb_wbcg_drag_data_received) : and here.
397 (wbcg_set_toplevel) : include the local object targets.
399 * src/gnumeric-canvas.c (cb_obj_autoscroll) : new.
400 (gnm_canvas_object_autoscroll) : new. A kludge to get sheet objects
403 2005-09-15 Morten Welinder <terra@gnome.org>
405 * src/main-application.c (check_pango_attr_list_splice_bug): New
407 (main): Call check_pango_attr_list_splice_bug.
409 2005-09-13 Jody Goldberg <jody@gnome.org>
411 http://bugzilla.gnome.org/show_bug.cgi?id=316026
412 * src/sheet-control-gui.c (drag_object) : type 8 movement (sliding
413 full object) in rtl mode should snap coord 2, the right side.
415 2005-09-13 Morten Welinder <terra@gnome.org>
417 * src/dependent.c (dep_hash_destroy): Don't start changing
418 dependencies until we are done looking at containers.
420 2005-09-10 Stepan Kasal <kasal@ucw.cz>
422 * src/main-application.c (main): Change the type of variable "args"
423 to "gchar const **", call go_shell_argv_to_glib_encoding_free at
425 * src/ssconvert.c, src/ssindex.c: Likewise.
426 * configure.in: Require goffice 0.1.0.
428 * src/workbook.c (workbook_sheet_state_diff): It seems that the last
429 chunk of the change from 2005-08-27 was a mistake. Remove it.
431 2005-09-09 Jody Goldberg <jody@gnome.org>
433 * src/dependent.c (link_expr_dep) : honor new DEPENDENT_IGNORE_ARGS
434 flag which instructs the linker not to depend on the arguments to
437 2005-09-08 Jody Goldberg <jody@gnome.org>
439 * configure.in : post release bump, prep for 1.6.0
441 2005-09-08 Jody Goldberg <jody@gnome.org>
445 2005-09-08 Jody Goldberg <jody@gnome.org>
447 * src/GNOME_Gnumeric-gtk.xml.in : remove 'EditMetaData' it is not
450 2005-09-05 Jody Goldberg <jody@gnome.org>
452 * src/expr.c (gnm_expr_is_data_table) : move this out of the xls
455 2005-09-05 Stepan Kasal <kasal@ucw.cz>
457 * src/gnm-so-polygon.c, COPYING: Update FSF's address.
459 2005-09-05 Jody Goldberg <jody@gnome.org>
461 * src/workbook-edit.c (wbcg_edit_start) : no need to do the selection
462 magic here. We now over ride 'gtk-entry-select-on-focus' in the
465 2005-09-05 Jody Goldberg <jody@gnome.org>
467 * src/wbcg-actions.c (cb_data_import_text) : s/druid/assistant/ [#311998]
469 2005-09-04 Jody Goldberg <jody@gnome.org>
471 * src/gnumeric-canvas.c (gnm_canvas_key_press) : only ignore keyboard
472 events for normal mode. objects still accept escape [#314866]
473 * src/gnumeric-pane.c (cb_control_point_event) : ignore other buttons
476 2005-09-04 Jody Goldberg <jody@gnome.org>
478 * src/graph.c (gnm_go_data_scalar_as_str) : remove. This was intended
479 as a fix for #152317. Unfortunately it ended up breaking two other
480 things. xml persistence could not tell if something was a string or
481 an expression. User input would not be quoted. A more functional
482 solution is to push this logic down into the xls exporter.
484 2005-09-02 Jody Goldberg <jody@gnome.org>
486 * src/number-match.c : Make DEBUG_NUMBER_MATCH compile again.
487 (format_match_init) : Ignore fmt elements that contain '@'
489 2005-09-01 Morten Welinder <terra@gnome.org>
491 * src/gnumeric-pane.c (gnm_pane_display_obj_size_tip): Make the
492 tooltips use "www x hhh" format.
494 2005-08-29 Jody Goldberg <jody@gnome.org>
496 * configure.in : bump goffice req
498 2005-08-27 Jody Goldberg <jody@gnome.org>
500 * src/workbook.c (workbook_dispose) : Looks like this patch got
501 munged. Make it sane.
503 2005-08-29 Stepan Kasal <kasal@ucw.cz>
505 * src/ssconvert.c (convert): If output file name was not given,
506 don't call go_shell_arg_to_uri. Without gnome, this caused a segfault.
508 2005-08-28 Morten Welinder <terra@gnome.org>
510 * configure.in: Post release bump.
512 2005-08-28 Morten Welinder <terra@gnome.org>
516 2005-08-28 Morten Welinder <terra@gnome.org>
518 * configure.in: Post release bump.
520 2005-08-28 Morten Welinder <terra@gnome.org>
524 2005-08-26 Morten Welinder <terra@gnome.org>
526 * src/print.c (dialog_response): Reset page count. [#314520]
528 2005-08-25 Stepan Kasal <kasal@ucw.cz>
530 * src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
531 (nodist_test_pango_SOURCES, nodist_gnumeric_component_SOURCES): Nuke,
532 they only referred to nodist_gnumeric_SOURCES, which no longer exists.
533 (UNUSED): Remove, this hack is no longer needed.
535 2005-08-24 Stepan Kasal <kasal@ucw.cz>
537 * src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
538 * src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
541 2005-08-23 Morten Welinder <terra@gnome.org>
543 * src/workbook-edit.c (set_cur_fmt): Split out.
544 (cb_entry_cursor_pos): From here.
545 (cb_entry_cursor_pos): use set_cur_fmt. Fixes #314209.
547 * src/dependent.c (dep_hash_destroy): Another case of
548 don't-muck-with-the-hash-you-are-iterating-over.
550 2005-08-21 Jody Goldberg <jody@gnome.org>
552 * src/workbook.c (workbook_sheet_attach_at_pos) : don't signal until
553 after the controls have been added. [#314208]
555 2005-08-21 Jody Goldberg <jody@gnome.org>
557 * src/mstyle.c (gnm_style_equal) : MSTYLE_COLOR_BACK == 0 now, there
558 is no longer an invalid entry at 0 with back at 1.
559 (gnm_style_equal_XL) : ditto.
561 * src/sheet-style.c (cb_style_list_add_node) : improve the debugging.
563 2005-08-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
565 * src/commands.c (cmd_object_raise_redo): pull_to_front and
566 pull_forward actions were inverted.
568 2005-08-17 Morten Welinder <terra@gnome.org>
570 * src/workbook-view.c (wbv_save_to_uri): Only close the output
571 handle if it is not already closed. (msole closes its sink.)
573 2005-08-15 Morten Welinder <terra@gnome.org>
575 * configure.in: Post release bump
577 2005-08-15 Morten Welinder <terra@gnome.org>
581 2005-08-15 Jean Brefort <jean.brefort@normalesup.org>
583 * src/workbook-control-gui.c: (cb_graph_dim_editor_update): unref the
586 2005-08-12 Morten Welinder <terra@gnome.org>
588 * src/dependent.c (cb_dep_hash_destroy): Fix crashes related to
589 changing a dependency container while we are looping over it.
592 * src/sheet.c (sheet_finalize): Free ->sheet_views at the end
593 because sheet_scrollbar_config as called via object removal can
596 2005-08-12 Jody Goldberg <jody@gnome.org>
598 * src/sheet.c (sheet_destroy_contents): Move sheet object
600 (sheet_finalize): From here.
602 2005-08-12 Morten Welinder <terra@gnome.org>
604 * src/sheet-object-widget.c
605 (sheet_widget_radio_button_set_property): Fix warning.
607 2005-08-12 Jean Brefort <jean.brefort@normalesup.org>
609 * src/dialogs/dialog-about.c: (dialog_about): do not remove the
610 grid which does not exist anymore.
612 2005-08-11 Jean Brefort <jean.brefort@normalesup.org>
614 * configure.in: needs libgsf-1.12.2
615 * src/command-context-stderr.c: updated to new GSF_CLASS_FULL signature.
616 * src/gnm-plugin.c: ditto.
617 * src/gnm-so-filled.c: ditto.
618 * src/gnm-so-line.c: ditto.
619 * src/io-context-gtk.c: ditto.
620 * src/sheet-filter.c: ditto.
621 * src/sheet-object-cell-comment.c: ditto.
622 * src/sheet-object-graph.c: ditto.
623 * src/sheet-object-image.c: ditto.
624 * src/sheet-object-widget.c: ditto.
625 * src/widgets/gnumeric-expr-entry.c: ditto.
626 * src/workbook-control-gui.c: ditto.
627 * plugins/corba/corba-workbook.c: ditto.
628 * plugins/python-loader/python-loader.c: updated to new
629 GSF_DNAMIC_CLASS_FULL signature.
631 2005-08-11 Jody Goldberg <jody@gnome.org>
633 * src/gnm-so-polygon.c : split out of filled and re-enable It's not
634 optimal, and the persistence is broken, but it does display.
636 2005-08-09 Morten Welinder <terra@gnome.org>
638 * src/rendered-value.c (rendered_value_recontext): Fix the hack to
639 make printing look like screen. [#312912]
641 * src/workbook-view.c (wbv_save_to_uri): Close the file before
642 checking for errors. Part of fix for #312930.
644 2005-08-09 Rodrigo Moya <rodrigo@gnome-db.org>
646 * configure.in: require libgda/libgnomedb CVS HEAD.
648 2005-08-08 Morten Welinder <terra@gnome.org>
650 * src/ssindex.c: Fix typo. [#312823]
652 2005-08-08 Sunil Mohan Adapa <sunil@atc.tcs.co.in>
654 * configure.in: Added "te" to ALL_LINGUAS.
656 2005-08-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
658 * *: Updated FSF's address.
660 2005-08-07 Jody Goldberg <jody@gnome.org>
662 * src/main-application.c : Add --no-warnings
663 * src/io-context-gtk.c (icg_error_error_info) : use it.
665 2005-08-07 Jody Goldberg <jody@gnome.org>
667 * src/workbook.c (workbook_dispose) : do not free the uri until the
668 end to make debugging simpler.
669 (workbook_sheet_hide_controls) : hide just controls not views.
670 (cb_sheet_visibility_change) : restore just controls.
672 * src/style-color.c (style_color_new_gdk) : new.
673 * src/sheet-view.c (sv_get_control) : new.
674 * src/sheet.c (sheet_destroy) : move the object deletion from here.
675 (sheet_destroy_contents) : to here.
677 2005-08-04 Stepan Kasal <kasal@ucw.cz>
679 * src/Makefile.am (GNUMERIC_BASE): Add gnm-style-impl.h.
680 * src/file-autoft.c: Add a missing include.
682 * src/style-conditions.c (gnm_style_conditions_eval): Fix another
685 * src/ssindex.c: Fix two option descriptions.
687 2005-08-03 Jody Goldberg <jody@gnome.org>
689 * src/style-conditions.c (gnm_style_conditions_eval) : suppress a
690 warning and some debug spew.
692 2005-08-03 Stepan Kasal <kasal@ucw.cz>
694 * src/test-pango.c: Fix warnings.
696 2005-08-01 Jody Goldberg <jody@gnome.org>
698 * src/consolidate.c (retrieve_row_tree) : Ignore elements that have no
701 * src/workbook-edit.c (cb_entry_delete_text) : queue an update of the
702 edit items. This is a kludge. We should move to a centralized
703 dropdown rather than screwing with the selection. [#308303]
704 (wbcg_edit_start) : don't autocomplete while editing in the editline.
706 * src/sheet-object-image.c (sheet_object_image_new_view) : create the
707 image hidden. The bound_set. will fix it later. [#308301]
709 2005-07-29 Jody Goldberg <jody@gnome.org>
711 * src/graph.c (gnm_go_data_scalar_as_str) : New. be smarter about
712 constant strings. There's no need to quote them when they are the
713 entire expression. #152317
715 2005-07-27 Morten Welinder <terra@gnome.org>
717 * src/value.c (find_rows_that_match): Band-aid for 311567.
719 2005-07-26 Ivan, Wong Yat Cheung <email@ivanwong.info>
721 * src/style.c (style_font_new_simple): use
722 pango_font_description_copy() so that we store the exact
723 font description we pass to pango. Partially Fix #161027.
725 2005-07-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
727 * src/sheet-object-graph.c (sheet_object_graph_default_size): logical
728 size of graph is a property of GogGraph now.
730 2005-07-23 Jody Goldberg <jody@gnome.org>
732 Fix snap to grid for RTL mode.
733 * src/sheet-control-gui.c (snap_pos_to_grid) : handle RTL and scaling
735 (snap_to_grid) : merge into.
738 Fix object motion in RTL mode.
739 * src/gnumeric-canvas.c (gnm_canvas_window_to_coord) : new.
740 * src/gnumeric-pane.c (cb_pane_drag_data_received) : use it here.
741 (cb_gnm_pane_drag_motion) : and here.
743 2005-07-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
745 * src/gnumeric-gconf.c (go_conf_set_str_list, go_conf_get_str_list):
746 They didn't worked. Fix #308302.
748 2005-07-20 Morten Welinder <terra@gnome.org>
750 * src/mstyle.c (gnm_style_ref, gnm_style_unref): Add extra
753 * src/commands.c (cmd_format_repeat): Handle NULL style. Fixes
756 2005-07-18 Stepan Kasal <kasal@ucw.cz>
758 * src/libgnumeric.c: Remove double #include's.
760 2005-07-15 Jody Goldberg <jody@gnome.org>
762 * src/print-info.c : Add Andreas to the list of Authors.
763 (print_info_new) : Init the simple margins to -1 to signify unset.
765 (print_info_margin_copy) : delete.
766 (print_info_dup) : tidy up and handle the new flags.
767 (print_info_get_margins) : if a margin is negative (unset) return 0.
768 (print_info_set_n_copies) : delete.
769 (print_info_get_n_copies) : delete.
770 (print_info_set_orientation) : delete.
771 (print_info_get_orientation) : delete.
772 (print_info_make_config) : only set the margin in the print_config if
773 it is set. Rework the orientation enum into a pair of bools to be
775 (print_info_load_config) : ditto.
777 * src/gnumeric-gconf.c : s/right-then-down/across-then-down/ for RTL.
778 (gnm_gconf_set_print_order_across_then_down) : renamed from
779 gnm_gconf_set_print_order_right_then_down.
781 * gnumeric.xsd : margins are optional now.
783 2005-07-15 Jon K Hellan <hellan@acm.org>
785 * src/main-application.c (gnumeric_arg_parse): Call
786 gnome_authentication_manager_init.
788 2005-07-14 Jon K Hellan <hellan@acm.org>
790 * configure.in (set_more_warnings): Add -Wno-pointer-sign, which
791 silences the "pointer targets differ in signedness" warnings from
792 gcc as of version 4.0. Should probaby be turned on again at some
795 2005-07-11 Morten Welinder <terra@gnome.org>
797 * src/ssconvert.c (list_them): Cleanup.
799 * src/workbook-view.c (wb_view_new_from_uri, wbv_save_to_uri): Use
800 g_printerr, not g_print.
801 * src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
802 * src/workbook.c (workbook_dispose): ditto.
804 2005-07-05 Stepan Kasal <kasal@ucw.cz>
806 * .cvsignore: Replace "autom4te*.cache" by "autom4te.cache"
808 2005-07-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
810 * configure.in, README: Bumped the goffice requirement to get
811 GOG_MS_DIM_START, GOG_MS_DIM_END, GOG_MS_DIM_LOW, GOG_MS_DIM_HIGH.
813 2005-07-01 Jon K Hellan <hellan@acm.org>
815 * src/gui-clipboard.c (x_claim_clipboard): Plug leak.
817 2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
819 * src/sheet-object-graph.c: inlude locale.h,
820 (sheet_object_graph_write_object): fix a pointer compatibility warning.
822 2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
824 * src/gnumeric-pane.c: (gnm_pane_drag_begin): add support to copy/paste and
825 dnd charts to other apps.
826 * src/gnumeric.h: ditto.
827 * src/gui-clipboard.c: (graph_write), (x_clipboard_get_cb),
828 (x_claim_clipboard): ditto
829 * src/sheet-control-gui.c: ditto.
830 * src/sheet-object-graph.c: ditto.
831 (sheet_object_graph_get_object_target_list),
832 (sheet_object_graph_write_object), (sog_exportable_init):
833 * src/sheet-object-impl.h: ditto.
834 * src/sheet-object.c: (sheet_object_exportable_get_type),
835 (sheet_object_exportable_get_target_list),
836 (sheet_object_write_object): ditto.
837 * src/sheet-object.h: ditto.
839 2005-06-30 Morten Welinder <terra@gnome.org>
841 * src/workbook.c (workbook_sheet_rename_check,
842 workbook_sheet_change_protection,
843 workbook_sheet_change_visibility, workbook_sheet_recolor,
844 workbook_sheet_reorder_by_idx): Remove. No longer used.
846 * src/commands.c (command_redo_sheet_delete,
847 cmd_reorganize_sheets_delete_get_this_sheet_info,
848 cmd_reorganize_sheets_delete_shift_list,
849 cmd_reorganize_sheets_delete_get_all_sheets_info,
850 cmd_reorganize_sheets_delete_recreate_sheet,
851 cmd_reorganize_sheets_delete_free, cmd_reorganize_sheets_undo,
852 cmd_reorganize_sheets_redo, cb_slist_gdk_color_free,
853 cmd_reorganize_sheets_finalize, cmd_reorganize_sheets_fix_list,
854 cmd_reorganize_sheets): Remove. No longer used.
856 2005-06-28 Jody Goldberg <jody@gnome.org>
858 * src/style-conditions.c (gnm_style_conditions_overlay) : when
859 applying a conditional overlay with a background colour to a base
860 without a pattern pretend the pattern is solid.
862 2005-06-27 Morten Welinder <terra@gnome.org>
864 * src/wbcg-actions.c: No ellipsis to Full Screen.
866 2005-06-25 Jody Goldberg <jody@gnome.org>
868 * src/mstyle.c (gnm_style_dup) : no need to dup unassigned elements.
870 * src/gnm-style-impl.h, src/style-conditions.c, src/style-conditions.h:
873 2005-06-25 Jody Goldberg <jody@gnome.org>
875 * src/xml-sax-read.c (xml_sax_hlink) : new.
876 (xml_sax_input_msg) : new.
878 2005-06-22 Morten Welinder <terra@gnome.org>
880 * src/mathfunc.c (random_01): Use the Mersenne Twister as
882 * configure.in: Stop checking for functions we no longer use.
884 2005-06-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
886 * src/gnumeric-pane.c (cb_gnm_pane_drag_motion): set snap_to_grid if
887 SHIFT is pressed, state given by widget parent window.
888 * src/sheet-control-gui.c (scg_drag_receive_same_scg): ditto.
889 (scg_objects_nudge): fix typo.
891 2005-06-22 Jody Goldberg <jody@gnome.org>
893 * src/Makefile.am : enable pango-test
895 2005-06-22 Jody Goldberg <jody@gnome.org>
897 * * : s/MStyle/GnmStyle/
898 s/mstyle_/gnm_style_/
899 s/StyleHAlignFlags/GnmHAlign/
900 s/StyleVAlignFlags/GnmVAlign/
902 2005-06-20 Morten Welinder <terra@gnome.org>
904 * src/commands.c (cmd_rename_sheet): Prevent renames to "".
906 2005-06-14 Jody Goldberg <jody@gnome.org>
908 http://bugzilla.gnome.org/show_bug.cgi?id=163414
909 * src/item-bar.c (item_bar_event) : "If it hurts when you do that,
910 don't do that". Position the tooltip above the cursor for row
913 2005-06-14 Morten Welinder <terra@gnome.org>
915 * src/gnumeric-gconf.c (gnm_gconf_get_toolbar_visible,
916 gnm_gconf_set_toolbar_visible): New functions.
918 * src/wbc-gtk.c (cb_add_menus_toolbars): Set toolbar visibility.
919 (cb_handlebox_visible): Make changes to visibility permanent.
920 (wbc_gtk_init): Don't set everything visible.
922 2005-06-13 Jody Goldberg <jody@gnome.org>
924 * src/expr.c (gnm_expr_eval) : when evaluating an array pass the
925 cols/rows into the EvalPos.
927 * src/position.c (eval_pos_init) : init new cols/rows member
928 (eval_pos_init_dep) : ditto.
929 (eval_pos_init_cell) : ditto.
930 (eval_pos_init_sheet) : ditto.
932 2005-06-13 Jody Goldberg <jody@gnome.org>
934 * configure.in : post release bump
936 2005-06-13 Jody Goldberg <jody@gnome.org>
940 2005-06-13 Jody Goldberg <jody@gnome.org>
942 * src/expr-name.c (gnm_named_expr_collection_lookup) : be more
945 2005-06-12 Jody Goldberg <jody@gnome.org>
947 * src/value.c (value_get_as_bool) : handle err == NULL
949 2005-06-12 Morten Welinder <terra@gnome.org>
951 * src/workbook.c (workbook_detach_view): Just dispose of the view.
952 That will both break cycles and indirectly unref.
953 (workbook_sheet_delete): Ditto.
955 * src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the
958 * src/sheet-view.c (sheet_view_new): Ref the sheet view when we
959 add it to the sheet's list of views.
960 (sv_real_dispose): Unref as we remove from said list.
962 2005-06-10 Morten Welinder <terra@gnome.org>
964 * src/dependent.c (link_cellrange_dep, unlink_cellrange_dep): Fix
965 condition for swapping sheet indices. Fix loop.
966 (dependent_unlink): Don't try to unlink dynamic dependencies from
969 * src/dependent.c (gnm_dep_container_sanity_check): New function.
970 (dependents_revive_sheet): Check sanity here.
971 (gnm_dep_container_dump): And here.
972 (handle_outgoing_references): New function. Properly unlink
973 dependencies that reference stuff outside current sheet.
974 (do_deps_destroy, do_deps_invalidate): Use
975 handle_outgoing_references.
977 * src/dependent.c (dependents_invalidate_sheets): Handle 3d deps
978 here. Avoid crashes by not modifying the hash while we go over
980 * src/workbook.c (workbook_sheet_delete): Not here.
982 * src/xml-sax-write.c (xml_write_sheet): Write visibility.
984 * src/xml-sax-read.c (xml_sax_attr_enum): New function.
985 (xml_sax_sheet_start): Restore visibility.
987 * src/xml-io.c (xml_read_selection_info): Don't crash if we lack a
989 (xml_write_selection_info): Ditto.
990 (xml_sheet_read): Restore visibility.
991 (xml_sheet_write): Write visibility.
993 2005-06-09 Jody Goldberg <jody@gnome.org>
995 * src/workbook-control-gui.c (cb_realize) : init the menu prefs on
998 2005-06-09 Jody Goldberg <jody@gnome.org>
1000 * src/item-edit.c (ie_scan_for_range) : call
1001 gnm_expr_entry_set_parsepos to be sure we're using the right
1002 notional position. This only really matters for R1C1 refs.
1004 * src/rendered-value.c (rendered_value_render) : use the Sheet::convs
1005 to display expressions.
1006 (cell_get_entered_text) : ditto.
1008 * src/parse-util.c (rangeref_as_string) : r1c1 support.
1009 (cellref_as_string) : ditto.
1011 * src/item-bar.c (item_bar_draw) : for r1c1 use numbers for col
1013 (item_bar_calc_size) : ditto.
1015 * src/sheet.c : Add use-r1c1 property
1016 (re_render_formulas) : split from
1017 (sheet_set_display_formulas) : here.
1018 (sheet_set_use_r1c1) : for use here.
1020 * src/wbcg-actions.c (toggle_actions) : Add r1c1 toggle
1021 * src/GNOME_Gnumeric-gtk.xml : use it
1023 2005-06-09 Morten Welinder <terra@gnome.org>
1025 * src/workbook.c (workbook_sheet_delete): Merge
1026 workbook_sheet_detach into this.
1027 (workbook_sheet_detach): Removed. All callers changed.
1029 * src/dependent.c (cb_dep_hash_destroy): Track changes to
1031 (clear_revive_info): Free dep_exprs also.
1032 (dependents_revive_sheet): Undo changes to dependencies too.
1034 2005-06-08 Morten Welinder <terra@gnome.org>
1036 * src/sheet.c (gnm_sheet_class_init): Rename "visible" property to
1037 "visibility" and make it an enum. All users changed.
1038 * src/sheet.h (struct _Sheet): Ditto for is_visible member.
1040 * src/workbook-view.c (wb_view_sheet_remove): New function to
1041 mirror wb_view_sheet_add.
1042 * src/workbook.c (workbook_sheet_hide_controls): Use
1043 wb_view_sheet_remove.
1045 2005-06-08 Ivan, Wogn Yat Cheung <email@ivanwong.info>
1047 * src/sheet-control-gui.c (scg_drag_receive_uri_list):
1048 adapt to the change of go_get_mime_type(). [#304074]
1050 2005-06-07 Jody Goldberg <jody@gnome.org>
1052 From Ivan, Wong Yat Cheung <email@ivanwong.info>
1053 * src/Makefile.am : enable libspreadsheet
1055 2005-06-07 Jody Goldberg <jody@gnome.org>
1057 * src/parser.y : Pass the convention to the range_ref parser
1059 * src/parse-util.c (r1c1_get_index) : make this more robust.
1060 (cellref_r1c1_get) : adjust calling to new get_index args.
1061 (r1c1_rangeref_parse) : new.
1062 (rangeref_parse) : connect into the r1c1 parser.
1063 (parse_util_init) : add an r1c1 convention set
1065 2005-06-07 Morten Welinder <terra@gnome.org>
1067 * src/workbook.c (workbook_sheet_state_restore): Revive sheets
1070 * src/workbook-control-gui.c (scg_delete_sheet_if_possible): Use
1071 cmd_reorganize_sheets2.
1073 * src/sheet.h (struct _Sheet): Add extra "revive" member.
1075 * src/expr-name.c (gnm_named_expr_collection_relink,
1076 gnm_named_expr_collection_unlink): New functions.
1077 (gnm_named_expr_collection_free): Remove the extra indirection.
1078 All callers changed.
1080 * src/dependent.c (handle_dynamic_deps, handle_referencing_names):
1081 Extracted from do_deps_destroy.
1082 (do_deps_invalidate, clear_revive_info, dependents_revive_sheet):
1084 (dependents_link): Do not free the argument list. All callers
1086 (do_deps_destroy): Call clear_revive_info.
1087 (invalidate_name): Renamed from cb_name_invalidate. Add "destroy"
1088 argument. If not destroying, save the name-expression pairs.
1089 (cb_collect_deps_of_names): Collect also the names.
1090 (dependents_invalidate_sheet, dependents_invalidate_sheets): Add
1091 extra "destroy" argument. All callers changed.
1092 (dep_hash_destroy): Walk over the hash once, not three times.
1094 2005-06-06 Morten Welinder <terra@gnome.org>
1096 * src/mathfunc.c (lgamma): Define when needed.
1097 (lgamma_r): Base the implementation on lgammacor, not lgamma.
1099 * src/sheet-control-gui.c (scg_drag_receive_uri_list): Add warning
1100 about things we do not understand.
1102 2005-06-04 Jody Goldberg <jody@gnome.org>
1104 http://bugzilla.gnome.org/show_bug.cgi?id=165172
1105 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : quick and cheesy
1106 handling of Delete while editing. It forces an end to
1107 autocompletion rather than unintentionally clearing the cell as if
1108 we were not editing.
1110 2005-06-04 Jody Goldberg <jody@gnome.org>
1112 http://bugzilla.gnome.org/show_bug.cgi?id=164779
1113 * src/sheet-control-gui.c (scg_objects_nudge) : no nudging while
1116 2005-06-04 Jody Goldberg <jody@gnome.org>
1118 http://bugzilla.gnome.org/show_bug.cgi?id=163589
1119 * src/print.c (print_page_cells) : Use the PrintInfo from the supplied
1120 sheet rather than something global.
1121 (print_page_repeated_rows) : ditto.
1122 (print_page_repeated_cols) : ditto.
1123 (print_page_repeated_intersect) : ditto.
1124 (print_hf_element) : ditto.
1125 (print_hf_line) : ditto.
1126 (print_headers) : ditto.
1127 (print_footers) : ditto.
1128 (setup_scale) : ditto.
1129 (print_page) : ditto.
1130 (print_range_down_then_right) : ditto.
1131 (print_range_right_then_down) : ditto.
1132 (print_job_info_init_sheet) : ditto.
1133 (print_sheet_range) : ditto.
1134 (compute_sheet_pages) : ditto.
1135 (compute_pages) : ditto.
1136 (print_sheet) : ditto.
1137 (workbook_print_all) : delete.
1138 (sheet_print_real) : and merge into here.
1139 (print_job_info_update_from_config) : merge into print_job_info_init_sheet.
1140 (print_job_info_get) : Do not attempt to load a PrintInfo from the
1141 first sheet. We'll set things up on a per sheet basis.
1142 (print_job_info_destroy) : we do not have a local copy of a PrintInfo
1145 2005-06-04 Ivan, Wong Yat Cheung <email@ivanwong.info>
1147 * tools/gconf-schemas-to-win32-reg.c (convert_schemalist):
1148 Use REGEDIT4 so that Win9x knows.
1150 2005-06-03 Jody Goldberg <jody@gnome.org>
1152 * src/gnumeric.h : s/GnmRow/GnmStyleRow/ That is clearer
1154 2005-06-03 Jody Goldberg <jody@gnome.org>
1156 * configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
1159 2005-06-02 Morten Welinder <terra@gnome.org>
1161 * src/mathfunc.c (binomialcf): Fix log_p case.
1162 (pfuncinverter): Handle NaNs better.
1163 (qbeta): Improve initial guess.
1165 * src/number-match.c (compute_value): When matching with
1166 strto[u]l, make sure to store the result in a variable large
1167 enough. Fixes #306254.
1169 2005-06-01 Morten Welinder <terra@gnome.org>
1171 * src/xml-io.c (xml_write_cell_and_position): Don't duplicate
1173 * src/xml-sax-write.c (xml_write_cell_and_position): Ditto.
1175 2005-06-01 Stepan Kasal <kasal@ucw.cz>
1177 * src/ranges.c (undo_cell_pos_name, undo_range_name, undo_range_list_name):
1179 (max_range_name_width, range_list_name_try): New static functions.
1180 * src/commands.c (undo_global_range_name, cmd_cell_pos_name_utility):
1181 (cmd_range_list_to_string_utility, cmd_range_to_str_utility): Nuke; all
1182 callers should use the new functions from ranges.c.
1184 * schemas/gnumeric-general.schemas.in (max_descriptor_width):
1185 Change the default to 40; "Clearing contents in Sheet1!A12:C34"
1186 should fit in without truncating. The prefix is about 20 chars
1187 and about 20 chars should remain for the range name itself.
1189 2005-05-31 Morten Welinder <terra@gnome.org>
1191 * src/xml-sax-read.c (xml_sax_cell): Fix asserts.
1192 (xml_sax_cell_content): Guard against bogus values.
1194 2005-05-31 Jody Goldberg <jody@gnome.org>
1196 * src/xml-sax-read.c (gnm_xml_file_open) : register the doc if
1197 necessary, and hook it too the application for destruction.
1199 2005-05-31 Morten Welinder <terra@gnome.org>
1201 * src/mathfunc.c (random_hypergeometric): Define trivially using
1202 qhyper thus avoiding some performance problems.
1203 (qhyper): Move from plugins/fn-r/extra.c
1204 (pfuncinverter): Improve case where initial guess is outside valid
1207 2005-05-31 Stepan Kasal <kasal@ucw.cz>
1209 * src/dialogs/dialog-solver.c (solver_max_time_err): Move the
1210 variable and its initialization...
1211 * src/gutils.c (gutils_init): ... here.
1212 * src/gutils.h (solver_max_time_err): Declare.
1213 * src/tools/solver/solver.c: Include gutils.h instead of the
1214 declaration of solver_max_time_err.
1216 2005-05-31 Stepan Kasal <kasal@ucw.cz>
1218 * src/commands.c (cmd_set_text): Remove the variable `GObject *obj';
1219 it's not needed. Similarly for other 43 command functions.
1221 2005-05-31 Ivan, Wong Yat Cheung <email@ivanwong.info>
1223 * src/ssconvert.c (main):
1224 * src/ssindex.c (main): Use go_shell_argv_to_glib_encoding() as well.
1226 2005-05-31 Jody Goldberg <jody@gnome.org>
1228 http://bugzilla.gnome.org/show_bug.cgi?id=304559
1229 * src/sheet-object-widget.c (sheet_object_widget_new_view) : keep the
1230 view hidden until we can set the bounds
1232 2005-05-30 Ivan, Wong Yat Cheung <email@ivanwong.info>
1234 * src/main-application.c (main): Use go_shell_argv_to_glib_encoding(),
1235 so we can open file with name in any encoding when users "open" them in
1238 2005-05-29 Jody Goldberg <jody@gnome.org>
1240 http://bugzilla.gnome.org/show_bug.cgi?id=167584
1241 * src/sheet-object-widget.c (cb_adjustment_config_ok_clicked) : relink
1242 after changing the expression.
1243 (sheet_widget_adjustment_set_details) : ditto.
1244 (cb_checkbox_config_ok_clicked) : ditto.
1245 (sheet_widget_checkbox_set_link) : ditto.
1247 2005-05-29 Jody Goldberg <jody@gnome.org>
1249 http://bugzilla.gnome.org/show_bug.cgi?id=165061
1250 * src/mstyle.c (mstyle_equal_header) : new
1251 * src/ranges.c (range_has_header) : use it.
1253 2005-05-29 Jody Goldberg <jody@gnome.org>
1255 * src/dependent.c (cb_collect_deps_of_name) : collect all deps of
1256 names, even those we're about to lose. Things need to be unlinked.
1258 2005-05-27 Jody Goldberg <jody@gnome.org>
1260 http://bugzilla.gnome.org/show_bug.cgi?id=305405
1261 * src/gui-clipboard.c (x_targets_received) : Add biff atoms to support
1262 pastes from MS Excel.
1263 (table_content_received) : ditto.
1265 2005-05-27 Morten Welinder <terra@gnome.org>
1267 * src/mathfunc.c (discpfuncinverter, pfuncinverter): Make public.
1269 * src/position.c (eval_pos_init_cell): Constness fix.
1271 * src/cell.h (CELL_TO_DEP): Preserve constness.
1273 * src/dependent.c (dump_range_dep): Use range_name.
1274 (cell_queue_recalc): Not const.
1276 2005-05-26 Stepan Kasal <kasal@ucw.cz>
1278 * src/clipboard.c: Remove unneeded includes.
1280 * src/gnumeric-gconf.c: Move common headers to the top, add more
1281 stubs for build without gtk.
1283 * src/ranges.c (range_name): Simplify.
1284 (global_range_name): Make the first parameter const.
1285 * src/ranges.h (global_range_name): Ditto.
1287 2005-05-26 Morten Welinder <terra@gnome.org>
1289 * src/mathfunc.c (discpfuncinverter): New function.
1290 (qpois): New implementation based on discpfuncinverter.
1292 2005-05-25 Morten Welinder <terra@gnome.org>
1294 * src/gui-clipboard.c (text_to_cell_region): Fall back to string.
1297 * src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltips
1298 for ok_button, cancel_button, and func_button.
1300 2005-05-23 Morten Welinder <terra@gnome.org>
1302 * src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
1305 * src/dependent.c (cb_name_invalidate): Fix a crash relating to
1306 globally scoped names.
1308 * src/workbook-edit.c (cb_entry_delete_text): Make this work for
1309 non-rich text also. Turn off auto-completion.
1310 (cb_entry_insert_text): Make this work for non-rich text also.
1311 Turn off auto-completion if the insert is not at the end.
1312 (cb_entry_cursor_pos): Make this work for non-rich text also.
1313 Turn off auto-completion if the cursor is no longer at the end.
1314 (wbcg_edit_finish): Always turn off signals if they have been
1316 (wbcg_edit_start): Always bind insert_text, delete_text, and
1317 cursor position signals here.
1318 (wbcg_edit_init_markup): Don't connect to insert_text, delete_text
1319 and cursor position signals here.
1320 (auto_complete_matches): Get rid of ugly event hack.
1322 * src/commands.c (command_redo): Keep a ref to the command and
1323 handle someone clearing the redo queue. Fixes #305007.
1325 2005-05-23 Stepan Kasal <kasal@ucw.cz>
1327 * src/position.c (parse_pos_init): Don't perform the same check
1329 * src/graph.c, src/sheet-object-widget.c (*_debug_name): All these
1330 functions now take a GString as the second parameter; adapt to it.
1332 2005-05-21 Morten Welinder <terra@gnome.org>
1334 * src/dependent.c (dependents_link): Drop pointless rwinfo
1335 argument. All callers changed.
1337 2005-05-20 Morten Welinder <terra@gnome.org>
1339 * src/dependent.c (gnm_dep_container_dump): Dump also dynamic
1340 dependencies and name dependencies.
1342 * src/workbook-control.c (wb_control_parse_and_jump): Use
1343 expressions like A1, not A1:A1 for single cells.
1345 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1347 * src/sheet-filter.c (filter_view_set_bounds): Remove unused
1350 2005-05-19 Morten Welinder <terra@gnome.org>
1352 * src/sheet.h (struct _Sheet): add being_invalidated flag.
1354 * src/dependent.c (dependents_workbook_destroy): Renamed from
1355 workbook_deps_destroy. Mark all sheets being_invalidated before
1357 (dependents_invalidate_sheet): Renamed from sheet_deps_destroy.
1358 (do_deps_destroy): Don't take a GnmExprRewriteInfo argument --
1361 * src/expr.h (struct _GnmExprRewriteInfo): Combine
1362 GNM_EXPR_REWRITE_SHEET and GNM_EXPR_REWRITE_WORKBOOK into
1363 GNM_EXPR_REWRITE_INVALIDATE_SHEETS.
1365 2005-05-19 Morten Welinder <terra@gnome.org>
1367 * src/workbook.c (pre_sheet_index_change): Use dependent_unlink
1368 directly as callback.
1369 (post_sheet_index_change): Use dependent_link directly as
1372 * src/dependent.c (dependent_link, dependent_unlink,
1373 link_expr_dep, unlink_expr_dep): Drop the pos argument, infer when
1374 needed. All callers changed.
1376 2005-05-18 Morten Welinder <terra@gnome.org>
1378 * src/dependent.c (dependent_pos): New utility function.
1379 (dependent_set_sheet, dependent_add_dynamic_dep, dependent_unlink,
1380 dependents_link, do_deps_destroy, dynamic_dep_free): use
1382 (link_expr_dep, unlink_expr_dep, dependents_unrelocate_free,
1383 dependents_unrelocate): Avoid cast.
1385 2005-05-18 Jody Goldberg <jody@gnome.org>
1387 * src/expr-name.c (expr_name_new) : make public
1388 (expr_name_add) : accept a stub object.
1390 2005-05-17 Jody Goldberg <jody@gnome.org>
1392 * src/workbook.c (workbook_focus_other_sheet) : fix
1394 2005-05-17 Morten Welinder <terra@gnome.org>
1396 * src/expr-name.c (expr_name_set_expr): Don't relink deps for
1397 sheets that are being destroyed.
1399 2005-05-16 Morten Welinder <terra@gnome.org>
1401 * src/print-cell.c (print_cell): Fix and simplify rotated case.
1403 * src/cell-draw.c (cell_draw): Simplify rotated case.
1405 * src/rendered-value.c (rendered_value_remeasure): Collect extra
1406 information for rotated values.
1407 (rendered_value_init): Setup a separate pool for rotated cells.
1408 (rendered_value_shutdown): Shut that down.
1410 2005-05-16 Stepan Kasal <kasal@ucw.cz>
1412 * src/sheet-control-gui.c (scg_drag_receive_uri_list): Change the
1413 type of local variable `mime' to `const gchar *'.
1415 2005-05-16 Morten Welinder <terra@gnome.org>
1417 * configure.in (set_more_warnings): Kill -Wcast-align. It does
1418 not catch anything useful. We run-time check, either in gobject
1419 macros or else by virtue of running on a Sparc. Also we do *tons*
1420 of valid cast from base classes to derived classes after carefully
1421 checking the dynamic type.
1423 2005-05-16 Jody Goldberg <jody@gnome.org>
1425 * src/sheet-filter.c (filter_foo_view_init) : remove debug spew
1427 2005-05-16 Stepan Kasal <kasal@ucw.cz>
1429 * configure.in (PKG_PROG_PKG_CONFIG): Fix the explanation above.
1431 2005-05-15 Jean Brefort <jean.brefort@normalesup.org>
1433 * src/graph.c: (gnm_go_data_vector_get_value),
1434 (gnm_go_data_matrix_get_value): always release the value returned by
1435 value_coerce_to_number.
1437 2005-05-15 J.H.M. Dassen (Ray) <jdassen@debian.org>
1439 * configure.in: Bumped the goffice requirement as we need GORegexp now.
1440 Enable a number of additional warnings (when available)
1441 for which the current code base is already virtually clean.
1442 * src/func.c, src/gnumeric-gconf.c: Clean up function declarations.
1443 * src/sheet.h: Include prototype for sheet_apply_border.
1445 2005-05-13 Jody Goldberg <jody@gnome.org>
1447 http://bugzilla.gnome.org/show_bug.cgi?id=164950
1448 * src/ranges.c (range_trim) : make this more efficient.
1450 2005-05-14 Jody Goldberg <jody@gnome.org>
1452 http://bugzilla.gnome.org/show_bug.cgi?id=165734
1453 * src/value.c (find_rows_that_match) : The column in the condition is
1454 absolute, not relative to the start of the input range.
1456 2005-05-14 Jody Goldberg <jody@gnome.org>
1458 * src/ranges.c (gnm_sheet_range_from_value) : renamed from
1459 value_to_global_range.
1460 (gnm_sheet_range_new) : renamed from global_range_new.
1461 (gnm_sheet_range_free) : renamed from global_range_free.
1462 (gnm_sheet_range_overlap) : renamed from global_range_overlap.
1463 (gnm_sheet_range_dup) : renamed from global_range_dup.
1465 * src/value.c (value_new_cellrange_str) : renamed from
1468 2005-05-13 Morten Welinder <terra@gnome.org>
1470 * src/rendered-value.c (get_rotated_layout_bounds): Remove.
1471 (rendered_value_remeasure): Rework the rotated case to match Excel
1473 (rendered_value_new): Setup new noborders member.
1475 * src/sheet.c (sheet_apply_border): New functions. Setting
1476 borders for rotated cells actually causes different rendering.
1478 * src/commands.c (cmd_format_undo): Fix CRITICAL.
1479 (cmd_format_redo): Use sheet_apply_border instead of going
1480 directly to sheet_style_apply_border.
1482 * src/cell-draw.c (cell_draw): Rework rotated case to match Excel
1485 * src/style.c (style_default_halign): Handle that down rotations
1486 are now angles >180, not <0.
1488 2005-05-13 Stepan Kasal <kasal@ucw.cz>
1490 * src/xml-sax-read.c (content_ns, gnumeric_1_0_dtd): Mark these
1491 variables with G_GNUC_UNUSED, the #warning below is enough.
1493 2005-05-12 Jody Goldberg <jody@gnome.org>
1495 * src/value.c (parse_database_criteria) : remove old FIXME with a
1498 http://bugzilla.gnome.org/show_bug.cgi?id=165700
1499 * src/commands.c (update_after_action) : re-focus only controls for
1500 the current view, not all controls.
1502 2005-05-12 Jody Goldberg <jody@gnome.org>
1504 * src/sheet-filter.c (filter_expr_eval) : for regexp based matches
1505 make sure we matched the whole string.
1507 2005-05-10 Jean Brefort <jean.brefort@normalesup.org>
1509 * src/value.c: (value_get_as_gstring): exchange row_sep and col_sep
1510 when formatting an array formula.
1512 2005-05-10 Jody Goldberg <jody@gnome.org>
1514 * configure.in : post release bump
1516 2005-05-10 Jody Goldberg <jody@gnome.org>
1520 2005-05-09 Morten Welinder <terra@gnome.org>
1522 * src/workbook.c (workbook_sheet_attach_at_pos): Add a ref to
1523 sheet to balance the unref in workbook_sheet_detach.
1524 (workbook_sheet_attach): Counter the above ref here.
1525 (workbook_sheet_add): Counter the above ref here. Document that
1526 the returned sheet's ref is owned by the workbook.
1527 (workbook_sheet_detach): Get rid of sheet views here. Replace
1528 almost all uses of this with workbook_sheet_delete. (It was
1529 typically used to get rid of sheets that got created during a load
1532 * src/workbook-control-gui.c (wbcg_insert_sheet,
1533 wbcg_append_sheet): Use new cmd_reorganize_sheets2.
1535 * src/sheet.c (sheet_set_name): Fix logic to determine if a sheet
1537 (sheet_cell_destroy): Don't get rid of view here.
1539 * src/commands.c (command_undo): Hold a ref to cmd so it doesn't
1540 go away underneath us. Don't crash if the undo command clears the
1543 * src/workbook.c (workbook_sheet_state_diff): Implement.
1545 * src/workbook-control-gui.c (cb_sheet_label_drag_begin): Fix
1546 multihead issue. Plug leak.
1548 * src/application.c (gnm_app_get_pixbuf): Remove. All callers
1550 (add_icon): Don't install both a scalable and a fixed-sized icon.
1553 2005-05-08 Jody Goldberg <jody@gnome.org>
1555 * src/xml-sax-read.c (xml_sax_styleregion_start) : work around use of
1556 negative rotations which are used to indicate vertical text.
1557 * src/xml-io.c (xml_read_style) : ditto.
1559 2005-05-07 Jody Goldberg <jody@gnome.org>
1561 * src/style.h : Add a 'VALIGN_DISTRIBUTED' that was added in XP
1562 dunno what it does yet.
1563 * src/dialogs/dialog-cell-format.c : Add an entry for DISTRIBUTED
1565 * src/mstyle.h : document the range of rotation
1567 * src/workbook-view.c : remove pointless include
1568 * src/hlink.c : remove pointless include
1570 2005-05-07 Jean Brefort <jean.brefort@normalesup.org>
1572 * src/dialogs/dialog-about.c: (dialog_about): add NULL third arg
1573 to go_data_vector_val_new and go_data_vector_str_new.
1574 * src/stf-parse.c: use go_setlocale instead of gnm_setlocale.
1575 * src/xml-io.c: (xml_workbook_write), (xml_workbook_read): ditto.
1576 * src/xml-sax-read.c: (gnm_xml_file_open): ditto.
1577 * src/xml-sax-write.c: (gnm_xml_file_save),
1578 (gnm_cellregion_to_xml): ditto.
1580 2005-05-06 Morten Welinder <terra@gnome.org>
1582 * src/workbook.c (workbook_sheet_move): Public again. Fix docs.
1584 * src/workbook-control-gui.c (gnm_notebook_page_num_by_label):
1585 Renamed from gtk_notebook_page_num_by_label.
1586 (cb_sheet_label_drag_data_received): Fix this in the presence of
1588 (wbcg_sheet_move): Change to take old_pos, not new_pos which is
1589 trivial to get. All callers changed. Fix for the case where some
1592 * src/workbook.c (workbook_unref): Remove and replace calls with
1593 simple g_object_unref
1595 2005-05-05 Morten Welinder <terra@gnome.org>
1597 * src/workbook.c (workbook_focus_other_sheet): New function.
1598 (workbook_sheet_hide_controls, workbook_sheet_delete): Use
1599 workbook_focus_other_sheet.
1600 (workbook_sheet_unhide_controls): Do nothing if sheet is already
1602 (workbook_sheet_add): Take a numerical position, not a sheet
1603 pointer for placement. All callers changed.
1604 (workbook_sheet_attach_at_pos): New function extracted from
1605 workbook_sheet_attach.
1606 (workbook_sheet_attach): Make this not take a placement parameter.
1607 All callers changed.
1608 (workbook_sheet_move): Make static, don't return a value, and make
1610 (workbook_sheet_state_new, workbook_sheet_state_free,
1611 workbook_sheet_state_restore, workbook_sheet_state_diff): New
1614 * src/commands.c (cmd_reorganize_sheets2): New function.
1615 (cmd_rename_sheet): Use cmd_reorganize_sheets2.
1617 * src/dependent.c (do_deps_destroy): Fix sheet-remove crash.
1619 2005-05-04 Morten Welinder <terra@gnome.org>
1621 * src/wbc-gtk.c (cb_show_menu_tip): Don't translate a space.
1623 * src/commands.c (cmd_rename_sheet): Simplify calling convention.
1624 Single caller fixed.
1626 * src/gui-util.c (gnumeric_popup_menu): If we have an event
1627 anchor, use that to figure out what screen to show the popup on.
1629 2005-05-03 Morten Welinder <terra@gnome.org>
1631 * src/workbook-control-gui.c (cb_zoom_change): New function,
1632 extracted from wbcg_zoom_feedback.
1633 (wbcg_zoom_feedback): Remove zoom_feedback method.
1634 (wbcg_sheet_add): Don't attach to sheet notify signals here.
1635 (wbcg_sheet_focus): Do it here so we only watch one sheet at a
1637 (wbcg_sheet_remove, wbcg_sheet_remove_all): Disconnect here too.
1639 * src/sheet.c (sheet_set_zoom_factor): Make static and add
1640 zoom-factor property. All callers changed.
1642 * src/workbook-view.c (wb_view_prefs_update): Remove.
1644 * src/workbook-control-priv.h: Remove prefs_update member.
1646 * src/sheet-control-priv.h: Remove adjust_preferences and
1647 direction_changed members.
1649 * src/sheet-control-gui.c (sheet_control_gui_new): Also hook up to
1652 * src/workbook-control-gui-priv.h: Remove rtl property. All users
1653 changed to use sheet's text_is_rtl (and some already were).
1655 * src/sheet-control-gui-priv.h: Remove text_is_rtl property. All
1656 users changed to use sheet's text_is_rtl (and some already were).
1658 * src/xml-sax-read.c (xml_sax_sheet_name): Use g_object_set to set
1661 * src/workbook-control-gui.c (wbcg_sheet_add): Connect to more
1663 (workbook_control_gui_class_init): Eliminate
1664 wbc_class->menu_state.sheet_prefs.
1666 * src/sheet.c (gnm_sheet_set_property): Add properties
1667 "display-outlines-below" and "display-outlines-right".
1668 (sheet_adjust_preferences): No need to call
1669 wb_control_menu_state_sheet_prefs anymore.
1671 * src/sheet-control-gui.c (sheet_control_gui_new): Connect to
1672 notify signals for all the sheet properties that cause changed
1675 2005-05-02 Morten Welinder <terra@gnome.org>
1677 * src/workbook-control-gui.c (wbcg_sheet_add): Connect to
1678 sheet::name, sheet:tab-foregound, sheet:tab-background.
1679 (wbcg_sheet_remove): Disconnect.
1680 (wbcg_sheet_rename): Remove this method from the class.
1682 * src/commands.c (cmd_reorganize_sheets_finalize): Plug leak.
1684 * src/workbook-control-gui.c (cb_sheet_label_drag_end): Plug leak.
1686 * src/workbook.c (workbook_detach_view): Call sv_dispose to break
1688 (workbook_sheet_hide_controls): Fix search for focus and thus
1690 (workbook_set_dirty, workbook_is_dirty, workbook_is_pristine):
1691 Walk the sheet array, not the hash.
1693 * src/sheet.c (sheet_destroy): Call sv_dispose to break circular
1696 * src/sheet-view.c (sheet_view_new): Keep a ref to the sheet.
1697 (sv_dispose): New function.
1698 (sv_real_dispose): Renamed from s_view_finalize (and made proper
1699 for a dispose function).
1701 2005-05-02 Morten Welinder <terra@gnome.org>
1703 * src/sheet-view.c (sv_direction_changed): Make static and change
1704 to a notification handler.
1706 * src/sheet.c (sheet_attach_view): Fold into sheet_view_new.
1707 (sheet_detach_view): Fold into s_view_finalize.
1708 (gnm_sheet_init): Setup ->sheet_views properly here.
1710 * src/style-color.c (gnm_style_color_get_type): New function
1711 defining the type as a boxed type.
1713 * src/sheet.c: Add "name", "tab-foreground", and "tab-background"
1715 (sheet_set_tab_color): Remove. All callers changed to use
1717 (sheet_rename): Make static. All callers changed to use
1720 2005-04-21 Jon K Hellan <hellan@acm.org>
1722 * src/sheet-object.[ch]: Add sheet_object_get_target_list.
1724 * src/sheet-object-image.c (sheet_object_image_get_target_list):
1725 New. Gets targets object is able render itself as.
1726 (soi_imageable_init): Register get_target_list virtual.
1728 * src/sheet-object-graph.c (sheet_object_graph_get_target_list):
1729 New. Gets targets object is able render itself as.
1730 (sog_imageable_init): Register get_target_list virtual.
1732 * src/sheet-control-gui.c (scg_drag_send_image): Use
1733 go_mime_to_image_format to get format.
1735 * src/gui-clipboard.c (image_write): Use go_mime_to_image_format
1736 to get image format.
1737 (target_list_to_entries): New. Convert a target list to an array
1738 of GtkTargetEntries.
1739 (x_claim_clipboard): Use sheet_object_get_target_list to get
1742 * src/gnumeric-pane.c (cb_test_so_imageable): Remove
1743 (target_list_add_list): New. Add targets from "added_targets" to
1745 (gnm_pane_drag_begin): Use sheet_object_get_target_list to get
1748 2005-04-29 Morten Welinder <terra@gnome.org>
1750 * src/sheet.c (gnm_sheet_class_init): Make lots of things
1752 (sheet_set_visibility, sheet_toggle_show_formula,
1753 sheet_toggle_hide_zeros): Make static (and make the toggle ones
1756 * src/commands.c (cmd_toggle_rtl_redo): Use go_object_toggle.
1758 * src/sheet.c (sheet_set_direction): Make static. Change all
1759 existing callers to use g_object_set.
1760 (gnm_sheet_class_init): Install PROP_RTL.
1762 2005-04-28 Stepan Kasal <kasal@ucw.cz>
1764 * configure.in (AC_CANONICAL_HOST): Call explicitly, we use $host.
1765 (WITH_WIN32): Small changes to make more the same as in goffice.
1766 (--disable-plugins): Support this.
1767 (WINDRES): Add an AC_ARG_VAR declaration.
1768 And some whitespace changes.
1770 2005-04-26 Morten Welinder <terra@gnome.org>
1772 * src/print-info.c (hf_format_render): If format is NULL, simply
1775 * src/print.c (print_hf_element): Handle NULL text from
1776 hf_format_render same as "".
1778 * src/gui-file.c (gui_file_save_as): Add a little crash safety.
1780 2005-04-21 Stepan Kasal <kasal@ucw.cz>
1782 * src/Makefile.am (gnumeric-paths.h): Rewrite the rule,
1783 gnumeric-paths.sh* is no longer used.
1784 * src/gnumeric-paths.sh.in: Removed.
1785 * src/.cvsignore: Remove src/gnumeric-paths.sh.
1786 * configure.in: Don't generate gnumeric-paths.sh, rearrange the
1787 gnumeric_* AC_SUBSTs.
1788 (gnumeric_gladedir, gnumeric_autoformatdir): Nuke.
1789 * src/dialogs/Makefile.am (gnumeric_gladedir): Replace by value.
1790 * templates/autoformat/Makefile.am (autoformatdir): New variable.
1791 (EXTRA_DIST): Don't use "%" when replacing suffixes; it's GNU make
1794 2005-04-20 Stepan Kasal <kasal@ucw.cz>
1796 gnm_sys_lib_dir() and such now just return the string;
1797 they don't take any parameter and don't allocate anything.
1799 * src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
1800 Move to gutils.h; #include "gutils.h".
1801 (gnumeric_icon_dir, gnumeric_locale_dir): Move to gutils.c
1803 * src/libgnumeric.c: Likewise.
1804 (gnm_pre_parse_init): Call gutils_init instead of doing it.
1805 (gnm_shutdown): Call gutils_shutdown instead of doing it.
1807 * gutils.c (gutils_init, gutils_shutdown): New functions.
1808 (gnumeric_usr_dir): New static variable, set up in gutils_init.
1809 (gnm_sys_lib_dir, gnm_sys_data_dir, gnm_usr_dir): Just return
1810 the static string; all callers fixed.
1811 (gnm_sys_glade_dir, gnm_sys_plugin_dir, gnm_usr_plugin_dir):
1812 Nuked; callers fixed to build the string themselves.
1813 (gnm_icon_dir, gnm_locale_dir): New wrappers; callers fixed.
1814 (PLUGIN_SUFFIX): Renamed to ...
1815 (PLUGIN_SUBDIR): ..., and moved to .h.
1816 * src/gui-util.c (gnumeric_icondir): This function was removed;
1817 callers fixed to use gnm_icon_dir.
1819 * src/sheet-object-image.c: Include goffice/utils/go-glib-extras.h
1821 2005-04-20 Ivan, Wong Yat Cheung <email@ivanwong.info>
1823 * src/wbc-gtk.c (wbc_gtk_init_font_name): Set
1824 "case-sensitive" to FALSE. Fix #161382.
1826 2005-04-19 Morten Welinder <terra@gnome.org>
1828 * src/clipboard.c (clipboard_init, clipboard_shutdown): New
1830 (gnm_cell_copy_new): Alloc in pool.
1831 (cellregion_unref): Free from pool.
1833 * src/libgnumeric.c (gnm_common_init): Call clipboard_init.
1834 (gnm_shutdown): Call clipboard_shutdown.
1836 * */*.c: #include fixes.
1838 * src/rangefunc.c (range_mode): Fix the case where multiple
1839 different values occur equally often.
1841 2005-04-18 Stepan Kasal <kasal@ucw.cz>
1843 * src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
1844 (gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char*",
1845 not "const char[]"; we use "&gnumeric_lib_dir" sometimes.
1846 * src/libgnumeric.c: Likewise.
1848 2005-04-19 Stepan Kasal <kasal@ucw.cz>
1850 * src/Makefile.am (SUFFIXES): Remove, Automake (at least >= 1.7)
1853 2005-04-18 Stepan Kasal <kasal@ucw.cz>
1855 * src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
1856 (gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char[]"
1857 to get rid of some warnings (unless we are on OS/2).
1858 * src/libgnumeric.c: Likewise.
1860 2005-04-18 Stepan Kasal <kasal@ucw.cz>
1862 * configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
1863 * Makefile.am (dist-hook): Don't handle gnumeric.spec here, ...
1864 (EXTRA_DIST): ... it's enough to add it here.
1865 I tested this change with automake versions 1.7.9, 1.8.5 and 1.9.5.
1866 * schemas/Makefile.am: To silence `automake -Wall', don't use
1867 pattern rules (with %.reg), use portable suffix rules instead.
1869 2005-04-16 Ivan, Wong Yat Cheung <email@ivanwong.info>
1872 * Makefile.am: New subdir 'tools', we now have a win32
1875 * schemas/Makefile.am: Install .reg files into
1876 $prefix/etc/win32/reg. Two versions are served, i.e.
1877 .hkcu.reg and .reg. When the user chooses to install
1878 gnumeric/win32 for the "current user" only, use .hkcu.reg
1881 * src/tools/Makefile.am:
1882 * src/tools/gconf-schemas-to-win32-reg.c: Moved to tools/;
1883 see tools/ChangeLog for details.
1885 2005-04-15 Stepan Kasal <kasal@ucw.cz>
1887 * schemas/Makefile.am (CLEANFILES): Add $(reg_DATA), if we are
1888 building .reg files.
1889 Don't distribute $(schema_DATA).
1891 2005-04-13 Morten Welinder <terra@gnome.org>
1893 * src/mathfunc.c (pfuncinverter): Handle Newton search when log_p
1895 (dgamma1, dbeta1): Don't bail out for log_p.
1897 2005-04-13 Jon K Hellan <hellan@acm.org>
1899 * src/gui-clipboard.c (x_claim_clipboard): Don't clear clipboard
1900 if we still own CLIPBOARD.
1902 * src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
1903 bunch of extra mime types for dropped files.
1904 (scg_drag_receive_cellregion,
1905 (scg_drag_receive_same_proc_other_scg,
1906 (scg_drag_send_clipboard_objects): Check that cell region is non
1907 null before using it.
1909 2005-04-12 Morten Welinder <terra@gnome.org>
1911 * src/workbook-view.c (wb_view_sendto): Fix setting of "problem".
1912 Handle failure of mkdtemp.
1914 2005-04-11 Morten Welinder <terra@gnome.org>
1916 * src/mathfunc.c (qf): Make our own version of this.
1918 2005-04-10 Ivan, Wong Yat Cheung <email@ivanwong.info>
1920 * src/dialogs/dialog-preferences.c (cb_pref_font_hf_set_fonts,
1921 cb_pref_font_set_fonts):
1922 They were broken by my changes in 2005-04-08.
1924 2005-04-09 Morten Welinder <terra@gnome.org>
1926 * src/mathfunc.c (qf): Make our own version of this. It's quite
1927 simple now that we have a working qbeta.
1929 2005-04-05 Jody Goldberg <jody@gnome.org>
1931 http://bugzilla.gnome.org/show_bug.cgi?id=162951 : trivial
1932 * src/sheet-control-gui.c (scg_comment_display) : remove some
1933 unnecessary code now that a gtk bug has been fixed.
1935 2005-04-09 Ivan, Wong Yat Cheung <email@ivanwong.info>
1937 * configure.in: Determine whether we are cross-compiling.
1939 * src/libgnumeric.[ch]: Path variables should not be const.
1941 2005-04-08 Ivan, Wong Yat Cheung <email@ivanwong.info>
1943 * schemas/Makefile.am: Convert .schemas to .reg if host_os ==
1944 win32 and we are not cross-compiling.
1946 * src/application.c (gnm_app_history_add):
1947 * src/libgnumeric.c (gnm_shutdown):
1949 * src/dialogs/dialog-function-select.c
1950 (dialog_function_write_recent_func):
1951 * src/dialogs/dialog-preferences.c:
1952 * src/tools/auto-correct.c: adopt to the modified
1953 gnumeric-gconf's api.
1955 * src/tools/Makefile.am:
1956 * src/tools/gconf-schemas-to-win32-reg.c: New. The name
1959 * src/gnumeric-gconf-priv.h:
1960 * src/gnumeric-gconf.[ch]: Introduce the concept of a
1961 "node". Implement the win32 backend.
1963 2005-04-08 Morten Welinder <terra@gnome.org>
1965 * src/mathfunc.c (pfuncinverter): Improve in the special case
1966 where one of the interval endpoints is 0.
1968 * src/xml-sax-write.c (gnm_xml_file_save): Untangle the
1969 do-we-compress logic and make it work. Fixes #173030.
1970 * src/xml-io.c (gnumeric_xml_write_workbook): Ditto.
1972 * src/xml-sax-write.c (xml_write_cell_and_position): Fix crash.
1973 * src/xml-io.c (xml_write_cell_and_position): Ditto.
1975 2005-04-04 Morten Welinder <terra@gnome.org>
1977 * src/stf-export.c (stf_export_cell): Introduce "auto" mode and do
1978 something sensible with dates and times. (Fixes #128936)
1980 2005-04-04 Stepan Kasal <kasal@ucw.cz>
1982 s/INCLUDES/AM_CPPFLAGS/ "automake -Wall" has told me this.
1984 * src/Makefile.am (non-intermediate): New dummy rule; see
1985 http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
1986 http://bugzilla.gnome.org/show_bug.cgi?id=172212
1987 (.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
1988 anyway, the prerequisities of an implicit rule are ignored.
1989 * Makefile.am: Use $(POFILES_FULL), not GNU-specific $(wildcard...).
1990 * configure.in (GLIB_GENMARSHAL): Full path is not needed.
1991 (POFILES_FULL): New AC_SUBSTed variable, contains full paths to
1993 (perl): Fix a typo, and a few cosmetic changes.
1994 (AC_OUTPUT): Remove plugins/perl/*.
1995 * plugins/perl/*: Removed.
1997 2005-04-04 Morten Welinder <terra@gnome.org>
1999 * src/stf-export.c: Derive from GsfOutputCsv.
2001 2005-04-04 Jody Goldberg <jody@gnome.org>
2003 * src/xml-sax-write.c (gnm_cellregion_to_xml) : add a namespace decl
2005 2005-04-04 Jody Goldberg <jody@gnome.org>
2007 * src/xml-sax-read.c : moved into the core from a plugin
2008 * src/xml-sax-write.c : ditto.
2009 (gnm_cellregion_to_xml) : new.
2011 * src/xml-io.c (xml_cellregion_write) : delete the DOM based version.
2012 (xml_init) : register the sax in/out routines
2014 2005-04-04 Jody Goldberg <jody@gnome.org>
2016 * src/gui-clipboard.c (cellregion_to_string) : remove offset.
2018 2005-04-02 Morten Welinder <terra@gnome.org>
2020 * configure.in (perl): Fix perl checks. (I hope.)
2022 2005-04-02 Jean Brefort <jean.brefort@normalesup.org>
2024 * src/style.c: (style_init), (style_shutdown): removed calls to
2025 number_format_init/shutdown (moved to goffice).
2027 2005-04-01 Steve Murphy <murf@e-tools.com>
2029 * configure.in: Added "rw" to ALL_LINGUAS.
2031 2005-04-01 Morten Welinder <terra@gnome.org>
2033 * src/stf.c (csv_tsv_probe): In the content phase, decode to UTF-8
2034 before testing. (Fixes #167191.)
2036 2005-04-01 Jon K Hellan <hellan@acm.org>
2038 * src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom)
2039 (gnm_so_polygon_write_xml_sax): Fix warnings.
2041 2005-04-01 Jon K Hellan <hellan@acm.org>
2043 * src/workbook-control-gui.c (wbcg_sheet_add): Make the
2044 GNUMERIC_SHEET target GTK_TARGET_SAME_APP.
2045 (cb_wbcg_drag_data_received): Added source_widget parameter.
2047 * src/sheet-object.c (sheet_object_rubber_band_directly): Always
2050 * src/gnumeric-pane.c (drag_types_in, drag_types_out):
2051 New. Supported drag targets.
2052 (cb_pane_drag_data_received): Pass source widget to
2053 scg_drag_data_received.
2054 (cb_gnm_pane_drag_data_get): New. drag-data-get callback.
2055 (cb_gnm_pane_drag_motion): New. drag-motion callback.
2056 (cb_gnm_pane_drag_leave): New. drag-leave callback.
2057 (gnm_pane_drag_dest_init): New. Factor out of gnm_pane_init and
2058 Connect drag-data-get, drag-motion and drag-leave callbacks.
2059 (gnm_pane_init): Use it.
2060 (gnm_pane_objects_drag): New. Factored out of gnm_pane_object_move.
2061 (gnm_pane_object_move): Use it.
2062 (cb_test_so_imageable): New. Check if object is imageable.
2063 (gnm_pane_drag_begin): New. Start gtk drag.
2064 (cb_control_point_event): Use it.
2066 * src/sheet-control-gui.c (scg_paste_cellregion): New. Paste
2068 (scg_drag_receive_cellregion): New. Receive a dropped cellregion.
2069 (scg_drag_receive_uri_list): New. Receive a dropped uri list.
2070 (scg_drag_receive_same_scg): New. Receive a drop from same scg.
2071 (scg_drag_receive_same_proc_other_scg): New. Receive a drop from
2072 another scg in same process.
2073 (scg_drag_receive_same_process): New. Receive a drop from this
2075 (scg_drag_data_received): Added source_widget parameter. Handling
2076 of each target moved to a separate function. Added support for gnumeric
2077 gtk clipboard format. Added support for process internal dnd which
2078 shortcuts the selection.
2079 (scg_drag_send_image): New. Send an image over the dnd selection.
2080 (scg_drag_send_clipboard_objects): New. Send selected objects over
2081 the dnd selection. Gnumeric gtk clipboard format is used.
2082 (scg_drag_data_get): New. Send selected objects over the dnd
2083 selection in requested format.
2085 2005-04-01 Morten Welinder <terra@gnome.org>
2087 * src/stf-export.c: Gut. Use GsfOutputCsv. (Fixes #126513.)
2089 2005-03-31 Morten Welinder <terra@gnome.org>
2091 * src/wbc-gtk.c (regenerate_window_menu): Clean up and allow more
2092 windows in the menu.
2094 * src/search.c (gnm_search_replace_class_init): Make scope a
2097 * src/commands.c (cmd_set_text): Improve undo description. Fixes
2100 * src/workbook-view.c (wbv_save_to_uri): Don't set the error if we
2101 already have one. Together with libgsf and goffice changes, this
2104 2005-03-31 Jody Goldberg <jody@gnome.org>
2106 http://bugzilla.gnome.org/show_bug.cgi?id=87528
2107 * src/commands.c (cmd_paste_copy) : When not transposing and pasting
2108 into a single cell, be more flexible and allow full cols/rows.
2110 2005-03-31 Jody Goldberg <jody@gnome.org>
2112 http://bugzilla.gnome.org/show_bug.cgi?id=87477
2113 * src/commands.c (cmd_paste_copy) : Use a nice simple tiling approach.
2115 2005-03-30 Morten Welinder <terra@gnome.org>
2117 * src/search.c (search_collect_cells): Drop sheet argument. We
2118 already have it. All callers changed.
2120 * src/commands.c (cmd_search_replace_do): Drop unused sheet and
2121 workbook arguments. All callers changed.
2122 (cmd_search_replace): Drop sheet argument. All callers changed.
2124 * src/search.c: Adapt to goffice changes. (Aka make it an object
2125 and cut most of it.)
2126 (gnm_search_replace_class_init): Define a pile of properties.
2128 2005-03-29 Jody Goldberg <jody@gnome.org>
2130 * src/func.c (tokenized_help_new) : warning suppression.
2132 * src/expr.c (gnm_expr_is_array) : new.
2134 2005-03-29 Jody Goldberg <jody@gnome.org>
2136 * src/xml-io.c (xml_write_cell_and_position) : Take a value and
2137 expression directly rather than a Cell to allow re-use between the
2138 new clipboard data structure GnmCellCopy and GnmCell.
2140 * src/gui-clipboard.c (text_to_cell_region) : store data directly.
2141 (cellregion_to_string) : moved from clipboard.c and tweaked to support
2142 the new data structure.
2143 (x_clipboard_get_cb) : no need for a pango context, we ignore variable
2144 width formats when exporting.
2146 * src/sheet-style.c (style_list_get_style) : Use col & rol vs CellPos.
2148 * src/clipboard.c : Simplify GnmCellCopy and remove the ancient bogus
2149 notion of keeping a copy of a full cell.
2150 (contents_as_expr) : renamed from cell_get_contents_as_expr, and
2151 changed to take the expr and val directly.
2152 (apply_paste_oper_to_values) : deleted and merged into.
2153 (paste_cell_with_operation) : here.
2154 (gnm_cell_copy_new) : new.
2155 (paste_cell) : add some const.
2156 (clipboard_paste_region) : const and adjust to the changes.
2157 We can test for pasting content here rather than per-cell.
2158 (cb_clipboard_prepend_cell) : use gnm_cell_copy_new.
2159 (cellregion_unref) : adjust to data structure change.
2160 (cellregion_to_string) : moved into gui-clipboard.c. It's not really
2161 gui specific but that is the only thing that uses it for now.
2163 2005-03-29 Jon K Hellan <hellan@acm.org>
2165 * src/xml-io.c (xml_cellregion_read): Silence warning.
2167 2005-03-29 Morten Welinder <terra@gnome.org>
2169 * src/parse-util.c (col_name_internal): Handle nagative column
2170 numbers a bit saner.
2172 2005-03-29 Stepan Kasal <kasal@ucw.cz>
2174 * configure.in (--with-perl): Mention bug #171957.
2176 2005-03-28 Jon K Hellan <hellan@acm.org>
2178 * src/gui-clipboard.c (image_write): Look harder for selected
2181 * src/item-grid.c (drag_start): Remove.
2182 (item_grid_button_press): Don't call drag_start.
2184 * src/xml-io.c (xml_cellregion_read): Make param 'buffer' const.
2186 2005-03-28 Morten Welinder <terra@gnome.org>
2188 * src/workbook-view.c (wb_view_auto_expr_precision): New function.
2190 * src/workbook-control-gui.c (cb_auto_expr_precision_toggled): New
2192 (cb_select_auto_expr): Add a check item to control whether maximum
2195 2005-03-28 Jon K Hellan <hellan@acm.org>
2197 * src/clipboard.[ch]: (clipboard_copy_obj): New. Returns a cell
2198 region with copies of objects in list. Factored out of
2199 gnm_app_clipboard_cut_copy_obj.
2201 * src/application.c (gnm_app_clipboard_cut_copy_obj): Use
2204 2005-03-28 Morten Welinder <terra@gnome.org>
2206 * src/workbook-view.c (wb_view_auto_expr_recalc): Take format from
2208 (wb_view_auto_expr_recalc): Plug leak.
2210 * src/xml-io.c: Don't include <goffice/utils/go-locale.h> which
2211 just went away and wasn't needed anyway.
2213 * src/*.c src/*/*.c plugins/*/*.c: Use canonical object property
2216 2005-03-24 Jody Goldberg <jody@gnome.org>
2218 http://bugzilla.gnome.org/show_bug.cgi?id=171503
2219 * src/gnumeric-gconf.c (gnm_gconf_set_printer_config) : take control
2222 2005-03-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
2224 * src/style-border.c (style_border_hash): use GPOINTER_TO_UINT
2225 rather than just casting.
2227 2005-03-24 Jon K Hellan <hellan@acm.org>
2229 * src/gui-clipboard.c (x_clipboard_get_cb): Plug leak.
2231 2005-03-24 Morten Welinder <terra@gnome.org>
2233 * src/mathfunc.c (tdistexp): Take a log_p flag. Improve accuracy
2234 a tiny bit, mostly in the log case.
2235 (binApprox): Move logs earlier and improve log case's accuracy.
2237 * src/application.c (gnm_app_get_pixbuf): Use non-zero size.
2239 * src/print.c (print_hf_element): If we have no format, don't
2242 2005-03-23 Morten Welinder <terra@gnome.org>
2244 * src/numbers.h: For long double support, include sunmath.c if we
2246 * configure.in: Check for sunmath.h
2248 2005-03-23 Jon K Hellan <hellan@acm.org>
2250 * src/sheet-object-graph.c (sheet_object_graph_write_image):
2251 New. Implements SheetObjectImageable. Extracted from
2253 (sog_cb_save_as): Use sheet_object_write_image.
2254 (sog_imageable_init): SheetObjectImageable gobject voodoo.
2256 * src/application.c (gnm_app_clipboard_cut_copy_obj): Save sheet
2257 object points dimensions as object data.
2259 2005-03-23 Morten Welinder <terra@gnome.org>
2261 * src/io-context-gtk.c (icg_processing_file): Fix for Win32.
2262 * src/main-application.c (warn_about_ancient_gnumerics): Fix for
2265 * src/workbook-view.c (wb_view_sendto): Use g_mkdir, not mkdir.
2266 (cb_cleanup_sendto): Use g_unlink and g_rmdir, not unlink and
2269 * src/mathfunc.c (random_01): Use g_open, not open.
2271 * src/main-application.c (warn_about_ancient_gnumerics): use
2274 * src/func.c (function_dump_defs): Use g_fopen, not fopen.
2276 * src/file-autoft.c (category_list_get_from_dir_list): Use
2277 g_file_test, not stat.
2279 2005-03-23 Stepan Kasal <kasal@ucw.cz>
2281 * configure.in (HAVE_LIBZ): Don't define it, noone uses it, since
2284 2005-03-22 Morten Welinder <terra@gnome.org>
2286 * templates/autoformat/Makefile.am (install-data-local): Don't use
2287 ${var#pat} and ${var%pat}; it's POSIX feature, but it doesn't work
2288 with Solaris' /bin/sh.
2290 2005-03-22 Morten Welinder <terra@gnome.org>
2292 * src/workbook-control-gui.c (wbcg_update_action_sensitivity): Set
2293 editability of sheet tabs too. Fixes #170958.
2294 (sheet_menu_label_run): If we have only one sheet, keep "Remove"
2295 in the menu, but make it inactive. Disable everything when we
2296 have a guru. Use an enum, not a define for bit fields.
2298 2005-03-22 Stepan Kasal <kasal@ucw.cz>
2300 * autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54 We already required
2301 that indirectly, by asking for Automake >= 1.7.2.
2302 * configure.in: AC_PREREQ(2.54)
2303 - don't default to --without-gtk even if the reqs are not met;
2304 - fail if someone tries --with-python=/path;
2305 - when searching for $PYTHON, try python2.4 and such;
2306 - don't generate stamp.h; the issue is solved by Automake 1.7.2;
2307 see info '(autoconf)Automatic Remaking' for details.
2309 * .cvsignore: Remove stamp.h and stamp-h.in.
2311 2005-03-21 Morten Welinder <terra@gnome.org>
2313 * src/workbook.c (workbook_dispose): Simplify using
2314 workbook_set_saveinfo. Move destruction of local functions to
2316 (workbook_finalize): From here.
2317 (workbook_sheet_name_strip_number): Fix docs; handle overflow;
2318 return unsigned value.
2319 (workbook_sheet_get_free_name): Adapt to changes in
2320 workbook_sheet_name_strip_number.
2322 2005-03-21 Stepan Kasal <kasal@ucw.cz>
2324 * autogen.sh: Remove the unfortunate TRANSL_ONLY; fix the explanation
2325 why we need our own copy of po/Makefile.in.in; use a nicer code to
2326 generate po-functions/POTFILES.*.
2327 * README: Fix the Debian package name for pango, remove the intltool
2329 * gnumeric.spec.in: Update the dependencies.
2331 2005-03-17 Jon K Hellan <hellan@acm.org>
2333 * src/gui-clipboard.c (x_claim_clipboard): Check for content == NULL.
2335 2005-03-17 Morten Welinder <terra@gnome.org>
2337 * src/xml-io.c (maybe_convert): Use go_guess_encoding.
2339 2005-03-17 Stepan Kasal <kasal@ucw.cz>
2341 * autogen.sh: Use egrep, not awk; there is a system which distributes
2342 a very broken version of it. Thanks to Morten for noting this.
2344 2005-03-16 Morten Welinder <terra@gnome.org>
2346 * src/xml-io.c (maybe_convert): Explicitly try ISO-8859-1 if
2349 * src/workbook-control.c (wb_control_update_title): Handle NULL
2352 * src/wbc-gtk.c (regenerate_window_menu): Ignore workbooks where
2353 we don't get a valid basename.
2355 * src/workbook-priv.h (struct Workbook): Remove .basename.
2357 * src/workbook.c (workbook_get_basename): Delete, it's unused.
2359 * src/parse-util.c (row_parse): Fix parsing problem. [#170465]
2361 2005-03-13 Jody Goldberg <jody@gnome.org>
2363 http://bugzilla.gnome.org/show_bug.cgi?id=169830
2364 * src/gnumeric-pane.c (gnm_pane_init) : init the zoom.
2365 (gnumeric_pane_header_init) : ditto.
2367 2005-03-16 Stepan Kasal <kasal@ucw.cz>
2369 * autogen.sh: require intltool >= 0.29; fix IFS handling;
2370 create po*/Makefile.in.in and po-functions/POTFILES.* ---
2371 and if the traslators don't want anything but these files, they
2372 can just run "TRANSL_ONLY=1 ./autogen.sh".
2373 * acinclude.m4: Nuked, it shouldn't be needed.
2374 * Makefile.am (ACLOCAL_AMFLAGS): Remove.
2375 * configure.in: Do AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS);
2376 don't show --with-guile in the help, don't configure
2377 directories plugins/gb/ and plugins/guile/.
2378 * plugins/Makefile.am (SUBDIRS): Simplify the conditional
2379 assignments; omit subdirs gb and guile.
2380 * plugins/gb/Makefile.am, plugins/guile/Makefile.am: Add a text to
2381 the top, warning about POTFILES.skip.
2382 * src/pixmaps/Makefile.am (STRIP_BEGIN, STRIP_END, STRIP_DUMMY):
2383 Remove these, I see no need for them; the cosmetic advantage
2384 can be achieved with one echo.
2385 * configure.in (STRIP_BEGIN, STRIP_END, STRIP_DUMMY): Don't detect.
2387 In many files, fix the typo contraint --> constraint.
2389 2005-03-15 Jon K Hellan <hellan@acm.org>
2391 * src/gui-clipboard.c (image_write): New. Write an object as image
2393 (x_clipboard_get_cb): Analyze clipboard content and advertise
2394 image formats when appropriate.
2396 2005-03-15 Morten Welinder <terra@gnome.org>
2398 * src/search.h (struct SearchFilterResult): Don't store cell and
2401 * src/workbook.c (workbook_sheet_detach): Emit sheet_deleted
2403 (workbook_sheet_delete): Not here.
2404 (workbook_dispose): New function, extracted from
2406 (workbook_class_init): Install ->dispose.
2408 2005-03-15 Jon K Hellan <hellan@acm.org>
2410 * src/sheet-object-image.c (sheet_object_image_write_image):
2411 New. Implements SheetObjectImageable. Extracted from
2413 (soi_cb_save_as): Use sheet_object_write_image.
2414 (soi_imageable_init): SheetObjectImageable gobject voodoo.
2416 * src/sheet-object.[ch] (sheet_object_imageable_get_type): New. For
2417 the SheetObjectImageable interface.
2418 (sheet_object_write_image): New. Method of SheetObjectImageable.
2420 * src/sheet-object-impl.h: Add _SheetObjectImageableIface
2422 * src/gnumeric.h: Add SheetObjectImageableIface
2424 2005-03-14 Morten Welinder <terra@gnome.org>
2426 * src/sheet.c (sheet_finalize): New function, split out from
2428 (sheet_destroy): Just unref objects we hold refs for, i.e., no
2429 longer finalize. All callers changed to unref sheet also.
2430 (gnm_sheet_class_init): Install sheet_finalize. Define
2431 detached_from_workbook signal.
2433 * src/workbook-control-gui.c (wbcg_validation_msg): Fix arg order
2434 of go_gtk_dialog_run call.
2436 * src/gui-file.c (gui_file_save_as): Don't force local-only file
2439 2005-03-12 Jon K Hellan <hellan@acm.org>
2441 * src/wbcg-actions.c: Add <Ctrl>+P accelerator for print.
2443 * src/gui-clipboard.c (table_content_received): Paste selection
2444 with only objects, no cells.
2446 2005-03-10 Morten Welinder <terra@gnome.org>
2448 * src/print-cell.c (print_cell): Pretend to have zoom=100%.
2450 * src/sheet-control-gui.h (scg_get_style_font): Delete. Expand
2453 * src/rendered-value.c (rendered_value_new,
2454 rendered_value_render): Take zoom as a parameter. All callers
2456 (calc_indent): Take zoom instead of sheet as parameter.
2458 2005-03-11 Jon K Hellan <hellan@acm.org>
2460 * src/gnumeric-pane.c (gnm_pane_init): Add drag action
2461 GDK_ACTION_MOVE. Needed for drag receive from konqueror.
2463 2005-03-11 Jon K Hellan <hellan@acm.org>
2465 * src/gui-clipboard.c (text_content_received): New. Split out of
2466 complex_content_received.
2467 (image_content_received): New. Receive image data.
2468 (table_content_received): Renamed from complex_content_received
2470 (x_targets_received): Renamed from x_clipboard_received.
2471 (x_request_clipboard): Use gtk_clipboard_request_targets-
2473 2005-03-10 Jon K Hellan <hellan@acm.org>
2475 * src/sheet-control-gui.c (scg_image_create): New. The parts which
2476 are common to scg_paste_image and scg_drag_receive_img_data.
2477 (scg_paste_image): New. Create an image at natural size and place
2478 it at position given by range.
2479 (scg_drag_receive_img_data): Move parts to scg_image_create.
2481 2005-03-09 Morten Welinder <terra@gnome.org>
2483 * configure.in (with-long-double): ride on top of libgoffice's
2484 stuff. That kills all the ugly stuff here.
2486 2005-03-07 Jon K Hellan <hellan@acm.org>
2488 * src/sheet-control-gui.c (scg_drag_data_received): Check for NULL.
2490 2005-03-07 Jon K Hellan <hellan@acm.org>
2492 * src/workbook-control-gui.c (cb_wbcg_drag_data_received):
2493 Delegate text/uri-list to scg_drag_data_received.
2495 * src/sheet-control-gui.c (scg_drag_receive_img_data): New. Receive
2497 * src/sheet-control-gui.c (scg_drag_receive_img_uri): New. Receive
2499 (scg_drag_receive_spreadsheet): New. Receive dragged spreadsheet
2501 (scg_drag_data_received): New. Receive drag data.
2503 * src/gnumeric-pane.c (cb_pane_drag_data_received): New. Receive
2505 (gnm_pane_init): Register as drag destination.
2507 2005-03-07 Morten Welinder <terra@gnome.org>
2509 * configure.in: We no longer need the "finite" hackery.
2511 * src/mathfunc.c (mathfunc_init): Use goffice's nan etc.
2513 2005-03-04 Jon K Hellan <hellan@acm.org>
2515 * src/ssindex.c (main): Plugin api renamed.
2517 * src/ssconvert.c (main): Ditto.
2519 2005-03-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2521 * src/sheet-control-gui.c (apply_move): don't get rtl flag from
2522 gcanvas, since it can be not fully initialized.
2524 2005-03-03 Jon K Hellan <hellan@acm.org>
2526 * src/session.c (interaction_function): Deiconify toplevel before
2527 displaying save/cancel dialog.
2529 2005-03-03 Morten Welinder <terra@gnome.org>
2531 * src/item-cursor.c (item_cursor_target_region_ok): Fix
2532 go_gtk_query_yes_no arg order.
2533 * src/gui-file.c (check_multiple_sheet_support_if_needed): Ditto.
2534 (gui_file_save_as): Ditto.
2536 2005-03-02 Morten Welinder <terra@gnome.org>
2538 * configure.in (gnumeric_gtk_reqs): Get rid of GnomeCanvas.
2540 2005-03-01 Jody Goldberg <jody@gnome.org>
2543 s/GNUMERIC_MODULE_PLUGIN_INFO_DECL/
2544 GOFFICE_MODULE_PLUGIN_INFO_DECL(GNUMERIC_VERSION)/
2546 * configure.in : Add the libgoffice depend and remove the
2547 src/cut-n-paste/goffice dirs
2548 remove test for gnome_print_pango_create_layout.
2549 pango_layout_set_ellipsize,
2550 pango_context_set_matrix,
2551 pango_context_get_font_map
2553 * src/Makefile.am : drop the built in libgoffice and pcre libraries
2554 we pull them externally now.
2556 2005-03-01 Morten Welinder <terra@gnome.org>
2558 * src/gui-util.c (gnumeric_glade_group_value): Constify.
2559 * src/mstyle.c (mstyle_names): Constify.
2560 * src/summary.c (summary_item_name): Constify.
2562 2005-02-28 Morten Welinder <terra@gnome.org>
2564 * src/rendered-value.c (rendered_value_render): For numbers, map
2565 '-' to U2212 which has same width as "+".
2567 * src/gnm-format.h: Define a bunch of unicode characters by name.
2568 * src/parser.y (yylex): Use these.
2569 * src/cell-draw.c (cell_calc_layout): Ditto.
2571 2005-02-25 Morten Welinder <terra@gnome.org>
2573 * src/main-application.c (main): Properly get rid of wbcgs when
2576 * src/workbook-control-gui.c (wbcg_create_status_area): Keep a ref
2577 for ->auto_expr_label in case the idle handler for updating it
2578 triggers at an inconvenient time.
2579 (wbcg_finalize): Unref.
2581 * src/main-application.c (main): Fix leak.
2583 * src/gnumeric-gconf.c (gnm_conf_shutdown): Fix crash with --quit.
2585 2005-02-24 Morten Welinder <terra@gnome.org>
2587 * src/gui-file.c (gui_file_save_as): Fix arg order for
2588 go_url_check_extension.
2590 * src/wbcg-actions.c: Mark action arrays const now that 142334 has
2591 been fixed. Assume GTK_STOCK_ABOUT.
2593 2005-02-23 Jon K Hellan <hellan@acm.org>
2595 * src/workbook-control-gui.c (cb_sheet_label_drag_data_received,
2596 cb_sheet_label_drag_leave, cb_sheet_label_drag_motion): Don't
2597 crash or complain if drag source is in a different process.
2599 2005-02-22 Stepan Kasal <kasal@ucw.cz>
2601 * configure.in: Fix creation of po-functions/POTFILES.
2602 * src/Makefile.am: Fix declarations for generated sources.
2603 * src/cut-n-paste-code/goffice/utils/Makefile.am: Likewise.
2604 * plugins/corba/Makefile.am: Likewise.
2605 * idl/Makefile.am: Likewise.
2607 2005-02-18 Morten Welinder <terra@gnome.org>
2609 * src/stf-parse.c (count_character): Ignore completely empty
2610 lines. They aren't telling us anything about separators.
2612 2005-02-17 Jody Goldberg <jody@gnome.org>
2614 * src/func.c (cb_generate_po) : more validation in preparation for
2615 regenerating the help and po.
2617 2005-02-16 Jody Goldberg <jody@gnome.org>
2619 * src/libgnumeric.c (gnm_pre_parse_init) : set the path for the new
2620 gnumeric-functions message catalog
2622 * src/gnumeric-gconf.c : Add an ifdef to silence the gconf warnings
2623 * src/io-context.[ch], src/io-context-priv.h : move into goffice/app
2625 2005-02-15 Morten Welinder <terra@gnome.org>
2627 * src/main-application.c: Typo. [#167495]
2629 * src/gui-file.c (do_save_as): Expand into lone caller. Destroy
2630 dialog right after we're done with it, so there user doesn't get
2631 to press Save while we save.
2633 2005-02-14 Stepan Kasal <kasal@ucw.cz>
2635 Don't use #include <src/xyz.h>, as `-I $(top_srcdir)' is not
2636 always in the flags; none of these headers is duplicate in the
2637 tree, so we can safely omit the dirname.
2639 2005-02-14 Stepan Kasal <kasal@ucw.cz>
2641 * src/solver.h: Define most of the structures even if !ENABLE_SOLVER.
2642 * src/xml-io.c (xml_read_solver, xml_write_solver): Compile these two
2643 functions even if !ENABLE_SOLVER, so that we don't cripple the
2644 files we open and save; the only thing we really cannot do is to
2645 to compute the text presentation of the constraints.
2647 2005-02-12 Jon K Hellan <hellan@acm.org>
2649 * src/stf-parse.c (stf_parse_sheet): Don't crash if parsing
2650 doesn't return lines.
2652 2005-02-12 Jody Goldberg <jody@gnome.org>
2654 * configure.in : move function docs into a distinct message catalog
2655 * */*.c : modify all function docs to start using the new format.
2656 * src/func.c (gnm_func_load_stub) : adjust to new GnmFuncHelp type
2657 (gnm_func_add) : ditto
2658 (tokenized_help_new) : ditto
2660 2005-02-10 Jody Goldberg <jody@gnome.org>
2662 http://bugzilla.gnome.org/show_bug.cgi?id=165982
2663 * src/gnm-plugin.c (gnm_plugins_init) : Use G_SEARCHPATH_SEPARATOR in
2664 place of hard coding ':' to be more portable.
2665 * src/dialogs/dialog-plugin-manager.c (pm_gui_load_directory_page) :
2668 2005-02-09 Jody Goldberg <jody@gnome.org>
2670 * src/workbook-control-gui.c (wbcg_sheet_add) : don't create a control
2673 2005-02-09 Jody Goldberg <jody@gnome.org>
2675 For david@arabidopsis.info (David J Craigon):
2676 * src/ssconvert.c : Add -I flag to specify importer
2678 2005-02-09 Jon K Hellan <hellan@acm.org>
2680 * src/Makefile.am (GNUMERIC_BASE): Remove error-info.c.
2682 2005-02-09 Stepan Kasal <kasal@ucw.cz>
2684 * src/error-info.h: Nuke, we are using <goffice/app/error-info.h>.
2685 * src/Makefile.am: Remove it.
2687 2005-02-09 Stepan Kasal <kasal@ucw.cz>
2689 * configure.in (TPUT_CMD, marker_ok, marker_fail, marker_no): Nuke.
2690 (BIG_CHECKING): New m4 macro, used to emphasize some of the checks.
2692 2005-02-08 Jody Goldberg <jody@gnome.org>
2694 * configure.in : Post release bump
2696 2005-02-08 Jody Goldberg <jody@gnome.org>
2700 2005-02-08 Jody Goldberg <jody@gnome.org>
2702 * src/print-info.c (print_hf_same) : add some protection
2704 2005-02-06 Jean Brefort <jean.brefort@normalesup.org>
2706 * src/sheet-object-widget.c: (cb_adjustment_value_changed): avoid
2707 recalculation on update, fixes #166085.
2708 (sheet_widget_adjustment_init_full),
2709 (cb_adjustment_config_ok_clicked),
2710 (sheet_widget_adjustment_write_xml_sax),
2711 (sheet_widget_adjustment_write_xml_dom),
2712 (sheet_widget_adjustment_read_xml_dom),
2713 (sheet_widget_adjustment_set_details): make constant and consistent
2714 scrollbar and slider max values, fixes #165173.
2716 2005-02-05 Morten Welinder <terra@gnome.org>
2718 * src/style.c (gnm_font_find_closest_from_weight_slant): Delete.
2720 2005-02-05 Morten Welinder <terra@gnome.org>
2722 * src/print.c: Avoid going PangoFontDescription -> GnomeFont ->
2723 PangoFontDescription.
2725 2005-02-04 Morten Welinder <terra@gnome.org>
2727 * src/item-bar.c (item_bar_calc_size): Measure height of letters
2728 not logical line height. Use more pango and less magic. This
2731 * src/print.c (print_hf_element): Remove old #ifdef HAVE_foo.
2732 * src/cell-draw.c (cell_draw): Ditto.
2734 * src/print-cell.c: Eliminate old printing code.
2736 * src/style.c (style_font_new_simple): No need for setting
2737 ->gnome_print_font any more.
2738 (style_font_unref): And no need to unref.
2740 * src/rendered-value.c (rendered_value_recontext): Copy font
2741 description too now that pango supports it. Eliminate old #ifdef
2744 * src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): When
2745 adding epsilon, make sure that is <0.5.
2746 (gnumeric_fake_round, gnumeric_fake_trunc): Simplify in terms of
2747 gnumeric_fake_floor.
2750 2005-02-03 Morten Welinder <terra@gnome.org>
2752 * src/dependent.c: eliminate code predating micro hashes.
2754 2005-02-03 Morten Welinder <terra@gnome.org>
2756 * src/dependent.c (micro_hash_resize): Correctly handle #elems<=1.
2757 (unlink_range_dep): Plug leak. [#159581]
2759 2005-02-02 Morten Welinder <terra@gnome.org>
2761 * src/format.c (fmt_general_float): Consistently use upper case
2762 "E" for general format when exponential notation is needed.
2764 2005-02-02 Jean Brefort <jean.brefort@normalesup.org>
2766 * src/graph.c: (gnm_go_data_matrix_get_value): duplicate value before
2769 2005-02-01 Jody Goldberg <jody@gnome.org>
2771 * gnumeric.xsd : Add entries for validation and hyperlinks
2773 2005-02-01 Morten Welinder <terra@gnome.org>
2775 * src/stf-parse.c (stf_parse_csv_is_separator): Handle
2776 end-of-buffer correctly in the single-character case.
2779 * src/commands.c (cmd_ins_del_colrow): Survive if the current
2780 clipboard does not hold a range (but holds a sheet object).
2783 2005-01-27 Morten Welinder <terra@gnome.org>
2785 * src/complete-sheet.c (complete_sheet_search_iteration): Rework
2786 broken search strategy.
2788 2005-01-27 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2790 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): delta is
2791 1.0 / FooCanvas::pixels_per_unit for correct behaviour when zoom is !=
2794 2005-01-26 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2796 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): don't invert
2798 * src/sheet-control-gui.c (snap_pos_to_grid): use correct SHEET_MAX
2799 depending on what to snap to grid.
2800 (snap_to_grid): handle rtl case, where GNUMERIC_CANVAS_FACTOR_X is
2801 0 in world coordinates. World coordinates are negative in rtl mode.
2802 (apply_move): positive delta means going downward in cell numbers.
2804 2005-01-25 Morten Welinder <terra@gnome.org>
2806 * configure.in (gnumeric_gnome_reqs): Upgrade requirements to
2809 2005-01-25 Stepan Kasal <kasal@ucw.cz>
2811 AC_PATH_PROG can be tricky: if the user sets the variable to
2812 something which doesn't look like a full path, autoconf proceeds
2813 with the test as if the variable were not set; no warning is issued
2814 (at least for autoconf versions <= 2.59).
2815 AC_CHECK_PROG is much more transparent: if the variable is nonempty,
2816 no test is executed. Let's use it where possible.
2818 * configure.in (GCONFTOOL): Don't publish the variable, because
2819 AM_GCONF_SOURCE_2, which is used after the check, has
2820 ``gconftool-2'' hardwired anyway; clear the variable before use.
2821 Call AC_CHECK_PROG instead of AC_PATH_PROG.
2822 (GLIB_GENMARSHAL): Explain why full path is needed.
2823 (GDK_PIXBUF_CSOURCE): Call AC_CHECK_PROG instead of AC_PATH_PROG.
2825 2005-01-25 Stepan Kasal <kasal@ucw.cz>
2827 * configure.in: work on --with-perl; this partially fixes
2828 http://bugzilla.gnome.org/show_bug.cgi?id=158029
2830 In AC_CHECK_LIB(perl,...) change the third parameter to `:'
2831 so that it is nonempty and -lperl is not added to LIBS; this fixes
2832 http://bugzilla.gnome.org/show_bug.cgi?id=158379
2834 A cosmetic change: Don't use `[ ]' as an empty argument of a macro,
2835 it may confuse m4; use `[]' instead.
2837 Another cosmetic change: the word for ``case'' doesn't need any
2840 2005-01-25 Stepan Kasal <kasal@ucw.cz>
2842 * configure.in: Initialize win32=no, in case someone has the variable
2844 Fix the help string for --enable-ssindex.
2846 2005-01-24 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2848 http://bugzilla.gnome.org/show_bug.cgi?id=164455
2849 * src/sheet-object-graph.c (sog_cb_save_as): fix svg size.
2851 2005-01-24 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2853 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): pass shift state
2854 to scg_objects_nudge.
2855 * src/gnumeric-pane.c (gnm_pane_object_move): alter real move values
2856 with feedback from scg_object_drags. With snap to grid real move can
2857 be different than what asked.
2858 (cb_slide_handler): update call to gnm_pane_object_move.
2859 (cb_control_point_event): update call to scg_object_drag.
2860 Pass shift state to gnm_pane_object_move.
2861 * src/sheet-control-gui.c (snap_pos_to_grid): new.
2862 (snap_to_grid): new.
2865 (drag_selected_objects): use drag_object.
2866 (scg_objects_drag): drag primary object first.
2868 2005-01-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
2870 http://bugs.debian.org/291265
2871 * src/file.c (gnm_file_saver_save) : Produce an error when no proper
2872 UTF-8 filename was produced.
2874 2005-01-20 Jody Goldberg <jody@gnome.org>
2876 * src/xml-io.c (xml_sheet_write) : store the rtl flag
2877 (xml_sheet_read) : read the rtl flag
2879 * src/workbook-control-gui.c (cb_notebook_switch_page) : set the
2880 direction on page change
2881 (show_gui) : setting it here too.
2883 (wbcg_set_direction) : new
2885 * src/wbcg-actions.c (cb_direction) : A quick and simple direction
2886 setting action. We need a better icon, and improved state.
2888 * src/style-border.c (style_border_hmargins) : lots of finicky
2889 -1*offset style changes for rtl.
2891 * src/sheet.c (gnm_sheet_class_init) : Add some as yet unused get/set
2893 (gnm_sheet_init) : new to init the direction based on the locale. Use
2894 a gtk routine for now. There's a bug open to have that moved to
2896 (sheet_set_direction) : new.
2898 * src/sheet-view.c (sv_init_sc) : init the direction.
2899 (sv_direction_changed) : new.
2901 * src/sheet-object-cell-comment.c (comment_view_set_bounds) : fold the
2902 old comment_get_points into here and invert things in RTL mode.
2904 * src/sheet-control-gui.c (scg_redraw_headers) : col coordinates are
2905 negative for rtl mode.
2906 (scg_resize) : rework for rtl
2907 (scg_set_zoom_factor) : ditto.
2908 (bar_set_left_col) : ditto.
2909 (bar_set_top_row) : ditto.
2910 (gnm_canvas_set_top_left) : ditto.
2911 (calc_obj_place) : ditto. Clarify which coordinate system we're in.
2912 (scg_direction_changed) : new virtual.
2913 (scg_scale_changed) : renamed from scg_set_zoom_factor.
2915 * src/print.c (print_sheet_objects) : handle rtl. (needs testing)
2916 (print_page_cells) : simple rtl handling
2918 * src/mstyle.c : Add a text_dir element that defaults to CONTEXT right
2919 now. This is unused until it is better understood, but it is read
2920 and written from xls. We need to add xml support.
2922 * src/item-grid.c (item_grid_draw_merged_range) : handle rtl
2923 (item_grid_draw) : ditto.
2924 * src/print-cell.c (print_merged_range) : ditto
2925 (print_cell_range) : ditto.
2927 * src/item-edit.c (ie_layout) : swap directions in RTL mode. We still
2928 need more work here to honour the alignment better while editing.
2931 (item_cursor_request_redraw) : delete, we can use foo_canvas_item_request_redraw
2932 (item_cursor_update) : handle rtl
2933 (item_cursor_draw) : ditto
2934 (item_cursor_bound_set) : add some safety to avoid drawing before the
2935 position is set, or if it is set to something invalid
2937 * src/item-bar.c (item_bar_draw) : major rework to handle RTL mode.
2938 - swap the direction for the cells and the outlines
2939 (is_pointer_on_division) : handle rtl and clarify which coordinate
2940 system the various inputs and results use.
2941 (ib_set_cursor) : simplify
2942 (outline_button_press) : RTL flips some coordinates.
2943 (item_bar_event) : ditto
2945 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : doh! handle
2948 * src/gnumeric-pane.c (gnumeric_pane_header_init) : handle rtl
2949 (gnm_pane_init) : ditto.
2950 (gnm_pane_colrow_resize_start) : ditto.
2951 (gnm_pane_colrow_resize_move) : ditto.
2952 (cb_slide_handler) : ditto.
2954 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Swap the
2955 direction of arrow keys in rtl mode.
2956 (gnm_canvas_key_mode_object) : ditto
2957 (gnm_canvas_size_allocate) : always recompute visible range. In RTL
2958 mode we want to have things aligned on the left edge whose coord
2960 (gnm_canvas_find_col) : handle the rtl negation of world coords
2961 (gnm_canvas_redraw_range) : ditto
2962 (gcanvas_sliding_callback) : ditto.
2963 (gnm_canvas_handle_motion) : ditto.
2964 NOTE : work around a bug in gtk's use of X. When dragging past the
2965 right edge of the sheet in rtl mode we are operating at the edge of
2966 a 32k wide window and the event coords get larger than can be held
2967 in a signed short. As a result we get world coords of -65535 or so.
2968 KLUDGE KLUDGE KLUDGE
2969 with our current limit of 256 columns it is unlikely that we'll
2970 hit -65535 (at appropriate zoom) as a valid coord (it would
2971 require all cols to be 256 pixels wide. it is not impossible, but
2972 at least unlikely. So we put in a kludge here to catch the screw
2973 up and remap it. This is not pretty, at large zooms this is not
2975 (gnm_canvas_compute_visible_region) : things are more complicated for
2978 * src/commands.c : Add undo for the rtl vs ltr mode
2980 * src/cellspan.c (cell_calc_span) : in rtl mode swap the meaning of
2981 horizontal alignment.
2983 * src/GNOME_Gnumeric-gtk.xml.in : Add the rtl toggle action
2985 2005-01-20 Jody Goldberg <jody@gnome.org>
2987 * configure.in : post branching bump
2989 2005-01-19 Morten Welinder <terra@gnome.org>
2991 * src/style.c (style_font_new_simple): Only create
2992 gnome_print_fonts for old printing code.
2994 * src/print-cell.c (using_old_printing_code): New public function
2995 extracted from print_cell.
2997 2005-01-17 Jody Goldberg <jody@gnome.org>
2999 * configure.in : post release version bump
3000 If everything is smooth we'll branch on Wed
3002 2005-01-17 Jody Goldberg <jody@gnome.org>
3006 2005-01-16 Jody Goldberg <jody@gnome.org>
3008 http://bugzilla.gnome.org/show_bug.cgi?id=161404
3009 * xmldocs.make : sync doc installation dir with where the code expects
3012 2005-01-16 Jody Goldberg <jody@gnome.org>
3014 http://bugzilla.gnome.org/show_bug.cgi?id=158692
3015 * src/preview-grid.c (pg_get_row_offset) : don't return SHEET_MAX_ROWS
3017 (pg_get_col_offset) : ditto.
3019 2005-01-16 Jody Goldberg <jody@gnome.org>
3021 http://bugzilla.gnome.org/show_bug.cgi?id=162631
3022 * src/gnumeric-pane.c (set_acetate_coords) : handle the race condition
3023 for the rubber band directly case.
3025 2005-01-15 Jody Goldberg <jody@gnome.org>
3027 http://bugzilla.gnome.org/show_bug.cgi?id=162631
3028 * src/sheet-object.c (sheet_object_new_view) : return the new view, it
3029 may actually be useful.
3031 * src/sheet-control-gui.c (cb_collect_objects_to_commit) : we actually
3032 need to create the view here if it does not exist, otherwise we lose
3035 2005-01-13 Jody Goldberg <jody@gnome.org>
3037 http://bugzilla.gnome.org/show_bug.cgi?id=162631
3038 * src/sheet-control-gui.c (cb_collect_objects_to_commit) : more
3041 * src/sheet-object.c (sheet_object_view_set_bounds) : be safer.
3043 2005-01-15 Jody Goldberg <jody@gnome.org>
3045 http://bugzilla.gnome.org/show_bug.cgi?id=161547
3046 * configure.in : Make the python test more robust
3048 2005-01-14 Jody Goldberg <jody@gnome.org>
3050 http://bugzilla.gnome.org/show_bug.cgi?id=163438
3051 * src/format.c (format_compile) : notice fmts that request a fill
3052 (style_format_new_XL) : init the new is_var_width flag
3054 * src/rendered-value.c (rendered_value_render) : there are formats
3055 other than General that have variable widths. Are measurement of
3056 col width and characters sucks. We really need to do the fills at
3057 a higher level where we have font metrics.
3059 2005-01-14 Jody Goldberg <jody@gnome.org>
3061 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290388
3062 * src/sheet-object-cell-comment.c (comment_get_points) : This will
3063 need work for RTL, but we do need to compensate for the zoom.
3065 2005-01-14 Jody Goldberg <jody@gnome.org>
3067 * src/gnumeric-pane.c (cb_control_point_event) : fix double click
3068 handling to not start a drag when the editor is gone
3070 2005-01-13 Jody Goldberg <jody@gnome.org>
3072 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288157
3073 * src/colrow.c (colrow_set_sizes) : we need to rerender variable width
3074 content when resizing all cols at the same time, just like we do for
3077 2005-01-13 Jody Goldberg <jody@gnome.org>
3079 http://bugzilla.gnome.org/show_bug.cgi?id=161782
3080 * templates/autoformat/Makefile.am : applied patch to use non
3081 bash-specific variable substitution.
3083 2005-01-13 Morten Welinder <terra@gnome.org>
3085 * src/style.c (style_font_new_simple): Don't ref and unref the
3088 2005-01-13 Jean Brefort <jean.brefort@normalesup.org>
3090 * src/graph.c: (gnm_go_data_matrix_load_values): don't write data outside of
3091 allocated matrix. Fixes #163626.
3093 2005-01-12 Jody Goldberg <jody@gnome.org>
3095 http://bugzilla.gnome.org/show_bug.cgi?id=163223
3096 * src/style.c (style_font_string_width) : take a layout directly.
3097 (calc_font_width) : ditto.
3098 (style_font_new_simple) : keep the PangoFontMetrics and PangoLayout
3099 here rather than as data members with no real purpose. It should
3100 make it easier to remove the scaling in here.
3101 NOTE : remove the prescaling of the font size. It did not belong
3102 here. We use a scale attribute while measuring. Eventually we can
3103 split the calculation of metrics out and remove the ugly scale/zoom
3105 (style_font_unref) : we got rid of some data members.
3107 * src/style-font.h : A new header to make cleaning up the definition
3110 * src/mstyle.c (mstyle_get_pango_attrs) : Add a scale attribute
3111 wrapper to scale all of the font sizes
3113 2005-01-12 Jody Goldberg <jody@gnome.org>
3115 http://bugzilla.gnome.org/show_bug.cgi?id=163198
3116 * src/item-edit.c (get_top_left) : new function to get the top left
3117 point based on the vertical alignment.
3118 (item_edit_draw) : the code was taken from here.
3119 (item_edit_event) : and used here to give pango_layout_xy_to_index a
3120 reasonable coordinate.
3122 2005-01-12 Jean Brefort <jean.brefort@normalesup.org>
3124 * src/gui-file.c: (gui_get_image_save_info): test if file exists after
3126 (gui_file_save_as): don't exit when file exists and
3127 user do not want to overwrite. Back to the file chooser instead.
3129 2005-01-12 Jody Goldberg <jody@gnome.org>
3131 * src/wbcg-actions.c (cb_help_docs) : minor warning suppression
3133 2005-01-11 Morten Welinder <terra@gnome.org>
3135 * src/workbook-edit.c (gnm_pango_attr_list_splice): New function
3136 doing what pango_attr_list_splice should have done, i.e., simply
3138 (cb_entry_insert_text): Use gnm_pango_attr_list_splice.
3140 2005-01-10 Morten Welinder <terra@gnome.org>
3142 * src/workbook-edit.c (wbcg_edit_finish): Copy the resulting
3143 markup as editing callbacks will otherwise destroy it.
3145 2005-01-10 Jody Goldberg <jody@gnome.org>
3147 http://bugzilla.gnome.org/show_bug.cgi?id=163408
3148 * src/commands.c (cmd_ins_del_colrow_redo) : We only need to redo
3149 things for cuts, not copies (Although that feels a bit odd).
3150 Just un-ant things for now.
3152 2005-01-09 Jody Goldberg <jody@gnome.org>
3154 http://bugzilla.gnome.org/show_bug.cgi?id=163407
3155 * src/commands.c (cmd_format_undo) : doh! resize only if we needed a
3156 resize when the style was applied, not based on the properties of
3157 the format we are restoring.
3159 2005-01-09 Jody Goldberg <jody@gnome.org>
3161 http://bugzilla.gnome.org/show_bug.cgi?id=162923
3162 * src/expr.c (gnm_expr_eval) : minor thinko, array result from a
3163 function in a non-scalar context return the first element, not
3164 #VALUE!. I broke this when tweaking the implicit iteration by
3165 forgetting that value_intersection handled that for me.
3167 2005-01-09 Jody Goldberg <jody@gnome.org>
3169 http://bugzilla.gnome.org/show_bug.cgi?id=163452
3170 * src/sheet-control-gui.c (scg_mode_clear) : handle being called
3173 2005-01-05 Jody Goldberg <jody@gnome.org>
3175 http://bugzilla.gnome.org/show_bug.cgi?id=162888
3176 * src/clipboard.c (cb_dup_objects) : sheet_object_dup can fail, be
3178 (paste_object) : ditto.
3179 * src/application.c (gnm_app_clipboard_cut_copy_obj) : ditto
3180 * src/gnumeric-pane.c (gnm_pane_object_start_resize) : ditto
3182 2005-01-06 Morten Welinder <terra@gnome.org>
3184 * src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): Fix
3187 2005-01-05 Morten Welinder <terra@gnome.org>
3189 * src/rangefunc.c (range_sum): Just sum. Don't try to be overly
3191 (range_sumsq): Ditto.
3193 2005-01-05 Jody Goldberg <jody@gnome.org>
3195 * src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) : handle
3198 * src/sheet-object-widget.c (sheet_object_widget_class_init) : widgets
3199 render quickly rubber band directly
3200 (sheet_widget_slider_create_widget) : do not draw the value
3202 2004-12-31 Jody Goldberg <jody@gnome.org>
3204 * src/gnumeric-pane.c (set_acetate_coords) : don't crash if we have
3205 not created a view yet.
3207 2004-12-31 Jody Goldberg <jody@gnome.org>
3209 * src/gnumeric-pane.c (gnm_pane_object_start_resize) : watch press
3211 (cb_control_point_event) : launch an editor for double clicks
3213 2005-01-04 Morten Welinder <terra@gnome.org>
3215 * src/format.c (fmt_general_float): Use GNUM_FORMAT_G. The days
3216 of glib <1.2.9 are over.
3217 (fmt_general_int): Ditto.
3219 * src/numbers.h (GNUM_FORMAT_G): Add.
3221 http://bugzilla.gnome.org/show_bug.cgi?id=162865
3222 * src/wbcg-actions.c: Fix Help->Contents and Edit->Clear->Contents
3225 2005-01-03 Morten Welinder <terra@gnome.org>
3229 * src/sheet.c (sheet_cell_remove): Add new arg to control whether
3230 to flag dependencies. All callers changed.
3231 (cb_empty_cell): Take whole flags argument.
3233 * src/clipboard.c (clipboard_paste_region): Handle new flag
3234 PASTE_NO_RECALC to help sorting speed.
3236 * src/sort.c (sort_contents): Paste using PASTE_NO_RECALC and
3237 handle dependencies ourselves. Don't qsort if we have less than
3240 2004-12-29 Morten Welinder <terra@gnome.org>
3242 * src/format.c (format_month_before_day): Add Win32 version.
3243 (#161793, Ivan Wong.)
3245 2004-12-22 Morten Welinder <terra@gnome.org>
3247 * src/libgnumeric.h (gnumeric_popt_options): remove from here.
3249 2004-12-20 Morten Welinder <terra@gnome.org>
3251 * src/workbook-edit.c (wbcg_edit_add_markup): Use range 0-INT_MAX
3252 so we don't split anything.
3253 (cb_entry_cursor_pos): Ditto.
3254 (wbcg_edit_init_markup): The .cur_fmt from markup, not
3255 full_content, so we don't end up setting font sizes, etc.
3256 (cb_entry_cursor_pos): Don't do anything if the entry is empty.
3258 2004-12-20 Morten Welinder <terra@gnome.org>
3260 * src/workbook-edit.c (cb_delete_filter): Be much more careful.
3261 Things are unsigned.
3262 (cb_entry_cursor_pos): Fix confusion between editline.markup and
3263 edit_line.full_content.
3265 * src/format.c (gnm_format_parse_markup): Attribute offsets are
3266 unsigned. Drop nops.
3267 (cb_attrs_as_string): Ditto.
3269 2004-11-14 Jody Goldberg <jody@gnome.org>
3271 * src/sheet-object-image.c (sheet_object_image_set_image) : renamed
3272 from sheet_object_image_new to make the life cycle simpler for
3274 (soi_get_pixbuf) : No data == no pixbuf
3275 * src/wbcg-actions.c (cb_insert_image) : adjust to the name and
3276 semantic change of sheet_object_image_set_image.
3278 2004-12-17 Morten Welinder <terra@gnome.org>
3280 * src/print-cell.c (print_cell_NEW): Fix origin correction.
3282 * src/rendered-value.c (rendered_value_remeasure): Render while
3283 rotated as pango turns off hinting in the font.
3285 * src/style.c (style_default_halign): Errors and booleans remain
3286 centered when rotated. Numbers and text are left-aligned when
3287 rotated up and right-aligned when rotated down.
3289 2004-12-15 Morten Welinder <terra@gnome.org>
3291 * src/print-cell.c (print_cell_NEW): Print rotated.
3293 * src/cell-draw.c (cell_draw): Draw rotated text if
3294 HAVE_PANGO_CONTEXT_SET_MATRIX.
3296 * src/rendered-value.c (rendered_value_render): Rotated numbers
3297 are not variable width.
3298 (rendered_value_remeasure): Adjust width and height for rotation.
3300 * src/rendered-value.h (struct _RenderedValue): Eliminate
3301 display_formula and introduce might_overflow and rotation.
3303 * src/style.c (required_updates_for_style): Rotation changes
3304 requires height resizing.
3305 (style_default_halign): Rotated cells are aligned left by default,
3308 * src/sheet.c (cb_max_cell_height): Render rotated cells also.
3310 2004-12-14 Morten Welinder <terra@gnome.org>
3312 * src/mathfunc.c (pgamma): Improve accuracy for extreme arguments.
3314 2004-12-13 Morten Welinder <terra@gnome.org>
3316 * src/mathfunc.c (lgamma1p): Make this work for x<0 also.
3318 2004-11-20 J.H.M. Dassen (Ray) <jdassen@debian.org>
3320 * src/print-info.h: Add "paper_width" and "paper_height" to struct
3321 PrintInformation, to support paper sizes for which gnome-print doesn't
3323 * src/print-info.c (print_info_make_config): Use paper_width and
3324 paper_height when there is no paper name.
3325 * src/print-info.c (print_info_set_paper_width,
3326 print_info_set_paper_height, print_info_get_paper_width,
3327 print_info_get_paper_height): New, get and set functions for
3328 paper_width and paper_height.
3329 * src/print-info.c (print_info_free, print_info_new, print_info_dup):
3330 Extended to handle the two fields added to struct PrintInformation.
3332 2004-12-10 Jody Goldberg <jody@gnome.org>
3334 * configure.in : post release bump
3336 2004-12-09 Jody Goldberg <jody@gnome.org>
3340 2004-12-09 Jody Goldberg <jody@gnome.org>
3342 * src/cell-draw.c (cell_calc_layout) : set wrapmode to word-char
3343 rather than the default word so that long words will wrap
3345 2004-12-09 Jody Goldberg <jody@gnome.org>
3347 * src/gnumeric-pane.c (gnm_pane_object_start_resize) : Add an
3348 'is_creation' argument to avoid pretending we're creating an object
3349 when clicking and releasing on the lower right resize marker.
3351 2004-12-08 Jody Goldberg <jody@gnome.org>
3353 * src/hlink.c (gnm_hlink_url_activate) : use go_url_show
3354 * src/wbcg-actions.c (cb_help_web) : ditto.
3355 (cb_help_irc) : ditto
3356 (cb_help_bug) : ditto
3358 2004-12-06 Morten Welinder <terra@gnome.org>
3360 * src/func.c (function_dump_defs): Use CSS for styling.
3362 2004-12-03 Jody Goldberg <jody@gnome.org>
3364 * src/file-autoft.c (category_get_templates_list) : Use GDir in place
3365 of struct dirent this is more portable.
3366 (category_list_get_from_dir_list) : ditto.
3367 * src/plugin.c (plugin_info_list_read_for_subdirs_of_dir) : ditto.
3369 2004-11-30 Jody Goldberg <jody@gnome.org>
3371 http://bugzilla.gnome.org/show_bug.cgi?id=160046
3372 * src/libgnumeric.c (gnm_pre_parse_init) : get the right pixmap and
3373 translation paths for win32.
3375 2004-11-30 Jody Goldberg <jody@gnome.org>
3377 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : new.
3379 2004-11-30 Morten Welinder <terra@gnome.org>
3381 * src/gnm-so-line.c (so_line_view_set_bounds): Make sure sheet
3382 object direction is set.
3383 (gnm_so_line_get_property): Handle SOL_PROP_IS_ARROW for
3386 2004-11-29 Jody Goldberg <jody@gnome.org>
3388 http://bugzilla.gnome.org/show_bug.cgi?id=157732
3389 * src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : fix sign of
3392 2004-11-29 Morten Welinder <terra@gnome.org>
3394 * Makefile.am (gnumeric.desktop): Add bugzilla version info.
3396 2004-11-28 Jody Goldberg <jody@gnome.org>
3398 * configure.in : post release bump
3400 2004-11-28 Jody Goldberg <jody@gnome.org>
3404 2004-11-26 Jody Goldberg <jody@gnome.org>
3406 http://bugzilla.gnome.org/show_bug.cgi?id=159581 #1
3407 * src/application.c (gnm_app_clipboard_cut_copy_obj) : patch leak
3409 2004-11-26 Jody Goldberg <jody@gnome.org>
3411 http://bugzilla.gnome.org/show_bug.cgi?id=159577
3412 * src/format.c (gnm_format_parse_markup) : return NULL on error
3414 2004-11-26 Jody Goldberg <jody@gnome.org>
3416 * src/gui-file.c (gui_file_open) : Add a hook to open template files.
3417 This is cheesy, but is better than nothing.
3419 2004-11-26 Jody Goldberg <jody@gnome.org>
3421 http://bugzilla.gnome.org/show_bug.cgi?id=159365
3422 * src/commands.c (gnm_reloc_undo_release) : new
3423 (cmd_ins_del_colrow_finalize) : use it
3424 (cmd_paste_cut_finalize) : use it.
3425 (gnm_reloc_undo_apply) : new
3426 (cmd_ins_del_colrow_undo) : use it.
3427 (cmd_paste_cut_undo) : use it.
3429 * src/sheet-object.c (sheet_objects_relocate) : store lost objects
3431 * src/sheet.c (sheet_colrow_insdel_finish) : take an optional undo
3433 (sheet_colrow_insert_finish) : ditto.
3434 (sheet_colrow_delete_finish) : ditto.
3435 (sheet_insert_cols) : pass the undo info
3436 (sheet_delete_cols) : ditto.
3437 (sheet_insert_rows) : ditto.
3438 (sheet_delete_rows) : ditto.
3439 (sheet_move_range) : pass undo info to sheet_objects_relocate
3441 2004-11-21 Jody Goldberg <jody@gnome.org>
3443 * src/sheet-view.c (sv_panes_insdel_colrow) : be more careful
3444 inserting large numbers of cols/rows
3446 2004-11-21 Jody Goldberg <jody@gnome.org>
3448 * src/sheet.c (sheet_insert_rows) : no need to test when inserting
3450 (sheet_insert_cols) : ditto for SHEET_MAX_COLS
3452 2004-11-21 Jon K Hellan <hellan@acm.org>
3454 * src/ssindex.c: #include gog-object.h
3456 2004-11-19 Jody Goldberg <jody@gnome.org>
3458 * configure.in : Add ssindex but leave it disabled by default because
3459 it relies on unreleased changes to libgsf
3461 2004-11-19 Jody Goldberg <jody@gnome.org>
3463 * src/style.c (gnm_font_find_closest_from_weight_slant) : add some
3466 2004-11-19 Jody Goldberg <jody@gnome.org>
3468 * src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font) : add a
3469 default in case conf lookup fails.
3470 (gnm_conf_init_essential) : fix swapped max and default for print zoom
3472 2004-11-18 Morten Welinder <terra@gnome.org>
3474 * src/print.c (sheet_print): Fix leak for preview. (#158566)
3476 2004-11-15 Jody Goldberg <jody@gnome.org>
3478 * src/stf.c (stf_init) : register some suffixes and mime types
3479 * src/xml-io.c (xml_init) : ditto.
3481 * src/plugin-service.c (plugin_service_file_opener_read_xml) : parse
3484 * src/gui-file.c (gui_file_open) : Use the new lists of suffixes and
3485 mime types from the openers rather than kluding something from
3488 * src/file.c (gnm_file_opener_setup) : store a list of suffixes and
3490 (gnm_file_opener_finalize) : free the new lists.
3491 (gnm_file_opener_new) : take suffixes and mime types as arguments
3492 (gnm_file_opener_new_with_enc) : take suffixes and mime types as arguments
3493 (gnm_file_opener_get_suffixes) : new.
3494 (gnm_file_opener_get_mimes) : new.
3496 2004-11-15 Jody Goldberg <jody@gnome.org>
3498 * src/sheet-object-widget.c : Add text and markup properties to
3499 checkbox/toggle button
3501 2004-11-14 Jody Goldberg <jody@gnome.org>
3503 * src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : tweak the
3504 pixel distances. The far coordinates are excluded.
3506 2004-11-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
3508 http://bugzilla.gnome.org/show_bug.cgi?id=151609
3509 * src/commands.c (cmd_objects_restore_location): new
3510 (cmd_objects_delete_undo): restore ordering of objects
3511 (cmd_objects_delete_finalize): free locations array
3512 (cmd_objects_delete): create and save locations array
3513 * src/sheet-object.h (sheet_object_get_stacking): new
3514 * src/sheet-object.c (sheet_object_get_stacking): new
3516 2004-11-10 Jody Goldberg <jody@gnome.org>
3518 * src/style.c (required_updates_for_style) : for font size, and wrap
3519 changes add a flag to resize row heights.
3520 * src/sheet.c (sheet_apply_style) : use the new SPANCALC_ROW_HEIGHT to
3521 decide when to autosize the rows. (debian #228105)
3523 2004-11-10 Jody Goldberg <jody@gnome.org>
3525 * configure.in : leave the old perl plugin disabled by default
3526 distros can enable it if desired using --with-perl.
3527 There are just too many build issues with it right now.
3529 2004-11-09 Stepan Kasal <kasal@ucw.cz>
3531 * configure.in (GCONFTOOL, GLIB_GENMARSHAL, GDK_PIXBUF_CSOURCE):
3532 Clarify descriptions of these variables to say that the absolute
3535 2004-11-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
3537 for Harald Ashburner <hal.ashburner@gmail.com>:
3538 * sample/derivaties.gnumeric: update
3540 2004-11-08 Morten Welinder <terra@gnome.org>
3542 * src/history.c: Survive NULL basename (#157682).
3544 2004-11-08 Jon K Hellan <hellan@acm.org>
3546 * configure.in: Fix psiconv test.
3548 2004-11-08 Morten Welinder <terra@gnome.org>
3550 * configure.in (perl_msg): Disable buggy perl_construct check.
3552 * src/expr.h: Delete trailing comma in enum.
3553 * src/func.h: Ditto.
3555 2004-11-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
3557 * configure.in: Call the "make" command for PY_EXTRA_LIBS with "-s".
3558 Without it, out-of-source builds have problems due to interference
3559 from make printing entering/leaving directory messages.
3560 * configure.in: Corrected $(GNUMERIC_PLUGIN_LDFLAGS) to
3561 $GNUMERIC_PLUGIN_LDFLAGS.
3563 2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
3565 * src/gnumeric-gconf.c (go_conf_get_short_desc) return
3566 NULL if we don't have a desription
3567 (go_conf_get_long_desc): ditto
3569 2004-11-07 Jody Goldberg <jody@gnome.org>
3573 2004-11-07 Jody Goldberg <jody@gnome.org>
3575 From Jean Bréfort :
3576 * src/xml-io.c (xml_read_solver) : handle both formats of constraint
3579 2004-11-05 Jody Goldberg <jody@gnome.org>
3582 * src/gui-util.c (gnumeric_icondir) : use the variable rather than the
3584 * configure.in : The win32 build needs some extra flags for the
3586 * Makefile.am : cheesy hack to build the charting plugins after we
3589 2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
3591 * src/gnumeric-gconf.h (gnm_gconf_set_autocomplete): new
3592 (gnm_gconf_set_unfocused_rs): new
3593 (gnm_gconf_set_num_recent_functions): new
3594 (gnm_gconf_set_prefer_clipboard): new
3595 * src/gnumeric-gconf.c (gnm_gconf_set_autocomplete): new
3596 (gnm_gconf_set_unfocused_rs): new
3597 (gnm_gconf_set_num_recent_functions): new
3598 (gnm_gconf_set_prefer_clipboard): new
3600 2004-11-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
3602 * src/gnumeric-gconf.h (gnm_gconf_set_gui_resolution_h): new
3603 (gnm_gconf_set_gui_resolution_v): new
3604 * src/gnumeric-gconf.c (gnm_gconf_set_gui_resolution_h): new
3605 (gnm_gconf_set_gui_resolution_v): new
3607 2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
3609 * src/gnumeric-gconf.h (gnm_gconf_set_file_overwrite): new
3610 (gnm_gconf_set_file_single_sheet_save): new
3611 (gnm_gconf_set_gui_transition_keys): new
3612 (gnm_gconf_set_gui_livescrolling): new
3613 (gnm_gconf_set_sort_retain_form): new
3614 (gnm_gconf_set_sort_by_case): new
3615 (gnm_gconf_set_sort_ascending): new
3616 (gnm_gconf_set_latex_use_utf8): new
3617 * src/gnumeric-gconf.c (gnm_gconf_set_file_overwrite): new
3618 (gnm_gconf_set_file_single_sheet_save): new
3619 (gnm_gconf_set_gui_transition_keys): new
3620 (gnm_gconf_set_gui_livescrolling): new
3621 (gnm_gconf_set_sort_retain_form): new
3622 (gnm_gconf_set_sort_by_case): new
3623 (gnm_gconf_set_sort_ascending): new
3624 (gnm_gconf_set_latex_use_utf8): new
3625 (gnm_gconf_set_show_sheet_name): new
3627 2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
3629 * src/gnumeric-gconf.h (gnm_gconf_set_file_history_number): new
3630 (gnm_gconf_set_max_descriptor_width): change argument to gint
3631 (gnm_gconf_set_xml_compression): new
3632 (gnm_gconf_set_sort_dialog_max_initial): new
3633 (gnm_gconf_set_workbook_nsheets): new
3634 * src/gnumeric-gconf.c (gnm_gconf_set_file_history_number): new
3635 (gnm_gconf_set_max_descriptor_width): change argument to gint
3636 (gnm_gconf_set_xml_compression): new
3637 (gnm_gconf_set_sort_dialog_max_initial): new
3638 (gnm_gconf_set_workbook_nsheets): new
3639 (gnm_gconf_set_undo_size): set current prefs structure
3640 (gnm_gconf_set_undo_max_number): set current prefs structure
3642 2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
3644 * src/gnumeric-gconf.c (gnm_gconf_set_hf_font): new
3645 * src/gnumeric-gconf.h (gnm_gconf_set_hf_font): new
3647 2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
3649 * src/gnumeric-gconf.c (gnm_gconf_set_default_font_name): avoid
3652 2004-11-02 Stepan Kasal <kasal@ucw.cz>
3654 * src/ssconvert.c (main): Don't call gsf_init(); gnm_common_init
3655 will do it (via libgoffice_init) and we don't need it until then.
3657 2004-11-05 Jody Goldberg <jody@gnome.org>
3659 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : ctrl+alt is the
3660 logic place to do symetric movement with the new layout.
3662 2004-11-04 Stepan Kasal <kasal@ucw.cz>
3665 Add AC_ARG_VAR declarations for all variables used in
3666 AC_PATH_PROG or AC_CHECK_PROG.
3667 Clean up the checks for psiconv, perl and python.
3668 Remove the check for jw.
3670 2004-11-05 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3672 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): change sheet object
3673 manipulation keybindings to something that is not a psychomotor test.
3675 2004-11-04 Jody Goldberg <jody@gnome.org>
3677 * src/sheet-control-gui.c (scg_mode_edit) : no need to finish editing
3678 if we are not current sheet.
3680 2004-11-03 Jody Goldberg <jody@gnome.org>
3682 * src/ranges.c (global_range_contained) : adjust the signature to
3683 provide a Sheet* context.
3685 2004-11-04 Morten Welinder <terra@gnome.org>
3687 * src/mathfunc.c (lgamma1p): Fix gnm_float buglet.
3689 * src/commands.c (cmd_selection_clear): Fix 157376.
3691 2004-11-04 Andreas J. Guelzow <aguelzow@taliesin.ca>
3693 http://bugzilla.gnome.org/show_bug.cgi?id=157238
3694 http://bugzilla.gnome.org/show_bug.cgi?id=157239
3695 * gnumeric-gconf.h (gnm_gconf_set_gui_window_x): new
3696 (gnm_gconf_set_gui_window_y): new
3697 (gnm_gconf_set_gui_zoom): new
3698 (gnm_gconf_set_default_font_size): new
3699 (gnm_gconf_set_default_font_name): new
3700 (gnm_gconf_set_default_font_bold): new
3701 (gnm_gconf_set_default_font_italic): new
3702 * gnumeric-gconf.c (gnm_gconf_set_gui_window_x): new
3703 (gnm_gconf_set_gui_window_y): new
3704 (gnm_gconf_set_gui_zoom): new
3705 (gnm_gconf_set_default_font_size): new
3706 (gnm_gconf_set_default_font_name): new
3707 (gnm_gconf_set_default_font_bold): new
3708 (gnm_gconf_set_default_font_italic): new
3710 2004-11-03 Jody Goldberg <jody@gnome.org>
3712 * configure.in : fix the python test and sync it with the perl test
3714 2004-11-02 Jody Goldberg <jody@gnome.org>
3716 * configure.in : extend the test for perl
3718 * src/sheet-control-gui.c (cb_collect_objects_to_commit) : set the
3719 anchor of objects that are not rubber banded directly.
3720 * src/gnumeric-pane.c (cb_clear_indirect_rubber_bands) : Merge into
3721 cb_collect_objects_to_commit.
3723 2004-11-02 Andreas J. Guelzow <aguelzow@taliesin.ca>
3725 http://bugzilla.gnome.org/show_bug.cgi?id=156732
3726 * src/gnumeric-gconf.c (gnm_gconf_set_recent_funcs):
3727 also adjust the pref structure.
3729 2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
3731 * src/rendered-value.c (rendered_value_get_text):
3734 2004-11-01 Jody Goldberg <jody@gnome.org>
3736 * configure.in : post release bump
3738 2004-10-31 Jody Goldberg <jody@gnome.org>
3742 2004-11-01 Yukihiro Nakai <nakai@gnome.gr.jp>
3744 * configure.in: Enable perl plugins
3745 * plugins/Makefile.am: Add perl-func, perl-loader
3747 2004-11-01 Jody Goldberg <jody@gnome.org>
3749 * src/Makefile.am : DISTCLEAN GNOME_Gnumeric-gtk.xml it is generated
3751 2004-09-15 Stepan Kasal <kasal@ucw.cz>
3753 * configure.in: Add test for zlib, inspired by libxml2's configure.in;
3754 this is needed to link excel.la correctly against libz, if it is
3755 available only as a static library, not as a dynamic one.
3757 2004-11-01 Morten Welinder <terra@gnome.org>
3759 * src/gui-clipboard.c (text_to_cell_region): Fix type confusion.
3761 * src/dependent.c (dependents_unrelocate): Don't access sheet
3762 member in union unless there is supposed to be one.
3764 2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
3766 * src/gui-util.h (gnm_iter_search_t): new type
3767 (gnm_tree_model_iter_prev): new
3768 * src/gui-util.c (gnm_tree_model_iter_prev): new
3770 2004-10-30 Stepan Kasal <kasal@ucw.cz>
3772 A cleanup of ssconvert; don't require Gnome.
3774 * src/ssconvert.c (list_them): New general function which lists
3775 importers or exporters.
3776 (convert): New function; the main functionality moved here.
3777 (mail): Use the above functions; call gsf_init and don't use
3778 Gnome-specific functions.
3780 2004-09-13 Stepan Kasal <kasal@ucw.cz>
3782 * configure.in: Don't use test's operators -a and -o, they aren't
3783 portable. A small cleanup of the python detection code.
3785 2004-10-31 Jody Goldberg <jody@gnome.org>
3787 * src/format.c (cb_attrs_as_string) : new.
3788 (gnm_format_parse_markup) : parse the content generated above
3789 (style_format_new_XL) : handle markup formats
3791 2004-10-30 Jody Goldberg <jody@gnome.org>
3793 * src/formats.c (cell_format_classify) : handle the quick cheesy hack
3794 to persist attr lists.
3796 2004-10-28 Jody Goldberg <jody@gnome.org>
3798 * src/workbook-control-gui.c (wbcg_update_action_sensitivity) :
3799 renamed from wbcg_edit_set_sensitive (still a bogus title given that
3800 we have related functionality in several places). Moved the logic
3801 to define what should be sensitive here, rather than from the model.
3802 This allows us to reconfigure on sheet changes.
3804 2004-10-28 Jody Goldberg <jody@gnome.org>
3806 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : up/down where
3809 2004-10-29 Jody Goldberg <jody@gnome.org>
3811 * src/workbook.c (workbook_set_dirty) : update the title if dirtiness
3814 * src/workbook-control.c (wb_control_update_title) : Add a HIGy '*'
3815 for modified documents.
3817 * src/io-context-gtk.c : include string.h to avoid warning
3819 * src/sheet-control-gui.c (scg_cursor_extend) : finish the edit before
3822 * src/item-edit.c (ie_layout) : handle zoom
3824 2004-10-29 Morten Welinder <terra@gnome.org>
3826 * src/io-context-gtk.c (icg_processing_file): Since the progress
3827 bar truncates text at the right, limit the text we set to 40
3828 characters (give or take) to ensure that the basename can be seen.
3830 * src/plugin-service.c (plugin_service_ui_finalize): Free actions
3831 using the right kind of freer.
3833 * src/wbc-gtk.c (wbc_gtk_init): Create custom_uis table here.
3834 (wbc_gtk_finalize): Destroy it here.
3836 * src/stf-export.c (stf_export_sheet): Plug leak.
3838 2004-10-29 Jody Goldberg <jody@gnome.org>
3840 * src/wbc-gtk.c (cb_add_custom_ui) : fix unmerging
3842 2004-10-29 Jody Goldberg <jody@gnome.org>
3844 * src/gnumeric-gconf.c (gnm_conf_init_extras) : typos in the broken
3847 2004-10-29 Jody Goldberg <jody@gnome.org>
3849 * src/format.c (append_hour) : be XL compat
3851 2004-10-29 Jody Goldberg <jody@gnome.org>
3853 * src/file-autoft.c : clean up the handling of translations
3854 * src/format-template.c (format_template_new) : Name should be
3855 translatable, not translated.
3857 2004-10-29 Jody Goldberg <jody@gnome.org>
3859 * src/application.c (gnm_action_new) : new
3860 (gnm_action_free) : ditto
3861 (gnm_app_add_extra_ui) : ditto
3862 (gnm_app_remove_extra_ui) : ditto
3863 (gnm_app_foreach_extra_ui) : ditto
3865 * configure.in : enable the sample ui plugin
3866 * plugins/Makefile.am : ditto
3867 * plugins/python-loader/boot.c : ditto
3868 * plugins/python-loader/py-console.c : ditto
3869 * plugins/python-loader/python-loader.c : ditto
3871 2004-10-27 Jody Goldberg <jody@gnome.org>
3873 * src/plugin-service.c : enable the ui service.
3874 * plugins/gnome-db/plugin-gnomedb.c : Use the new interface for the ui
3877 * src/sheet-object-graph.c (sheet_object_graph_default_size) : be
3878 cheesy. We're setting the bounds in so many places before this is
3879 called that it's not safe to use the defaults from GogRenderer. Not
3880 a huge loss, those were pretty arbitrary.
3882 2004-10-26 Jody Goldberg <jody@gnome.org>
3884 * src/libgnumeric.c (gnm_pre_parse_init) : Set the default
3885 datadir/libdir based on the packge for WIN32
3887 2004-10-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3889 * plugins/excel/ms-chart.c (BC_R): handle dash_type property.
3890 (ms_excel_chart_read): use GO_LINE_NONE ofr invisible lines.
3892 2004-10-27 Morten Welinder <terra@gnome.org>
3894 * src/complex.c (complex_div, complex_sqrt): Improve accuracy.
3896 * src/gui-file.c (go_file_is_writable): Use G_IS_DIR_SEPARATOR
3897 instead of comparing to G_DIR_SEPARATOR.
3899 2004-10-27 J.H.M. Dassen (Ray) <jdassen@debian.org>
3901 * gnumeric.desktop.in, gnumeric.keys.in: Changed
3902 "comma-separated-values" to "text/comma-separated-values", as a "MIME
3903 type" without a slash in it is rejected by "update-desktop-database".
3905 2004-10-26 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3907 * schemas/gnumeric-dialogs.schemas.in: Fixed Typo
3909 2004-10-26 Morten Welinder <terra@gnome.org>
3911 * src/mathfunc.c (pgamma): Fix various accuracy problems for
3914 * Makefile.am (gnumeric.desktop): Use %U or %F for Exec as
3917 2004-10-25 Yukihiro Nakai <nakai@gnome.gr.jp>
3919 * src/plugin-loader.c: (gnm_plugin_loader_load_base)
3920 Don't crash but warn when no load_base method.
3921 * src/plugin-service.c: (plugin_service_function_group_func_desc_load)
3922 Don't crash but warn when no func_desc_load method.
3924 2004-10-21 Morten Welinder <terra@gnome.org>
3926 * src/mathfunc.c (logfbit): Make global.
3928 2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
3930 * src/stf.c: (stf_apply_formats): use unsigned int
3931 * src/stf-parse.h: make col_import_array_len unsigned
3933 2004-10-21 Jean Brefort <jean.brefort@normalesup.org>
3934 * src/dialogs/dialog-solver.c: (revert_constraint_format): make constraints
3935 display correctly in all circumstances.
3937 2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
3939 http://bugzilla.gnome.org/show_bug.cgi?id=139385
3940 * src/stf-parse.c (stf_parse_options_new) initialize
3942 (stf_parse_sheet): set cols_exceeded
3943 * src/stf-parse.h: add cols_exceeded to StfParseOptions_t
3944 * src/stf.c (stf_apply_formats): remove warning
3945 (stf_read_workbook_auto_csvtab): show warning if
3946 cols_exceeded is set.
3948 2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
3950 * src/format-template.c: (xml_read_format_template_members)
3951 Gettextize author,name,descr field.
3953 * templates/autoformat/: Move xml to xml.in and gettextize them
3955 2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
3957 * schemas/gnumeric-general.schemas.in: change recalclag
3960 2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
3962 * src/stf-parse.c (stf_parse_options_new): initialize
3963 col_import_array_len
3964 (stf_parse_sheet): make sure we don't index beyond the end
3965 of the col_import_array
3966 (stf_parse_region): ditto
3967 * src/stf.c (stf_apply_formats): ditto
3968 * src/stf-parse.h: add col_import_array_len to StfParseOptions_t
3970 2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
3972 * src/plugin-loader.c (gnm_plugin_loader_load_service):
3973 Output error when no set_attributes method.
3975 2004-10-20 Morten Welinder <terra@gnome.org>
3977 * src/gui-clipboard.c (x_clipboard_get_cb): Crash protection.
3979 * src/clipboard.c (cellregion_to_string): Add extra argument
3982 2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
3984 * src/.cvsignore: add GNOME_Gnumeric-gtk.xml
3986 2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
3988 http://bugzilla.gnome.org/show_bug.cgi?id=132876
3989 * src/print.c (sheet_print): make the print dialog semi-modal.
3990 (dialog_destroy): new
3991 (dialog_response): new
3992 (sheet_print_real): new
3994 2004-10-19 Morten Welinder <terra@gnome.org>
3996 * src/Makefile.am (GNOME_Gnumeric-gtk.xml): Create this using a
3997 sed script for now. We seem to have relied on intltool bugs not
3998 present in all versions.
4000 * src/print-info.c (render_path): Use go_dirname_from_uri.
4002 * src/workbook-view.c (cb_cleanup_sendto): Remove directory using
4005 * src/gui-file.c (go_file_is_writable): Use go_dirname_from_uri.
4007 2004-10-18 Jody Goldberg <jody@gnome.org>
4009 * src/print-info.c (print_info_dup) : copy the margins.
4011 2004-10-16 Yukihiro Nakai <nakai@gnome.gr.jp>
4013 * src/GNOME_Gnumeric-gtk.xml: Obsolete
4014 * src/GNOME_Gnumeric-gtk.xml.in: Newly added for gettextize.
4015 * src/wbc-gtk.c: Gettextize the toolbar.
4017 2004-10-18 Jody Goldberg <jody@gnome.org>
4019 http://bugzilla.gnome.org/show_bug.cgi?id=152516
4020 * src/sheet-control-gui.c (scg_context_menu) : minor string change
4021 It is clearer to say 'Cells' for insert and delete.
4023 2004-10-16 Jody Goldberg <jody@gnome.org>
4025 * src/gnumeric-pane.c (gnm_pane_object_register) : Take a 'selectable'
4026 argument to enable/disable the view selection mechanism. This
4027 routine is still useful for setting up bounds handlers.
4029 2004-10-16 Jody Goldberg <jody@gnome.org>
4031 * src/print-info.c : delay the creation of a GnomePrintConfig until it
4032 is really necessary.
4034 2004-10-16 Jody Goldberg <jody@gnome.org>
4036 * src/func.c (function_call_with_list) : Everything can now return an
4037 empty during evaluation.
4039 2004-10-16 Jody Goldberg <jody@gnome.org>
4041 * src/sheet-object-cell-comment.c (cell_comment_new_view) : add
4042 bounds-changed handler.
4043 (cell_comment_event) : This now takes a GnmPane, not an scg.
4045 * src/sheet-object-cell-comment.c : Add a text property.
4047 2004-10-14 Morten Welinder <terra@gnome.org>
4049 * src/gutils.c (gnm_usr_dir): Use g_build_filename. Note, that
4050 this means that we return the result without a terminating slash.
4052 2004-10-13 Morten Welinder <terra@gnome.org>
4054 * src/sheet-object-widget.c (SOW_MAKE_TYPE): Add arguments for
4056 (SheetWidgetButton): Add markup member.
4057 (sheet_widget_button_get_property,
4058 sheet_widget_button_set_property): New functions.
4060 2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
4062 * src/graph.c: (gnm_go_data_vector_load_values),
4063 (gnm_go_data_matrix_load_values): fixes VALUE_STRING case, if a value
4064 is found, take it into account for minimum and maximum.
4066 2004-10-13 Morten Welinder <terra@gnome.org>
4068 * src/wbc-gtk.c (regenerate_window_menu): Escape underscore in
4071 2004-10-11 Jody Goldberg <jody@gnome.org>
4073 * src/sheet.c (sheet_rename) : tell each view to update its edit line
4074 in case the editline is displaying an expression that references the
4077 * src/commands.c (update_after_action) : Take a Workbook and run an
4078 update on the current sheet for each control.
4080 2004-10-11 Morten Welinder <terra@gnome.org>
4082 * src/parser.y (gnm_expr_parse_str): Revive logic to add missing
4085 * src/gnumeric-pane.c (gnm_pane_release): Plug leak.
4087 2004-10-10 Jody Goldberg <jody@gnome.org>
4089 * src/sheet-object-widget.c : Add a ToggleButton type.
4090 (sheet_widget_checkbox_get_ref) : weaken to allow relative references
4091 and assume they are relative to A1.
4092 (sheet_widget_adjustment_get_ref) :
4094 2004-10-10 Jody Goldberg <jody@gnome.org>
4096 * gnumeric.spec.in : Let's stick with fedora core package names as the
4097 defacto standard until something better presents itself. There are
4098 still no guarantees that this works.
4100 2004-10-09 Jody Goldberg <jody@gnome.org>
4102 * src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) :
4103 Simplify. There's no need to select the object here. We've
4104 already handled it in the main handler (cb_sheet_object_canvas_event)
4106 2004-10-09 Jean Brefort <jean.brefort@normalesup.org>
4108 * src/graph.c: (gnm_go_data_matrix_eval),
4109 (gnm_go_data_matrix_finalize), (gnm_go_data_matrix_load_size),
4110 (cb_assign_matrix_val), (gnm_go_data_matrix_load_values),
4111 (gnm_go_data_matrix_get_value), (gnm_go_data_matrix_get_str),
4112 (gnm_go_data_matrix_class_init), (gnm_go_data_matrix_debug_name),
4113 (gnm_go_data_matrix_init), (gnm_go_data_matrix_new_expr),
4114 (gnm_go_data_get_dep): New GnmGODataMatrix class.
4115 * src/graph.h: ditto.
4116 * src/selection.c: (sv_selection_to_plot): updated to use GnmGODataMatrix
4118 * src/sheet-object.c: (sheet_objects_init): ditto.
4119 * src/workbook-control-gui.c: (cb_graph_dim_editor_update),
4120 (wbcg_data_allocator_editor): ditto.
4122 2004-10-08 Jody Goldberg <jody@gnome.org>
4124 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : throw in
4125 support for tabbing fwd/back through the list of objects.
4127 * src/sheet-object-widget.c (sheet_widget_checkbox_create_widget) :
4128 Tweak to support toggle buttons too
4130 2004-10-08 Jody Goldberg <jody@gnome.org>
4132 * src/sheet-object.c : Add a SheetObjectView interface and use it to
4133 give us more control over things.
4135 * src/workbook-control-gui.c (wbcg_zoom_feedback) : no need to
4136 reposition objects manually here.
4138 * src/print.c (print_sheet_objects) : Use sheet_object_can_print.
4140 * src/gutils.c : Clean up the name spacing
4142 * src/sheet-filter.c : Support the new SheetObjectView interface
4143 * src/sheet-object-cell-comment.c : ditto
4144 * src/sheet-object-graph.c : ditto
4145 * src/sheet-object-image.c : ditto
4146 * src/sheet-object-widget.c : ditto
4148 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) :
4149 - arrow moves the objects
4150 - ctrl arrow expands an edge
4151 - shift ctrl arrow shrinks an edge
4153 * src/commands.c (CmdObjectInsert) : delete
4154 (CmdObjectDelete) : Rename to CmdObjectsDelete and handle multiples
4155 (CmdObjectMove) : Rename to CmdObjectsMove and handle multiples
4157 * src/application.c (gnm_app_clipboard_cut_copy_obj) : handle multiple
4159 * src/gnumeric-pane.c : ditto.
4160 * src/sheet-control-gui.c : ditto.
4161 * src/item-grid.c : ditto. Also there is no need to handle object
4162 creation here as a special case just use the object editing
4165 * src/sheet-object.c (sheet_object_anchor_init) : pick a default that
4166 we've actually implemented.
4168 2004-10-08 Morten Welinder <terra@gnome.org>
4170 * src/rangefunc.c (range_hypot): New function.
4172 * src/workbook.c (workbook_sheet_unhide_controls): New function.
4174 * src/sheet.c (sheet_set_visibility): Call
4175 workbook_sheet_unhide_controls as appropriate.
4177 * src/gui-file.c (gui_file_open): Start browsing in the same
4178 directory as the workbook from which we initiated the open.
4180 * src/commands.c (cmd_paste_cut_update_origin,
4181 update_after_action): Use workbook_autorecalc.
4183 * src/workbook.c (workbook_autorecalc): New function.
4185 2004-10-07 Morten Welinder <terra@gnome.org>
4187 * src/cmd-edit.c (sv_select_cur_inputs): Implement.
4189 * src/expr.c (gnm_expr_get_ranges): Implement.
4191 2004-10-06 Jon K Hellan <hellan@acm.org>
4193 * src/workbook-control-gui.c (show_gui): Maximize when preferred
4194 size is larger than screen.
4196 2004-10-05 Jody Goldberg <jody@gnome.org>
4198 * configure.in : post release bump
4200 2004-10-05 Jody Goldberg <jody@gnome.org>
4204 2004-10-05 Jon K Hellan <hellan@acm.org>
4206 * configure.in (gnumeric_reqs): Add pangoft2 requirement. (Fixes
4209 2004-10-04 Jody Goldberg <jody@gnome.org>
4211 * configure.in : Add a test for mkfifo
4213 2004-09-13 Stepan Kasal <kasal@ucw.cz>
4215 * configure.in: Cleanup the mono detection code. This way it
4216 won't get to the ``configure --help'' which is good for the
4217 upcoming stable release.
4219 2004-10-01 Jody Goldberg <jody@gnome.org>
4221 * src/colrow.c (colrow_set_sizes) : no need to calculate the size if
4222 we're assigning the default. Clean up the logic for assigning the
4224 1) Not assign to an empty col/row
4225 2) Break XL compat and have autosize of empty do the same thing for
4228 2004-10-01 Morten Welinder <terra@gnome.org>
4230 * src/gui-file.c (gui_file_open): Specifically list "*.csv" and
4231 "*.tsv" until we get a proper fix. (Fixes #143135.)
4233 2004-09-29 Morten Welinder <terra@gnome.org>
4235 * src/gui-file.c (go_file_is_writable): Make the file-exist dialog
4236 use GTK_MESSAGE_WARNING and have buttons OK and Cancel.
4237 (gui_file_save_as): Cleaup.
4238 (do_save_as): Cleanup and move parts up to sole caller.
4240 * src/Makefile.am: Link in egg-recent.
4242 * src/clipboard.c (clipboard_copy_range): Fix
4243 gboolean/CellIterFlags confusion.
4244 * src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
4245 * src/sheet-view.c (sv_is_region_empty_or_selected): Ditto.
4246 * src/print.c (print_page): Ditto.
4248 * src/sheet.c (sheet_foreach_cell_in_range): Don't consider a cell
4249 with an un-evaluated expression empty. Add paranoia.
4251 2004-09-29 Jody Goldberg <jody@gnome.org>
4253 * src/commands.c (cmd_object_move) : extend to handle insertion too.
4255 * src/gnumeric-pane.c (cb_control_point_event) : Play fast and lose
4256 with the undo records when duplicating an object by ctrl-click.
4257 Assign the object the sheet as soon as we duplicate it but do not
4258 list the undo until we record the resize on button release.
4260 * src/workbook-view.c (gnm_mailto_url_show) : fix.
4262 * src/session.c : suppress warning in the --without-gnome case
4264 * src/sheet-control-gui.c (scg_set_current_object) : new. uses the
4265 handy dandy unrealized signal on a SheetObject. With code split from
4266 (scg_object_stop_editing) : here.
4267 (scg_mode_edit_object) : and here.
4268 * src/gnumeric-pane.c (cb_control_point_event) : so that we could use
4271 2004-09-28 Jody Goldberg <jody@gnome.org>
4273 * src/sheet-control-gui.c (scg_mode_edit_object) : fall back to edit
4274 mode if the object is unrealized.
4276 * src/sheet-object.c (sheet_object_clear_sheet.) : merge some of the
4277 nice features from finalize
4278 (sheet_object_finalize) : use sheet_object_clear_sheet.
4279 * src/sheet.c (sheet_destroy) : ditto.
4281 * src/gnumeric-pane.c (cb_control_point_event) : Make the copy
4282 operation undo-able.
4284 2004-09-28 Morten Welinder <terra@gnome.org>
4286 * configure.in: Add check for pango_context_set_matrix. We're
4287 going to need that for rotated text.
4289 2004-09-28 Jody Goldberg <jody@gnome.org>
4291 * src/commands.c (cmd_object_raise_redo) : Don't use MAXINT/MININT it
4292 causes trouble becaue -MININT is not expressable
4294 2004-09-28 Jody Goldberg <jody@gnome.org>
4296 http://bugzilla.gnome.org/show_bug.cgi?id=153871
4297 * src/gnm-so-filled.c (cb_filled_update_bounds) : line width counts
4300 * src/commands.c (cmd_object_delete) : Take an optional descriptor
4301 string. All callers changed.
4303 * src/application.c (gnm_app_clipboard_cut_copy_obj) : Use
4304 cmd_object_delete for cuts to get undo.
4306 * src/sheet-object.c (sheet_objects_relocate) : properly clear the
4307 sheet before we unref an object.
4308 (sheet_objects_get) : use range_contained.
4309 (sheet_objects_clear) : ditto. This simplifies undo/redo.
4311 2004-09-27 Jody Goldberg <jody@gnome.org>
4313 * src/application.c (gnm_app_clipboard_cut_copy_obj) : translate the
4314 anchor back to a pseudo origin to make pasting easier.
4316 * src/clipboard.c (clipboard_paste_region) : handle paste contents
4317 with only objects. No need to do tiling or to clear things.
4319 * src/gutils.c (gnm_ptr_array_insert) : Make this smarter.
4320 Just append if the requested element is >= len
4322 * src/item-grid.c (item_grid_event) : only auto-slide when we're
4323 outside. Inside we handle it locally fixes artificial movement that
4324 seems to jump back to the start of the previous row/col
4326 * src/gnumeric-pane.c (cb_control_point_event) : Store the button that
4327 initiated the object drag and check that when releasing.
4329 * src/commands.c (cmd_paste_copy) : handle pasting objects with no
4332 * src/gutils.h : Fix the name spacing to be gnm_ in all cases.
4333 gnumeric_ is too damn big, and we have not business using g_
4334 * src/gutils.c (gnm_usr_dir) : Check for empty home_dir
4336 * src/graph.c (gnm_go_data_vector_load_len) : handle missing
4339 * src/gnm-so-filled.c (gnm_so_filled_read_xml_dom) : We still need to
4340 Type field even though it is ugly.
4342 * src/xml-io.c (xml_cellregion_write) : cut-n-paste-o to fix
4343 inter-process pasting
4344 (xml_cellregion_read) : Actually store the resulting objects
4345 (xml_read_sheet_object) : Don't set the sheet when extracting a
4348 2004-09-27 Morten Welinder <terra@gnome.org>
4350 * src/workbook-view.c (wb_view_sendto): Bring !WITH_GNOME case a
4351 lot closer to sanity. Properly handle case where mkdir fails.
4352 (gnm_mailto_url_show): New function factored out from
4355 2004-09-27 Jody Goldberg <jody@gnome.org>
4357 * configure.in : drop the test for caddr_t we do not need it and it
4358 does not work win32.
4359 Export the epoch, major, minor version elements
4361 * src/workbook-view.c (wb_view_sendto) : a win32 portability patch for
4364 2004-09-26 Jody Goldberg <jody@gnome.org>
4366 * src/xml-io.c (gnumeric_xml_write_workbook) : respect the xml
4367 compression preference a bit. It's still uncompressed, or
4368 compressed. We'll need to patch gsf to be able to tune that
4371 2004-09-26 Jody Goldberg <jody@gnome.org>
4373 * src/workbook-view.c (wb_view_sendto) : encode the right portion of
4376 2004-09-26 Jody Goldberg <jody@gnome.org>
4378 * src/workbook-view.c (wb_view_sendto) : cleanup and use the new url
4381 2004-09-26 Jody Goldberg <jody@gnome.org>
4383 * src/GNOME_Gnumeric-gtk.xml : Add InsertCurrentDateTime
4385 * src/wbcg-actions.c (cb_insert_current_date_time) : new
4387 * src/format.c (style_format_default_date_time) : new return
4388 concatination of default date and time formats
4390 2004-09-26 Jody Goldberg <jody@gnome.org>
4392 * src/workbook-view.c (wbv_save_to_uri) : renamed from wbv_save_to_file
4393 to clarify that it does not work for a simple path.
4394 (wb_view_sendto) : fix to use a uri.
4396 2004-09-26 Jody Goldberg <jody@gnome.org>
4398 * src/gnumeric-pane.c (cb_sheet_object_canvas_event) : Use the pane in
4399 GnmCanvas rather than adding one to GnmSimpleCanvas
4401 2004-09-26 Jody Goldberg <jody@gnome.org>
4403 * src/gnumeric-pane.c (gnm_pane_object_move) : handle symetric
4404 movement via ctrl-click and object duplicate via ctrl-click on
4407 * src/gnumeric-pane.c (build_so_menu) : new
4408 (display_object_menu) : create a GtkMenu based on the actions.
4410 * src/sheet-object.c (sheet_object_populate_menu) : Rework the
4411 interface to return action descririptors rather than a GtkMenu
4412 Change all implementations
4414 2004-09-26 Jody Goldberg <jody@gnome.org>
4416 * src/xml-io.c (xml_cellregion_read) : read objects
4417 (xml_cellregion_write) : write them too
4419 2004-09-25 Jody Goldberg <jody@gnome.org>
4421 * src/wbcg-actions.c (cb_edit_copy) : Use
4422 gnm_app_clipboard_cut_copy_obj for objects
4423 (cb_edit_cut) : ditto.
4425 * src/sheet-object.c (sheet_object_populate_menu) : put the stacking
4426 items into a sub menu.
4428 2004-09-24 Jody Goldberg <jody@gnome.org>
4430 * src/clipboard.c (paste_object) : new.
4431 (clipboard_paste_region) : use it.
4432 (cb_dup_objects) : new.
4433 (clipboard_copy_range) : dup the objects in the range.
4434 (cellregion_new) : init the object list
4435 (cellregion_unref) : free the object list
4437 * src/sheet-object.c (sheet_object_dup) : make public, and tweak
4439 (sheet_object_clone_sheet) : adjust to the interface change.
4441 2004-09-24 Jody Goldberg <jody@gnome.org>
4443 * src/sheet-object-image.c (sheet_object_image_copy) : implement
4445 * src/wbcg-actions.c : update the actions to handle the new drawing
4448 * src/sheet-object.c (sheet_object_clone) : Change the interface to
4449 have the wrapper create the object. Then s/clone/copy/ and have it
4450 just do the assignament rather, not allocation.
4451 * src/sheet-object*.c : s/clone/copy/ with related semantic changes
4453 * src/rendered-value.c (rendered_value_render) : trivial
4456 * src/main-application.c (main) : Use bonobo_main WITH_GNOME just in
4459 * src/gnumeric-pane.c (gnm_pane_object_register) : Change return type
4460 to GObject. There's no need to be more specific.
4461 (gnm_pane_widget_register) : ditto.
4463 * src/gnm-so-filled.c : Rewrite of the old SheetObjectGraphic
4464 to use GogStyle, merge text into the base, and use GObject properties
4465 * src/gnm-so-line.c : Rewrite of the old SheetObjectFilled
4466 to use GogStyle and use GObject properties
4468 * src/Makefile.am : Adjust to the file changes for
4469 sheet-object-graphic.c
4471 2004-09-13 Stepan Kasal <kasal@ucw.cz>
4473 * configure.in (GCONF_SCHEMAS_INSTALL): AM_CONDITIONAL has to be
4474 called in all branches.
4476 2004-09-24 Jody Goldberg <jody@gnome.org>
4478 * src/xml-io.c (xml_read_sheet_object) : add hooks to the old names
4479 for GnmSOFilled, and GnmSOLine
4481 2004-09-23 Jody Goldberg <jody@gnome.org>
4483 * src/commands.c (cmd_object_format) : undo redo for the new line and
4486 2004-09-23 Jody Goldberg <jody@gnome.org>
4488 * configure.in (GNUMERIC_PLUGIN_LDFLAGS) : new macro to give the win32
4489 folk a hook for the plugins.
4490 * plugins/*/Makefile.am : Use it
4491 * plugins/*/plugin.xml.in : Remove the .la for module names. Core of
4492 glib adds just before checking platform specific names.
4494 2004-09-23 Jody Goldberg <jody@gnome.org>
4496 * src/wbcg-actions.c (cb_view_zoom_out) : in and out were reversed
4497 (cb_view_zoom_in) : ditto
4499 2004-09-24 Morten Welinder <terra@gnome.org>
4501 * src/print-cell.c (print_cell): New wrapper function. Turn on
4502 new printing by default.
4504 * src/gui-util.c (entry_to_int): Plug leak.
4505 (entry_to_float_with_format): Plug leak.
4507 2004-09-23 Morten Welinder <terra@gnome.org>
4509 * src/gui-util.c (cb_activate_default): New function to avoid
4511 (gnumeric_editable_enters): Activate via cb_activate_default.
4513 * src/rendered-value.c (rendered_value_recontext): Don't require
4514 Pango 1.6, but use it if we have it.
4516 2004-09-23 Morten Welinder <terra@gnome.org>
4518 * src/rendered-value.c (rendered_value_recontext): Force
4519 wrap==FALSE when the source layout has only one line.
4520 (Mostly fixes #152265)
4522 * src/rendered-value.h (struct _RenderedValue): switch
4523 layout_natural_width and layout_natural_height be in terms of
4524 pango units. All users changed.
4526 * src/cell-draw.c (cell_calc_layout): Switch srguments width,
4527 height, h_center, res_x, and res_y to be in terms of pango units.
4528 Ditto for internal variables rect_x, rect_y, hoffset, indent, and
4529 text_base. All callers changed.
4531 2004-09-23 Morten Welinder <terra@gnome.org>
4533 * src/rendered-value.c (rendered_value_remeasure): New function.
4534 (rendered_value_new): Use rendered_value_remeasure.
4535 (rendered_value_recontext): New function.
4537 * src/cell-draw.c (cell_calc_layout): Use
4538 rendered_value_remeasure.
4540 * src/print-cell.c (print_cell_NEW): Use rendered_value_recontext.
4542 2004-09-22 Morten Welinder <terra@gnome.org>
4544 * src/colrow.c (cb_clear_variable_width_content): Force a redraw.
4546 * src/cell-draw.c (cell_calc_layout): Drop rect argument. Replace
4547 printing argument by y_direction argument. Drop x1 and y1
4548 arguments. Callers changed.
4549 (cell_calc_layout): Insert zero_width_space characters in the
4552 * src/print-cell.c (print_cell_NEW): Use size_pts.
4554 2004-09-22 Morten Welinder <terra@gnome.org>
4556 * src/print-cell.c (print_merged_range, print_cell): Take extra
4557 PangoContext argument. All callers changed.
4558 (print_cell_range): Create a pango context.
4560 (print_cell_OLD): Renamed from print_cell.
4561 (print_cell_NEW): New function.
4562 (print_cell): New macro to call _OLD or _NEW as appropriate.
4564 * src/rendered-value.c (rendered_value_new): Get rid of quantify
4567 2004-09-22 Morten Welinder <terra@gnome.org>
4569 * src/cell-draw.c (cell_draw): Get rid of quantify artefacts.
4570 (cell_calc_layout): Add rv and printing arguments, drop res_layout
4571 argument. Make extern. Caller changed.
4573 2004-09-21 Morten Welinder <terra@gnome.org>
4575 * src/print.c (print_hf_element): Print using pango layouts when
4576 possible. Code adapted from bug #152939, kzamir@walla.co.il.
4578 2004-09-16 Jody Goldberg <jody@gnome.org>
4580 * src/sheet.c (cb_clear_rendered_cells) : fix the 'Serious Error'
4581 warnings on zoom changes.
4583 * src/workbook-control-gui.c (wbcg_create_status_area) : drop some
4584 frames in the status area and use GtkStatusbar to get the resize grip
4586 http://bugzilla.gnome.org/show_bug.cgi?id=152636
4587 * src/style.c (style_font_new_simple) : sizes in pts should not
4588 include the zoom scaling, pretend that we actually measure that.
4590 http://bugzilla.gnome.org/show_bug.cgi?id=152244
4591 * src/sheet-object.c (cell_offset_calc_pixel) : return double to avoid
4592 problems when we are at integer-epsilon, which would round to
4593 integer-1 and systematicly lose precision.
4594 * src/sheet-control-gui.c (scg_object_view_position) : Use
4595 foo_canvas_window_to_world instead of foo_canvas_w2c to move the
4596 pixels back into canvas space.
4598 http://bugzilla.gnome.org/show_bug.cgi?id=152512
4599 * src/gnumeric-pane.c (control_point_set_cursor) : new.
4600 (cb_control_point_event) : use it.
4601 (new_control_point) : no longer a need to specify the cursor
4602 (set_item_x_y) : ditto.
4603 (gnm_pane_object_set_bounds) : cursor are dynamic now.
4604 (set_acetate_coords) : ditto.
4606 2004-09-14 Morten Welinder <terra@gnome.org>
4608 * src/sheet-object-image.c (soi_get_image_fmt): g_free is a poor
4609 substitute for g_slist_free.
4611 2004-09-10 Jody Goldberg <jody@gnome.org>
4613 * src/commands.c (cmd_colrow_hide_correct_selection) : disable because
4616 * src/wbcg-actions.c : Add ctrl-9, ctrl-shift-9 (hide,unhide rows)
4617 Add ctrl-0, ctrl-shift-0 (hide,unhide cols)
4619 * src/wbc-gtk.c (cb_add_menus_toolbars) : toggle std toolbar should be
4622 2004-09-10 Morten Welinder <terra@gnome.org>
4624 * src/workbook.c (workbook_new): Generate a proper URI here.
4626 2004-09-09 Jody Goldberg <jody@gnome.org>
4628 * configure.in : Post release bump
4630 2004-09-08 Jody Goldberg <jody@gnome.org>
4634 2004-09-08 Jody Goldberg <jody@gnome.org>
4636 * src/workbook-control-gui.c (wbcg_toggle_visibility) : remember
4637 whether to keep a toolbar when in fullscreen mode.
4638 (cb_visibility) : simplify.
4640 * src/wbcg-actions.c (cb_view_fullscreen) : new.
4641 (cb_help_irc) : throw something together.
4643 * src/wbc-gtk.c (wbc_gtk_create_status_area) : hide statusbar by
4644 default in fullscreen mode.
4645 (cb_add_menus_toolbars) : hide toolbars by default in fullscreen mode.
4646 (cb_toolbar_activate) : simplify.
4647 (cb_handlebox_visible) : ditto.
4648 (cb_toggle_visibility) : new.
4649 (cb_wbcg_window_state_event) : handle fullscreen transitions.
4650 (wbc_gtk_init) : init the window_state_event handler.
4652 2004-09-08 Jody Goldberg <jody@gnome.org>
4654 * src/stf.c (csv_tsv_probe) : accept files < 80 characters long
4656 2004-09-08 Andreas J. Guelzow <aguelzow@taliesin.ca>
4658 * src/wbcg-actions.c: Correct Z-Test menu item description and
4659 title. We do not allow large sample calculations.
4661 2004-09-07 Jody Goldberg <jody@gnome.org>
4663 * src/pixmaps/Makefile.am : Move to the splash for 1.4
4665 2004-09-07 Jon K Hellan <hellan@acm.org>
4667 * src/gui-util.[hc] (gnumeric_notice, gnumeric_notice,
4668 gnumeric_dialog_run, gnumeric_error_info_dialog_show): Replace
4669 WorkboookControlGUI first paremeter with GtkWindow.
4671 * src/gui-file.c (go_file_is_writable, gui_get_image_save_info,
4672 check_multiple_sheet_support_if_needed, do_save_as,
4673 gui_file_save_as): Use updated gui-utils
4675 * src/item-cursor.c (item_cursor_target_region_ok): Ditto
4677 * src/print.c (sheet_print): Ditto.
4679 * src/session.c (interaction_function): Ditto.
4681 * src/wbcg-actions.c (cb_edit_search_replace_query): Ditto.
4683 * src/workbook-control-gui.c (wbcg_error_error) Ditto.
4684 (wbcg_close_if_user_permits):
4686 2004-09-06 Jody Goldberg <jody@gnome.org>
4688 * configure.in : Add a --disable-ssconvert for development.
4689 Constantly linking gnumeric and ssconvert is irritating, but we do
4690 want ssconvert enabled for releases.
4692 2004-09-06 Jody Goldberg <jody@gnome.org>
4694 * src/GNOME_Gnumeric-gtk.xml : Update to reflect some input from ui
4696 * src/wbcg-actions.c (actions) : ditto
4698 s/Search and Replace/Replace/
4700 2004-09-02 Stepan Kasal <kasal@ucw.cz>
4702 * configure.in (gnumeric_with_gnome): Fix typo.
4704 2004-09-05 Jon K Hellan <hellan@acm.org>
4706 * configure.in (GConf): Fix typo.
4708 2004-09-04 Jon K Hellan <hellan@acm.org>
4710 * src/wbc-gtk.c (wbc_gtk_init_undo_redo): Update action group of
4713 * src/sheet-object-graphic.c (sheet_object_text_get_property,
4714 sheet_object_text_class_init): Add "label" property.
4716 2004-09-03 Jody Goldberg <jody@gnome.org>
4718 * configure.in : expand the --with-gtk tests and make --with-gnome
4719 conditional on --with-gtk
4721 2004-09-02 Stepan Kasal <kasal@ucw.cz>
4723 * configure.in: start implementing --with-gui via the WITH_GTK
4724 conditional. Check also for pango, which is required even if no GUI
4725 is used. We use gtk+-2.0 >= 2.4.0 which requires pango >= 1.4.0; so
4726 we ask pango >= 1.4.0 too.
4727 * configure.in: Implement --disable-solver option, --enable-plugins hack.
4728 * src/Makefile.am: Conditionalize solver, start using WITH_GTK.
4729 * plugins/Makefile.am: compile the mps plugin only if ENABLE_SOLVER
4730 is set; --enable-plugins can override the plugin list.
4731 * src/solver.h: Don't declare anything if not !ENABLE_SOLVER; supply
4732 a few stub macros instead.
4733 * src/wbcg-actions.c: Conditionalize on ENABLE_SOLVER.
4734 * src/xml-io.c (xml_read_solver, xml_write_solver): Likewise.
4736 2004-07-31 Stepan Kasal <kasal@ucw.cz>
4738 * configure.in: Gnomish autogen.sh uses ACLOCAL_FLAGS, if some of the
4739 macros are in nonstandard places. If you touch configure.in then,
4740 aclocal.m4 is regenerated, but without ACLOCAL_FLAGS. This change
4741 ensures that ACLOCAL_FLAGS is propagated to the Makefile.
4742 * Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
4744 * src/ssconvert.c: s/exporter/importer/
4746 2004-08-31 Morten Welinder <terra@gnome.org>
4748 * src/wbc-gtk.c (cb_chain_sensitivity): Renamed from
4749 cb_set_repeat_sensitivity and changed to take action directly.
4752 2004-08-31 Jon K Hellan <hellan@acm.org>
4754 * src/sheet-object-graphic.c (sheet_object_polygon_class_init):
4755 Initialize sheet_object_class.
4757 2004-08-30 Jon K Hellan <hellan@acm.org>
4759 * src/commands.c (cmd_merge_cells_repeat): Shut up warning.
4761 * src/gui-file.c (gui_wb_view_show): Remove bogus return.
4763 2004-08-30 Morten Welinder <terra@gnome.org>
4765 * src/workbook-control-gui.c (wbcg_finalize): Destroy
4767 (wbcg_toggle_visibility): New function.
4768 (wbcg_copy_toolbar_visibility): Reinstate.
4769 (workbook_control_gui_init): Initialize visibility_widgets.
4771 * src/wbcg-actions.c (GNM_ACTION_DEF): Use new
4772 wbcg_toggle_visibility.
4774 * src/wbc-gtk.c (wbc_gtk_create_status_area): Add status bar to
4776 (cb_toolbar_activate): Simplify.
4777 (cb_add_menus_toolbars): Add toolbars to visibility widgets.
4778 (wbc_gtk_set_toggle_action_state): Also look in toolbar actions.
4779 Ick -- this gets uglier by the day.
4781 * src/workbook-control-gui-priv.h (struct WorkbookControlGUI):
4782 Replace statusbar member by visibility_widgets.
4784 2004-08-29 Jody Goldberg <jody@gnome.org>
4786 * configure.in : post release bump to .90 to indicate transition to
4789 2004-08-29 Jody Goldberg <jody@gnome.org>
4793 2004-08-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4795 * src/item-bar.c (item_bar_draw): Fix group lines in row/column
4798 2004-08-28 Jody Goldberg <jody@gnome.org>
4800 * src/sheet.c (sheet_new_with_type) : Renamed from sheet_new_special,
4801 that name was not terribly clear.
4803 2004-08-28 Jody Goldberg <jody@gnome.org>
4805 * src/pixmaps/Makefile.am : Add halign-fill and halign-general
4806 * src/application.c (gnumeric_application_setup_icons) : ditto
4808 2004-08-28 Jody Goldberg <jody@gnome.org>
4810 * src/commands.c (cmd_merge_cells) : optionally center the merged
4812 * src/wbcg-actions.c (cb_merge_and_center) : new
4814 2004-08-28 Jody Goldberg <jody@gnome.org>
4816 * src/GNOME_Gnumeric-gtk.xml : Reorder Delete menu to put Col before
4817 Row to be consistent with the other menus
4819 2004-08-28 Jody Goldberg <jody@gnome.org>
4821 * src/wbcg-actions.c (cb_view_zoom_in) : new
4822 (cb_view_zoom_out) : new
4824 2004-08-28 Jody Goldberg <jody@gnome.org>
4826 * src/wbcg-actions.c : Add ctrl +/- as accelerators for ins/del cells
4828 2004-08-27 Jody Goldberg <jody@gnome.org>
4830 * src/plugin-service.c (plugin_service_file_opener_read_xml) :
4831 simplify parsing of 'file_pattern' for importer filename probing.
4832 All we every really needed was suffix matching. None of the power
4833 of fnmatch or optional case sensitivity was every used.
4834 (gnm_plugin_file_opener_probe) : use a nice simple suffix match.
4836 2004-08-27 Jody Goldberg <jody@gnome.org>
4838 * src/sheet-object-graphic.c : convert markup to a property for
4841 * src/sheet-object-cell-comment.c : Add a property 'markup' to be used
4844 2004-08-27 Jon K Hellan <hellan@acm.org>
4846 http://bugzilla.gnome.org/show_bug.cgi?id=151152
4848 * src/workbook-control-gui.c (wbcg_close_if_user_permits): Define
4849 responses GNM_RESPONSE_SAVE_ALL, GNM_RESPONSE_DISCARD_ALL. These
4850 are negative, to work with druid logic in gnumeric_dialog_run.
4852 2004-08-26 Jon K Hellan <hellan@acm.org>
4854 * src/gui-file.c (gui_wb_view_show): New. Factored out of
4855 gui_file_read. Show view in a wbcg. Use current or new wbcg
4856 according to policy.
4857 (gui_file_read): Use it.
4859 2004-08-26 Morten Welinder <terra@gnome.org>
4861 * src/wbcg-actions.c (cb_help_bug, cb_help_web): Do something
4862 useful here. (Based on patch from ynakai@redhat.com.)
4864 2004-08-25 Jody Goldberg <jody@gnome.org>
4866 * src/sheet-filter.c (cb_filter_bounds_changed) : fix typo in cast
4867 from new code for bounds-changed
4869 2004-08-24 Jody Goldberg <jody@gnome.org>
4871 http://bugzilla.gnome.org/show_bug.cgi?id=150530
4872 * src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : fix
4873 in libgsf, but patched here too to tide us over until the next
4876 2004-08-24 Jody Goldberg <jody@gnome.org>
4878 * src/sheet-object.c (sheet_object_class_init) : declare a
4879 bounds-changed signal.
4880 (sheet_object_update_bounds) : emit bounds-changed and assume the
4881 views will do the right thing. No need to manually walk the
4882 realized list. That should go away.
4884 * src/sheet-filter.c : Adjust to using the bounds-changed signal
4885 instead of doing it directly.
4886 * src/sheet-object-cell-comment.c : ditto.
4887 * src/sheet-object-graph.c : ditto.
4888 * src/sheet-object-graphic.c : ditto.
4889 * src/sheet-object-image.c : ditto.
4890 * src/sheet-object-widget.c : ditto.
4892 * src/sheet-control-gui.c (cb_scg_object_bounds_changed) : new
4893 (scg_object_stop_editing) : disconnect the bounds changed signal here.
4894 (scg_mode_edit_object) : connect to it here.
4896 * src/gnumeric-pane.c (display_object_menu) : no need to use
4897 sheet_object_view_control. We can pull the info from the canvas.
4898 (cb_sheet_object_canvas_event) : ditto.
4899 (cb_sheet_object_widget_canvas_event) : ditto.
4900 (cb_sheet_object_view_destroyed) : ditto.
4901 (gnm_pane_object_register) : Add some convenience arguments to hook up
4902 the bounds-changed handler and set the initial size.
4903 (gnm_pane_widget_register) :
4905 2004-08-24 Jody Goldberg <jody@gnome.org>
4907 * src/application.c : signals are guint, not GQuark. Probably does
4908 not matter, but it can't hurt to match the glib headers
4910 * src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : gsf
4911 was more anal than libxml about handling NULL as strings. new gsf
4912 is more relaxed, but add some protection here until that is in
4915 * src/xml-io.c (gnumeric_xml_read_workbook) : default to using the sax
4917 (xml_init) : cleanup.
4919 http://bugzilla.gnome.org/show_bug.cgi?id=150792
4920 * src/sheet.c (colrow_move) : Only ignore non-existent cells, not all
4921 Blanks. That includes things with VALUE_EMPTY which includes cells
4922 whose expressions were just re-written.
4923 (sheet_move_range) : ditto.
4925 2004-08-24 Morten Welinder <terra@gnome.org>
4927 * src/workbook-control-gui.c (cb_wbcg_drag_data_received): Take
4928 advantage of newly minted go_file_split_uris.
4930 2004-08-22 Jon K Hellan <hellan@acm.org>
4932 * src/workbook-control-gui.c (cb_wbcg_drag_data_received): Remove
4933 gnome-vfs dependency.
4935 2004-08-14 Jody Goldberg <jody@gnome.org>
4937 * src/sheet-object-image.c (sheet_object_image_write_xml_sax) : add a
4938 'size-bytes' attribute to make optimization easier.
4940 2004-08-22 Jon K Hellan <hellan@acm.org>
4942 * src/workbook-control-gui.c (cb_wbcg_drag_data_received): Convert
4943 uri to string before use.
4945 2004-08-21 Jody Goldberg <jody@gnome.org>
4947 * src/sheet.c (sheet_set_zoom_factor) : forward port the zoom kludge.
4948 There is no time to do RenderedRegion for 1.4
4950 2004-08-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
4952 http://bugzilla.gnome.org/show_bug.cgi?id=149945
4953 * src/value.c (find_column_of_field): Correct offset.
4955 2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
4957 * configure.in: Add «nb» to ALL_LINGUAS.
4959 2004-08-20 Jody Goldberg <jody@gnome.org>
4961 * src/sheet.c (sheet_new_special) : renamed from sheet_new, and a
4962 'type' added. Not used yet.
4964 2004-08-20 Morten Welinder <terra@gnome.org>
4966 * configure.in: Check for asinh, acosh, atanh.
4968 * src/gutils.c (asinhgnum, acoshgnum, atanhgnum): Provide if
4971 * src/parser.y (yylex): Take extra care not to run off the edge.
4973 2004-08-17 Morten Welinder <terra@gnome.org>
4975 * src/mathfunc.c (mathfunc_init): Greatly simplify using goffice
4978 * src/libgnumeric.c (gnm_common_init): Init mathfunc after
4981 2004-08-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
4983 * configure.in: Bumped the libgsf-gnome-1 requirement to make it
4984 consistent with the libgsf-1 requirement.
4986 2004-08-18 Jon K Hellan <hellan@acm.org>
4988 * configure.in (psiconv): Update psiconv.
4990 2004-08-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
4992 * src/gnumeric-canvas.c (gnm_canvas_key_press):
4993 gtk_im_context_reset(gcanvas->im_context) should be called after
4994 checking gtk_im_context_filter_keypress() and GDK_SHIFT_L, GTK_Alt_L,
4995 and GDK_Control_L. (bug #148473)
4997 2004-08-17 Jon K Hellan <hellan@acm.org>
4999 * src/wbcg-actions.c (cb_insert_image): is_save parameter to
5000 gui_image_file_select no longer needed.
5002 * src/sheet-object-image.c (soi_gdk_pixbuf_save): New. Callback
5003 which writes via gsf.
5004 (soi_get_image_fmt): New. Get a format descriptor for the original
5005 data in a SheetObjectImage.
5006 (soi_free_image_fmt): New. Free a format descriptor.
5007 (soi_cb_save_as): New. Choose file name and format and save
5009 (sheet_object_image_populate_menu): New. Put a "save as" entry in
5010 the object's context menu.
5012 * src/sheet-object-graph.c (soi_cb_save_as): Choose image format
5015 * src/gui-file.h (GnmImageFormat): Struct which describes an
5016 (image) file format.
5018 * src/gui-file.c (gui_image_file_select): Split the parts common
5019 to save and open into new function gui_image_chooser_new. Drop
5020 is_save parameter to _select.
5021 (gui_get_image_save_info): The parts of _select which have to do
5022 with saving go here. Add a format chooser.
5024 * src/file.[ch] (gnm_file_saver_fix_file_name): Rename to
5025 gnm_vrfy_uri_ext. Take an extension instead of a GnmFileSaver as
5028 2004-08-16 Morten Welinder <terra@gnome.org>
5030 * src/main-application.c (main): Plug leak.
5032 2004-08-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5034 * src/item-bar.c (item_bar_draw): Fix black line in row/column
5037 2004-08-14 Jon K Hellan <hellan@acm.org>
5039 * src/workbook-control-gui.c (wbcg_create_edit_area): Fix typo.
5041 * src/sheet-control-gui.c (sheet_control_gui_new): Ditto.
5043 2004-08-13 Jon K Hellan <hellan@acm.org>
5045 * src/sheet-object-image.c (sheet_object_image_read_xml_dom): Read
5048 2004-08-11 Jon K Hellan <hellan@acm.org>
5050 * src/sheet-object-image.c (sheet_object_image_new): Simplify
5052 (sheet_object_image_print): fix up types to make gmorten happy.
5054 2004-08-09 Jon K Hellan <hellan@acm.org>
5056 * src/sheet-object-image.c (sheet_object_image_new): strdup the
5058 (sheet_object_image_finalize): Free the image type.
5059 (soi_info_cb): New callback used to find image type.
5060 (soi_get_pixbuf): Install callback on pixbuf loader in order to
5062 (sheet_object_image_get_property): New gobject method to return
5063 type, data or pixbuf as object parameters.
5064 (sheet_object_image_class_init): Install properties.
5066 2004-08-11 Morten Welinder <terra@gnome.org>
5068 * src/ssconvert.c (main): Handle non-URI output destinations.
5070 2004-08-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5072 * src/sheet-object-graph.c (cb_save_as) : Set zoom to 1.0 when
5075 2004-08-02 Jody Goldberg <jody@gnome.org>
5077 * src/expr.c (gnm_expr_eval) : Functions returning an array when only
5078 scalar results are permitted produce #VALUE!
5080 * src/style.c (style_default_halign) : Fix drilling down into arrays
5082 * src/wbc-gtk.c (cb_add_menus_toolbars) : Init state.
5084 2004-08-01 Jody Goldberg <jody@gnome.org>
5086 * src/func.c (function_call_with_list) : Array parms seem to accept
5089 * src/value.c (value_dup) : Accept NULL
5091 * src/expr.c (gnm_expr_eval) : do intersection for constant arrays too
5093 2004-07-30 Jody Goldberg <jody@gnome.org>
5095 * src/wbc-gtk.c (wbc_gtk_init_zoom) : We need a label for the action
5096 in case it is a menu item.
5098 2004-07-30 Morten Welinder <terra@gnome.org>
5100 * src/wbc-gtk.c (cb_add_menus_toolbars): Plug leaks.
5102 * src/file.c (gnm_file_saver_unregister): First use, then free.
5104 2004-07-30 Jon K Hellan <hellan@acm.org>
5106 * src/command-context.c (format_message): Strange things happen if
5107 we treat the unknown string we are passed as a format string.
5109 2004-07-30 Yukihiro Nakai <nakai@gnome.gr.jp>
5111 * src/wbcg-actions.c: Don't forget to mark with N_()
5112 http://bugzilla.gnome.org/show_bug.cgi?id=148746
5114 2004-07-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
5116 * src/hlink.h (GNM_HLINK_URL_TYPE): new
5117 (GNM_HLINK_URL): new
5118 (IS_GNM_HLINK_URL): new
5120 2004-07-27 Morten Welinder <terra@gnome.org>
5122 * configure.in: Check for log1p also.
5124 2004-07-27 Morten Welinder <terra@gnome.org>
5126 * src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font): (void).
5127 * src/application.c (cb_flag_windows_changed): Ditto.
5129 2004-07-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
5131 * configure.in: use AM_PROG_LEX rather than AC_PROG_LEX
5133 2004-07-27 Jody Goldberg <jody@gnome.org>
5135 * src/wbc-gtk.c (cb_regenerate_window_menu) : new.
5137 2004-07-26 Jody Goldberg <jody@gnome.org>
5139 * configure.in : bump pxlib req to 0.3.0 per Uwe's request
5141 http://bugzilla.gnome.org/show_bug.cgi?id=148412
5142 * src/workbook-control-gui-priv.h : typo in the new combos
5144 2004-07-26 Morten Welinder <terra@gnome.org>
5146 * src/sheet.c (sheet_colrow_group_ungroup): Don't use ?: result
5147 as a structure. Go via pointers.
5149 2004-07-23 Morten Welinder <terra@gnome.org>
5151 * src/wbcg-actions.c: Add Ctrl-Shift-D for double underline.
5153 * src/commands.c (cmd_merge_data): Fix 0/NULL mixup.
5154 * src/complete.c (complete_finalize): Ditto.
5155 * src/sheet.c (sheet_range_calc_spans, sheet_toggle_hide_zeros): Ditto.
5156 * src/colrow.c (colrow_set_sizes, colrow_restore_state_group): Ditto.
5157 * src/gui-util.c (gnumeric_popup_menu): Ditto.
5158 * src/item-cursor.c (item_cursor_unrealize): Ditto.
5159 * src/value.c (value_peek_string): Ditto.
5161 * src/expr.c (cb_bin_arith): Add const-casts.
5163 * src/format.c (format_entry_set_fmt): Use g_strdup, not plain
5166 * src/wbcg-actions.c: Add Ctrl-5 for strikethough.
5168 2004-07-22 Jody Goldberg <jody@gnome.org>
5170 * src/workbook-edit.c (wbcg_edit_finish) : change 'accept' into an
5171 enum and handle arrays and range fills here.
5173 * src/parser.y : Add distinct productions for array elements with
5174 {1\2\3;4\5\6} vs {1,2,3;4,5,6}
5175 (build_array) : add some error messages empty and asymetric arrays.
5177 2004-07-22 Jody Goldberg <jody@gnome.org>
5179 * src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible) : delete
5180 (wbcg_set_format_toolbar_visible) : delete
5181 (wbcg_set_object_toolbar_visible) : delete
5182 (wbcg_copy_toolbar_visibility) : make virtual for now
5184 * src/wbcg-actions.c (cb_view_standard_toolbar) : delete
5185 (cb_view_format_toolbar) : delete
5186 (cb_view_object_toolbar) : delete
5188 2004-07-22 Jody Goldberg <jody@gnome.org>
5190 * src/wbc-gtk.c (cb_handlebox_visible) : new.
5191 (cb_add_menus_toolbars) : connect it here and create a menu entry in
5192 the view menu to toggle the visibility.
5194 2004-07-21 Morten Welinder <terra@gnome.org>
5196 * src/gutils.c (expm1gnum): Supply this when missing.
5198 2004-07-20 Jody Goldberg <jody@gnome.org>
5200 * configure.in : add test for sysconf as per Mark's request
5202 * src/gnumeric-pane.c (cb_pane_popup_menu) : cheese up a little hack
5203 to get 'popup-menu' binding context menus for col/row headers too.
5204 (gnm_pane_clear_obj_size_tip) : new
5205 (gnm_pane_display_obj_size_tip) : new
5206 (gnm_pane_object_move) : use gnm_pane_display_obj_size_tip to provide
5207 an indication of the object size.
5209 2004-07-20 Morten Welinder <terra@gnome.org>
5211 * src/mathfunc.c (lbeta3): Use lgamma_rgnum.
5213 * src/gutils.c (lgamma_rgnum): When needed, supply this.
5215 * src/numbers.h (lgamma_rgnum): Add definition for this.
5217 * configure.in (lgamma_r): Check for this. Check for long double
5218 version when needed.
5220 2004-07-20 Morten Welinder <terra@gnome.org>
5222 * src/ranges.c (range_is_infinite): Fix. (Still unused, though.)
5224 2004-07-19 Jody Goldberg <jody@gnome.org>
5225 win32 portability patch from Mark Gilbert
5227 * src/io-context.c (io_progress_update) : use g_get_current_time
5228 instead of gettimeofday.
5230 2004-07-19 Jody Goldberg <jody@gnome.org>
5232 * src/dialogs/dialog-about.c : Update a bit. Add
5233 * doc/C/about-authors.xml : ditto
5240 2004-07-19 Jody Goldberg <jody@gnome.org>
5242 * src/xml-io.c (xml_init) : make the dom exporter a lower priority
5243 than the sax exporter so that we can start phasing it out.
5245 2004-07-19 Jody Goldberg <jody@gnome.org>
5246 Uwe Steinmann <uwe@steinmann.cx>
5248 * plugins/Makefile.am : merge in the paradox importer
5250 2004-07-19 Jody Goldberg <jody@gnome.org>
5252 * configure.in : Post release version bump
5254 2004-07-19 Jody Goldberg <jody@gnome.org>
5258 2004-07-19 Jody Goldberg <jody@gnome.org>
5260 * src/ssconvert.c (main) : some typos
5262 2004-07-17 Jody Goldberg <jody@gnome.org>
5264 * configure.in : Add a test for signgam
5266 2004-07-19 Jody Goldberg <jody@gnome.org>
5268 * src/wbcg-actions.c (wbcg_set_selection_halign) : Make public
5270 (wbcg_set_selection_valign) : ditto.
5272 * src/wbc-gtk.c : Adjust the borders to use stock items in place of
5273 the old inline pixbuf silliness. Add a valignment and halignment
5274 combo. Still need some way to indicate 'General' for both.
5276 * src/application.c (gnumeric_application_setup_icons) : add the
5277 border icons to the set of stock items.
5279 2004-07-17 Jody Goldberg <jody@gnome.org>
5281 http://bugzilla.gnome.org/show_bug.cgi?id=147756
5282 * src/sheet-autofill.c (autofill_cell) : An ancient bug.
5284 2004-07-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
5286 * schemas/gnumeric-general.schemas.in: Correct compression level
5289 2004-07-16 Jody Goldberg <jody@gnome.org>
5291 * src/gnumeric-paths.sh.in : Add version
5293 2004-07-15 Jody Goldberg <jody@gnome.org>
5295 Some Seth UI feedback
5296 * src/wbcg-actions.c : s/Launch Guru/Insert Chart/
5298 2004-07-13 Morten Welinder <terra@gnome.org>
5300 * src/commands.c (cmd_copyrel): New command.
5302 * src/wbcg-actions.c (cb_copydown, cb_copyright): Implement.
5304 2004-07-12 Jody Goldberg <jody@gnome.org>
5306 * src/workbook-control-gui.c (wbcg_cur_sheet) : new convenience
5309 * src/wbcg-actions.c : tidy up a bit
5311 * src/wbc-gtk.c (wbc_gtk_init_undo_redo) : tie sensitivity of repeat
5314 2004-07-11 Jody Goldberg <jody@gnome.org>
5316 * src/commands.c (cmd_set_text_repeat) : new
5317 (missing validation support)
5318 (cmd_area_set_text_repeat) : new.
5319 (cmd_ins_del_colrow_repeat) : new.
5320 (cmd_clear_repeat) : new.
5321 (cmd_format_repeat) : new.
5322 (cmd_colrow_hide_repeat) : new.
5323 (cmd_group_repeat) : new.
5324 (cmd_paste_copy_repeat) : new.
5325 (cmd_autofill_repeat) : new.
5326 (cmd_autoformat_repeat) : new.
5327 (cmd_unmerge_cells_repeat) : new.
5328 (cmd_merge_cells_repeat) : new.
5329 (cmd_clone_sheet_repeat) : new.
5331 2004-07-09 Jody Goldberg <jody@gnome.org>
5333 * src/GNOME_Gnumeric-gtk.xml : Add repeat as an accelerator
5334 * src/commands.c (func) : add some hooks for repeat
5336 2004-07-12 Morten Welinder <terra@gnome.org>
5338 * src/wbcg-actions.c: Use gtk about icon if available.
5340 2004-07-09 Jody Goldberg <jody@gnome.org>
5342 http://bugzilla.gnome.org/show_bug.cgi?id=146486
5343 * src/expr.c (cb_bin_arith) : handle VALUE_EMPTY for implicit
5344 iteration with arithmetic operators.
5346 http://bugzilla.gnome.org/show_bug.cgi?id=146511
5347 * src/func.c (function_call_with_list) : Use value_get rather than
5349 * src/sheet.c (sheet_foreach_cell_in_range) : check for empty values too
5351 2004-07-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
5353 * src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL
5355 (go_conf_get_long_desc): ditto
5357 2004-07-05 Jody Goldberg <jody@gnome.org>
5359 * src/workbook-cmd-format.c (workbook_cmd_mutate_borders) : move into
5362 * src/sheet-autofill.c (fill_item_new) : fix an old leak
5364 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : no need to
5365 check for accelerators here any more.
5366 (gnm_canvas_commit_cb) : nor here.
5367 (gnm_check_ctrl_mask) : delete and make these real accelerators the
5370 * src/wbcg-actions.c
5371 (cb_format_as_number) : a real accelerator
5372 (cb_format_as_currency) : ditto
5373 (cb_format_as_accounting) : ditto
5374 (cb_format_as_percentage) : ditto
5375 (cb_format_as_scientific) : ditto
5376 (cb_format_as_time) : ditto
5377 (cb_format_as_date) : ditto
5378 (cb_format_add_borders) : ditto
5379 (cb_format_clear_borders) : ditto
5381 * src/GNOME_Gnumeric-gtk.xml : Add the new accelerators
5382 * src/application.c (gnumeric_application_setup_icons) : Rename the
5383 icons to match the verbs (Percentage, Accounting)
5385 2004-07-02 Jody Goldberg <jody@gnome.org>
5387 * configure.in : Make gconf conditional and test for uname
5389 2004-07-01 Jody Goldberg <jody@gnome.org>
5391 * src/cmd-edit.c (sv_select_cur_depends) : find deps even for empty
5394 2004-06-30 Jody Goldberg <jody@gnome.org>
5396 * src/stf.c (stf_init) : cvs exporter is one sheet only
5398 * src/gnumeric-gconf.c (get_schema) : typo
5399 (go_conf_get_type) : implement for #ifdef WITH_GNOME
5401 2004-06-23 Jean Brefort <jean.brefort@ac-dijon.fr>
5405 * src/cut-n-paste-code/Makefile.am: removed pcre subdir.
5406 * src/graph.c: (cb_assign_val), (gnm_go_data_vector_load_values),
5407 (gnm_go_data_vector_get_value): changed gnm_nan to go_nan.
5408 * src/format.h: replaced gnumeric_reg* by go_reg*
5409 * src/formats.c: (my_regerror), (currency_date_format_init),
5410 (currency_date_format_shutdown), (cell_format_simple_number),
5411 (cell_format_is_number), (cell_format_is_fraction): ditto.
5412 * src/number-match.c: (format_match_release),
5413 (format_match_create), (format_match): ditto.
5414 * src/plugin-service.c: (plugin_service_define): ditto.
5415 * src/regutf8.c: (gnumeric_regcomp_XL): ditto.
5416 * src/regutf8.h: ditto.
5417 * src/search.c: (search_replace_free), (search_replace_compile),
5418 (search_match_string), (search_replace_string): ditto.
5419 * src/search.h: ditto.
5420 * src/sheet-filter.c: (filter_expr_release), (filter_expr_eval): ditto.
5421 * src/widgets/widget-format-selector.c: (populate_menu): ditto.
5422 * src/workbook-control-gui.c: (wbcg_sheet_focus),
5423 (cb_notebook_switch_page): Added missing spaces.
5424 * src/cut-n-paste-code/pcre: Moved whole tree to goffice.
5425 * tools/import-pcre: Updated to the new path and replaced gnumeric_ by go_.
5427 2004-06-22 Jody Goldberg <jody@gnome.org>
5429 http://bugzilla.gnome.org/show_bug.cgi?id=134014
5430 * src/print-cell.c (print_merged_range) : sync with canvas item
5431 recalling that y-coords are negative. Enable diagonals.
5433 2004-06-20 Jody Goldberg <jody@gnome.org>
5435 * src/Makefile.am : re-enable ssconvert as a test program for now to
5436 avoid rebuilding it all the time.
5438 2004-06-15 Jody Goldberg <jody@gnome.org>
5440 * src/sheet-object.c (sheet_objects_get) : don't reverse the z
5443 2004-06-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
5445 * src/consolidate.c (simple_consolidate): dao_set_cell_expr now
5446 absorbs the expr reference.
5447 (colrow_consolidate): ditto
5449 2004-06-16 Morten Welinder <terra@gnome.org>
5451 * src/workbook-view.c (wbv_save_to_file): Simplify using
5454 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Convert
5455 filename to UTF-8 before constructing the label. Use uri if the
5456 filename cannot be represented in UTF-8.
5458 * src/sheet-object-graph.c (cb_save_as): Handle dumping to uris.
5460 * src/gui-file.c (gui_image_file_select): Take and return uris.
5462 * src/workbook-control-gui.c (cb_wbcg_drag_data_received):
5463 Simplify with go_file_open.
5465 2004-06-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
5467 http://bugzilla.gnome.org/show_bug.cgi?id=142700
5468 * src/workbook-view.c (wb_view_sheet_focus): set current_sheet
5469 before adjusting focus.
5471 2004-06-15 Morten Welinder <terra@gnome.org>
5473 * src/history.c (history_item_label): Fix thinko. Avoid double
5476 2004-06-14 Morten Welinder <terra@gnome.org>
5478 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available,
5479 use just filename for tooltip. (Non-ascii looks nicer, and it's
5482 2004-06-13 Jody Goldberg <jody@gnome.org>
5484 * src/command-context-stderr.c : fix class decl to match change to
5487 2004-06-13 Jody Goldberg <jody@gnome.org>
5489 * configure.in : bump req for libgsf to 1.10.0 (still in cvs)
5491 2004-06-11 Morten Welinder <terra@gnome.org>
5493 * src/workbook-view.c (wbv_save_to_file): Make this work with uris.
5495 * src/history.c (history_item_label): Now gets uri argument.
5497 * src/workbook.c (workbook_set_uri): Ranamed from
5498 workbook_set_filename.
5499 (workbook_get_uri): Renamed from workbook_get_filename.
5501 * src/application.c (gnm_app_history_add): Change to take uri.
5502 All callers changed.
5504 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Adapt to uris.
5506 * src/gui-file.c (gui_file_read, do_save_as, go_file_is_writable):
5507 Changed to take uri. All callers changed.
5509 * src/workbook-view.c (wb_view_new_from_uri): Renamed from
5510 wb_view_new_from_file and adapted to take uri. All callers
5512 (wb_view_save_as): Change to take uri. All callers changed.
5514 2004-06-08 Jody Goldberg <jody@gnome.org>
5516 http://bugzilla.gnome.org/show_bug.cgi?id=143577
5517 * src/style-border.c (style_border_print_diag) : handle NULL and none
5518 (style_border_set_pc) : back out my incorrect fix and sync with gui.
5520 2004-06-08 Morten Welinder <terra@gnome.org>
5522 * src/gutils.c (gnm_destroy_password): New function.
5524 2004-06-05 Jody Goldberg <jody@gnome.org>
5526 * src/sheet-object-image.c : add sax export, and actually dump the
5528 * src/sheet-object-widget.c : add sax export
5529 * src/sheet-object-graph.c : ditto.
5530 * src/sheet-object-cell-comment.c : ditto.
5532 * src/workbook-view.c (wbv_save_to_file) : warning suppression
5534 * src/xml-io.c (gnm_xml_out_add_color) : new
5535 (gnm_xml_out_add_cellpos) : new.
5537 2004-06-04 Morten Welinder <terra@gnome.org>
5539 * src/parser.y (arg_list): handle the empty arg in =IF(TRUE,)
5542 * src/expr.c (gnm_expr_get_func_argcount): New function.
5544 2004-05-31 Jody Goldberg <jody@gnome.org>
5546 * src/graph.c (gnm_go_data_get_sheet) : new.
5547 (gnm_go_data_get_expr) : new.
5549 http://bugzilla.gnome.org/show_bug.cgi?id=143367
5550 * src/item-grid.c (item_grid_realize) : make the seperator a dark
5551 colour rather than black.
5553 2004-05-27 Jody Goldberg <jody@gnome.org>
5555 * src/workbook.c (workbook_sheet_hide_controls) : split out from.
5556 (workbook_sheet_detach) : here.
5558 * src/dependent.c (dependent_queue_recalc_list) : fix dynamic depends.
5560 * src/workbook-control-gui.c (cb_wbcg_drag_data_received) : handle
5561 dragging from nautilus -> gnumeric too.
5563 * src/main-application.c (main) : Use the new virtuals
5565 * src/io-context.c (gnm_io_context_set_num_files) : new
5566 (gnm_io_context_processing_file) : new.
5568 * src/io-context-gtk.c (icg_processing_file) : renamed from
5570 (icg_set_num_files) : renamed from icg_set_files_total.
5571 (icg_class_init) : hook up the file handlers to the new virtual.
5573 * src/expr.c (gnm_expr_extract_ref) : return a RangeRef
5574 (gnm_expr_range_op) : new to handle intersection and union properly
5575 (gnm_expr_eval) : split the common code out of here.
5577 2004-05-26 Morten Welinder <terra@gnome.org>
5579 * src/parser.y (yylex): Ignore spaces in lots of places, notably
5580 before and after operators. (XL has chosen space as an operator,
5581 but luckily it only makes sense in a few places.)
5583 2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
5585 * src/sheet-object-widget.c: (sheet_widget_combo_create_widget):
5586 replaced GnmComboText by GoComboText.
5588 2004-05-25 Andreas J. Guelzow <aguelzow@taliesin.ca>
5590 * src/application.c: add "Gnumeric_Visible" icon
5591 * src/pixmaps/visible.png: new
5592 * src/pixmaps/Makefile.am: include src/pixmaps/visible.png
5593 * src/commands.h (cmd_reorganize_sheets): add arguments
5594 * src/commands.c: add NULL arguments to all calls to
5595 cmd_reorganize_sheets throughout.
5596 (cmd_reorganize_sheets_*): handle visibility changes
5597 * src/sheet.h (sheet_set_visibility): new
5598 (sheet): add is_visible field
5599 * src/sheet.c (sheet_set_visibility): new
5600 (sheet_new): initalize is_visible field
5601 * src/workbook-control-gui.c: add NULL arguments to all calls to
5602 cmd_reorganize_sheets
5603 * src/workbook.h (workbook_sheet_change_visibility): new
5604 * src/workbook.c (workbook_sheet_change_visibility): new
5606 2004-05-24 Morten Welinder <terra@gnome.org>
5608 * src/expr.c (negate_value): New function, extracted from
5609 gnm_expr_eval and cb_iter_unary_neg.
5610 (gnm_expr_eval, cb_iter_unary_neg): Use it.
5611 (cb_iter_unary_neg, cb_iter_percentage): Fix crash for empties.
5613 2004-05-22 Jean Brefort <jean.brefort@ac-dijon.fr>
5615 * src/expr.c: (cb_iter_unary_neg), (cb_iter_percentage): make it compile again by changing
5616 variable names "a" and "pos" by "v" and "ep".
5617 * src/gui-util.c: (gnumeric_notice_nonmodal), (cb_parent_mapped),
5618 (gnumeric_combo_enters): replaced gtk_signal by g_signal and deleted
5619 gnumeric_combo_enters as it is not used anymore and I could not find a replacement
5620 for gtk_combo_disable_activate usable with GtkComboBoxEntry.
5621 * src/gui-util.h: removed gnumeric_combo_enters.
5623 2004-05-21 Jody Goldberg <jody@gnome.org>
5625 * src/expr.c : support implicit iteration for operators. We now
5626 support all major evaluation mechanisms in ms excel.
5628 2004-05-19 Jody Goldberg <jody@gnome.org>
5630 * configure.in : bump libglade req to 2.3.6 to get the new combos
5631 Merge in an as yet unused test for mono while we're in here.
5633 2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
5635 http://bugzilla.gnome.org/show_bug.cgi?id=142836
5636 * src/stf.c (stf_write_csv): use current sheet rather than first
5639 2004-05-17 Morten Welinder <terra@gnome.org>
5641 * src/sheet-autofill.c (autofill_cell): Handle default case, just
5644 2004-05-16 Adrian Custer <acuster@gnome.org>
5646 * src/ssconvert.c: exports -> exporters in user visible
5647 strings. Added translation tags.
5649 2004-05-15 Jody Goldberg <jody@gnome.org>
5651 * src/format.c (format_value_gstring) : if nothing matches for numbers
5652 use the first fmt, other types == general.
5653 (style_format_condition) : errors do not match strings, but bools do
5654 (format_compile) : assign std conditions to any element without one,
5657 2004-05-16 Jean Brefort <jean.brefort@ac-dijon.fr>
5659 * src/dialogs/autofilter-expression.glade: replaced GtkOptionMenu by GtkComboBox.
5660 * src/dialogs/autofilter-top10.glade: ditto.
5661 * src/dialogs/autoformat.glade: ditto.
5662 * src/dialogs/cell-format.glade: ditto.
5663 * src/dialogs/consolidate.glade: ditto.
5664 * src/dialogs/dao.glade: ditto.
5665 * src/dialogs/dialog-autofilter.c: (map_op), (cb_autofilter_ok),
5666 (cb_top10_type_changed), (init_operator), (dialog_auto_filter):
5667 * src/dialogs/dialog-autoformat.c: (cb_category_changed),
5668 (dialog_autoformat): ditto.
5669 * src/dialogs/dialog-cell-format.c: (cb_rotate_canvas_realize),
5670 (validation_rebuild_validation),
5671 (cb_validation_error_action_changed), (cb_validation_sensitivity),
5672 (build_validation_error_combo), (fmt_dialog_init_validation_page),
5673 (cb_fmt_dialog_dialog_buttons): ditto.
5674 * src/dialogs/dialog-consolidate.c: (construct_consolidate),
5675 (setup_widgets): ditto.
5676 * src/dialogs/dialog-hyperlink.c: (dhl_cb_menu_changed),
5678 * src/dialogs/dialog-printer-setup.c: (do_header_customize),
5679 (do_footer_customize), (header_changed), (footer_changed),
5680 (fill_hf), (do_setup_hf_menus), (do_setup_hf),
5681 (print_setup_get_sheet), (do_setup_sheet_selector): ditto.
5682 * src/dialogs/dialog-stf-format-page.c:
5683 (format_page_trim_menu_changed), (stf_dialog_format_page_prepare),
5684 (stf_dialog_format_page_init): ditto.
5685 * src/dialogs/dialog-stf.glade: ditto.
5686 * src/dialogs/hyperlink.glade: ditto.
5687 * src/dialogs/print.glade: ditto.
5688 * src/widgets/gnm-dao.c: (gnm_dao_init), (gnm_dao_get_data),
5689 (gnm_dao_set_put): ditto.
5690 * src/dialogs/dialog-stf-export.c:
5691 (sheet_page_separator_menu_changed),
5692 (stf_export_dialog_format_page_init), (stf_export_dialog_finish): ditto.
5693 Replaced also GtkCombo by GtkComboBoxEntry.
5694 * src/dialogs/dialog-stf-export.glade: ditto.
5696 2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
5698 * src/workbook-view.c (wbv_save_to_file): add omitted declaration
5700 2004-05-07 Jody Goldberg <jody@gnome.org>
5702 * src/command-context-priv.h : Make this an interface
5703 * src/command-context.c : support the change here.
5704 * src/command-context-stderr.c : here.
5705 * src/io-context-gtk.c : here
5706 * src/io-context-priv.h : here
5707 * src/io-context.c : here.
5708 * src/workbook-control-gui.c : here
5709 * src/workbook-control.c : and here
5711 * src/GNOME_Gnumeric-gtk.xml : Move the toolbars out, they will be
5712 generated. Add FullScreen.
5714 * configure.in : bump libgsf dep and add the new goffice/app directory
5716 2004-05-03 Jody Goldberg <jody@gnome.org>
5718 http://bugzilla.gnome.org/show_bug.cgi?id=140671
5719 * src/commands.c (cmd_paste_cut_undo) : we don't know the SheetView
5720 associated with the origin sheet.
5722 * src/selection.c (sv_selection_set) : add some safety
5724 2004-05-04 Morten Welinder <terra@gnome.org>
5726 * src/validation.c (validation_new): Make sure
5727 VALIDATION_TYPE_CUSTOM is only paired with VALIDATION_OP_NONE.
5728 (validation_eval): Balance recounting.
5730 2004-04-27 Jody Goldberg <jody@gnome.org>
5732 * src/file.c (go_file_open) : fix the gnome-vfs case
5734 2004-04-22 Morten Welinder <terra@gnome.org>
5736 * src/print-info.c (print_info_get_orientation): Plug leak.
5738 2004-04-22 Jody Goldberg <jody@gnome.org>
5740 * src/sheet-autofill.c (autofill_cell) : Assign the value format in
5741 all cases accept expressions. Use cell_set_value, not
5742 sheet_cell_set_value so that we can assign the format before we
5743 render, and to avoid doing things piece meal.
5745 2004-04-21 Morten Welinder <terra@gnome.org>
5747 * src/format.c (format_destroy): Let's try unref in here.
5749 * src/stf-export.c (stf_export): Fix compilation.
5751 2004-04-20 Jody Goldberg <jody@gnome.org>
5753 * src/stf-export.c (stf_export_sheet) : simplify
5755 2004-04-20 Morten Welinder <terra@gnome.org>
5757 * src/stf-parse.c (stf_parse_sheet): Handle the case of more
5758 columns than we have room for in the sheet.
5760 2004-04-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
5762 * README: Corrected the Debian package names.
5764 2004-04-19 Jody Goldberg <jody@gnome.org>
5766 * src/workbook-edit.c (cb_entry_insert_text) : be clear which values
5767 are measured in bytes (PangoAttribute) and which are in characters
5769 (cb_entry_cursor_pos) : ditto.
5770 (cb_entry_delete_text) : ditto.
5771 (wbcg_edit_add_markup) : ditto.
5773 2004-04-19 Jody Goldberg <jody@gnome.org>
5775 * src/rendered-value.c (rendered_value_new) : don't apply markup to
5776 the shared set of attributes associated with the style make a local
5779 2004-04-17 Jody Goldberg <jody@gnome.org>
5781 * src/item-edit.c (item_edit_draw) : tidy up a bit and check for pixel
5782 matching stock cell drawing so that things do not shift.
5783 (ie_layout) : ditto.
5785 * src/value.c (parse_database_criteria) : revert change from 2004-03-31
5786 rather than moving to g_new/g_free to make the g_free work, leave
5787 the g_alloca and remove the unnecessary g_free.
5789 2004-04-16 Morten Welinder <terra@gnome.org>
5791 * src/rangefunc.c (range_mode): Use g_hash_table_new_full.
5792 (cb_range_mode): Delete.
5794 2004-04-15 Morten Welinder <terra@gnome.org>
5796 * src/mathfunc.c (phyper): New implementation.
5798 2004-04-13 Morten Welinder <terra@gnome.org>
5800 * src/wbc-gtk.c (wbc_gtk_set_action_label): Set the right tooltip.
5802 2004-04-12 Jody Goldberg <jody@gnome.org>
5804 * src/format.c (style_format_new_markup) : new.
5806 * src/commands.c (cmd_set_text*) : Handle markup
5808 2004-04-12 Morten Welinder <terra@gnome.org>
5810 * src/mathfunc.c (pow1p, pow1pm1): New functions.
5811 (random_levy_skew): Use pow1p.
5813 2004-04-12 Morten Welinder <terra@gnome.org>
5815 * src/mathfunc.c (pf): New implementation.
5817 * src/history.c (history_item_label): Handle accel_number >= 10
5818 better. Handle "_" properly.
5820 2004-04-09 Morten Welinder <terra@gnome.org>
5822 * src/mathfunc.c (pcauchy): New implementation.
5824 * src/gutils.c (erfgnum): Improve precision for small x.
5825 (modfgnum): Fix precision for huge x.
5826 (frexpgnum): Fix precision for huge x.
5828 * src/mathfunc.c (pbeta): New implementation.
5829 (lgamma1p, swap_log_tail, log1pmx): New function.
5831 2004-04-08 Morten Welinder <terra@gnome.org>
5833 * src/wbc-gtk.c (check_underlines): Make UTF-8 safe.
5835 2004-04-08 Jean Brefort <jean.brefort@ac-dijon.fr>
5837 * src/selection.c: (sv_selection_to_plot): skip errors dims.
5839 2004-04-08 Jody Goldberg <jody@gnome.org>
5841 * src/gnumeric-gconf.c (gnm_conf_init_essential) : move the live
5842 scroll delay and the autocompletion status here from.
5843 (gnm_conf_init_extras) : here. So that we initialize it before we
5844 copy it when creating aworkbookview.
5846 2004-04-07 Morten Welinder <terra@gnome.org>
5848 * src/gui-file.c (gui_file_read): Make sure new windows appear
5849 on the right screen.
5850 * src/wbcg-actions.c (cb_file_new): Make sure new windows appear
5851 on the right screen.
5853 2004-04-07 Morten Welinder <terra@gnome.org>
5855 * src/wbcg-actions.c (cb_file_new): Copy toolbar visibility to new
5857 * src/gui-file.c (gui_file_read): Copy toolbar visibility to new
5860 * src/wbc-gtk.c (wbc_gtk_create_status_area): Show statusbar.
5861 (check_underlines): New code to debug underline collisions.
5862 (wbc_gtk_init): Show everything here.
5864 * src/workbook-control-gui.c (wbcg_set_toolbar_visible): Update
5866 (wbcg_copy_toolbar_visibility): New function.
5867 (show_gui): Call gtk_widget_show, not gtk_widget_show_all, so as
5868 not to interfere with toolbar visibility.
5870 * src/wbcg-actions.c (cb_view_standard_toolbar,
5871 cb_view_format_toolbar, cb_view_object_toolbar,
5872 cb_view_statusbar): Only do something when we're not already
5874 (var actions): Fix underline collissions.
5876 2004-04-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
5878 * configure.in: substitute WARN_CFLAGS as
5879 src/cut-n-paste-code/foocanvas/libfoocanvas/Makefile references it
5882 2004-04-05 Morten Welinder <terra@gnome.org>
5884 * src/wbc-gtk.c (cb_add_menus_toolbars): Identify toolbars.
5885 (cb_handlebox_popup): Remove this.
5886 (cb_handlebox_dock_status): Fiddle with style to work around
5888 * src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible,
5889 wbcg_set_format_toolbar_visible, wbcg_set_object_toolbar_visible,
5890 wbcg_set_statusbar_visible): New functions.
5892 * src/wbcg-actions.c (cb_view_standard_toolbar,
5893 cb_view_format_toolbar, cb_view_object_toolbar,
5894 cb_view_statusbar): New functions.
5895 (var toggle_actions): Hook them up.
5897 2004-04-02 Morten Welinder <terra@gnome.org>
5899 * src/gui-file.c (gui_file_open): Use savers' extensions as a
5900 proxy for all spreadsheet files. this is not ideal, but far
5901 better than hardcoding "*.gnumeric" and "*.xls".
5902 (gui_file_save_as): Ditto.
5904 * src/wbc-gtk.c (wbc_gtk_finalize): New function.
5905 (wbc_gtk_class_init): Hook it up.
5907 2004-04-01 Jody Goldberg <jody@gnome.org>
5909 * src/style-border.c (style_border_draw_diag) : sync with the printing
5910 code to not draw into the center of bordering double borders
5912 * src/item-edit.c (item_edit_event) : basic cursor position support.
5914 * src/print-cell.c (print_cell_background) : draw diagonals.
5915 * src/style-border.c (style_border_print_diag) : fill in. Where did
5916 this code go ? I could have sworn I implemented this years ago.
5918 2004-04-01 Morten Welinder <terra@gnome.org>
5920 * src/format.c (append_hour_elapsed): Fix precision issues.
5921 http://bugzilla.gnome.org/show_bug.cgi?id=138182.
5923 2004-04-01 Christian Neumair <chris@gnome-de.org>
5925 * src/sheet-control-gui.c:
5926 * src/wbcg-actions.c:
5927 * src/GNOME_Gnumeric-gtk.xml: Put delete actions from edit main menu
5928 into their own submenu, add stock icon to clear submenu.
5930 2004-03-31 Morten Welinder <terra@gnome.org>
5932 * src/value.c (parse_database_criteria): Since we're g_free-ing,
5933 allocate with g_new and not g_alloca.
5935 * src/gui-file.c (gui_file_save_as): Don't create an extra, bogus
5938 2004-03-30 Jody Goldberg <jody@gnome.org>
5940 * configure.in : post release bump
5942 2004-03-30 Jody Goldberg <jody@gnome.org>
5946 * Makefile.am : Add distcleancheck_listfiles, and distuninstallcheck_listfiles
5947 to keep automake from complaining about the docs.
5948 Clean the .desktop and .keys file
5949 Dist the new gnome-common auto installed xmldoc.make and omf.make
5951 * autogen.sh : require automake 1.7.2 to get the *_listfiles support
5952 required to make the doc build pass distcheck.
5954 * omf-install/* : delete
5956 * configure.in : remove omf-install, plugins/gb/Makefile,
5957 plugins/uihello/Makefile
5959 * schemas/Makefile.am : clean the generated schema files
5961 * src/cell-draw.c (cell_calc_layout) : mark hashed values as variable
5962 width so that they resize when columns change size.
5964 * src/item-grid.c (item_grid_event) : clear the cursor timer when the
5965 mouse leaves the grid (eg enters the edit item)
5967 2004-03-30 Jody Goldberg <jody@gnome.org>
5969 Test case. Enter string into C3 that spans into E3 then change
5971 * src/commands.c (cmd_format_undo) : be lazy, queue a full redraw in
5973 (cmd_format_redo) : ditto.
5975 2004-03-28 Jody Goldberg <jody@gnome.org>
5977 * src/wbcg-actions.c : cheat and install a SheetInsert action to avoid
5978 having an 'Insert' entry in the insert menu because we named the
5979 InsertSheet action for the Sheet menu.
5981 * src/item-edit.c (ie_layout) : Support rich text.
5983 * src/wbc-gtk.c (wbc_gtk_style_feedback) : Pull the values from
5984 @changes if it is supplied.
5985 (cb_post_activate) : new.
5986 (wbc_gtk_init) : Only restore focus when we aren't editing.
5987 Otherwise every time the style feedback changes we lose focus.
5989 2004-03-26 Jody Goldberg <jody@gnome.org>
5991 * src/workbook-edit.c (cb_delete_filter) : first step in syncing the
5992 markup when content changes.
5993 (cb_entry_delete_text) : ditto.
5995 2004-03-25 Jody Goldberg <jody@gnome.org>
5997 * src/wbcg-actions.c (cb_help_docs) : quick an dirty
5999 2004-03-26 Morten Welinder <terra@gnome.org>
6001 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make UTF-8 safe
6002 and stop using tooltips for storing filenames.
6004 * src/history.c (history_item_label): Make this UTF-8 safe.
6006 2004-03-25 Jody Goldberg <jody@gnome.org>
6008 http://bugzilla.gnome.org/show_bug.cgi?id=137818
6009 * src/style.c (required_updates_for_style) : redraw for h-align,
6010 striketrough, underline, and font colour changes.
6012 * src/application.c (gnumeric_application_setup_icons) : pull in some
6015 2004-03-20 Jody Goldberg <jody@gnome.org>
6017 * src/wbcg-actions.c : Move the font actions into a distinct group.
6019 * src/wbc-gtk.c (wbc_gtk_actions_sensitive) : start to account for
6020 font vs normal actions. This interface sucks. We'll need something
6021 more functional as the number of action groups increases (eg clipboard)
6022 (wbc_gtk_init_color_fore) : move into font group
6023 (wbc_gtk_init_font_name) : move into font group
6024 (wbc_gtk_init_font_size) : move into font group
6025 (wbc_gtk_set_toggle_action_state) : split font actions into a distinct
6027 (cb_handlebox_dock_status) : ditto.
6028 (wbc_gtk_init) : ditto.
6030 2004-03-19 Morten Welinder <terra@gnome.org>
6032 * src/plugin-util.c (gnumeric_fopen): Ditto.
6033 * src/format-template.c (format_template_save): Delete unused
6036 2004-03-18 Morten Welinder <terra@gnome.org>
6038 * src/gnumeric-canvas.c (row_scroll_step): Use a continious
6039 function, not a step function.
6040 (col_scroll_step): Ditto.
6042 2004-03-18 Guntupalli Karunakar <karunakar@freedomink.org>
6044 * configure.in: Added "mr" for Marathi to ALL_LINGUAS.
6046 2004-03-17 Morten Welinder <terra@gnome.org>
6048 * src/gutils.c (gnm_string_append_gstring): New function.
6050 * src/format.c (format_get_decimal, format_get_thousand,
6051 format_get_currency): Return a GString*. All callers changed and
6052 happy since they don't need to call strlen.
6053 (convert1): Operate of GString.
6055 2004-03-17 Christopher James Lahey <clahey@ximian.com>
6057 * configure.in: Added
6058 src/cut-n-paste-code/goffice/libpresent/Makefile and
6059 src/cut-n-paste-code/goffice/test/Makefile.
6061 2004-03-16 Jody Goldberg <jody@gnome.org>
6063 http://bugzilla.gnome.org/show_bug.cgi?id=137357
6064 * src/item-bar.c : Use a custom detail 'GnmItemBarCell' rather than
6065 the more generic 'button' to keep some themes 'industrial and gorilla'
6066 from freaking out at the lack of button.
6068 2004-03-16 Jody Goldberg <jody@gnome.org>
6070 * configure.in : bump the gtk req to reflect the churn in the filesel
6072 2004-03-16 Morten Welinder <terra@gnome.org>
6074 * src/sheet-autofill.c (autofill_cell): Kill some read-only
6077 2004-03-16 Jean Brefort <jean.brefort@ac-dijon.fr>
6079 * configure.in: add src/cut-n-paste-code/goffice/data/Makefile.in
6081 2004-03-11 Jody Goldberg <jody@gnome.org>
6083 * src/stf.c (csv_tsv_probe) : Be more forgiving about what might be
6086 2) Anything that has no null characters in the first 80 bytes
6087 It won't catch everything, but it should be marginally better.
6089 2004-03-08 Jody Goldberg <jody@gnome.org>
6091 * src/wbc-gtk.c (wbc_gtk_init) : split the menus into a distinct
6092 group. There's no need to senstize them
6094 2004-03-12 Jean Brefort <jean.brefort@ac-dijon.fr>
6096 * src/graph.c (gnm_go_data_vector_load_values): changed initial maximum
6097 from G_MINDOUBLE to - G_MAXDOUBLE.
6099 2004-03-13 Christopher James Lahey <clahey@ximian.com>
6101 * configure.in: Added
6102 src/cut-n-paste-code/goffice/drawing/Makefile and
6103 src/cut-n-paste-code/goffice/ms-compat/Makefile.
6105 2004-03-11 Kjartan Maraas <kmaraas@gnome.org>
6107 * src/wbc-bonobo.c: (wbcb_style_feedback): Remove extraenous
6108 semicolon from a test.
6109 * src/wbc-gtk.c: (wbc_gtk_style_feedback): Same here. Closes
6112 2004-03-09 Morten Welinder <terra@gnome.org>
6114 * src/workbook-control-gui.c (wbcg_close_if_user_permits): Set the
6115 ATK_ROLE_ALERT for dialog.
6117 * src/item-bar.c (ib_draw_cell, item_bar_draw): Avoid deprecated
6118 gtk_draw_shadow call.
6120 2004-03-06 Jody Goldberg <jody@gnome.org>
6122 * src/sheet-object-graphic.c (sheet_object_text_finalize) : release
6124 (sheet_object_text_new_view) : set the attributes.
6125 (sheet_object_text_clone) : handle the attributes.
6126 (gnm_so_text_set_font_color) : delete.
6127 (gnm_so_text_set_markup) : new.
6129 2004-03-05 Jody Goldberg <jody@gnome.org>
6131 * src/colrow.c (colrow_set_sizes) : force re-render of variable width cells
6132 (colrow_restore_state_group) : ditto
6134 * src/rendered-value.c (rendered_value_render) : privatize
6136 * src/style.c (required_updates_for_style) : Now that rendered values
6137 contain size info too we can dispense with the distinction between
6138 rendering and sizing. Without this changing the font size would not
6139 resize because the rendered value cached the size and was not
6140 re-rendered until draw, rather than at row-height calc.
6142 2004-03-05 Morten Welinder <terra@gnome.org>
6144 * src/gui-file.c (gui_file_save_as): We no longer need to show
6145 extra-widgets in the file chooser outselves.
6147 2004-03-05 Christian Neumair <chris@gnome-de.org>
6149 * src/gui-file.c: free from deprecated GtkOptionMenu, use
6150 GtkComboBox instead.
6152 2004-03-04 Jody Goldberg <jody@gnome.org>
6154 * src/sheet-object-widget.c : rework the List and combo to use a
6155 shared base. Then store and restore the dependents in xml
6157 http://bugzilla.gnome.org/show_bug.cgi?id=135946
6158 * src/formats.c : Add mmmmm-yy and mmmmm as defaults
6159 * src/format.c (append_month) : support them.
6161 * src/main-application.c (gnumeric_arg_parse) : When we don't need a
6162 gui we still need to initialize gobject.
6164 2004-03-01 Morten Welinder <terra@gnome.org>
6166 * src/gui-file.c (gui_image_file_select): Adapt to latest gtk+ cvs
6169 2004-02-29 Jody Goldberg <jody@gnome.org>
6171 http://bugzilla.gnome.org/show_bug.cgi?id=126563
6172 * src/sheet.c (sheet_dup) :
6174 2004-02-28 Jody Goldberg <jody@gnome.org>
6176 http://bugzilla.gnome.org/show_bug.cgi?id=74205
6177 * src/item-edit.c : Display blue range designator even in other panes
6179 2004-02-27 Morten Welinder <terra@gnome.org>
6181 http://bugzilla.gnome.org/show_bug.cgi?id=135609
6182 * src/parse-util.c (rangeref_as_string): Before dropping the
6183 second half of the range, make sure the $-designations agree also.
6185 2004-02-26 Morten Welinder <terra@gnome.org>
6187 * src/gui-util.c (fsel_key_event, fsel_delete_event,
6188 fsel_handle_cancel, fsel_handle_ok, fsel_dialog_finish): Delete.
6189 (gnumeric_dialog_file_selection): Remove GtkFileSelector version.
6191 2004-02-25 Morten Welinder <terra@gnome.org>
6193 * src/gui-file.c (update_preview_cb): Keep the preview, possibly
6194 blank, at all times to avoid flicker.
6196 2004-02-23 Morten Welinder <terra@gnome.org>
6198 * src/gui-file.c (gui_image_file_select): New arg "is_save" for
6199 button and dialog naming. All callers changed.
6201 * src/sheet-object-graph.c (cb_save_as): Use
6202 gui_image_file_select. Plug leak.
6204 2004-02-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
6206 http://bugzilla.gnome.org/show_bug.cgi?id=135044
6207 * src/commands.c (cmd_resize_colrow): Fixed incorrect string
6209 2004-02-21 Jody Goldberg <jody@gnome.org>
6211 http://bugzilla.gnome.org/show_bug.cgi?id=134627
6212 * src/workbook-view.c (wb_view_selection_desc) : Display name of edit
6213 position after releasing Shift key, not the top left
6215 * src/workbook-control-gui.c (cb_wbcg_drag_data_received) : disable
6216 the gnome-vfs portions. They did not work anyway. We can probably
6217 just #ifdef it in the future, I can't see an easy way to put that into
6220 * src/wbc-gtk.c (cb_font_name_changed) : quick and dirty enabling.
6221 (cb_font_size_changed) : ditto.
6223 * src/stf.c (stf_write_workbook) : remove the pointless wrapping of a
6224 pointer and just return the result directly.
6226 http://bugzilla.gnome.org/show_bug.cgi?id=97216
6227 * src/sheet-control-gui.c (scg_mode_create_object) : Go back to the
6228 primary sheet when creating an object
6230 http://bugzilla.gnome.org/show_bug.cgi?id=131588
6231 * src/rangefunc.c (range_sum) : use long double if it is available
6233 * src/mstyle.c (mstyle_new_default) : remove the gconf usage it did
6235 * src/style.c (font_init) : ditto.
6237 * src/normal-args.c : deleted. content moved
6239 * src/main-application.c : Move the arg handling into here, and #ifdef
6240 it rather than using external files. It makes it easier to read.
6241 For the non gnome case we need to manually add gtk deps. Now that
6242 we're not so dependent on gnome we can do more magic and move to a
6243 more abi-style approach with --convert and abi-commands in place of
6246 * src/libgnumeric.h : drop the arg handler stubs
6248 * src/libgnumeric.c (gnm_shutdown) : gconf shutdown is handled
6251 * src/hlink.c (gnm_hlink_url_activate) : conditionalize gnome depend.
6253 * src/gutils.c (gnumeric_sys_data_dir) : Use g_build_path, just to be
6255 (gnumeric_sys_lib_dir) : ditto.
6257 * src/gui-util.c (gnumeric_dialog_run) : Don't destroy the dialog
6258 until a stock response comes in (useful for druids)
6259 (gnumeric_help_display) : conditionalize gnome.
6260 (gnumeric_icondir) : new.
6261 (gnumeric_load_image) : use it.
6262 (gnumeric_load_pixbuf) : use it.
6264 * src/gnumeric-gconf.c (gnm_app_get_gconf_client) : moved to here.
6265 (gnm_conf_init_essential) : handle the font stuff here.
6267 * src/gnumeric-gconf-priv.h : Clean up the default font keys and move
6270 * src/application.c : remove the gconf_client
6271 (gnm_app_get_gconf_client) : move for now.
6272 (gnm_app_release_gconf_client) : delete.
6274 * src/Makefile.am : Further down the path of making gnome optional
6276 * icons/Makefile.am : Add the new about box image, dunno where/how to
6279 * configure.in : corba is dependent on gnome for now.
6280 Move libgnome* into the gnome specific libs
6281 Add the new radar plot engine
6283 * src/wbc-gtk.c (cb_show_menu_tip) : fix leak.
6285 2004-02-20 Jon K Hellan <hellan@acm.org>
6287 * src/gui-util.c: Don't include preview-file-selector.h.
6289 * src/workbook-control-gui.c: Ditto.
6291 * src/wbcg-actions.c: Ditto.
6293 2004-02-19 Morten Welinder <terra@gnome.org>
6295 * src/gui-file.c (gui_image_file_select): Add new "initial"
6296 argument. Caller changed.
6298 2004-02-18 Morten Welinder <terra@gnome.org>
6300 * src/gui-file.c (gui_image_file_select): New function.
6302 * src/wbcg-actions.c (GNM_ACTION_DEF): Use gui_image_file_select.
6304 * src/gui-file.c (file_format_changed_cb): Use
6305 gtk_widget_set_sensitive.
6307 * src/gui-util.c (gnm_fixup_filechooser_size): Remove this. No
6310 2004-02-17 Morten Welinder <terra@gnome.org>
6312 * src/gui-file.c (gui_file_open): Destroy file selector before
6313 calling opener. (File selector grabs focus so stf-import could
6314 not be interacted with.)
6316 * src/print.c (compute_scale_fit_to): For 0 pages, just return
6319 2004-02-13 Morten Welinder <terra@gnome.org>
6321 * src/gui-util.c (gnm_fixup_filechooser_size): New function.
6322 (gnumeric_dialog_dir_selection): Delete.
6324 * src/gui-file.c (gui_file_save_as, gui_file_open): Use
6325 gnm_fixup_filechooser_size.
6327 2004-02-11 Morten Welinder <terra@gnome.org>
6329 * src/print.c (compute_scale_fit_to): Guard against pages <= 0.
6330 Use doubles, not floats.
6331 (print_range_down_then_right, print_range_right_then_down,
6332 compute_group): Use doubles, not floats.
6334 2004-02-09 Morten Welinder <terra@gnome.org>
6336 * src/workbook-object-toolbar.c: Properly include
6337 <gnumeric-config.h> so the tests will work.
6339 2004-02-04 Morten Welinder <terra@gnome.org>
6341 * src/parser.y (yylex): Accept a few unicode characters.
6343 2004-02-04 Jody Goldberg <jody@gnome.org>
6345 * src/sheet.c : Make Sheet a cheesy sort of GObject. Leave the macros
6346 as the old signature based variants for now.
6348 2004-02-04 Jody Goldberg <jody@gnome.org>
6350 * src/gui-file.c (gui_file_open) : add a label and mnemonic for the
6353 2004-02-02 Jody Goldberg <jody@gnome.org>
6355 * src/session.c : make conditional on WITH_GNOME
6357 2004-02-03 Morten Welinder <terra@gnome.org>
6359 * src/wbcg-actions.c (toggle_current_font_attr): Remove debug
6362 2004-02-01 Jody Goldberg <jody@gnome.org>
6364 * src/wbc-gtk.c (cb_custom_color_created) : mark the custom dialog as
6365 a transient of the wbcg.
6367 2004-02-01 Jody Goldberg <jody@gnome.org>
6369 * src/workbook-control-gui.c (wbcg_toolbar_timer_clear) : people
6370 didn't like it so remove it to allow custom color selection to work.
6371 With it in place the action was still insensitive when the
6372 color_changed fired so the activation was ignored.
6374 * src/wbc-gtk.c (wbc_gtk_init) : connect the post_activate signal
6375 as a swapped_object to avoid calling it after we use an accelerator
6378 2004-02-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
6380 * src/gui-util.c (gu_delete_handler): new
6381 (gnumeric_dialog_file_selection): catch window manager deletion
6384 2004-01-28 Jody Goldberg <jody@gnome.org>
6386 http://bugzilla.gnome.org/show_bug.cgi?id=131933
6387 * src/format.c (update_lc) : catch mismatched monetary and numeric
6388 locales that set result in the decimal seperator and thousands
6389 seperator being the same.
6391 2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
6393 * schemas/gnumeric-dialogs.schemas.in: Add schemas corresponding to
6394 the new printing keys.
6396 2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
6398 * src/gnumeric-gconf-priv.h: add many more printing related keys
6399 * src/gnumeric-gconf.c (gnm_conf_init_essential): initialize
6400 printing variables from gconf
6401 (gnm_gconf_set_print_center_horizontally): implement
6402 (gnm_gconf_set_print_center_vertically): implement
6403 (gnm_gconf_set_print_grid_lines): implement
6404 (gnm_gconf_set_print_even_if_only_styles): implement
6405 (gnm_gconf_set_print_black_and_white): implement
6406 (gnm_gconf_set_print_titles): implement
6407 (gnm_gconf_set_print_order_right_then_down): implement
6408 (gnm_gconf_set_print_scale_percentage): implement
6409 (gnm_gconf_set_print_scale_percentage_value): implement
6410 (gnm_gconf_set_print_scale_width): implement
6411 (gnm_gconf_set_print_scale_height): implement
6412 (gnm_gconf_set_print_repeat_top): implement
6413 (gnm_gconf_set_print_repeat_left): implement
6414 (gnm_gconf_set_print_tb_margins): implement
6415 (gnm_gconf_set_print_header_formats): implement
6416 * src/print-info.c (load_formats): add saved custom formats
6418 2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
6420 * src/gnumeric-gconf.c (gnm_conf_init_essential): initialize new
6421 configuration variables
6422 (gnm_conf_init_extra): move some items to essential
6423 (gnm_gconf_set_print_center_horizontally): new stub
6424 (gnm_gconf_set_print_center_vertically): new stub
6425 (gnm_gconf_set_print_grid_lines): new stub
6426 (gnm_gconf_set_print_even_if_only_styles): new stub
6427 (gnm_gconf_set_print_black_and_white): new stub
6428 (gnm_gconf_set_print_titles): new stub
6429 (gnm_gconf_set_print_order_right_then_down): new stub
6430 (gnm_gconf_set_print_scale_percentage): new stub
6431 (gnm_gconf_set_print_scale_percentage_valuee): new stub
6432 (gnm_gconf_set_print_scale_width): new stub
6433 (gnm_gconf_set_print_scale_height): new stub
6434 (gnm_gconf_set_print_repeat_top): new stub
6435 (gnm_gconf_set_print_repeat_left): new stub
6436 (gnm_gconf_set_print_tb_margins): new stub
6437 (gnm_gconf_set_print_header_formats): new stub
6438 * src/gnumeric-gconf.h: various new functions (see above) and
6439 fields to the pref structure.
6440 * src/print-info.c: remove dependence on libgnome/gnome-config.h
6441 (load_margin): deleted
6443 (load_range): deleted
6444 (load_formats): remove gnome-config stuff
6445 (print_info_new): switch to gconf functions
6446 (save_margin): deleted
6447 (save_range): deleted
6449 (save_formats): use gconf
6450 (print_info_save): use new gconf functions
6451 (print_info_set_orientation): new
6452 (print_info_get_orientation): new
6453 * src/print-info.h: remove orientation field in pi
6454 (print_info_set_orientation): new
6455 (print_info_get_orientation): new
6456 * src/xml-io.c (xml_write_print_info): use print_info_get_orientation
6457 (xml_read_print_info): use print_info_set_orientation
6459 2004-01-27 Morten Welinder <terra@gnome.org>
6461 * src/gui-file.c (gui_file_save_as): Switch to file chooser.
6463 2004-01-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
6465 * src/print.c (sheet_print): remove warnings
6467 2004-01-27 Morten Welinder <terra@gnome.org>
6469 * src/gui-file.c (gui_file_open): Cleanup and hack a better size.
6471 2004-01-26 Andreas J. Guelzow <aguelzow@taliesin.ca>
6473 * configure.in: bump libgnomeprint[ui] requirement to 2.5.2
6474 * src/print.c (sheet_print): don't close the print dialog on preview
6475 and use gnome_print_dialog_run to avoid overwriting files without
6478 2004-01-26 Morten Welinder <terra@gnome.org>
6480 * src/gui-file.c (gui_file_open): Switch to file chooser.
6482 * src/gui-util.c (gnumeric_dialog_file_selection): Handle file
6483 chooser widgets too.
6485 2004-01-26 Jody Goldberg <jody@gnome.org>
6487 http://bugzilla.gnome.org/show_bug.cgi?id=132448
6488 * src/wbcg-actions.c (cb_auto_filter) : fix
6489 * src/selection.c (selection_first_range) : improve readability of
6492 http://bugzilla.gnome.org/show_bug.cgi?id=127138
6493 * src/wbcg-actions.c (cb_view_freeze_panes) : Don't get confused by an
6494 attempt to freeze without centering when the top or left is not 0.
6496 2004-01-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
6498 * src/cell-draw.c (cell_calc_layout): new
6499 (cell_draw): move the pango layout code into cell_calc_layout
6501 2004-01-24 Jody Goldberg <jody@gnome.org>
6503 * src/sheet-object-graphic.c : defaults for color combos are now more
6504 useful. The actions can set them up for toolbars in one place
6505 rather than users setting the combo in dozens.
6507 2004-01-23 Jody Goldberg <jody@gnome.org>
6509 * src/workbook.c (workbook_find_command) : new utility
6511 * src/wbc-gtk.c (cb_undo_activated) : port to new interface
6512 (cb_redo_activated) : port to new interface
6514 * src/sheet-control-gui.c (scg_object_update_bbox) : silence
6517 2004-01-23 Jody Goldberg <jody@gnome.org>
6519 * configure.in : bump the gtk and glib depends to yesterday's releases
6521 2004-01-22 Jody Goldberg <jody@gnome.org>
6523 * src/wbc-gtk.c : clean up the border combo and adapt to its new api
6525 2004-01-16 Jody Goldberg <jody@gnome.org>
6527 * configure.in : check for symbolic link support
6528 * src/Makefile.am : install executable as
6530 with a symlink to that from gnumeric
6532 2004-01-16 Jody Goldberg <jody@gnome.org>
6534 * src/stf.c (stf_write_workbook) : update the string and drop the
6537 * src/wbc-gtk.c (wbc_gtk_init) : enable translations for menus and
6540 2004-01-16 Jody Goldberg <jody@gnome.org>
6542 * src/wbc-gtk.c : Fix some accelerators and enable colour combos.
6543 Some undo/redo is working too.
6545 * src/style-color.c (style_color_new_go) : new.
6547 * configure.in : Push the goffice include up here until it can get a
6550 * autogen.sh (REQUIRED_AUTOMAKE_VERSION) : bump automake version to
6551 get stricter distchecks.
6553 2004-01-14 Jody Goldberg <jody@gnome.org>
6555 * gnumeric.mime : prune this to just types gnome-mime-data does not
6558 2004-01-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
6560 http://bugzilla.gnome.org/show_bug.cgi?id=131343
6561 * src/print.c (print_job_info_update_from_config): new
6562 (print_job_info_get): move some code into
6563 print_job_info_update_from_config
6564 (sheet_print): call print_job_info_update_from_config after the
6565 user may have changed the paper info in the print dialog.
6567 2004-01-14 Jon K Hellan <hellan@acm.org>
6569 * README: Spellcheck
6571 2004-01-14 Jody Goldberg <jody@gnome.org>
6573 * src/wbc-gtk.c : silence some warnings from the zoom combo. It's not
6574 functional yet so why spew errors.
6575 - Add status line display of menu tooltips
6576 - Fix accel for the display formula toggle
6578 2004-01-13 Jody Goldberg <jody@gnome.org>
6580 * src/func.c (function_call_with_list) : fix the address tests by
6581 allowing missing optional args to get passed as NULL.
6583 2004-01-12 Morten Welinder <terra@gnome.org>
6585 * src/GNOME_Gnumeric-gtk.xml: remove menu entris for bold, etc.
6586 (Probably accidentally committed.)
6588 2004-01-11 Jon K Hellan <hellan@acm.org>
6590 * src/GNOME_Gnumeric-gtk.xml: Add accelerators for bold, italic
6593 2004-01-10 Jody Goldberg <jody@gnome.org>
6595 * src/wbc-gtk.c : Display the progress bar
6596 enable the sensitzation/desensitization of the actions. NOTE :
6597 requires a gtk patch that is not in cvs yet.
6598 Set a tooltip for the border and colour combos, requires another gtk
6599 patch that is not in cvs.
6601 * src/gnumeric-pane.c : Conditionally disable the stipple border for
6602 now, but fix it to scale properly with zoom anyway.
6604 * src/Makefile.am (bonobo_component_ui_DATA) : install the GtkAtion ui
6605 file for now. We can cleanup later. Display ssconvert too, that
6606 needs to merge or move to a new dir. It doubles link time.
6608 2004-01-09 Morten Welinder <terra@gnome.org>
6610 * src/wbcg-actions.c: Add invisible CopyDown and CopyRight
6611 actions. Stubbed so far.
6612 Remove accelerator for double underline as it collided with
6615 2004-01-08 Jody Goldberg <jody@gnome.org>
6617 http://bugzilla.gnome.org/show_bug.cgi?id=130172
6618 * src/func.c (function_call_with_list) : A major change
6619 Do not do the empty conversion to int(0) in expr_eval
6620 ALLOW scalars to return empty/NULL, the convert them to empty for
6621 most types, and int(0) for float/bool. Which makes
6622 'S' the same as 's' for all purposes accept documentation.
6624 * src/GNOME_Gnumeric-gtk.xml : No need to name items their action is
6625 sufficient as long as they are unique in their parent.
6627 * src/cell.h (CELL_HAS_NEW_EXPR) : AARRRGGH. Actually a sign a
6628 _unique_ value to it.
6630 * src/gnumeric-pane.c (cb_control_point_event) : change the cursor
6631 when dragging. Only start dragging on button 1 down. Ignore other
6632 buttons while dragging.
6633 (cb_sheet_object_canvas_event) : ditto.
6635 * src/main-application.c (main) : set the app name.
6637 2004-01-07 Jody Goldberg <jody@gnome.org>
6639 http://bugzilla.gnome.org/show_bug.cgi?id=130700
6640 * src/format.c (format_entry_ctor) : init the new 'suppress_minus'
6642 (format_compile) : initialize supress minus if the condition is of the
6643 form [<=(val <= 0)] or [<(val < 0)] I hope this is a reasonable
6644 approximation of MS Excel.
6645 (render_number) : pull out all the old elements that added minus signs
6646 (format_number) : handle the new entry based suppress minus operator
6647 here, and prepend the sign.
6649 * src/wbcg-actions.c : Sync labels and mnemonics with the old
6650 bonobo/gnomeui menus
6652 2004-01-06 Jody Goldberg <jody@gnome.org>
6654 * src/wbc-gtk.c (cb_add_menus_toolbars) : Enable/Disable the arrow
6655 contraction on the toolbars if the handlbox is docked/undocked.
6656 This avoids having floating toolbars with nothing but the collapse
6659 * configure.in : re-enable the *DEPRECATED*
6660 and add a pile of #undef/#warning to make sure things still work
6662 2004-01-06 Jody Goldberg <jody@gnome.org>
6664 The initial pass at GtkAction custom combos are mucho broken
6665 * src/sheet.c (sheet_toggle_hide_zeros) : move this out of the macro
6667 (sheet_toggle_show_formula) : ditto.
6669 * src/sheet-object-graph.c (cb_save_as) : add jpg, and translate the
6670 error message now that string freeze is done.
6672 * src/gui-util.c : restore DISABLE_DEPRECATED
6673 (gnumeric_toolbar_insert_with_eventbox) : delete.
6674 (gnumeric_toolbar_append_with_eventbox) : delete.
6675 (gtk_button_stock_alignment_set) : delete.
6676 (gnumeric_toolbar_new) : delete.
6677 (gnumeric_inject_widget_into_bonoboui) : move the wbc-bonobo.c
6678 (gnumeric_toolbar_get_widget) : delete.
6679 (gnm_widget_disable_focus) : move here from workbook-format-toolbar.c
6681 * workbook-format-toolbar.{c,h} : move contents into
6682 * wbcg-actions.c : this new file
6683 * wbc-gtk.c : or this new file
6684 * wbc-bonobo.c : or this new file (WHICH DOES NOT COMPILE OR WORK)
6685 Should probably merge into workbook-control-component or something
6688 * src/gnm-marshalers.list (VOID) : Use the stock marshallers in glib
6689 directly rather than adding our own wrappers.
6690 * src/application.c : here
6692 * src/GNOME_Gnumeric.xml : rename FileExit -> FileQuit to be consistent
6693 * src/GNOME_Gnumeric-gtk.xml : new file for GtkAction
6695 You must be running in gnumeric/src
6697 YOU MUST BE RUNNING IN gnumeric/src
6698 for anything to work right now. I don't quite know how I want to
6699 handle the file yet (the bonobo approach was irritating) we'll see.
6702 - Add goffice/gui-utils
6703 - Get rid of --with-bonobo
6705 - Add --enable-bonobo-component
6706 * plugins/Makefile.am : Adapt to that.
6707 * src/Makefile.am : ditto, and add the new files.
6709 2004-01-05 Jody Goldberg <jody@gnome.org>
6711 http://bugzilla.gnome.org/show_bug.cgi?id=130424
6712 * src/commands.c (cmd_set_text_redo) : remove manual kludge.
6713 * src/dependent.h (cell_eval) : move from here
6714 * src/cell.h (cell_eval) : to here. Add a new flag CELL_HAS_NEW_EXPR
6715 * src/cell.c (cell_set_expr_internal) : set the flag here.
6716 * src/rendered-value.c (rendered_value_new) : test it here.
6718 http://bugzilla.gnome.org/show_bug.cgi?id=130582
6719 * src/sheet-control-gui.c (scg_cursor_move) : don't scroll the other
6720 panes unless we absolutely have to. Apparently we only fuxed normal
6721 cursor movement for http://bugzilla.gnome.org/show_bug.cgi?id=77303
6722 This fixes rangesel too.
6724 2003-12-29 Jody Goldberg <jody@gnome.org>
6726 * * : Move everything to glib/gi18n.h in place of gnumeric-i18n.h
6727 * gnumeric-i18n.h : delete
6729 * configure.in : Looks like we're really requiring gtk/glib 2.3.1 at a
6730 minimum. In reality it's probably closer to CVS at this point. I'm
6731 kinda looking forward to the gtk freeze.
6733 2003-12-24 Morten Welinder <terra@gnome.org>
6735 * src/io-context-gtk.c (cb_realize): Remove workaround for old
6737 * src/stf-parse.c (stf_parse_lines): Ditto.
6738 * src/workbook-control-gui.c (wbcg_get_gtk_settings): Ditto.
6741 * src/gui-util.c (gdk_cursor_new_from_pixbuf): Remove.
6743 2003-12-23 Jody Goldberg <jody@gnome.org>
6745 * configure.in : post BRANCH bump
6746 require gtk/glib 2.3.0, that will probably go up shortly
6747 as we depend more on head directly