1 2012-12-18 Morten Welinder <terra@gnome.org>
5 2012-11-29 Morten Welinder <terra@gnome.org>
7 * configure.in: Post-release bump.
9 2012-11-29 Morten Welinder <terra@gnome.org>
13 2012-11-19 Morten Welinder <terra@gnome.org>
15 * src/cell.c (gnm_cell_get_format): Actually return the result.
18 2012-11-16 Morten Welinder <terra@gnome.org>
20 * configure.in: Post-release bump.
22 2012-11-16 Morten Welinder <terra@gnome.org>
26 2012-11-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
28 * src/workbook-view.c (workbook_view_class_init): do not use the
29 preference settings here. THey are used in workbook_view_new
30 (workbook_view_new): use g_object properties
32 2012-11-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
34 * src/gnumeric-conf.h: updated
35 * src/gnumeric-conf.c: updated
37 2012-11-14 Jean Brefort <jean.brefort@normalesup.org>
39 * src/position.c: fixed introspection annotations. [#682514]
41 2012-11-11 Jean Brefort <jean.brefort@normalesup.org>
43 * src/item-cursor.c (item_cursor_draw): always draw the double line of
44 the selection rectangle, even if top and bottom are out of sight.
45 * src/sheet-control-gui.c (scg_finalize): unselect objects so that they
46 are correctly unrefed. [#688094]
48 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
50 * configure.in: we need goffice 0.9.7
52 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
54 * src/gnumeric-conf.h: updated
55 * src/gnumeric-conf.c: updated
56 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: use enums for
57 "format" and "quoting"
59 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
61 * src/gnumeric-conf.h: updated
62 * src/gnumeric-conf.c: updated
63 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: change path
64 to avoid introspection bug
65 * component/gnumeric.c (go_plugin_init): adjust for changed
66 autogenerated function name
67 * src/gnm-plugin.c (gnm_plugins_init): ditto
69 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
71 * src/gnumeric-conf.h: updated using adjusted tools/handle-conf-options
72 * src/gnumeric-conf.c: updated using adjusted tools/handle-conf-options
74 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
76 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: add new
78 * src/gnumeric-conf.h: updated
79 * src/gnumeric-conf.c: updated
80 * src/stf-export.c (gnm_stf_get_stfe): read new preference settings
82 2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
84 * src/gnumeric-conf.h: updated using tools/handle-conf-options
85 * src/gnumeric-conf.c: updated using tools/handle-conf-options
87 2012-11-10 Jean Brefort <jean.brefort@normalesup.org>
89 * src/sheet-object-image.c (gnm_soi_get_target_list): don't crash when
90 draging an unknown image.
92 2012-11-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
94 * src/cell-draw.c (cell_draw_simplify_cb): change argument type and flag
95 possible change in layout height
96 (cell_draw_simplify_attributes): change argument type and recalc natural
98 (cell_calc_layout): adjust call of cell_draw_simplify_attributes
100 2012-11-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
102 * src/cell-draw.c (cell_draw_simplify_cb): new
103 (cell_draw_simplify_attributes): new
104 (cell_calc_layout): use the above after setting hashes
106 2012-11-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
108 * src/cell.c (gnm_cell_get_format_given_style): new
109 (gnm_cell_get_format): use gnm_cell_get_format_given_style
111 2012-11-04 Jean Brefort <jean.brefort@normalesup.org>
113 * src/sheet.c: add API doc for sheet_cells to fix an introspection warning.
115 2012-11-03 Morten Welinder <terra@gnome.org>
117 * src/sheet-style.c (sheet_style_get_row2): New function.
119 2012-11-02 Jean Brefort <jean.brefort@normalesup.org>
121 * src/sheet-object-image.c (gnm_soi_write_xml_sax): fixed crash when
122 copying an image from one process to another. [#687414]
124 2012-10-30 Jean Brefort <jean.brefort@normalesup.org>
126 * src/graph.c (gnm_go_data_vector_load_values),
127 (gnm_go_data_vector_get_str): do not use filtered out values. [#687209]
129 2012-10-27 Morten Welinder <terra@gnome.org>
131 * src/stf.c (resize_columns): Only auto-resize columns based on
132 the first 1000 rows. Fixes #686858.
134 2012-10-26 Morten Welinder <terra@gnome.org>
136 * src/gutils.c (gnm_utf8_strto): Handle all-ascii case without
139 * src/stf-parse.c (my_utf8_strchr): New function wrapping
140 g_utf8_strchr and handling ascii character faster.
142 2012-10-20 Jean Brefort <jean.brefort@normalesup.org>
144 * src/sheet-object-image.c (gnm_soi_get_target_list): fix trivial crasher,
145 (gnm_soi_copy): really copy the image.
147 2012-10-19 Morten Welinder <terra@gnome.org>
149 * src/sheet-style.c (internal_style_list): Check actual area
150 against expected area.
151 (verify_hashes): Check area against initial area.
152 (cb_style_list_add_node): Keep track of (filtered) area.
154 2012-10-18 Morten Welinder <terra@gnome.org>
156 * src/sheet-style.c (internal_style_list): New function uniting
157 all the style list getters. Optimization is far better than the
158 old code, but not optimal.
160 2012-10-14 Morten Welinder <terra@gnome.org>
162 * src/sheet.c (sheet_cells): Take extra optional range argument.
165 2012-10-06 Morten Welinder <terra@gnome.org>
167 * src/sheet.c (sheet_cell_positions): Renamed from sheet_cells.
169 (sheet_cells): New function.
170 (sheet_foreach_cell_in_range): Use new sheet_cells.
172 2012-09-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
174 * src/sstest.c (test_random_normality): fix text
176 2012-09-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
178 * src/sheet-control-gui.c (sheet_control_gui_new): check for NULL sheets
180 2012-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
183 * src/gnm-pane-impl.h: change IM fields of _GnmPane
184 * src/gnm-pane.c (gnm_pane_key_press): skip im_block_edit_start
185 (gnm_pane_focus_in): ditto
186 (gnm_pane_realize): ditto
187 (gnm_pane_unrealize): ditto
188 (cb_gnm_pane_preedit_start): new
189 (cb_gnm_pane_preedit_end): new
190 (cb_gnm_pane_preedit_changed): check im_preedit_started
191 (gnm_pane_dispose): disconnect cb_gnm_pane_preedit_*
192 (gnm_pane_init): connect cb_gnm_pane_preedit_*
194 2012-09-19 Jean Brefort <jean.brefort@normalesup.org>
196 * src/graph.c (gnm_go_data_vector_load_len),
197 (gnm_go_data_vector_load_values): add 1 column/row to the clipped area
198 to allow empty cells at the end. Related to #684072.
200 2012-09-09 Jean Brefort <jean.brefort@normalesup.org>
202 * src/gnm-so-path.c (gnm_so_path_write_xml_sax), (sop_sax_path),
203 (gnm_so_path_prep_sax_parser): serialize multiple paths.
205 2012-09-08 Jean Brefort <jean.brefort@normalesup.org>
207 * src/gnm-so-path.c (so_path_view_set_bounds),
208 (cb_gnm_so_path_changed), (gnm_so_path_new_view),
209 (gnm_so_path_set_property), (gnm_so_path_get_property),
210 (gnm_so_path_finalize), (gnm_so_path_class_init): allow for multiple
213 2012-09-06 Morten Welinder <terra@gnome.org>
215 * configure.in: Post-release bump.
217 2012-09-06 Morten Welinder <terra@gnome.org>
221 2012-08-28 Jean Brefort <jean.brefort@normalesup.org>
223 * src/gnm-so-path.c (gnm_so_path_new_view),
224 (gnm_so_path_draw_cairo): force odd-even filling rule for custom shapes.
226 2012-08-26 Jean Brefort <jean.brefort@normalesup.org>
228 * src/Makefile.am: add new GOPath based sheet objects.
229 * src/gnm-so-path.c: ditto.
230 * src/gnm-so-path.h: ditto.
231 * src/xml-sax-read.c (xml_sax_read_obj): ditto.
233 2012-08-16 Jean Brefort <jean.brefort@normalesup.org>
235 * all: fixed introspection warnings.
237 2012-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
239 * src/gui-file.c (gui_file_save_as): use workbook_get_last_export_uri
240 and workbook_get_file_exporter
241 (gui_file_export_repeat): ditto
242 * src/wbc-gtk.c (wbcg_menu_state_update): handle MS_FILE_EXPORT_IMPORT
243 * src/workbook-control.h (MS_FILE_EXPORT_IMPORT): new
244 * src/workbook-view.c (wb_view_save_as): use workbook_set_last_export_uri
245 * src/workbook.c (workbook_set_file_exporter): new
246 (workbook_set_last_export_uri): new
247 (cb_exporter_finalize): use workbook_set_file_exporter
248 (workbook_dispose): use workbook_set_last_export_uri
249 * src/workbook.h (workbook_set_file_exporter): new
250 (workbook_set_last_export_uri): new
252 2012-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
254 * src/stf.c (stf_read_workbook_auto_csvtab): use the csv exporter in the
255 saveinfo if appropriate
257 2012-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
259 * src/workbook-view.c (wb_view_new_from_input): save uri for
260 export if appropriate
262 2012-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
264 * component/Gnumeric-embed.xml.in: add Repeat Export menu item
265 * src/GNOME_Gnumeric-gtk.xml.in: add Repeat Export menu item
266 * src/gui-file.c (gui_file_export_repeat): new
267 * src/gui-file.h (gui_file_export_repeat): new
268 * src/wbc-gtk-actions.c (cb_data_export_repeat): new
269 (DataExportRepeat): new
271 2012-08-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
273 * src/gui-file.c: adjust all calls to workbook_update_history
274 (gui_file_save_as): get the correct file name,
275 * src/main-application.c: adjust all calls to workbook_update_history
276 * src/workbook-priv.h (_Workbook): add fields
277 * src/workbook-view.c (wb_view_save_as): save all file names
278 * src/workbook.c (workbook_update_history): add argument and change all callers
279 (workbook_dispose): free saved export file name
280 (workbook_set_saveinfo): save format level for exports too
281 (workbook_get_last_export_uri): new
282 * src/workbook.h (workbook_update_history): add argument
283 (workbook_get_last_export_uri): new
285 2012-08-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
287 * src/gui-file.c (gui_file_save_as): use the default format whenever
290 2012-08-06 Jean Brefort <jean.brefort@normalesup.org>
292 * src/sheet-object-widget.c (sheet_widget_frame_set_label): fix label
295 2012-08-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
297 * src/sheet-object-widget.c: use the defines from src/sheet-object-widget.h
299 2012-08-04 Jean Brefort <jean.brefort@normalesup.org>
301 * src/gui-clipboard.c (table_cellregion_write): make WorkbookView derive
303 * src/print-info.c (pdf_export): ditto.
304 * src/stf-export.c (gnm_stf_file_saver_save): ditto.
305 * src/stf.c (stf_read_workbook), (stf_read_workbook_auto_csvtab),
306 (stf_write_csv): ditto.
307 * src/workbook-view.c (wbv_save_to_output),
308 (wb_view_new_from_input): ditto.
309 * src/workbook-view.h: ditto.
310 * src/xml-sax-read.c (gnm_xml_file_open):
311 * src/xml-sax-write.c (gnm_xml_file_save_full),
312 (gnm_xml_file_save), (gnm_xml_file_save_xml): ditto.
314 2012-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
316 * src/workbook.c (workbook_set_saveinfo): enforce the
317 distinction between save and export
319 2012-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
321 * src/xml-sax-write.c (gnm_xml_file_save): renamed to
322 gnm_xml_file_save_full
323 (gnm_xml_file_save): new
324 (gnm_xml_file_save_xml): new
325 (gnm_xml_sax_write_init): initialize new saver
326 (gnm_xml_sax_write_shutdown): free new saver
328 2012-08-03 Jean Brefort <jean.brefort@normalesup.org>
330 * configure.in: require libgsf >= 1.14.24.
332 2012-08-03 Jean Brefort <jean.brefort@normalesup.org>
334 * src/gui-util.c (gnumeric_message_dialog_new): replaced deprecated
336 * src/gutils.c (gnm_insert_meta_date): ditto.
337 * src/mathfunc.c (pnorm): ditto.
338 * src/xml-sax-read.c (xml_sax_document_meta): ditto.
339 * src/xml-sax-write.c (xml_write_meta_data): ditto.
341 2012-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
343 * src/sheet-filter.c (gnm_filter_condition_new_bucket): add argument
344 and change all callers
345 (gnm_filter_combo_apply): handle new filter ops
346 * src/sheet-filter.h (gnm_filter_condition_new_bucket): add argument
347 (GNM_FILTER_OP_*): add new values
348 * src/xml-sax-read.c (xml_sax_filter_condition): adjust call to
349 gnm_filter_condition_new_bucket
351 2012-08-01 Morten Welinder <terra@gnome.org>
353 * src/style-color.c (style_color_new_rgba16): Explicitly use a
354 16-bit type argument.
356 2012-08-01 Jean Brefort <jean.brefort@normalesup.org>
358 * src/sheet-style.c (sheet_style_init_size): Rename
359 style_color_new_i8 and style_color_new_i16 and add an alpha-aware
361 * src/style-border.c (style_border_equal), (style_border_hash): ditto.
362 * src/style-color.c (style_color_new_rgba16),
363 (style_color_new_pango), (style_color_new_gdk),
364 (style_color_new_rgba8), (style_color_new_rgb8),
365 (style_color_black), (style_color_white), (style_color_grid): ditto.
366 * src/style-color.h: ditto.
367 * src/wbc-gtk.c (wbc_gtk_init_color_fore): add alpha channel support.
369 * src/xml-sax-read.c (xml_sax_attr_color): load font alpha channel.
371 2012-07-30 Morten Welinder <terra@gnome.org>
373 * src/application.c (gnm_app_recalc): New function. (After almost
374 15 years we get this?) Most calls to workbook_recalc redirected
377 2012-07-28 Morten Welinder <terra@gnome.org>
379 * src/dependent.h (GnmDependentClass): Add new "changed" method
380 for propagating changes.
382 * src/dependent.c (dependent_queue_recalc_main): Use new
385 2012-07-27 Morten Welinder <terra@gnome.org>
387 * src/dependent.c (cell_dep_eval): Don't complain if we're not
388 finished with the eval. That can and will happen with circular
389 dependents. (It didn't use to because we had two different ways
392 2012-07-26 Jean Brefort <jean.brefort@normalesup.org>
394 * component/gnumeric.c (go_gnm_component_get_data),
395 (cb_editor_destroyed): fix references issues. [#680190]
396 * src/ssgrep.c (main): don't crash for files with components.
397 * src/ssindex.c (main):
399 2012-07-25 Morten Welinder <terra@gnome.org>
401 * src/func.h (GnmFunc): Use "usage" instead of "ref_count".
403 * src/mathfunc.c (mmult): Use GnmAccumulator for extra accuracy.
405 2012-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
407 * src/wbc-gtk-edit.c (wbcg_edit_finish): reset the expr_txt pointer
408 when changing the txt pointer. Fixes #680548
410 * src/dependent.c (link_unlink_expr_dep): Fix problem from
413 2012-07-22 Morten Welinder <terra@gnome.org>
415 * src/dependent.c (dependent_eval): Do the same thing for all
417 (gnm_cell_eval_content): Don't clear dynamic dependents here.
418 We're now always called via dependent_eval.
419 (gnm_cell_eval): Now a function instead of a macro in cell.h
421 2012-07-21 Morten Welinder <terra@gnome.org>
423 * src/dependent.c (dependent_debug_name_for_sheet)
424 (dependent_debug_name, dependent_set_expr): simplify.
425 (dependent_types_init): Make a proper class for cells as
428 2012-07-22 Jean Brefort <jean.brefort@normalesup.org>
430 * configure.in: make introspection build with no libspreadsheet installed.
431 * src/Makefile.am: ditto.
433 2012-07-21 Jean Brefort <jean.brefort@normalesup.org>
435 * component/gnumeric.c (go_gnm_component_set_data),
436 (cb_gognm_save), (cb_editor_destroyed): fixed component life issues.
437 * src/commands.c (cmd_so_component_config): cosmetic.
438 * src/main-application.c (main):
439 * src/sheet-object-component.c (component_changed_cb): fixed component
441 * src/ssconvert.c (main): set the default command context for components.
442 * src/wbc-gtk-actions.c: fixed component life issues.
443 * src/workbook-view.c: introspection warnings.
445 2012-07-20 Morten Welinder <terra@gnome.org>
447 * src/dependent.c (link_cellrange_dep, unlink_cellrange_dep):
448 merge into link_unlink_cellrange_dep.
449 (link_expr_dep, unlink_expr_dep): merge into link_unlink_expr_dep.
451 * src/func.h (_GnmFuncDescriptor, _GnmFunc): Merge unlinker into
452 linker. All users changed.
454 2012-07-20 Jean Brefort <jean.brefort@normalesup.org>
456 * component/gnumeric.c (go_gnm_component_get_data),
457 (go_gnm_component_set_data), (go_gnm_component_edit),
458 (go_plugin_init): fixed command context issues.
459 * configure.in: need goffice-0.9.6.
460 * src/main-application.c (main): fixed command context issues.
461 * src/sheet-object-component.c (component_changed_cb),
462 (gnm_soc_user_config): ditto.
463 * src/wbc-gtk-actions.c: ditto.
465 2012-07-15 Morten Welinder <terra@gnome.org>
467 * configure.in: Post-release bump.
469 2012-07-15 Morten Welinder <terra@gnome.org>
473 2012-07-12 Jean Brefort <jean.brefort@normalesup.org>
475 * Makefile.am: update DISTCHECK_CONFIGURE_FLAGS for introspection.
477 2012-07-11 Jean Brefort <jean.brefort@normalesup.org>
479 * configure.in: add support for introspection. [#670271]
480 * src/Makefile.am: ditto.
481 * src/application.c: ditto.
482 * src/cell.c (cell_copy), (cell_free), (gnm_cell_get_type): ditto.
484 * src/complex.h: ditto.
485 * src/format-template.h: ditto.
487 * src/gnm-style-impl.h: ditto.
488 * src/parse-util.h: ditto.
489 * src/print-info.h: ditto.
490 * src/sheet.c: ditto.
491 * src/stf-parse.h: ditto.
492 * src/style-font.h: ditto.
493 * src/workbook-control-priv.h: ditto.
495 2012-07-03 Morten Welinder <terra@gnome.org>
497 * src/ranges.c (gnm_sheet_range_hash, gnm_range_hash): Delete
498 crummy and unused hash functions.
500 * src/sheet.c (cell_set_hash): Use a decent hash.
501 (sheet_foreach_cell_in_range): Use different algorithm when the
502 range is big and we only need existing cells.
504 2012-06-25 Morten Welinder <terra@gnome.org>
506 * configure.in: Post-release bump.
508 2012-06-25 Morten Welinder <terra@gnome.org>
512 2012-06-22 Morten Welinder <terra@gnome.org>
514 * src/gui-clipboard.c (gnm_x_store_clipboard_if_needed): More
517 2012-06-18 Morten Welinder <terra@gnome.org>
519 * src/xml-sax-write.c (gnm_xml_out_add_gocolor): Handle alpha.
521 2012-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
523 * src/sheet-filter.c (gnm_filter_set_range): new
524 (gnm_sheet_filter_insdel_colrow): preserve range of to-be-killed filter
525 and set range on undo
527 2012-06-15 Morten Welinder <terra@gnome.org>
529 * src/style-color.c (style_color_new_gdk): Improve roundtrip.
531 (style_color_new_gdk): Keep alpha.
533 2012-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
535 * src/sheet-object.c (sheet_objects_clear): filter-combos are not
536 included in "all objects"
538 2012-06-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
540 * src/commands.c (cmd_analysis_tool_undo): update wbc
541 (cmd_analysis_tool_redo): update wbc
543 2012-06-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
545 * src/commands.c (cmd_analysis_tool_finalize): do not pass a context
546 since the tools don't need it for TOOL_ENGINE_CLEAN_UP and it may not
549 2012-06-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
551 * component/Gnumeric-embed.xml.in: add ToolsOneMeanTest
552 * src/GNOME_Gnumeric-gtk.xml.in: ditto
553 * src/wbc-gtk-actions.c (cb_tools_one_mean_test): new
554 (actions): add ToolsOneMeanTest
556 2012-06-10 Jean Brefort <jean.brefort@normalesup.org>
558 * src/wbc-gtk.c (cb_scroll_wheel): make mouse wheel scrolling work
559 again with gtk+-3.4. [#675089]
561 2012-06-05 Jean Brefort <jean.brefort@normalesup.org>
563 * src/item-bar.c (ib_draw_cell): make selction background visible. [#648676]
564 * src/item-grid.c (item_grid_draw_region): ditto.
565 * src/pattern.c (gnumeric_background_set): ditto.
567 2012-05-31 Morten Welinder <terra@gnome.org>
569 * src/mstyle.c (gnm_style_update): Use gnm_style_conditions_hash.
571 * src/style-conditions.c (gnm_style_conditions_new): Add new sheet
572 argument. All callers changed.
573 (gnm_style_conditions_insert): Verify that sheets match between
575 (gnm_style_cond_new): Add new sheet argument. All callers
576 changed. Initialize managed dependent.
577 (gnm_style_conditions_hash): New function.
579 * src/style-conditions.h (GnmStyleCond): Store expressions as
582 2012-05-25 Morten Welinder <terra@gnome.org>
584 * src/style-conditions.c (gnm_style_conditions_insert): Change
585 memory ownership semantics to no longer taking partial ownership.
587 * src/xml-sax-read.c (xml_sax_condition_expr_end): Fixed reversed
590 2012-05-23 Morten Welinder <terra@gnome.org>
592 * src/style-conditions.c (gnm_style_cond_set_overlay): New
594 (gnm_style_cond_new): Drop overlay argument. All callers fixed.
595 (gnm_style_cond_dup): Use gnm_style_cond_set_overlay.
597 * src/xml-sax-read.c: Treat GnmStyleCond as (mostly) opaque.
599 2012-05-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
601 * src/sheet-style.h (sheet_style_range_foreach): new
602 (gnm_style_region_new): new
603 (gnm_style_region_free): new
604 * src/sheet-style.c (sheet_style_range_foreach): new
605 (style_region_new): rename to gnm_style_region_new and publish
606 (style_region_free): rename to gnm_style_region_free and publish
609 2012-05-17 Morten Welinder <terra@gnome.org>
611 * src/validation.h: Grand rename into gnm_ namespace.
613 * src/validation.c (gnm_validation_dup, gnm_validation_get_sheet)
614 (gnm_validation_set_sheet): New functions.
616 * src/mstyle.c (gnm_style_link_sheet): Call
617 gnm_style_linked_sheet_changed. Fixes duplication of sheets with
618 validation and similar cases.
619 (gnm_style_linked_sheet_changed): New function.
621 * src/dependent.c (dependent_managed_set_sheet): We don't own a
622 sheet ref, so don't mess with it.
624 2012-05-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
626 * configure.in: push gofffice requirement
628 2012-05-16 Morten Welinder <terra@gnome.org>
630 * src/sheet-style.c: New multiset implementation for style hash.
633 2012-05-15 Jean Brefort <jean.brefort@normalesup.org>
635 * src/gnm-so-filled.c (cb_gnm_so_filled_changed): allways use margins
636 to evaluate text position.
638 2012-05-14 Morten Welinder <terra@gnome.org>
640 * src/sheet-style.c (sheet_style_get_range, cell_tile_optimize)
641 (sample_styles, verify_styles): Use gnm_style_eq, not
642 gnm_style_equal. Fixes #675955 item 4.
644 * src/mstyle.c (gnm_style_eq): New function.
646 2012-05-14 Jean Brefort <jean.brefort@normalesup.org>
648 * src/selection.c (sv_selection_to_plot): when several ranges are selected,
649 use a header for all if at least one has a header. [#675913]
651 2012-05-11 Morten Welinder <terra@gnome.org>
653 * src/mstyle.c (gnm_style_update): Include font.script in hash.
654 Only use fields that are set.
656 2012-05-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
658 * src/gui-util.c (gnm_load_pango_attributes_into_buffer_filter):
660 (gnm_load_pango_attributes_into_buffer_named_filter): deleted
661 (gnm_create_std_tags_for_buffer): deleted
662 (gnm_load_pango_byte_to_char): deleted
663 (gnm_load_pango_attributes_into_buffer): use
664 go_load_pango_attributes_into_buffer
665 * src/gui-util.h (gnm_create_std_tags_for_buffer): delete
666 * src/sheet-control-gui.c (scg_comment_display): use
667 go_create_std_tags_for_buffer instead of gnm_create_std_tags_for_buffer
669 2012-05-11 Morten Welinder <terra@gnome.org>
671 * src/mstyle.c (gnm_style_update): Make hashing half-way decent.
672 Avoid clash between two styles where one is bold and the other is
674 (gnm_style_equal, gnm_style_equal_XL): Only compare style elements
675 that are set. However, if there are a difference in whether an
676 element is set, the styles are different.
678 2012-05-10 Morten Welinder <terra@gnome.org>
680 * src/workbook.c (workbook_dispose): Dispose of views early.
681 (This is desirable since the views hold the auto-expression value
682 which in turn may references sheets via validations in the
685 * src/validation.h (GnmValidation): Use GnmDependent, not raw
686 GnmExprTop, for storing expressions. All users changed.
688 * src/validation.c (validation_new): Add new "sheet" argument.
689 All callers changed. Hook up expressions as managed dependents.
692 * src/sheet-style.c (GnmSheetStyleData): Document the rules for
693 the style_hash member.
695 * src/mstyle.c (gnm_style_update): Don't use the validation's
696 address for the hash value -- use just whether it is NULL.
698 2012-05-02 Morten Welinder <terra@gnome.org>
700 * src/wbc-gtk.c (wbc_gtk_create_status_area): Get the
701 ViewStatusbar action from the right group. Fixes fullscreen
704 2012-05-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
706 * src/commands.c (cmd_insert_cols): check the columns not the rows
708 2012-04-30 Morten Welinder <terra@gnome.org>
710 * src/func.c (gnm_func_get_arg_description): Ignore initial
711 whitespace is description. (See bug 675000, comment 10.)
713 2012-04-21 Morten Welinder <terra@gnome.org>
715 * configure.in: Post-release bump.
717 2012-04-21 Morten Welinder <terra@gnome.org>
721 2012-04-18 Jean Brefort <jean.brefort@normalesup.org>
723 * src/selection.c (sv_selection_to_plot): never skip a required plot
726 2012-04-17 Morten Welinder <terra@gnome.org>
728 * src/wbc-gtk.c (cb_font_name_changed, cb_font_size_changed)
729 (cb_zoom_activated): Try working around gtk bug.
731 2012-04-06 Morten Welinder <terra@gnome.org>
733 * src/search.c (gnm_search_normalize): Function to normalize text
734 before search and search/replace.
735 (gnm_search_replace_comment, gnm_search_replace_cell)
736 (gnm_search_replace_value): Use gnm_search_normalize.
737 (gnm_search_replace_cell): Normalize the result to NFC. Fixes
740 2012-03-29 Morten Welinder <terra@gnome.org>
742 * src/sheet-style.c: Switch to g_slice by default.
744 * src/colrow.c (colrow_autofit): Mark as unit for recalc. (This
745 one hits for paste-to-large-area.)
747 * src/sheet.c (sheet_redraw_region): Revert to redrawing the whole
748 sheet if the region is too tall.
750 * src/sheet-control-gui.c (scg_redraw_range): Ditto.
752 2012-03-28 Morten Welinder <terra@gnome.org>
754 * src/sheet.c (sheet_redraw_all, sheet_redraw_region): Mark whole
755 thing as one computation. Jit-computation of rendered values
756 would otherwise discard caches between each cell.
758 2012-03-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
760 * src/expr.c (do_expr_as_string): use new convs->output.boolean
761 * src/parse-util.h (_GnmConventions): add output.boolean
762 * src/parse-util.c (gnm_conventions_new_full): initialize output.boolean
764 2012-03-26 Jean Brefort <jean.brefort@normalesup.org>
766 * src/sheet-object-image.c (sheet_object_image_set_image),
767 (gnm_soi_assign_to_sheet): register the image when importing from .xls.
768 Fixes #672716 item 3.
770 2012-03-25 Morten Welinder <terra@gnome.org>
772 * src/expr.c (gnm_expr_simplify_if): New function.
774 * src/rangefunc.c (gnm_range_covar_pop): Rename from
776 (gnm_range_covar_est): New function.
778 2012-03-23 Morten Welinder <terra@gnome.org>
780 * src/sheet-object-image.c (content_end): Simplify. Decode image
781 also if we don't have a name.
783 * src/sheet-object-widget.c
784 (sheet_widget_adjustment_prep_sax_parser): Set the right thing
785 when we see a "Page" attribute. Fixes #672716 item 2.
787 2012-03-18 Jean Brefort <jean.brefort@normalesup.org>
789 * src/graph.c (gnm_go_data_vector_eval),
790 (gnm_go_data_vector_finalize), (gnm_go_data_vector_get_value),
791 (cb_assign_string), (gnm_go_data_vector_get_str): fixed labels vectors
792 made of multiple ranges. [#672330]
794 2012-03-18 Jean Brefort <jean.brefort@normalesup.org>
796 * src/graph.c (gnm_go_data_vector_get_markup): don't access an array with
797 an index larger than the size.
799 2012-03-14 Morten Welinder <terra@gnome.org>
801 * src/cell.h (struct _GnmCell): remove row_info pointers. All
804 * src/sheet.c (sheet_cell_queue_respan): New function.
805 (cb_re_render_formulas, cb_clear_rendered_cells): Use
806 sheet_cell_queue_respan.
808 * src/dependent.c (gnm_cell_eval_content): Use
809 sheet_cell_queue_respan.
811 2012-03-13 Morten Welinder <terra@gnome.org>
813 * src/workbook.c (workbook_share_expressions): Add sharing debug
816 * src/expr.c (gnm_expr_sharer_report): New function.
818 2012-03-12 Morten Welinder <terra@gnome.org>
820 * src/expr.c (do_expr_as_string): Set a precedence for set.
822 * src/sheet-style.c (cb_style_extent, cb_is_default)
823 (cb_most_common): Fix handling of width and height.
825 2012-03-11 Jean Brefort <jean.brefort@normalesup.org>
827 * configure.in: needs goffice >= 0.9.3.
828 * src/sheet-object-component.c (gnm_soc_copy): rewritten.
830 2012-03-11 Morten Welinder <terra@gnome.org>
832 * src/print-info.c (print_info_get_paper_size): New function.
834 2012-03-11 Morten Welinder <mwelinder@gmail.com>
836 * test/GnumericTest.pm (test_importer): Survive non-compressed
839 2012-03-10 Morten Welinder <terra@gnome.org>
841 * src/sstest.c (test_random): Use more samples for normal tests to
842 reduce failure rates.
844 * src/xml-sax-write.c (xml_write_colrow_info): Don't write records
845 that match the default col/row style.
846 (gnm_xml_out_add_gocolor): Don't go through GdkRGBA which causes
849 * src/sheet-object-widget.h: Grand rename. Make GNM_IS_SOW
852 2012-03-10 Jean Brefort <jean.brefort@normalesup.org>
854 * src/sheet-object-image.c (gnm_soi_write_image): make it work again.
856 2012-03-09 Morten Welinder <terra@gnome.org>
858 * src/sheet-style.c (sheet_style_is_default)
859 (sheet_style_get_nondefault_extent): New function.
860 (sheet_style_has_visible_content, sheet_style_most_common_in_col): Delete.
861 (sheet_style_get_extent): Drop col_styles argument. All callers
864 2012-03-08 Morten Welinder <terra@gnome.org>
866 * src/expr-name.c (expr_name_set_pos): Make this work even without
869 * src/sheet-object-image.c (gnm_soi_new_view): Fix crash.
871 2012-03-08 Jean Brefort <jean.brefort@normalesup.org>
873 * src/sheet-object-widget.c (widget_wbc), (cb_selection_changed): fixed
874 crash with sheet object. [#671617]
876 2012-03-07 Morten Welinder <terra@gnome.org>
878 * plugins/excel/ms-excel-read.c (excel_read_LABEL): supply the
879 byte length to excel_read_LABEL_markup, not the character length.
881 2012-03-06 Morten Welinder <terra@gnome.org>
883 * src/application.c (install_icons): Move icon installation to
884 here. We need unknown_image even without the gui.
885 (gnm_app_class_init): Hook it up here.
887 * src/wbc-gtk.c: Move from here.
888 (wbc_gtk_class_init): Instead of here.
890 2012-03-02 Morten Welinder <terra@gnome.org>
892 * configure.in: Post-release bump.
894 2012-03-02 Morten Welinder <terra@gnome.org>
898 2012-03-02 Morten Welinder <terra@gnome.org>
900 * src/workbook.c (workbook_sheet_delete): Just queue
901 recalculation, don't perform it. Fixes #671192.
903 2012-02-23 Morten Welinder <terra@gnome.org>
905 * src/main-application.c (main): Explicitly discharge the splash.
906 Nowadays the component holds a ref to the command context so we
907 cannot rely on finalization to do this.
909 * src/io-context-gtk.c (gnm_io_context_gtk_set_transient_for): fix
910 reversed arguments to go_gtk_window_set_transient.
911 (icg_show_gui): Resurrect showing text in the progress bar.
913 2012-02-22 Morten Welinder <terra@gnome.org>
915 * src/io-context-gtk.c (icg_show_gui): Don't pass the splash
916 throught the icon manager for no good reason.
918 * src/io-context-gtk.h: Fix namespace issues.
920 2012-02-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
922 * src/commands.c (cmd_selection_clear): don't recalc on
923 pure comment deletion
925 2012-02-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
927 * src/workbook-view.c (wb_view_edit_line_set): use
928 gnm_cell_get_text_for_editing
930 2012-02-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
932 * src/cell.h (gnm_cell_get_text_for_editing): new
933 * src/cell.c (gnm_cell_get_text_for_editing): new, extracted
934 from wbcg_edit_start in src/wbc-gtk-edit.c
935 (close_to_int): new, moved here from src/wbc-gtk-edit.c
936 (guess_time_format): ditto
937 * src/commands.c (cmd_set_text_full_check_text): use
938 gnm_cell_get_text_for_editing
939 * src/wbc-gtk-edit.c (close_to_int): move to src/cell.c
940 (guess_time_format): ditto
941 (wbcg_edit_start): use gnm_cell_get_text_for_editing
943 2012-02-20 Jean Brefort <jean.brefort@normalesup.org>
945 * src/undo.c: rename GNMUndo* to GnmUndo*.
948 2012-02-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
950 * src/sstest.c (test_random_randnorm): new
951 (test_random): enable test_random_randnorm
952 (test_random_normality): new
953 (test_random): use sample size of 20000
954 * src/rangefunc.h (gnm_range_adtest): new
955 * src/rangefunc.c (gnm_range_adtest): new, extracted from
956 plugins/fn-stat/functions.c
958 2012-02-08 Jean Brefort <jean.brefort@normalesup.org>
960 * src/wbc-gtk-edit.c (wbcg_insert_object): don't destroy the object
961 before inserting it when another object is selected somewhere in the
964 2012-02-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
966 * src/sstest.c (test_random_randsnorm): new
967 (test_random): enable test_random_randsnorm
969 2012-02-03 Morten Welinder <terra@gnome.org>
971 * src/GNOME_Gnumeric-gtk.xml.in: Remove names of separators. They
974 * src/sstest.c (main): Add framework for testing random number
977 * src/wbc-gtk-actions.c (permanent_actions): Get rid of UndoLast
980 2012-02-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
982 * src/wbc-gtk-actions.c (permanent_actions): delete MenuInsertNames
984 2012-02-01 Morten Welinder <terra@gnome.org>
986 * src/GNOME_Gnumeric-gtk.xml.in: Restore DataShuffle which has
987 been MIA for at least 8 years. No idea if it works.
989 2012-01-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
991 * src/gui-util.c (gnumeric_create_tooltip_text_view_widget): new
992 (gnumeric_convert_to_tooltip): new
993 (gnumeric_create_tooltip): use gnumeric_convert_to_tooltip
994 * src/gui-util.h (gnumeric_create_tooltip_text_view_widget): new
995 (gnumeric_convert_to_tooltip): new
997 2012-01-15 Morten Welinder <terra@gnome.org>
999 * src/wbc-gtk.c: Switch to using a GtkBuilder ui.
1001 2012-01-11 Morten Welinder <terra@gnome.org>
1003 * src/wbc-gtk.c (wbc_gtk_init): No need for a GtkGrid when a vbox
1006 * src/commands.c (cmd_paste_copy_impl): Fix undo problem.
1009 2012-01-10 Morten Welinder <terra@gnome.org>
1011 * src/wbc-gtk.c (wbc_gtk_init): Switch from GtkTable to GtkGrid.
1013 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): Use
1014 gnm_object_get_bool.
1016 2012-01-09 Morten Welinder <terra@gnome.org>
1018 * src/wbc-gtk.c (wbc_gtk_init): No need to load the file history
1019 here. We will do that in wbc_gtk_new.
1020 (wbcg_get_screen): New function.
1021 (wbcg_get_gtk_settings, show_gui, wbcg_find_for_workbook): Use
1024 2012-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1026 * src/gui-util.c (gnm_store_text_tag_attr_in_pango): replace
1027 GdkColor with GdkRGBA with GTK 3.2 and later
1029 2012-01-08 Jean Brefort <jean.brefort@normalesup.org>
1031 * src/graph.c (gnm_go_data_vector_load_len): use
1032 GNM_EXPR_EVAL_ARRAY_CONTEXT, fixes #667237.
1034 2012-01-08 Morten Welinder <terra@gnome.org>
1036 * src/expr.c (gnm_expr_top_eval): When we see
1037 GNM_EXPR_EVAL_ARRAY_CONTEXT with no array position, fake it.
1039 * src/gnumeric.h (GnmExprEvalFlags): Introduce new
1040 GNM_EXPR_EVAL_ARRAY_CONTEXT flags.
1042 2012-01-08 Jean Brefort <jean.brefort@normalesup.org>
1044 * src/graph.c (gnm_go_data_vector_load_len): fix a wrong use of
1045 gnm_expr_is_rangeref. [related to #667237]
1047 2012-01-06 Morten Welinder <terra@gnome.org>
1049 * src/rendered-value.h (GnmRenderedRotatedValue): Storing six
1050 double when all we need is a bit is overkill.
1052 * src/cell-draw.c (cell_draw): Clean out old code.
1054 2012-01-05 Morten Welinder <terra@gnome.org>
1056 * src/workbook-view.c (wb_view_auto_expr_recalc): Restore
1059 2012-01-04 Morten Welinder <terra@gnome.org>
1061 * src/workbook-view.c: Change from "text" to "value" attribute and
1062 move formatting from here...
1063 * src/wbc-gtk.c: ...to here.
1065 2012-01-03 Morten Welinder <terra@gnome.org>
1067 * src/wbc-gtk.c (wbc_gtk_create_status_area): Add magic to ensure
1068 the auto-expression label doesn't grow, even if something else
1069 makes the status line grow taller. Fixes #667094.
1071 * src/cell-draw.c (cell_draw): Fix problems with underlines and
1072 rotated cells. [#667152]
1074 2012-01-01 Morten Welinder <terra@gnome.org>
1076 * src/workbook-view.h (WorkbookView): Rework to track a cell in a
1079 * src/dependent.c (dependent_managed_set_sheet): New function for
1080 this mildly complicated operation.
1082 2011-12-31 Morten Welinder <terra@gnome.org>
1084 * src/wbc-gtk.c (wbc_gtk_create_status_area): Beat the auto
1085 expression label into submission with respect to ellipsizing.
1087 * src/workbook-view.c (wb_view_auto_expr_recalc): No need for
1088 manual ellipsizing here.
1090 * src/workbook-view.h (WorkbookView): Move auto-expression
1091 settings into a sub-structure. All users changed.
1093 2011-12-30 Morten Welinder <terra@gnome.org>
1095 * src/workbook-view.c (wb_view_finalize): Merge contents into
1096 dispose and eliminate.
1097 (workbook_view_class_init): Properly manage auto-expr-sheet as an
1098 object, not a pointer.
1099 (wb_view_auto_expr_sheet): Keep an eye on the sheet and clear
1100 auto-expr-sheet if the sheet gets deleted.
1101 (wb_view_auto_expr_recalc): Handle the nothing-selected case
1104 2011-12-27 Morten Welinder <terra@gnome.org>
1106 * src/gutils.c (gnm_utf8_strto): Rename from gnm_strto and
1109 * src/sstest.c (test_nonascii_numbers): Test gnm_utf8_strto too.
1111 * src/gutils.c (gnm_utf8_strtol): Rename from gnm_strtol. Remove
1112 base argument. Implement independently of strtol.
1114 2011-12-27 Jean Brefort <jean.brefort@normalesup.org>
1116 * src/sheet-object-image.c (gnm_soi_assign_to_sheet): fix image life time.
1118 2011-12-25 Morten Welinder <terra@gnome.org>
1120 * src/gutils.c (map_nonascii_digits): Map signs too. Terminate
1121 search/translation no later than third sign.
1123 2011-12-23 Morten Welinder <terra@gnome.org>
1125 * src/gutils.c (gnm_strto): New function that handles non-ascii
1127 (gnm_strtol): Ditto.
1129 2011-12-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1131 * src/wbc-gtk-edit.c (wbcg_edit_start): adjust call to
1134 2011-12-16 Morten Welinder <terra@gnome.org>
1136 * src/gnm-plugin.c (plugin_service_ui_activate): Teach this about
1137 resources (and compressed xml).
1139 2011-12-01 Morten Welinder <terra@gnome.org>
1141 * src/Makefile.am: No need for gnm-rsm.[ch]
1143 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1145 * src/stf-parse.c (stf_parse_sheet): remove unused variable
1147 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1149 * dead-kittens.h: add G_VALUE_INIT
1151 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1153 * src/wbc-gtk.c (wbc_gtk_create_status_area): allocate space for spaces
1155 * src/workbook-view.c (wb_view_darken_foreground_attributes_cb): new
1156 (wb_view_darken_foreground_attributes): new
1157 (wb_view_auto_expr_recalc): call wb_view_darken_foreground_attributes
1158 and add spaces around "="
1160 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1162 * src/cmd-edit.c: adjust calls to sv_selection_add_full and
1163 sv_selection_add_pos throughout
1164 (sv_select_cur_inputs): fix leak
1165 * src/commands.c (cmd_colrow_hide_correct_selection): adjust
1166 calls to sv_selection_add_full
1167 * src/item-grid.c (item_grid_button_released): simplify selection,
1168 adjust call to sv_selection_add_pos
1169 * src/selection.c (sv_selection_add_pos): add argument
1170 (sv_selection_add_full): add argument
1171 (sv_selection_simplified_free): new
1172 (sv_selection_simplify): new
1173 (sv_selection_calc_simplification): new, use it throughout instead of
1174 accessing sv->selection directly
1175 (sheet_selection_set_internal): redraw headers if the selection mode
1177 (sv_selection_free): use g_slist_free_full
1178 * src/selection.h (GnmSelectionMode): new
1179 (sv_selection_add_pos): add argument
1180 (sv_selection_add_full): add argument
1181 (sv_selection_simplified_free): new
1182 (sv_selection_simplify): new
1183 * src/sheet-control-gui.c: adjust calls to sv_selection_add_full and
1184 sv_selection_add_pos throughout
1185 * src/sheet-view.c (sv_real_dispose): dispose of simplified selection
1186 (sheet_view_init): initialize selection fields
1187 * src/sheet-view.h: add fields
1188 * src/sheet.c (gnm_sheet_resize_main): adjust call to sv_selection_add_pos
1189 * src/test-pango.c (cb_exercise_pango): adjust call to sv_selection_add_full
1190 * src/workbook-view.c (wb_view_selection_desc): use selection_first_range
1191 rather than accessing the fields directly
1193 2011-11-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1195 * src/wbc-gtk.c (wbc_gtk_create_status_area): force auto expression
1196 background to white. Fixes #641198.
1198 2011-11-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1200 * src/item-edit.c (item_edit_draw): use the attr list attached as
1203 2011-11-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1205 * src/item-edit.c (gnm_apply_attribute_list_cb): new
1206 (gnm_apply_attribute_list): new
1207 (item_edit_draw): retrieve and apply range selection colour
1210 2011-11-27 Morten Welinder <terra@gnome.org>
1212 * src/gnm-pane.c (gnm_pane_rangesel_start)
1213 (gnm_pane_rangesel_stop): Fix warnings.
1215 2011-11-27 Morten Welinder <terra@gnome.org>
1217 * configure.in: Post-release bump.
1219 2011-11-27 Morten Welinder <terra@gnome.org>
1223 2011-11-27 Jean Brefort <jean.brefort@normalesup.org>
1225 * src/sheet-object-component.c (gnm_soc_get_target_list),
1226 (gnm_soc_write_image), (soc_cb_save_as), (soc_cb_save_as_image),
1227 (gnm_soc_populate_menu), (gnm_soc_write_object), (gnm_soc_copy),
1228 (gnm_soc_user_config): make component support as sheet object work.
1229 * src/wbc-gtk-actions.c: cleaned.
1231 2011-11-26 Jean Brefort <jean.brefort@normalesup.org>
1233 * src/item-cursor.c (item_cursor_enter_notify),
1234 (item_cursor_class_init): fixed expression range cursor behavior.
1237 2011-11-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1239 * src/gnm-pane.h (gnm_pane_expr_cursor_bound_set): change argument of
1240 gnm_pane_expr_cursor_bound_set
1241 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): change argument of
1242 gnm_pane_expr_cursor_bound_set, receive the colour to use.
1243 (gnm_pane_rangesel_stop): do not enable highlights
1244 (gnm_pane_rangesel_start): do not disable highlights
1246 2011-11-24 Morten Welinder <terra@gnome.org>
1248 * configure.in: Post-release bump.
1250 2011-11-24 Morten Welinder <terra@gnome.org>
1254 2011-11-24 Jean Brefort <jean.brefort@normalesup.org>
1256 * src/item-edit.c (item_edit_draw): preserve cairo state. [#664692]
1258 2011-11-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1260 * src/style.h: fix definition of GNM_ALIGN_H_TYPE and GNM_ALIGN_V_TYPE
1262 2011-11-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1264 * src/cell-draw.c: rename enums
1265 * src/cellspan.c: rename enums
1266 * src/commands.c: rename enums
1267 * src/item-edit.c: rename enums
1268 * src/mstyle.c: rename enums
1269 * src/rendered-value.c: rename enums
1270 * src/style.c: rename enums
1271 * src/style.h: rename enums
1272 * src/validation.c: rename enums
1273 * src/validation.h: rename enums
1274 * src/wbc-gtk-actions.c: rename enums
1275 * src/wbc-gtk-edit.c: rename enums
1276 * src/wbc-gtk.c: rename enums
1277 * src/workbook-cmd-format.c: rename enums
1278 * src/workbook-view.c: rename enums
1279 * src/xml-sax-read.c: rename enums
1280 * src/xml-sax-write.c: rename enums
1282 2011-11-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1284 * src/style.c (gnm_align_h_get_type): new
1285 (gnm_align_v_get_type): new
1286 * src/style.h (gnm_align_h_get_type): new
1287 (gnm_align_v_get_type): new
1288 * src/validation.c (gnm_validation_type_get_type): new
1289 (gnm_validation_style_get_type): new
1290 (gnm_validation_op_get_type): new
1291 * src/validation.h (gnm_validation_type_get_type): new
1292 (gnm_validation_style_get_type): new
1293 (gnm_validation_op_get_type): new
1294 * src/xml-sax-read.c (xml_sax_style_start): use xml_sax_attr_enum
1295 (xml_sax_validation): ditto
1296 * src/xml-sax-write.c (xml_write_attribute): change argument
1297 type, rename to xml_write_boolean_attribute and adjust all callers
1298 (xml_write_style): use gsf_xml_out_add_enum
1300 2011-11-22 Morten Welinder <terra@gnome.org>
1302 * src/print.c (gnm_print_range_get_type): Rename enums to match
1305 2011-11-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1307 * src/print.c (compute_scale_fit_to): remove unsued variables
1308 (compute_pages): remove arguments and chnge all callers
1309 (gnm_begin_print_cb): just write the settings
1311 2011-11-21 Morten Welinder <terra@gnome.org>
1313 * src/print.c (gnm_print_sheet): Call gnm_end_print_cb in response
1315 (gnm_end_print_cb): Ensure this can be called multiple times.
1318 2011-11-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1320 * src/print.c (gnm_end_print_cb): do not free the printing instance
1321 (gnm_print_sheet): but free it here
1323 2011-11-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1325 * src/print.c (gnm_print_range_get_type): new
1326 * src/print.h (gnm_print_range_get_type): new
1327 * src/xml-sax-read.c (xml_sax_print_print_range): use
1329 * src/xml-sax-write.c (xml_write_print_info): use gsf_xml_out_add_enum
1331 2011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1333 * src/print-info.h (gnm_print_comment_placement_get_type): new
1334 (gnm_print_errors_get_type): new
1335 (GnmPrintCommentPlacementType): new
1336 (GnmPrintErrorsType): new
1337 (_PrintInformation): use the above
1338 * src/print-cell.c (print_cell_gtk): rename print-error and comment-
1340 * src/print-info.c (gnm_print_comment_placement_get_type): new
1341 (gnm_print_errors_get_type): new
1342 (print_info_new): rename print-error and comment-placement constants
1343 * src/xml-sax-read.c (xml_sax_print_comments_start): new
1344 (xml_sax_print_comments): rename to xml_sax_print_comments_end, change
1345 all callers; rename comment-placement constants
1346 (xml_sax_print_errors_start): new
1347 (xml_sax_print_errors): rename to xml_sax_print_errors_end, change
1348 all callers; rename print-error constants
1349 (xml_cellregion_read): remove unused variable
1350 * src/xml-sax-write.c (xml_write_print_info): use gsf_xml_out_add_enum
1352 2011-11-20 Jean Brefort <jean.brefort@normalesup.org>
1354 * src/gui-clipboard.c (object_write), (x_clipboard_get_cb): add support for
1356 * src/sheet-object-component.c (so_component_view_set_bounds),
1357 (gnm_soc_get_object_target_list), (gnm_soc_write_object),
1358 (gnm_soc_copy), (component_changed_cb), (destroy_cb),
1359 (gnm_soc_user_config), (sheet_object_component_set_component): make edition,
1360 clipboard and undo/redo work.
1361 * src/sheet-object-component.h: ditto.
1362 * src/sheet-object.h: typo.
1364 2011-11-18 Jean Brefort <jean.brefort@normalesup.org>
1366 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fixed paths.
1368 * schemas/org.gnome.gnumeric.gschema.xml.in.in: ditto.
1369 * schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in: ditto.
1371 2011-11-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1373 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fix descriptions
1374 * schemas/org.gnome.gnumeric.gschema.xml.in.in: fix descriptions
1375 * src/gnumeric-conf.c: update
1377 2011-11-11 Morten Welinder <terra@gnome.org>
1379 * schemas/org.gnome.gnumeric.gschema.xml.in.in: Fix the '>' here.
1381 2011-11-11 Jean Brefort <jean.brefort@normalesup.org>
1383 * src/gnumeric-conf.c: removed an extra '>' in key descrption, [see #663809]
1384 * src/item-bar.c (item_bar_draw_region): add missing tick. [#663802]
1386 2011-11-10 Jean Brefort <jean.brefort@normalesup.org>
1388 * src/item-bar.c (item_bar_draw_region): fixed rendering of outline
1391 2011-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1393 * schemas/org.gnome.gnumeric.gschema.xml.in.in
1394 (autocomplete-min-chars): new item
1395 * src/complete-sheet.c (complete_sheet_search_iteration): use
1396 gnm_conf_get_core_gui_editing_autocomplete_min_chars
1397 * src/gnumeric-conf.h
1398 (gnm_conf_get_core_gui_editing_autocomplete_min_chars_node): new
1399 (gnm_conf_get_core_gui_editing_autocomplete_min_chars): new
1400 (gnm_conf_set_core_gui_editing_autocomplete_min_chars): new
1401 * src/gnumeric-conf.c
1402 (gnm_conf_get_core_gui_editing_autocomplete_min_chars_node): new
1403 (gnm_conf_get_core_gui_editing_autocomplete_min_chars): new
1404 (gnm_conf_set_core_gui_editing_autocomplete_min_chars): new
1405 (watch_core_gui_editing_autocomplete_min_chars): new
1407 2011-11-09 Morten Welinder <terra@gnome.org>
1409 * src/wbc-gtk.c (wbc_gtk_close): Avoid FMR.
1411 2011-11-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1413 * src/sheet-object-graph.c (sheet_object_graph_guru): fix warning
1415 2011-11-06 Jean Brefort <jean.brefort@normalesup.org>
1417 * src/item-bar.c (item_bar_draw_region): fix crash.
1419 2011-11-06 Marek Černocký <marek@manet.cz>
1421 * src/sheet-object-graph.c (sheet_object_graph_guru): add context to
1423 * src/sheet.c (gnm_sheet_class_init): add context to Columns and Rows
1425 2011-11-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1427 * src/print-info.c (pdf_export): export graphs with a tight
1428 bounding box if requested
1429 (cb_set_pdf_option): store paper=fit option
1431 2011-11-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1433 * src/wbc-gtk.c (cb_auto_expr_cell_changed): new
1434 (cb_auto_expr_changed): set new auto-expr properties
1435 (cb_select_auto_expr): create new auto-expression menu item
1436 * src/workbook-view.c (wb_view_auto_expr_recalc): handle possible
1438 (wb_view_auto_expr_cell): new
1439 (wb_view_auto_expr_sheet): new
1440 (wb_view_set_property): handle new properties
1441 (wb_view_get_property): handle new properties
1442 (workbook_view_class_init): install new properties
1443 * src/workbook-view.h (_WorkbookView): add new fields
1445 2011-11-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1447 * src/workbook-view.c (wb_view_auto_expr_attrs): ref -> unref
1449 2011-11-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1451 * src/print-info.c (print_info_get_page_setup): do not return a ref
1452 * src/print.c (gnm_print_sheet): do not unref page-setup
1453 (gnm_print_so): ditto
1455 2011-11-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1457 * src/print-info.c (pdf_write_workbook): madify arguments
1458 (cb_free_sheets): deleted
1460 (cb_set_pdf_option): use g_ptr_array_unref and support 'object' option
1461 (print_init): use pdf_export instead of pdf_write_workbook
1462 * src/print.h (gnm_print_so): modify arguments
1463 * src/print.c (gnm_print_so): modify arguments and support output to gsf
1464 * src/sheet-object.c (cb_so_print): adjust for modified arguments to
1466 * src/ssconvert.c (convert): do not unref wb twice on error
1468 2011-11-03 Morten Welinder <terra@gnome.org>
1470 * src/print-info.c (print_info_load_defaults): Plug leak.
1472 * src/graph.c (gnm_go_data_vector_get_markup): Maintain a ref to
1475 2011-11-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1477 * src/mstyle.c (gnm_style_set_from_pango_attribute): handle super- and
1479 * src/wbc-gtk.c (wbc_gtk_style_feedback_real): reset sub-/superscript action
1481 2011-11-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1483 * component/Gnumeric-embed.xml.in: add Format->Text menu
1484 * src/GNOME_Gnumeric-gtk.xml.in: add Format->Text menu
1485 * src/wbc-gtk-actions.c (permanent_actions): add submenus
1486 (font_toggle_actions): fix duplicate menu accel
1488 2011-11-02 Jean Brefort <jean.brefort@normalesup.org>
1490 * src/graph.c (gnm_go_data_vector_eval): erase markup list when changed.
1493 2011-10-31 Jean Brefort <jean.brefort@normalesup.org>
1495 * src/sheet-object-image.c (gnm_soi_write_image), (soi_cb_save_as): don't
1496 crash when the image type is unknown.
1498 2011-10-29 Jean Brefort <jean.brefort@normalesup.org>
1500 * component/gnumeric.c (go_gnm_component_init): fixed build.
1501 * src/sheet-object-image.c (gnm_soi_get_target_list),
1502 (soi_cb_save_as): avoid a crash with unknown file types.
1504 2011-10-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1506 * src/mstyle.c (gnm_style_get_pango_height): check for
1507 possible superscripts in the value formatting
1509 2011-10-28 Morten Welinder <terra@gnome.org>
1511 * src/gnumeric-conf.c: Rename from src/gnumeric-gconf.c
1513 2011-10-28 Jean Brefort <jean.brefort@normalesup.org>
1515 * src/sheet-object-image.c (sheet_object_image_set_image),
1516 (gnm_soi_get_target_list), (content_end), (gnm_soi_draw_cairo): minor
1517 GOImage related tweaks.
1519 2011-10-27 Jean Brefort <jean.brefort@normalesup.org>
1521 * src/libgnumeric.c (gnm_init): fixed SVG images size. [#628472]
1522 * src/sheet-object-image.c (gnm_soi_get_target_list),
1523 (gnm_soi_default_size): ditto.
1525 2011-10-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1527 * src/item-edit.c (item_edit_update_bounds): translate sub/superscript
1530 2011-10-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1532 * src/mstyle.c (gnm_style_get_pango_attrs): add args to call of
1534 * src/wbc-gtk-actions.c (toggle_font_attr): use subscript/superscript
1537 2011-10-27 Jean Brefort <jean.brefort@normalesup.org>
1539 * src/sheet-object-image.c (sheet_object_image_set_image),
1540 (gnm_soi_finalize), (gnm_soi_new_view), (content_end),
1541 (gnm_soi_draw_cairo): add true support for SVG images.
1543 2011-10-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1545 * src/mstyle.c (gnm_style_get_pango_attrs): use new go-pango
1548 2011-10-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1550 * src/rendered-value.c (gnm_rendered_value_new): call
1551 go_pango_translate_layout
1552 * src/workbook-view.c (wb_view_auto_expr_recalc): call
1553 go_pango_translate_layout
1555 2011-10-26 Morten Welinder <terra@gnome.org>
1557 * schemas/gnumeric-general.schemas.in,
1558 schemas/org.gnome.gnumeric.gschema.xml.in.in: Rename keys for
1561 * schemas/org.gnome.gnumeric.gschema.xml.in.in: Fix default for
1562 long-format-toolbar's visibility.
1564 2011-10-26 Jean Brefort <jean.brefort@normalesup.org>
1566 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): make things build again
1567 after goffice changes.
1568 * src/sheet-object-image.c (gnm_soi_draw_cairo): ditto.
1570 2011-10-25 Jean Brefort <jean.brefort@normalesup.org>
1572 * configure.in: cleaned dead-kittens.h.
1573 * src/dead-kittens.h: ditto.
1574 * src/gui-util.c (gnm_canvas_get_position): ditto.
1575 * src/style.c (gnm_pango_context_get): ditto.
1577 2011-10-25 Jean Brefort <jean.brefort@normalesup.org>
1579 * src/sheet-object-image.c (so_image_view_set_bounds): fixed after
1582 2011-10-24 Morten Welinder <terra@gnome.org>
1584 * src/position.h (eval_pos_is_array_context): New macro so we can
1585 easier tell who is using the actual context information.
1587 * src/libgnumeric.c (gnm_init): Don't bother initializing
1590 2011-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1592 * src/rendered-value.c (rv_adjust_filter): use zoom rather than scale
1593 (rv_adjust_attributes): delete debug spew and add argument
1594 (gnm_rendered_value_new): adjust call to rv_adjust_attributes
1596 2011-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1598 * src/mstyle.c (gnm_style_get_pango_attrs): adjust the pango
1599 attributes for subscript/superscripts in the case of zoom
1600 * src/rendered-value.c (rv_adjust_filter): new
1601 (rv_adjust_attributes): new
1602 (gnm_rendered_value_new): adjust the pango attributes before
1603 rendering to account for font size and zoom
1605 2011-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1607 * src/mstyle.c (gnm_style_get_pango_attrs): use new goffice
1608 defines for super/subscripts
1609 * src/wbc-gtk-actions.c (toggle_font_attr): ditto
1611 2011-10-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1613 * schemas/org.gnome.gnumeric.gschema.xml.in.in: updated
1615 2011-10-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1617 * schemas/gnumeric-general.schemas.in: add
1618 /apps/gnumeric/core/gui/cells/function_markers and
1619 /apps/gnumeric/core/gui/cells/extension_markers
1620 * src/gnumeric-gconf.c: update schema generated code
1621 * src/gnumeric-gconf.h: update schema generated code
1622 * src/workbook-view.c (workbook_view_new): initialize from
1625 2011-10-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1627 * src/cell-draw.h (cell_draw): add argument
1628 * src/cell-draw.c (cell_draw_extension_mark_bottom): new
1629 (cell_draw_extension_mark_left): new
1630 (cell_draw_extension_mark_right): new
1631 (cell_draw_h_extension_markers): new
1632 (cell_draw_v_extension_markers): new
1633 (cell_draw): add argument and call the above
1634 * src/item-grid.c (item_grid_draw_merged_range): adjust call to
1636 (item_grid_draw_region): ditto
1637 * src/preview-grid.c (preview_grid_draw_region): adjust call to
1639 * src/workbook-view.h (_WorkbookView): add field
1640 * src/workbook-view.c (wb_view_set_attribute): handle new
1642 (wb_view_set_property): ditto
1643 (wb_view_set_attribute): ditto
1644 (workbook_view_class_init): install new property
1645 (workbook_view_new): initialize new property
1647 2011-10-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1649 * src/cell-draw.c (cell_draw): fix rounding of h_center
1652 2011-10-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1654 * src/cell-draw.c (cell_draw): also transform h_center if given
1656 2011-10-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1658 * src/cellspan.c (cell_calc_span): we need to stop extending in
1659 a direction on the first failure in that direction
1661 2011-10-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1663 * src/print.c (gnm_paginate_cb): set the total number of pages
1664 to be set before using gtk_print_operation_preview_is_selected
1666 2011-10-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1668 * src/print.c (PrintingInstance): new field
1669 (gnm_paginate_cb): check for too many previewed pages
1670 (gnm_ready_preview_cb): new
1671 (gnm_begin_print_cb): adjust progress text for preview vs. print
1672 (gnm_draw_page_cb): ditto
1673 (gnm_print_sheet): set new field of PrintingInstance and connect
1674 gnm_ready_preview_cb
1676 2011-10-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1678 * src/print.c (gnm_draw_page_cb): disconnect handler after cancelling
1680 2011-10-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1682 * src/print.c (PrintingInstance): add fields
1683 (printing_instance_new): initialize new fields
1684 (printing_instance_delete): destroy progress report
1685 (cb_progress_response): new
1686 (cb_progress_delete): new
1687 (gnm_begin_print_cb): create progress dialog
1688 (gnm_draw_page_cb): update progress dialog
1689 (gnm_print_sheet): tell gtk not to create their buggy
1692 2011-10-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1694 * src/print.c (gnm_print_sheet): avoid double free
1696 2011-10-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1698 * src/print.c (Printing Instance) remove field
1699 (SheetPrintInfo): added fields
1700 (sheet_print_info_free): new
1701 (printing_instance_delete): use sheet_print_info_free
1702 (paginate): change paginationInfo argument to GArray
1703 (compute_sheet_pages_add_sheet): initialize new fields
1704 (compute_sheet_pages_add_range): deleted
1705 (compute_sheet_pages_down_then_across): deleted
1706 (compute_sheet_pages_across_then_down): deleted
1707 (print_get_sheet): new
1708 (print_get_sheet_page_range): new
1709 (compute_sheet_pages): use GArray
1710 (gnm_paginate_cb): use gnmSheets instead of gnmSheetRanges
1711 (gnm_request_page_setup_cb): call print_get_sheet instead of using
1713 (gnm_draw_page_cb): call print_get_sheet_page_range instead of using
1716 2011-10-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1718 * src/sheet.c (sheet_get_extent): fix this for the case that we have
1719 content only in the bottom right 4 cells [#661958]
1721 2011-10-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1723 * src/undo.c (gnm_undo_filter_set_condition_undo): fix error in
1724 label text, split label creation and add translator comments
1725 * src/item-bar.c (colrow_tip_setlabel): create label attempting to
1726 provide correct plurals and add translator comments
1728 2011-09-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1730 * src/collect.c (collect_float_pairs): check whetehr these are
1733 2011-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1735 * src/print.c (gnm_print_so): enable pagesetup combos
1737 2011-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1739 * src/print.c (gnm_draw_so_page_cb): new
1740 (gnm_print_so): implement
1741 * src/sheet-object.c (sheet_object_populate_menu_real): enable print item
1743 2011-09-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1745 * src/gnm-pane.c (cb_so_menu_activate): delete
1746 (build_so_menu): delete
1747 (gnm_pane_display_object_menu): use sheet_object_build_menu instead of
1749 * src/print.c (gnm_print_so): new stub
1750 * src/print.h (gnm_print_so): new
1751 * src/sheet-object-impl.h (SheetObjectAction): add field
1752 * src/sheet-object.c (build_so_menu): rename to sheet_object_build_menu
1754 (sheet_object_can_prop): new
1755 (sheet_object_populate_menu_real): use enabler/disabler
1756 (sheet_object_populate_menu): do not recurse infinitely
1757 (cb_so_menu_activate): combine with the function of same name from src/gnm-pane.c
1758 (sheet_object_view_button_pressed): use sheet_object_build_menu instead of
1760 * src/sheet-object.h (sheet_object_build_menu): new
1762 2011-09-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1764 * src/stf-parse.c (stf_parse_options_csv_set_stringindicator): allow \0
1766 (stf_parse_options_valid): ditto
1767 (stf_parse_csv_cell): ditto
1769 2011-09-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1771 * src/gui-clipboard.c (target_list_to_entries): deleted and
1772 replace all calls with gtk_target_table_new_from_list
1773 (gnm_x_claim_clipboard): free the targets using gtk_target_table_free
1775 2011-09-27 Jean Brefort <jean.brefort@normalesup.org>
1777 * src/gnm-graph-window.c (gnm_graph_window_set_graph): make the graph
1780 2011-09-26 Morten Welinder <terra@gnome.org>
1782 * src/workbook-view.c (wb_view_auto_expr_recalc): Don't show
1783 "Internal ERROR!" when we encounter an invalid date value.
1785 * src/gnm-format.c (hash_fill): Handle NULL str without crash.
1787 * src/wbc-gtk-actions.c (cb_add_component_from_file): #if 0.
1789 * src/main-application.c (call_gnome_authentication_manager_init):
1791 (gnumeric_arg_parse): Don't call
1792 call_gnome_authentication_manager_init.
1794 2011-09-26 Jean Brefort <jean.brefort@normalesup.org>
1796 * src/sheet-object-widget.c (sheet_widget_frame_create_widget): make
1797 frames accept events.
1799 2011-09-25 Jean Brefort <jean.brefort@normalesup.org>
1801 * src/sheet-object-widget.c (so_widget_view_get_window),
1802 (so_widget_view_class_init): fixed sheet widgets stacking order.
1804 2011-09-24 Jean Brefort <jean.brefort@normalesup.org>
1806 * src/wbc-gtk.c (show_gui): make the windows shrink again. [#659246]
1808 2011-09-19 Morten Welinder <terra@gnome.org>
1810 * src/main-application.c (main): Fix handling of command context,
1813 2011-09-13 Morten Welinder <terra@gnome.org>
1815 * src/number-match.c (format_match_datetime): Make sure
1816 time_format doesn't get freed underneath us. See #658982.
1818 2011-09-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1820 * src/stf.c (stf_open_and_read): do not check for NUL here
1821 (clear_stray_NULs): new
1822 (stf_read_workbook_auto_csvtab): adjust call to go_guess_encoding and
1823 call clear_stray_NULs
1824 (csv_tsv_probe): adjust call to go_guess_encoding
1826 2011-09-08 Morten Welinder <terra@gnome.org>
1828 * configure.in: Switch to AM_MAINTAINER_MODE([enable]).
1830 2011-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1832 * src/wbc-gtk.c (cb_graph_dim_editor_update): don't create an infinite
1833 signal recursion by using start_sel=FALSE in gnm_expr_entry_parse call.
1835 2011-09-05 Morten Welinder <terra@gnome.org>
1837 * src/collect.c (collect_float_pairs): Set return variables even
1838 in the no-data case. Fixes #658140.
1840 2011-09-04 Jean Brefort <jean.brefort@normalesup.org>
1842 * src/sheet-object-widget.c (widget_wbc): fixed after goffice change.
1844 2011-08-29 Jean Brefort <jean.brefort@normalesup.org>
1846 * src/graph.c (gnm_go_data_scalar_get_str): fix a critical.
1847 * src/wbc-gtk.c (wbc_gtk_set_toggle_action_state): one more.
1849 2011-08-28 Jean Brefort <jean.brefort@normalesup.org>
1851 * src/graph.c (gnm_go_data_scalar_get_str): format the string.
1853 2011-08-22 Jean Brefort <jean.brefort@normalesup.org>
1855 * src/sheet-object-widget.c (sheet_widget_combo_create_widget): fixed combo
1858 2011-08-21 Jean Brefort <jean.brefort@normalesup.org>
1860 * src/sheet-control-gui.c (sheet_object_key_pressed): missing spaces.
1861 * src/wbc-gtk-actions.c: fix actions sensitivity for chart sheets. [#645842]
1862 * src/wbc-gtk-impl.h: ditto.
1863 * src/wbc-gtk.c (wbc_gtk_set_action_sensitivity),
1864 (wbc_gtk_set_action_label), (wbcg_update_action_sensitivity),
1865 (create_undo_redo), (wbc_gtk_finalize), (wbc_gtk_init): ditto.
1867 2011-08-20 Jean Brefort <jean.brefort@normalesup.org>
1869 * src/sheet.c (cb_max_cell_height): fix row height autofit when zoom
1870 level is not 1. [#656418]
1872 2011-08-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1874 * src/workbook-view.c (wb_view_auto_expr_recalc): chaeck for NULL
1877 2011-08-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1879 * src/consolidate.c: add argument to tools engine
1880 * src/consolidate.h: add argument to tools engine
1881 * src/commands.c (cmd_analysis_tool_*): adjust calls to tools engine
1883 2011-08-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1885 * src/rendered-value.h (_GnmRenderedValue): re-add color field
1886 * src/rendered-value.c (gnm_rendered_value_new): store style color
1888 (colour_selector_cb): deleted
1889 (colour_from_layout): deleted
1890 (gnm_rendered_value_get_color): just return color field value
1892 2011-08-11 Jean Brefort <jean.brefort@normalesup.org>
1894 * src/sheet-control-gui.c (sheet_object_key_pressed),
1895 (sheet_control_gui_new), (scg_take_focus): make Ctrl-PgUp and Ctrl-PgDn
1896 work on chart-only sheets. [#645673]
1898 2011-08-07 Jean Brefort <jean.brefort@normalesup.org>
1900 * src/graph.c (gnm_go_data_scalar_get_markup): don't leak a format and
1901 don't retrieve a markup from an non markup format.
1903 2011-08-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1905 * src/wbc-gtk.c (wbc_gtk_create_status_area): enable showing of
1906 text in progress bar; temporarily disable tab pane magic to avoid
1907 increasing window size on sheet addition.
1909 2011-08-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1911 * src/wbc-gtk.c (edit_area_button_menu): make sure everything is
1912 initially insensitive
1914 2011-08-05 Jean Brefort <jean.brefort@normalesup.org>
1916 * src/graph.c (gnm_go_data_vector_finalize), (cb_assign_markup),
1917 (gnm_go_data_vector_get_markup), (gnm_go_data_vector_class_init):
1918 implement markup for vectors.
1920 2011-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1922 * src/wbc-gtk.c (cb_accept_input_menu): check that we are editing
1924 2011-08-04 Jean Brefort <jean.brefort@normalesup.org>
1926 * src/graph.c (gnm_go_data_scalar_get_markup),
1927 (gnm_go_data_scalar_class_init): implement rich text in scalar data.
1929 2011-08-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1931 * src/commands.c (cmd_set_comment_apply): enable aprpopriate actions
1932 (cmd_hyperlink_undo): ditto
1933 (cmd_hyperlink_redo): ditto
1935 2011-08-03 Jean Brefort <jean.brefort@normalesup.org>
1937 * component/gnumeric.c: update component.
1938 * src/GNOME_Gnumeric-gtk.xml.in: add component support in sheets.
1939 * src/Makefile.am: ditto.
1940 * src/commands.c: ditto.
1941 * src/gnm-pane.c: ditto.
1942 * src/libgnumeric.c: ditto.
1943 * src/main-application.c: ditto.
1944 * src/sheet-control-gui.c: ditto.
1945 * src/sheet-object.c: ditto.
1946 * src/sheet-object.h: ditto.
1947 * src/sheet-object-component.c: ditto.
1948 * src/sheet-object-component.h: ditto.
1949 * src/wbc-gtk-actions.c: ditto.
1950 * src/wbc-gtk.c: ditto.
1951 * src/xml-sax-read.c: ditto.
1953 2011-08-03 Jean Brefort <jean.brefort@normalesup.org>
1955 * src/wbc-gtk.c (cb_add_menus_toolbars): set the "hexpand" property to
1956 TRUE for toolbars. [#655858]
1958 2011-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1960 * src/wbc-gtk.c (cb_add_menus_toolbars): the box is now a GtkHandleBox
1962 2011-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1964 * src/wbc-gtk.c (wbcg_gnm_cmd_context_init): adjust for changes in
1966 * src/io-context-gtk.c (icg_gnm_cmd_context_init): ditto
1968 2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1970 * component/Gnumeric-embed.xml.in: add data import/export menu items
1971 * src/GNOME_Gnumeric-gtk.xml.in: ditto
1972 * src/HILDON_Gnumeric-gtk.xml.in: ditto
1973 * src/application.c (gnm_app_create_opener_filter): distinguish between
1974 file history and file-open/import
1975 (gnm_app_history_get_list): adjust call to gnm_app_create_opener_filter
1976 * src/application.h (gnm_app_create_opener_filter): add argument
1977 * src/gui-file.c (gui_file_open): distinguish between "open" and "import"
1978 (gui_file_save_as): distinguish between "save as" and "export"
1979 * src/gui-file.h (gui_file_open): add argument
1980 (gui_file_save_as): add argument
1981 * src/stf.c (stf_read_workbook): set save info
1982 (stf_read_workbook_auto_csvtab): ditto
1983 (stf_init): separate mime types
1984 * src/wbc-gtk-actions.c (cb_file_open): adjust call to gui_file_open
1985 (cb_data_import_text): ditto
1986 (cb_data_import_other): new
1987 (cb_data_export): new
1988 (cb_data_export_text): new
1989 (cb_data_export_csv): new
1990 (cb_file_save_as): adjust call to gui_file_save_as
1991 (actions): connect the above new actions
1992 * src/wbc-gtk-impl.h (_WBCGtk): delete duplicate field
1993 * src/wbc-gtk.c (wbc_gtk_init): and do not initialize it
1994 * src/workbook-priv.h (_Workbook): new field
1995 * src/workbook.c (workbook_get_file_exporter): new
1996 (workbook_dispose): finalize file_saver and file_exporter
1997 (workbook_set_saveinfo): handle a wider range of savers
1998 * src/workbook.h (workbook_get_file_exporter): new
2000 2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2002 * configure.in: Disable GTK depreciation check
2003 * src/cell-draw.c (cell_calc_layout): use gnm_rendered_value_get_color
2004 * src/cell.c (gnm_cell_get_render_color): ditto
2005 * src/gnm-format.c (gnm_format_layout): drop argument and change all
2007 (format_value_gstring): ditto
2008 (format_value): ditto
2009 (format_value_layout): new
2010 * src/gnm-format.h (gnm_format_layout): drop argument and change all
2012 (format_value_gstring): ditto
2013 (format_value): ditto
2014 (format_value_layout): new
2015 * src/rendered-value.c (gnm_rendered_value_new): include foreground
2016 color in attributes list
2017 (colour_selector_cb): new
2018 (colour_from_layout): new
2019 * src/widgets/gnm-format-sel.c (cb_generate_preview): use attributes
2020 * src/workbook-view.c (wb_view_auto_expr_recalc): use
2023 2011-08-01 Jean Brefort <jean.brefort@normalesup.org>
2025 * all: make things build against gtk+-3.0.
2027 2011-07-31 Morten Welinder <terra@gnome.org>
2029 * configure.in: Post-release bump.
2031 2011-07-31 Morten Welinder <terra@gnome.org>
2035 2011-07-31 Jean Brefort <jean.brefort@normalesup.org>
2037 * src/pattern.c (gnumeric_background_set): always change selection
2038 background color. [#648676]
2040 2011-07-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2042 * component/gnumeric.c (go_gnm_component_render): fix call to
2043 gnm_gtk_print_cell_range
2045 2011-07-30 Morten Welinder <terra@gnome.org>
2047 * src/parser.y (yylex): Fix parsing crash. [Redhat #726860]
2049 2011-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2051 * src/print-cell.c (print_cell_gtk): implement printing of errors as
2054 2011-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2056 * src/print-cell.c (print_cell_gtk): be sure that the value is
2059 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2061 * src/xml-sax-read.c (xml_sax_print_comments): new
2062 (xml_sax_print_errors): new
2063 (gnumeric_1_0_dtd): connect the above
2064 * src/xml-sax-write.c (xml_write_print_info): write comment placement
2067 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2069 * src/print.c (compute_sheet_pages): account for column width change
2070 when formulae are shown.
2072 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2074 * src/style-border.c (gnm_style_borders_row_print_gtk): account for
2075 column width change when formulae are shown.
2077 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2079 * src/print.c (print_page_col_headers): adjust for column widths when
2082 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2084 * src/print-cell.c (print_cell_gtk): only replace errors by blanks if the
2085 error wopuld in fact be shown, i.e. not if it is the result of a formula
2086 and formulae are shown.
2088 2011-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2090 * src/print-cell.h (gnm_gtk_print_cell_range): change argument type
2091 * src/print-cell.c (gnm_gtk_print_cell_range): change argument type
2092 (print_cell_gtk): consider print-info and possibly print errors as blank
2093 (print_merged_range_gtk): ditto
2094 * src/print.c (print_page_cells): adjust call of gnm_gtk_print_cell_range
2096 2011-07-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2098 * src/collect.h (collect_float_pairs): add argument
2099 * src/collect.c (pairs_floats_cache_entry_free): new
2100 (pairs_floats_cache_entry_hash): new
2101 (pairs_floats_cache_entry_equal): new
2102 (clear_caches): handle pairs_floats_cache
2103 (create_caches): ditto
2104 (prune_caches): ditto
2105 (get_pairs_floats_cache_entry): ditto
2106 (get_or_fake_pairs_cache_entry): ditto
2107 (get_single_cache_key_from_value): new
2108 (get_single_cache_key): use get_single_cache_key_from_value
2109 (collect_floats): no need to initialize cl if we don't use it
2110 (collect_float_pairs_ce): new
2111 (collect_float_pairs): use cache and collect_float_pairs_ce
2113 2011-07-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2115 * gnumeric.xsd: update
2117 2011-07-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2119 * src/commands.c (cmd_insert_cols): use sheet_range_trim rather
2120 than sheet_get_extent (this will always be faster).
2121 (cmd_insert_rows): ditto
2123 2011-07-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2125 * src/gui-clipboard.c (x_clipboard_get_cb): provide undo of cut.
2127 2011-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2129 * src/style-conditions.c (gnm_style_conditions_eval): != IS_LESS is
2130 not the same as == IS_EQUAL || == IS_GREATER
2132 2011-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2134 * src/style-conditions.c (gnm_style_conditions_delete): new
2135 * src/style-conditions.h (gnm_style_conditions_delete): new
2137 2011-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2139 * src/rendered-value.c (gnm_rendered_value_new): consider conditional
2141 * src/style.c (gnm_style_required_spanflags): consider conditional
2144 2011-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2146 * src/style-conditions.c (gnm_style_conditions_eval): fix the sense
2147 of the comparison (the value string is expected to be smaller than
2148 the cell string) and avoid infinite loops.
2150 2011-07-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2152 * component/Gnumeric-embed.xml.in: add menu item
2153 * src/GNOME_Gnumeric-gtk.xml.in: ditto
2154 * src/HILDON_Gnumeric-gtk.xml.in: ditto
2155 * src/sheet-control-gui.c
2156 * src/style-conditions.c (gnm_style_conditions_dup): new
2157 (gnm_style_cond_is_valid): not all conditions need an expression
2158 (gnm_style_conditions_eval): not all conditions need an expression
2159 * src/style-conditions.h (gnm_style_conditions_dup): new
2160 * src/wbc-gtk-actions.c (cb_format_cells_cond): new
2162 2011-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2164 * print.c (load_repeat_range): move from here to
2165 * print-info.c (print_load_repeat_range): renaming as we go
2166 * print-info.h (print_load_repeat_range): new
2168 2011-06-17 Morten Welinder <terra@gnome.org>
2170 * src/session.c: Fix --with-gnome compilation. #652802
2172 2011-06-16 Morten Welinder <terra@gnome.org>
2174 * configure.in: Post-release bump.
2176 2011-06-16 Morten Welinder <terra@gnome.org>
2180 2011-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2182 * src/gui-util.h (gnm_load_pango_attributes_into_buffer): add
2183 argument, change all callers
2184 * src/gui-util.c (gnm_load_pango_attributes_into_buffer): add
2185 argument, correctly align pango offsets with buffer char-offsets
2186 (gnm_load_pango_byte_to_char): new
2188 2011-05-30 Morten Welinder <terra@gnome.org>
2190 * src/gui-clipboard.c (gnm_x_claim_clipboard): Rename from
2192 (gnm_x_store_clipboard_if_needed): Rename from
2193 x_store_clipboard_if_needed.
2194 (gnm_x_request_clipboard): Rename from x_request_clipboard.
2196 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2198 * src/application.c (gnm_app_workbook_get_by_uri): made static
2199 (gnm_app_workbook_foreach): made static
2200 * src/application.h (gnm_app_workbook_get_by_uri): deleted
2201 (gnm_app_workbook_foreach): deleted
2202 * src/search.c (gnm_search_replace_value): made static
2203 * src/search.h (gnm_search_replace_value): deleted
2204 * src/sheet-filter.c (gnm_filter_overlaps_range): made static
2205 * src/sheet-filter.h (gnm_filter_overlaps_range): deleted
2207 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2209 * src/rangefunc.c (gnm_range_minabs): deleted
2210 (gnm_range_correl_est): deleted
2211 * src/rangefunc.h (gnm_range_minabs): deleted
2212 (gnm_range_correl_est): deleted
2213 * src/stf-parse.c (stf_parse_options_new): made static
2214 * src/stf-parse.h (stf_parse_options_new): deleted
2215 * src/workbook.c (workbook_local_functions): deleted
2216 * src/workbook.h (workbook_local_functions): deleted
2218 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2220 * src/parse-util.h (gnm_conventions_dup): delete again
2221 * src/parse-util.c (gnm_conventions_dup): delete again
2222 * src/workbook-control.c (wb_control_parse_and_jump): use
2223 existing GnmConventions
2225 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2227 * src/workbook.c (workbook_sheet_state_size): adjust scale
2228 (cmd_reorganize_sheets): use workbook_sheet_state_size
2230 2011-05-26 Morten Welinder <terra@gnome.org>
2232 * src/gui-clipboard.c (table_cellregion_read): Avoid
2233 workbook_sheets because it allocates needlessly.
2235 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2237 * src/parse-util.h (gnm_conventions_dup): new
2238 * src/parse-util.c (gnm_conventions_dup): new
2239 * src/workbook-control.c (wb_control_parse_and_jump): accept both
2240 both A1 and R1C1 style addresses.
2242 2011-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2244 * src/workbook-control.h (wb_control_jump): new
2245 * src/workbook-control.c (wb_control_jump): make non-static
2247 2011-05-24 Morten Welinder <terra@gnome.org>
2249 * src/sheet.c (gnm_sheet_constructed): Don't chain up before
2250 actually checking that the parent has the method.
2252 * src/wbc-gtk-edit.c (wbcg_auto_completing): Unused. Remove.
2254 2011-05-23 Morten Welinder <terra@gnome.org>
2256 * src/func.c (function_iterate_do_value): Make static.
2258 * src/parser.y: Make yyparse static.
2260 2011-05-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2262 * src/print-info.h (_PrintInformation): new field
2263 (print_info_set_from_settings): new
2264 (print_info_get_printrange): new
2265 (print_info_set_printrange): new
2266 * src/print-info.c (print_info_set_from_settings): new
2267 (print_info_get_printrange): new
2268 (print_info_set_printrange): new
2269 (print_info_load_defaults): use settings
2270 (print_info_get_printtofile_uri): load defaults
2271 * src/print.c (gnm_print_sheet): use printrange from printinfo
2272 * src/xml-sax-read.c (xml_sax_print_print_range): new
2273 * src/xml-sax-write.c (xml_write_print_info): write printrange
2275 2011-05-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2277 * src/print.c (gnm_print_uri_change_extension): if the setting has no
2278 extension, specify one
2280 2011-05-22 Morten Welinder <terra@gnome.org>
2282 * src/complex.h: Use goffice's stuff as far as possible.
2284 * src/sheet-view.c (sv_is_region_empty_or_selected): Unused. Remove.
2286 * src/gnm-marshalers.list: Remove unused marshallers.
2288 * src/gnm-pane.c (control_circle_get_type, item_acetate_get_type):
2291 * src/colrow.c (colrow_find_adjacent_visible): Unused. Remove.
2293 * src/sort.c (gnm_sort_data_length): Make static.
2295 * src/sheet.c (sheet_redraw_cell): Make static.
2297 * src/sheet-style.c (sheet_style_set_col, sheet_style_set_row):
2300 * src/func-builtin.c (gnumeric_sum, gnumeric_product): Make
2303 * src/wbc-gtk.c (wbcg_ui_update_begin, wbcg_ui_update_end): Make
2306 * src/expr-name.c (expr_name_set_is_placeholder): New function.
2307 (expr_name_downgrade_to_placeholder): Simplify using
2308 expr_name_set_is_placeholder.
2309 (sheet_names_get_available): Unused. Remove.
2310 (do_expr_name_loop_check): Extend to look for either a name as a
2311 string or an explicit GnmNamedExpr.
2312 (expr_name_in_use): Fix search.
2314 * src/workbook.h (WORKBOOK_FOREACH_SHEET): Move from
2317 2011-05-21 Morten Welinder <terra@gnome.org>
2319 * src/expr-name.c (expr_name_set_pos): Rename from
2320 expr_name_set_scope and extended to handle all position changes.
2321 All callers changed.
2322 (gnm_named_expr_collection_rename): Remove.
2323 (expr_name_set_name): New function.
2325 2011-05-21 Morten Welinder <terra@gnome.org>
2327 * configure.in: Post-release bump.
2329 2011-05-21 Morten Welinder <terra@gnome.org>
2333 2011-05-20 Morten Welinder <terra@gnome.org>
2335 * src/expr-name.c (expr_name_downgrade_to_placeholder): Use
2337 (expr_name_set_scope): Simplify.
2339 2011-05-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2341 * src/sheet.h (invalid_sheet): make non-const to avoid casts
2342 * src/sheet.c (invalid_sheet): ditto
2344 2011-05-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2346 * src/sheet.h (invalid_sheet): new
2347 * src/sheet.c (invalid_sheet): initialize
2348 * src/parser.y (yylex): convs->input.range_ref might return
2351 2011-05-20 Morten Welinder <terra@gnome.org>
2353 * src/expr-name.c (expr_name_is_active): New function.
2355 * src/expr-name.h (_GnmNamedExpr): Replace active member by scope
2356 member. All users changed.
2358 2011-05-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2360 * src/expr-name.h (gnm_named_expr_collection_rename): new
2361 * src/expr-name.c (gnm_named_expr_collection_rename): new
2363 2011-05-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2365 * src/print.c (gnm_print_sheet): wbc may be NULL
2367 2011-05-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2369 * src/parse-util.h (_GnmConventions): add name_validate field
2370 * src/parse-util.c (gnm_conventions_new_full): initialize name_validate
2371 * src/parser.y (parser_simple_val_or_name): use
2372 state->convs->input.name_validate
2374 2011-05-17 Morten Welinder <terra@gnome.org>
2376 * src/sheet.c (sheet_colrow_optimize): Use sheet_get_cells_extent.
2377 (sheet_get_cells_extent): New function.
2379 * src/xml-sax-write.c (xml_write_named_expressions): Do nothing if
2382 * src/expr-name.c (gnm_named_expr_collection_new): Make public.
2383 (expr_name_new): Temporarily undo last change. Remove second
2386 * src/sheet.c (gnm_sheet_init): Always have a names member.
2387 * src/workbook.c (workbook_init): Ditto.
2389 * src/expr-name.c (expr_name_add): Do not create named collections
2392 2011-05-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2394 * src/print-cell.c (print_cell_background_gtk): don't
2395 leave a space between cells
2396 (print_merged_range_gtk): don't overprint the background
2398 2011-05-16 Morten Welinder <terra@gnome.org>
2400 * src/sheet.c (gnm_sheet_constructed): Changed from
2401 gnm_sheet_constructor in order to do this later in the
2402 construction sequence.
2403 (gnm_sheet_class_init): Move sanity check here.
2405 * src/expr-name.c (expr_name_new): Make this static.
2407 2011-05-13 Morten Welinder <terra@gnome.org>
2409 * src/io-context-gtk.c (icg_show_gui): Plug leak.
2411 2011-05-13 Jean Brefort <jean.brefort@normalesup.org>
2413 * src/graph.c (gnm_go_data_get_expr): fixed critical. [#649901]
2415 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2417 * src/parse-util.h (_GnmConventions): add input.string
2418 * src/parse-util.c (std_string_parser): new
2419 (gnm_conventions_new_full): connect std_string_parser
2420 * src/parser.y (yylex): use state->convs->input.string
2422 2011-05-10 Morten Welinder <terra@gnome.org>
2424 * src/commands.c (cmd_paste_copy): Clarify and fix ownership rules
2425 for cell region. Fixes leak.
2426 (cmd_paste_copy_impl): Don't override the stored flags. Fixes
2427 paste-special repeat.
2429 2011-05-09 Morten Welinder <terra@gnome.org>
2431 * src/item-bar.c (item_bar_calc_size): Plug leak.
2433 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2435 * src/print.c (gnm_print_sheet): only remember settings if we showed
2438 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2440 * gnumeric.xsd: add xs:element name="print-to-uri"
2441 * src/print-info.h (print_info_set_printtofile_uri): new
2442 * src/print-info.c (print_info_set_printtofile_uri): new
2443 (print_info_set_printtofile_from_settings): use above
2444 * src/xml-sax-read.c (xml_sax_print_to_uri): new
2445 * src/xml-sax-write.c (xml_write_print_info): write print-to-uri
2447 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2449 * src/print-info.h (_PrintInformation): new field printtofile_uri
2450 (print_info_set_printtofile_from_settings): new
2451 (print_info_get_printtofile_uri): new
2452 * src/print-info.c (print_info_free): handle printtofile_uri
2453 (print_info_new): ditto
2454 (print_info_dup): ditto
2455 (print_info_set_printtofile_from_settings): new
2456 (print_info_get_printtofile_uri): new
2457 * src/print.c (gnm_print_sheet): save and restore printtofile uri
2458 from PrintInformation of the current sheet.
2460 2011-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2462 * src/print.c (gnm_print_uri_change_extension): new
2463 (gnm_print_sheet): set GTK_PRINT_SETTINGS_OUTPUT_URI
2465 2011-05-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2467 * src/auto-format.c (do_af_suggest_list): use GNM_*_KILL_SWITCH_WARNING
2468 * src/print.c (compute_pages): handle PRINT_SAVED_INFO
2469 (gnm_print_sheet): ditto
2470 * src/print.h (PrintRange): Since we are saving those numbers we
2471 need to fix them. Add PRINT_SAVED_INFO = -1.
2472 * src/wbc-gtk-actions.c (cb_file_print): don't force active sheet
2475 2011-05-07 Morten Welinder <terra@gnome.org>
2477 * src/sheet.c (sheet_colrow_optimize1): Take sheet extent into
2480 2011-05-06 Morten Welinder <terra@gnome.org>
2482 * src/sheet.c (sheet_colrow_optimize): New function.
2484 * src/sheet-style.c (sheet_style_optimize): Also optimize colrows.
2486 * src/colrow.c (colrow_set_visibility_list): If making visible,
2489 2011-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2491 * src/func.c (function_dump_defs): write ellipsis in syntax
2493 2011-05-05 Morten Welinder <terra@gnome.org>
2495 * src/style.c (gnm_font_override_codepage): New function.
2497 2011-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2499 * src/compilation.h: new
2500 * src/Makefile.am: add compilation.h
2501 * src/workbook.c (workbook_sheet_state_diff): use
2502 GNM_*_KILL_SWITCH_WARNING
2504 2011-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2506 * src/wbc-gtk-edit.c (wbcg_edit_start): suppress enum warning
2508 2011-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2510 * src/workbook.c (workbook_sheet_state_diff): disable
2511 -Wswitch for this function
2513 2011-05-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2515 * src/colrow.c (colrow_set_states): use colrow_free, not g_free;
2518 2011-05-01 Morten Welinder <terra@gnome.org>
2520 * src/sheet.c (gnm_sheet_init): Use a set-style GHash for cells in
2521 order to save memory.
2523 2011-04-29 Morten Welinder <terra@gnome.org>
2525 * src/sheet-style.c (cell_tile_apply): Prepare for, but do not
2526 activate, optimization of newly-divided tiles. When activated
2528 (cell_tile_apply): Don't let the optimization go recursively down
2531 2011-04-22 Jean Brefort <jean.brefort@normalesup.org>
2533 * configure.in: requires libgoffice >= 0.8.15.
2535 2011-04-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2537 * src/stf.c (stf_warning): new
2538 (stf_open_and_read): add context argument and change all callers,
2539 check for null characters in input. Fixes #648354
2540 (stf_preparse): change type pf context argument and change all
2542 (stf_read_workbook_auto_csvtab): use stf_warning
2544 2011-04-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2546 * src/wbc-gtk-actions.c (actions): change
2547 "_Wilcoxon-Mann-Whitney Test..." to "Wilcoxon-_Mann-Whitney Test..."
2549 2011-04-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2551 * src/func.c (gnm_func_get_arg_description): fix zero-based index
2552 counting, fixes #647240
2554 2011-04-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2556 * src/sheet.c (sheet_range_contains_region): formulas ->formul\303\246
2558 2011-04-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2560 * src/mstyle.c (gnm_style_dump_color): fix format warning
2561 (gnm_style_dump): ditto, fixes #646571
2563 2011-03-31 Morten Welinder <terra@gnome.org>
2565 * src/gui-file.c (gui_file_open): Plug leak.
2567 2011-03-30 Morten Welinder <terra@gnome.org>
2569 * src/func.c (dump_externals): Properly use translation domain.
2570 (function_dump_defs): Ditto.
2571 (function_def_create_arg_names): Ditto.
2572 (gnm_func_get_description): Ditto.
2573 (gnm_func_get_arg_description): Ditto.
2574 (gnm_func_get_name): Get the translated name from
2577 * src/parse-util.h (GnmConventions): Add field for localized
2580 * src/func.c (gnm_func_get_name): Take extra argument indicating
2581 whether the name should be localized. All callers changed.
2583 2011-03-28 Morten Welinder <terra@gnome.org>
2585 * src/stf-parse.c (dump_guessed_options): New function.
2586 (stf_parse_options_guess,stf_parse_options_guess_csv): Optionally
2587 call dump_guessed_options.
2589 * src/stf-parse.h (enum StfTrimType_t): Use the values intended.
2591 2011-03-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2593 * src/sheet-control-gui.c (snap_pos_to_grid): don't move an aligned
2596 2011-03-24 Morten Welinder <terra@gnome.org>
2598 * configure.in: Post-release bump.
2600 2011-03-24 Morten Welinder <terra@gnome.org>
2604 2011-03-22 Morten Welinder <terra@gnome.org>
2606 * src/ssconvert.c (resolve_template): New function.
2607 (convert): Simplify code. Treat output filename as template when
2608 ssconvert_one_file_per_sheet is set.
2610 2011-03-21 Morten Welinder <terra@gnome.org>
2612 * src/dependent.c (dependent_set_expr): Make sure we clear dynamic
2613 deps, even if not linked. Fixes #645209.
2614 (dependents_dump): New function extracted from...
2615 * src/wbc-gtk.c (cb_workbook_debug_info): ...here.
2617 2011-03-18 Morten Welinder <terra@gnome.org>
2619 * src/parser.y: Apply ugly patch for xlsx global names. See bug
2620 643873 for discussions.
2622 * src/print.c (gnm_print_sheet): Punt and use ShellExecute.
2624 2011-03-17 Morten Welinder <terra@gnome.org>
2626 * src/print.c (gnm_print_sheet): Improve error handling.
2628 2011-03-16 Morten Welinder <terra@gnome.org>
2630 * src/print.c (gnm_print_sheet): On WIN32, do previews as
2631 export-to-pdf plus show-url. Hopefully works around #533795.
2633 2011-03-12 Morten Welinder <terra@gnome.org>
2635 * src/dead-kittens.h (gtk_adjustment_get_upper): Macro had wrong
2637 (gtk_dialog_get_content_area): We only need one of these.
2639 2011-03-11 Morten Welinder <terra@gnome.org>
2641 * src/gutils.c (gnm_insert_meta_date): Use GsfTimestamp.
2643 2011-03-10 Morten Welinder <terra@gnome.org>
2645 * src/colrow.c (colrow_new, colrow_free): New functions.
2647 * src/sheet.c (cell_new, cell_free): Use slice allocator, not
2649 (sheet_row_new, sheet_col_new): Use colrow_new.
2651 2011-03-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2653 * src/sheet.c: formulas -> formulæ
2654 * src/wbc-gtk-actions.c: formulas -> formulæ
2656 2011-03-08 Morten Welinder <terra@gnome.org>
2658 * src/gutils.c (gnm_insert_meta_date): Use GsfTimestamp, not
2661 * src/stf-parse.c (stf_parse_sheet): Delete lines as we are done
2663 (stf_parse_general_free): Handle freed lines.
2665 2011-03-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2667 * src/sheet-control-gui.c (scg_cursor_move): check one row at a time.
2669 2011-03-04 Morten Welinder <terra@gnome.org>
2671 * src/parse-util.c (std_external_wb): New function.
2672 (gnm_conventions_new_full): Always set input.external_wb.
2673 (wbref_parse): Use that.
2675 2011-03-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2677 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fix schema
2679 2011-03-03 Jean Brefort <jean.brefort@normalesup.org>
2681 * configure.in: add gschema files.
2682 * schemas/Makefile.am: ditto.
2683 * schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: ditto.
2684 * schemas/org.gnome.gnumeric.gschema.xml.in.in: ditto.
2685 * schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in: ditto.
2687 2011-03-03 Morten Welinder <terra@gnome.org>
2689 * src/value.c (value_new_string_str): Add precondition.
2691 * src/expr.c (gnm_expr_new_constant): Add precondition.
2693 2011-03-01 Morten Welinder <terra@gnome.org>
2695 * src/gnumeric-gconf.c (get_node): Handle absolute keys, assuming
2696 goffice handles them.
2698 2011-02-26 Morten Welinder <terra@gnome.org>
2700 * src/value.c (value_new_cellrange_parsepos_str): Constify.
2702 2011-02-24 Morten Welinder <terra@gnome.org>
2704 * src/wbc-gtk.c (cb_set_toolbar_position): Only actually set
2705 toolbar position when the item is active. (We now get extra signals.)
2707 2011-02-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2709 * src/undo.c (gnm_undo_colrow_*_group_finalize): chain to parent
2711 2011-02-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2713 * src/gui-clipboard.c (text_is_single_cell): new
2714 (text_to_cell_region): use text_is_single_cell
2716 2011-02-21 Morten Welinder <terra@gnome.org>
2718 * src/stf-parse.c (trim_spaces_inplace): Don't use strcpy for
2719 overlapping areas. Hopefully fixes #642477.
2721 * src/wbc-gtk.c (wbc_gtk_finalize): Cancel template loader handler
2723 (wbc_gtk_create_notebook_area): Hold a ref to bnotebook so it
2724 cannot disappear underneath us.
2726 2011-02-17 Morten Welinder <terra@gnome.org>
2728 * src/wbc-gtk.c (wbc_gtk_finalize): Remove custum UIs.
2730 * src/stf.c (stf_shutdown): Unregister stf_csv too.
2732 2011-02-16 Morten Welinder <terra@gnome.org>
2734 * src/gnumeric.h (GnmExprEvalFlags): Add new want-ref flag.
2736 * src/expr.c (gnm_expr_eval): clear the want-ref flag for
2737 arguments to operands. If the flag is set, return a ref for the
2740 * src/func.c (function_call_with_exprs): Evaluate 'r' arguments
2741 with want-ref flag. Fixes #613273.
2743 2011-02-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2745 * src/validation-combo.h (IS_GNM_VALIDATION_COMBO): new
2747 2011-02-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2749 * schemas/gnumeric-dialogs.schemas.in
2750 (/apps/gnumeric/stf/export/terminator): use escape
2751 * src/stf-export.c (gnm_stf_get_stfe): do not leave the terminator
2752 as "" (this could happen due to gconf bug #641807)
2754 2011-02-07 Jean Brefort <jean.brefort@normalesup.org>
2756 * src/item-edit.c (item_edit_button_pressed), (item_edit_motion): fix
2757 cursor position inside a cell edited in a zoomed sheet. [#641709]
2759 2011-02-06 Jean Brefort <jean.brefort@normalesup.org>
2761 * libspreadsheet.pc.in: removed libglade-2.0 from requirements.
2763 2011-02-02 Morten Welinder <terra@gnome.org>
2765 * configure.in: Post-release bump.
2767 2011-02-02 Morten Welinder <terra@gnome.org>
2771 2011-01-20 Morten Welinder <terra@gnome.org>
2773 * src/gutils.c (gnm_usr_dir): Add parameter controlling whether to
2774 return versioned or unversioned directory. All callers changed.
2776 * src/file-autoft.c (category_group_list_get): Search both
2777 unversioned and versioned directories.
2778 * src/wbc-gtk.c (wbc_gtk_reload_templates): Ditto.
2780 2011-01-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2782 * src/commands.c (cmd_set_text_full): do not enter expressions
2783 into text-formatted cells
2785 2011-01-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2787 * src/value.c (find_rows_that_match): only one criteria row has
2790 2011-01-11 Morten Welinder <terra@gnome.org>
2792 * src/func.c (gnm_func_sanity_check1): Allow for "_", ".", and
2793 digits in function names.
2795 2011-01-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2797 * src/print-info.c (page_setup_set_paper): work around a gtk bug
2800 2011-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2802 * src/pixmaps/gnm_subscript_16.png: new
2803 * src/pixmaps/gnm_subscript_24.png: new
2804 * src/pixmaps/gnm_superscript_16.png: new
2805 * src/pixmaps/gnm_superscript_24.png: new
2806 * src/pixmaps/Makefile.am: add the above files
2807 * src/wbc-gtk.c (wbc_gtk_setup_icons): set up
2808 Gnumeric_Superscript and Gnumeric_Subscript icons
2809 * src/wbc-gtk-actions.c (font_toggle_actions) use
2810 Gnumeric_Superscript and Gnumeric_Subscript icons
2812 2011-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2814 * src/sort.c (sort_compare_cells): add argument and use it to
2815 decide whether to use the cacheing version of value_compare
2816 (sort_compare_sets): add argument and change all callers
2817 (gnm_sort_contents): if we are not in the default locale, do not cache
2819 * src/value.h (value_compare_no_cache): new
2820 * src/value.c (value_compare_no_cache): new
2821 (value_compare_real): new
2822 (value_cmp): use value_compare_real
2823 (value_compare): use value_compare_real
2824 (gnm_string_cmp): new
2825 (gnm_string_cmp_ignorecase): new
2827 2011-01-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2829 * src/item-edit.c (item_edit_draw): add NULL argument to call of
2830 gnumeric_background_set
2831 * src/item-grid.c (item_grid_draw_merged_range): add theme argument
2832 to pass to gnumeric_background_set
2833 (item_grid_draw_background): ditto
2834 (item_grid_draw_region): pass theme to item_grid_draw_merged_range and
2835 item_grid_draw_background
2836 * src/pattern.h (gnumeric_background_set): add theme argument
2837 * src/pattern.c (gnumeric_background_set): add and use theme argument
2838 (gnm_get_light): new
2839 * src/preview-grid.c (preview_grid_draw_background): add NULL argument
2840 to call of gnumeric_background_set
2842 2011-01-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2844 * src/item-bar.c (ib_draw_cell): use selection colours
2846 2011-01-07 Morten Welinder <terra@gnome.org>
2848 * src/func.c (gnm_func_sanity_check1): Improve check of
2849 description text to catch stuff like #631504.
2851 2011-01-06 Morten Welinder <terra@gnome.org>
2853 * src/go-data-cache-field.c (go_data_cache_field_get_val): Undo
2856 2010-12-30 Morten Welinder <terra@gnome.org>
2858 * src/number-match.c (format_match_fraction): Add option for
2859 accepting mixed-format numbers only.
2860 (format_match): When the existing format is "General", allow only
2861 mixed-format number.
2863 2010-12-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2865 * src/go-data-cache-field.c (go_data_cache_field_get_val): protect
2868 2010-12-26 Jean Brefort <jean.brefort@normalesup.org>
2870 * src/sheet-control-gui.c (scg_scale_changed): reposition sheet objects to
2871 avoid rounding errors related to the rounding of cells limits. [#637739]
2873 2010-12-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2875 * src/stf-export.c (gnm_stf_export): make cppcheck happy
2877 2010-12-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2880 * src/commands.h (cmd_analysis_tool): add argument
2881 * src/commands.c (cmd_analysis_tool): use always_take_ownership
2884 2010-12-17 Jean Brefort <jean.brefort@normalesup.org>
2886 * src/gnm-so-line.c (so_line_view_set_bounds): take zoom level into
2887 account when setting the coordinates. [#637453]
2889 2010-12-10 Morten Welinder <terra@gnome.org>
2891 * src/stf.c (resize_columns): Expand columns to fit
2892 numbers (including dates).
2893 (stf_read_workbook): Call resize_columns.
2894 (stf_read_workbook_auto_csvtab): Ditto.
2896 2010-12-08 Morten Welinder <terra@gnome.org>
2898 * src/func-builtin.c (gnumeric_if2): Take flags argument and use
2899 it for "then" and "else" branches. Caller changed. Fixes
2902 2010-12-01 Morten Welinder <terra@gnome.org>
2904 * src/test-pango.c: Kill warnings.
2906 2010-11-29 Jean Brefort <jean.brefort@normalesup.org>
2908 * src/wbc-gtk.c (wbcg_update_action_sensitivity): only disable the
2909 formula bar when a chart sheet is selected. [#636031]
2911 2010-11-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2913 * src/commands.h (cmd_set_text): add autocorrect flag
2914 * src/commands.c (cmd_set_text): add autocorrect flag, change
2916 (cmd_set_text_full): add autocorrect flag, change all callers
2917 * src/wbc-gtk-edit.c (wbcg_edit_finish): handle WBC_EDIT_ACCEPT_WO_AC
2918 * src/wbc-gtk.h (WBCEditResult): add WBC_EDIT_ACCEPT_WO_AC
2919 * src/wbc-gtk.c (cb_accept_input_wo_ac): new
2920 (cb_accept_input_menu): connect cb_accept_input_wo_ac
2922 2010-11-25 Morten Welinder <terra@gnome.org>
2924 * configure.in: Post-release bump.
2926 2010-11-25 Morten Welinder <terra@gnome.org>
2930 2010-11-19 Morten Welinder <terra@gnome.org>
2932 * src/workbook-view.c (wb_view_save_as): Better fix for 634792.
2934 2010-11-16 Morten Welinder <terra@gnome.org>
2936 * src/*.c: Constify GOFormat handling.
2938 2010-11-15 Morten Welinder <terra@gnome.org>
2940 * src/gui-file.c (gui_file_save_as): Clear "pristine" flag. Fixes
2943 2010-11-12 Morten Welinder <terra@gnome.org>
2945 * src/gnm-so-filled.c (so_filled_view_set_bounds): Ensure that
2946 clipping width and height do not become non-positive. Fixes #634597.
2948 2010-11-07 Jean Brefort <jean.brefort@normalesup.org>
2950 * src/sheet-object-image.c (so_image_view_set_bounds): fixed image
2951 bounds in zoomed sheets.
2953 2010-11-06 Jean Brefort <jean.brefort@normalesup.org>
2955 * src/dead-kittens.h: fixed property name in
2956 gtk_table_get_size. [#634149]
2958 2010-11-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2959 for Sameer Morar <smorar@gmail.com>
2961 * src/gnm-pane.c (gnm_pane_key_mode_sheet): Enable the key combinations
2962 <control><shift>Page_Up and <control><shift>Page_Down to move the
2963 currently selected sheet left or right respectively. [#634139]
2965 2010-11-04 Morten Welinder <terra@gnome.org>
2967 * src/item-cursor.c (cb_autofill_scroll): Limit size of tooltip to
2970 * src/sheet-autofill.c (gnm_autofill_hint)
2971 (sheet_autofill_internal): Change to return GString* instead of
2972 char*. All callers changed.
2974 * src/cell.c (gnm_cell_convert_expr_to_value): Handle array
2977 2010-10-29 Jean Brefort <jean.brefort@normalesup.org>
2979 * src/sheet-object-graph.c (sog_cb_copy_to_new_sheet),
2980 (gnm_sog_populate_menu): New contextual menu item: copy a graph
2981 to a new graph sheet.
2983 2010-10-27 Morten Welinder <terra@gnome.org>
2985 * src/parser.y (parser_simple_val_or_name): Check whether a name
2986 is valid before defining it. See bug #633140.
2988 * src/expr-name.c (expr_name_validate): Improve check for clash
2989 with boolean constants. Also check untranslated.
2991 2010-10-20 Morten Welinder <terra@gnome.org>
2993 * src/gui-util.c (gnm_xml_get_widget): Elminate. Change all
2994 callers to go_gtk_builder_get_widget. ("The light that burns
2995 twice as bright burns for half as long - and you have burned so
2996 very, very brightly, Roy.")
2998 2010-10-19 Morten Welinder <terra@gnome.org>
3000 * src/gui-util.c (gnumeric_keyed_dialog): When dialog is
3001 destroyed, clear "state" to trigger the tear-down even if someone
3002 (i.e., gtkbuilder) holds a ref.
3004 2010-10-18 Morten Welinder <terra@gnome.org>
3006 * src/gui-util.c (gnumeric_glade_group_value): Make this work for
3007 gtk builder guis too.
3008 (gnm_xml_get_widget): New function wrapping
3009 go_gtk_builder_get_widget and glade_xml_get_widget.
3011 * src/sheet-object-image.c (gnm_soi_draw_cairo): Fix printing
3014 2010-10-15 Morten Welinder <terra@gnome.org>
3016 * src/sheet-object-widget.c (sheet_widget_frame_user_config): Use
3017 gnm_gtk_builder_new and handle failures.
3019 * src/gui-util.c (gnm_gtk_builder_new): New function that knows
3020 about Gnumeric's directory structure.
3022 2010-10-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3024 * src/undo.c (gnm_undo_colrow_set_sizes_undo): plug leak
3026 2010-10-11 Jean Brefort <jean.brefort@normalesup.org>
3028 * src/sheet-object-widget.c (cb_frame_config_destroy),
3029 (sheet_widget_frame_user_config), (cb_button_config_destroy),
3030 (sheet_widget_button_user_config), (cb_adjustment_config_destroy),
3031 (sheet_widget_adjustment_user_config_impl),
3032 (cb_checkbox_config_destroy), (sheet_widget_checkbox_user_config),
3033 (cb_radio_button_config_destroy),
3034 (sheet_widget_radio_button_user_config): use GtkBuiler instead of GladeXML.
3036 2010-10-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3038 * component/Gnumeric-embed.xml.in: add menu items
3039 * src/GNOME_Gnumeric-gtk.xml.in: add menu items
3040 * src/HILDON_Gnumeric-gtk.xml.in: add menu items
3041 * src/commands.c(cmd_page_breaks_clear): new
3042 (cmd_page_break_toggle): new
3043 (cmd_page_breaks_set_breaks): new
3044 * src/commands.h (cmd_page_breaks_clear): new
3045 (cmd_page_break_toggle): new
3046 * src/print-info.c (print_info_has_manual_breaks): new
3047 * src/print-info.h (print_info_has_manual_breaks): new
3048 * src/sheet-view.c (sv_update): add MS_PAGE_BREAKS
3049 * src/wbc-gtk-actions.c (cb_file_print_area_toggle_col): new
3050 (cb_file_print_area_toggle_row): new
3051 (cb_file_print_area_clear_pagebreaks): new
3052 (permanent_actions): change meu item title
3053 (actions): connect the above
3054 * src/wbc-gtk.c (wbcg_menu_state_update): handle MS_PAGE_BREAKS
3055 * src/workbook-control.h (MS_PAGE_BREAKS): new
3057 2010-10-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3059 * src/print-info.c (print_info_set_paper_orientation): correct
3060 argument description
3061 * src/print-info.h (page_breaks): add comment
3062 * src/print.c (compute_sheet_pages): switch vertical and horizontal
3065 2010-10-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3067 * src/commands.h (cmd_so_set_links): add argument
3068 * src/commands.c (cmd_so_set_links): add argument
3069 (cmd_so_set_links_redo): handle output ttpe
3070 * src/sheet-object-widget.h
3071 (sheet_widget_list_base_set_result_type): new
3072 (sheet_widget_list_base_result_type_is_index): new
3073 * src/sheet-object-widget.c
3074 (sheet_widget_list_base_set_result_type): new
3075 (sheet_widget_list_base_result_type_is_index): new
3076 (sheet_widget_list_base_set_selection): consider swl->result_as_index
3077 (sheet_widget_list_base_set_selection_value): new
3078 (sheet_widget_list_base_init): initialize swl->result_as_index
3080 2010-10-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3082 * src/sheet-object-widget.c (cb_list_model_changed): save current
3083 selection and flag selection as saved.
3084 (cb_selection_changed): don't bother if the selection was saved
3085 (sheet_widget_list_create_widget): try to set the selection only if
3088 2010-10-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3090 * src/sheet-object-widget.c (sheet_widget_list_create_widget): set the
3092 (sheet_widget_combo_create_widget): ditto
3094 2010-10-01 Morten Welinder <terra@gnome.org>
3096 * configure.in: Post-release bump.
3098 2010-10-01 Morten Welinder <terra@gnome.org>
3102 2010-10-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3104 * sheet-object-widget.c (sheet_widget_button_init_full: disable
3106 (sheet_widget_adjustment_init_full): ditto
3107 (sheet_widget_list_base_init): ditto
3108 * sheet-object.c (sheet_object_set_print_flag): new
3109 * sheet-object.h (sheet_object_set_print_flag): new
3110 * xml-sax-read.c (xml_sax_read_obj): read print flag
3111 * xml-sax-write.c (xml_write_objects): write print flag
3113 2010-09-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3115 * src/sheet-object-widget.c (sheet_widget_draw_cairo): warn always
3116 (draw_cairo_text): adjust coner radius for small buttons
3117 (sheet_widget_list_draw_cairo): new
3118 (sheet_widget_list_class_init): connect sheet_widget_list_draw_cairo
3120 2010-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3122 * src/sheet-object-widget.c (sheet_widget_combo_draw_cairo): new
3123 (sheet_widget_combo_class_init): connect the above
3125 2010-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3127 * src/sheet-object-widget.c (sheet_widget_button_draw_cairo): new
3129 2010-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3131 * src/sheet-object-widget.c (sheet_widget_spinbutton_draw_cairo): new
3132 (sheet_widget_spinbutton_class_init): connect the above
3134 2010-09-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3136 * src/sheet-object-widget.c (draw_cairo_text): add aguments and change
3138 (sheet_widget_frame_draw_cairo): new
3139 (sheet_widget_scrollbar_horizontal_draw_cairo): fix alignment
3141 2010-09-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3142 * src/sheet-object-widget.c
3143 (sheet_widget_scrollbar_*_draw_cairo): new
3144 (sheet_widget_scrollbar_draw_cairo): new
3145 (sheet_widget_scrollbar_class_init): connect
3146 sheet_widget_slider_draw_cairo
3147 (sheet_widget_slider_vertical_draw_cairo): use
3148 sheet_widget_slider_horizontal_draw_cairo
3150 2010-09-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3152 * schemas/gnumeric-general.schemas.in: fix tooltip for column
3154 * src/sheet-object-widget.c (sheet_widget_slider_*_draw_cairo):
3156 (sheet_widget_slider_draw_cairo): new
3157 (sheet_widget_slider_class_init): connect
3158 sheet_widget_slider_draw_cairo
3160 2010-09-28 Morten Welinder <terra@gnome.org>
3162 * src/sheet.c (struct cb_sheet_resize): Eliminate. This was the
3163 same as GnmSheetSize.
3164 (gnm_sheet_type_get_type, gnm_sheet_visibility_get_type):
3165 Eliminate casts no-longer needed.
3167 2010-09-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3169 * src/sheet-object-widget.c (draw_cairo_text): new
3170 (sheet_widget_checkbox_draw_cairo): use draw_cairo_text
3171 (sheet_widget_radio_button_draw_cairo): use draw_cairo_text
3173 2010-09-24 Morten Welinder <terra@gnome.org>
3175 * src/sheet-object-widget.c (sheet_widget_checkbox_draw_cairo):
3176 Get font info from GtkStyle.
3178 2010-09-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3180 * src/sheet-object-widget.c (sheet_widget_checkbox_draw_cairo):
3181 fix line join for checked box.
3183 2010-09-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3185 * src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo and
3186 change all usages using sheet_widget_draw_cairo as default
3187 (sheet_widget_checkbox_draw_cairo): new
3188 (sheet_widget_radio_button_draw_cairo): new
3190 2010-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3192 * src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid
3193 dereferencing NULL pointer
3195 2010-09-21 Morten Welinder <terra@gnome.org>
3197 * src/wbc-gtk.c (wbc_gtk_reload_templates): Look for templates in
3198 user directory too. Fixes #630247.
3200 * src/graph.c (set_pending_convs): Keep track of convs'
3203 * src/parse-util.c (gnm_conventions_unref): Renamed from
3204 gnm_conventions_free. Change to handle ref-counting.
3205 (gnm_conventions_ref): New function.
3207 * src/xml-sax-read.c (xml_sax_cell_content): Handle empty values
3208 in inter-process paste. Part of #629302.
3210 2010-09-20 Morten Welinder <terra@gnome.org>
3212 * configure.in (libspreadsheet_reqs): Downgrade libgsf
3213 requirement. Check for OO_NS_CHART_OOO.
3215 * src/sheet.c (sheet_range_set_text): Get a format for matching
3216 from upper left corner of range. Mostly fixes #630177.
3218 2010-09-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3220 * src/wbc-gtk-actions.c (sort_by_rows): quieten spurious warning
3222 2010-09-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3224 * src/wbc-gtk-actions.c (sort_by_rows): allow specification of cols/rows
3225 when sorting via toolbar button
3227 2010-09-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3229 * src/commands.c (cmd_set_text_full): Only auto format if no user style
3230 is set. Fixes 629303.
3232 2010-09-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3234 * src/sheet-object-widget.c (sheet_widget_frame_*et_property): new
3236 2010-09-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3238 * src/sheet-object-widget.c: add "value" property to radio_button
3241 2010-09-04 Morten Welinder <terra@gnome.org>
3243 * configure.in: Post-release bump.
3245 2010-09-04 Morten Welinder <terra@gnome.org>
3249 2010-09-04 Jean Brefort <jean.brefort@normalesup.org>
3251 * src/wbc-gtk.c (set_entry_contents): fixed graph scalar data editor
3254 2010-09-01 Morten Welinder <terra@gnome.org>
3256 * src/func.c (check_argument_refs): Plug leak. Fix the actual
3259 2010-08-31 Morten Welinder <terra@gnome.org>
3261 * src/wbc-gtk.c (set_entry_contents): Set scalar values using the
3262 editor's method for that. That helps with formats.
3264 2010-08-30 Morten Welinder <terra@gnome.org>
3266 * src/clipboard.c (paste_cell): Also translate dates with
3269 2010-08-27 Morten Welinder <terra@gnome.org>
3271 * src/number-match.c (valid_hms): Fix the case of elapsed minutes
3272 and second. Take extra argument identifying what kind of elapsed
3273 format might be used. Communicate whether the format needs to be
3274 elapsed back to caller. All callers changed.
3276 2010-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3278 * configure.in: raise goffice requirement to 0.8.10
3280 2010-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3282 * src/gui-util.h (gnumeric_go_error_info_list_dialog_new): new
3283 (gnumeric_go_error_info_list_dialog_show): new
3284 * src/gui-util.c (gnumeric_go_error_info_list_dialog_new): new
3285 (gnumeric_go_error_info_list_dialog_show): new, maily code from
3286 gnumeric_go_error_info_dialog_new
3287 (gnumeric_go_error_info_dialog_new): use
3288 gnumeric_go_error_info_list_dialog_show
3289 * src/io-context-gtk.c (icg_error_error_info_list): new
3290 (icg_set_num_files): connect icg_error_error_info_list
3291 * src/wbc-gtk.c (wbcg_error_error_info_list): new
3292 (wbcg_gnm_cmd_context_init): connect wbcg_error_error_info_list
3293 * src/workbook-control.c (wbc_cmd_context_init): insert reminder stub
3295 2010-08-24 Morten Welinder <terra@gnome.org>
3297 * src/gnm-plugin.c (plugin_service_function_group_read_xml)
3298 (plugin_service_ui_read_xml): Fix char-xmlChar confusion.
3300 * src/libgnumeric.c (gnm_pre_parse_init): Make it possible to turn
3301 on glib memory profiler.
3303 2010-08-23 Morten Welinder <terra@gnome.org>
3305 * src/xml-sax-read.c (xml_sax_colrow): Simplify and plug leak.
3306 (xml_sax_finish_parse_wb_attr): Plug leak.
3308 2010-08-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3310 * samples/chart-tests.gnumeric: update tab colours
3312 2010-08-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3314 * samples/chart-tests.gnumeric: add tab colours to indicate ODF support
3315 for those pages (in round trip)
3317 2010-08-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3319 * samples/chart-tests.gnumeric: test plot types separately from our
3320 ability to combine them.
3322 2010-08-16 Morten Welinder <terra@gnome.org>
3324 * configure.in: Post-release bump.
3326 2010-08-16 Morten Welinder <terra@gnome.org>
3330 2010-08-16 Morten Welinder <terra@gnome.org>
3332 * src/collect.c (collect_floats): Fix #627079 (FMR).
3334 * src/complex.c (complex_pow): Special-case a=0 which the general
3335 formula bungles. Fixes #627014.
3337 2010-08-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3339 * samples/chart-tests.gnumeric: make sure the images match the graphs
3340 (and fix the data to make it more likely to stay in this way.)
3342 2010-08-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3344 * src/commands.c (CmdPasteCopy): new fields
3345 (cmd_paste_copy_impl): store sizes for rows and columns and restore them
3346 (cmd_paste_copy_finalize): finalize new fields
3347 (cmd_paste_copy): iitalize new fields
3349 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3351 * src/commands.c (cmd_area_set_array_expr): autofit rows and columns.
3353 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3355 * src/colrow.h (colrow_autofit_col): new
3356 (colrow_autofit_row): new
3357 * src/colrow.c (colrow_autofit_col): new
3358 (colrow_autofit_row): new
3359 * src/commands.c (cmd_set_text_full_autofit_row): renamed and moved to
3361 (cmd_set_text_full_autofit_col): renamed and moved to src/colrow.c with
3363 (cmd_set_text_full): adjust calls to cmd_set_text_full_autofit_*
3365 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3367 * src/commands.c (cmd_set_text_full): check whether the same-text and
3368 not same-markup situation in fact applies.
3370 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3372 * src/commands.c (cmd_set_text_full_check_text): if we have already
3373 have a string in the cell, we can ignore a leading '
3375 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3377 * src/commands.c (cmd_set_text_full_check_text): new
3378 (cmd_set_text_full_check_markup): new
3379 (cmd_set_text_full): check for changed text and markup
3381 2010-08-13 Morten Welinder <terra@gnome.org>
3383 * src/colrow.c (colrow_state_list_destroy): Make this a function.
3385 * src/commands.c (cmd_set_text_full): Restore check for actual
3386 changes. Fixes #626797.
3388 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3390 * src/commands.c (cmd_set_text_full_check_texpr): new
3391 (cmd_set_text_full): check whether we are entering the same expression
3392 already in all cells.
3394 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3396 * src/commands.c (cmd_set_text_full): always autofit the rows and also
3397 autofit the columns for non-strings.
3399 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3401 * src/colrow.c (colrow_set_sizes): revert last change
3402 * src/commands.c (cmd_set_text_full_autofit_*): new
3403 (cmd_set_text_full): don't use colrow_set_sizes but colrow_autofit
3404 * src/undo.c (gnm_undo_colrow_set_sizes_new): fix comment
3406 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3408 * src/colrow.c (colrow_set_sizes): use -2 as an indicator only to
3409 auto-fit non-strings
3410 * src/commands.c (cmd_set_text_full): use size -2
3411 * src/undo.c (gnm_undo_colrow_set_sizes_new): use -1 and -2 as
3414 2010-08-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3416 * src/commands.c (cmd_set_text_*): deleted
3417 (cmd_set_text_full): new
3418 (cmd_set_text): use cmd_set_text_full
3419 (cmd_area_set_text): use cmd_set_text_full
3421 2010-08-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3423 * src/commands.c (cmd_area_set_text): use autocorrection
3425 2010-08-12 Morten Welinder <terra@gnome.org>
3427 * src/cell.c (gnm_cell_set_expr_and_value, gnm_cell_set_value):
3428 Plug leaks in case preconditions fail.
3430 2010-08-12 Jean Brefort <jean.brefort@normalesup.org>
3432 * src/item-edit.c (item_edit_update_bounds): fix in-cell editing when
3433 zoom < 100%. [#626679]
3435 2010-08-11 Morten Welinder <terra@gnome.org>
3437 * src/xml-sax-read.c (xml_sax_colrow): Set "pos" initially.
3439 2010-08-11 Jean Brefort <jean.brefort@normalesup.org>
3441 * src/gnm-pane.c (cb_update_ctrl_pts), (set_item_x_y),
3442 (set_acetate_coords): make control points zoom correctly. [see #626404]
3444 2010-08-10 Jean Brefort <jean.brefort@normalesup.org>
3446 * src/gnm-pane-impl.h: update comment.
3447 * src/gnm-pane.c (cb_pane_drag_motion): fixed objects dragging when zoomed.
3449 * src/sheet-control-gui.c (scg_drag_receive_same_process): ditto.
3451 2010-08-08 Morten Welinder <terra@gnome.org>
3453 * src/xml-sax-read.c (xml_sax_must_have_style): New function. Use
3456 2010-08-08 Jean Brefort <jean.brefort@normalesup.org>
3458 * src/sheet-control-gui.c (gnm_pane_make_cell_visible): fix scroll when
3459 selecting a merged cell. [#626065]
3461 2010-08-06 Morten Welinder <terra@gnome.org>
3463 * src/gnm-random.c (random_01_mersenne): Produce full precision
3464 for long double case.
3465 (mt_setup_win32): New function.
3466 (random_01_determine): Try mt_setup_win32 on Win32. Fixes
3469 2010-08-05 Morten Welinder <terra@gnome.org>
3471 * src/value.c (value_new_from_string): Quiet warning.
3473 * src/xml-sax-read.c (xml_sax_must_have_sheet): New function. Use
3474 heavily throughout the parser. Fixes #626043.
3475 (xml_sax_colrow): Avoid near-infinite loop.
3477 2010-08-04 Morten Welinder <terra@gnome.org>
3479 * src/xml-sax-read.c (xml_cell_set_array_expr): Use
3480 gnm_cell_set_array. Fixes #626034's original problem.
3482 * src/cell.c (gnm_cell_set_array): New, somewhat saner variant.
3484 * src/expr.c (gnm_expr_eval): Catch when the alleged array corner
3485 isn't a corner. See bug 626034.
3487 * src/cell.c (gnm_cell_set_array_formula): Improve preconditions.
3488 (gnm_cell_cleanout): Add precondition.
3490 * src/mstyle.c (gnm_style_set_font_italic,
3491 gnm_style_set_font_bold, gnm_style_set_font_strike,
3492 gnm_style_set_wrap_text, gnm_style_set_shrink_to_fit,
3493 gnm_style_set_contents_locked, gnm_style_set_contents_hidden):
3495 (gnm_style_set_font_strike): Fix argument type.
3497 2010-08-04 Jean Brefort <jean.brefort@normalesup.org>
3499 * src/dependent.c (gnm_cell_eval_content): force columns span
3500 recalculation when switching between number and error. [#625994]
3502 2010-08-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3504 * src/gui-util.c (gnumeric_create_tooltip_rc_style): set all colours
3505 (gnumeric_create_tooltip): set the label style
3507 2010-08-03 Morten Welinder <terra@gnome.org>
3509 * src/xml-sax-read.c (xml_sax_cell, xml_sax_cell_content): Don't
3510 check data with g_return_if_fail. Plug leaks.
3512 * src/workbook.c (workbook_sheet_by_index): Fix crash. [#625985]
3514 * src/gnm-random.c (random_01_device): Read the right number of
3515 new bytes, just in case.
3517 2010-08-02 Morten Welinder <terra@gnome.org>
3519 * src/gnm-random.c: Split from src/mathfunc.c.
3520 (random_01): Split into manageable pieces.
3522 2010-08-01 Jean Brefort <jean.brefort@normalesup.org>
3524 * src/item-bar.c (ib_draw_cell): use theme foreground color for row and
3525 column headers. [#625727]
3527 2010-07-31 Jean Brefort <jean.brefort@normalesup.org>
3529 * src/sheet-object-graph.c (legend_start), (position_end),
3530 (gnm_sogg_prep_sax_parser): import the legend from guppi graph.
3532 2010-07-31 Jean Brefort <jean.brefort@normalesup.org>
3534 * src/sheet-object-graph.c (dim_start): survive malformed guppi graphs.
3537 2010-07-31 Jean Brefort <jean.brefort@normalesup.org>
3539 * src/sheet-object-graph.c (gnm_sog_prep_sax_parser),
3540 (sheet_object_graph_ensure_size), (vector_start), (vector_end),
3541 (plot_type_start), (series_start), (dim_start), (marker_end),
3542 (linear_start), (cubic_start), (horiz_end), (stacked_end),
3543 (percent_end), (separation_end), (bubble_end),
3544 (gnm_sogg_sax_parser_done), (gnm_sogg_prep_sax_parser): import Guppi
3545 graphs from gnumeric-1.0.x files. [#567953]
3547 2010-07-30 Morten Welinder <terra@gnome.org>
3549 * configure.in: Post-release bump.
3551 2010-07-30 Morten Welinder <terra@gnome.org>
3555 2010-07-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3557 * src/commands.c (cmd_autofilter_set_condition): new
3558 * src/commands.h (cmd_autofilter_set_condition): new
3559 * src/sheet-filter.c (gnm_filter_condition_dup): publish
3560 (gnm_filter_condition_free): publish
3561 * src/sheet-filter.h (gnm_filter_condition_dup): new
3562 (gnm_filter_condition_free): new
3563 * src/undo.c (GNM_UNDO_FILTER_SET_CONDITION): new object
3564 * src/undo.h (GNM_UNDO_FILTER_SET_CONDITION): new object
3566 2010-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3568 * src/wbc-gtk.c (cb_accept_input_array): new
3569 (cb_accept_input_selected_cells): new
3570 (cb_accept_input_selected_merged): new
3571 (cb_accept_input_menu_sensitive_selected_cells): new
3572 (cb_accept_input_menu_sensitive_selected_merged): new
3573 (cb_accept_input_menu): new
3574 (edit_area_button_menu): new
3575 (wbc_gtk_create_edit_area): use edit_area_button_menu for ok_button
3577 2010-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3579 * src/commands.c (cmd_reorganize_sheets_delete_cmp_f): rename
3580 to cmd_tabulate_cmp_f and change caller (which is cmd_tabulate_undo)
3582 2010-07-28 Morten Welinder <terra@gnome.org>
3584 * src/preview-grid-impl.h (_PreviewGrid): Get rid of unused GdkGC
3587 2010-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3589 * src/wbc-gtk.c (wbc_gtk_create_status_area): size the autoexpr
3590 label to contain about 25 typical characters and ellipsize it on
3592 * src/workbook-view.c (wb_view_auto_expr_recalc): format the
3593 autoexpression to an appropriate length
3595 2010-07-28 Morten Welinder <terra@gnome.org>
3597 * src/style-border.h (struct _GnmBorder): Eliminate unused
3600 2010-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3602 * src/mstyle.c (gnm_style_get_pango_attrs): use
3603 gnm_translate_underline_to_pango
3604 (gnm_style_generate_attrs_full): use gnm_translate_underline_to_pango
3605 (gnm_style_set_from_pango_attribute): use
3606 gnm_translate_underline_from_pango
3607 * src/style.c (gnm_translate_underline_to_pango): new
3608 (gnm_translate_underline_from_pango): new
3609 * src/style.h (gnm_translate_underline_to_pango): new
3610 (gnm_translate_underline_from_pango): new
3611 * src/wbc-gtk-actions.c (FontSingleLowUnderline): new actions
3612 (FontDoubleLowUnderline): new actions
3613 (cb_font_underline_low): new
3614 (cb_font_double_underline_low): new
3615 * src/wbc-gtk-impl.h (_WBCGtk): add toggle action fields
3616 * src/wbc-gtk.c (wbc_gtk_style_feedback_real): handle
3618 (wbc_gtk_init): add Font*LowUnderline
3620 2010-07-28 Morten Welinder <terra@gnome.org>
3622 * src/item-grid.c (item_grid_init): Kill all GdkGCs which aren't
3625 2010-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3627 * src/dead-kittens.h (gtk_dialog_get_content_area): new
3629 2010-07-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3631 * schemas/gnumeric-dialogs.schemas.in: new item search-results
3632 * schemas/gnumeric-general.schemas.in: fix typo
3633 * src/gnumeric-gconf.c (gnm_conf_*et_searchreplace_search_results*): new
3634 * src/gnumeric-gconf.h (gnm_conf_*et_searchreplace_search_results*): new
3636 2010-07-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3638 * component/Gnumeric-embed.xml.in: add "clear filtered" menu items
3639 * src/GNOME_Gnumeric-gtk.xml.in: ditto
3640 * src/HILDON_Gnumeric-gtk.xml.in: ditto
3641 * src/commands.c (cmd_selection_clear_row_handler): new
3642 (cmd_selection_clear): adjust selection if only considering filtered rows
3643 * src/ranges.c (range_fragment_free): delete
3644 * src/ranges.h (range_fragment_free): change into a define using
3646 * src/sheet.h (SheetClearFlags): add CLEAR_FILTERED_ONLY
3647 * src/wbc-gtk-actions.c (cb_edit_clear_*_filtered): new
3648 (EditClear*Filtered): new actions
3650 2010-07-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3652 * src/clipboard.c (cb_clipboard_copy_range_undo): paste everything back
3653 * src/commands.c (cmd_clear_*): delete
3654 (cmd_selection_clear): rewrite using GOUndo
3655 * src/sheet.c (sheet_clear_region_undo): new
3656 (sheet_clear_region_cb): new
3657 * src/sheet.h (sheet_clear_region_undo): new
3659 2010-07-23 Morten Welinder <terra@gnome.org>
3661 * src/func.c (gnm_func_sanity_check1): Make sure argument names,
3662 as documented, are unique.
3664 2010-07-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3666 * schemas/gnumeric-general.schemas.in: add tooltip preferences
3667 * src/gnumeric-gconf.h
3668 (gnm_conf_*et_core_gui_editing_function_argument_tooltips*): new
3669 * src/gnumeric-gconf.c
3670 (gnm_conf_*et_core_gui_editing_function_name_tooltips*): new
3672 2010-07-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3674 * src/func.h (GNM_FUNC_RECALC_ONLOAD): not used
3676 2010-07-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3678 * src/func.c (gnm_func_get_description): new
3679 * src/func.h (gnm_func_get_description): new
3680 * src/symbol.c (symbol_names_cb): new
3681 (symbol_names): rewrite to work in gtk 2.12 and to provide more info
3683 2010-07-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3685 * src/wbc-gtk-actions.c (cb_help_function): use
3686 dialog_function_select_help instead of dialog_function_select
3688 2010-07-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3690 * src/wbc-gtk-edit.c (wbcg_edit_finish): check whether showed_dialog
3691 is NULL before using it
3693 2010-07-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3695 * configure.in: checks for g_date_set_time_t and g_slice_alloc have
3696 been superceded by the glib 2.12 requirement; check for
3697 g_hash_table_get_keys
3698 * src/dependent.c: remove HAVE_G_SLICE_ALLOC throughout
3699 * src/func.c (gnm_func_lookup_prefix): new
3700 * src/func.h (gnm_func_lookup_prefix): new
3701 * src/rendered-value.c: remove HAVE_G_SLICE_ALLOC throughout
3702 * src/symbol.c (symbol_names): new
3703 * src/symbol.h (symbol_names): new
3704 * src/value.c: remove HAVE_G_SLICE_ALLOC throughout
3706 2010-07-18 Morten Welinder <terra@gnome.org>
3708 * src/wbc-gtk-edit.c (attrs_at_byte): Fix signedness problem.
3709 (cb_entry_cursor_pos): Ditto.
3711 2010-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3713 * src/commands.h (cmd_selection_format_toggle_font_style): new
3714 * src/commands.c (cmd_selection_format_toggle_font_style): new
3715 (cmd_selection_format_toggle_font_style_cb): new
3716 (cmd_selection_format_toggle_font_style_filter): new
3717 * src/sheet.c (sheet_apply_style_cb): call sheet_flag_style_update_range
3718 * src/wbc-gtk-actions.c (toggle_font_attr): use
3719 cmd_selection_format_toggle_font_style
3721 2010-07-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3723 * src/clipboard.c (clipboard_paste_region): allow single merge to single
3725 * src/commands.c (CmdPasteCopy): add field
3726 (cmd_paste_copy): allow single merge to single merge pasting
3728 2010-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3730 * src/sheet-control-gui.c (context_menu_handler): handle merging and
3732 (scg_context_menu): add merge and unmerge menuitems.
3734 2010-07-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3736 * src/item-grid.c (draw_function_marker): new
3737 (item_grid_draw_region): call draw_function_marker when appropriate
3738 (item_grid_draw_merged_range): ditto
3739 * src/workbook-view.c (wb_view_set_attribute): handle new attribute
3740 (wb_view_set_property): ditto
3741 (workbook_view_class_init): ditto
3742 (workbook_view_new): ditto
3743 (wb_view_get_property): ditto
3744 * src/workbook-view.h (_WorkbookView): new field
3746 2010-07-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3748 * schemas/gnumeric-general.schemas.in
3749 (/schemas/apps/gnumeric/core/file/save/extension-check-disabled): new
3750 * src/gnumeric-gconf.h: include above key
3751 * src/gnumeric-gconf.c: ditto
3752 * src/gui-file.c (extension_check_disabled): new
3753 (gui_file_save_as): obey the extension-check-disabled preference
3755 2010-07-13 Morten Welinder <terra@gnome.org>
3757 * src/parse-util.h (gnm_expr_lex_all): new
3758 (GnmLexerItem): new type
3759 * src/parser.y (setup_state): new (code from gnm_expr_parse_str)
3760 (gnm_expr_lex_all): new
3761 (gnm_expr_parse_str): use setup_state
3763 2010-07-13 Jean Brefort <jean.brefort@normalesup.org>
3765 * src/cellspan.c (cell_calc_span): fixed crash introduced earlier. [#624274]
3767 2010-07-13 Jean Brefort <jean.brefort@normalesup.org>
3769 * src/graph.c (gnm_go_data_vector_load_len): fixed a regression. [#624263]
3771 2010-07-13 Jean Brefort <jean.brefort@normalesup.org>
3773 * src/cell-draw.c (cell_calc_layout): fixed alignment in cells with rtl
3774 text and rtl sheets. [see #623241]
3775 * src/cellspan.c (cell_calc_span): ditto.
3776 * src/item-edit.c (get_top_left): ditto.
3777 * src/item-grid.c (item_grid_draw_region): ditto.
3778 * src/rendered-value.c (gnm_rendered_value_new): ditto.
3780 2010-07-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3782 * component/Gnumeric-embed.xml.in: add submenu to Insert menu
3783 * src/GNOME_Gnumeric-gtk.xml.in: add submenu to Insert menu
3784 * src/HILDON_Gnumeric-gtk.xml.in: add submenu to Insert menu
3785 * src/wbc-gtk-actions.c (cb_insert_sort_*cending): new actions
3786 (permanent_actions): add MenuInsertFormulaWrap, InsertSortDecreasing
3787 and InsertSortIncreasing
3788 * src/wbc-gtk.c (wbcg_menu_state_update): handle the above new actions
3789 * src/workbook-cmd-format.c (workbook_cmd_wrap_sort): new
3790 (cb_get_cell_content): new
3791 * src/workbook-cmd-format.h (workbook_cmd_wrap_sort): new
3793 2010-07-11 Jean Brefort <jean.brefort@normalesup.org>
3795 * src/item-edit.c (item_edit_draw), (item_edit_button_pressed),
3796 (item_edit_motion), (item_edit_update_bounds): fix ItemEdit
3797 alignment for RTL text. [see #623241]
3799 2010-07-10 Jean Brefort <jean.brefort@normalesup.org>
3801 * src/graph.c (gnm_go_data_vector_load_len): don't crash with an
3804 2010-07-09 Morten Welinder <terra@gnome.org>
3806 * src/wbc-gtk.c (cb_graph_dim_editor_update): Use the right enum
3807 type for parse flags.
3809 2010-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3811 * src/sheet-control-gui.c (context_menu_handler): add autofit actions
3812 (scg_context_menu): add autofit items
3813 * src/wbc-gtk-actions.c: add some icons to actions
3815 2010-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3817 * component/Gnumeric-embed.xml.in: add menu items to Format->Cells
3818 * src/GNOME_Gnumeric-gtk.xml.in: ditto
3819 * src/HILDON_Gnumeric-gtk.xml.in: ditto
3820 * src/colrow.c (colrow_set_sizes): add arguments to restrict the
3821 range of autofitting.
3822 * src/colrow.h (colrow_set_sizes): add arguments
3823 * src/commands.c (cmd_autofit_selection): new
3824 (cmd_resize_colrow): adjust call of colrow_set_sizes
3825 * src/commands.h (cmd_autofit_selection): new
3826 * src/stf-parse.c (stf_parse_sheet): adjust call of colrow_set_sizes
3827 * src/undo.c (gnm_undo_colrow_set_sizes_new): ditto
3828 (gnm_undo_colrow_set_sizes_undo): adjust call of colrow_set_sizes
3829 * src/undo.h (_GNMUndoColrowSetSizesClass): add from/to specifiers
3830 (gnm_undo_colrow_set_sizes_new): ditto
3831 * src/wbc-gtk-actions.c (cb_format_cells_auto_fit_height): new
3832 (cb_format_cells_auto_fit_width): new
3833 (FormatCellsFitHeight): new action
3834 (FormatCellsFitWidth): new action
3835 * src/workbook-cmd-format.c (workbook_cmd_autofit_selection): new
3836 * src/workbook-cmd-format.h (workbook_cmd_autofit_selection): new
3838 2010-07-08 Morten Welinder <terra@gnome.org>
3840 * src/wbc-gtk-actions.c (cb_format_as_currency): Use
3841 go_format_details_new and _free.
3843 2010-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3845 * src/GNOME_Gnumeric-gtk.xml.in: add merge and unmerge menu items
3846 * src/HILDON_Gnumeric-gtk.xml.in: ditto
3847 * component/Gnumeric-embed.xml.in: ditto
3848 * src/wbc-gtk-actions.c (permanent_actions): add cellformat sub menu
3849 (actions): modify menu text
3851 2010-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3853 * src/wbc-gtk-actions.c (cb_edit_clear_all): include CLEAR_COMMENTS
3856 2010-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3858 * src/GNOME_Gnumeric-gtk.xml.in: add and move hyperlink and
3860 * src/HILDON_Gnumeric-gtk.xml.in: ditto
3861 * component/Gnumeric-embed.xml.in: ditto
3862 * src/sheet-view.c (sv_update): also check the comment and hyperlink
3864 * src/wbc-gtk-actions.c (cb_edit_delete_links): new
3865 (permanent_actions): new Modify submenu of the Edit menu
3866 (actions): add and move hyperlink and comment actions
3867 * src/wbc-gtk.c (wbcg_menu_state_update): handle hyperlink and comment
3869 * src/workbook-control.h: new MS_* flags
3871 2010-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3873 * src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions
3875 2010-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3877 * src/sheet-control-gui.c (context_menu_handler): enable column and row
3878 width/hide/unhide on cell selections
3880 2010-07-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3882 * src/sheet-control-gui.c (context_menu_handler): fix capitalization
3884 2010-07-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3886 * src/sheet-control-gui.c (context_menu_handler): make the items context
3889 2010-07-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3891 * src/sheet-control-gui.c (context_menu_handler): use the number of links
3893 (scg_context_menu): show the correct hyperlink menu items.
3895 2010-07-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3897 * src/gui-util.h (GnumericPopupMenuElement): add field
3898 * src/gui-util.c (gnumeric_create_popup_menu): handle new field
3899 * src/sheet-control-gui.c (context_menu_handler): handle removal
3900 and cretion of comments
3901 (scg_context_menu): add new items for comment addition and removal
3903 2010-07-06 Jean Brefort <jean.brefort@normalesup.org>
3905 * src/item-edit.c (get_top_left), (item_edit_draw),
3906 (item_edit_button_pressed), (item_edit_motion),
3907 (item_edit_realize), (item_edit_unrealize): fix strong/weak cursor
3910 2010-07-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3912 * src/commands.c (cmd_autofilter_add_remove): handle extension of
3913 an existing autofilter.
3914 * src/sheet-filter.h (gnm_sheet_filter_can_be_extended): new
3915 * src/sheet-filter.c (gnm_sheet_filter_can_be_extended): new
3916 * src/sheet-view.h (sv_selection_extends_filter): new
3917 * src/sheet-view.c (sv_selection_extends_filter): new
3918 (sv_selection_intersects_filter_rows): add qualifier
3919 * src/wbc-gtk.c (wbcg_menu_state_update): check whether auto filter
3922 2010-07-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3924 * src/commands.c (CMD_AUTOFILTER_ADD_REMOVE): delete
3925 (cmd_autofilter_add_remove_*): delete
3926 (cmd_autofilter_add_remove): rewrite using cmd_generic (prep for
3927 enhancement request #607086)
3929 2010-07-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3931 * src/sheet-filter.h (gnm_sheet_filter_intersect_rows): new
3932 * src/sheet-filter.c (gnm_sheet_filter_intersect_rows): new
3933 * src/sheet-view.h (sv_selection_intersects_filter_rows): new
3934 * src/sheet-view.c (sv_selection_intersects_filter_rows): new
3935 * src/wbc-gtk.c (wbcg_menu_state_update): check for prohibited
3936 autofilter positions
3938 2010-07-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3940 * src/sheet-control-gui.c (scg_drag_receive_same_process): one need to
3941 first duplicate the sheet before committing that change
3943 2010-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3945 * src/commands.c (cmd_objects_move): simplify
3946 * src/sheet-control-gui.h (scg_objects_drag_commit): add arguments
3947 * src/sheet-control-gui.c (scg_objects_drag_commit): add arguments
3948 to return GOUndo items and change all callers
3949 (scg_objects_drag_commit_get_undo_text): new (code from
3950 scg_objects_drag_commit)
3951 (scg_drag_receive_same_process): combine the undos before committing
3953 2010-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3955 * src/commands.c (cmd_objects_move): move most code into
3956 sheet_object_move_undo and sheet_object_move_do
3957 * src/sheet-object.h (sheet_object_move_undo): new
3958 (sheet_object_move_do): new
3959 * src/sheet-object.c (sheet_object_move_undo): new
3960 (sheet_object_move_do): new
3962 2010-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3964 * src/sheet-control-gui.c (scg_objects_drag_commit): simplify slightly
3965 (scg_drag_receive_same_process): pass the correct argument to
3966 scg_objects_drag_commit
3967 * src/sheet-object.c (sheet_object_set_sheet): don't complain if the object
3968 is already set to this sheet.
3969 * src/commands.c (CMD_OBJECTS_MOVE): delete
3970 (cmd_objects_move_*): delete
3971 (cmd_objects_move): rewrite using GOUndo
3973 2010-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3975 * src/sheet-control-gui.c (scg_objects_drag_commit): don't be cheesy, ie.
3978 2010-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3980 * schemas/gnumeric-dialogs.schemas.in: fix typo
3982 2010-07-01 Morten Welinder <terra@gnome.org>
3984 * src/func.c (check_argument_refs): New function.
3985 (gnm_func_sanity_check1): Check argument references.
3987 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3989 * src/gnm-format.h: add define
3990 * src/cell-draw.c (cell_calc_layout): replicate the pango attributes
3993 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3995 * src/gnm-format.c (format_value_common): use go_string_replace
3996 * src/func.c (gnm_func_convert_markup_to_pango): ditto
3998 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4000 * src/cell-draw.c (cell_calc_layout): HALIGN_FILL overrides wrap_text
4002 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4004 * src/gnm-format.c (format_value_common): in one-paragraph mode
4005 replace newlines with visible glyphs.
4007 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4009 * src/stf-export.c (try_auto_float): new
4010 (stf_export_cell): call try_auto_float
4012 2010-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4014 * schemas/gnumeric-dialogs.schemas.in: new preferences for
4015 search and replace dialog
4016 * src/gnumeric-gconf.c: add the items generated from the above
4018 * src/gnumeric-gconf.h: ditto
4020 2010-06-28 Morten Welinder <terra@gnome.org>
4022 * configure.in: Post-release bump.
4024 2010-06-28 Morten Welinder <terra@gnome.org>
4028 2010-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4030 * src/commands.c (cmd_area_set_text): handle markup
4031 * src/sheet.h (sheet_range_set_markup_undo): new
4032 * src/sheet.c (sheet_range_set_markup_undo): new
4033 (cb_set_markup): new
4034 (sheet_range_set_markup_cb): new
4035 * src/wbc-gtk-edit.c (wbcg_edit_finish): pass the amrkup also to
4038 2010-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4040 * src/commands.c (CMD_AREA_SET_TEXT): deleted
4041 (cmd_area_set_text_*): deleted
4042 (cmd_area_set_text): rewritten using GO_UNDO
4043 * src/sheet.h (sheet_range_set_text_undo): new
4044 (sheet_range_set_expr_undo): new
4045 (sheet_apply_style_undo): new
4046 * src/sheet.c (sheet_range_set_text_undo): new
4047 (sheet_range_set_expr_undo): new
4048 (sheet_apply_style_undo): new
4049 (sheet_apply_style_cb): new
4050 (sheet_range_set_expr_cb): new
4051 (sheet_range_set_text_cb): new
4052 * src/wbc-gtk-edit.c (wbcg_edit_finish): provide initialization to
4055 2010-06-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4057 * src/commands.h (cmd_area_set_text): change arguments
4058 * src/commands.c (cmd_area_set_text): this will not be
4059 called for array functions any longer
4060 (cmd_create_data_table): rewrite using cmd_generic
4061 * src/ranges.c (undo_cell_pos_name): correct comment
4062 * src/test-pango.c (cb_exercise_pango): adjust the cmd_area_set_text
4064 * src/wbc-gtk-edit.c (wbcg_edit_finish): ditto
4066 2010-06-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4068 * src/cell.h (gnm_cell_set_array_formula_undo): new
4069 * src/cell.c (gnm_cell_set_array_formula_undo): new
4070 (gnm_cell_set_array_formula_cb): new
4071 * src/commands.h (cmd_cell_range_is_locked_effective): new
4072 (cmd_selection_is_locked_effective): new
4073 (cmd_area_set_array_expr): new
4074 * src/commands.c (cmd_cell_range_is_locked_effective): publish
4075 (cmd_selection_is_locked_effective): publish
4076 (cmd_area_set_array_expr): new
4077 * src/wbc-gtk-edit.c (wbcg_edit_finish): check whether the range
4078 is locked; call cmd_area_set_array_expr when appropriate
4080 2010-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4082 * src/wbc-gtk-edit.c (wbcg_edit_finish): don't hide a varaible by
4083 using the same name.
4085 2010-06-25 Morten Welinder <terra@gnome.org>
4087 * src/gui-clipboard.c (table_content_received): Skip headers for
4089 (parse_ms_headers): New function.
4091 2010-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4093 * src/Makefile.am (undo.[ch]): added
4094 * src/commands.h: formatting
4095 * src/commands.c (cmd_resize_colrow_*): deleted
4096 (cmd_resize_colrow): reimplement using GOUndo.
4097 * src/colrow.h (colrow_get_sizes): new
4098 (colrow_index_list_copy): new
4099 * src/colrow.c (colrow_restore_state_group): don't destroy the indexlist.
4101 (colrow_get_sizes): new
4102 (colrow_index_list_copy): new
4103 * src/undo.[ch]: new
4105 2010-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4107 * src/commands.h (gnm_cmd_trunc_descriptor): new
4108 * src/commands.c (gnm_cmd_trunc_descriptor): publish and add optional
4109 'truncated' argument. Change all callers.
4110 * src/ranges.c (max_range_name_width): deleted
4111 (undo_range_name): use gnm_cmd_trunc_descriptor
4112 (range_list_name_try): change arguments, use gnm_cmd_trunc_descriptor
4113 (undo_range_list_name): adjust to changes to range_list_name_try
4115 2010-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4117 * src/wbc-gtk-edit.c (wbcg_edit_finish): don't free memory until we
4120 2010-06-24 Morten Welinder <terra@gnome.org>
4122 * src/gnm-pane.c (gnm_pane_key_mode_sheet): Untangle old
4123 fall-through mess and make BackSpace work as delete when we are
4126 * src/func.c (gnm_func_convert_markup_to_pango): Remove reference
4127 to g_string_overwrite which wouldn't work right.
4129 2010-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4131 * src/stf-parse.h: add field to parseoptions
4132 * src/stf-parse.c (stf_parse_options_new): handle new field
4133 (stf_parse_options_free): handle new field
4134 (stf_parse_sheet): autofit columns
4136 2010-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4138 * src/validation.h (validation_eval_range): new
4139 * src/validation.c (validation_eval_range): new
4140 (validation_eval_range_cb): new
4141 * src/wbc-gtk-edit.c (wbcg_edit_finish): use validation_eval_range
4143 2010-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4145 * src/wbc-gtk-edit.c (wbcg_edit_finish): only call a cmd_...
4146 when we have validated.
4148 2010-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4150 * src/commands.c (make_undo_text): modify to use GString and
4152 (cmd_resize_colrow): use make_undo_text
4153 (cmd_zoom): use make_undo_text
4155 2010-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4157 * src/commands.h (cmd_so_rename): deleted
4158 * src/commands.c (cmd_so_rename*): deleted
4160 2010-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4162 * src/gui-util.c (gnumeric_create_tooltip): windows should have names
4164 2010-06-17 Morten Welinder <terra@gnome.org>
4166 * src/gui-util.c (gnumeric_popup_menu): We have passed gtk+ 2.8 by
4168 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Ditto.
4170 2010-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4172 * src/func.h (gnm_func_convert_markup_to_pango): drop highlight arg
4173 * src/func.c (gnm_func_convert_markup_to_pango): ditto
4174 * src/gui-util.h (gnumeric_create_tooltip_rc_style): new
4175 (gnumeric_create_tooltip_widget): new
4176 * src/gui-util.c (gnumeric_create_tooltip_rc_style): new
4177 (gnumeric_create_tooltip_widget): new
4178 (gnumeric_create_tooltip): split off the above two
4180 2010-06-16 Morten Welinder <terra@gnome.org>
4182 * configure.in: Post-release bump.
4184 2010-06-16 Morten Welinder <terra@gnome.org>
4188 2010-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4190 * src/func.h (gnm_func_convert_markup_to_pango): new
4191 * src/func.c (gnm_func_convert_markup_to_pango): new
4193 2010-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4195 * src/commands.c (cmd_paste_copy): check with user if more than
4196 10000 copies are to be pasted.
4198 2010-06-16 Morten Welinder <terra@gnome.org>
4200 * src/gui-util.c (gnumeric_create_tooltip): Set type hint and
4203 2010-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4205 * src/colrow.h (colrow_index_list_destroy): turn into a define
4206 (colrow_state_list_destroy) : ditto
4207 (colrow_vis_list_destroy): ditto
4208 (colrow_vis_list_length): new
4209 * src/colrow.c (colrow_index_list_destroy): delete
4210 (colrow_state_list_destroy) : ditto
4211 (colrow_vis_list_destroy): ditto
4212 (colrow_vis_list_length): new
4213 (cb_colrow_index_counter): new
4214 * src/commands.c (cmd_selection_colrow_hide): check whether this
4215 would hide the whole sheet.
4217 2010-06-16 Morten Welinder <terra@gnome.org>
4219 * src/dependent.c (dependent_managed_init): Zero the right amount
4222 2010-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4224 * configure.in: check for gtk_widget_get_allocation
4225 * src/dead-kittens.h (gtk_widget_get_allocation): new
4227 2010-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4229 * src/GNOME_Gnumeric-gtk.xml.in: add new menu items
4230 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4231 * component/Gnumeric-embed.xml.in: ditto
4232 * src/sheet-utils.c (gnm_sheet_guess_data_range): new
4233 * src/sheet-utils.h (gnm_sheet_guess_data_range): new
4234 * src/wbc-gtk-actions.c (cb_edit_goto_*): new
4236 * src/wbc-gtk.c (cb_cs_go_*): new
4237 (wbc_gtk_cell_selector_popup): new
4238 (wbc_gtk_create_edit_area): connect the above (for gtk 2.16+)
4239 * src/workbook-control.h (wb_control_navigate_to_cell): new
4240 * src/workbook-control.c (wb_control_navigate_to_cell): new
4242 2010-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4244 * src/func.h (tokenized_help_*): deleted
4245 (gnm_func_get_arg_description): new
4246 * src/func.c (tokenized_help_*): deleted
4247 (gnm_func_get_arg_description): new
4248 (gnm_func_sanity_check1): check for empty arg descriptions
4250 2010-06-15 Morten Welinder <terra@gnome.org>
4252 * src/collect.c (collect_float_pairs): New function, extracted
4253 from float_range_function2d.
4254 (float_range_function2d): simplify and plug leak.
4256 * src/gnm-datetime.c (datetime_value_to_seconds): Improve sanity
4259 * src/mathfunc.c (pbeta): Simplify.
4261 2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4263 * src/mathfunc.c (pbinom2): pbinom's right tail calculation
4264 does not include the lower limit.
4266 2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4268 * src/wbc-gtk-edit.c (wbcg_edit_finish): close the tooltips of
4271 2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4273 * src/func-builtin.c (help_if): fix argument description
4274 * src/func.c (gnm_func_sanity_check1): add checks
4276 2010-06-14 Morten Welinder <terra@gnome.org>
4278 * src/mathfunc.c (pbinom2): New function extracted from
4279 gnumeric_binom_dist_range and improved.
4281 2010-06-13 Morten Welinder <terra@gnome.org>
4283 * src/func.c (check_help_expression): New function.
4285 * src/parser.y (yylex): Fix parsing of calls to LOG2 and LOG10 in
4286 sheets with more than ~8500 columns.
4288 * src/func.c (copy_hash_table_to_ptr_array): Don't test perl
4290 (gnm_func_sanity_check1): Check for unwanted space after colon and
4291 for unwanted period at end.
4293 * src/wbc-gtk.c (cb_sheet_visibility_change): Set visibility of
4294 both label and page. Fixes #621463.
4296 2010-06-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4298 * src/expr.c (gnm_insert_unique_value_cmp): new
4299 (gnm_insert_unique_value): new
4300 (do_gnm_expr_get_ranges): use gnm_insert_unique_value rather than
4301 gnm_insert_unique which only compares pointers
4303 2010-06-11 Jean Brefort <jean.brefort@normalesup.org>
4305 * src/item-edit.c (item_edit_draw): Fixed multi-line item edit
4306 selection. [#621235]
4308 2010-06-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4310 * src/gnm-pane-impl.h: make cursor.expr_range into a GSList
4311 * src/gnm-pane.h (gnm_pane_expr_cursor_bound_set): add main_colour arg
4312 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): add main_colour
4313 arg and don't delete existing cursors
4315 2010-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4317 * src/func-builtin.c (help_if): remove inconsistent period
4319 2010-06-10 Morten Welinder <terra@gnome.org>
4321 * src/sheet.c (gnm_sheet_set_property): Mark sheet dirty in more
4322 circumstances. Fixes #621191.
4324 2010-06-09 Morten Welinder <terra@gnome.org>
4326 * src/wbc-gtk.c (wbcg_notebook_tabs_visibility): Use
4327 gtk_widget_set_visible and simplify.
4329 * src/dead-kittens.h: New file for kittens killed by gtk.
4331 2010-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4333 * component/Gnumeric-embed.xml.in: add Function Help
4334 * src/GNOME_Gnumeric-gtk.xml.in: ditto
4335 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4336 * src/wbc-gtk-actions.c (cb_help_function): new
4337 (permanent_actions): attach cb_help_function
4339 2010-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4340 for Konstantin Tokarev
4342 * src/parse-util.c (gnm_expr_char_start_p): allow blanks after
4343 the initial operator symbol or = in an expression.
4345 2010-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4347 * src/expr-name.h (expr_name_validate): drop Sheet argument
4348 * src/commands.c (cmd_define_name): change the caller here
4349 * src/expr-name.c (expr_name_validate): and the definition
4350 here; use the following two functions
4351 (expr_name_validate_r1c1): new
4352 (expr_name_validate_a1): new
4354 2010-06-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4356 * src/expr-name.h (expr_name_in_use): new
4357 * src/expr-name.c (expr_name_in_use): new
4358 (do_expr_name_loop_check): add argument and change all callers
4359 (cb_expr_name_check_for_name): new
4360 (cb_expr_name_check_for_name_eq): new
4361 (expr_name_check_for_name): new
4363 2010-06-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4365 * src/commands.c (cmd_define_name): be clearer with the error
4367 (cmd_rescope_name_redo): watch out for returned error strings
4369 2010-06-04 Morten Welinder <terra@gnome.org>
4371 * src/gnm-pane.c (gnm_pane_display_obj_size_tip): Fix critical.
4373 * src/commands.c (cmd_generic): Rename from cmd_solver.
4374 (cmd_generic_with_size): New function.
4376 2010-06-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4378 * configure.in: check for gtk_entry_set_icon_from_stock
4380 2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4382 * src/commands.h (cmd_rescope_name): new
4383 * src/commands.c (cmd_rescope_name): new
4384 (cmd_rescope_name_*): new
4386 2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4388 * configure.in: check for gtk_entry_get_text_length
4390 2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4392 * src/wbc-gtk-actions.c: make PasteNames action permanent
4393 * src/wbc-gtk.c (wbcg_menu_state_update): update PasteNames
4395 2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4397 * component/Gnumeric-embed.xml.in: add Paste Names
4398 * src/GNOME_Gnumeric-gtk.xml.in: ditto
4399 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4400 * src/wbc-gtk-actions.c: add ...
4402 2010-06-02 Jean Brefort <jean.brefort@normalesup.org>
4404 * src/item-bar.c (item_bar_button_released): do not ungrab a not grabbed
4407 2010-05-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4409 * component/Gnumeric-embed.xml.in: added Wilcoxon Signed-Rank items
4410 and rearrange into separate statistics menu.
4411 * src/GNOME_Gnumeric-gtk.xml.in: ditto
4412 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4413 * src/wbc-gtk-actions.c: ditto
4414 (cb_tools_sign_test_two_medians): use new tool
4415 (cb_tools_wilcoxon_signed_rank_two_medians): new
4416 (cb_tools_wilcoxon_signed_rank_two_medians): new
4418 2010-05-31 Morten Welinder <terra@gnome.org>
4420 * src/hlink.c (gnm_hlink_external_activate): Use go_gtk_url_show.
4422 * src/wbc-gtk-actions.c (cb_help_web, cb_help_irc, cb_help_bug):
4423 use go_gtk_url_show so we get the right screen.
4425 2010-05-30 Morten Welinder <terra@gnome.org>
4427 * configure.in: Post-release bump.
4429 2010-05-30 Morten Welinder <terra@gnome.org>
4433 2010-05-28 Morten Welinder <terra@gnome.org>
4435 * tools/win32/moduleset.in: Link with -no-undefined. Fixes
4438 2010-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4440 * component/Gnumeric-embed.xml.in: added Wilcoxon menu item.
4441 * src/GNOME_Gnumeric-gtk.xml.in: ditto
4442 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4443 * src/wbc-gtk-actions.c (MenuToolTwoMedians): new submenu
4444 (cb_tools_wilcoxon_mann_whitney): new
4445 (ToolsTwoMedianWilcoxonMannWhitney): new
4447 2010-05-24 Morten Welinder <terra@gnome.org>
4449 * src/ssconvert.c (ssconvert_options): Hide the --solve flag as
4452 * src/gnm-plugin.c (plugin_service_solver_read_xml): Handle "qp"
4455 2010-05-21 Morten Welinder <terra@gnome.org>
4457 * src/xml-sax-write.c (xml_write_solver): Write model type.
4459 * src/xml-sax-read.c (xml_sax_solver_start): Load model type.
4461 * src/stf-parse.c (stf_parse_region): Avoid reading beyond the end
4462 of the format array. Fixes #619283.
4464 2010-05-20 Morten Welinder <terra@gnome.org>
4466 * configure.in: Post-release bump.
4468 2010-05-20 Morten Welinder <terra@gnome.org>
4472 2010-05-19 Morten Welinder <terra@gnome.org>
4474 * src/number-match.c (handle_int): Impose a length restriction
4475 too. All callers changed.
4476 (format_match_datetime): Accepts "Jan 2010" and "January 2010"
4478 (valid_dmy): New function.
4479 (format_match_datetime): Use valid_dmy over g_date_valid_dmy.
4481 2010-05-18 Morten Welinder <terra@gnome.org>
4483 * src/collect.c (create_caches): Hook recalc-clear-caches.
4485 * src/application.c (gnm_app_recalc_clear_caches): New function.
4486 (gnm_app_recalc_finish): Call gnm_app_recalc_clear_caches too.
4488 2010-05-17 Morten Welinder <terra@gnome.org>
4490 * src/func-builtin.c (gnumeric_table): Fix interaction with
4491 collect.c in a hacky way.
4493 2010-05-17 Jean Brefort <jean.brefort@normalesup.org>
4495 * src/item-cursor.c (item_cursor_in_drag_handle),
4496 (item_cursor_selection_motion): fixed autofill issues. [#618687]
4498 2010-05-07 Morten Welinder <terra@gnome.org>
4500 * configure.in: Post-release bump.
4502 2010-05-07 Morten Welinder <terra@gnome.org>
4506 2010-05-05 Morten Welinder <terra@gnome.org>
4508 * src/expr.c (value_intersection): Handle non-cell dependency
4509 better. Fixes #142412.
4511 2010-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4513 * src/colrow.h (_ColRowInfo): add in_advanced_filter field
4514 * src/wbc-gtk-actions.c (actions): make it clear that ShowAll
4515 relates to Advanced Filters
4516 * src/wbc-gtk.c (wbcg_menu_state_update): keep has_filtered_rows
4517 for advanced filters separate from the auto filters.
4519 2010-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4521 * src/wbc-gtk-actions.c: change argument to filter_show_all
4522 * src/wbc-gtk.c (wbcg_menu_state_update): use MS_FILTER_STATE_CHANGED
4523 rather than MS_CONSOLIDATE
4524 * src/workbook-control.h (MS_FILTER_STATE_CHANGED): new
4526 2010-05-03 Morten Welinder <terra@gnome.org>
4528 * src/style.c (gnm_pango_context_get): Cache the context. (Some
4529 pango versions are indeterministic in font selection.)
4530 (gnm_font_shutdown): Release the context.
4532 * src/sheet.h (struct _Sheet): Drop context field.
4534 * src/rendered-value.c (gnm_rendered_value_new): Add a
4535 PangoContext* argument. All callers changed.
4537 * src/item-edit.c (item_edit_realize): Use proper pango context.
4539 * src/sheet.c (cb_sheet_cell_copy): Unwrap the array expression.
4541 * src/expr.c (gnm_expr_is_array): New function.
4542 (gnm_expr_new_array_corner): Complain if subexpression in a array.
4543 (gnm_expr_top_is_array): Use gnm_expr_is_array.
4545 * src/sheet.c (sheet_dup_cells): Queue recalc of the new sheet.
4546 (cb_sheet_cell_copy): Don't copy computed values.
4548 2010-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4550 * src/mathfunc.c (gnm_matrix_eigen_max_index): stay in the matrix
4551 (gnm_matrix_eigen_*): use unsigned int
4553 2010-05-03 Morten Welinder <terra@gnome.org>
4555 * src/sheet.c (cb_sheet_cell_copy): Use gnm_cell_assign_value, not
4556 gnm_cell_set_value, for non-corner array cells. Copy the value for same.
4557 Don't leak cells. Fixes most of #617469.
4559 2010-05-02 Morten Welinder <terra@gnome.org>
4561 * src/complex.c (complex_pow): Fix problem on negative real axis.
4563 * src/complex.h (complex_invalid, complex_invalid_p): New
4566 2010-05-01 Morten Welinder <terra@gnome.org>
4568 * src/complex.c (complex_from_string): Reject invalid strings like
4571 2010-04-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4573 * src/cmd-edit.c (cmd_shift_rows): protect against data loss
4574 (cmd_shift_cols): ditto
4576 2010-04-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4578 * src/commands.c (cmd_insert_cols): protect against data loss
4579 (cmd_insert_rows): ditto
4581 2010-04-30 Morten Welinder <terra@gnome.org>
4583 * src/value.c (find_rows_that_match): Fix checking of multiple
4584 criteria. Fixes rest of #164169.
4586 * src/sheet-filter.c (filter_expr_eval): When we're looking for a
4587 number, match also strings. Match strings case insensitively.
4589 2010-04-27 Jean Brefort <jean.brefort@normalesup.org>
4591 * configure.in: needs goffice-0.8.3.
4592 * src/wbc-gtk.c (wbc_gtk_init_borders), (wbc_gtk_init_color_fore),
4593 (wbc_gtk_init_color_back): use the combo-activate signal.
4595 2010-04-27 Morten Welinder <terra@gnome.org>
4597 * src/workbook-view.c (wb_view_set_property,
4598 wb_view_get_property): Keep auto expression attributes too.
4599 (wb_view_auto_expr_recalc): Set colour when needed. Fixes
4602 * src/wbc-gtk.c (wbcg_auto_expr_text_changed): Set attributes too.
4603 (wbcg_view_changed): Watch attribute changes too.
4605 * src/gutils.c (gnm_pango_attr_list_equal): Import from commands.c
4606 and make this public.
4608 2010-04-23 Jean Brefort <jean.brefort@normalesup.org>
4610 * src/graph.c (gnm_go_data_unserialize),
4611 (gnm_go_data_vector_load_len), (gnm_go_data_vector_load_values): allow
4612 multiple and block selection for graph vector data.
4613 * src/wbc-gtk.c (cb_graph_dim_editor_update): ditto.
4615 2010-04-22 Morten Welinder <terra@gnome.org>
4617 * src/wbc-gtk.c (wbcg_sheet_add): Set label's initial visibility.
4620 2010-04-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4622 * gnumeric.doap: add e-mail address
4623 * src/print.c (print_page): graphs on graph sheets always take
4624 the whole space, no need to center
4626 2010-04-21 Morten Welinder <terra@gnome.org>
4628 * src/xml-sax-read.c (xml_sax_cell_content): Handle empty strings.
4631 * src/cell.c (gnm_cell_get_entered_text): Make sure the empty
4632 string gets quoted. Fixes part of #616139.
4634 2010-04-21 Jean Brefort <jean.brefort@normalesup.org>
4636 * src/commands.c (update_sheet_graph_cb), (cmd_print_setup_undo),
4637 (cmd_print_setup_redo): implement graph only sheets (at least for the
4638 visible part). [#158170]
4639 * src/gnumeric.h: ditto.
4640 * src/graph.h: ditto.
4641 * src/print.c (print_page): ditto.
4642 * src/sheet-control-gui.c (scg_resize), (scg_scrollbar_config),
4643 (scg_set_top_left), (scg_make_cell_visible), (scg_set_panes),
4644 (set_resize_pane_pos), (post_create_cb), (sheet_control_gui_new),
4645 (scg_finalize), (scg_unant), (scg_ant), (scg_adjust_preferences),
4646 (scg_object_create_view): ditto.
4647 * src/sheet-object-graph.c (cb_graph_size_changed),
4648 (cb_post_new_view), (gnm_sog_new_view), (gnm_sog_bounds_changed),
4649 (cb_sheet_target_changed), (sheet_object_graph_guru),
4650 (sheet_object_graph_ensure_size): ditto.
4651 * src/sheet-object-graph.h: ditto.
4652 * src/sheet-object.c (sheet_object_populate_menu_real),
4653 (sheet_object_draw_cairo_sized), (sheet_object_view_enter_notify),
4654 (cb_so_menu_activate), (cb_ptr_array_free), (build_so_menu),
4655 (sheet_object_view_button_pressed): ditto.
4656 * src/sheet-object.h: ditto.
4657 * src/sheet.c (sheet_new_with_type): ditto.
4658 * src/sheet.h: ditto.
4659 * src/wbc-gtk-actions.c (cb_add_graph): ditto.
4660 * src/wbc-gtk.c (wbcg_update_action_sensitivity),
4661 (wbcg_set_direction), (cb_scroll_wheel), (wbcg_get_n_scg): ditto.
4662 * src/workbook.c (workbook_sheet_add_with_type): ditto.
4663 * src/workbook.h: ditto.
4664 * src/xml-sax-read.c (xml_sax_wb_sheetsize),
4665 (xml_sax_wb_sheetname): ditto.
4666 * src/xml-sax-write.c (xml_write_sheet_names): ditto.
4668 2010-04-16 Morten Welinder <terra@gnome.org>
4670 * configure.in: Post-release bump.
4672 2010-04-16 Morten Welinder <terra@gnome.org>
4676 2010-04-16 Morten Welinder <terra@gnome.org>
4678 * src/func.c (function_call_with_exprs): When we compute an error
4679 value for an 'A' or 'r' argument, return that error. Fixes
4682 2010-04-14 Jean Brefort <jean.brefort@normalesup.org>
4684 * src/pattern.c (gnumeric_background_set_gtk): print pattern
4685 backgrounds. [#615365]
4687 2010-04-09 Jean Brefort <jean.brefort@normalesup.org>
4689 * component/Gnumeric-embed.xml.in: fixed templates menu action id.
4691 2010-04-08 Morten Welinder <terra@gnome.org>
4693 * src/Makefile.am (gnumeric_LDFLAGS, ssconvert_LDFLAGS): Set stack
4694 size to 64M. Fixes #571346.
4696 2010-03-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4698 * src/gnumeric-gconf.c (set_string_list): since go_conf_set_str_list
4699 may trigger cb_watch_string_list that uses string_list_pool, we need
4700 to fix the hash table first.
4702 2010-03-23 Morten Welinder <terra@gnome.org>
4704 * src/wbc-gtk.c (cb_paned_size_allocate): Improve handling of
4705 too-narrow windows. Show more tabs for wide windows.
4706 (cb_status_size_allocate): New function to trigger repartition
4707 after window resize.
4709 * src/wbc-gtk-actions.c (permanent_actions): Move FileNew,
4710 FileOpen, and a few more actions here.
4712 2010-03-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4714 * src/item-bar.c (item_bar_calc_size): use pango_itemize to create
4715 PangoItem and PangoAnalysis
4716 (item_bar_init): initialize pango.item to NULL
4718 2010-03-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4720 * src/wbc-gtk-actions.c (wbc_gtk_init_actions): move disabling
4721 of solver menu item from here to
4722 * src/wbc-gtk.c (wbc_gtk_init): here
4724 2010-03-11 Morten Welinder <terra@gnome.org>
4726 * src/commands.c (cmd_autofilter_add_remove): Remove extra
4727 gnm_filter_remove call. Fixes #611073.
4729 * src/print-info.c (page_setup_set_paper): Avoid some calls to
4730 g_log even if we block the warnings it would print. This helps
4733 2010-03-10 Morten Welinder <terra@gnome.org>
4735 * src/sheet-object-cell-comment.c (comment_view_button_released,
4736 comment_view_enter_notify): Use gnm_canvas_get_screen_position.
4738 * src/gui-util.c (gnm_canvas_get_screen_position): New function
4739 extracted from comment_view_get_xy.
4741 * src/gnm-pane.c (gnm_pane_display_obj_size_tip): Add
4742 control-point as argument. Use that for tooltip positioning.
4744 2010-03-08 Morten Welinder <terra@gnome.org>
4746 * configure.in: Post-release bump.
4748 2010-03-08 Morten Welinder <terra@gnome.org>
4752 2010-03-08 Morten Welinder <terra@gnome.org>
4754 * src/sheet-control-gui.c (scg_comment_select): Fix critical.
4755 (scg_comment_display, scg_comment_select): Take window position
4756 too. All callers changed. Fixes part of #573028.
4758 2010-03-06 Jean Brefort <jean.brefort@normalesup.org>
4760 * src/item-cursor.c (item_cursor_draw): fix cursor appearance when the
4761 line or column is on the border of a hidden area. [#611076]
4763 2010-03-04 Morten Welinder <terra@gnome.org>
4765 * src/ssindex.c (ssindex_validation): Handle NULLs better. Fixes
4768 2010-03-02 Morten Welinder <terra@gnome.org>
4770 * src/graph.c (render_val): For cells, get the right format unless
4771 overridden. Fixes #611362.
4773 2010-02-28 Morten Welinder <terra@gnome.org>
4775 * src/commands.c (cmd_solver): Set cmd.sheet. Fixes #611406.
4777 2010-02-26 Morten Welinder <terra@gnome.org>
4779 * src/dependent.c (gnm_cell_eval_content): Fix rendering problem
4780 with iterated calculation.
4782 2010-02-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4784 * src/item-edit.c (item_edit_update_bounds): remove duplicated code
4785 * src/sheet-control-gui.c (scg_reload_item_edits): new
4786 * src/sheet-control-gui.h (scg_reload_item_edits): new
4787 * src/wbc-gtk-edit.c (workbook_edit_complete_notify): also reload
4790 2010-02-16 Morten Welinder <terra@gnome.org>
4792 * configure.in: turn off -Wstrict-prototypes for stable builds.
4794 2010-02-16 Jean Brefort <jean.brefort@normalesup.org>
4796 * plugins/excelplugins/excelplugins.c
4797 (scan_for_XLLs_and_register_functions): don't call a NULL function.
4800 2010-02-13 Morten Welinder <terra@gnome.org>
4802 * configure.in: Post-release bump.
4804 2010-02-13 Morten Welinder <terra@gnome.org>
4808 2010-02-11 Morten Welinder <terra@gnome.org>
4810 * configure.in: Bump version in preparation for release.
4811 (libspreadsheet_reqs): Require 0.8
4813 2010-01-26 Jean Brefort <jean.brefort@normalesup.org>
4815 * src/item-edit.c (item_edit_realize): ensure that markup is displayed.
4817 2010-01-25 Morten Welinder <terra@gnome.org>
4819 * src/wbc-gtk.c (cb_bnotebook_button_press): New function to work
4822 2010-01-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4824 * src/func.c (function_dump_defs): also dump Excel and
4825 ODF compatibility and keep function description
4826 separate from argument descriptions. Simplify the code
4827 by first collecting the information in separate g_strings
4829 2010-01-19 Morten Welinder <terra@gnome.org>
4831 * configure.in: Post-release bump.
4833 2010-01-19 Morten Welinder <terra@gnome.org>
4837 2010-01-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4839 * src/print.c (load_repeat_range): range_parse does not
4840 handle full rows or columns.
4841 (compute_sheet_pages): don't use the same range for two
4844 2010-01-12 Jody Goldberg <jody@gnome.org>
4846 * src/test-pango.c (cb_kill_wbcg) : new.
4847 (cb_exercise_pango) : setup shutdown mechanism.
4849 2010-01-11 Morten Welinder <terra@gnome.org>
4851 * schemas/gnumeric-dialogs.schemas.in: Fix default for terminator.
4853 2010-01-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4855 * schemas/gnumeric-dialogs.schemas.in: add items
4856 * src/gnumeric-gconf.h (gnm_conf_get_stf_export_separator_node): new
4857 (gnm_conf_get_stf_export_separator): new
4858 (gnm_conf_set_stf_export_separator): new
4859 (gnm_conf_get_stf_export_stringindicator_node): new
4860 (gnm_conf_get_stf_export_stringindicator): new
4861 (gnm_conf_set_stf_export_stringindicator): new
4862 (gnm_conf_get_stf_export_terminator_node): new
4863 (gnm_conf_get_stf_export_terminator): new
4864 (gnm_conf_set_stf_export_terminator): new
4865 * src/gnumeric-gconf.c (gnm_conf_get_stf_export_separator_node): new
4866 (gnm_conf_get_stf_export_separator): new
4867 (gnm_conf_set_stf_export_separator): new
4868 (gnm_conf_get_stf_export_stringindicator_node): new
4869 (gnm_conf_get_stf_export_stringindicator): new
4870 (gnm_conf_set_stf_export_stringindicator): new
4871 (gnm_conf_get_stf_export_terminator_node): new
4872 (gnm_conf_get_stf_export_terminator): new
4873 (gnm_conf_set_stf_export_terminator): new
4874 * src/stf-export.c (gnm_stf_get_stfe): use the gconf info
4876 2010-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4878 * src/stf-export.c (gnm_stf_get_stfe): publish
4879 * src/stf-export.h (gnm_stf_get_stfe): publish
4880 * src/stf-parse.c (stf_read_remember_settings): new
4881 (stf_parse_sheet): call stf_read_remember_settings
4883 2010-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4885 * src/func.c (function_dump_defs): make sure the argument
4886 descriptions precede a SEEALSO. Documentation creation
4889 2010-01-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4891 * src/func.c (function_dump_defs): don't add gratuitous periods and
4892 make sure that we always include the argument descriptions
4894 2010-01-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4896 * src/func.c (function_dump_defs): also dump the short description
4898 2010-01-06 Morten Welinder <terra@gnome.org>
4900 * src/item-bar.c (item_bar_unrealize): Chain up.
4902 2010-01-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4904 * src/rangefunc.h (gnm_range_increasing): use the correctly typed
4907 2010-01-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4909 * src/gui-util.c (gnm_canvas_get_position): call
4910 gdk_window_get_internal_paint_info only for gtk < 2.18
4912 2010-01-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4914 * src/sheet-object-graph.c (sheet_object_graph_guru): change help link
4916 2010-01-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4918 * configure.in: remove the check for gtk_recent_manager_get_default.
4919 It is implied by the gtk 2.12 requirement
4920 * src/application.c: remove the checks for gtk_recent_manager_get_default
4922 * src/wbc-gtk-actions.c (actions): use GTK_STOCK_PAGE_SETUP if we
4925 2009-12-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4927 * src/wbc-gtk.c (cb_auto_expr_insert_formula): new
4928 (cb_auto_expr_insert_formula_below): use cb_auto_expr_insert_formula
4929 (cb_auto_expr_insert_formula_to_side): new
4930 (cb_select_auto_expr): add menu item
4932 2009-12-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4934 * src/wbc-gtk.c (cb_auto_expr_insert_formula_below): new
4935 (cb_select_auto_expr): add separator and menu item
4937 2009-12-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4939 * src/sheet-object-widget.c (sheet_widget_draw_cairo): only use
4940 this for gtk 2.18 and later. The required gtk_widget_get_snapshot
4941 became available with 2.14, but since we cannot test it with 2.14
4942 or 2.16 we are palying it safe.
4944 2009-12-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4946 * src/commands.c (cmd_paste_copy_select_obj): new
4947 (cmd_paste_copy_impl): select pasted objects if appropriate
4948 (cmd_paste_copy): remember whether we have just objects
4950 2009-12-29 Jody Goldberg <jody@gnome.org>
4952 * src/gnm-pane.c (gnm_pane_key_mode_sheet) : Support autoiterating
4953 through a region with <Tab>.
4955 2009-12-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4957 * src/sheet-object-widget.c (sheet_widget_draw_cairo): only use
4958 this for gtk 2.14 and later (since we need gtk_widget_get_snapshot)
4960 2009-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4962 * component/Gnumeric-embed.xml.in: add CopyDown and CopyRight
4964 * src/GNOME_Gnumeric-gtk.xml.in: ditto
4965 * src/HILDON_Gnumeric-gtk.xml.in: ditto
4966 * src/wbc-gtk-actions.c (actions): add description for CopyDown
4969 2009-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4971 * src/wbc-gtk-actions.c (sort_by_rows): consider singleton
4972 selections to be a request to sort the whole sheet [#141313]
4974 2009-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4976 * src/sheet-control-gui-priv.h (_SheetControlGUI): new fields
4977 * src/sheet-control-gui.c (scg_gtk_paned_set_position): new
4978 replace all calls to gtk_paned_set_position by
4979 scg_gtk_paned_set_position throughout
4980 (set_resize_pane_finish): unblock cb_check_resize
4981 (cb_resize_pane_motion): block cb_check_resize
4982 (cb_check_resize): new
4983 (sheet_control_gui_new): attach cb_check_resize and fix
4986 2009-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4988 * src/value.c (find_rows_that_match): make this behave like
4989 find_cells_that_match from the database plugin.
4991 2009-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4993 * src/wbc-gtk.c (cb_sheet_label_button_press): unselect sheet
4994 objects if necessary and possible
4996 2009-12-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4998 * src/sheet-object.c (sheet_object_populate_menu_real): change "Si_ze"
4999 to "Size _& Position"
5001 2009-12-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5003 * src/sheet-object.c (cb_so_size_position): make sure we only have one
5005 (sheet_object_get_editor): ditto
5007 2009-12-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5009 * component/Gnumeric-embed.xml.in: add EditSelectObject menu item
5010 * src/GNOME_Gnumeric-gtk.xml.in: ditto
5011 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5012 * src/gnm-pane.c (gnm_pane_object_key_press): move some code from
5013 here to scg_object_select_next
5014 (gnm_pane_key_mode_sheet): use ctrl-tab to select the first object
5015 * src/sheet-control-gui.c (scg_object_select_next): new
5016 * src/sheet-control-gui.h (scg_object_select_next): new
5017 * src/sheet-view.c (sv_update): update MS_SELECT_OBJECT menu
5018 * src/wbc-gtk-actions.c (cb_edit_select_object): new
5019 (EditSelectObject): new action
5020 * src/wbc-gtk.c (wbcg_menu_state_update): handle MS_SELECT_OBJECT
5021 * src/workbook-control.h (MS_SELECT_OBJECT): new
5023 2009-12-27 Jean Brefort <jean.brefort@normalesup.org>
5025 * src/gnm-pane.c (control_point_set_cursor): use the right cursor in RTL
5028 2009-12-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5030 * src/sheet-object.c (cb_so_size_position): use g_return_if_fail
5031 * src/commands.h (cmd_so_rename): new
5032 * src/commands.c (cmd_so_rename): new
5033 (cmd_so_rename_*): new
5035 2009-12-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5037 * src/sheet-object.c (cb_so_size_position): new
5038 (so_actions): add menu item
5040 2009-12-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5042 * src/sheet-object-widget.c (sheet_widget_ ## n1 ## _class_init):
5043 install sheet_widget_draw_cairo
5044 (sheet_widget_draw_cairo): new
5046 2009-12-24 Jean Brefort <jean.brefort@normalesup.org>
5048 * src/rangefunc.h: add gnm_range_increasing (to fix a double/gnm_float
5050 * src/selection.c (sv_selection_to_plot): force sharing of first series
5051 as labels for line plots and friends when requested. [#605330]
5053 2009-12-23 Morten Welinder <terra@gnome.org>
5055 * src/gnm-datetime.c (datetime_value_to_serial): Fix type problem.
5057 2009-12-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5059 * component/Gnumeric-embed.xml.in: add principal components analysis
5060 * src/HILDON_Gnumeric-gtk.xml.in: add principal components analysis
5061 * src/GNOME_Gnumeric-gtk.xml.in: add principal components analysis
5062 * src/wbc-gtk-actions.c: add principal components analysis action
5063 * src/mathfunc.c (gnm_matrix_eigen): handle 1 by 1 matrix.
5065 2009-12-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5067 * src/mathfunc.h (gnm_matrix_eigen): new
5068 * src/mathfunc.c (gnm_matrix_eigen): new
5069 (gnm_matrix_eigen_max_index): new
5070 (gnm_matrix_eigen_update): new
5072 2009-12-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5074 * src/sheet-style.h (sheet_style_set_list): change arguments
5075 * src/sheet.c: change all calls to sheet_style_set_list
5076 * src/commands.c: ditto
5077 * src/sheet-style.c: ditto
5078 (sheet_style_set_list): change arguments and adjust code
5079 * src/clipboard.c (range_flip_h): new
5081 (clipboard_paste_region): handle PASTE_FLIP_H and PASTE_FLIP
5084 2009-12-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5086 * src/clipboard.h: add PASTE_FLIP_H and PASTE_FLIP_V
5087 * src/clipboard.c (cb_paste_cell): handle PASTE_FLIP_H and
5090 2009-12-15 Morten Welinder <terra@gnome.org>
5092 * configure.in: Post-release bump.
5094 2009-12-15 Morten Welinder <terra@gnome.org>
5098 2009-12-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5100 * src/ssconvert.c (convert): handle one sheet per file
5102 2009-12-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5104 * component/Gnumeric-embed.xml.in: add 2 medians sign test
5105 * src/HILDON_Gnumeric-gtk.xml.in: add 2 medians sign test
5106 * src/GNOME_Gnumeric-gtk.xml.in: add 2 medians sign test
5107 * src/wbc-gtk-actions.c: add 2 medians sign test action
5109 2009-12-14 Jean Brefort <jean.brefort@normalesup.org>
5111 * src/sheet-object-cell-comment.c (comment_view_set_bounds): make the
5112 cell comment red triangle visible in RTL mode. [#604580]
5114 2009-12-14 Jean Brefort <jean.brefort@normalesup.org>
5116 * src/item-grid.c (item_grid_draw_region): fixed panes borders.
5118 2009-12-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5120 * src/gutils.c: include required header file
5122 2009-12-13 Jean Brefort <jean.brefort@normalesup.org>
5124 * src/gnm-pane.c (gnm_pane_compute_visible_region): fixed pane origin
5125 when zoomed. [#604373]
5127 2009-12-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5129 * component/Gnumeric-embed.xml.in: add sign test
5130 * src/HILDON_Gnumeric-gtk.xml.in: add sign test
5131 * src/GNOME_Gnumeric-gtk.xml.in: add sign test
5132 * src/wbc-gtk-actions.c: add sign test action
5134 2009-12-11 Morten Welinder <terra@gnome.org>
5136 * src/value.c (criteria_inspect_values): Fix bool issues.
5138 2009-12-10 Morten Welinder <terra@gnome.org>
5140 * src/value.c (parse_criteria): If the criteria is a string that
5141 parses as a number, use equality search. Fixes #604214.
5143 2009-12-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5145 * src/print.c (gnm_print_sheet): store print date
5147 2009-12-09 Morten Welinder <terra@gnome.org>
5149 * src/wbc-gtk.c (graph_dim_cancel_idle): New function.
5150 (graph_dim_editor_free): Cancel idle handler. Fixes #604223.
5152 2009-12-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5154 * src/workbook-view.c (wbv_save_to_output): update modification time
5155 only when we in fact modified the file.
5157 2009-12-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5159 * src/gutils.c (gnm_insert_meta_date): new
5160 * src/gutils.h (gnm_insert_meta_date): new
5161 * src/workbook-view.c (wbv_save_to_output): update modification time
5162 * src/workbook.c (workbook_new): update creation date
5164 2009-12-06 Jean Brefort <jean.brefort@normalesup.org>
5166 * src/item-bar.c (ib_draw_cell): clip when drawing text. [#603862]
5168 2009-12-05 Jean Brefort <jean.brefort@normalesup.org>
5170 * src/graph.c (gnm_go_data_matrix_get_value): do not exchange row and
5173 2009-12-03 Morten Welinder <terra@gnome.org>
5175 * src/value.c (parse_criteria): For matching, if we match the
5176 empty string, make sure we look in empty cells. Fixes #603671.
5178 2009-12-02 Morten Welinder <terra@gnome.org>
5180 * src/ssconvert.c (run_solver): Optionally run solver. (For
5183 * src/workbook-control.c (wbc_cmd_context_init): New function.
5185 2009-12-01 Morten Welinder <terra@gnome.org>
5187 * src/commands.c (cmd_set_text_redo): On the initial pass, don't
5188 select. Fixes #601107.
5190 2009-11-29 Morten Welinder <terra@gnome.org>
5192 * configure.in: Post-release bump.
5194 2009-11-29 Morten Welinder <terra@gnome.org>
5198 2009-11-28 Jean Brefort <jean.brefort@normalesup.org>
5200 * src/item-edit.c (item_edit_draw): fix selection bounds in case of
5201 multibytes characters,
5202 (item_edit_button_pressed), (item_edit_motion),
5203 (item_edit_button_released), (item_edit_init),
5204 (item_edit_class_init): implement dragging in ItemEdit. [#337521]
5206 2009-11-28 Jean Brefort <jean.brefort@normalesup.org>
5208 * src/item-edit.c (item_edit_draw), (item_edit_button_pressed),
5209 (item_edit_realize), (item_edit_unrealize): invert selected text, and allow
5210 mouse selection past the last character. [#122176 and #388342]
5212 2009-11-27 Morten Welinder <terra@gnome.org>
5214 * src/workbook.c (workbook_finalize): Plug leak.
5216 * src/print.c (gnm_print_sheet): Plug leak.
5218 2009-11-26 Jean Brefort <jean.brefort@normalesup.org>
5220 * src/wbc-gtk.c (cb_graph_dim_editor_update), (cb_update_idle),
5221 (cb_graph_dim_entry_focus_out_event), (cb_graph_dim_entry_changed),
5222 (wbcg_data_allocator_editor): avoid piles of error message boxes. [#152517]
5224 2009-11-25 Morten Welinder <terra@gnome.org>
5226 * src/commands.c (cmd_scenario_add_redo, cmd_scenario_add_undo):
5229 2009-11-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5231 * component/Gnumeric-embed.xml.in: add "Normality Test..." menu item
5232 * src/GNOME_Gnumeric-gtk.xml.in: ditto
5233 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5234 * src/wbc-gtk-actions.c (cb_tools_normality_tests): new
5235 (ToolsNormalityTests) connect to cb_tools_normality_tests
5237 2009-11-18 Morten Welinder <terra@gnome.org>
5239 * configure.in (gnomedb_msg): Disable gda if we don't have
5242 2009-11-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5244 * autogen.sh: allow dirs on PATH to have spaces withou causing warning
5246 2009-11-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5248 * src/wbc-gtk.c (wbcg_update_title): be consistent with most other
5251 2009-11-14 Morten Welinder <terra@gnome.org>
5253 * src/mathfunc.c (pd_lower_cf): Fix convergence test. Test case is
5254 R.PGAMMA(X,1e-20,1,FALSE) with visible discontinuity at X=1.
5255 Reported by the R team.
5257 2009-11-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5259 * configure.in: check for gtk_entry_get_buffer (We need to use it to
5260 work around a gtk bug that only occurs when this is in fact
5263 2009-11-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5265 * src/sheet.h (gnm_sheet_get_sort_setups): new
5266 (gnm_sheet_add_sort_setup): new
5267 (gnm_sheet_find_sort_setup): new
5268 * src/sheet.c (gnm_sheet_add_sort_setup): new
5269 (gnm_sheet_get_sort_setups): new
5270 (gnm_sheet_find_sort_setup): new
5271 (gnm_sheet_init): initialize new field sort_setups
5272 (gnm_sheet_finalize): and free them
5273 * src/sort.c (gnm_sort_data_copy): new
5274 * src/sort.h (gnm_sort_data_copy): new
5276 2009-11-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5278 * src/func-builtin.c: add some translator comments
5280 2009-11-12 Morten Welinder <terra@gnome.org>
5282 * src/gnm-plugin.c (cb_load_and_create): Keep track of plugin usage.
5284 2009-11-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5286 * component/Gnumeric-embed.xml.in: move FormatWorkbook to View menu
5287 * src/GNOME_Gnumeric-gtk.xml.in: ditto
5288 * src/HILDON_Gnumeric-gtk.xml.in: ditto and rename FilePreferences
5289 action to EditPreferences
5290 * src/wbc-gtk-actions.c: adjust names and description of FileMetaData
5291 and FormatWorkbook actions
5293 2009-11-09 Morten Welinder <terra@gnome.org>
5295 * src/workbook-view.c (wb_view_new_from_input): Add extra uri
5296 argument. All callers changes. Fixes #601274.
5298 2009-11-08 Morten Welinder <terra@gnome.org>
5300 * src/xml-sax-write.c (xml_write_solver): Write target cell as
5301 cellref so we don't drop the sheet.
5303 2009-11-07 Morten Welinder <terra@gnome.org>
5305 * src/numbers.h: Resurrect long double support.
5307 2009-11-06 Morten Welinder <terra@gnome.org>
5309 * src/value.c (value_get_as_gstring): Handle partial arrays.
5311 2009-11-04 Jean Brefort <jean.brefort@normalesup.org>
5313 * src/item-cursor.c (item_cursor_realize, item_cursor_unrealize,
5314 (item_cursor_draw, item_cursor_set_property, item_cursor_init): back
5315 to rendering using gdk. [#600656]
5316 * src/item-edit.c (item_edit_draw): do not change the background when
5317 editing and make the cursor visible on dark backgrounds.
5319 2009-11-02 Morten Welinder <terra@gnome.org>
5321 * src/expr.c (gnm_expr_top_get_cellref): Constify.
5323 2009-10-11 Morten Welinder <terra@gnome.org>
5325 * configure.in: Post-release bump.
5327 2009-11-01 Morten Welinder <terra@gnome.org>
5331 2009-11-01 Morten Welinder <terra@gnome.org>
5333 * src/solver.h (struct _SolverParameters): Keep target and input
5334 as deps so they get maintained.
5336 * src/expr.c (gnm_expr_top_get_cellref): New function.
5338 2009-10-31 Morten Welinder <terra@gnome.org>
5340 * src/dependent.c (dependent_managed_init,
5341 dependent_managed_set_expr): New functions.
5343 * src/value.c (value_new_cellrange_parsepos_str): Use the right
5344 convensions. Add flags argument for finer control. All callers
5347 2009-10-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5349 * src/wbc-gtk-actions.c (cb_format_preferences): delete
5350 (cb_tools_autocorrect): call dialog_preferences
5351 (actions): delete FormatGnumeric
5353 2009-10-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5355 * src/sheet.c (gnm_sheet_class_init): correct English grammar
5357 2009-10-29 Jean Brefort <jean.brefort@normalesup.org>
5359 * src/gnm-pane-impl.h: fixed graph object size issues. [#599887]
5360 * src/gnm-pane.c (gnm_pane_object_key_press), (gnm_pane_focus_out),
5361 (gnm_pane_display_obj_size_tip), (gnm_pane_object_move),
5362 (control_point_enter_notify), (control_point_leave_notify): ditto.
5364 2009-10-28 Morten Welinder <terra@gnome.org>
5366 * src/solver.h (SolverConstraint): Remove redundant str member.
5367 All users changed to gnm_solver_constraint_as_str calls.
5369 2009-10-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5371 * src/commands.h (cmd_autofilter_add_remove): new
5372 * src/commands.c (cmd_autofilter_add_remove): new
5373 (cmd_autofilter_add_remove_impl): new
5374 (cmd_autofilter_add_remove_undo): new
5375 (cmd_autofilter_add_remove_redo): new
5376 (cmd_autofilter_add_remove_finalize): new
5378 * src/sheet-filter.h (gnm_filter_attach): publish
5379 * src/sheet-filter.c (gnm_filter_attach): publish
5380 create field selectors here rather than in
5382 (gnm_filter_remove): delete field selectors here rather than in
5384 * src/wbc-gtk-actions.c (cb_auto_filter): just call
5385 cmd_autofilter_add_remove
5387 2009-10-27 Morten Welinder <terra@gnome.org>
5389 * src/wbc-gtk.c (wbcg_error_error): Don't xml-escape the text.
5392 * src/gutils.c (gnm_string_add_number): New function.
5394 2009-10-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5396 * src/number-match.c (format_match_decimal_number): split into
5397 format_match_decimal_number and format_match_decimal_number_with_locale
5398 * src/number-match.h (format_match_decimal_number_with_locale): new
5400 2009-10-23 Morten Welinder <terra@gnome.org>
5402 * src/number-match.c (handle_year): Handle pre-1900 dates.
5404 2009-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5406 * configure.in: add fn-christian-date plugin
5407 * plugins/Makefile.am: ditto
5409 2009-10-20 Morten Welinder <terra@gnome.org>
5411 * src/sheet-control-gui.c (scg_context_menu): Disable slicer stuff
5414 2009-10-18 Morten Welinder <terra@gnome.org>
5416 * src/gnm-pane.c (gnm_pane_key_mode_sheet): Ignore event->state
5417 bits related to caps lock, etc. Fixes #597295.
5419 2009-10-16 Morten Welinder <terra@gnome.org>
5421 * src/gui-clipboard.c: Support Biff8 via Citrix which yields a
5422 different target name.
5423 (table_cellregion_read): Use original area (from Excel) for paste.
5424 Fixes #381732, #388531.
5426 * src/gnm-so-line.c (gnm_so_line_prep_sax_parser): Read new
5428 (gnm_so_line_write_xml_sax): Write both arrow ends.
5430 2009-10-14 Morten Welinder <terra@gnome.org>
5432 * src/gnm-so-line.c: Move GOArrow to goffice.
5433 (gnm_so_line_set_property): Eliminate is-arrow property.
5434 (gnm_so_line_draw_cairo): Draw both arrows.
5436 * configure.in (libspreadsheet_reqs): Require goffice 0.7.15 for
5439 2009-10-13 Morten Welinder <terra@gnome.org>
5441 * src/libgnumeric.c (gnm_shutdown): Call gnm_xml_sax_read_shutdown
5442 and gnm_xml_sax_write_shutdown.
5444 * src/xml-sax-read.c (gnm_xml_sax_read_init): Plug leak.
5445 (gnm_xml_sax_read_shutdown): New function.
5447 * src/xml-sax-write.c (gnm_xml_sax_write_init): Plug leak.
5448 (gnm_xml_sax_write_shutdown): New function.
5450 * src/sheet-object-widget.c (sheet_widget_adjustment_get_horizontal):
5452 (sheet_widget_list_base_get_content_link): Rename from
5453 sheet_widget_list_base_get_content_dep. Return ref'd GnmExprTop.
5454 All callers changed.
5455 (sheet_widget_list_base_get_result_link): Rename from
5456 sheet_widget_list_base_get_result_dep. Return ref'd GnmExprTop.
5457 All callers changed.
5458 (sheet_widget_list_base_get_adjustment): New function.
5460 2009-10-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5462 * src/mathfunc.c (random_skew_normal): simplify
5463 (random_skew_tdist): simplify
5465 2009-10-11 Morten Welinder <terra@gnome.org>
5467 * src/sheet.c (gnm_sheet_resize_main): Reduce ->cols.max_used and
5468 ->rows.max_used as appropriate.
5469 (gnm_sheet_resize): Check for merges. Add new perr argument. All
5472 2009-10-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5474 * src/mathfunc.c (random_skew_normal): new
5475 (random_skew_tdist): new
5476 * src/mathfunc.h (random_skew_normal): new
5477 (random_skew_tdist): new
5479 2009-10-10 Jody Goldberg <jody@gnome.org>
5481 * src/main-application.c (gnumeric_arg_parse) : honour
5482 HAVE_G_OPTION_CONTEXT_SET_DELOCALIZE for people trying to build on
5483 win32 with stock gtk+.
5485 2009-10-11 Morten Welinder <terra@gnome.org>
5487 * configure.in: Post-release bump.
5489 2009-10-11 Morten Welinder <terra@gnome.org>
5493 2009-10-07 Morten Welinder <terra@gnome.org>
5495 * src/sheet-object-widget.c (sheet_widget_checkbox_get_property,
5496 sheet_widget_radio_button_get_property): Add "active" property.
5498 * src/sheet-object-widget.h: Define the usual type macros.
5500 2009-10-07 Jean Brefort <jean.brefort@normalesup.org>
5502 * src/gnm-so-filled.c (gnm_so_filled_set_property),
5503 (gnm_so_filled_get_property), (gnm_so_filled_class_init): allow
5505 * src/gnm-so-polygon.c (gnm_so_polygon_get_property),
5506 (gnm_so_polygon_class_init): ditto.
5508 2009-10-06 Morten Welinder <terra@gnome.org>
5510 * src/gnm-so-filled.c (gnm_so_line_set_property,
5511 gnm_so_filled_set_property, gnm_so_polygon_set_property): Copy
5512 style since we change it.
5514 2009-10-05 Morten Welinder <terra@gnome.org>
5516 * src/gnm-so-line.c (gnm_so_line_class_init): Make is-arrow
5519 2009-10-04 Morten Welinder <terra@gnome.org>
5521 * src/gnm-so-filled.c (gnm_so_filled_init): Make is-oval readable.
5523 2009-10-04 Jean Brefort <jean.brefort@normalesup.org>
5525 * src/gnm-pane.c (gnm_pane_new): set the document for the canvas.
5527 2009-10-02 Morten Welinder <terra@gnome.org>
5529 * src/sheet-object.c (sheet_object_get_property,
5530 sheet_object_set_property, sheet_object_set_name): New functions.
5531 (sheet_object_finalize): Clear name.
5532 (sheet_object_class_init): Install new name property.
5534 * src/sheet-object-impl.h (struct _SheetObject): Add name element.
5536 * src/xml-sax-write.c (xml_write_objects): Save object name.
5538 * src/xml-sax-read.c (xml_sax_read_obj): Read object name.
5540 2009-09-29 Morten Welinder <terra@gnome.org>
5542 * po/LINGUAS: Back out the addition of "id".
5544 2009-09-28 Morten Welinder <terra@gnome.org>
5546 * src/position.c (parse_pos_init_dep): Don't crash when dep's
5547 sheet is NULL. Whether callers expect such a GnmParsePos is a
5550 * src/sheet-object-widget.c (sax_write_dep): Use
5551 parse_pos_init_dep, not parse_pos_init_sheet. Fixes #596509.
5553 2009-09-27 Morten Welinder <terra@gnome.org>
5555 * src/sheet-object-widget.c: Simplify radio button stuff.
5556 (sheet_widget_radio_button_init_full): Add "active" argument too.
5557 (SheetWidgetRadioButton): Store value as a GnmValue.
5559 2009-09-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5561 * src/wbc-gtk-actions.c (cb_view_freeze_panes): special handling if the
5564 2009-09-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5566 * src/GNOME_Gnumeric-gtk.xml.in: sort objects by type
5567 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5568 * component/Gnumeric-embed.xml.in: ditto
5569 * src/pixmaps/object_label_24.png: show rectangle
5571 2009-09-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5572 for Albert Graef <Dr.Graef@t-online.de>
5574 * src/commands.c (cmd_so_set_radio_button, CmdSOSetRadioButton)
5575 (cmd_so_set_radio_button_redo, cmd_so_set_radio_button_undo)
5576 (cmd_so_set_radio_button_finalize): new set radio button command
5577 * src/commands.h: added cmd_so_set_radio_button
5578 * src/sheet-object-widget.c (dep_hash, dep_equal, dep_destroy)
5579 (get_group, set_group): new functions to manage radio button
5581 (parse_value, match_value): new functions to parse and match radio
5583 (SheetWidgetRadioButton): added value and active fields
5584 (sheet_widget_radio_button_set_value)
5585 (sheet_widget_radio_button_set_active)
5586 (sheet_widget_radio_button_set_group): new callbacks
5587 (radio_button_eval): modified to set radio button activation state
5588 according to linked cell value
5589 (sheet_widget_radio_button_init, sheet_widget_radio_button_init_full):
5590 split to support initialization from existing data, added initialization
5591 of new fields in SheetWidgetRadioButton struct
5592 (sheet_widget_radio_button_finalize): added finalization of new
5593 fields in SheetWidgetRadioButton struct
5594 (sheet_widget_radio_button_toggled): modified to handle clicks on
5596 (sheet_widget_radio_button_changed): new callback to handle moving
5597 a radio button to a new group
5598 (sheet_widget_radio_button_create_widget): modified to initialize
5599 button group and connect signal to change group callback
5600 (sheet_widget_radio_button_copy): new callback to allow radio
5601 buttons to be copied
5602 (sheet_widget_radio_button_write_xml_sax)
5603 (sheet_widget_radio_button_prep_sax_parser): new callback for reading
5604 and writing radio buttons
5605 (sheet_widget_radio_button_set_link)
5606 (sheet_widget_radio_button_get_link): new callbacks to set and get
5608 (RadioButtonConfigState, cb_radio_button_set_focus)
5609 (cb_radio_button_config_destroy)
5610 (cb_radio_button_config_ok_clicked)
5611 (cb_radio_button_config_cancel_clicked)
5612 (cb_radio_button_label_changed, cb_radio_button_value_changed)
5613 (sheet_widget_radio_button_user_config): added config dialog
5614 (SOW_MAKE_TYPE(radio_button)): added new callbacks
5615 * src/sheet-object-widget.h: added
5616 sheet_widget_radio_button_get_link,
5617 sheet_widget_radio_button_set_link,
5618 sheet_widget_radio_button_set_label,
5619 sheet_widget_radio_button_set_value
5621 2009-09-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5623 * src/gnm-pane.c (set_acetate_coords): revert my previous change (with the newer
5624 version of goffice this is not needed.)
5626 2009-09-25 Jean Brefort <jean.brefort@normalesup.org>
5628 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fixed line setting.
5629 * src/gnm-so-line.c (gnm_so_line_draw_cairo): ditto.
5631 2009-09-25 Morten Welinder <terra@gnome.org>
5633 * src/gnm-so-line.c (gnm_so_line_draw_cairo,
5634 gnm_so_filled_draw_cairo): Fix setting of colour.
5635 (gnm_so_line_draw_cairo): Fix setting of line width.
5637 2009-09-25 Jean Brefort <jean.brefort@normalesup.org>
5639 * src/sheet-control-gui.c (scg_redraw_headers): fixed column
5640 headers update when scrolled.
5642 2009-09-24 Morten Welinder <terra@gnome.org>
5644 * src/wbc-gtk.c (set_toolbar_position): When moving to a new
5645 position, preserve the original order.
5646 (cb_add_menus_toolbars): Arrange for proper translation of entries
5647 in the toolbar menu.
5649 2009-09-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5651 * src/gnm-pane.c (set_acetate_coords): set the acetate item really
5654 2009-09-24 Morten Welinder <terra@gnome.org>
5656 * src/xml-sax-read.c (gnm_xml_prep_style_parser): New function.
5658 * src/format-template.c (format_template_new_from_file): New
5659 implementation using SaX parser.
5661 * src/Makefile.am: Drop xml-io.[ch]
5663 2009-09-24 Jean Brefort <jean.brefort@normalesup.org>
5665 * src/gnm-pane.c (set_acetate_coords): set the acetate item really
5668 2009-09-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5669 slightly modified patches from Albert Gräf <Dr.Graef@t-online.de>
5671 * src/commands.c (cmd_so_set_button): new
5672 (CmdSOSetButton): new
5673 (cmd_so_set_button_redo): new
5674 (cmd_so_set_button_undo): new
5675 (cmd_so_set_button_finalize): new
5676 * src/commands.h (cmd_so_set_button): new
5677 * src/sheet-object-widget.c (sheet_widget_button_set_link): new
5678 (sheet_widget_button_get_link): new
5680 (button_debug_name): new
5681 (sheet_widget_button_init_full): handle new fields
5682 (sheet_widget_button_init_full): add argument and change all callers
5683 (cb_button_pressed): new
5684 (cb_button_released): new
5685 (sheet_widget_button_create_widget): handle signals
5686 (cb_button_set_focus): new
5687 (sheet_widget_button_copy): handle new fields
5688 (cb_button_config_destroy): new
5689 (cb_button_config_ok_clicked): new
5690 (sheet_widget_button_user_config): new
5691 (sheet_widget_button_set_sheet): new
5692 (sheet_widget_button_foreach_dep): new
5693 (sheet_widget_button_write_xml_sax): handle new fields
5694 (sheet_widget_button_prep_sax_parser): ditto
5695 * src/sheet-object-widget.h (sheet_widget_button_set_link): new
5696 (sheet_widget_button_get_link): new
5698 2009-09-23 Jean Brefort <jean.brefort@normalesup.org>
5700 * component/gnumeric.c (cb_gognm_save), (go_gnm_component_edit): allow
5701 edition of not embedded workbooks as well.
5702 * src/GNOME_Gnumeric-gtk.xml.in: fixed Save button action.
5703 * src/gnm-so-filled.c (cb_gnm_so_filled_changed),
5704 (gnm_so_filled_draw_cairo): printf with the same font as screen display.
5705 * src/wbc-gtk-impl.h: fixed menus for the component.
5706 * src/wbc-gtk.c (set_uifilename), (wbc_gtk_init): ditto.
5708 2009-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5709 modified patches from Albert Gräf <Dr.Graef@t-online.de>
5711 * src/GNOME_Gnumeric-gtk.xml.in: add button and radiobutton buttons
5712 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5713 * component/Gnumeric-embed.xml.in: ditto
5714 * src/pixmaps/object_button_24.png: add transparency
5715 * src/pixmaps/object_radiobutton_24.png: ditto
5717 2009-09-22 Morten Welinder <terra@gnome.org>
5719 * src/sheet-object*.[ch]: drop dom parsing code.
5721 * src/xml-sax-read.c (xml_cellregion_read): Re-implement in SaX
5722 land. Callers changed to supply extra io_context argument needed.
5723 (gnm_xml_in_doc_add_subset): New function.
5724 (gnm_xml_finish_obj, xml_sax_style_region_end, xml_sax_merge,
5725 xml_sax_cell_content): If needed, add to clipboard, not sheet.
5727 * src/xml-sax-write.c (gnm_cellregion_to_xml): Close the
5730 * src/xml-io.c (xml_cellregion_read_dom): Renamed from
5731 xml_cellregion_read.
5733 2009-09-22 Jean Brefort <jean.brefort@normalesup.org>
5735 * component/Gnumeric-embed.xml.in: synchronize with latest
5736 GNOME_Gnumeric-gtk.xml.in.
5738 2009-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5740 * src/GNOME_Gnumeric-gtk.xml.in: remove CreateLabel
5741 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5742 * src/wbc-gtk-actions.c: remove CreateLabel
5743 * src/wbc-gtk.c: attach label image to Gnumeric_ObjectRectangle
5745 2009-09-21 Morten Welinder <terra@gnome.org>
5747 * src/xml-sax-write.c (gnm_xml_out_add_color,
5748 gnm_xml_out_add_cellpos): Move from xml-io.c and make static.
5749 (gnm_xml_out_add_gocolor): Ditto, except keep public.
5751 2009-09-21 Jean Brefort <jean.brefort@normalesup.org>
5753 * src/gnm-plugin.c (plugin_service_ui_read_xml): use translated labels.
5756 2009-09-21 Jean Brefort <jean.brefort@normalesup.org>
5758 * src/gnm-so-filled.c (so_filled_view_set_bounds),
5759 (cb_gnm_so_filled_changed): reimplement text in ellipses.[#595710]
5761 2009-09-20 Morten Welinder <terra@gnome.org>
5763 * configure.in: Post-release bump.
5765 2009-09-20 Morten Welinder <terra@gnome.org>
5769 2009-09-19 Morten Welinder <terra@gnome.org>
5771 * src/sheet-object-widget.c (get_goc_widget): New function.
5772 Simplifies previous patches.
5774 2009-09-19 Jean Brefort <jean.brefort@normalesup.org>
5776 * src/sheet-object-widget.c
5777 (sheet_widget_adjustment_set_horizontal): same as previous. This time,
5780 2009-09-19 Jean Brefort <jean.brefort@normalesup.org>
5782 * src/sheet-object-widget.c (sheet_widget_frame_set_label),
5783 (sheet_widget_button_set_label), (sheet_widget_button_set_markup),
5784 (sheet_widget_checkbox_set_label),
5785 (sheet_widget_radio_button_set_label): use child as GocWidget instead of
5788 2009-09-18 Morten Welinder <terra@gnome.org>
5790 * src/wbc-gtk-impl.h (struct _WBCGtk): Rename zoom to zoom_haction
5791 and add zoom_vaction.
5793 * src/wbc-gtk.c (wbc_gtk_init_zoom): Setup zoom_vaction.
5795 2009-09-17 Morten Welinder <terra@gnome.org>
5797 * src/item-edit.c (item_edit_class_init): Don't set ::dispose.
5798 (item_edit_unrealize): Merge item_edit_dispose into here.
5799 (item_edit_dispose): Remove.
5800 (item_edit_realize): Merge most of item_edit_set_property into
5803 2009-09-16 Morten Welinder <terra@gnome.org>
5805 * Makefile.am (install-exec-local): Install gnumeric-features.h in
5806 the right spot. Fixes #595317.
5808 * gnumeric-features.h.in: Trim a lot of fat.
5810 * src/item-grid.c (item_grid_unrealize): New function to plug
5813 2009-09-15 Jean Brefort <jean.brefort@normalesup.org>
5815 * src/item-cursor.c (item_cursor_button2_pressed),
5816 (item_cursor_class_init): reimplement double click in item-cursor.
5817 [debian bug #546690]
5819 2009-09-15 Jean Brefort <jean.brefort@normalesup.org>
5821 * src/gnm-pane.c (cb_pane_drag_end): correctly ungrab the item. Fixes
5823 * src/gnumeric-simple-canvas.c: typo.
5825 2009-09-12 Morten Welinder <terra@gnome.org>
5827 * src/rendered-value.c (gnm_rendered_value_new): Drop mstyle and
5828 context arguments. All callers changed.
5830 * src/print-cell.c (print_cell_gtk): Drop unused style argument.
5831 All callers changed.
5833 * src/preview-grid.c (pg_style_get_row): Greatly simplify by using
5835 (pg_fetch_cell): Ditto.
5837 2009-09-11 Morten Welinder <terra@gnome.org>
5839 * src/file-autoft.c (category_group_list_get): Make this work
5840 again after config changes a few versions back.
5842 * src/rendered-value.c (gnm_rvc_new, gnm_rvc_free, gnm_rvc_query,
5843 gnm_rvc_store, gnm_rvc_remove): New functions.
5845 * src/cell.c (gnm_cell_unrender, gnm_cell_get_rendered_value,
5846 gnm_cell_fetch_rendered_value): Hook into above.
5848 2009-09-11 Morten Welinder <terra@gnome.org>
5850 * src/mstyle.c (gnm_style_get_pango_attrs): Don't scale if zoom is
5853 * src/cell.c (gnm_cell_unrender, gnm_cell_get_rendered_value,
5854 gnm_cell_fetch_rendered_value): New functions.
5856 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): NULL-check
5857 ->text like elsewhere. Fixes 594862.
5859 2009-09-09 Morten Welinder <terra@gnome.org>
5861 * src/wbc-gtk-edit.c (wbcg_edit_start): Make "inside_editing" a
5862 member variable instead of a static.
5864 2009-09-08 Morten Welinder <terra@gnome.org>
5866 * src/item-cursor.c (item_cursor_button_released): Clear status
5867 message in drag and autofill cases too. Fixes #594469.
5869 2009-09-08 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
5871 Use automake 1.11 SILENT_RULES when present, for cleaner build
5872 output. You can disable it by passing --disable-silent-rules to
5873 configure or V=1 to make.
5875 2009-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5877 * component/Gnumeric-embed.xml.in: split random generator menu item
5878 * src/GNOME_Gnumeric-gtk.xml.in: ditto
5879 * src/HILDON_Gnumeric-gtk.xml.in: ditto
5880 * src/wbc-gtk-actions.c: ditto
5882 2009-09-05 Morten Welinder <terra@gnome.org>
5884 * configure.in: Post-release bump.
5886 2009-09-05 Morten Welinder <terra@gnome.org>
5890 2009-09-05 Jean Brefort <jean.brefort@normalesup.org>
5892 * all files: renamed go-color.h macros.
5894 2009-09-04 Morten Welinder <terra@gnome.org>
5896 * src/rendered-value.c (calc_indent): Drop zoom argument. All
5899 * src/style.c (style_font_new_simple): Put context into hash key
5900 as the font metrics depends on that. Drop scale argument. Caller
5902 (delete_neg_font, gnm_font_unref): Unref ->context.
5903 (gnm_font_hash): Take context, is_bold, and is_italic into
5906 * src/mstyle.c (gnm_style_clear_font): Clear font_context here.
5907 (gnm_style_dup): Copy font_context here.
5908 (gnm_style_get_font): Check font_context, not font_zoom here.
5909 Drop zoom argument. All callers changed.
5911 * src/gnm-style-impl.h (GnmStyle): Drop font_zoom, but add
5914 2009-09-03 Morten Welinder <terra@gnome.org>
5916 * src/style-font.h (GnmFont): Remove unused pango.font.
5918 * configure.in (libgoffice): Require 0.7.12 for GPS_* change.
5920 2009-09-04 Morten Welinder <terra@gnome.org>
5922 * src/item-bar.c (item_bar_button_pressed): Don't grab after
5923 context menu. Fixes Debian 544975.
5925 2009-09-03 Jean Brefort <jean.brefort@normalesup.org>
5927 * src/item-edit.c (item_edit_draw): make item edit use the same font size
5928 than the sheet cell.
5930 2009-09-02 Jean Brefort <jean.brefort@normalesup.org>
5932 * src/item-bar.c (item_bar_motion): don't grab the item from there.
5934 2009-09-01 Morten Welinder <terra@gnome.org>
5936 * src/style-color.h (GnmColor): Eliminate gdk_color filed. All
5937 users changed to use go_color.
5939 * src/style-color.c (style_color_new_uninterned): Cleanup.
5941 2009-09-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5943 * src/mstyle.c (gnm_style_new_default): use style_color_auto_back
5944 as background color.
5946 2009-09-01 Jean Brefort <jean.brefort@normalesup.org>
5948 * src/gnm-plugin.c (plugin_service_function_group_class_init),
5949 (plugin_service_ui_class_init): renamed GPS to GO_PLUGIN_SERVICE.
5951 2009-09-01 Morten Welinder <terra@gnome.org>
5953 * src/style-color.h (struct _GnmColor): Eliminate
5954 gdk_selected_color and name fields.
5956 2009-09-01 Jean Brefort <jean.brefort@normalesup.org>
5958 * src/gnm-pane.c: renamed GOColor macros.
5959 * src/gnm-so-filled.c: ditto.
5960 * src/gnm-so-line.c: ditto.
5961 * src/gnm-so-polygon.c: ditto.
5962 * src/gui-util.c: ditto.
5963 * src/item-bar.c: ditto.
5964 * src/item-cursor.c: ditto.
5965 * src/item-edit.c: ditto.
5966 * src/item-grid.c: ditto.
5967 * src/print-cell.c: ditto.
5968 * src/sheet-object-cell-comment.c: ditto.
5969 * src/style-color.c: ditto.
5970 * src/wbc-gtk.c: ditto.
5972 2009-08-31 Jean Brefort <jean.brefort@normalesup.org>
5974 * src/gnm-pane.c (new_control_point), (set_acetate_coords):
5975 replace GOStyle::outline.
5976 * src/gnm-so-filled.c (sof_default_style),
5977 (gnm_so_filled_draw_cairo), (gnm_so_filled_read_xml_dom),
5978 (gnm_so_filled_write_xml_sax), (gnm_so_filled_prep_sax_parser):
5979 * src/gnm-so-polygon.c (sop_default_style): ditto.
5980 * src/item-edit.c (item_edit_draw): fixed cursor position.
5981 * src/sheet-object-cell-comment.c (cell_comment_new_view):
5982 replace GOStyle::outline.
5983 * src/sheet-object-image.c (gnm_soi_draw_cairo): ditto.
5985 2009-08-31 Morten Welinder <terra@gnome.org>
5987 * src/sheet-control-gui.c (scg_mode_edit): update menu sensitivity
5988 here. Fixes #593624.
5990 2009-08-30 Morten Welinder <terra@gnome.org>
5992 * configure.in: Post-release bump.
5994 2009-08-30 Morten Welinder <terra@gnome.org>
5998 2009-08-30 Jean Brefort <jean.brefort@normalesup.org>
6000 * src/gnm-pane.c (cb_bounds_changed): do not update while dragging.
6001 * src/sheet-object.c (cb_create_views),
6002 (sheet_object_view_enter_notify),
6003 (sheet_object_view_button_pressed): do not reintroduce #151789.
6005 2009-08-30 Jean Brefort <jean.brefort@normalesup.org>
6007 * src/sheet-control-gui.c (scg_object_anchor_to_coords): fixed a
6009 * src/sheet-object.c (sheet_object_clear_sheet),
6010 (sheet_object_view_finalize), (sheet_object_view_class_init): don't
6011 unref a finalized view.
6012 * src/style-border.c (gnm_style_border_set_dash),
6013 (style_border_set_gtk): rename and export gnm_style_border_set_dash.
6014 * src/style-border.h: ditto.
6016 2009-08-27 Jean Brefort <jean.brefort@normalesup.org>
6018 * src/gnm-so-filled.c (so_filled_item_view_class_init): deprecate the
6020 * src/gnm-so-line.c (so_line_goc_view_class_init): ditto.
6021 * src/gnm-so-polygon.c (so_polygon_goc_view_class_init): ditto.
6022 * src/sheet-control-gui.c (scg_resize), (scg_finalize),
6023 (scg_object_select), (cb_scg_object_unselect): cleaned.
6024 * src/sheet-object-cell-comment.c (comment_view_class_init): deprecate the
6026 * src/sheet-object-graph.c (so_graph_goc_view_class_init): ditto.
6027 * src/sheet-object-image.c (so_image_goc_view_class_init): ditto.
6028 * src/sheet-object-impl.h: ditto.
6029 * src/sheet-object-widget.c (so_widget_view_class_init): ditto.
6030 * src/sheet-object.c (sheet_object_clear_sheet),
6031 (sheet_object_new_view): ditto and fix a critical.
6032 * src/wbc-gtk-edit.c (workbook_edit_complete_notify),
6033 (cb_entry_delete_text): cleaned.
6035 2009-08-26 Jean Brefort <jean.brefort@normalesup.org>
6037 * src/cell-draw.c (cell_draw): do no draw extra lines around rotated text.
6039 2009-08-26 Jean Brefort <jean.brefort@normalesup.org>
6041 * src/cell-draw.c (cell_draw): fixed text rotation in cells. [#593114]
6043 2009-08-25 Jean Brefort <jean.brefort@normalesup.org>
6045 * src/cell-draw.c: use GocCanvas ibstead of FooCanvas
6046 * src/cell-draw.h: ditto.
6047 * src/gnm-pane-impl.h: ditto.
6048 * src/gnm-pane.c: ditto.
6049 * src/gnm-pane.h: ditto.
6050 * src/gnm-sheet-slicer-combo.c: ditto.
6051 * src/gnm-so-filled.c: ditto.
6052 * src/gnm-so-line.c: ditto.
6053 * src/gnm-so-polygon.c: ditto.
6054 * src/gnumeric-simple-canvas.c: ditto.
6055 * src/gnumeric-simple-canvas.h: ditto.
6056 * src/gui-util.c: ditto.
6057 * src/gui-util.h: ditto.
6058 * src/item-bar.c: ditto.
6059 * src/item-bar.h: ditto.
6060 * src/item-cursor.c: ditto.
6061 * src/item-cursor.h: ditto.
6062 * src/item-edit.c: ditto.
6063 * src/item-grid.c: ditto.
6064 * src/item-grid.h: ditto.
6065 * src/pattern.c: ditto.
6066 * src/pattern.h: ditto.
6067 * src/preview-grid-impl.h: ditto.
6068 * src/preview-grid.c: ditto.
6069 * src/sheet-control-gui.c: ditto.
6070 * src/sheet-control-gui.h: ditto.
6071 * src/sheet-filter.c: ditto.
6072 * src/sheet-object-cell-comment.c: ditto.
6073 * src/sheet-object-graph.c: ditto.
6074 * src/sheet-object-image.c: ditto.
6075 * src/sheet-object-impl.h: ditto.
6076 * src/sheet-object-widget.c: ditto.
6077 * src/sheet-object.c: ditto.
6078 * src/sheet-object.h: ditto.
6079 * src/style-border.c: ditto.
6080 * src/style-border.h: ditto.
6081 * src/style-color.c: ditto.
6082 * src/validation.c: ditto.
6083 * src/wbc-gtk-edit.c: ditto.
6085 2009-08-21 Morten Welinder <terra@gnome.org>
6087 * src/wbc-gtk-actions.c (insert_date_time_common): Rewrite to work
6088 with magic formats. Fixes #592545.
6090 2009-08-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6092 * src/func.h (function_def_get_arg_name): change argument
6093 * src/func.c (function_def_get_arg_name): rewrite using
6094 function_def_create_arg_names
6095 (function_def_create_arg_names): new
6096 (gnm_func_load_stub): call function_def_create_arg_names
6097 (gnm_func_free): free argument list
6098 (gnm_func_add): call function_def_create_arg_names
6100 2009-08-15 Morten Welinder <terra@gnome.org>
6102 * configure.in: Post-release bump.
6104 2009-08-15 Morten Welinder <terra@gnome.org>
6108 2009-08-14 Morten Welinder <terra@gnome.org>
6110 * src/func.c (gnm_func_sanity_check1): Check EXAMPLES too.
6112 2009-08-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6114 * src/func-builtin.c: remove argument names from GnmFuncDescriptor
6115 * src/func.h (_GnmFuncDescriptor): remove arg_names_depreceated
6117 2009-08-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6119 * src/func.h (_GnmFuncDescriptor): rename arg_names to
6120 arg_names_depreceated
6121 * src/func.c (gnm_func_load_stub): don't use arg_names
6122 (gnm_func_add): ditto
6123 (gnm_func_add_placeholder): ditto
6125 2009-08-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6127 * src/func.c (function_def_get_arg_name): rewrite without using
6130 2009-08-14 Morten Welinder <terra@gnome.org>
6132 * src/func.c (gnm_func_sanity_check1): Check argument count too.
6134 * src/main-application.c (main): Add new --func-sanity-check
6137 * src/func.c (gnm_func_sanity_check, gnm_func_sanity_check1): New
6140 2009-08-13 Morten Welinder <terra@gnome.org>
6142 * src/func.c (func_def_cmp, function_category_compare): Take
6143 advantage of go-string.
6145 2009-08-13 Jean Brefort <jean.brefort@normalesup.org>
6147 * src/gnm-plugin.c (plugin_service_function_group_read_xml): get "lang"
6148 property instead of "xml:lang" since the namespace is dropped.
6150 2009-08-05 Morten Welinder <terra@gnome.org>
6152 * src/GNOME_Gnumeric-gtk.xml.in: Add VUndo and VRedo. See bug
6155 2009-08-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6157 * src/wbc-gtk-actions.c: Change action names
6159 2009-07-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6161 * src/gui-util.h (gnm_check_for_plugins_missing): new
6162 * src/gui-util.c (gnm_check_for_plugins_missing): new
6164 2009-07-22 Jody Goldberg <jody@gnome.org>
6166 * src/colrow.c (colrow_compute_pts_from_pixels) : seems like the
6167 intent was to use -1 as a proxy for a call to colrow_compute_pixel_scale.
6168 This fixes the negatively sized cols/rows since b2c73a3e. [#588297]
6170 2009-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6172 * src/sheet-object.h (sheet_object_anchor_to_offset_pts): new
6173 * src/sheet-object.c (sheet_object_anchor_to_offset_pts): new
6175 2009-07-09 Morten Welinder <terra@gnome.org>
6177 * src/gnm-plugin.c (plugin_service_function_group_read_xml):
6178 Extract textdomain from xml.
6180 * src/func.c (gnm_func_add, gnm_func_add_stub): Add new
6181 "textdomain" paramter. All callers changed.
6183 * src/gnumeric-gconf.c: Transparently watch all configuration
6184 options of types int, bool, double, and string.
6186 * src/validation.c (gnm_validation_combo_finalize): Call the right
6187 parent class' finalizer.
6189 * src/gnumeric-gconf.c (gnm_conf_init): Handle new debug flags
6190 "conf-get" and "conf-set".
6192 2009-07-08 Morten Welinder <terra@gnome.org>
6194 * src/sheet.c (sheet_scale_changed): Compute scale only once per
6195 direction. Fixes #588105.
6197 * src/colrow.c (colrow_compute_pixel_scale): New function.
6198 (colrow_compute_pixels_from_pts, colrow_compute_pts_from_pixels):
6199 Take extra scale parameter.
6201 * src/gnm-cell-combo.c (gnm_cell_combo_set_sv): New function.
6202 (gnm_cell_combo_finalize, gnm_cell_combo_set_property): Call
6203 gnm_cell_combo_set_sv to release sv weak ref.
6204 (gnm_cell_combo_dispose): New function. Fixes #587992.
6206 * src/sheet.c (sheet_get_nominal_printarea): Avoid UMR.
6208 2009-07-07 Morten Welinder <terra@gnome.org>
6210 * src/func.c (gnm_func_group_fetch): Remove.
6211 (gnm_func_group_fetch_with_translation): Rename to
6212 gnm_func_group_fetch.
6214 2009-07-01 Morten Welinder <terra@gnome.org>
6216 * configure.in (libspreadsheet_reqs): Require goffice 0.7.9
6218 2009-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6220 * src/sheet.c (sheet_get_nominal_printarea): make sure the
6223 2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6225 * src/func-builtin.c (help_sum): change to new description type
6226 (help_product): ditto
6227 (help_gnumeric_version): ditto
6229 2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6231 * schemas/gnumeric-general.schemas.in: add schema for
6232 long format toolbar and fix other toolbar schemas
6233 * src/GNOME_Gnumeric-gtk.xml.in: provide a long version of
6236 2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6238 * src/wbc-gtk-actions.c (cb_help_docs): pass flags to g_spawn_async
6239 and provide more descriptive error message
6241 2009-06-28 Morten Welinder <terra@gnome.org>
6243 * src/gui-file.c (gui_file_template): Do not set a NULL uri here.
6244 Lots of code assumes we have a uri.
6246 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6248 * component/gnumeric.c (go_gnm_component_edit): call
6250 * src/Makefile.am: add new headers
6251 * src/wbc-gtk-impl.h (set_uifilename): new
6252 * src/wbc-gtk.c (set_uifilename): new
6254 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6256 * gnumeric.spec.in: updated to something a touch more recent
6258 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6260 * src/style-conditions.c (gnm_style_conditions_eval): fix
6261 GNM_STYLE_COND_NOT_BETWEEN:
6263 2009-06-23 Morten Welinder <terra@gnome.org>
6265 * src/item-cursor.c (item_cursor_tip_setlabel,
6266 cb_cursor_come_to_rest, item_bar_event): Use
6267 gnm_canvas_get_position.
6269 * src/gui-util.c (gnm_canvas_get_position): New function working
6270 around gdk bug. Fixes #586590.
6272 2009-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6274 * src/print-info.c (gnm_page_breaks_clean): we can't and don't need
6275 to clean a non-existing breaks array.
6276 * src/print.c (compute_sheet_pages): fix sense of test anc combine
6279 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6281 * src/func.h (GnmFuncHelpType): add GNM_FUNC_HELP_EXCEL and
6283 * src/func.c (function_dump_defs) handle new GnmFuncHelpType
6285 2009-06-20 Morten Welinder <terra@gnome.org>
6287 * src/gui-util.c (gnumeric_restore_window_geometry): Split out
6288 from gnumeric_keyed_dialog.
6290 * src/value.c (criteria_test_match): New function.
6291 (free_criteria): Free regexp if needed.
6292 (criteria_inspect_values, criteria_test_equal,
6293 criteria_test_unequal, criteria_test_less, criteria_test_greater,
6294 criteria_test_less_or_equal, criteria_test_greater_or_equal): Take
6295 GnmCriteria instead of y and date_conv. All callers changed.
6296 (parse_criteria): The no-operator case is criteria_test_match, not
6297 criteria_test_equal.
6299 2009-06-20 Morten Welinder <terra@gnome.org>
6301 * configure.in: Post-release bump.
6303 2009-06-20 Morten Welinder <terra@gnome.org>
6307 2009-06-19 Morten Welinder <terra@gnome.org>
6309 * src/value.c (parse_criteria): Return a GnmCriteria. All callers
6312 2009-06-18 Morten Welinder <terra@gnome.org>
6314 * src/func.c (function_call_with_exprs): Make sure we can tell
6315 skipped arguments from present arguments that return empty values.
6318 * src/expr.c (gnm_expr_is_empty): New function.
6320 * src/func-builtin.c (gnumeric_if2): Allow empty and array results
6321 results. Map NULL into value_new_empty() if the argument that
6322 produced it is not empty. (That prevents them from being treated
6323 as zero.) Fixes #586218.
6325 2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6327 * src/expr.h (gnm_func_lookup_or_add_placeholder): new
6328 * src/expr.c (gnm_func_lookup_or_add_placeholder): new
6330 2009-06-17 Morten Welinder <terra@gnome.org>
6332 * src/mathfunc.c (gnm_coth, gnm_acoth): New functions.
6334 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6336 * src/expr.h (gnm_expr_list_as_string): new
6337 * src/expr.c (gnm_expr_list_as_string): make non-static
6338 (do_expr_as_string): use convs->output.func
6339 * src/parse-util.h (_GnmConventions): add func field
6340 * src/parse-util.c (std_expr_func_handler): new
6341 (gnm_conventions_new_full): initialize func field
6343 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6345 * src/commands.c (cmd_define_name_undo): we have to update the
6346 printarea menu items
6347 (cmd_define_name_redo): ditto
6348 * src/wbc-gtk.c (wbcg_menu_state_update): update the printarea menu
6350 * src/workbook-control.h: add enum for printarea menu item update
6352 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6354 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): be rather safe
6355 than sorry and check whether sof->text is NULL
6356 (gnm_so_filled_set_property): make sure sof->text does not become
6357 NULL. (If it is NULL the foocanvas items don't notice it changing.)
6359 2009-06-16 Morten Welinder <terra@gnome.org>
6361 * src/func.c (dump_externals): New function for creating what will
6362 become http://projects.gnome.org/gnumeric/func-doc.shtml
6363 (function_dump_defs): Call dump_externals for type 4.
6365 * src/main-application.c (gnumeric_options): Introduce hidden
6366 option for generating web page.
6368 * src/gnm-pane.c (cb_control_point_event): Remove debug code.
6370 * src/mstyle.c (gnm_style_update): Verify that empty styles have
6371 hash values all zero.
6373 * src/sstest.c (test_insdel_rowcol_names): Explicitly define
6374 Print_Area to be whole sheet. Fixes test again.
6376 * src/go-data-slicer-field.c (go_data_slicer_field_init): Don't
6377 assign to ->field_type_pos[-1].
6379 2009-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6381 * src/mstyle.c (gnm_style_equal): check first for pointer equality
6383 2009-06-14 Morten Welinder <terra@gnome.org>
6385 Implement New-From-Template (#303657):
6387 * src/wbc-gtk.c (wbc_gtk_reload_templates, wbc_gtk_load_templates,
6388 cb_new_from_template): New functions.
6389 (wbc_gtk_new): Arrange to load templates later.
6390 (wbcg_update_title, regenerate_window_menu): Handle NULL uri.
6392 * src/wbc-gtk-actions.c (cb_file_menu): New handler to ensure that
6393 templates have been loaded.
6395 * src/gui-file.c (gui_file_template): New function.
6397 * src/workbook-view.c (wb_view_set_attribute): Handle problem with
6398 old .gnumeric files.
6400 2009-06-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6402 * schemas/gnumeric-general.schemas.in: remove sort header default
6403 * src/GNOME_Gnumeric-gtk.xml.in move preferences menu item
6404 * src/gnumeric-gconf.h: remove sort_default_has_header
6405 * src/gnumeric-gconf.c: remove sort_default_has_header
6406 (gnm_gconf_set_sort_has_header): deleted
6407 * src/wbc-gtk-actions.c: sort_by_rows, trust the automatic
6408 detection and don't try to use the default too
6409 (actions): move preferences, goto and fill menus
6411 2009-06-11 Morten Welinder <terra@gnome.org>
6413 * src/stf-parse.c (stf_parse_fixed_line): Make sure we have the
6414 right number of columns, even if we need to add empty items.
6417 2009-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6418 for Almer S. Tigelaar
6420 * src/wbc-gtk.c (cb_scroll_wheel): make sure we are acting on
6421 the top visible sheet
6423 2009-06-10 Morten Welinder <terra@gnome.org>
6425 * src/parser.y (yylex): Return LEFT_EXP_TOKEN or RIGHT_EXP_TOKEN
6427 (yyparse): Handle LEFT_EXP_TOKEN and RIGHT_EXP_TOKEN instead of
6430 * src/parse-util.h (struct _GnmConventions): Add associativity
6433 * src/parse-util.c (gnm_conventions_new_full): Init it.
6435 * src/parser.y: Change x^y^z into x^(y^z) to indicate how we
6438 * src/expr.c (do_expr_as_string): Ditto.
6440 2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6442 * src/ranges.c (range_clip_to_finite): adjust limits and add
6445 2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6447 * src/sheet.h (sheet_get_nominal_printarea): change return type
6448 * src/sheet.c (gnm_sheet_constructor): change initialization
6450 (sheet_get_nominal_printarea): change return type
6451 (sheet_get_printarea): adjust for changes in
6452 sheet_get_nominal_printarea
6453 * src/wbc-gtk-actions.c (cb_file_print_area_clear): change to
6454 match changed print area interpretation
6455 (cb_file_print_area_show): ditto
6456 * src/xml-io.c (xml_read_names): since existing files will assume
6457 the old meaning of print area we should adjust upon loading.
6458 * src/xml-sax-read.c (xml_sax_named_expr_end): ditto
6460 2009-06-09 Jody Goldberg <jody@gnome.org>
6462 * src/go-string.c (go_string_shutdown) : don't leak the shared string
6465 2009-06-09 Morten Welinder <terra@gnome.org>
6467 * src/go-string.c: Avoid lots of casts. Use unsigned values for
6468 flag constants to match the flags.
6469 (go_string_ERROR): Fix prototype.
6471 * src/mathfunc.c (gnm_cot, gnm_acot): New functions.
6473 * src/sheet-style.c (sheet_style_find): Keep style hash entries
6474 unique. Fixes #585178.
6476 * src/mstyle.c (gnm_style_dup): Copy pango_attrs_zoom too.
6478 2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6480 * src/print-info.c (gnm_page_breaks_get_next_break): new
6481 * src/print-info.h (gnm_page_breaks_get_next_break): new
6482 * src/xml-io.c (xml_read_breaks): adjust to cahnge in enum
6484 * src/xml-sax-read.c (xml_sax_page_break): ditto
6485 * src/xml-sax-write.c (xml_write_breaks): also write soft breaks
6487 2009-06-08 Morten Welinder <terra@gnome.org>
6489 * src/sheet-style.c (sample_styles): Check equality using
6490 gnm_style_equal to match the optimizer, if even == ought to be
6492 (sheet_style_optimize): Add no-style-optimize debug flag doing the
6495 2009-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6497 * src/print.c (compute_sheet_pages): make sure we have
6498 page breaks allocated before we try to save any.
6500 2009-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6502 * src/print-info.c (gnm_page_breaks_get_next_manual_break):
6504 (gnm_page_breaks_set_break): ditto
6505 (gnm_page_breaks_clean): ditto
6507 2009-06-08 Jody Goldberg <jody@gnome.org>
6509 * src/go-data-slicer-field.c (go_data_slicer_field_init) : adjust to
6510 GDS_FIELD_TYPE_ re-org
6512 2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6514 * src/print-info.h (gnm_page_breaks_clean): new
6515 * src/print-info.c(gnm_page_breaks_clean): new
6516 * src/print.c (paginate): store page breaks if requested
6517 (compute_sheet_pages): clear page breaks if storage of new ones
6520 2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6522 * src/print-info.h (gnm_page_breaks_set_break): new
6523 (gnm_page_breaks_get_break): new
6524 (gnm_page_breaks_get_next_manual_break): new
6525 (gnm_page_breaks_dup_non_auto_breaks): new
6526 * src/print-info.c (gnm_page_breaks_set_break): new
6527 (gnm_page_breaks_get_break): new
6528 (gnm_page_breaks_get_next_manual_break): new
6529 (gnm_page_breaks_dup_non_auto_breaks): new
6530 (gnm_page_break_type_from_str): default to GNM_PAGE_BREAK_NONE
6531 * src/print.h (GNUMERIC_PRINT_SETTING_IGNORE_PAGE_BREAKS_KEY):
6533 * src/print.c (PrintingInstance): add new fields
6534 (paginate): add arguments and change all callers
6535 (gnm_begin_print_cb): handle ignoring of manual page breaks
6536 (gnm_create_widget_cb): add ignore page break chackbox
6537 (gnm_custom_widget_apply_cb): and handle the checkbox
6539 2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6541 * src/GNOME_Gnumeric-gtk.xml.in: add ChiSquareTests
6542 * src/wbc-gtk-actions.c add MenuContingencyTests and
6543 Tools -> Chi Square Tests items
6545 2009-06-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6547 * expr.h (gnm_expr_new_funcall5): new
6548 * src/expr.c (gnm_expr_new_funcall5): new
6550 2009-06-04 Morten Welinder <terra@gnome.org>
6552 * src/sheet.c (cb_set_cell_content): Fix critical when overwriting
6553 a non-singular array formula with non-array contents. [#584746]
6555 2009-06-03 Morten Welinder <terra@gnome.org>
6557 * src/expr.c (cellref_boundingbox, gnm_expr_get_boundingbox,
6558 gnm_expr_top_get_boundingbox): Add sheet parameter for size.
6559 All callers changed.
6561 2009-06-02 Morten Welinder <terra@gnome.org>
6563 * src/wbc-gtk-actions.c (cb_format_as_currency): Deal with goffice
6566 2009-05-30 Morten Welinder <terra@gnome.org>
6568 * src/xml-sax-read.c (xml_sax_cell_content): Don't check
6571 2009-05-29 Morten Welinder <terra@gnome.org>
6573 * src/main-application.c (main): Honour geometry even when we are
6574 not loading a file from the command line.
6576 2009-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6578 * src/wbc-gtk-actions.c (toggle_font_attr): when we toggle sub or
6579 subscript we should also toggle the size.
6581 2009-05-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6583 * src/GNOME_Gnumeric-gtk.xml.in: add super and subscript buttons
6584 to format toolbar. Remove Label button from the object toolbar
6585 since it is functionally equivalent to the rectangle button.
6587 2009-05-28 Morten Welinder <terra@gnome.org>
6589 * src/wbc-gtk-actions.c (cb_format_as_currency): Fix.
6591 2009-05-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6593 * src/gnm-so-filled.c (so_filled_view_set_bounds): don't check for
6594 text to be non-null and is_oval to be false
6595 (gnm_so_filled_user_config): ditto
6596 (cb_gnm_so_filled_style_changed): ditto
6597 (gnm_so_filled_draw_cairo): ditto
6598 (gnm_so_filled_write_xml_sax): ditto
6599 (gnm_so_filled_init): Iniitalize with the empty string rather than NULL
6600 since something in FOOCANVAS doesn't update when we change from NULL to
6603 2009-05-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6605 * src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser):
6606 make sure we are having markup before retrieving it
6608 2009-05-26 Morten Welinder <terra@gnome.org>
6610 * src/dependent.c (dependent_changed): Handle NULL dep->sheet.
6612 2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6614 * configure.in: increase goffice requirement to 0.7.8
6616 2009-05-26 Morten Welinder <terra@gnome.org>
6618 * src/search.c (gnm_search_match_value): Accept a very small
6621 2009-05-25 Morten Welinder <terra@gnome.org>
6623 * src/search.c (gnm_search_replace_set_property,
6624 gnm_search_replace_get_property, gnm_search_replace_class_init):
6625 Add new is-number property.
6626 (gnm_search_replace_comment): Comments are not numbers.
6627 (gnm_search_replace_cell, gnm_search_replace_value): Handle number
6630 2009-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6632 * configure.in: increase libgsf requirement to 1.14.15
6634 2009-05-23 Morten Welinder <terra@gnome.org>
6636 * configure.in: Post-release bump.
6638 2009-05-23 Morten Welinder <terra@gnome.org>
6642 2009-05-22 Morten Welinder <terra@gnome.org>
6644 * src/parse-util.c (gnm_expr_parse_str_simple): Remove. Interface
6645 invites R1C1 bugs. All callers fixed.
6647 2009-05-21 Morten Welinder <terra@gnome.org>
6649 * src/wbc-gtk.c (cb_graph_dim_editor_update): Suppress the initial
6652 2009-05-18 Morten Welinder <terra@gnome.org>
6654 * src/sheet-object-widget.c: Clean up class accesses.
6656 * src/graph.c (gnm_go_data_date_conv): New function.
6658 * src/workbook-view.c (wb_view_set_property): Normalize booleans.
6660 * src/sheet-style.c (sheet_style_init_size,
6661 sheet_style_set_auto_pattern_color): Use structure assignment, not
6664 * src/sheet-object.c (sheet_object_anchor_assign): Eliminate in
6665 favour of plain structure assignment. All callers changed.
6667 * src/wbc-gtk.c (wbcg_scrollbar_visibility,
6668 wbcg_notebook_tabs_visibility): New functions.
6669 (wbcg_view_changed): Hook up wbcg_scrollbar_visibility and
6670 wbcg_notebook_tabs_visibility.
6672 * src/workbook-view.c (workbook_view_class_init, wb_view_set_property,
6673 wb_view_get_property): Add new properties:
6674 PROP_SHOW_HORIZONTAL_SCROLLBAR, PROP_SHOW_VERTICAL_SCROLLBAR,
6675 PROP_SHOW_NOTEBOOK_TABS, PROP_DO_AUTO_COMPLETION, PROP_PROTECTED,
6676 PROP_PREFERRED_WIDTH, PROP_PREFERRED_HEIGHT.
6677 (wb_view_preferred_size): Use the new properties thus taking care
6678 of any notification needed.
6679 (wb_view_set_attribute): Ditto, although this function should die
6682 2009-05-17 Morten Welinder <terra@gnome.org>
6684 * src/graph.c (gnm_go_data_eq): Compare convs too.
6686 2009-05-16 Morten Welinder <terra@gnome.org>
6690 * src/graph.c (gnm_go_data_preferred_fmt): Don't check dep->sheet.
6692 * src/sheet-object.c (cb_sheet_object_invalidate_sheet): Clear
6693 dep->sheet if necessary.
6695 * src/gui-clipboard.c (table_cellregion_read): Invalidate the
6696 sheets in the temporary workbook.
6698 * src/clipboard.c (cellregion_invalidate_sheet): Clear
6699 ->origin_sheet if that is what we are invalidating.
6701 2009-05-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6703 * src/xml-sax-write.c (xml_write_style): since we index into the
6704 array with our enum we should make the order match.
6706 2009-05-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6708 * schemas/gnumeric-dialogs.schemas.in: fix some long descriptions
6709 * schemas/gnumeric-general.schemas.in: ditto
6710 * src/gnm-plugin.c: add a translator comment
6712 2009-05-15 Morten Welinder <terra@gnome.org>
6714 * src/dependent.c (gnm_dep_container_dump): fix crash.
6716 2009-05-14 Morten Welinder <terra@gnome.org>
6718 * src/dependent.c (workbook_recalc): Wrap whole evaluation in
6719 calls to gnm_app_recalc_start and gnm_app_recalc_finish.
6721 * src/expr.c (gnm_expr_top_eval): Wrap gnm_expr_eval call in calls
6722 to gnm_app_recalc_start and gnm_app_recalc_finish.
6724 * src/clipboard.c (paste_cell_with_operation): Create a GnmExprTop
6725 and use that for evaluation.
6726 * src/validation.c (validation_eval): Ditto.
6727 * src/workbook-view.c (wb_view_auto_expr_recalc): Ditto. Simplify.
6729 * src/application.c (gnm_app_recalc_start, gnm_app_recalc_finish):
6732 * src/commands.c (cmd_so_set_adjustment): Handle h/v too. All
6734 * src/sheet-object-widget.c (sheet_widget_adjustment_user_config_impl):
6737 * src/sheet-object-widget.c (SheetWidgetAdjustment): Add explicit
6739 (SheetWidgetAdjustmentClass): Identify h and v versions here.
6740 (sheet_widget_adjustment_write_xml_sax): Save direction if needed.
6741 (sheet_widget_adjustment_prep_sax_parser,
6742 sheet_widget_adjustment_read_xml_dom): Read it here.
6744 2009-05-13 Morten Welinder <terra@gnome.org>
6746 * src/sheet-object-widget.c (sheet_widget_scrollbar_create_widget):
6747 Record whether the scrollbar is horizontal or vertical so
6748 different views will have the same orientation.
6750 2009-05-12 Morten Welinder <terra@gnome.org>
6752 * src/gutils.c (gnm_debug_flag): New function.
6753 * src/sheet-style.c (sheet_style_optimize): Use gnm_debug_flag.
6754 * src/gui-clipboard.c (debug_clipboard): Ditto.
6755 * src/main-application.c (main): Ditto.
6756 * src/wbc-gtk.c (cb_workbook_debug_info,
6757 wbc_gtk_create_edit_area): Ditto.
6759 2009-05-11 Morten Welinder <terra@gnome.org>
6761 * src/ssconvert.c (merge): Rearrange to read files only once.
6763 * src/sheet.c (gnm_sheet_resize_main): Only warn for a resize that
6766 * src/sheet-style.c (sheet_style_init_size): Don't set partial_col
6768 (cb_style_list_add_node): Deal without partial_col and
6771 * src/sheet.h (struct _Sheet): Remove partial_col and partial_row
6774 * src/ssindex.c (cb_index_styles): Index validation stuff too.
6776 2009-05-09 Morten Welinder <terra@gnome.org>
6778 * src/collect.c (collect_floats): Introduce a cache for the
6779 important argc==1 case. Add extra argument to avoid copying
6780 the result unnecessarily. All callers changed.
6782 * src/sheet-style.c (cell_tile_optimize): Remove extraneous
6783 "break;" Fixes #582027.
6785 * src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols,
6786 gnm_gconf_set_workbook_nrows): Respect any valid size.
6788 * src/workbook.c (workbook_new_with_sheets): Ditto.
6790 * src/gui-clipboard.c (table_cellregion_write): Explicitly size
6791 the temporary sheet.
6793 * src/workbook.c (workbook_new_with_sheets): Respect the sheet
6796 * src/gui-clipboard.c (table_cellregion_write): Plug leak.
6798 * src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols): Set
6799 prefs.col_number too.
6800 (gnm_gconf_set_workbook_nrows): Set prefs.row_number too.
6802 * src/sheet-style.c (verify_styles): Abort if anything is found to
6805 2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6807 * src/cell.c (gnm_cell_is_nonsingleton_array): don't use
6808 simply gnm_cell_is_array_corner since it returns NULL for
6809 other array elements
6811 2009-05-09 Morten Welinder <terra@gnome.org>
6813 * src/sheet-style.c (cell_tile_optimize): Fix crash. #581931.
6815 2009-05-08 Morten Welinder <terra@gnome.org>
6817 * src/expr.c (gnm_expr_get_range): Handle parenthesis.
6819 2009-05-09 Jody Goldberg <jody@gnome.org>
6821 * configure.in : add $ac_exeext when checking for executables so that
6822 wine can be used when cross compiling.
6824 2009-05-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6826 * src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): write
6827 serialized pango attributes
6828 (gnm_so_filled_prep_sax_parser): read serialized pango
6830 * src/sheet-object-cell-comment.c (cell_comment_write_xml_sax)
6831 write serialized pango attributes
6832 (cell_comment_prep_sax_parser): read serialized pango
6835 2009-05-07 Morten Welinder <terra@gnome.org>
6837 * src/sheet-style.c (sheet_style_optimize): New function.
6839 * src/workbook.c (workbook_optimize_style): New function.
6841 * src/workbook-view.c (wb_view_new_from_input): Call
6842 workbook_optimize_style.
6844 2009-05-06 Morten Welinder <terra@gnome.org>
6846 * configure.in: Post-release bump.
6848 2009-05-06 Morten Welinder <terra@gnome.org>
6852 2009-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6854 * configure.in: (libgsf) require 1.14.13 since the
6855 gsf_opendoc_metadata_subtree in previous versions will crash!
6856 * src/xml-sax-read.c (xml_sax_document_meta): new
6857 (content_ns): added name spaces
6858 (gnumeric_1_0_dtd): hook up xml_sax_document_meta
6860 2009-05-06 Morten Welinder <terra@gnome.org>
6862 * src/gnm-so-polygon.c (gnm_so_polygon_write_xml_sax): Implement.
6863 Untested, but fixes #581394.
6865 * src/sheet-autofill.c (afc_set_cell_hint): Don't use the target
6866 cell for conventions -- it can be NULL. Fixes #581589.
6868 2009-05-05 Morten Welinder <terra@gnome.org>
6870 * src/gnm-so-polygon.c (gnm_so_polygon_set_property): Handle NULL
6872 (so_polygon_view_set_bounds): Handle empty points.
6874 * src/gnm-style-impl.h (struct _GnmStyle): Allocate the right
6875 number of border elements!
6877 * src/mstyle.c (elem_is_eq): Force inline since most callers then
6878 trivially pick the right branch.
6879 (gnm_style_find_conflicts): Assert that we have bits enough.
6880 (gnm_style_update): Hash the right number of border elements.
6882 2009-05-04 Morten Welinder <terra@gnome.org>
6884 * src/sheet.c (gnm_sheet_get_size2): New function.
6886 * src/parse-util.c (cellref_as_string, r1c1_rangeref_parse,
6887 rangeref_as_string, rangeref_parse): Simplify using
6888 gnm_sheet_get_size2.
6890 * src/position.c (gnm_rangeref_normalize_pp): Simplify using
6891 gnm_sheet_get_size2.
6893 * src/xml-sax-read.c (handle_delayed_names): Simplify using
6894 gnm_sheet_get_size2.
6896 * src/expr.c (reloc_restore_cellref): Take a GnmSheetSize, not a
6897 Sheet. All callers changed.
6899 * src/dependent.c (dependents_relocate): Relocate names with
6900 respect to the right GnmParsePos.
6901 (gnm_dep_container_dump): Just list the names.
6903 * src/workbook.c (workbook_foreach_name): Add extra globals_only
6904 flag. Caller changed.
6906 * src/dependent.c (dependents_relocate): Relocate sheet-local and
6907 global names too. Minor issues remain.
6909 2009-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6911 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo) use
6912 pango_layout_set_text rather than pango_layout_set_markup
6915 2009-05-03 Morten Welinder <terra@gnome.org>
6917 * src/expr-name.c (expr_name_handle_references): Undo last change.
6918 Bug 581117 is duct taped by sheet_get_nominal_printarea change.
6920 * src/sheet.c (sheet_get_nominal_printarea): Work harder at
6923 * src/expr.c (reloc_cellrange): Make sure a full row (1:1) or
6924 column (A:A) sticks at the beginning too.
6926 2009-05-02 Morten Welinder <terra@gnome.org>
6928 * src/expr-name.c (expr_name_handle_references): Handle NULL sheet
6929 from expr_name_handle_references. Fixes #581117.
6931 * src/expr.c (gnm_insert_unique): Renamed from
6932 g_slist_insert_unique. Insert NULL too, if appropriate.
6933 (do_referenced_sheets): Correctly handle right-hand side of a
6934 range if it is NULL.
6936 * src/position.c (eval_pos_init_sheet, parse_pos_init,
6937 parse_pos_init_sheet): Constify.
6939 2009-05-02 Jean Brefort <jean.brefort@normalesup.org>
6941 * src/graph.c (render_val): don't crash with a NULL value. [#581120]
6943 2009-05-01 Morten Welinder <terra@gnome.org>
6945 * src/parse-util.c (r1c1_rangeref_parse): Fix sheet size handling.
6947 * src/sheet-style.c (sheet_style_sanity_check): New function.
6948 (sheet_style_init): Call sheet_style_sanity_check.
6949 (tile_widths, tile_heights): Add extra element.
6951 2009-05-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6953 * src/commands.h (cmd_set_comment): add author argument
6954 * src/commands.c (cmd_set_comment): ditto
6955 (cmd_set_comment_apply): ditto, and change all callers
6956 (cmd_set_comment_finalize): delete author info
6957 * src/sheet-object-cell-comment.c: add "author" property
6959 2009-04-30 Morten Welinder <terra@gnome.org>
6961 * src/position.c (gnm_cellref_get_row, gnm_cellref_get_col): Get
6962 sheet size from eval-pos, if the ref doesn't have one. Fixes
6965 * src/wbc-gtk.c (set_entry_contents): New function for common
6967 (cb_dataset_changed, wbcg_data_allocator_editor): Use
6970 * src/graph.c (render_val): New function.
6971 (gnm_go_data_scalar_get_str, gnm_go_data_vector_get_str,
6972 gnm_go_data_matrix_get_str): Use render_val.
6974 2009-04-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6976 * src/sheet-control-gui.c (scg_comment_display):
6977 use comment attributes
6978 * src/sheet-object-cell-comment.c (cell_comment_set_property):
6979 remove invalid and unneeded code
6981 2009-04-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
6983 * src/sheet-object-cell-comment.h (cell_set_comment): add
6984 markup argument and change all callers
6985 * src/sheet-object-cell-comment.c (cell_set_comment): add
6987 (cell_comment_set_property): comment out invalid call to
6989 * src/commands.h (cmd_set_comment): add attribute argument
6990 * src/commands.c (cmd_set_comment): add attribute argument
6991 (cmd_set_comment_apply): ditto and change all callers
6992 (cmd_set_comment_finalize): unref attributes
6993 * src/gui-util.c (gnumeric_keyed_dialog): remember dialog size for
6996 2009-04-29 Morten Welinder <terra@gnome.org>
6998 * */*.c: Reduce use of gnm_conventions_default and
6999 gnm_expr_parse_str_simple. Use conventions from sheet or passed
7000 down from sax writer.
7002 2009-04-29 Morten Welinder <terra@gnome.org>
7004 * src/wbc-gtk.c (cb_wbcg_window_state_event): When entering
7005 fullscreen mode, disable the actions in ->hide_for_fullscreen.
7006 When exiting, restore the old state.
7007 (cb_toolbar_box_visible): Don't persist changes while in
7008 fullscreen mode. Fixes #574603.
7010 * src/expr.c (gnm_expr_as_string): Don't check pp for NULL since
7011 we have a debug default.
7012 (gnm_expr_is_err): New function extracted from
7013 gnm_expr_top_is_err.
7014 (gnm_expr_relocate): Only invalidate the use of a name if its
7015 expression, hypothetically, moved would become invalid. Fixes
7018 * src/application.c (gnm_app_workbook_get_by_index): Simplify and
7021 * src/position.c (gnm_cellpos_init_cellref_ss): Make public.
7023 * src/parse-util.c (cellref_as_string, rangeref_parse): Handle
7024 out->pp->sheet being NULL for global names.
7026 2009-04-28 Jody Goldberg <jody@gnome.org>
7028 * src/wbc-gtk.c (wbc_gtk_init) : use the pref for autosave.
7029 * src/gnumeric-gconf.c (gnm_conf_init_essential) : load it here.
7030 (gnm_gconf_set_workbook_autosave_time) : new.
7032 2009-04-28 Morten Welinder <terra@gnome.org>
7034 * src/parse-util.c (std_expr_name_handler): Handle shadowed global
7036 * src/parser.y (workbookref): Ditto. Fixes #306686.
7038 2009-04-27 Morten Welinder <terra@gnome.org>
7040 * src/position.c (gnm_rangeref_normalize_pp): New function
7041 extracted from gnm_rangeref_normalize.
7043 * src/parse-util.c (col_parse, row_parse, cellpos_parse,
7044 cellref_parse, cellref_a1_get, r1c1_get_index, cellref_r1c1_get):
7045 Change from Sheet argument to GnmSheetSize argument. All callers
7047 (std_sheet_name_quote): Eliminate the use of MAGIC_MAX_SHEET.
7048 (rangeref_as_string): Use gnm_rangeref_normalize_pp. Fixes
7051 src/ranges.c (range_parse): Change from Sheet argument to
7052 GnmSheetSize argument. All callers changed.
7054 * src/sheet.c (gnm_sheet_get_size): New function replacing
7055 gnm_sheet_get_max_cols and gnm_sheet_get_max_rows. Turn those
7058 * src/sheet.h (struct _Sheet): Move max_cols and max_rows into
7059 new member size of type GnmSheetSize.
7061 2009-04-27 Morten Welinder <terra@gnome.org>
7063 * src/item-grid.c (cb_cursor_come_to_rest): Fix tooltip
7065 * src/item-cursor.c (item_cursor_tip_setlabel): Ditto.
7066 * src/item-bar.c (item_bar_event): Ditto. Fixes #580358.
7068 2009-04-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7070 * src/gui-util.h (gnm_create_std_tags_for_buffer): new
7071 * src/gui-util.c (gnm_create_std_tags_for_buffer): new
7072 (gnm_load_pango_attributes_into_buffer_filter): weight will use named tags
7073 (gnm_load_pango_attributes_into_buffer_named_filter): ditto
7074 (gnm_load_pango_attributes_into_buffer): The standard tags will exist.
7075 Classify the weight into the standard values.
7077 2009-04-26 Morten Welinder <terra@gnome.org>
7079 * src/xml-sax-read.c (handle_delayed_names): Parse position here
7081 (xml_sax_named_expr_end): Don't do it here. Fixes #580227.
7083 2009-04-25 Morten Welinder <terra@gnome.org>
7085 * configure.in: Post-release bump.
7087 2009-04-25 Morten Welinder <terra@gnome.org>
7091 2009-04-24 Morten Welinder <terra@gnome.org>
7093 * src/sheet.c (sheet_delete_cols, sheet_delete_rows): If count
7094 sends us beyond the end of the sheet, take that as a hint not to
7095 make ranges that go to the end of the sheet sticky.
7096 (gnm_sheet_resize_main): Supply such a hint.
7098 * src/expr.h (struct _GnmExprRelocateInfo): Add extra sticky_end
7099 field for col/row insert/delete.
7101 * src/expr.c (reloc_cellrange): Take extra sticky_end argument and
7102 only make end-of-sheet stick if that is set. Fix logic to ignore
7103 beginning of such ranges. All callers changed.
7104 (gnm_expr_relocate): Avoid using "default:" for reloc_type.
7106 * src/ranges.c (range_make_full): Remove. No longer used.
7108 * src/validation.c (validation_barf): Ignore the problem if
7109 VALIDATION_STYLE_NONE is used. Fixes #580157.
7111 * src/expr.c (gnm_expr_as_string): Add defaults for debugging.
7113 * src/sheet.c (gnm_sheet_resize_main): Restrict the selection to
7114 the size of the new sheet.
7116 * src/sheet-control-gui.c (cb_scg_sheet_resized): For panes and
7117 thus cursors to be updated.
7119 * src/sheet-style.c (sheet_style_resize): Fix off-by-one.
7121 * configure.in (PANGO_WEIGHT_THIN): Check for this and friends.
7123 2009-04-23 Morten Welinder <terra@gnome.org>
7125 * src/sheet-control-gui.c (cb_scg_sheet_resized): New function.
7126 (sheet_control_gui_new): Connect cb_scg_sheet_resized to the
7127 sheet's "rows" and "columns" properties.
7128 (scg_finalize): Disconnect.
7130 * src/expr-name.c (expr_name_validate): Take sheet argument for
7131 checks. All callers changed.
7133 * src/sheet.c (gnm_sheet_resize_main): Resize styles too.
7134 (gnm_sheet_constructor): Check row count sanity here.
7136 * src/sheet-style.c (sheet_style_init): Not here.
7137 (sheet_style_resize): New function.
7138 (sheet_style_init_size): Split from sheet_style_init.
7140 * src/commands.c (cmd_insert_rows, cmd_insert_cols): Simplify and
7142 (cmd_ins_del_colrow): Simplify.
7144 * src/sheet.c (sheet_insert_cols, sheet_insert_rows): Fix
7147 2009-04-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7149 * src/gui-util.c (gnm_load_pango_attributes_into_buffer_filter):
7150 add more supported items
7151 (gnm_load_pango_attributes_into_buffer_named_filter): ditto
7152 (gnm_load_pango_attributes_into_buffer): ditto
7153 (gnm_store_text_tag_attr_in_pango): ditto
7155 2009-04-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7157 * src/gui-util.c (gnm_load_pango_attributes_into_buffer):
7158 we need to create some labelled tags for off/on styles
7159 (gnm_load_pango_attributes_into_buffer_named_filter): new
7160 (gnm_store_text_tag_attr_in_pango): handle style attribute
7162 2009-04-22 Morten Welinder <terra@gnome.org>
7164 * src/sheet.c (gnm_sheet_resize_main): Undo to the right size.
7166 * src/wbc-gtk.c (wbcg_get_scg): Fix warning on exit.
7168 * src/workbook.c (workbook_sheets): Change result type to GSList*.
7169 All callers changed.
7171 * src/sheet.c (gnm_sheet_resize_main): Change container size too.
7172 Unlink, re-link, and recalculate all dependencies.
7173 (gnm_sheet_resize_main): Handle errors from attempted splitting of
7176 2009-04-21 Morten Welinder <terra@gnome.org>
7178 * src/dependent.c (gnm_dep_container_new): Calculate the number of
7179 buckets here once and for all and store in container.
7180 (BUCKET_LAST): Remove. All users changed to use above.
7182 * src/sheet.c (sheet_destroy_contents): Use colrow_resize.
7183 (gnm_sheet_resize): Initial implementation.
7185 * src/colrow.c (colrow_resize): New function.
7187 * src/sheet.c (gnm_sheet_resize): Stub.
7189 * src/commands.c (cmd_resize_sheets): Undo framework for resizing
7192 * src/xml-io.c (xml_read_print_repeat_range): Adapt to print-info
7195 * src/xml-sax-write.c (xml_write_print_repeat_range): Fix writing
7198 2009-04-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7200 * src/commands.h (cmd_object_format): add argument
7201 * src/commands.c (cmd_object_format): handle attributes
7202 (cmd_object_format_redo): ditto
7203 (cmd_object_format_finalize): ditto
7204 * src/gnm-so-filled.c (cb_gnm_so_filled_changed): also set
7206 * src/gui-util.h (gnumeric_textbuffer_get_text): new
7207 (gnm_load_pango_attributes_into_buffer): new
7208 (gnm_get_pango_attributes_from_buffer): new
7209 * src/gui-util.c (gnumeric_textbuffer_get_text): new
7210 (gnm_load_pango_attributes_into_buffer): new
7211 (gnm_get_pango_attributes_from_buffer): new
7212 (gnumeric_textview_get_text): use gnumeric_textbuffer_get_text
7213 (gnm_load_pango_attributes_into_buffer_filter): new
7214 (gnm_store_text_tag_attr_in_pango): new
7216 2009-04-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7218 * src/gnm-so-filled.c (gnm_so_filled_user_config): adjust for
7219 changed arguments of dialog_so_styled
7220 * src/gnm-so-line.c (gnm_so_line_user_config): ditto
7221 * src/gnm-so-polygon.c (gnm_so_polygon_user_config): ditto
7223 2009-04-21 Morten Welinder <terra@gnome.org>
7225 * src/commands.c (cmd_print_setup_redo): Only reverse the list
7226 right after it was created.
7228 * src/print-info.c (print_info_free): Free here.
7229 (print_info_load_defaults): Simply copy as text here.
7230 (print_info_dup): Copy here.
7231 (print_info_new, print_info_dup): Don't take sheet argument
7232 anymore. All callers changed.
7234 * src/print-info.h (struct _PrintInformation): Keep repeat_top and
7235 repeat_left as strings so they become sheet independent.
7237 * src/print.c (compute_sheet_pages): Parse repeat_top and
7240 2009-04-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7242 * src/commands.h (cmd_object_format): add argument
7243 * src/commands.c (cmd_object_format): handle modified text string
7244 (cmd_object_format_redo): ditto
7245 (cmd_object_format_finalize): ditto
7246 * src/gnm-so-filled.c (gnm_so_filled_user_config): just pass an indicator
7247 rather than a string.
7249 2009-04-20 Morten Welinder <terra@gnome.org>
7251 * src/wbc-gtk-actions.c (wbc_gtk_init_actions): Disable solver
7252 action if compiled without the solver.
7254 2009-04-20 Jean Brefort <jean.brefort@normalesup.org>
7256 * libspreadsheet.pc.in: use -lspreadsheet-$(VERSION) instead of
7257 $(GNUMERIC_API_VER). [#575390]
7259 2009-04-20 Morten Welinder <terra@gnome.org>
7261 * src/wbc-gtk-actions.c (actions): Get rid of old
7262 insert-sized-sheet entry.
7264 * src/wbc-gtk.c (sheet_menu_label_run): Add new Resize menu entry.
7266 2009-04-20 Jean Brefort <jean.brefort@normalesup.org>
7268 * configure.in: check for gtk_adjustment_configure.
7269 * src/commands.c (cmd_so_set_adjustment_adj): add defines for missing gtk
7270 functions in gtk+-2.12 and earlier (see #114098).
7272 2009-04-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7274 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): print text if
7277 2009-04-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7279 * src/sheet-object-widget.c (so_widget_view_set_bounds): Make sure that the
7280 bounds are at least 6 wide [#579152]
7282 2009-04-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7284 * src/commands.h (cmd_so_set_adjustment): new
7285 * src/commands.c (cmd_so_set_adjustment): new
7286 (cmd_so_set_adjustment_adj): new
7287 (cmd_so_set_adjustment_redo): new
7288 (cmd_so_set_adjustment_undo): new
7289 (cmd_so_set_adjustment_finalize): new
7290 * src/sheet-object-widget.h (sheet_widget_adjustment_get_link): new
7291 (sheet_widget_adjustment_set_link): new
7292 (sheet_widget_adjustment_get_adjustment): new
7293 * src/sheet-object-widget.c (sheet_widget_adjustment_get_link): new
7294 (sheet_widget_adjustment_set_link): new
7295 (sheet_widget_adjustment_get_adjustment): new
7296 (AdjustmentConfigState): new field
7297 (cb_adjustment_config_destroy): release label memory
7298 (cb_adjustment_config_ok_clicked): call cmd_so_set_adjustment
7299 (sheet_widget_adjustment_user_config_impl): previously
7300 sheet_widget_adjustment_user_config with window title and undo
7302 (sheet_widget_adjustment_user_config): stub to call
7303 sheet_widget_adjustment_user_config_impl with correct labels.
7304 (sheet_widget_scrollbar_user_config) : new
7305 (sheet_widget_scrollbar_class_init): hookup sheet_widget_scrollbar_user_config
7306 (sheet_widget_spinbutton_user_config) : new
7307 (sheet_widget_spinbutton_class_init): hookup sheet_widget_scrollbar_user_config
7308 (sheet_widget_slider_user_config) : new
7309 (sheet_widget_slider_class_init): hookup sheet_widget_scrollbar_user_config
7311 2009-04-18 Morten Welinder <terra@gnome.org>
7313 * */*.c: Use gnm_sheet_get_last_(col|row) where appropriate.
7315 2009-04-17 Morten Welinder <terra@gnome.org>
7317 * src/ssconvert.c (setup_range): Parse in the context of the first
7320 * src/parse-util.c (cellref_as_string): Simplify and fix: let
7321 gnm_cellpos_init_cellref do the work.
7323 * src/position.c (gnm_cellref_make_abs): Simplify and fix: Let
7324 gnm_cellpos_init_cellref do the work.
7326 * src/position.c (gnm_cellpos_init_cellref): Take extra base_sheet
7327 argument. All callers changed.
7329 * src/parse-util.c (cellref_abs_col, cellref_abs_row): Eliminate
7330 in favour of gnm_cellpos_init_cellref.
7332 * src/commands.c (cmd_so_set_frame_label_finalize,
7333 cmd_so_set_checkbox_finalize): Don't NULL-check before g_free.
7334 Test suite passes again.
7336 * src/print-info.c (load_range): Take Sheet argument too and
7337 supply it to the parser. All callers changed.
7338 (print_info_new): Take Sheet argument too. All callers changed.
7339 (print_info_dup): Constify. Take extra Sheet argument; all
7340 callers changed. Copy field-by-field. Free clobbered page
7342 (gnm_page_breaks_free): Handle NULL.
7343 (gnm_page_breaks_new): Drop optional argument len. All callers
7346 * src/position.c (gnm_cellpos_hash, gnm_cellref_hash,
7347 gnm_rangeref_hash): Improve these in light on variable-size
7349 (gnm_rangeref_normalize): : Evaluate sheets early so we can ship them
7350 to gnm_cellpos_init_cellref.
7352 2009-04-16 Morten Welinder <terra@gnome.org>
7354 * src/parse-util.c (col_parse, row_parse): Handle MAGIC_MAX_SHEET.
7355 (std_sheet_name_quote): Use MAGIC_MAX_SHEET to query any possible
7357 (MAGIC_MAX_SHEET): Define locally.
7359 * src/sheet-view.c (sv_set_edit_pos): Don't do anything -- not
7360 even checks on position -- if the new position is the same as the
7361 old one. If we do change, make sure we have a sheet.
7363 * src/sheet.c (gnm_sheet_get_max_rows, gnm_sheet_get_max_cols):
7364 Complain if sheet is NULL.
7366 * src/selection.c (sheet_selection_set_internal): If we don't have
7367 a sheet yet, don't enable insert/delete.
7369 2009-04-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7371 * src/commands.h (cmd_so_set_checkbox): new
7372 * src/commands.c (cmd_so_set_checkbox): new
7373 (cmd_so_set_checkbox_redo): new
7374 (cmd_so_set_checkbox_undo): new
7375 (cmd_so_set_checkbox_finalize): new
7376 * src/sheet-object-widget.h (sheet_widget_checkbox_get_link): new
7377 * src/sheet-object-widget.c (sheet_widget_checkbox_get_link): new
7378 (cb_checkbox_config_ok_clicked): call cmd_so_set_checkbox
7380 2009-04-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7382 * src/commands.c (cmd_so_set_frame_label_redo): new
7383 (cmd_so_set_frame_label_undo): new
7384 (cmd_so_set_frame_label_finalize): new
7385 (cmd_so_set_frame_label): new
7386 * src/commands.h (cmd_so_set_frame_label): new
7387 * src/sheet-object-widget.c (sheet_widget_frame_set_label): new
7388 (cb_frame_config_ok_clicked): call cmd_so_set_frame_label
7389 (cb_frame_config_cancel_clicked): use sheet_widget_frame_set_label
7390 (cb_frame_label_changed): ditto
7391 * src/sheet-object-widget.h (sheet_widget_frame_set_label): new
7393 2009-04-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7395 * src/commands.c (gboolean cmd_so_set_links): new
7397 (cmd_so_set_links_redo): new
7398 (cmd_so_set_links_undo): new
7399 (cmd_so_set_links_finalize): new
7400 * src/commands.h (gboolean cmd_so_set_links): new
7401 * src/sheet-object-widget.c (list_content_eval): permit dep->texpr to
7403 (sheet_widget_list_base_set_links): empty the list as necessary
7405 2009-04-10 Jean Brefort <jean.brefort@normalesup.org>
7407 * src/gnm-so-filled.c: fixed after GogStyle -> GOStyle rename.
7408 * src/gnm-so-line.c: ditto.
7409 * src/gnm-so-polygon.c: ditto.
7411 2009-04-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7414 * templates/english/calendar.gnumeric: new
7415 * templates/english/Makefile.am: added above file
7417 2009-04-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
7419 Adapt to the naming consistency fix in goffice.
7421 /\bGO_([A-Z,_)*]_TYPE\b/GO_TYPE_$1/
7422 /\bGOG_([A-Z,_)*]_TYPE\b/GOG_TYPE_$1/
7427 2009-04-05 Jody Goldberg <jody@gnome.org>
7429 From: Vivien Malerba <vmalerba@gmail.com>
7430 * configure.in : bump to libgda4.
7432 2009-04-04 Jody Goldberg <jody@gnome.org>
7434 * src/gnumeric.h : bump GNM_MAX_COLS to accomodate XL2007.
7435 * src/sheet-style.c (sheet_style_init) : Use TILE_SIZE_ to init.
7437 2009-04-04 Morten Welinder <terra@gnome.org>
7439 * src/parse-util.c (col_parse, row_parse, cellref_a1_get,
7440 r1c1_get_index, cellref_r1c1_get, cellref_parse, cellpos_parse):
7441 Take sheet argument. All callers fixed.
7443 * src/libgnumeric.c (gnm_sheet_max_cols, gnm_sheet_max_rows):
7444 Remove. All uses were wrong anyway.
7445 (libspreadsheet_options): Remove --columns and --rows.
7447 2009-04-03 Morten Welinder <terra@gnome.org>
7449 * src/stf.c (stf_read_workbook_auto_csvtab, stf_read_workbook):
7450 Create sheet as big as needed.
7452 * src/stf-parse.c (stf_parse_sheet): Handle failure without
7453 messing up the locale.
7455 * src/ranges.c (range_make_full, range_ensure_sanity,
7456 range_transpose, range_is_full, range_translate): Take sheet
7457 argument for size. All callers changed.
7459 * src/xml-io.c (xml_node_get_range): Take sheet argument for size.
7460 All caller changeds.
7462 2009-04-02 Morten Welinder <terra@gnome.org>
7464 * src/ranges.c (range_clip_to_finite): Use the sheet.
7466 * src/format-template.c (format_template_new): Switch hash key to
7467 GnmCellPos so we can handle large sheets.
7469 * src/workbook.c (workbook_sheet_add): Require a size. All
7471 (workbook_sheet_add_size): Remove. Map all callers to
7474 * src/sheet.c (sheet_new): Require a size. All callers changed.
7475 Note: some callers need to be fixed to provide the right size.
7476 (sheet_new_with_size): Remove. All callers mapped to sheet_new.
7478 * src/print-info.c (render_timestamp_with_format): Renamed form
7479 render_value_with_format. Date convention issues fixed.
7481 * src/workbook.c (workbook_set_date_conv): New function.
7483 * src/xml-sax-read.c (xml_sax_calculation): Use
7484 workbook_set_date_conv.
7486 * src/ranges.c (range_init_full_sheet, range_init_cols,
7487 range_init_rows): Take a sheet argument. All callers changed.
7490 2009-04-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7492 * src/wbc-gtk.c (wbcg_sheet_focus): scg might be NULL
7494 2009-04-01 Morten Welinder <terra@gnome.org>
7496 * src/wbc-gtk.c (wbcg_append_sheet, wbcg_insert_sheet): Use size
7499 * src/wbc-gtk.c (wbc_gtk_init): Disabled SheetSizedInsert as
7502 * src/main-application.c (main): Complain if --rows or --columns
7505 * src/sheet-style.c (cb_style_list_add_node): Fix type confusion
7506 for user pointer. Fixes #577561.
7508 * src/expr-name.c (expr_name_name): New function.
7509 * */*.c: don't include str.h unless we have to.
7511 2009-04-01 Morten Welinder <terra@gnome.org>
7513 * src/sheet.c (gnm_sheet_class_init): Install new workbook
7515 (gnm_sheet_get_max_rows, gnm_sheet_get_max_cols): Complain if
7516 called too early in sheet construction.
7517 (sheet_set_zoom_factor, sheet_set_display_formulas): Don't call
7518 sheet_scale_changed during sheet construction.
7519 (gnm_sheet_constructor): Call it here instead.
7521 * src/xml-sax-read.c (xml_sax_wb_sheetsize): Set the right
7524 * src/sheet.c (sheet_new_with_type): Move most of this into a
7526 (gnm_sheet_class_init): Install new property "sheet-type".
7528 2009-03-29 Morten Welinder <terra@gnome.org>
7530 * */*.[ch]: Install variable-sheet-size patch from 168875. (Work
7531 of Jean with help from Andreas and me.) Note: all gui parts of
7532 are turned off for now. Search for GNUMERIC_VARIABLE_SHEET_SIZE.
7534 2009-03-29 Morten Welinder <terra@gnome.org>
7536 * src/wbc-gtk.c (sheet_menu_label_run): Simplify and add sorted
7539 2009-03-28 Morten Welinder <terra@gnome.org>
7541 * src/sheet.c (sheet_row_set_default_size_pixels,
7542 sheet_row_set_default_size_pts): Add preconditions like in the
7543 _col_ counterparts. Fixes #577145.
7545 * src/graph.c: Stop accessing private members of values. Use
7546 value_peek_string instead.
7548 2009-03-27 Morten Welinder <terra@gnome.org>
7550 * src/graph.c: Improve handling of date conversions.
7552 2009-03-26 Morten Welinder <terra@gnome.org>
7554 * src/gnm-plugin.c (plugin_service_ui_activate): Free layout here.
7556 * src/application.c (gnm_app_add_extra_ui): constify layout and copy it.
7557 (gnm_app_remove_extra_ui): Destroy layout here.
7559 2009-03-25 Morten Welinder <terra@gnome.org>
7561 * src/gnm-format.c (gnm_format_is_time_for_value): Simplify.
7563 * src/stf-export.c (try_auto_date): Check validity of date.
7564 Handle elapsed times. Sneakily also handle negative date serials
7567 2008-12-10 Jody Goldberg <jody@gnome.org>
7569 * src/xml-io.c (xml_probe) : split out the content test into ...
7570 (gsf_xml_probe) : here. Then generalize it a bit and use the SAX2
7571 startElement routine to handle name spaces.
7572 (gnm_xml_probe_element) : handle the .gnumeric specific checks here.
7573 1) root element == Workbook
7574 2) Workbook is in a namespace that contains 'gnumeric'
7576 2009-03-22 Morten Welinder <terra@gnome.org>
7578 * configure.in: Post-release bump.
7580 2009-03-22 Morten Welinder <terra@gnome.org>
7584 2009-03-20 Morten Welinder <terra@gnome.org>
7586 * src/sheet-object-widget.c (sheet_widget_radio_button_create_widget):
7588 (sheet_widget_adjustment_get_ref, sheet_widget_checkbox_get_ref,
7589 sheet_widget_list_base_get_ref): Remove.
7590 (so_get_ref): New generic function replacing the above.
7591 (sheet_widget_adjustment_clear_sheet, sheet_widget_checkbox_clear_sheet,
7592 sheet_widget_radio_button_clear_sheet, sheet_widget_list_base_clear_sheet):
7594 (so_clear_sheet): New generic function replacing the above.
7596 2009-03-19 Morten Welinder <terra@gnome.org>
7598 * configure.in (gnumeric_reqs): Require glib 2.12 for
7599 g_hash_table_remove_all.
7601 2009-03-18 Morten Welinder <terra@gnome.org>
7603 * src/main-application.c (warn_about_ancient_gnumerics): Remove --
7604 it last served a useful purpose 6-8 years ago.
7606 2009-03-17 Morten Welinder <terra@gnome.org>
7608 * src/main-application.c (main): Reconnect the no-splash and
7611 * src/wbc-gtk.c (sheet_menu_label_run): Toss the sheets into a
7612 submenu and display it regardless of how many sheets we have.
7614 2009-03-16 Morten Welinder <terra@gnome.org>
7616 * src/number-match.c (datetime_locale_setup): Handle the nb_NO
7617 case where abbreviated months end in a period by making that
7618 period optional on entry.
7620 2009-03-15 Morten Welinder <terra@gnome.org>
7622 * src/number-match.c (format_match): Use
7623 go_format_default_accounting.
7625 * src/wbc-gtk-actions.c (cb_format_as_accounting): Ditto.
7627 2009-03-14 Morten Welinder <terra@gnome.org>
7629 * src/gnm-format.c (gnm_format_frob_slashes): Import from
7630 number-match and make public. Rename from frob_slashes. All
7632 (gnm_format_for_date_editing): Change slashes to whatever the
7635 2009-03-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7637 * src/ssgrep.c (string-table-count): correct option description
7640 2009-03-14 Jean Brefort <jean.brefort@normalesup.org>
7642 * configure.in: check if goffice uses gconf and make gconf use
7643 independent from the with-gnome option. [#574813]
7644 * schemas/Makefile.am: ditto.
7646 2009-03-13 Jody Goldberg <jody@gnome.org>
7648 * po/LINGUAS : rename sr@Latn -> sr@latin to maintain compatibility
7649 with gtk and simplify win32 packaging.
7651 2009-03-13 Morten Welinder <terra@gnome.org>
7653 * src/number-match.c (frob_slashes): New function to replace
7654 hardcoded slashes with whatever the locale uses for date
7656 (format_match_datetime): Call frob_slashes as needed. Free
7657 date_format as needed.
7659 * src/cell.c (gnm_cell_set_format): Improve precondition.
7661 2009-03-12 Morten Welinder <terra@gnome.org>
7663 * src/sheet-control-gui.c (scg_drag_data_get): Handle
7664 GNUMERIC_SHEET target too. Fixes #574763, caused by patch from
7667 2009-03-13 Jody Goldberg <jody@gnome.org>
7669 * src/gnm-pane.c (gnm_pane_realize) : clear the 'im_block_edit_start' flag.
7670 (gnm_pane_unrealize) : set the flag.
7672 * src/application.c (gnm_app_add_extra_ui) : take a group name.
7673 (gnm_app_remove_extra_ui) : patch minor leak.
7674 * src/gnm-plugin.c (plugin_service_ui_activate) : use the supplied
7675 group name rather than a static name that is shared between all
7678 2009-03-11 Morten Welinder <terra@gnome.org>
7680 * src/wbc-gtk-actions.c (cb_file_sendto): Import from
7681 wb_view_sendto and use go_gtk_url_show. Plug leak.
7683 * src/workbook-view.c (wb_view_save_to_uri): Rename from
7684 wbv_save_to_uri and make public.
7685 (wb_view_sendto): Remove.
7687 2009-03-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7689 * src/print-cell.c (print_cell_gtk): shift rotated text into the
7690 correct position! Fixes #574813
7692 2009-03-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7694 * src/commands.h (cmd_so_set_value): add Sheet* argument.
7697 * src/commands.c (cmd_so_set_value): use new Sheet* argument
7698 that gives the sheet of the widget rather than the sheet of the
7701 * src/sheet-object-widget.c: adjust all callers of cmd_so_set_value
7703 2009-03-10 Morten Welinder <terra@gnome.org>
7705 * Makefile.am (gnumeric.desktop): Always use URIs. Fixes #574816.
7707 2009-03-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7709 * src/func.c (function_def_get_arg_name): don't translate an
7710 empty argument name since you wouldn't get what you expect.
7712 2009-03-05 Morten Welinder <terra@gnome.org>
7714 * src/item-cursor.c (struct _ItemCursor): Track last (x,y) for
7716 (item_cursor_event): Set (x,y).
7717 (item_cursor_tip_setlabel): Use (x,y) for position.
7719 * src/item-grid.c (struct _ItemGrid): Track last (x,y) for mouse.
7720 (cb_cursor_come_to_rest): Use last (x,y) to position the tip.
7722 * src/gui-util.c (gnumeric_create_tooltip): Take a reference
7723 widget instead of a GdkScreen. All callers changed.
7724 (gnumeric_position_tooltip): Get position as argument instead of
7725 asking where the mouse cursor is by the time we get here. All
7728 2009-03-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7730 * src/sheet.c (sheet_get_printarea): If the print area has been set
7731 to something other than the full sheet, always use the whole
7734 2009-02-28 Morten Welinder <terra@gnome.org>
7736 * configure.in (gtk+): Require 2.12 for
7737 gtk_tree_view_convert_bin_window_to_widget_coords.
7739 2009-02-25 Morten Welinder <terra@gnome.org>
7741 * src/sheet-control-gui.c (scg_drag_receive_same_process): Make it
7742 clear we are only getting the modifier mask.
7744 * src/gui-util.c (gnumeric_position_tooltip): Make this multihead
7747 2009-02-24 Morten Welinder <terra@gnome.org>
7749 * src/gui-util.c (gnumeric_create_tooltip): Add extra screen
7750 argument so we can pop up on the right screen. All callers
7753 * src/gnm-pane.c (gnm_pane_display_obj_size_tip): Make this
7756 * src/wbc-gtk.c (cb_sheet_label_drag_begin): Pop up the arrow on
7759 * src/sheet-control-gui.c (scg_comment_display): Pop up the cell
7760 comment on the right screen and at coordinates relating to that
7763 2009-02-22 Morten Welinder <terra@gnome.org>
7765 * configure.in: Post release version bump
7767 2009-02-22 Morten Welinder <terra@gnome.org>
7771 2009-02-21 Morten Welinder <terra@gnome.org>
7773 * src/colrow.c (colrow_reset_defaults): Retry this mess.
7775 2009-02-19 Morten Welinder <terra@gnome.org>
7777 * src/ssconvert.c (convert): Don't complain over multiple sheets
7778 when there is only one. Fixes #572448.
7780 * src/wbc-gtk.c (set_toolbar_style_for_position): The GTK+
7781 busy-bodies have deprecated gtk_toolbar_set_orientation in favour
7782 of gtk_orientable_set_orientation. Attempt (blindly!) to switch
7783 if we have gtk_orientable_set_orientation.
7785 * configure.in (with_corba): Disable. Fixes #572356.
7787 * src/colrow.c (colrow_reset_defaults): Toughen this up a bit to
7788 avoid situations like 568010.
7790 2009-02-13 Morten Welinder <terra@gnome.org>
7792 * src/stf-parse.c (stf_parse_general): Flag row overflow.
7794 * src/stf.c (stf_read_workbook_auto_csvtab): Check for row
7795 overflow too. Fixes #517603.
7797 2009-02-11 Morten Welinder <terra@gnome.org>
7799 * src/dependent.c (gnm_dep_container_dump): Take sheet too, so
7800 redundant sheet names in output can be suppressed.
7801 (dump_single_dep, dump_range_dep): Ditto.
7802 (dependent_debug_name_for_sheet): New function.
7804 * src/expr.c (gnm_expr_eval): Make sure parentheses do not take up
7807 * src/stf-parse.c (stf_cell_set_text): New function.
7808 (stf_parse_sheet): Use stf_cell_set_text, not gnm_cell_set_text.
7811 * src/gui-clipboard.c (table_content_received): Check both windows
7812 and unix versions of target atoms. Fixes #564166.
7814 2009-02-10 Morten Welinder <terra@gnome.org>
7816 * gnumeric.desktop.in (MimeType): Do not advertise deprecated
7817 comma-separated-values mime type. Fixes #571073.
7819 * src/stf.c (stf_init): Ditto.
7821 2009-02-05 Morten Welinder <terra@gnome.org>
7823 * src/gui-clipboard.c (x_targets_received): Activate debugging
7824 code, see http://bugzilla.gnome.org/show_bug.cgi?id=564166#c4
7826 2009-02-04 Morten Welinder <terra@gnome.org>
7828 * src/main-application.c (main): Set UTF-8 for gnumeric-functions
7831 2009-02-02 Morten Welinder <terra@gnome.org>
7833 * src/gutils.c (gnm_regcomp_XL): Take new argument "full" for
7834 indicating that the match must be for the full string. All
7837 2009-01-31 Morten Welinder <terra@gnome.org>
7839 * src/parser.y (build_range_ctor): Use gnm_expr_new_range_ctor,
7842 * src/expr.c (gnm_expr_new_range_ctor): New function.
7844 2009-01-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
7846 * configure.in: Change the help strings not to have curly braces in
7847 them ("--{with,without}-foo") as this caused newer versions of aclocal
7850 2009-01-30 Diego E. Flameeyes Pettenò <flameeyes@gentoo.org>
7852 * configure.in: Fix help strings. (#569842)
7854 2009-01-29 Morten Welinder <terra@gnome.org>
7856 * src/wbc-gtk.c (cb_add_custom_ui): Handle merge failure. Work
7859 * src/parse-util.c (rangeref_parse): Fix parsing problem for
7860 "a12:indirect(...)". Fixes #569730.
7862 2009-01-29 Jean Brefort <jean.brefort@normalesup.org>
7864 * src/selection.c: (sv_selection_to_plot): really share x values.
7866 2009-01-28 Morten Welinder <terra@gnome.org>
7868 * src/gutils.c (gnm_regcomp_XL): Simplify and fixing quoting of ?.
7870 2009-01-26 Morten Welinder <terra@gnome.org>
7872 * src/wbc-gtk.c (sheet_menu_label_run): If there are more sheets
7873 than we can show, put a list of sheets into the menu.
7875 2009-01-25 Morten Welinder <terra@gnome.org>
7877 * src/dependent.c (link_range_dep, unlink_range_dep): Restrict the
7878 range that goes into the bucket to the intersection of the source
7879 range and the bucket area. This improves dependency search
7880 efficiency markedly when a large number of large ranges are in
7881 play. Fixes performance part of #567389.
7883 2009-01-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7885 * src/print.c (compute_group): use g_warning rather than
7886 g_return_val_if_fail. Fixes 568991.
7888 2009-01-24 Morten Welinder <terra@gnome.org>
7890 * src/gutils.c (running_in_tree): Make this a separate function.
7891 Fix for ssconvert and friends.
7893 2009-01-22 Morten Welinder <terra@gnome.org>
7895 * src/commands.c (select_range): If the sheet and wbc are for
7896 different workbooks, do nothing. Fixes #568634.
7898 2009-01-20 Morten Welinder <terra@gnome.org>
7900 * src/dependent.c (dependent_eval): Clear GNM_CELL_HAS_NEW_EXPR
7901 here. Otherwise expressions loaded from files will appear to have
7902 new expressions even after they were recalculated.
7904 * src/func.c (function_call_with_exprs): If we are not doing
7905 implicit iteration, use gnumeric_if instead of gnumeric_if2.
7908 * src/func-builtin.c (gnumeric_if): Import from fn-logical.
7909 Change help to new style.
7910 (gnumeric_if2): Variant that takes the argument un-eval'd.
7912 2009-01-16 Morten Welinder <terra@gnome.org>
7914 * configure.in (gnumeric_reqs): Require glib 2.10.
7916 2009-01-16 Jean Brefort <jean.brefort@normalesup.org>
7918 * src/gnm-pane.c: (cb_sheet_object_canvas_event): do not select an
7919 existing sheet object when creating a new graph. [#151789]
7921 2009-01-12 Morten Welinder <terra@gnome.org>
7923 * src/expr.c (gnm_expr_eval): Set value format properly.
7925 * src/value.h (VALUE_FMT): Make result const and an r-value. All
7926 users changed as needed.
7927 * src/number-match.h (format_match, format_match_number): Make the
7928 cur_fmt argument const.
7929 * src/mstyle.c (gnm_style_set_format): Make the format argument
7931 * src/parse-util.c (parse_text_value_or_expr): Make the cur_fmt
7933 * src/cell.c (gnm_cell_get_format): Make the result const. All
7934 callers changed as needed.
7936 2009-01-12 Morten Welinder <terra@gnome.org>
7938 * src/cell.c (gnm_cell_get_entered_text): Apply cell format as
7939 well as value format. Applying only value format is certainly
7942 2009-01-11 Jody Goldberg <jody@gnome.org>
7944 * src/gui-util.c (gnumeric_create_popup_menu) : support sub-menus
7946 2009-01-11 Morten Welinder <terra@gnome.org>
7948 * src/gutils.c (gutils_init): Make detection of in-tree running
7949 work with newer libtools.
7951 2009-01-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
7953 * src/xml-sax-read.c: (xml_sax_attr_range, xml_sax_style_region_start):
7954 Don't crash on old gnumeric files which have gnm:StyleRegion tags
7955 without attributes in them. (Debian #510929)
7957 2009-01-09 Jean Brefort <jean.brefort@normalesup.org>
7959 * src/graph.c: (gnm_go_data_vector_get_str): set -1 as format length.
7962 2008-12-31 Jean Brefort <jean.brefort@normalesup.org>
7964 * src/graph.h: add widgets to force using rows/columns as chart series,
7965 and to use first row/column as shared x values in scatter plots.
7966 * src/selection.c: (sv_selection_to_plot): ditto.
7967 * src/sheet-object-graph.c: (cb_graph_data_closure_done),
7968 (cb_selection_mode_changed), (cb_shared_mode_changed),
7969 (sheet_object_graph_guru): ditto.
7971 2008-12-30 Morten Welinder <terra@gnome.org>
7973 * configure.in (LIBS): Up pango requirement modestly.
7974 * src/main-application.c (main): Drop check for old pango bug.
7976 * src/main-application.c (main): Conditionalize closing of
7977 displays. Set GNM_DEBUG=close-displays.
7979 2008-12-28 Morten Welinder <terra@gnome.org>
7981 * src/libgnumeric.c (gnm_pre_parse_init): Call g_type_init here
7982 too. libgoffice_init currently assumes it indirectly.
7984 2008-12-19 Morten Welinder <terra@gnome.org>
7986 * src/search.c (gnm_search_replace_query_fail,
7987 gnm_search_replace_query_cell, gnm_search_replace_query_comment):
7988 New functions to hide the details of how to query.
7990 * src/commands.c (cmd_search_replace_do_cell): Simplify using
7991 gnm_search_replace_query_fail, gnm_search_replace_query_cell, and
7992 gnm_search_replace_query_comment.
7994 2008-12-15 Morten Welinder <terra@gnome.org>
7996 * src/gnm-datetime.c (gnm_datetime_allow_negative): New function.
7997 (datetime_value_to_serial_raw): Err on negative date numbers
7998 unless goffice supports them.
8000 2008-12-14 Morten Welinder <terra@gnome.org>
8002 * src/gnm-datetime.c (datetime_value_to_serial): Handle overflow.
8003 (datetime_value_to_g): Use G_MAXINT for errors.
8004 (datetime_value_to_serial_raw): Make static. Return G_MAXINT for
8008 2008-12-13 Emmanuel Pacaud <emmanuel@gnome.org>
8010 Add a workaround for the murrine theme warnings.
8012 * src/item-bar.c (ib_draw_cell): here.
8013 * src/sheet-control-gui.c (cb_select_all_btn_expose): here.
8015 2008-12-13 Morten Welinder <terra@gnome.org>
8017 * src/xml-sax-write.c (xml_write_number_system): New function to
8018 dump information on the number system used.
8019 (xml_write_calculation): Call xml_write_number_system.
8020 (gnm_cellregion_to_xml): Call xml_write_number_system.
8021 (gnm_xml_file_save): Move call to xml_write_calculation before the
8024 * src/parse-util.c (gnm_conventions_new_full): Default value
8025 GNM_DIG for new field output.decimal_digits.
8027 * src/value.c (value_get_as_gstring): Use number of digits from
8028 output.decimal_digits.
8030 * src/xml-sax-write.c (gnm_xml_io_conventions): Increase the
8031 number of decimal digits used for output to avoid rounding errors
8032 and overflow. Fixes #552464.
8034 * src/xml-sax-read.c (xml_sax_cell_content): Turn expressions that
8035 do not parse into strings.
8037 2008-12-12 Morten Welinder <terra@gnome.org>
8039 * src/stf-parse.c (stf_parse_options_guess_csv): New function.
8041 * src/stf.c (stf_read_workbook_auto_csvtab): If the filename
8042 suggest a scv file, use stf_parse_options_guess_csv.
8044 2008-12-11 Morten Welinder <terra@gnome.org>
8046 * src/application.c (cb_flag_windows_changed): Don't send the
8047 signal if Elvis has left the building.
8049 * src/parser.y (unregister_allocation): Check the whole stack if
8050 we have to. Fixes #564077.
8052 2008-12-09 Morten Welinder <terra@gnome.org>
8054 * src/wbc-gtk.c (wbcg_sheet_remove_all): Kill the current scg
8056 (wbc_gtk_setup_icons): Shut down the icon factory on exit.
8057 (add_icon): Plug leaks.
8059 2008-12-08 Morten Welinder <terra@gnome.org>
8061 * src/gnumeric-gconf.c (gnm_conf_shutdown): Plug leaks.
8063 * src/gnm-plugin.c (plugin_service_ui_activate): Plug leak.
8065 * src/ssgrep.c (main): Plug leak.
8066 * src/ssconvert.c (main): Plug leak.
8067 * src/ssindex.c (main): Plug leak.
8069 2008-12-04 Morten Welinder <terra@gnome.org>
8071 * src/xml-sax-write.c (gnm_cellregion_to_xml): Set state.sheet so
8072 we can init parse positions later.
8074 * src/xml-io.c (xml_cellregion_read): Copy the string. It need
8075 not be null terminated. Assign ctxt->sheet.
8076 (xml_read_sheet_object): New argument, assign, to explicitly
8077 control whether to assign the object to the sheet. Fixes #556561.
8079 2008-12-02 Morten Welinder <terra@gnome.org>
8081 * src/parser.y (is_signed): New function.
8082 (yylex/^): If left side is negated, add a parenthesis.
8083 Fixes last part of #115941.
8085 2008-11-30 Morten Welinder <terra@gnome.org>
8087 * src/wbc-gtk.c (wbcg_sheet_remove_all): Don't destroy the
8088 notebook -- we will need it later when we replace a pristine
8089 workbook with a new. Fixes #562662.
8091 2008-11-26 Morten Welinder <terra@gnome.org>
8093 * src/dependent.c (link_expr_dep): Treat GNM_EXPR_OP_RANGE_CTOR
8094 and GNM_EXPR_OP_INTERSECT as any other binary operator. Fixes
8097 Enable drag of whole sheets to other apps. #523033, initial patch
8100 * src/wbc-gtk.c (cb_sheet_label_drag_data_get): Use
8102 (wbcg_sheet_add): Add more drag types.
8104 * src/sheet-control-gui.c (scg_drag_send_text): New function.
8105 (scg_drag_data_get): Protect against null scg->selected_objects.
8106 (scg_drag_data_get): Handle UTF8_STRING.
8108 2008-11-26 Jody Goldberg <jody@gnome.org>
8110 * configure.in : Define GNUMERIC_PLUGIN_LDFLAGS after
8111 GNUMERIC_LIBS is defined.
8113 2008-11-24 Morten Welinder <terra@gnome.org>
8115 * src/application.c (gnm_app_detachable_toolbars): New function.
8117 * src/wbc-gtk.c (cb_add_menus_toolbars): Use
8118 gnm_app_detachable_toolbars.
8120 * src/gnumeric-gconf.c (gnm_conf_init_essential): Setup
8121 ->detachable_toolbars.
8123 2008-11-23 Morten Welinder <terra@gnome.org>
8125 * src/wbc-gtk.c (wbcg_sheet_add): Add a SHEET_CONTROL_KEY for the
8127 (get_scg): New function to retrieve and scg for a tab label or
8128 sheet table widget. Simplify drag handling code using this.
8129 (wbcg_sheet_remove_all): Make sure disconnection happens for sheet
8130 signals, even when we shut down the wbcg.
8131 (wbcg_set_direction): Split from cb_direction_change. Change
8132 direct callers of cb_direction_change to use wbcg_set_direction.
8133 (wbcg_sheet_add): Don't init scg->label here.
8134 (wbcg_set_end_mode): Translate "END".
8135 (wbcg_get_n_scg): New function.
8137 * src/sheet-control-gui.c (sheet_control_gui_new): Keep a ref for
8138 ->table and ->label. Init ->label here.
8139 (scg_finalize): Unref here.
8141 * src/wbc-gtk-impl.h (struct _WBCGtk): Add a paned for sheet tabs
8142 and the progress bar. Split notebook into ->snotebook (for the
8143 sheet tables) and ->bnotebook for the tabs. Make the latter a
8144 GnmNotebook. All users changed accordingly.
8146 2008-11-22 Morten Welinder <terra@gnome.org>
8148 * src/sheet-control-priv.h (struct _SheetControl): Remove sheet
8149 member. All users changed to use view.
8151 2008-11-20 Morten Welinder <terra@gnome.org>
8153 * src/wbc-gtk.c (wbcg_menu_state_sheet_count,
8154 sheet_menu_label_run): Count visible sheets only.
8155 (cb_sheet_visibility_change): Attach with wbcg as data and call
8156 wbcg_menu_state_sheet_count.
8158 2008-11-05 Morten Welinder <terra@gnome.org>
8160 * configure.in: Remove check for gcc 2.96. Remove gb support.
8161 Clean up. Make non-gnome the default.
8163 2008-11-04 Morten Welinder <terra@gnome.org>
8165 * */*.c: Fix problem with formats. Patch from Hib Eris, #559291.
8167 * src/wbc-gtk.c (toolbar_context_menu): Deal with the
8168 non-handle-bar case. Patch from Hib Eris, #559249.
8170 2008-11-02 Morten Welinder <terra@gnome.org>
8172 * configure.in (gnumeric_gnome_reqs): libgnomeui is a gnome dep,
8175 * src/main-application.c (main): Add a signal handler on the
8176 application object to terminate the mainloop when the last
8177 workbook is removed. Also, only warn about ancient non-stable
8180 * src/workbook.c (workbook_finalize): Don't try to terminate the
8183 2008-11-01 Morten Welinder <terra@gnome.org>
8185 * src/main-application.c (call_gnome_authentication_manager_init):
8186 Call gnome_authentication_manager_init only if someone linked it
8189 * src/libgnumeric.c (call_gnome_vfs_init): Call gnome_vfs_init
8190 only if someone linked it in.
8192 2008-10-31 Jean Brefort <jean.brefort@normalesup.org>
8194 * src/selection.c: (sv_selection_to_plot): fix selection for contour
8197 2008-10-28 Morten Welinder <terra@gnome.org>
8199 * src/style.c (gnm_font_shutdown): Workaround for 558100 and
8200 558254. Thanks to Hib Eris and Behdad for debugging.
8202 2008-10-26 Morten Welinder <terra@gnome.org>
8204 * src/commands.c (cmd_hyperlink_finalize): Don't check for NULL
8207 2008-10-25 Morten Welinder <terra@gnome.org>
8209 * src/gnumeric-gconf.c (gnm_conf_shutdown): Free even more.
8211 * src/main-application.c (main): Close all displays on exit.
8213 * src/gnumeric-gconf.c (gnm_conf_shutdown): Free more, zero whole
8214 prefs, NULL gnm_app_prefs.
8216 2008-10-24 Morten Welinder <terra@gnome.org>
8218 * src/wbc-gtk.c (wbc_gtk_finalize): Massive leak fix.
8219 * configure.in (libspreadsheet_reqs): Bump goffice req to avoid
8222 2008-10-23 Morten Welinder <terra@gnome.org>
8224 * src/sheet.c (schedule_reapply_filters): New function.
8225 (sheet_insert_cols, sheet_insert_rows, sheet_delete_cols,
8226 sheet_delete_rows): Make sure filters get reapplied on undo after
8227 we put the contents back in.
8229 * src/sheet-filter.c (gnm_filter_condition_free): Rename from
8230 gnm_filter_condition_unref. Actually free the condition. Make
8232 (gnm_filter_condition_dup): Make static.
8233 (gnm_filter_combo_index): New function.
8234 (gnm_filter_add_field): Hold onto a reference to the fcombo.
8235 (gnm_filter_free): Free the fcombo reference.
8236 (gnm_sheet_filter_insdel_colrow): Handle fcombo references.
8237 Reapply filter when fields are removed.,
8238 (gnm_filter_reapply, gnm_filter_update_active): Extract from
8239 gnm_filter_set_condition.
8241 * src/sheet.c (sheet_delete_cols, sheet_delete_rows): Make sure
8242 auto-filter objects do not get kept by sheet object undo. This
8243 fixes the crash in #557591.
8245 * src/sheet-filter.c (gnm_sheet_filter_insdel_colrow): Insert new
8246 filters left-to-right so anchors get set right. Fixes #557237.
8247 Avoid expensive updates if no filter changes.
8249 2008-10-22 Morten Welinder <terra@gnome.org>
8251 * src/xml-io.c (xml_cellregion_read): Copy the string. It need
8252 not be null terminated. Assign ctxt->sheet.
8253 (xml_read_sheet_object): New argument, assign, to explicitly
8254 control whether to assign the object to the sheet. Fixes #556561.
8256 2008-10-19 Jody Goldberg <jody@gnome.org>
8258 * configure.in : version bump.
8260 2008-10-18 Jody Goldberg <jody@gnome.org>
8264 2008-10-18 Jody Goldberg <jody@gnome.org>
8266 * tools/win32/moduleset : use the latestest shiniest glib/gtk
8268 * configure.in : add a GOFFICE_API_VER for use in the .pc file.
8269 * libspreadsheet.pc.in : drop the old mising LIBGOFFICE variables, and
8270 use the new tidy ones.
8272 2008-10-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8274 * src/item-cursor.c (item_cursor_target_region_ok): delete
8275 (item_cursor_do_action): don't bother to call
8276 item_cursor_target_region_ok
8278 2008-10-18 Morten Welinder <terra@gnome.org>
8280 * src/gui-clipboard.c (set_clipman_targets): Plug leak.
8282 2008-10-17 Morten Welinder <terra@gnome.org>
8284 * src/parser.y (workbook names): Fix cut-and-paste problem in
8285 error reporting, see #552750, comments 8-9.
8287 2008-10-15 Morten Welinder <terra@gnome.org>
8289 * src/xml-sax-read.c (xml_sax_style_region_end): Apply partial
8290 mstyles like in xml-io.c
8291 (xml_sax_style_region_start): Undo last change.
8293 2008-10-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8295 * component/Gnumeric-embed.xml.in: added Kaplan-Meier tool menu item
8296 * src/GNOME_Gnumeric-gtk.xml.in: ditto
8297 * src/HILDON_Gnumeric-gtk.xml.in: ditto
8298 * src/wbc-gtk-actions.c: added ToolsKaplanMeier
8300 2008-10-15 Jody Goldberg <jody@gnome.org>
8302 * src/xml-sax-read.c (xml_sax_style_region_start) : always init the
8303 full style just in case some ancient file comes along. [#555933]
8304 Add a stub for PrintUnit while we are here.
8306 2008-10-01 Morten Welinder <terra@gnome.org>
8308 * src/sheet.c (gnm_sheet_foreach_name): New function.
8310 * src/workbook.c (workbook_foreach_name): New function.
8312 * src/expr-name.c (gnm_named_expr_collection_foreach): New
8315 2008-10-14 Jean Brefort <jean.brefort@normalesup.org>
8317 * component/gnumeric.c: cleaned includes list and removed unused
8320 2008-10-14 Jody Goldberg <jody@gnome.org>
8322 * src/main-application.c (main) : warning suppression on win32.
8324 * src/gutils.c (gutils_init) : replace deprecated function
8325 g_win32_get_package_installation_directory with
8326 g_win32_get_package_installation_directory_of_module
8328 * src/gnm-plugin.h (gnm_plugin_loader_module_get_type) : make public.
8330 * component/gnumeric.c : do not add magic 'extern' references.
8332 2008-10-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8334 * component/Gnumeric-embed.xml.in: added frequency tool menu item
8335 * src/GNOME_Gnumeric-gtk.xml.in: ditto
8336 * src/HILDON_Gnumeric-gtk.xml.in: ditto
8337 * src/wbc-gtk-actions.c: added ToolsFrequency
8339 2008-10-10 Jody Goldberg <jody@gnome.org>
8341 * src/gnm-pane.c (cb_gnm_pane_preedit_changed) :
8342 s/reseting_im/im_block_edit_start/ to clarify the intent, and to
8343 reuse it for the initial focus problem.
8344 (gnm_pane_key_press) : move the explainitory comment here, where we
8345 toggle im_block_edit_start rather than below when it happens.
8346 (gnm_pane_focus_in) : use it here too with the new im_first_focus.
8348 2008-10-08 Morten Welinder <terra@gnome.org>
8350 * configure.in: Call IT_PO_SUBDIR for po-functions.
8351 * autogen.sh: Don't try to distribute po-functions/LINGUAS
8353 2008-10-09 Jody Goldberg <jody@gnome.org>
8355 * src/mstyle.c (gnm_style_new_merged) : support merging incomplete
8356 styles, and clean up the docs.
8357 (gnm_style_merge) : avoid problems if someone does something silly.
8359 2008-10-07 Morten Welinder <terra@gnome.org>
8361 * configure.in: switch to new LINGUAS scheme. Fixes #554348.
8362 * autogen.sh: ditto.
8364 2008-10-04 Jean Brefort <jean.brefort@normalesup.org>
8366 * component/gnumeric.c: render sheet objects using
8367 gnm_print_sheet_objects, and fixed cap for cell borders.
8368 * src/print-cell.c: removed the unused GtkPrintContext* argument.
8369 * src/print-cell.h: ditto.
8370 * src/print.c: renamed print_sheet_objects to gnm_print_sheet_objects,
8371 made it public, removed the unused GtkPrintContext* argument, and
8372 fixed objects position in layout (#554993).
8373 * src/print.h: ditto.
8375 2008-10-04 Jean Brefort <jean.brefort@normalesup.org>
8377 * component/gnumeric.c: (go_gnm_component_render): also render sheet
8380 2008-10-03 Morten Welinder <terra@gnome.org>
8382 * src/collect.c (float_range_function2d): New function.
8383 (float_range_function2): Implement in terms on
8384 float_range_function2d.
8386 2008-10-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8389 * src/workbook-view.c (wb_view_selection_desc): add translator
8392 2008-10-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8395 * src/stf.c (stf_text_to_columns): don't use markup
8396 in the error message
8398 2008-10-03 Jean Brefort <jean.brefort@normalesup.org>
8400 * Makefile.am: reimplemented the gnumeric goffice component.
8401 * component/gnumeric.c: ditto.
8402 * configure.in: ditto.
8404 2008-09-30 Morten Welinder <terra@gnome.org>
8406 * src/colrow.c (colrow_make_state): Remove.
8408 2008-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8411 * src/sheet.c (gnm_sheet_class_init): remove extra space
8413 2008-09-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8416 * src/hlink.c (gnm_hlink_external_activate): complete code
8418 2008-09-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8420 * src/commands.c (CmdAnalysis_Tool): add field
8421 (cmd_analysis_tool_undo): delete associated sheet objects
8422 (cmd_analysis_tool_draw_old_so): new
8423 (cmd_analysis_tool_redo): use the above
8424 (cmd_analysis_tool_finalize): handle new fields
8426 2008-09-17 Jody Goldberg <jody@gnome.org>
8428 * src/mathfunc.c (random_landau) : Use 'I' not 'i' as per original
8429 libgsl code. [Coverity 259].
8431 2008-09-14 Jody Goldberg <jody@gnome.org>
8433 * src/selection.c (sv_selection_apply_in_order) : suppress warning.
8435 2008-09-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
8438 * commands.h (cmd_selection_hyperlink): new
8439 * commands.c (cmd_selection_hyperlink): new
8440 (cmd_hyperlink_repeat): new
8441 (cmd_hyperlink_undo): new
8442 (cmd_hyperlink_redo): new
8443 (cmd_hyperlink_finalize): new
8444 (cb_cmd_hyperlink_find_cells): new
8446 2008-09-11 Jody Goldberg <jody@gnome.org>
8448 * src/xml-sax-write.c (gnm_cellregion_to_xml) : add protection.
8451 2008-09-11 Morten Welinder <terra@gnome.org>
8453 * src/func-builtin.c (gnumeric_table): Remove dead code.
8455 * src/print.c (gnm_print_sheet): Fix error check.
8457 * src/mathfunc.c (random_landau): Fix off-by-one. I hope.
8459 2008-09-07 Andreas Guelzow <aguelzow@pyrshep.ca>
8461 * src/expr.h (gnm_expr_new_funcall4): new
8462 * src/expr.c (gnm_expr_new_funcall4): new
8464 2008-09-07 Jody Goldberg <jody@gnome.org>
8466 * src/sheet.c (sheet_scale_changed) : split from.
8467 (sheet_set_zoom_factor) : here.
8468 (sheet_set_display_formulas) : used here.
8470 * src/print-cell.c (gnm_gtk_print_cell_range) : handle the doubling of
8471 column width during 'display forumla' mode.
8473 * src/expr.c (gnm_expr_top_is_array) : new.
8475 * src/rendered-value.c (gnm_rendered_value_new) : Use a simpler syntax
8476 to denote arrays. The full form used in the entry is too verboase.
8478 2008-09-02 Andreas Guelzow <aguelzow@pyrshep.ca>
8481 * src/selection.c (sv_selection_apply_in_order): new
8482 (selection_to_string): call sv_selection_apply_in_order
8483 rather than sv_selection_apply
8485 2008-09-02 Andreas Guelzow <aguelzow@pyrshep.ca>
8487 Fix of #539734 (slight adjustment to Jean's patch)
8488 * src/print-cell.c (print_cell_gtk): anchor the lines of
8489 rotated text correctly.
8491 2008-09-02 Andreas Guelzow <aguelzow@pyrshep.ca>
8494 * src/print-cell.c: remove pcontext in whole file
8495 (print_cell_gtk): do not use a new pango context, the old one will
8498 2008-09-01 Andreas Guelzow <aguelzow@pyrshep.ca>
8500 Partial fix of #153578
8501 * src/print-cell.c (print_cell_gtk): adjust for differences between
8504 2008-09-02 Jody Goldberg <jody@gnome.org>
8506 * src/search.c (gnm_search_replace_class_init) : add a property to be
8507 used to search scripts. NOT ENABLED yet.
8509 * src/ssgrep.c (search_string_table) : restore the old logic, and
8510 extend it to agregate multiple matches and to search in VBA code if
8512 (ssgrep) : enable search_string_table if -C/--string-table-count is
8515 2008-09-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
8517 * src/stf.c (csv_tsv_probe), src/stf-parse.c (stf_parse_general):
8518 Ignore / skip over byte-order mark. Fixes #549743.
8519 * src/stf-parse.c (stf_parse_general): data is arbitrary binary data
8520 (may contain nul bytes and need not be nul-terminated); call
8521 g_utf8_validate with appropriate parameters to handle arbitrary binary
8524 2008-08-30 Andreas Guelzow <aguelzow@pyrshep.ca>
8526 Implementation of #525368
8527 * src/print.c (PrintingInstance): add button_print_hidden_sheets
8528 (compute_pages): Include PRINT_ALL_SHEETS_INCLUDING_HIDDEN and exclude
8529 hidden sheets from PRINT_ALL_SHEETS. Rewrite PRINT_SHEET_RANGE
8530 (workbook_visible_sheet_count): new
8531 (gnm_create_widget_cb): add checkbox
8532 (gnm_custom_widget_apply_cb): handle new checkbox
8533 * src/print.h (PrintRange): add PRINT_ALL_SHEETS_INCLUDING_HIDDEN
8535 2008-08-30 Jody Goldberg <jody@gnome.org>
8537 * configure.in : Post release version bump
8539 2008-08-29 Jody Goldberg <jody@gnome.org>
8543 2008-08-29 Morten Welinder <terra@gnome.org>
8545 * src/gnm-format.c (gnm_format_import): Support-function to handle
8546 broken 1.6 formats. Fixes #548414.
8548 * src/xml-sax-read.c (make_format): Handle broken 1.6 formats.
8550 2008-08-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
8552 * gnumeric.desktop.in: Add a Version field; drop obsoleted
8553 "Application" from Categories field; changed DocPath field to
8554 X-GNOME-DocPath. The resulting gnumeric.desktop now validates without
8555 warnings using desktop-file-utils 0.15's desktop-file-validate.
8558 2008-08-26 Morten Welinder <terra@gnome.org>
8560 * src/number-match.c (value_is_error): Check for '#' here.
8561 (format_match_simple): Not here.
8562 (format_match): If matching fails in the existing-format case, try
8563 errors too. Fixes #546759.
8565 2008-08-25 Andreas Guelzow <aguelzow@pyrshep.ca>
8568 * src/print.c (print_page): fix caclulation of footer location
8570 2008-08-25 Morten Welinder <terra@gnome.org>
8572 * src/wbc-gtk-actions.c (insert_date_time_common): Make sure cell
8573 exists so gnm_format_for_date_editing can get the format. Fixes
8576 2008-08-25 Jody Goldberg <jody@gnome.org>
8578 * src/ssgrep.c (main) : move the gnm_init up to init goffice and gsf
8579 before opening a file.
8581 2008-08-24 Jody Goldberg <jody@gnome.org>
8583 * configure.in : Add check for gsf_infile_msvba_steal_modules.
8585 2008-08-23 Jody Goldberg <jody@gnome.org>
8587 * src/style.c (gnm_pango_context_get) : handle recent pango
8590 2008-08-21 Jean Brefort <jean.brefort@normalesup.org>
8592 * src/gnm-so-filled.c: (gnm_so_filled_read_xml_dom),
8593 (gnm_so_filled_write_xml_sax), (sof_sax_style): use GOPersist.
8594 * src/gnm-so-line.c: (gnm_so_line_read_xml_dom),
8595 (gnm_so_line_write_xml_sax), (sol_sax_style): ditto.
8597 2008-08-20 Jody Goldberg <jody@gnome.org>
8599 * gnumeric.desktop.in : We should really auto generate this. For now,
8600 add some dbf mime types to see if that helps the ubuntu folk. #542780
8602 2008-08-11 Jean Brefort <jean.brefort@normalesup.org>
8604 * src/xml-sax-read.c: (xml_sax_colrow): accept any order for attributes
8605 for ColRowInfo. [#547183]
8607 2008-08-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
8609 * configure.in: Bumped goffice dependency as the sax export now uses
8610 the two-argument form of go_doc_init_write which is new.
8612 2008-08-03 Jean Brefort <jean.brefort@normalesup.org>
8614 * src/xml-sax-read.c: (xml_sax_go_doc), (gnm_xml_file_open):
8615 save images used as background in charts. [#348780]
8616 * src/xml-sax-write.c: (gnm_xml_file_save),
8617 (gnm_cellregion_to_xml): load images used as background in charts.
8619 2008-07-25 Morten Welinder <terra@gnome.org>
8621 [Initial patch from Nick Lamb, see bug 69813.]
8623 * src/expr.h (enum GnmExprOp): Add new GNM_EXPR_OP_PAREN for
8626 * src/parser.y: Create GNM_EXPR_OP_PAREN node.
8628 * src/auto-format.c (do_af_suggest): Handle GNM_EXPR_OP_PAREN.
8629 * src/expr.c (gnm_expr_eval): Ditto.
8631 2008-07-23 Morten Welinder <terra@gnome.org>
8633 * src/collect.c (collect_floats): When requested, sort.
8635 2008-07-19 Jody Goldberg <jody@gnome.org>
8637 * tools/win32/gnumeric.nsi.in : enclose the gnumeric path in
8638 quotes too. [#542872]
8640 2008-07-10 Morten Welinder <terra@gnome.org>
8642 * src/ssgrep.c (main): Support -v and --print-type.
8644 * src/search.c (gnm_search_filter_matching): Handle new invert
8647 2008-07-09 Morten Welinder <terra@gnome.org>
8649 * src/ssgrep.c (main): Support -q -c -i -w -h -H -n -l -L -F.
8651 2008-07-08 Jean Brefort <jean.brefort@normalesup.org>
8653 * src/sheet-object-widget.c: (sheet_widget_button_prep_sax_parser):
8654 use the correct property name, i.e. "text" instead of "label".
8656 2008-07-02 Jody Goldberg <jody@gnome.org>
8658 * configure.in : add a test for gsf_open_pkg_foreach_rel to avoid
8659 bumping libgsf version req yet. It will be updated for the next
8660 STABLE release, but this will give the update time to percolate
8661 through the distros.
8663 2008-06-29 Morten Welinder <terra@gnome.org>
8665 * src/gnm-datetime.c (yearfrac): Guard against invalid dates.
8667 2008-06-27 Morten Welinder <terra@gnome.org>
8669 * src/gnm-datetime.c (gnm_date_add_days, gnm_date_add_months): New
8672 * src/sheet-autofill.c (afm_compute): Simplify using
8673 gnm_date_add_months.
8675 2008-06-25 Morten Welinder <terra@gnome.org>
8677 * src/mathfunc.c (phyper): Short-circuit x>=NR case. Fixes
8680 2008-06-25 Jody Goldberg <jody@gnome.org>
8682 * doc/C/Makefile.am : ship ssgrep.1 and gnumeric-C.omf
8684 2008-06-25 Jody Goldberg <jody@gnome.org>
8688 2008-06-23 Morten Welinder <terra@gnome.org>
8690 * src/gnm-datetime.c (datetime_value_to_g): Clear date in case of
8691 failure. Fixes #539808.
8693 2008-06-22 Jody Goldberg <jody@gnome.org>
8695 * src/wbc-gtk.c (cb_direction_change) : Only change the direction for
8696 the current scg. [#499910]
8698 2008-06-22 Jody Goldberg <jody@gnome.org>
8700 * src/gnm-pane.c (gnm_pane_expr_cursor_bound_set) : use blue instead
8701 of red for default range selector cursor.
8702 * src/item-cursor.c (item_cursor_expr_range_event) : new.
8704 2008-06-22 Jean Brefort <jean.brefort@normalesup.org>
8706 * src/sheet-object-graph.c: (sog_datas_set_sheet): set the workbook
8707 as the graph document to support the new image framework.
8708 * src/workbook-control.c: (wb_control_set_view): set the document for
8709 the underlying GOControlDoc.
8711 2008-06-21 Jody Goldberg <jody@gnome.org>
8713 * src/gnm-pane.c (gnm_pane_header_init) : Add a GtkAlignment wrapper
8714 to the col/row headers to avoid problems when scaling to very small
8715 sizes with group buttons. [#154687]
8717 2008-06-21 Jody Goldberg <jody@gnome.org>
8719 * src/sheet-control-gui.c (scg_mode_edit) : unselect objects even
8722 2008-06-19 Morten Welinder <terra@gnome.org>
8724 * src/wbc-gtk.c (wbcg_error_error_info): Quote markup. Fixes
8727 2008-06-19 Jody Goldberg <jody@gnome.org>
8729 * src/wbc-gtk.c (scg_get_nth_scg) : new convenience routine to
8730 localize use of SHEET_CONTROL_KEY, and add some safety checks.
8731 (wbcg_get_scg) : Use it.
8732 (cb_sheet_label_drag_data_get) : ditto.
8733 (cb_notebook_switch_page) : ditto.
8734 (wbcg_sheet_order_changed) : ditto.
8735 (wbcg_focus_cur_scg) : ditto.
8736 (wbc_gtk_init) : Move new_object from scg -> wbcg.
8737 (wbcg_update_action_sensitivity) : ditto.
8738 (wbcg_menu_state_update) : ditto.
8740 * src/wbc-gtk-edit.c (wbcg_insert_object) : moved from
8741 wbcg_insert_object and made smarter to walk through all scgs and
8742 setting cursor visibilty, and unanting.
8743 (wbcg_insert_object_clear) : reworked from scg_mode_clear and made
8746 * src/wbc-gtk-actions.c (cb_insert_image) : Use wbcg_insert_object.
8747 (cb_add_graph) : ditto.
8748 (create_object) : ditto, and remove the sheet_update/recalc. It does
8751 * src/sheet-control-gui.c (scg_cursor_visible) : make public.
8752 (scg_mode_clear) : moved into wbcg_insert_object_clear, and
8754 (scg_mode_create_object) : reworked as wbcg_insert_object.
8755 (scg_mode_edit) : Use the new wbcg_insert_object_clear and simplify.
8756 (scg_object_select) : Adapt to moving new_object from SCG -> WBCG
8757 (scg_objects_nudge) : ditto.
8758 (scg_set_display_cursor) : ditto.
8759 * src/gnm-pane.c (gnm_pane_key_press) : ditto.
8760 * src/item-bar.c (item_bar_draw) : ditto.
8761 * src/item-grid.c (item_grid_draw) : ditto.
8762 (ig_obj_create_begin) : ditto.
8763 (item_grid_button_press) : ditto.
8765 2008-06-18 Morten Welinder <terra@gnome.org>
8767 * src/mathfunc.c (MATHLIB_ERROR): Return a NaN instead of
8768 aborting. Fixes #534475.
8770 2008-06-17 Morten Welinder <terra@gnome.org>
8772 * src/application.c (gnm_app_create_opener_filter): Suffix
8773 patterns should match upper and lower case file names. Fixes
8776 2008-06-17 Jody Goldberg <jody@gnome.org>
8778 * src/print-info.c (print_info_set_page_setup) : fix a life cycle
8779 error and document. Fixes page setup on win32.
8781 2008-06-16 Jody Goldberg <jody@gnome.org>
8783 * src/item-edit.c (item_edit_dispose) : delete the feedback ranges.
8784 Don't disable their creation into the future.
8786 2008-06-16 Jody Goldberg <jody@gnome.org>
8788 * tools/win32/gnumeric.nsi.in : Make the default install set
8789 'Standard' and do not overwrite the common type (Excel/OOo). [#534231]
8791 2008-06-13 Jody Goldberg <jody@gnome.org>
8793 * src/wbc-gtk.c (cb_regenerate_window_menu) : we need to remove the
8794 action group from the UI, not just unref it.
8795 (wbc_gtk_reload_recent_file_menu) : ditto.
8797 2008-05-27 Morten Welinder <terra@gnome.org>
8799 * src/stf-export.c (try_auto_date): Don't generate an invalid time
8800 format. Fixes #534514. Fix detection of fractional seconds.
8802 2008-05-21 Morten Welinder <terra@gnome.org>
8804 * src/value-sheet.c (value_area_foreach): Always NULL ->cell_iter.
8806 * src/parser.y: Further parser fixes. Clarify the error handling
8807 rules. Fixes #534131.
8809 2008-05-20 Morten Welinder <terra@gnome.org>
8811 * src/value-sheet.c (value_area_get_x_y): Make sure to return an
8812 empty value, not NULL, when a cell in a range isn't there. Fixes
8815 * src/mathfunc.c (random_exppow): Add domain check. Fixes
8818 2008-05-19 Morten Welinder <terra@gnome.org>
8820 * src/parser.y (fold_positive_constant, fold_negative_constant,
8821 build_unary_op, build_binop, build_logical, build_not,
8822 build_intersect, build_set): Propagate errors. Fixes #533951.
8824 * src/stf.c (stf_read_workbook_auto_csvtab): Don't assume that the
8825 command context is a gui. Fixes #533511.
8827 * src/expr.c (value_intersection): Handle empty array. [#533516]
8830 2008-05-19 Jody Goldberg <jody@gnome.org>
8832 * src/parse-util.c (r1c1_get_index) : handle =RC-10 as
8833 <ref "RC"><unary-><10> #533943
8835 2008-05-17 Morten Welinder <terra@gnome.org>
8837 * src/mathfunc.c (qpois): Return nan on invalid lambda. Fixes
8839 (discpfuncinverter): Handle overflow when searching for missing
8840 side better. Also fixes #533515.
8842 2008-05-16 Morten Welinder <terra@gnome.org>
8844 * src/func.c (tokenized_help_new): Translate old-style help texts.
8845 fixes part of #533193.
8847 2008-05-15 Morten Welinder <terra@gnome.org>
8849 * src/mathfunc.c (random_gamma): Handle overflow and bogus
8850 arguments. Fixes #533288.
8852 2008-05-12 Jean Brefort <jean.brefort@normalesup.org>
8854 * configure.in: request libgoffice-0.8 >= 0.7.0.
8855 * src/Makefile.am: removed obsolete (moved to goffice) files.
8856 * src/gnm-conf-gconf.c: ditto.
8857 * src/gnm-conf-keyfile.c: ditto.
8858 * src/gnm-conf-win32.c: ditto.
8859 * src/gnumeric-gconf.c: ditto.
8860 * src/gnumeric-gconf.h: ditto.
8862 2008-05-07 Jody Goldberg <jody@gnome.org>
8864 Merge patch from Seán de Búrca [#450444]
8865 * configure.in : add the new icon dirs.
8866 * gnumeric.desktop.in : remove icon suffix.
8867 * icons/Makefile.am : deploy the icons, and do some cleanup.
8868 * src/wbc-gtk.c (wbc_gtk_class_init) : Now we can use the nice simple
8869 gtk_window_set_default_icon_name.
8871 2008-05-04 Jody Goldberg <jody@gnome.org>
8873 * configure.in : post release bump.
8875 2008-05-04 Jody Goldberg <jody@gnome.org>
8879 2008-05-04 Morten Welinder <terra@gnome.org>
8881 * src/wbc-gtk.c (cb_notebook_switch_page): When selecting a range
8882 for a dialog, do sheet changes fully. Fixes #529309.
8884 2008-05-02 Morten Welinder <terra@gnome.org>
8886 * src/workbook-view.c (wbv_save_to_uri): Zap this meesage too.
8888 2008-05-02 Jody Goldberg <jody@gnome.org>
8890 * configure.in : add ssgrep.
8891 * src/Makefile.am : ditto.
8892 * src/.gitignore : ditto.
8894 * src/str.c (gnm_string_foreach) : new wrapper to make it easier to
8895 walk all available strings.
8897 * src/workbook-view.c (wb_view_new_from_uri) : turn off the info spew.
8899 2008-04-29 Morten Welinder <terra@gnome.org>
8901 * src/xml-sax-write.c (xml_write_sheet_names): Write sheet sizes.
8903 * src/ranges.c (range_is_sane): Fix escaped G_MAXINT/2. We're not
8904 ready for that just yet.
8905 (range_init_full_sheet): Ditto.
8907 2008-04-28 Morten Welinder <terra@gnome.org>
8909 * src/colrow.h (colrow_max): Take a sheet argument too. All
8912 * */*.c: Use gnm_sheet_get_max_cols for SHEET_MAX_COLS and
8913 gnm_sheet_get_max_rows for SHEET_MAX_ROWS in most cases. (Adapted
8914 from Jean's patch in #168875.)
8916 * src/wbc-gtk-actions.c (cb_calc_decs): Use rendered value, if
8919 2008-04-24 Jean Brefort <jean.brefort@normalesup.org>
8921 * libspreadsheet.pc.in: fixed the plugins dir definition so tht it can
8924 2008-04-22 Morten Welinder <terra@gnome.org>
8926 * src/number-match.c (handle_float): Don't initialize
8927 twice. [#529297, Hiroyuki Ikezoe]
8929 2008-04-16 Jody Goldberg <jody@gnome.org>
8931 * configure.in : Use dolt when possible.
8932 * acinclude.m4 : create, and add dolt.m4
8934 2008-04-14 Morten Welinder <terra@gnome.org>
8936 * src/sheet-object-image.c (gnm_soi_default_size,
8937 gnm_soi_draw_cairo): Protect against a NULL pixbuf.
8939 2008-04-11 Morten Welinder <terra@gnome.org>
8941 * src/wbc-gtk-edit.c (close_to_int): Add missing abs case causing
8943 (guess_time_format): Return the format, not a string. Deduce
8944 GOFormat's limit of decimals.
8945 (guess_time_format): Improve handling of elapsed time format.
8947 2008-04-10 Morten Welinder <terra@gnome.org>
8949 * src/clipboard.c (paste_cell): Translate dates if required.
8951 (cellregion_new): Setup new date_conv field from sheet.
8953 * src/xml-io.c (xml_cellregion_read): Set of date_conv field from
8955 (xml_read_clipboard_cell): Use date_conv from cell region, not
8958 * src/commands.c (warn_if_date_trouble): New function.
8959 (cmd_paste_copy): Call warn_if_date_trouble.
8961 2008-04-08 Morten Welinder <terra@gnome.org>
8963 * src/mathfunc.c (gnm_float_hash, gnm_float_equal): Moved from
8964 rangefunc.c. Made public.
8966 * src/dependent.c (workbook_recalc): If we recalculated anything,
8967 emit recalc-finished on the application.
8969 * src/application.c (gnm_app_class_init): Install new
8970 "recalc-finished" signal.
8972 * src/ranges.c (gnm_sheet_range_dup, gnm_sheet_range_equal,
8973 gnm_sheet_range_hash, gnm_range_hash, gnm_range_equal): New
8976 * src/collect.c (gnm_strip_missing): Don't return a value; take
8977 list directly, not as reference; make O(n) instead of O(n^2). All
8980 2008-04-06 Morten Welinder <terra@gnome.org>
8982 * src/collect.c (collect_strings): Change return type to GPtrArray
8983 so we can actually tell if there was an error. All callers
8984 changed. Fixes CONCATENATE.
8985 (string_range_function): Make the subject function take a
8986 GPtrArray for simplicity. All callers changed.
8988 2008-03-30 Jon K Hellan <hellan@acm.org>
8990 * src/gui-clipboard.c (x_targets_received): Request text if holder
8991 of clipboard doesn't offer any target we understand. Broken apps,
8992 including jedit, have been seen to return a bogus list of targets,
8993 but nonetheless return text when asked.
8994 (utf8_content_received): New function. Passes text received from
8995 clipboard to text_to_cell_Region.
8997 2008-03-30 Jean Brefort <jean.brefort@normalesup.org>
8999 * src/stf.c: (stf_read_workbook), (stf_read_workbook_auto_csvtab):
9000 call workbook_recalc_all instead or workbook_recalc to ensure
9001 formula evaluation. [#525107]
9003 2008-03-28 Morten Welinder <terra@gnome.org>
9005 * src/expr.c (gnm_expr_top_is_array_elem): Take extra arguments
9006 for storing coordinates. All callers changed.
9008 2008-03-27 Morten Welinder <terra@gnome.org>
9010 * src/workbook-view.c (wb_view_edit_line_set): Use more API
9011 instead of peeking inside expression implementation details so
9014 * src/expr.c (gnm_expr_top_is_array_corner): New function. (I
9015 have plans for gnm_expr_top_get_array_corner.)
9017 2008-03-26 Morten Welinder <terra@gnome.org>
9019 * src/gui-file.c (gui_file_open): Allow selection of multiple
9022 2008-03-20 Morten Welinder <terra@gnome.org>
9024 * src/value.c (criteria_test_equal, criteria_test_unequal,
9025 criteria_test_less, criteria_test_less_or_equal,
9026 criteria_test_greater, criteria_test_greater_or_equal): Handle
9027 string values that can be interpreted as numbers. Take extra
9028 date_conv argument. All callers changed.
9030 2008-03-12 Morten Welinder <terra@gnome.org>
9032 * src/xml-sax-read.c (make_format): New function to handle invalid
9034 (xml_sax_style_start, xml_sax_cell): Use make_format.
9036 * src/value.c (value_new_bool): Don't allocate memory for bools.
9037 There are only two different ones.
9038 (value_release): Consequently don't release memory.
9039 (value_set_fmt): Don't allow setting formats for empty and bool.
9041 2008-03-10 Morten Welinder <terra@gnome.org>
9043 * src/wbc-gtk-actions.c (inc_dec): New function to do something
9044 vaguely sensible when inc/dec decimals is requested for General.
9047 * configure.in (ALL_LINGUAS): Undo last change. It breaks the
9050 * src/wbc-gtk.c (cb_add_menus_toolbars): Honour
9051 /desktop/gnome/interface/toolbar_detachable. Patch from Nick
9052 Lamb. Fixes #321867.
9054 2008-03-10 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
9056 * configure.in: Added "zh_HK" to ALL_LINGUAS.
9058 2008-03-06 Morten Welinder <terra@gnome.org>
9060 * src/wbc-gtk-actions.c (insert_date_time_common): Fix the time
9063 2008-03-02 Jody Goldberg <jody@gnome.org>
9065 Patches for cygwin build [#506366]
9066 * configure.in : differentiate between cygwin, and native win32.
9067 * tools/Makefile.am : Registry mapper is not needed under cygwin.
9068 * schemas/Makefile.am : ditto.
9069 * src/Makefile.am : -mwindows and -mconsole are only required for
9072 2008-03-01 Jody Goldberg <jody@gnome.org>
9074 * src/Makefile.am : build ssconvert & ssindex with -mconsole and
9077 * src/workbook-view.c (gnm_mailto_url_show) : Add a win32 version of
9080 * schemas/Makefile.am : Don't create a dir if built without gconf
9083 2008-03-01 Morten Welinder <terra@gnome.org>
9085 * src/xml-sax-read.c (xml_sax_cell_content): Ref shared
9086 expressions before inserting them into the hash.
9087 (gnm_xml_file_open): Register a value-free function for the shared
9088 expression hash. Fixes #519761.
9090 * src/sheet-autofill.c (afm_teach_cell): Fix end-of-month problem.
9092 (auto_filler_month): Initialize ->end_of_month.
9094 2008-03-01 Jody Goldberg <jody@gnome.org>
9096 * src/style.c : drop use of pangoft2 as a hard coded fallback use
9099 * src/wbc-gtk-actions.c (cb_help_docs) : add a warning if help viewer
9102 2008-02-29 Morten Welinder <terra@gnome.org>
9104 * src/mstyle.c (link_border_colors): Handle NULL border which is
9105 advertised as being ok. Fixes #519451.
9107 2008-02-28 Morten Welinder <terra@gnome.org>
9109 * src/xml-io.c (maybe_convert): Handle memory allocation failure
9110 nicely. Fixes #519319.
9112 * src/xml-sax-read.c (maybe_convert): Handle memory allocation
9115 2008-02-21 Morten Welinder <terra@gnome.org>
9117 * src/sheet-autofill.c (sheet_autofill_dir): Handle merged cells
9118 better. Fixes #504191.
9120 2008-02-19 Morten Welinder <terra@gnome.org>
9122 * src/wbc-gtk-actions.c: Handle <control>KP_Subtract as
9123 <control>minus. Fixes #516358. Ditto KP_Add.
9125 2008-02-05 Morten Welinder <terra@gnome.org>
9127 * src/clipboard.c (cellregion_to_string): Fix col/row confusion.
9130 2008-02-04 Morten Welinder <terra@gnome.org>
9132 * src/func.c (functions_shutdown): Handle leftover place holders
9133 better. Fixes #514295. (Also fixed in importer.)
9135 2008-02-02 Morten Welinder <terra@gnome.org>
9137 * src/main-application.c (main): Call pathetic_qt_workaround early
9138 to handle the theme corruption at the time the splash screen is
9141 2008-02-01 Morten Welinder <terra@gnome.org>
9143 * src/main-application.c (pathetic_qt_workaround): Work around
9144 Qt-theme (or Qt-library) bug.
9145 (main): Install pathetic_qt_workaround. Fixes #512752.
9147 * src/expr.c (gnm_expr_eval): Fix FMRs for circular array
9150 * src/sheet-autofill.c (add_item): Plug leak.
9152 2008-01-31 Morten Welinder <terra@gnome.org>
9154 * src/expr.c (gnm_expr_eval): Handle the case of no value
9155 calculated for the array. [#513559]
9157 2008-01-28 Morten Welinder <terra@gnome.org>
9159 * src/xml-sax-read.c (xml_sax_solver_start): New function.
9160 (gnm_xml_attr_bool): Renamed from xml_sax_attr_bool and made
9163 2008-01-26 Morten Welinder <terra@gnome.org>
9165 * src/gutils.c (gutils_init): If we appear to be running out of
9166 the source tree, then adjust libdir (for plugins) accordingly.
9168 2008-01-24 Jean Brefort <jean.brefort@normalesup.org>
9170 * src/clipboard.c (paste_object): Fix paste-graph
9173 2008-01-24 Morten Welinder <terra@gnome.org>
9175 * src/sheet.c (sheet_move_range): Fix sanity check. [#511706]
9177 2008-01-16 Morten Welinder <terra@gnome.org>
9179 * src/stf-parse.c (stf_parse_csv_line): Allocate from the string
9180 chunk so we don't leak items. Reduce the number of GString
9181 allocations while we're at it.
9183 2008-01-10 Morten Welinder <terra@gnome.org>
9185 * src/wbc-gtk-edit.c (wbcg_edit_start): Use
9186 gnm_format_for_date_editing.
9188 * src/wbc-gtk-actions.c (insert_date_time_common): New function to
9189 format numbers according to cell's format when appropriate.
9192 * src/gnm-format.c (gnm_format_for_date_editing): New function.
9194 2008-01-15 Morten Welinder <terra@gnome.org>
9196 * src/value.c (parse_database_criteria): Verify that we have a
9197 cellrange which is the only cases handled. Part of fix for
9200 2008-01-14 Morten Welinder <terra@gnome.org>
9202 * Makefile.am (DISTCLEANFILES): Get rid of the versioned .pc file
9205 2008-01-14 Morten Welinder <terra@gnome.org>
9207 * configure.in (GNM_PY_LDFLAGS): Fix assumptions about directory
9208 layout. [#509023] [508988]
9210 2007-12-29 Jody Goldberg <jody@gnome.org>
9212 * configure.in : post release version bump
9214 2007-12-21 Jody Goldberg <jody@gnome.org>
9218 2007-12-17 Morten Welinder <terra@gnome.org>
9220 * src/gnumeric-gconf.c: Quiet the debug code.
9222 2007-12-15 Jean Brefort <jean.brefort@normalesup.org>
9224 * src/gnm-so-filled.c: (sof_default_style),
9225 (cb_gnm_so_filled_style_changed): replace 0 and 1 for line styles
9226 by GO_LINE_NONE and GO_LINE_SOLID.
9227 * src/gnm-so-line.c: (so_line_view_set_bounds),
9228 (sol_default_style), (cb_gnm_so_line_changed),
9229 (gnm_so_line_draw_cairo): ditto.
9230 * src/gnm-so-polygon.c: (sop_default_style),
9231 (cb_gnm_so_polygon_style_changed): ditto.
9233 2007-12-15 Jody Goldberg <jody@gnome.org>
9235 * src/clipboard.c (clipboard_paste_region) : A region is not empty if
9236 there are merges or styles. [#503634]
9238 2007-12-13 Jody Goldberg <jody@gnome.org>
9240 * src/xml-io.c (xml_sheet_read) : support grid colour.
9241 * src/xml-sax-read.c (xml_sax_sheet_start) : ditto.
9242 (xml_sax_sheet_name) : ditto.
9243 * src/xml-sax-write.c (xml_write_sheet) : ditto.
9244 * gnumeric.xsd : ditto.
9246 2007-12-13 Jody Goldberg <jody@gnome.org>
9248 * src/sheet-object-cell-comment.c (comment_view_set_bounds) : remove
9249 kludge that altered the anchor. That makes it impossible to look
9251 * src/colrow.c (colrow_set_sizes) : instead, just reposition all
9252 objects when cols resize.
9254 * src/clipboard.c (paste_object) : Add support for a magic new flag
9255 PASTE_IGNORE_COMMENTS_AT_ORIGIN for use by.
9257 * src/commands.c (cmd_merge_cells_undo) : Used here so that when we
9258 paste the old content back into the merged region we do not
9259 duplicate a comment that existed in the cell. [#503392]
9261 2007-12-10 Andreas Guelzow <aguelzow@pyrshep.ca>
9264 * src/sheet.c (sheet_get_nominal_printarea): fix invalid printarea
9266 2007-12-10 Morten Welinder <terra@gnome.org>
9268 * src/expr.c (gnm_expr_relocate): Access the right union member.
9271 2007-12-01 Morten Welinder <terra@gnome.org>
9274 * src/sheet.c (sheet_cell_set_text): Adjust markup if text was
9277 * src/commands.c (cmd_set_text): Don't compare markups if we don't
9278 extract them. Map empty markup to no markup.
9279 (gnm_pango_attr_list_equal): Take into account that
9280 pango_attribute_equal does not compare indices.
9282 * src/wbc-gtk-edit.c (gnm_pango_attr_list_splice): Export to
9283 Goffice. . Let caller do the splice.
9284 (wbcg_edit_start): Adjust markup if we quoted the string.
9285 (wbcg_edit_finish): Free cell_attrs if needed.
9286 (wbcg_edit_add_markup): Unset attributes if the desired result
9288 (wbcg_edit_init_markup): Initialize cell_attrs.
9290 2007-11-30 Jody Goldberg <jody@gnome.org>
9292 * src/gnm-pane.c (gnm_pane_key_mode_sheet) : enter_moves_dir == NONE
9293 should not move anywhere.
9295 2007-12-03 Jody Goldberg <jody@gnome.org>
9297 * configure.in : post release bump. Hopefully last before 1.8
9299 2007-12-03 Jody Goldberg <jody@gnome.org>
9303 2007-11-28 Morten Welinder <terra@gnome.org>
9305 * src/workbook-view.c (wb_view_dispose): New function extracted
9306 from wb_view_finalize to handle viewe-control disentanglement.
9307 * src/workbook-control.c (wbc_dispose): Renamed from wbc_finalize
9308 and hooked up accordingly. Fixes #499680.
9310 2007-11-28 Jon K Hellan <hellan@acm.org>
9312 * src/print.c (gnm_begin_print_cb, gnm_request_page_setup_cb):
9313 Silence warnings about gtk+ workarounds.
9315 2007-11-27 Andreas Guelzow <aguelzow@pyrshep.ca>
9317 * src/print.c (print_sheet_objects): print the sheet objects in
9320 2007-11-27 Morten Welinder <terra@gnome.org>
9322 * src/gnm-pane.c (gnm_pane_unrealize): Fix critical. [#499905]
9324 2007-11-26 Morten Welinder <terra@gnome.org>
9326 * src/wbc-gtk-actions.c (common_cell_goto): Don't try to go to an
9327 invisible sheet. Fixes the part of 499723 that Sum1 hasn't even
9330 * src/workbook.c (workbook_cells): Considers cells in sheets only
9331 if they are sufficiently visible.
9332 * src/search.c (gnm_search_collect_cells): Don't collect cells in
9333 deeply hidden sheets.
9335 2007-11-26 Morten Welinder <terra@gnome.org>
9337 * src/workbook-control.c (wb_control_parse_and_jump): Make target
9338 absolute. Fixes #499722.
9340 2007-11-25 Andreas Guelzow <aguelzow@pyrshep.ca>
9342 * print-info.c (print_hf_new): use empty strings rather than NULL
9344 2007-11-25 Jody Goldberg <jody@gnome.org>
9346 * src/style-conditions.c (gnm_style_cond_is_valid) : make public.
9348 2007-11-24 Jody Goldberg <jody@gnome.org>
9350 * src/xml-sax-write.c (xml_write_breaks) : new. Manual enum handling
9352 (xml_write_print_info) : use it here.
9354 * src/xml-sax-read.c (xml_sax_attr_enum) : Use class_ref/class_unref
9355 to force the enum to complete.
9356 (xml_sax_page_break) : new with manual enum handling for performance.
9357 (xml_sax_page_breaks_begin) : new.
9358 (xml_sax_page_breaks_end) : new.
9360 2007-11-20 Morten Welinder <terra@gnome.org>
9362 * src/sheet.c (sheet_insert_cols, sheet_insert_rows,
9363 sheet_delete_cols, sheet_delete_rows): Initialize reloc_info.pos.
9364 * src/dependent.c (dependents_relocate): When handling names, get
9365 a list of the names as the hash will change during the process.
9368 2007-11-19 Jody Goldberg <jody@gnome.org>
9370 * configure.in : post release bump to 1.7.91-rc2
9372 2007-11-19 Jody Goldberg <jody@gnome.org>
9376 2007-11-18 Andreas Guelzow <aguelzow@pyrshep.ca>
9378 * src/print.c (gnm_draw_page_cb): set up HFRenderInfo
9379 * src/print-info.c (render_cell): handle relative addresses
9381 2007-11-17 Andreas Guelzow <aguelzow@pyrshep.ca>
9383 * src/print-info.c (render_cell): use rangeref_parse to also handle
9386 2007-11-17 Andreas Guelzow <aguelzow@pyrshep.ca>
9388 * src/print-info.h (HFRenderInfo): add page area info
9389 * src/print-info.c (render_cell): new
9390 (render_ops): add cell record
9391 (hf_render_info_new): initialize page area info
9393 2007-11-16 Andreas Guelzow <aguelzow@pyrshep.ca>
9395 * src/print-cell.c (print_merged_range_gtk): print the
9396 background behind the cell.
9398 2007-11-16 Morten Welinder <terra@gnome.org>
9400 * src/application.c: use the recent manager to received
9401 notifications of changes and tell GnmApp watchers.
9403 * src/gnumeric-gconf.c: Check the right symbol for backend.
9405 * src/clipboard.c (cellregion_to_string): Fix cut-and-paste-code
9408 * src/wbc-gtk-edit.c (wbcg_edit_start): Explicitly clear force
9411 2007-11-15 Morten Welinder <terra@gnome.org>
9413 * src/application.c (gnm_app_release_pref_dialog,
9414 gnm_app_get_pref_dialog, gnm_app_set_pref_dialog): Remove.
9416 2007-11-15 Jon K Hellan <hellan@acm.org>
9418 * src/gui-clipboard.c (set_clipman_targets): New. Restrict the
9419 set of formats offered to clipboard manager.
9420 (x_claim_clipboard): Use it.
9422 2007-11-15 Jody Goldberg <jody@gnome.org>
9424 * src/clipboard.c (cb_cellregion_extent) : new.
9425 (cellregion_extent) : new. currently internal. Might be useful
9427 (cellregion_to_string) : check the extent of the content.
9429 2007-11-14 Andreas Guelzow <aguelzow@pyrshep.ca>
9431 * src/pixmaps/hf_date.png: new (temporary) icon
9432 * src/pixmaps/hf_page.png: ditto
9433 * src/pixmaps/hf_pages.png: ditto
9434 * src/pixmaps/hf_cell.png: ditto
9435 * src/pixmaps/hf_time.png: ditto
9436 * src/pixmaps/hf_sheet.png: ditto
9437 * src/pixmaps/Makefile.am: adjust for new icon files
9438 * src/wbc-gtk.c (wbc_gtk_setup_icons): add new icons
9440 2007-11-14 Morten Welinder <terra@gnome.org>
9442 * src/gui-clipboard.c (debug_clipboard): New function.
9443 (x_clipboard_get_cb): Add conditional debug statements.
9445 * src/wbc-gtk.c (wbcg_sheet_focus): Make sure direction is right,
9446 see #496304, comment 3 onwards.
9448 2007-11-13 Morten Welinder <terra@gnome.org>
9450 * src/gui-util.c (gnumeric_keyed_dialog): Tentatively persist zoom
9451 dialog window size within session.
9453 2007-11-13 Jon K Hellan <hellan@acm.org>
9455 * src/commands.c (cmd_define_name): Fix typo. Fixes #496334.
9457 2007-11-12 Morten Welinder <terra@gnome.org>
9459 * src/workbook-control.c (wb_control_jump): Simplify. Return
9460 error indicator and take simpler arguments. Caller fixed. Refuse
9461 to jump to invisible sheet. Fixes #496304.
9463 * src/sheet.c (sheet_cell_set_text): Fix interaction between
9464 spanning and manual recalc. Fixes #495879.
9466 * src/parse-util.c (rangeref_parse): Don't allow workbook without
9469 * src/rendered-value.c (gnm_rendered_value_new): Don't test
9470 cell->value too soon.
9472 2007-11-12 Jon K Hellan <hellan@acm.org>
9474 * src/gui-clipboard.c (table_cellregion_write): Paste as values so
9475 that we don't care about array boundaries. Fixes #496187.
9477 2007-11-12 Morten Welinder <terra@gnome.org>
9479 * src/print.c (gnm_print_sheet): Handle more
9480 gtk_print_operation_run result codes. Fix leak.
9482 * src/workbook-control.c (wb_control_jump): Add missing
9483 inititialization of r. Fixes #496071.
9485 2007-11-09 Morten Welinder <terra@gnome.org>
9487 * src/commands.c (cmd_define_name): Validate name.
9489 * src/workbook-control.c (wb_control_parse_and_jump): Parse with
9490 respect to edit position.
9492 * src/value.c (value_new_cellrange_parsepos_str): New function
9493 split form value_new_cellrange_str.
9494 (value_new_cellrange_str): Simplify using
9495 value_new_cellrange_parsepos_str.
9497 * src/workbook-control.c (wb_control_jump): Split from
9498 wb_control_parse_and_jump.
9499 * src/position.c (eval_pos_init_editpos): New function.
9502 2007-11-08 Andreas Guelzow <aguelzow@pyrshep.ca>
9504 * gnumeric.xsd: add do_not_print field
9506 2007-11-08 Andreas Guelzow <aguelzow@pyrshep.ca>
9508 * src/xml-sax-read.c (xml_sax_print_do_not_print): new
9509 * src/xml-sax-write.c (xml_write_print_info): write do_not_print
9511 * src/xml-io.c (xml_read_print_info): read do_not_print field
9512 * src/print-info.c (print_info_new): initialize do_not_print
9514 2007-11-08 Morten Welinder <terra@gnome.org>
9516 * src/sheet.c (sheet_move_range): Initialize reloc_info.pos.
9517 Otherwise we get UMRs in gnm_expr_top_relocate.
9519 2007-11-07 Morten Welinder <terra@gnome.org>
9521 * src/gnm-pane.c (gnm_pane_dispose): Get rid of ->im_context here,
9522 not in gnm_pane_finalize. First disconnect signals and window.
9523 This fixes FMR during workbook destruction.
9524 (gnm_pane_finalize): Delete.
9526 2007-11-06 Morten Welinder <terra@gnome.org>
9528 * src/wbc-gtk-edit.c (wbcg_edit_start): Use yyyy-m-d format for
9529 date entry when appropriate.
9531 * src/gnm-format.c (gnm_format_month_before_day): Update return
9532 value like for go_format_month_before_day.
9534 2007-11-06 Andreas Guelzow <aguelzow@pyrshep.ca>
9536 * src/print.c (PrintingInstance): add HFRenderInfo
9537 (printing_instance_new): handle HFRenderInfo field
9538 (printing_instance_destroy): ditto
9539 (ensure_decoration_layout): rewrite for gtkprint
9540 (print_hf_element): ditto
9541 (print_hf_line): ditto
9542 (print_headers): delete
9543 (print_footers): delete
9544 (print_page): also print headers and footers
9546 2007-11-06 Andreas Guelzow <aguelzow@pyrshep.ca>
9548 * src/xml-sax-read.c (xml_sax_print_hf): new
9549 (PRINT_HEADER): hook up xml_sax_print_hf
9550 (PRINT_FOOTER): ditto
9552 2007-11-06 Morten Welinder <terra@gnome.org>
9554 * src/print-info.c (pdf_write_workbook): Set do_not_print flags to
9555 relects sheet selection.
9557 * src/print.c (compute_pages): Do not print sheets marked
9560 2007-11-06 Jean Brefort <jean.brefort@normalesup.org>
9562 * src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): use cairo_t*
9563 as arg for draw_cairo instead of gpointer.
9564 * src/gnm-so-line.c: (gnm_so_line_draw_cairo): ditto.
9565 * src/gnm-so-polygon.c: (gnm_so_polygon_draw_cairo): ditto.
9566 * src/sheet-object-graph.c: (gnm_sog_draw_cairo): ditto.
9567 * src/sheet-object-impl.h: ditto.
9568 * src/sheet-object.c: (sheet_object_draw_cairo): ditto.
9569 * src/sheet-object.h: ditto.
9570 * src/sheet-object-image.c: (gnm_soi_draw_cairo),
9571 (gnm_soi_class_init): implement draw_cairo (for printing).
9573 2007-11-05 Morten Welinder <terra@gnome.org>
9575 * src/print-info.c (pdf_write_workbook): Prepare for printing
9576 selected sheets. Note: doesn't actually work yet.
9577 (cb_set_pdf_option): Parse sheets to be printing.
9579 2007-11-05 Andreas Guelzow <aguelzow@pyrshep.ca>
9581 * src/print.c (compute_scale_fit_to): new arguments to pass
9582 through to paginate. Also calculate extent internally.
9583 (compute_sheet_pages): pass more info to compute_scale_fit_to
9585 2007-11-05 Andreas Guelzow <aguelzow@pyrshep.ca>
9587 * src/print.c (compute_n_pages): deleted
9588 (compute_scale_fit_to): use paginate rather than compute_n_pages
9589 (compute_sheet_pages_add_range): change expected argument order to
9590 match how you are called.
9591 (paginate): drop unneeded arguments
9593 2007-11-05 Morten Welinder <terra@gnome.org>
9595 * src/print-info.c (print_init): Hook up options parsing for pdf
9597 (page_setup_set_paper): Return an error code.
9598 (print_info_set_paper): Ditto.
9600 * src/stf-export.c (gnm_stf_export_options_sheet_list_clear): Hold
9601 a weak sheet reference only.
9603 2007-11-04 Andreas Guelzow <aguelzow@pyrshep.ca>
9605 * src/print.c (print_range_used_units): deleted
9606 (print_job_info_init_sheet): deleted
9607 (paginate): simplify arguments
9608 (compute_sheet_pages): use simplified arguments for paginate
9610 2007-11-04 Andreas Guelzow <aguelzow@pyrshep.ca>
9612 * src/print.c (compute_sheet_pages_down_then_across): use
9614 (compute_sheet_pages_across_then_down): ditto
9616 (compute_sheet_pages): first paginate and only then create page list.
9618 2007-11-04 Morten Welinder <terra@gnome.org>
9620 * configure.in: Post-release bump.
9622 2007-11-04 Morten Welinder <terra@gnome.org>
9626 2007-11-04 Morten Welinder <terra@gnome.org>
9628 * src/stf-export.c (gnm_stf_fs_set_export_options): Adapt to
9631 2007-11-03 Morten Welinder <terra@gnome.org>
9633 * src/stf-parse.c (stf_parse_options_guess): Guess using 1000
9636 * src/stf-export.c (gnm_stf_export_options_sheet_list_get): New
9638 (try_auto_date): Use gnm_format_is_time_for_value.
9639 (gnm_stf_file_saver_new): Don't create exporter here.
9640 (gnm_stf_file_saver_save): Create exporter here and hang it unto
9643 * src/gnm-format.c (gnm_format_is_time_for_value): New function.
9645 * src/stf-export.c (gnm_stf_file_saver_new): Set the right scope.
9646 (cb_set_export_option): Use go_object_set_property and allow
9647 setting of quoting-on-whitespace.
9648 (gnm_stf_file_saver_save): Steamline. Make sure to disconnect
9649 from sink. Send our own GnmStfExport to stf_export_dialog.
9651 * src/ssconvert.c (convert): Plug leak.
9653 2007-11-02 Andreas Guelzow <aguelzow@pyrshep.ca>
9655 * src/print.c (adjust_repetition): new
9656 (compute_sheet_pages_down_then_across): new
9657 (compute_sheet_pages_across_then_down): move code from here to
9659 (compute_sheet_pages): receive code from ...across_then_down
9661 2007-11-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
9663 * configure.in: Bumped goffice dependency as the STF export now uses
9664 go_file_saver_parse_options which is new.
9666 2007-11-02 Morten Welinder <terra@gnome.org>
9668 * src/print-info.c (print_init): Plug leak.
9669 (print_shutdown): Unregister the PDF saver.
9671 * src/ssconvert.c (handle_export_options): New function to handle
9672 new option --export-options.
9673 (convert): Call handle_export_options.
9675 2007-11-01 Morten Welinder <terra@gnome.org>
9677 * src/stf-export.c (gnm_stf_file_saver_new): New function based on
9678 code from Hib Eris, see #170767.
9680 2007-11-01 Andreas Guelzow <aguelzow@pyrshep.ca>
9682 * src/print.c (gnm_paginate_cb): handle sheets without printable
9683 pages correctly and cancel printing if there are no pages at all.
9684 (gnm_request_page_setup_cb): gtk may call this function even for
9685 non-existing pages. Be graceful. Fixes #491775
9687 2007-11-01 Andreas Guelzow <aguelzow@pyrshep.ca>
9689 * src/print.c (print_page): print the row and column headers also
9690 for the repeated rows and columns.
9692 2007-11-01 Morten Welinder <terra@gnome.org>
9694 * src/gnm-so-line.c (gnm_so_line_prep_sax_parser): Survive missing
9695 "type" attribute. Fixes #492391.
9697 * src/print-info.c (page_setup_set_paper): Handle "US-Letter" too.
9699 2007-10-31 Morten Welinder <terra@gnome.org>
9701 * src/stf.c (stf_init): Plug leaks.
9702 (stf_shutdown): New function.
9704 * src/libgnumeric.c (gnm_shutdown): Hook up stf_shutdown.
9706 2007-10-31 Andreas Guelzow <aguelzow@pyrshep.ca>
9708 * src/print.c (compute_sheet_pages_across_then_down): consider
9709 the repeated rows and columns when doing pagination
9711 2007-10-30 Jody Goldberg <jody@gnome.org>
9713 * src/func-builtin.c (gnumeric_table) : Fix. It is apparently a bad
9714 idea to free something then use it a couple of lines later.
9716 2007-10-30 Andreas Guelzow <aguelzow@pyrshep.ca>
9718 * src/print.c (print_page_repeated_rows): deleted
9719 (print_page_repeated_cols): deleted
9720 (print_page_repeated_intersect): deleted
9721 (print_page): handle repeated rows and columns
9722 (compute_sheet_pages_add_range): add repeated rows and cols
9724 (compute_sheet_pages_across_then_down): pass repeated rows
9725 and cols info to compute_sheet_pages_add_range
9726 (gnm_draw_page_cb): adjust for change in data type
9727 (gnm_request_page_setup_cb): ditto
9729 2007-10-28 Morten Welinder <terra@gnome.org>
9731 * src/print-cell.c (print_cell_gtk): Handle cell->rendered_value
9732 changing underneath us. Fixes #478552.
9734 2007-10-27 Jody Goldberg <jody@gnome.org>
9736 * src/commands.c (cmd_create_data_table) : New. Wrapper to set_area
9737 that creates a data table with undo capabilities.
9739 * src/func-builtin.c (gnumeric_table) : clear the val point in a cell
9740 before destroying it because the value was a temporary and has
9741 already been released. Cache and restore the x_iter value to avoid
9742 leaving the last calculated value in the cell after evaluating for
9745 * src/parser.y : convert from distinct gboolean flags to using a
9746 simple bit mask. Switch from distinct ABS_COL/ABS_ROW to ABS and
9747 REL. There was no need to split COL vs ROW, but there was a need
9748 [Data->Table] to force relative (XL requires rel refs).
9750 2007-10-27 Morten Welinder <terra@gnome.org>
9752 * src/xml-sax-read.c (xml_sax_read_obj): Survive a missing
9753 ObjectBound attribute. Fixes #490859.
9755 * src/mstyle.c: Add a pile of preconditions.
9757 2007-10-26 Morten Welinder <terra@gnome.org>
9759 * src/xml-sax-write.c (xml_write_date_conventions_as_attr): New
9761 (xml_write_calculation): ...extracted from here.
9762 (gnm_cellregion_to_xml): Call xml_write_date_conventions_as_attr
9765 * src/clipboard.c (cellregion_to_string): Use the value format
9768 2007-10-25 Jody Goldberg <jody@gnome.org>
9770 * src/gnm-pane.c (cb_bounds_changed) : update the ctrl pt positions if
9771 the objects position changes.
9773 * src/sheet-object.c (sheet_object_anchor_assign) : renamed from
9774 sheet_object_anchor_cpy to clarify the purpose and follow naming
9776 (sheet_object_anchor_dup) : new.
9777 (cb_so_snap_to_grid) : new callback to snap an object to the
9779 (sheet_object_populate_menu_real) : use it here.
9781 2007-10-25 Morten Welinder <terra@gnome.org>
9783 * src/sheet-style.c (cb_style_list_add_node): Handle the case
9784 where the last tile is partial in either dimension.
9786 2007-10-22 Morten Welinder <terra@gnome.org>
9788 * src/xml-sax-read.c (xml_sax_repeat_left, xml_sax_repeat_top):
9791 2007-10-21 Morten Welinder <terra@gnome.org>
9793 * src/func.c (gnm_func_group_fetch_with_translation): Fix warning.
9795 2007-10-21 Morten Welinder <terra@gnome.org>
9797 * configure.in: Post-release bump.
9799 2007-10-21 Morten Welinder <terra@gnome.org>
9803 2007-10-20 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9805 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): adapt to new
9806 gog_style_create_cairo_pattern signature.
9808 2007-10-15 Kjartan Maraas <kmaraas@gnome.org>
9810 * configure.in: Remove no from ALL_LINGUAS.
9812 2007-10-14 Yannig Marchegay <yannig@marchegay.org>
9814 * configure.in: Redo last change with both po/oc.po and properties-po/oc.po.
9816 2007-10-13 Morten Welinder <terra@gnome.org>
9818 * configure.in: Undo last change.
9820 2007-10-13 Yannig Marchegay <yannig@marchegay.org>
9822 * configure.in: +Occitan.
9824 2007-10-10 Morten Welinder <terra@gnome.org>
9826 * src/sheet-object-image.c (so_image_view_set_bounds): Use
9829 2007-10-12 Jody Goldberg <jody@gnome.org>
9831 * libspreadsheet-1.7.pc.in : Set the cflags to include the target, and
9832 subdir until we fix the header includes and rename /src.
9833 Add LIBDIR/include to cflags
9836 2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9838 * samples/chart-stripe-tests.gnumeric: add reference images.
9840 2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9842 * samples/chart-smooth-fit-tests.gnumeric: add reference images.
9844 2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9846 * samples/chart-smooth-fit-tests.gnumeric: new test file.
9848 2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9850 Duplicate the GogGraph object used by the graph dialog. That's needed
9851 because GOGraphWidget change the width and height property of it's
9852 graph model on every resize, which breaks the SheetObjectGraph.
9854 * src/gnm-graph-window.c (gnm_graph_window_set_graph): duplicate
9856 (gnm_graph_window_new): add a safety check on graph parameter.
9858 2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9860 Remove GOFFICE_WITH_CAIRO ifdefs.
9862 * component/gnumeric.c: here.
9863 * src/gnm-so-filled.c: here.
9864 * src/gnm-so-line.c: here.
9865 * src/gnm-so-polygon.c: here.
9866 * src/sheet-object-graph.c: here.
9867 * src/sheet-object.c: here.
9869 2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9871 * src/sheet-object-graph.c (gnm_sog_draw_cairo): use
9872 gog_graph_render_to_cairo instead of removed
9873 gog_graph_render_to_cairo_vector.
9875 2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
9877 * src/shhet-object-graph.c (sheet_object_graph_set_gog): use
9878 gog_renderer_new instead of obsolete gog_renderer_new_for_pixbuf.
9880 2007-09-28 Jean Brefort <jean.brefort@normalesup.org>
9882 * configure.in: remove WITH_GOFFICE_O_4.
9883 * src/graph.c: use new goffice math location.
9884 * src/mathfunc.c: ditto.
9885 * src/numbers.h: ditto.
9886 * src/rangefunc.h: ditto.
9887 * src/regression.h: ditto.
9889 2007-09-25 Morten Welinder <terra@gnome.org>
9891 * src/format-template.c (format_template_member_get_rect): Don't
9892 check sanity (which barfs). Let caller check with range_valid.
9894 * configure.in (*_DISABLE_DEPRECATED): Turn off for stable
9897 2007-09-24 Jody Goldberg <jody@gnome.org>
9899 * src/io-context-gtk.c (icg_set_transient_for) : Use
9900 go_gtk_window_set_transient instead of gtk_window_set_transient_for.
9901 The former causes problems on win32, and breaks window stacking.
9902 (icg_show_gui) : ditto.
9904 2007-09-24 Jody Goldberg <jody@gnome.org>
9906 * src/Makefile.am : install wbc-gtk-impl.h for now. It has the
9907 definition of wbc_gtk_close.
9909 2007-09-24 Jody Goldberg <jody@gnome.org>
9911 * src/style.c : s/StyleFont/GnmFont/ and clean up the associated
9912 method names. Then move things into style-font.h for now.
9913 This clarifies how much we'll need to move to GOFont.
9915 * src/print-cell.h : just include the necessary gtk headers. Even
9916 this breaks WITH_GTK work. Why isn't this ins glib ?
9917 * src/print.h : Move the renamed internal (not dllexported)
9918 gnm_print_debug flag here
9920 Merge in the win32 cleanup work
9921 * src/Makefile.am : Add a libspreadsheet CFLAG -DGNUMERIC_INTERNAL to
9922 control dllimport/dllexport for win32. Required some adjustment of
9925 * src/libgnumeric.h : Add 'GNM_VAR_DECL' and use it for extern data
9926 that will be publicly visible.
9928 * src/libgnumeric.c : re-order and handle some of the renaming
9929 style_init -> gnm_font_init, and gnumeric_color -> gnm_color.
9930 (gnm_get_option_group) : move the shared cmd line arg parsing in here
9931 rather than duplicating the handlers in all the client apps.
9932 * src/main-application.c (gnumeric_arg_parse) : eg from here.
9933 Rather than using global variables, pass the arguments as
9934 parameters to clean things up.
9935 * src/ssconvert.c (main) : Use it here.
9936 * src/ssindex.c (main) : and here.
9938 * src/print-cell.h : just include the necessary gtk headers. Even
9939 this breaks WITH_GTK work. Why isn't this ins glib ?
9940 * src/print.h : Move the renamed internal (not dllexported)
9941 gnm_print_debug flag here
9943 2007-09-22 Jody Goldberg <jody@gnome.org>
9945 * src/item-bar.c (ib_draw_cell) : don't draw the text when we're
9948 2007-09-20 Morten Welinder <terra@gnome.org>
9950 * src/print.c (compute_sheet_pages): Return error indicator,
9951 notably for the multiple-selection-areas case.
9952 (gnm_paginate_cb): Cancel print on error. Fixes #478475.
9954 2007-09-18 Morten Welinder <terra@gnome.org>
9956 * src/xml-sax-read.c (xml_sax_filter_condition): Read
9957 single-clause conditions right. Fixes #477417.
9959 2007-09-17 Morten Welinder <terra@gnome.org>
9961 * src/sheet-filter.c (gnm_filter_condition_new_bucket): Make sure
9963 (filter_expr_init): Survive NULL value.
9965 2007-09-16 Jody Goldberg <jody@gnome.org>
9967 * src/print-info.h : Do not include gtk/gtk.h it is too general.
9968 Use gtkpagesetup.h instead.
9969 * src/gnumeric-gconf.h : and this requires gtkprintsettings.h
9971 2007-09-16 Morten Welinder <terra@gnome.org>
9973 * src/sheet-filter.c (gnm_filter_combo_apply): Add precondition in
9974 hunt for #477417. Actually use iter_flags.
9976 2007-09-14 Morten Welinder <terra@gnome.org>
9978 * src/xml-sax-write.c (xml_write_cell_and_position): Re-use string
9981 2007-09-13 Jon K Hellan <hellan@acm.org>
9983 * src/sheet-control-gui.c (scg_drag_receive_uri_list): Enable odf
9986 2007-09-12 Morten Welinder <terra@gnome.org>
9988 * src/GNOME_Gnumeric-gtk.xml.in: Move things around abit.
9990 2007-09-09 Jody Goldberg <jody@gnome.org>
9992 * Makefile.am : always build tools before schemas
9993 * tools/Makefile.am : build the registry converter
9994 * schemas/Makefile.am : fall back on wine to do the gconf -> registry
9995 conversion when cross compiling.
9997 2007-09-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
9999 * configure.in: Added support for rendering documentation as PDF
10002 2007-09-08 Jody Goldberg <jody@gnome.org>
10004 * src/gnm-pane.c (gnm_pane_init) : init the expr cursor. (previously
10005 the 'feedback' cursor within item-edit).
10006 (gnm_pane_reposition_cursors) : reposition it.
10007 (gnm_pane_rangesel_start) : 'disable highlight' on the expr-entry
10008 rather than the item-editor.
10009 (gnm_pane_rangesel_stop) : ditto.
10010 (gnm_pane_expr_cursor_bound_set) : new.
10011 (gnm_pane_expr_cursor_stop) : new.
10013 * src/item-edit.c (ie_destroy_feedback_range) : delete.
10014 (ie_scan_for_range) : move to gnm-expr-entry.
10015 (item_edit_init) : clear the old code.
10016 (entry_changed) : ditto.
10017 (item_edit_dispose) : Use the new
10018 gnm_expr_entry_disable_highlight to destroy the feedback (aka
10020 (item_edit_enable_highlight) : move to gnm-expr-entry.
10021 (item_edit_disable_highlight : ditto.
10023 2007-09-05 Morten Welinder <terra@gnome.org>
10024 * src/gnm-format.c (gnm_format_has_hour,
10025 gnm_format_month_before_day): New functions.
10027 * src/wbc-gtk-edit.c (wbcg_edit_start): Use
10028 gnm_format_month_before_day.
10030 * src/number-match.c (format_match): Use gnm_format_has_hour and
10031 gnm_format_month_before_day. No more hackery.
10033 2007-09-04 Morten Welinder <terra@gnome.org>
10035 * src/number-match.c (get_month_before_day): Rename from
10036 hack_month_before_day. Make non-hackish.
10038 2007-09-05 Jody Goldberg <jody@gnome.org>
10040 * src/gui-file.c (gui_file_open) : add a mnemonic to toggle
10043 2007-09-04 Jody Goldberg <jody@gnome.org>
10045 * configure.in : Post release bump
10047 2007-09-04 Jody Goldberg <jody@gnome.org>
10051 2007-09-02 Morten Welinder <terra@gnome.org>
10053 * src/wbc-gtk-edit.c (wbcg_edit_start): Query format before locale
10054 in determining month/day order.
10056 2007-08-31 Morten Welinder <terra@gnome.org>
10058 * src/stf.c (stf_write_csv): Add hack to allow ssconvert to dump
10059 from specified sheet.
10061 2007-08-30 Jody Goldberg <jody@gnome.org>
10063 * configure.in : bump gsf req to get the open-pkg fixes.
10065 2007-08-30 Morten Welinder <terra@gnome.org>
10067 * configure.in (GNM_PY_LIBADD): Don't use test==. [#471726]
10069 2007-08-27 Jody Goldberg <jody@gnome.org>
10071 * src/clipboard.c (paste_object) : transpose objects too.
10073 2007-08-25 Jean Brefort <jean.brefort@normalesup.org>
10075 * configure.in: define WITH_GOFFICE_0_4 if needed.
10077 2007-08-24 Jody Goldberg <jody@gnome.org>
10079 * src/sheet-object-image.c (gnm_soi_default_size) : handle failures a
10080 bit better [#462787]
10082 2007-08-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
10084 Update of graph data allocator editor on dataset changes.
10086 * src/wbc-gtk.c (cb_dataset_changed): new.
10087 (graph_dim_editor_free): disconnect dataset changed signal.
10088 (wbcg_data_allocator_editor): register editor entry update signal.
10089 Connect to dataset changed signal.
10091 2007-08-13 Morten Welinder <terra@gnome.org>
10093 * src/libgnumeric.c (gnm_init): Initialize gnome_vfs here so
10094 ssconvert will see it too.
10095 * src/main-application.c (gnumeric_arg_parse): Not here.
10097 * src/gnm-conf-keyfile.c (go_conf_get_str_list): Fix 64-bit issue.
10098 (go_conf_get_type): Ditto. Fixes #465545.
10100 2007-08-12 Morten Welinder <terra@gnome.org>
10102 * src/expr-name.c (expr_name_validate): New function.
10104 2007-08-11 Morten Welinder <terra@gnome.org>
10106 * src/dependent.c (cb_relocate_name): New function.
10107 (dependents_relocate): When needed, relocate named expressions.
10108 Fixes #123649, I hope.
10110 * src/expr.c (gnm_expr_relocate): For names, don't change when
10111 inserting/deleting columns/rows.
10113 2007-08-10 Morten Welinder <terra@gnome.org>
10115 * configure.in (libgoffice): Make this work with libgoffice-0.5
10116 * libspreadsheet-1.7.pc.in (Requires): Fix libgoffice req.
10118 2007-08-09 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
10120 Make Graph entry emit an update signal on focus out event, instead on
10121 monitoring unmap and unrealize signals. Fix a bug where the update
10122 signal was not emited when leaving the entry.
10124 * src/wbcg-gtk.c (cb_graph_dim_entry_unmap),
10125 (cb_graph_dim_entry_unrealize): removed.
10126 (cb_graph_dim_entry_focus_out_event): new.
10127 (wbcg_data_allocator_editor): connect to gee->entry focus-out-event.
10128 Remove unmap and unrealize connections.
10130 2007-08-10 Jody Goldberg <jody@gnome.org>
10132 * src/libgnumeric.c (gnm_pre_parse_init) : move the thread and stack
10133 init here, along with the call to go_shell_argv_to_glib_encoding.
10134 (gnm_pre_parse_shutdown) : new.
10136 * configure.in : More cleanup on the python code in preparation for
10139 2007-08-08 Morten Welinder <terra@gnome.org>
10141 * src/commands.c (cmd_ins_del_colrow_repeat): Simplify.
10142 (cmd_ins_del_colrow_undo): Move undo stuff into GOUndo closure
10143 returned by sheet_insert_rows and friends.
10145 * src/sheet.c (sheet_delete_cols, sheet_delete_rows,
10146 sheet_insert_cols, sheet_insert_rows, sheet_colrow_insert_finish,
10147 sheet_colrow_delete_finish, sheet_colrow_insdel_finish): Remove
10149 (sheet_colrow_insdel_finish): Don't set states here.
10150 (sheet_delete_cols, sheet_delete_rows, sheet_insert_cols,
10151 sheet_insert_rows): If we collect undo info, append closure to
10152 reset col/row states.
10154 * src/sheet-object.c (sheet_objects_relocate): Don't update the
10155 cell_bound for objects that get translated out of the sheet.
10157 2007-08-07 Morten Welinder <terra@gnome.org>
10159 * src/sheet.c (sheet_insert_rows): Plug leak.
10161 * src/gnumeric.h (GnmRelocUndo): Replace by GOUndo.
10163 * src/sheet-object.c (sheet_objects_clear): Add undo parameter.
10164 All callers changed. (This fixes sheet object undo when columns
10165 containing objects are deleted.)
10167 * src/dependent.c (dependents_unrelocate): Make static and no
10168 longer free the info.
10169 (dependents_unrelocate_free): Make static.
10170 (dependents_relocate): Return a GOUndo. All callers changed.
10172 * src/sheet.c (sheet_delete_cols, sheet_delete_rows,
10173 sheet_move_range): Use go_undo_combine to combine undo items.
10175 2007-08-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
10177 * src/sheet-object-graph.c (gnm_sog_draw_cairo): use
10178 gog_graph_render_to_cairo_vector, a variant of
10179 gog_graph_render_to_cairo for full vector output (no metric rounding).
10182 2007-08-07 Jody Goldberg <jody@gnome.org>
10184 * src/wbc-gtk.c : merge with workbook-control-gui, and rename
10185 workbook-edit, and wbcg-actions to reflect a more rational naming
10188 * src/wbc-gtk.c (wbc_gtk_style_feedback) : 400 -> 200 to make things a
10191 2007-08-06 Morten Welinder <terra@gnome.org>
10193 * *.c: Use go_slist_free_custom and go_list_free_custom as
10196 * src/dependent.c (dependents_unrelocate): Handle arrays properly.
10199 2007-08-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
10201 * configure.in: Added support for rendering documentation as PDF.
10203 2007-08-05 Morten Welinder <terra@gnome.org>
10205 * src/commands.c (cmd_ins_del_colrow_redo): Always delete the
10206 local colrow state here. Move storing of undo information to
10207 constructor. Move checking for arrays too.
10208 (cmd_ins_del_colrow): Store undo information and check for arrays
10209 here. Check for arrays/locks in the case of insert too.
10210 (cmd_ins_del_colrow_undo): Undo contents using go_undo. Don't
10211 delete colrow state.
10213 * src/sheet.c (sheet_colrow_insdel_finish): Don't delete state.
10215 2007-08-04 Jean Brefort <jean.brefort@normalesup.org>
10217 * configure.in: requires goffice-0.4.3.
10219 2007-08-01 Jody Goldberg <jody@gnome.org>
10222 * src/func.c (function_iterate_argument_values) : Allow non-scalar
10223 results for var-arg arguments use intersect or union too.
10225 2007-07-29 Jody Goldberg <jody@gnome.org>
10228 * src/wbcg-actions.c : Move 'Repeat' back into the standard actions so
10229 that it will be disabled while editing just like the other actions.
10230 * src/workbook-control-gui.c : handle the sensitivity of repeat here,
10232 * src/wbc-gtk.c (wbc_gtk_init_undo_redo) : rather than initializing
10233 cb_chain_sensitivity down here to handle it.
10234 (cb_chain_sensitivity ) : use gtk_action_GET_sensitive rather than
10235 _IS_sensistive to avoid group effects.
10237 2007-07-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
10239 * configure.in: Resync ALL_LINGUAS with po files.
10241 2007-07-29 Jody Goldberg <jody@gnome.org>
10244 * src/sheet-object.c (sheet_object_get_stacking) : simplify and just
10245 find the object in the ordered list of objects rather than
10246 searching in the realized lists.
10247 (sheet_object_adjust_stacking) : maintain the order of the object list
10248 and have the views reflect that, rather than manipulating the views
10251 * src/gnm-pane.c (cb_pane_init_objs) : create the objects in the
10252 reverse order to match the stacking order.
10254 * src/workbook-control-gui.c (wbcg_sheet_add) : no need to create the
10255 object views here. The panes will do that for us when they are
10258 2007-07-26 Jody Goldberg <jody@gnome.org>
10260 * src/sheet-object-widget.c (cb_combo_model_changed) : we can not set
10261 the column until we have a model, but we can only set it the first
10264 2007-07-26 J.H.M. Dassen (Ray) <jdassen@debian.org>
10266 * README: Update Debian package names.
10268 2007-07-26 Jody Goldberg <jody@gnome.org>
10270 * src/io-context-gtk.c : Make show_splash and show_warnings
10271 properties, not global variables.
10272 * src/libgnumeric.c : remove the globals from here.
10273 * src/main-application.c : and move them locally here for the
10276 2007-07-26 Jody Goldberg <jody@gnome.org>
10278 * src/xml-sax-write.c (xml_write_objects) : store the object in
10279 reverse stacking order to match the sheet_object_set_sheet's api
10280 that prepends new objects.
10282 2007-07-24 Jody Goldberg <jody@gnome.org>
10284 * configure.in : Post release bump
10286 2007-07-24 Jody Goldberg <jody@gnome.org>
10290 2007-07-23 Jody Goldberg <jody@gnome.org>
10292 * src/workbook-control-gui.c (wbcg_set_transient) : renamed from
10293 wbcg_set_transient_for and remove the old virtual wrapper.
10295 * icons/win32-gnumeric.ico : regenerate using icotool and the new
10296 tango icons. Fixes the background. [#305311]
10298 2007-07-23 Morten Welinder <terra@gnome.org>
10300 * configure.in (python): survive missing python stuff.
10302 2007-07-22 Jody Goldberg <jody@gnome.org>
10304 * configure.in : Beef up the python test logic from the gimp and try
10305 to make win32 work with it.
10307 2007-07-18 Jody Goldberg <jody@gnome.org>
10309 * configure.in : bump the goffice req to svn trunk to get the new
10311 * src/sheet-object-graph.c (sheet_object_graph_guru) : Use the new
10312 gog_guru_get_help_button to solve [#394181] until we split the docs
10313 between gnumeric and goffice.
10315 2007-07-22 Jody Goldberg <jody@gnome.org>
10317 * src/sheet.c (sheet_move_range) : be more adaptive about how we
10318 invalidate the region. If things are just being shifted we can
10319 pretend that we're moving whole cols/rows so that the relocation
10320 code can use the magic heuristics to extend/shorten partial regions.
10323 2007-07-22 Morten Welinder <terra@gnome.org>
10325 * src/wbcg-actions.c: Move sheet direction from main toolbar to
10326 Format->Sheet menu.
10328 2007-07-22 Jody Goldberg <jody@gnome.org>
10330 * src/xml-sax-read.c (handle_delayed_names) : don't dup ids.
10332 2007-07-22 Jody Goldberg <jody@gnome.org>
10335 * src/tools/goal-seek.c (goal_seek_bisection) : fix typo.
10337 2007-07-22 Jody Goldberg <jody@gnome.org>
10339 * src/sheet.c (PROP_CONVENTIONS) : new property.
10340 (PROP_USE_R1C1) : made this a convenience wrapper for
10341 (sheet_set_conventions) : rename.
10342 (sheet_get_conventions) : renamed from sheet_conventions.
10344 * src/workbook.c (RECALC_MODE) : new property.
10346 * src/xml-sax-read.c (gnm_xml_attr_int) : make more rigorous.
10347 (xml_sax_calculation) : add DateConvention.
10348 (xml_sax_old_dateconvention) : new.
10349 (xml_sax_sheet_start) : store the name of the expr conv.
10350 (xml_sax_sheet_name) : assigned the named expr conv.
10352 * src/xml-sax-write.c (xml_write_sheet) : Use an enum in place of a
10353 bool to store R1C1, for future expandability
10354 (xml_write_calculation) : Store the DateConvention here, rather than
10355 in a magic element missing from the schema.
10356 * src/xml-io.c (xml_sheet_read) : support new ExprConvention hook.
10357 (xml_workbook_read) : support DateConvention in Calculation.
10359 2007-07-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10361 * src/xml-sax-read.c (xml_sax_repeat_top): new
10362 (xml_sax_repeat_left): new
10363 (gnumeric_1_0_dtd): hook up xml_sax_repeat_top and xml_sax_repeat_left
10365 2007-07-21 Jody Goldberg <jody@gnome.org>
10367 * src/selection.c (sv_selection_walk_step) : Be smarter about choosing
10368 a first col for tabs. Going backwards can adjust the bounds.
10370 * src/gnm-pane.c (gnm_pane_key_mode_sheet) : invalidate the
10371 'first_tab_col' so that when Enter is switched from moving to
10372 the right, to going up and down we do not jump back to the left as
10373 if the previous movement had been a tab.
10375 2007-07-19 Morten Welinder <terra@gnome.org>
10377 * src/parser.y (yylex): Fix long/int mixup causing #458158 on x64.
10379 2007-07-18 Jon K Hellan <hellan@acm.org>
10381 * configure.in: Fix build
10383 2007-07-17 Jody Goldberg <jody@gnome.org>
10385 * configure.in : Add an icons subdir to figures to facilitate the
10386 creation chm files. The stylesheets map 'warning' and the like to
10387 figures/icons/warning.png, I do not see where. The simple solution
10388 is to dup the icons out of yelp, and into our tree with the correct
10389 names and location.
10391 2007-07-16 Jody Goldberg <jody@gnome.org>
10394 * src/xml-sax-read.c (xml_sax_hlink) : typo that would store the tip
10396 * src/sheet.c (sheet_set_name) : Be extra anal about wb=NULL case.
10398 2007-07-15 Jody Goldberg <jody@gnome.org>
10400 * configure.in : bump to libgda-3.1.x, and libgnomedb-3.0.x
10402 2007-07-15 Jody Goldberg <jody@gnome.org>
10404 * src/workbook-view.c (wb_view_style_feedback) : We need to update the
10405 validation combo even if the style is the same. [#453525]
10407 2007-07-12 Jody Goldberg <jody@gnome.org>
10409 * src/gnumeric-gconf.c : split out each of the implementations into.
10410 * src/gnm-conf-gconf.c : here.
10411 * src/gnm-conf-win32.c : here.
10412 * src/gnm-conf-keyfile.c : and here.
10414 * schemas/gnumeric-general.schemas.in : Add enter_moves_dir
10415 * src/gnm-pane.c (gnm_pane_key_mode_sheet) : use it here.
10417 2007-07-13 Jody Goldberg <jody@gnome.org>
10419 * gnumeric.xsd : update the schema with the ExprConventions and add
10422 * src/xml-sax-read.c (xml_sax_sheet_name) : handle the new
10423 ExprConvention flags, just A1/R1C1 for now, but future proof it.
10424 * src/xml-sax-write.c (xml_write_sheet) : ditto.
10426 * src/sheet.c (sheet_set_conventions) : replaces sheet_set_use_r1c1.
10427 (gnm_sheet_set_property) : added 'conventions' and made use-r1c1 a
10429 (gnm_sheet_get_property) : ditto.
10430 (gnm_sheet_class_init) : ditto.
10431 (sheet_dup) : use conventions rather than r1c1 flag.
10432 (gnm_sheet_init) : init the convs directly.
10433 (sheet_get_conventions) : renamed from sheet_conventions.
10435 2007-07-13 Jody Goldberg <jody@gnome.org>
10437 * configure.in : remove GTK_DISABLE_DEPRECATED for now. Gtk trunk has
10438 deprecated GtkTooltips.
10440 2007-07-12 Jody Goldberg <jody@gnome.org>
10442 * src/sheet-control-gui.c (scg_redraw_headers) : fix logic reversal
10443 from the gnm-canvas/gnm-pane merging.
10445 2007-07-12 Jody Goldberg <jody@gnome.org>
10447 * src/parse-util.c (gnm_conventions_new_full) : init input.range_ref
10448 here so that all implemenations have something. Fixes crash on oleo
10450 (parse_util_init) : not here.
10452 2007-07-09 Jean Brefort <jean.brefort@normalesup.org>
10454 * Makefile.am: don't compile the component for now as it is
10455 unusable after gnome-print support removal.
10456 * configure.in: ditto.
10458 2007-07-06 Jody Goldberg <jody@gnome.org>
10460 * configure.in : Provide a way to redirect the python headers for
10463 2007-07-02 Jody Goldberg <jody@gnome.org>
10465 * src/parse-util.c (std_output_string) : virtualize string escaping.
10466 * src/expr.c (do_expr_as_string) : use it here.
10468 2007-07-02 Jody Goldberg <jody@gnome.org>
10470 * configure.in : avoid putting newlines at the end of python output.
10472 2007-07-02 Jody Goldberg <jody@gnome.org>
10474 * configure.in : handle missing gconf m4 macros
10476 2007-07-01 Jody Goldberg <jody@gnome.org>
10478 * src/workbook-view.c (wb_view_edit_line_set) : doh! order things
10481 2007-06-27 Jody Goldberg <jody@gnome.org>
10483 * src/gnm-pane.c (gnm_pane_dispose) : chain up properly to avoid
10484 crashing on exit with canvas widgets.
10486 2007-06-27 Jody Goldberg <jody@gnome.org>
10488 * src/print-info.c (print_info_load_defaults) : Do _not_ clear the
10489 page breaks here, that wipes out any that already existed.
10490 (print_info_new) : do it here instead.
10492 * src/print-info.h : rename from v_pagebreak/h_pagebreak ->
10493 pagebreak.{v,h}. Remove first/last until we know what they do.
10495 2007-06-27 Jody Goldberg <jody@gnome.org>
10497 * src/colrow.c (colrow_reset_defaults) : new utility routine for the
10498 ODF importer to search for cols/rows that are effectively the same
10499 as the defaults and to reset their default status.
10501 * src/colrow.h (colrow_free) : new, to help clarify the code.
10503 * src/sheet.c (sheet_col_destroy) : use colrow_free instead of a
10504 direct call to g_free.
10505 (sheet_row_destroy) : ditto.
10507 2007-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10509 * src/xml-sax-read.c (xml_sax_print_order): new
10510 (GsfXMLInNode): hook up xml_sax_print_order
10511 * src/print.c (compute_sheet_pages): add warning
10513 2007-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10515 * src/gnumeric-gconf.c (gnm_gconf_set_printer_header): do not call
10516 go_conf_set_str_list with null arguments
10518 2007-06-19 Jody Goldberg <jody@gnome.org>
10520 * src/sheet.c (sheet_set_direction) : queue the respan _after_ we
10521 toggle the direction otherwise the redraw might do a span calc based
10524 * src/print-info.c (gnm_page_breaks_dup) : handle NULL for the
10527 2007-06-18 Jody Goldberg <jody@gnome.org>
10529 * src/gnumeric-pane.c : Merge with
10530 * src/gnumeric-canvas.c : into
10531 * src/gnm-pane.c : this new amalgamated file. The difference between
10532 the old GnmCanvas and GnumericPane was arbitrary and more of a
10533 result of history than design. Their state was co-mingled and it
10534 was long past time to cleanup the mess and merge them.
10536 2007-06-18 Morten Welinder <terra@gnome.org>
10538 * src/print-cell.c (print_cell_gtk): Tentatively fix crash.
10541 * src/xml-sax-read.c (xml_sax_cell_content): Use gnm_cell_set_text
10542 only as a last resort.
10543 (struct XMLSaxParseState): Add convs member.
10544 (xml_sax_validation_expr_end, xml_sax_condition_expr_end,
10545 xml_cell_set_array_expr, xml_sax_cell_content,
10546 handle_delayed_names): Use conventions.
10547 (xml_sax_sheet_name): Handle forgotten "protected" attribute.
10548 (xml_sax_sheet_start, xml_sax_sheet_start, xml_sax_sheet_name):
10549 Handle R1C1. Fixes #448714.
10551 * src/xml-sax-write.c (xml_write_sheet): Save R1C1 flag when set.
10552 (gnm_xml_io_conventions): Globalize and rename from
10553 xml_io_conventions.
10555 2007-06-17 Jody Goldberg <jody@gnome.org>
10557 * src/xml-sax-read.c (gnm_xml_file_open): Init progress counter to
10558 avoid use of uninitialized memory.
10560 2007-06-17 Morten Welinder <terra@gnome.org>
10562 * src/sheet-control-gui.c (scg_redraw_range): Restrict to visible
10564 * src/sheet-view.c (sv_redraw_range): Not here.
10566 2007-06-15 Jody Goldberg <jody@gnome.org>
10568 * src/print-info.c (print_info_free) : release the page breaks.
10569 (print_info_load_defaults) : init them.
10570 (print_info_dup) : dup them.
10571 (print_info_set_breaks) : new.
10572 (gnm_page_breaks_new) : new.
10573 (gnm_page_breaks_dup) : new.
10574 (gnm_page_breaks_free) : new.
10575 (gnm_page_breaks_append_break) : new.
10577 * src/print-info.h (GnmPageBreakType) : new.
10578 (GnmPageBreak) : new.
10580 * src/parse-util.c (gnm_expr_parse_str_simple) : rename arg to be more
10583 2007-06-15 Morten Welinder <terra@gnome.org>
10585 * src/sheet-view.c (sv_redraw_range): Restrict to drawing to what
10586 is visible. Fixes #445617.
10588 * src/sheet-control-gui.c (scg_recompute_visible_region): Renamed
10589 from scg_compute_visible_region. All users changed.
10590 (scg_get_visible_region): New virtual.
10592 2007-06-14 Jody Goldberg <jody@gnome.org>
10594 * src/item-edit.c (ie_layout) : Fix RTL mode and cleanup the handling
10595 of merges and margins.
10596 (get_top_left) : We handle the +1 extension to get inclusion of the
10597 bounds when drawing not when measuring.
10598 (item_edit_set_property) : Merges in RTL need special handling.
10600 * src/gnumeric-pane.c (gnm_pane_edit_start) : remove visibility check
10601 on creation. That is wrong in multiple ways that would seemingly
10602 disable editing for no obvious reason.
10603 - editing a merged cell with corner outside the visible range
10604 - editing a position where the user had scrolled away from the
10607 2007-06-13 Morten Welinder <terra@gnome.org>
10609 * src/main-application.c (main): Prevent crash if we fail to load
10612 2007-06-10 Jody Goldberg <jody@gnome.org>
10614 * src/item-grid.c (item_grid_button_press) : Limit mouse button
10615 selection capability in protected sheets.
10617 * src/selection.c (sheet_selection_is_allowed) : new.
10618 (walk_boundaries) : some initial work on walking only permissible
10619 cells in a protected sheet. There are still some performance issues
10621 * src/selection.c (sv_selection_walk_step) : when protected, we can
10622 wrap into other rows and columns.
10624 2007-06-10 Jody Goldberg <jody@gnome.org>
10626 * src/print-info.c (pdf_write_workbook) : move here from sscovert.
10627 (print_init) : and register the saver here.
10629 * src/ssconvert.c (main) : moved registration from here.
10631 2007-06-10 Jody Goldberg <jody@gnome.org>
10633 * src/workbook-view.c (wb_view_style_feedback) : fix placement when
10634 applied to merged cells.
10636 2007-06-10 Jody Goldberg <jody@gnome.org>
10638 * configure.in : bump the gsf req to get the OpenPkg code that just
10639 moved there from our excel plugin.
10641 2007-06-10 Jody Goldberg <jody@gnome.org>
10643 * src/sheet.c (gnm_sheet_set_property) : Support the XL style sheet
10644 protection capabilities.
10645 (gnm_sheet_get_property) : ditto.
10646 (gnm_sheet_init) : ditto.
10647 (gnm_sheet_class_init) : ditto.
10648 (sheet_dup) : ditto.
10650 (sheet_col_set_default_size_pts) : add some validation just in case.
10652 2007-06-08 Jody Goldberg <jody@gnome.org>
10654 * src/item-grid.c (item_grid_draw) : offset needs to know about RTL
10655 when skipping a merged region. [#442463]
10656 (item_grid_draw_merged_range) : drawing diagonals needs to respect
10659 2007-06-08 Jody Goldberg <jody@gnome.org>
10661 * src/item-cursor.c (item_cursor_reposition) : simplify slightly.
10662 (item_cursor_bound_set) : patch logic error.
10663 (cb_move_cursor) : now that we do not need to clip, handle the
10664 make-visible here...
10665 (cb_autofill_scroll) : and here.
10666 (item_cursor_update) : remove the clip here. [#444610]
10668 2007-06-04 Morten Welinder <terra@gnome.org>
10670 * src/selection.c (cb_range_to_string): Use rangeref_as_string to
10671 get r1c1 right. [#443832]
10673 2007-06-03 Jean Brefort <jean.brefort@normalesup.org>
10675 * src/collect.c: (gnm_slist_sort_merge), (gnm_strip_missing),
10676 (float_range_function2): replace union_of_int_sets by a more
10677 performant functon, and rename strip_missing.
10678 * src/collect.h: ditto.
10680 2007-05-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10682 * src/print.c (print_page_cells): remove unused clipping
10683 (print_page_col_headers): fix rtl case
10684 (print_page_row_headers): fix rtl case
10685 (print_page): fix rtl case
10687 2007-05-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10689 * src/print.c (print_titles): deleted
10690 (print_header_gtk): new
10691 (print_page_col_headers): new
10692 (print_page_row_headers): new
10693 (setup_scale): deleted
10694 (print_page): some cleanup
10695 (compute_scale_fit_to): some simplification
10697 (compute_sheet_pages_across_then_down): handle headers
10698 (compute_sheet_pages): ditto
10700 2007-05-25 Morten Welinder <terra@gnome.org>
10702 * src/xml-io.c (xml_init): Install a mime type for the saver if
10703 goffice supports it.
10705 2007-05-22 Morten Welinder <terra@gnome.org>
10707 * src/item-bar.c (item_bar_calc_size): Tentative fix for Pango
10710 2007-05-21 Morten Welinder <terra@gnome.org>
10712 * src/wbcg-actions.c (cb_file_quit): Call new dialog_quit.
10714 * src/gui-file.c (gui_file_save): Grab the size from a wbcg that
10715 refers to the right workbook.
10716 (gui_file_save_as): Ditto. Also refer to the right wbcg when
10717 looking for saver type.
10719 * src/workbook-control-gui.c (wbcg_close_if_user_permits): Make
10721 (wbcg_show_save_dialog): Make static.
10722 (wbcg_find_for_workbook): New function.
10724 2007-05-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10726 * xml-sax-read.c (xml_sax_print_titles): new
10727 (GsfXMLInNode): hook up xml_sax_print_titles
10729 2007-05-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10731 * xml-sax-read.c (xml_sax_print_grid): new
10732 (GsfXMLInNode): hook up xml_sax_print_grid
10733 * style-border.c (style_border_set_gtk_dash): even for
10734 GNM_STYLE_BORDER_NONE (gridline only) do we need to set the
10737 2007-05-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10739 * src/sheet-style.c (cb_style_extent): also adjust top left
10740 (sheet_style_get_extent): fix description
10742 2007-05-17 Morten Welinder <terra@gnome.org>
10744 * src/application.c (gnm_app_history_get_list): Take max-length
10745 argument to avoid potential stat-storm. All callers changed.
10747 * src/wbcg-actions.c: Hook up FileHistoryFull.
10749 2007-05-16 Morten Welinder <terra@gnome.org>
10751 * src/main-application.c (main): Put files from the command line
10754 * src/application.c (gnm_app_create_opener_filter): Don't add
10755 mimes. Avoid adding very generic suffixes.
10757 * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Show no more
10760 * src/xml-io.c (xml_init): The sax importer is no longer
10763 * src/application.c (compare_mru): Sort by last-visited.
10765 2007-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10767 * src/xml-sax-read.c (xml_sax_print_vcenter): simplify
10768 (ml_sax_print_hcenter): simplify
10769 (xml_sax_monochrome): new
10770 (xml_sax_even_if_only_styles):
10771 (xml_sax_orientation): explicitly mention "landscape" but default
10773 (GsfXMLInNode): hook up xml_sax_monochrome and
10774 xml_sax_even_if_only_styles
10775 * src/print.c (cp_gtk_page_setup): new
10776 (gnm_request_page_setup_cb): new
10777 (gnm_print_sheet) : set monochrome if required and hook up
10778 gnm_request_page_setup_cb.
10780 2007-05-15 Jean Brefort <jean.brefort@normalesup.org>
10782 * configure.in: test for go_render_generall instead
10783 of go_render_numberl which is gone.
10785 2007-05-11 Morten Welinder <terra@gnome.org>
10787 * src/xml-sax-read.c (xml_sax_sheet_start): Load tab text colour
10790 2007-05-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10792 * xml-sax-read.c (xml_sax_print_vcenter): new
10793 (xml_sax_print_hcenter): new
10794 (GsfXMLInNode): hook up above functions
10795 * print.c (print_page): center printout if requested
10797 2007-05-09 Morten Welinder <terra@gnome.org>
10799 * src/cell-draw.c (cell_finish_layout): Fix problem with
10800 non-expanded format fillers.
10802 2007-05-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10804 * src/print.c (print_page): leave space for headers and footers
10805 (compute_sheet_pages_across_then_down): ditto
10807 2007-05-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10809 * src/xml-sax-read.c (xml_sax_print_margins): use
10810 print_info_set_edge_to_*
10811 * src/gnumeric-gconf.h (gnm_gconf_set_print_tb_margins): new
10813 * src/gnumeric-gconf.c (gnm_gconf_set_print_tb_margins): new
10814 individual arguments
10815 * src/xml-sax-write.c (xml_write_print_info): adjust
10816 print_info_get_margins for new arguments
10817 * src/xml-io.c (xml_sax_print_margins): use
10818 print_info_set_edge_to_*
10819 * src/print-info.h (PrintMargins): delete
10820 (PrintInformation): new fields
10821 (print_info_get_margins): new arguments
10822 (print_info_set_edge_to_above_footer): new
10823 (print_info_set_edge_to_below_header): new
10824 * src/print-info.c (print_info_get_margins): new arguments
10825 (print_info_set_edge_to_above_footer): new
10826 (print_info_set_edge_to_below_header): new
10827 (print_info_load_defaults): handle new fields
10828 (page_setup_get_paper): work around gtk bug 426416
10829 (print_info_set_page_setup): adjust for new arguments of
10830 print_info_get_margins
10832 2007-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10834 * schemas/gnumeric-dialogs.schemas.in: new paper-orientation schema
10835 * src/gnumeric-gconf.c (gnm_conf_init_page_setup): initialize orientation
10836 (gnm_gconf_set_page_setup): save orientation
10837 * src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PAPER_ORIENTATION): new
10839 2007-05-04 Morten Welinder <terra@gnome.org>
10841 * src/ssconvert.c (main): Install a PDF exporter.
10843 * src/print.c (gnm_print_sheet): Add parameter export_dst for pdf
10844 file generation. All callers changed.
10846 2007-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10848 * schemas/gnumeric-dialogs.schemas.in: add new schemas for margins
10850 * src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_MARGIN_GTK_TOP): new
10851 (PRINTSETUP_GCONF_MARGIN_GTK_BOTTOM): new
10852 (PRINTSETUP_GCONF_MARGIN_GTK_LEFT): new
10853 (PRINTSETUP_GCONF_MARGIN_GTK_RIGHT): new
10854 (PRINTSETUP_GCONF_PAPER): new
10855 * src/gnumeric-gconf.c (gnm_conf_init_page_setup): new
10856 (gnm_conf_init_print_settings): call gnm_conf_init_page_setup
10857 (gnm_gconf_set_page_setup): save page setup
10858 * src/print-info.h (page_setup_set_paper): new
10859 (print_info_set_paper_width_height): delete
10860 (page_setup_get_paper): new
10861 * src/print-info.c (page_setup_set_paper): new
10862 (print_info_set_paper_width_height): delete
10863 (page_setup_get_paper): new
10864 (print_info_set_paper): use page_setup_set_paper
10865 (print_info_get_paper): use page_setup_get_paper
10866 (print_info_set_page_setup): preserve margins
10868 2007-05-03 Morten Welinder <terra@gnome.org>
10870 * configure.in: Post-release bump.
10872 2007-05-03 Morten Welinder <terra@gnome.org>
10876 2007-05-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10878 * src/print-info.c (unit_name_to_unit): correct the sense of the tests.
10880 2007-05-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10882 * schemas/gnumeric-dialogs.schemas.in: add preferred-unit schema
10883 * src/xml-sax-read.c (xml_sax_print_margins_get_double): deleted
10884 (xml_sax_print_margins_unit): rewritten
10885 (xml_sax_print_margins): add arguments to xml_sax_print_margins_unit
10886 * src/gnumeric-gconf.c (gnm_gconf_init_printer_defaults): add preferred unit
10887 (gnm_gconf_set_print_tb_margins): add argument
10888 * src/gnumeric-gconf.h (gnm_gconf_set_print_tb_margins): add argument
10889 (gnm_app_prefs): add fields
10890 * src/xml-sax-write.c (xml_write_print_unit): rewrite to handle unit
10891 (xml_write_print_margin): delete
10892 * src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PREFERRED_UNIT): new
10893 * src/xml-io.c (xml_node_get_print_unit): deleted
10894 (xml_node_get_print_margin): rewrite and replace xml_node_get_print_unit with
10895 xml_node_get_print_margin
10896 * src/print-info.c (unit_name_to_unit): new
10897 (unit_convert): deleted
10898 (unit_to_unit_name): new
10899 * src/print-info.h (unit_name_to_unit): new
10900 (unit_to_unit_name): new
10902 2007-05-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
10904 * plugins/fn-tsa/Makefile.am: Do not needlessly try to link against
10907 2007-05-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
10909 * configure.in: Bumped goffice dependency to reflect that goffice trunk
10910 is needed for the new tsa plugin.
10912 2007-05-02 Jean Brefort <jean.brefort@normalesup.org>
10914 * configure.in: add new tsa plugin.
10915 * plugins/Makefile.am: ditto.
10916 * plugins/fn-tsa/Makefile.am: ditto.
10917 * plugins/fn-tsa/functions.c: add two sheet functions:
10918 interpolation and periodogram
10919 * plugins/fn-tsa/plugin.xml.in: ditto.
10921 2007-04-29 Jody Goldberg <jody@gnome.org>
10923 Begin generalizing the conventions to properly support ODF-1.2 output.
10924 s/GnmExprConventions/GnmConventions/
10925 s/gnm_expr_conventions_new_full/gnm_conventions_new_full/
10926 s/gnm_expr_conventions_new/gnm_conventions_new/
10927 s/gnm_expr_conventions_free/gnm_conventions_free/
10928 s/gnm_expr_conventions_default/gnm_conventions_default/
10929 s/gnm_expr_conventions_r1c1/gnm_conventions_xls_r1c1/
10931 * src/parse-util.c (cellref_as_string) : Take the new
10932 'GnmConventionsOut' to combine the various args.
10933 (rangeref_as_string) : ditto.
10934 (gnm_1_0_rangeref_as_string) : ditto.
10935 (std_expr_name_handler) : ditto.
10937 2007-04-27 Jody Goldberg <jody@gnome.org>
10940 * src/expr.c (reloc_range) : do not attempt to relocate a reference to
10941 something not on the origin sheet.
10942 (reloc_normalize_cellref) : use the ParsePos (initialized from the
10943 dep) to select the default sheet, not the origin_sheet.
10945 2007-04-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10947 * src/commands.c (cmd_print_setup): print_info_dup might load the pi
10948 * src/xml-sax-read.c (xml_sax_orientation): use
10949 print_info_set_paper_orientation
10950 * src/xml-sax-write.c (xml_write_print_info): use
10951 print_info_get_paper_orientation
10952 * src/print.c (compute_sheet_pages_across_then_down): remove debug
10954 * src/xml-io.c (xml_read_print_info): use
10955 print_info_set_paper_orientation
10956 * src/print-info.c (print_info_set_paper_orientation): new
10957 (print_info_get_paper_orientation): new
10958 (print_info_get_page_setup): print-info is not constant, also verify
10960 (print_info_set_page_setup): verify arguments
10961 (print_info_get_paper_display_name): new
10962 * src/print-info.h (portrait_orientation): remove field
10963 (invert_orientation): remove field
10964 (print_info_set_paper_orientation): new
10965 (print_info_get_paper_orientation): new
10966 (print_info_get_page_setup): print-info is not constant
10967 (print_info_get_paper_display_name): new
10969 2007-04-21 Morten Welinder <terra@gnome.org>
10971 * configure.in: Post-release bump.
10973 2007-04-21 Morten Welinder <terra@gnome.org>
10977 2007-04-20 Morten Welinder <terra@gnome.org>
10979 * src/workbook.c (workbook_update_history): New function,
10980 extracted from workbook_dispose.
10981 (workbook_dispose): Don't update file history here.
10983 * src/gui-file.c (gui_file_read, gui_file_save_as, gui_file_save):
10984 Call workbook_update_history on success.
10986 * src/ssindex.c (ssindex): Avoid updating the recect-files list.
10988 2007-04-18 Morten Welinder <terra@gnome.org>
10990 * src/print-info.c (print_info_get_paper): Fix return types.
10992 * src/commands.c (cmd_rename_sheet): Send errors to the command
10993 context [==gui], not just stderr.
10995 2007-04-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
10997 * src/print.c (print_page): handle scaling
10998 (compute_n_pages): new
10999 (compute_scale_fit_to): rewrite to approximate best scaling factor
11000 (compute_sheet_pages_add_sheet): avoid warning
11001 (compute_sheet_pages_across_then_down): handle scaling
11003 2007-04-15 Morten Welinder <terra@gnome.org>
11005 * src/sort.c (gnm_sort_contents): Set locale around sorting, if
11007 * src/wbcg-actions.c (sort_by_rows): Set NULL locale.
11008 * configure.in: revert previous change.
11010 2007-04-15 Christophe Merlet <redfox@redfoxcenter.org>
11012 * configure.in: Added "oc" (Occitan) to ALL_LINGUAS.
11014 2007-04-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11016 * schemas/gnumeric-dialogs.schemas.in: fix schema for gtk-setting
11018 2007-04-10 Morten Welinder <terra@gnome.org>
11020 * src/gui-file.c (advanced_clicked): Labels were flipped. [#428225]
11022 2007-04-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
11024 * src/wbcg-actions.c (cb_help_docs): Use 'ghelp' rather than 'help'
11025 as the URI scheme when calling yelp. The 'ghelp' URI scheme is
11026 implemented directly in yelp, whereas 'help' causes yelp to search
11027 for a libvfs-help.so helper module which doesn't exist on my system
11030 2007-04-06 Pema Geyleg <pema.geyleg@gmail.com>
11032 * configure.in: Added 'dz' to ALL_LINGUAS.
11034 2007-04-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11036 * src/print.c (PrintingInstance): add fields
11037 (SheetPrintInfo): new struct
11038 (printing_instance_delete): handle new fields
11039 (compute_sheet_pages_add_sheet): new
11040 (compute_pages): only set up the list of sheets to paginate
11041 (gnm_paginate_cb): new callback
11042 (gnm_begin_print_cb): don't paginate here
11043 (gnm_print_sheet): hook up gnm_paginate_cb callback
11045 2007-04-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11047 * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): initialize obj
11049 2007-04-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11051 * src/xml-sax-write.c (xml_write_print_info): free paper name string
11052 * src/print-info.c (print_info_get_paper): create importable name for
11053 custom paper sizes.
11054 * src/print-info.h (print_info_get_paper): change return type
11056 2007-04-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
11058 * configure.in: Bumped goffice dependency to reflect that goffice trunk
11059 is needed as building against goffice 0.3.7 now fails.
11061 2007-04-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11063 * schemas/gnumeric-dialogs.schemas.in: replace
11064 /schemas/apps/gnumeric/printsetup/printer-config with
11065 /schemas/apps/gnumeric/printsetup/gtk-setting
11066 * src/sheet.c (gnm_sheet_init): add new argument to
11068 * src/gnumeric-gconf.c (gnm_conf_init_print_settings): add argument
11069 (gnm_gconf_init_printer_defaults): new
11070 (gnm_conf_init_extras): use gnm_gconf_init_printer_defaults
11071 (gnm_conf_init_essentials): move stuff to gnm_gconf_init_printer_defaults
11072 (gnm_gconf_set_page_setup): new
11073 (gnm_gconf_get_page_setup): new
11074 (gnm_gconf_get_print_settings): new
11075 (gnm_gconf_set_printer_config): deleted
11076 * src/gnumeric-gconf.h (gnm_gconf_init_printer_defaults): new
11077 (gnm_gconf_set_page_setup): new
11078 (gnm_gconf_get_page_setup): new
11079 * src/xml-sax-write.c (xml_write_print_info): use print_info_get_margins
11080 * src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PRINTER_CONFIG): deleted
11081 * src/print.c (gnm_print_sheet): use gnm_gconf_[gs]et_print_settings
11082 * src/xml-io.c (xml_print_info_fix_margins): deleted
11083 (xml_read_print_margins): use print_info_set_margins
11084 * src/print-info.c (print_hf_free): It is now normal to be called with NULL.
11085 (print_info_free): drop unneeded items
11086 (print_info_dup): ditto
11087 (print_info_load_defaults): new
11088 (print_info_new): add argument and defer initialization
11089 (print_info_save): we may have to modify the pi by loading defaults
11090 (print_info_get_margins): use GtkPageSetup
11091 (print_info_set_margin_*): ditto
11092 (print_info_set_paper): ditto
11093 (print_info_set_margins): use gtk_page_setup_set_*
11094 (print_info_[sg]et_paper_width): deleted
11095 (print_info_[sg]et_paper_height): deleted
11096 (print_info_make_config): deleted
11097 (print_info_[gs]et_paper): use GtkPageSetup
11098 (print_info_set_paper_width_height): new stub
11099 (print_info_get_paper_width): new return type and use GtkPageSetup
11100 (print_info_get_paper_height): ditto
11101 * src/print-info.h (PrintMargins): move items to GtkPageSetup
11102 (_PrintInformation): drop unneeded items
11103 (print_info_new): add argument
11104 (print_info_load_defaults): new
11105 (print_info_make_config): deleted
11106 (print_info_load_config): deleted
11107 (print_info_get_paper_width): deleted
11108 (print_info_get_paper_height): deleted
11109 (print_info_set_paper_width_height): new
11110 (print_info_get_paper_width): change return type
11111 (print_info_get_paper_height): change return type
11114 2007-04-02 Morten Welinder <terra@gnome.org>
11116 * src/search.c (gnm_search_replace_cell): Normalize strings before
11118 (gnm_search_replace_value): Ditto.
11119 (gnm_search_replace_comment): Ditto.
11121 2007-04-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11123 * src/gnumeric-gconf.c (gnm_gconf_set_print_settings): new
11124 (gnm_conf_init_print_settings): new
11125 (gnm_gconf_set_print_settings_cb): new
11126 (gnm_conf_init_extras): call gnm_conf_init_print_settings
11127 * src/gnumeric-gconf.h (gnm_gconf_set_print_settings): new
11128 (gnm_app_prefs): add print_settings field
11129 * src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_GTKSETTING):
11131 * src/print.c (gnm_print_sheet): save/restore printsettings
11133 2007-03-29 Pema Geyleg <pema.geyleg@gmail.com>
11135 * configure.in: Added 'dz' to ALL_LINGUAS
11137 2007-03-29 Jody Goldberg <jody@gnome.org>
11139 * src/sheet-style.c (sheet_style_set_col) : new. placeholder to
11140 simplify future extensions when cols/rows have styles.
11141 (sheet_style_set_row) : ditto.
11142 (sheet_style_apply_col) : ditto.
11143 (sheet_style_apply_row) : ditto.
11144 (sheet_style_apply_pos) : new convenience.
11146 * src/ranges.c (range_init_cols) : new.
11147 (range_init_rows) : new.
11149 2007-03-29 Jody Goldberg <jody@gnome.org>
11151 * component/gnumeric.c (go_gnm_component_class_init) : the print
11152 method is now gone.
11154 2007-03-29 Morten Welinder <terra@gnome.org>
11156 * src/number-match.c (set_money_format): New function to select an
11157 appropriate money format for a given number. Fixes rest of
11160 2007-03-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11162 * delete the "print" field from all sheet objects. We
11163 are now using the draw_cairo method
11164 * src/print-cell.c (gnm_print_make_rect_path): delete
11165 (print_cell): delete
11166 (print_rectangle): delete
11167 (print_cell_background): delete
11168 (print_merged_range): delete
11169 (gnm_print_cell_range): delete
11170 * src/sheet-object.c (sheet_object_print): delete
11171 * src/print-cell.h (gnm_print_make_rect_path): delete
11172 (gnm_print_cell_range): delete
11173 * src/sheet-object.h (sheet_object_print): delete
11174 * src/sheet-object-cell-comment.c (cell_comment_print): delete
11175 * src/dialogs/dialog-printer-setup.c: comment out all currently
11177 (PrinterSetupStateNew): rename to PrinterSetupState
11178 (printer_setup_state_new_new): rename to printer_setup_state_new
11179 * src/dialogs/dialogs.h (dialog_printer_setup): does not depend on
11181 * src/dialogs/Makefile.am: remove libgnomeprint condition
11182 * src/style-font.h: remove libgnomeprint include
11183 * src/xml-sax-read.c: comment out gnomeprint dependency
11184 * src/xml-sax-write.c: ditto
11185 * src/xml-io.c: ditto
11186 * src/gnumeric-gconf.c (gnm_conf_init_extras): remove libgnomeprint
11188 * src/sheet-object-graph.c (gnm_sog_print): delete
11189 * src/pattern.c (gnumeric_background_set_pc): delete
11190 * src/pattern.h (gnumeric_background_set_pc): delete
11191 * src/gnm-so-line.c (gnm_so_line_print): delete
11192 * src/Makefile.am: remove libgnomeprint condition
11193 * src/sheet-filter.c: remove "print" field
11194 * src/validation.c: ditto
11195 * src/sheet-object-image.c (gnm_soi_print): delete
11196 * src/gnm-so-filled.c (make_rect): delete
11197 (make_ellipse): delete
11198 (gnm_so_filled_print): delete
11199 (set_color): delete
11200 * src/style-border.c (style_border_set_pc_dash): delete
11201 (style_border_set_pc): delete
11202 (print_hline): delete
11203 (print_vline): delete
11204 (gnm_style_borders_row_print): delete
11205 (gnm_style_border_print_diag): delete
11206 * src/style-border.h (style_border_set_pc_dash): delete
11207 (style_border_set_pc): delete
11208 (gnm_style_borders_row_print): delete
11209 (gnm_style_border_print_diag): delete
11210 * src/wbcg-actions.c: enable print commands
11211 * src/print-info.c: comment out libgnomeprint dependencies
11212 * src/print-info.h: ditto
11213 * src/wbc-gtk.c: remove print menu disabling
11214 * src/sheet-object-impl.h: remove "print" field
11215 * src/gnm-so-polygon.c (gnm_so_polygon_print): delete
11216 * plugins/excel/ms-excel-read.c: comment out gnomeprint dependency
11217 * configure.in: remove libgnomeprint tests
11218 * component/gnumeric.c: comment out gnomeprint dependency
11220 2007-03-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11222 * src/print.c: uncomment (#if 0 ... #endif)
11223 currently unused code and gemove gnomeprint includes
11224 (sheet_print_selection): deleted
11225 (PrintingInstance): change wbcg to wbc
11226 (compute_sheet_pages): adjust for wbcg -> wbc change
11227 (gnm_print_sheet): ditto
11229 2007-03-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11231 * src/print.c (PrintingInstance): add wbcg
11232 (compute_sheet_pages): handle selection & printarea
11233 (gnm_begin_print_cb): ditto
11234 (print_sheet): deleted
11235 * src/sheet.h (sheet_get_printarea): add arguments
11236 * src/sheet.c (sheet_get_printarea): add arguments and ignore
11237 printarea if requested
11239 2007-03-28 Jean Brefort <jean.brefort@normalesup.org>
11241 * src/Makefile.am: removed regression.c
11242 * src/func-builtin.c: use new names for range functions.
11243 * src/rangefunc.c: changed names of functions, and use the versions in
11244 goffice when available.
11245 * src/rangefunc.h: ditto.
11246 * src/regression.h: ditto.
11247 * src/regression.c: removed obsolete.
11249 2007-03-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11251 * src/print.h: add keys
11252 (PrintRange): add further options
11253 * src/print.c (PrintingInstance): add more fields
11254 (compute_sheet_pages): add selection and ignore_printarea args &
11256 (compute_pages): handle various print ranges
11257 (PrintDialogState): deleted
11258 (dialog_destroy): deleted
11259 (sheet_print_real): deleted
11260 (dialog_response): deleted
11261 (gnm_begin_print_cb): discover print range
11262 (widget_button_cb): new
11263 (gnm_create_widget_cb): new signal handler
11264 (gnm_custom_widget_apply_cb): new signal handler
11265 (gnm_print_sheet): prepare custom widget to handle print ranges
11267 2007-03-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11269 * src/sheet-object.h (sheet_object_draw_cairo): add rtl argument
11270 * src/sheet-object.c (sheet_object_draw_cairo): add rtl argument
11271 * src/print.c (print_sheet_objects): clip to cell range and handle
11273 (print_page_cells): Rows are determining the height and cols the width!
11274 (gnm_print_sheet): enable progress reporting
11275 * component/gnumeric.c (go_gnm_component_draw): add rtl argument to
11276 sheet_object_draw_cairo
11278 2007-03-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11280 * src/style-border.c (gnm_style_border_print_diag_gtk): remove
11282 * src/print.c (print_sheet_objects): use gtkprint
11283 (print_page_cells): enable sheet object printing and prepare
11285 (print_page): clipping should happen in print_page_cells
11287 2007-03-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11289 * src/print-cell.c (print_cell_background_gtk): Enable diagonal
11291 (print_merged_range_gtk): handle borders
11292 (gnm_gtk_print_cell_range): ditto
11293 * src/style-border.h (gnm_style_borders_row_print_gtk): new
11294 (gnm_style_border_print_diag_gtk): new
11295 * src/style-border.c (gnm_style_borders_row_print_gtk): new
11296 (gnm_style_border_print_diag_gtk): new
11297 (style_border_set_gtk_dash): new
11298 (style_border_set_gtk): new
11299 (print_hline_gtk): new
11300 (print_vline_gtk): new
11302 2007-03-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11304 * src/pattern.h (gnumeric_background_set_gtk): new
11305 * src/pattern.c (gnumeric_background_set_gtk): new
11306 * src/print-cell.c (print_cell_gtk): fix vertical alignment
11307 (print_rectangle_gtk): new
11308 (print_cell_background_gtk): new
11309 (print_merged_range_gtk): new
11310 (gnm_gtk_print_cell_range): Enable merged and background printing.
11312 2007-03-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11314 * src/print-cell.c (print_cell_gtk): set up clipping
11315 and some sort of rotated printing
11316 * src/print.c (print_page): prepare for clipping of whole
11317 page (currently disabled since it involves a heavy
11320 2007-03-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
11322 * src/print-cell.c (print_cell_gtk): new
11323 (gnm_gtk_print_cell_range): new
11324 * src/print-cell.h (gnm_gtk_print_cell_range): new
11325 * src/print.c (PrintingInstance): new struct type
11326 (printing_instance_new) : new
11328 (printing_instance_delete): new
11329 (print_page_cells): Switch to GtkPrintContext & Cairo
11330 (print_page): ditto
11331 (compute_sheet_pages): ditto
11332 (compute_pages): ditto
11333 (compute_group): drop PrintJobInfo
11334 (print_range_*_then_*): delete
11335 (compute_sheet_pages_add_range): new
11336 (compute_sheet_pages_across_then_down): new
11337 (print_page_repeated_rows): disable temporarily
11338 (print_page_repeated_cols): ditto
11339 (gnm_begin_print_cb): new
11340 (gnm_end_print_cb): new
11341 (gnm_draw_page_cb): new
11342 (gnm_print_sheet): use GtkPrintOperation
11343 * src/print-info.h (_PrintInformation): add page_setup
11344 (print_info_get_page_setup): new
11345 (print_info_set_page_setup): new
11346 * src/print-info.c (print_info_free): handle page_setup
11347 (print_info_new): ditto
11348 (print_info_dup): ditto
11349 (print_info_get_page_setup): new
11350 (print_info_set_page_setup): new
11351 * gnumeric.spec.in: require gtk 2.10
11352 * configure.in: require gtk 2.10
11354 2007-03-16 Jean Brefort <jean.brefort@normalesup.org>
11356 * src/collect.c: made some functions public:
11357 collect_floats_value_with_info, union_of_int_sets,
11359 * src/collect.h: ditto.
11361 2007-03-15 Morten Welinder <terra@gnome.org>
11363 * src/application.c (gnm_app_history_get_list,
11364 gnm_app_history_add): Base on GtkRecentManager. Fixes #115112.
11365 (gnm_app_create_opener_filter): New function.
11366 (gnm_app_history_add): Take extra mimetype argument. All callers
11368 (gnm_app_history_get_list): Ignore local files that no longer
11371 * src/gui-file.c (gui_file_open): Use
11372 gnm_app_create_opener_filter.
11374 * src/gnumeric-gconf.c: Remove functions related to file history.
11376 * schemas/gnumeric-general.schemas.in: Remove entries related to
11379 * configure.in: Require gtk+ 2.12.0
11381 2007-03-13 Morten Welinder <terra@gnome.org>
11383 * src/gnm-format.c (format_value_common): Ignore markup formats
11384 here. Fixes #417632
11386 * src/gutils.c (cb_gnm_pango_attr_dump): Be smarter about enums.
11388 2007-03-08 Morten Welinder <terra@gnome.org>
11390 * src/mstyle.c (gnm_style_new_default): Use gnm_style_set_format,
11391 not gnm_style_set_format_text.
11392 (gnm_style_set_format_text): Change comments to make it clear that
11393 this takes an untranslated format string.
11395 * src/wbcg-actions.c (apply_number_format): Take a format, not a
11397 (apply_number_format): New function taking an actual format.
11398 (cb_format_as_general): Use go_format_general directly.
11399 (cb_format_as_date): Use go_format_default_date directly. Fix
11400 swapped descriptors.
11401 (cb_format_as_time): Use go_format_default_time directly. Fix
11402 swapped descriptors.
11403 (cb_format_as_number, cb_format_as_percentage,
11404 cb_format_as_scientific): Build a format here.
11405 (cb_format_as_currency, cb_format_as_accounting): Ditto. This
11406 still relies on go_format_builtins, though.
11408 2007-03-07 Morten Welinder <terra@gnome.org>
11410 * src/sheet-view.c (sv_panes_insdel_colrow): Fix corrections for
11411 row deletions before the top-left frozen corner. Fixes #308562.
11413 2007-03-06 Morten Welinder <terra@gnome.org>
11415 * src/sheet-autofill.c (afm_teach_cell): Use
11416 gnm_format_is_date_for_value correctly. Fixes #414815.
11417 (afa_teach_cell): Fix tests for n >= 2.
11419 2007-03-05 Morten Welinder <terra@gnome.org>
11421 * src/number-match.c (format_match_decimal_number): Require three
11422 digits after the thousands separator.
11424 2007-03-04 Jody Goldberg <jody@gnome.org>
11426 * src/func-builtin.c (gnumeric_table) : patch logic.
11428 2007-03-04 Jody Goldberg <jody@gnome.org>
11430 * src/parse-util.c (gnm_expr_conventions_new_full) : Start
11431 homogenizing the structure so that parsing and formating use shared
11432 gunichar, rather than a semi-random collection of booleans on
11433 import and char * on export.
11434 - ::name_parser renamed ::input.name
11435 - ::unknown_function_handler replaced by ::input.func which is
11436 called for all functions not just unknown.
11437 - ::function_rewriter_hash deleted. This was not 64bit clean
11438 - ::output_sheet_name_sep => a gunichar and renamed ::sheet_name_sep.
11439 - ::cell_ref_handler => ::output.cell_ref
11440 - ::range_ref_handler => ::output.range_ref
11441 - ::sheet_name_quote => ::output.sheet_name_quote
11443 (cellref_as_string) : ditto.
11444 (std_expr_name_handler) : ditto.
11445 (std_func_map) : new.
11447 * src/xml-sax-write.c (xml_io_conventions) : adapt to changes.
11448 * src/xml-io.c (xml_io_conventions) : ditto.
11449 * src/value.c (value_get_as_gstring) : ditto.
11450 * src/expr.c (do_expr_as_string) : ditto.
11452 * src/parser.y : s/SEPARATOR/ARG_SEP/
11453 Remove the ARRAY_START_COMMA and ARRAY_START_BSLASH tokens
11454 Remove the duplicate comma/bslash productions for arrays.
11455 Use an 'in_array' flag in the state to allow the lexer to
11456 differentiate an ARG_SEP from an ARRAY_COL_SEP and an ARRAY_ROW_SEP.
11458 * src/sheet-object-graph.c (gnm_sog_get_object_target_list) : compiler
11461 * src/func.c (gnm_func_placeholder_factory) : delete.
11463 2007-03-04 Morten Welinder <terra@gnome.org>
11465 * configure.in: Post-release bump.
11467 2007-03-04 Morten Welinder <terra@gnome.org>
11471 2007-02-26 Morten Welinder <terra@gnome.org>
11473 * src/gui-file.c (gui_file_open): Tentatively hide format and
11474 character set selection behind an "Advanced" button to free up
11475 some screen real estate.
11477 * */*.c: Deal with goffice changes.
11479 * src/gnm-format.c (gnm_format_specialize): New function.
11480 (gnm_format_is_date_for_value): Base on gnm_format_specialize.
11482 * src/rendered-value.c (gnm_rendered_value_shutdown): Use slice
11483 allocator when available.
11485 * src/dependent.c (dependent_types_shutdown): Use slice allocator,
11486 when available, for some of the pools.
11488 * src/str.c (gnm_string_shutdown): Use the hash table to report
11489 leaked strings. Use slice allocator when available.
11491 * src/value.c (value_shutdown): Use slice allocator when
11492 available. Keep a running count of allocations and report leaks
11495 * src/commands.c (cmd_copyrel): Handle non-singleton areas.
11496 [#112847] Also switch to GOUndo.
11498 * */*.c: Use <stdio.h> only when needed.
11500 2007-02-24 Morten Welinder <terra@gnome.org>
11502 * src/workbook-edit.c (wbcg_edit_start): If formatting as date
11503 fails, revert to number.
11505 * src/gnm-format.c (hash_fill): Clear the string.
11507 2007-02-22 Morten Welinder <terra@gnome.org>
11509 * src/parse-util.c (cellref_r1c1_get): Allow lowercase "r" and
11510 "c". Do not allow a reference to be immediately followed by a
11512 (r1c1_rangeref_parse): Do not allow a reference to be immediately
11513 followed by a letter. Fixes #410609.
11515 2007-02-21 Morten Welinder <terra@gnome.org>
11517 * src/workbook-control-gui.c (wbcg_sheet_add): When the first
11518 sheet is attached, make sure to update rtl, zoom, etc. Fixes
11519 #410365 and #410371.
11521 * src/sheet.c (sheet_expr_conventions): New function.
11523 2007-02-16 Morten Welinder <terra@gnome.org>
11527 2007-02-13 Morten Welinder <terra@gnome.org>
11529 * src/sheet-view.c (sheet_view_new): Add handler for r1c1 changes.
11530 (sv_real_dispose): Remove handler.
11531 (sv_sheet_r1c1_changed): New function.
11533 * src/workbook-view.c (wb_view_selection_desc): Use
11534 parsepos_as_string to get R1C1 right. Fixes #407247.
11536 * src/parse-util.c (cell_name): Use R1C1 notation as appropriate.
11537 (parsepos_as_string): New function.
11539 * src/wbcg-actions.c (cb_edit_search_replace_query): Use cell_name,
11540 not cellpos_as_string.
11541 * src/sheet.c (cb_cell_pool_leak): Ditto.
11543 * src/workbook-control.c (wb_control_parse_and_jump): Resolve
11544 relative references. Fixes #407274.
11546 2007-02-07 Morten Welinder <terra@gnome.org>
11548 * src/stf-parse.c (stf_parse_csv_cell): Don't drop whitespace that
11549 happens to be separators.
11550 (stf_parse_csv_line): Trim fields as requested.
11552 * src/dependent.c (workbook_recalc): For now, any recalc needs to
11553 lead to a redraw. This is highly suboptimal, but will have to do
11556 2007-01-29 Jody Goldberg <jody@gnome.org>
11558 * src/sheet-object-widget.c (sheet_widget_list_base_get_result_dep) : new.
11559 (sheet_widget_list_base_get_content_dep) : new.
11561 2007-01-29 Jody Goldberg <jody@gnome.org>
11563 * src/sheet-filter.c : improve some docs
11565 2007-01-24 Morten Welinder <terra@gnome.org>
11567 */*.c: Include new go-locale.h as needed.
11569 * src/numbers.h (gnm_render_number): Remove.
11571 2007-01-22 Morten Welinder <terra@gnome.org>
11573 * src/number-match.c (format_match): Don't compare a pointer to
11574 GO_FORMAT_GENERAL, even if the latter is zero.
11575 */*.c: Deal with GOFormat now being opaque.
11577 * libspreadsheet-1.7.pc.in (GOffice_plugins_dir): Fix undefined
11578 variables. [#399550]
11579 Eliminate EXTRA_LIBS and EXTRA_INCLUDES now in goffice.
11580 Fix goffice require.
11582 2007-01-19 Jody Goldberg <jody@gnome.org>
11584 * src/sheet-filter.h : Add some new condition types to facilitate ODF
11587 2007-01-19 Morten Welinder <terra@gnome.org>
11589 * src/dependent.c (workbook_recalc): Reinstate a version of
11590 redraw-after-recalc. I don't like it, but the alternative is to
11591 ask for redraw on a per-cell basis.
11593 2007-01-18 Morten Welinder <terra@gnome.org>
11595 * */*.c: clean up interface between xmlChar and char.
11597 2007-01-18 Jody Goldberg <jody@gnome.org>
11599 * src/xml-sax-read.c (xml_sax_condition) : use gnm_style_new rather
11600 than gnm_style_new_default. We only want to fill in the required
11601 fields, not all of them.
11602 * src/xml-io.c (xml_read_style) : fix the original here by adding an
11603 'leave_empty' argument that can force the use of style_new.
11605 2007-01-17 Morten Welinder <terra@gnome.org>
11607 * src/cell-draw.c (cell_draw): Render as necessary.
11609 * src/graph.c (gnm_go_data_preferred_fmt): Handle the case of a
11610 missing expression in the dep.
11612 * src/xml-sax-read.c (xml_sax_condition): Merge
11613 xml_sax_style_condition_style_start into here.
11614 (xml_sax_condition_end): Merge xml_sax_style_condition_style_end
11615 into here. Rearrange parser to use recursive entry.
11616 (xml_sax_object_start): Update progress here.
11617 (xml_sax_object_end): Not here. Object isn't ready yet.
11619 * src/gui-util.c (gnm_pixbuf_tile): Round sizes up to 1 pixel, if
11622 * src/xml-sax-read.c (gnm_xml_file_open): Clear state->cond.
11623 (xml_sax_style_condition_style_start,
11624 xml_sax_style_condition_style_end): New functions.
11625 Fixes part of #397679.
11627 2007-01-16 Morten Welinder <terra@gnome.org>
11629 * src/Makefile.am (gnumeric_LDADD): Don't add in popt since we do
11630 not use it directly anymore. Fixes #396329.
11632 2007-01-10 Morten Welinder <terra@gnome.org>
11634 * src/xml-sax-read.c (maybe_convert): Always be quiet if no
11635 conversion actually takes place, e.g., if everything is plain
11638 2007-01-09 Morten Welinder <terra@gnome.org>
11640 * */*.c: No need to reset errno before go_strtod and gnm_strto.
11642 * src/xml-sax-read.c (xml_sax_double): Don't use g_strtod. We do
11643 not need or want dual-locale semantics.
11644 (gnm_xml_attr_double): Ditto.
11646 * src/sheet.c (sheet_range_bounding_box): Respan as needed.
11649 * src/item-grid.c (item_grid_draw): Handle respans outside the
11652 * src/dependent.c (gnm_cell_eval_content): Optimize the
11653 value-didn't-change case.
11654 (workbook_recalc): Don't force full-sheet redraws here.
11656 * src/xml-sax-read.c (gnm_xml_file_open): Initialize
11657 seen_cell_contents.
11659 2007-01-08 Morten Welinder <terra@gnome.org>
11661 * src/numbers.h (gnm_strto): Map this to go_strtod or go_strtold.
11664 2007-01-06 Morten Welinder <terra@gnome.org>
11666 * src/wbc-gtk.c (cb_font_size_changed): Kill a few conversions.
11668 2007-01-05 Morten Welinder <terra@gnome.org>
11670 * src/gnm-format.c (gnm_format_is_date_for_value): New function.
11671 * src/sheet-autofill.c (afm_teach_cell): Use
11672 gnm_format_is_date_for_value.
11674 * src/stf-export.c (try_auto_date): Use
11675 gnm_format_is_date_for_value.
11677 * src/auto-format.c (is_date): Use go_format_is_date.
11679 2007-01-03 Morten Welinder <terra@gnome.org>
11681 * src/xml-sax-read.c (xml_sax_cell_content): Handle v7 contents.
11683 (gnm_xml_file_open): Set up progress feedback. Fixes #392546.
11684 (maybe_update_progress): New function.
11685 (xml_sax_style_region_end): Call maybe_update_progress.
11686 (xml_sax_cell_content): Ditto.
11688 2007-01-02 Morten Welinder <terra@gnome.org>
11690 * src/main-application.c (main): Call g_thread_init. Fixes #392050.
11691 * src/ssindex.c (main): Ditto.
11692 * src/ssconvert.c (main): Ditto. Also increase stack
11695 * src/xml-sax-read.c (xml_sax_sheet_name): Handle missing sheet
11696 index better. [#392054]
11698 2006-12-29 Morten Welinder <terra@gnome.org>
11700 * src/parse-util.c (gnm_expr_conventions_new_full): Theoretical
11703 * src/xml-sax-read.c (xml_sax_named_expr_end): Delay all names.
11704 (handle_delayed_names): New function.
11705 (gnm_xml_file_open): Actually handle delayed names. What a
11708 * src/parser.y (parser_simple_val_or_name): Add support for
11709 disallowing the use of undefined names.
11711 * src/xml-sax-read.c (xml_sax_print_margins_unit): Even if we
11712 don't have gnome-print, avoid throwing an unknown-attribute error.
11714 2006-12-28 Morten Welinder <terra@gnome.org>
11716 * src/sheet-object-graph.c (gnm_sog_foreach_dep): New function.
11718 * src/sheet-object-widget.c (sheet_widget_adjustment_foreach_dep,
11719 sheet_widget_checkbox_foreach_dep,
11720 sheet_widget_radio_button_foreach_dep,
11721 sheet_widget_list_base_foreach_dep): New functions.
11723 * src/sheet-object.c (sheet_object_invalidate_sheet): Reimplement
11724 in terms of sheet_object_foreach_dep.
11725 (sheet_object_foreach_dep): New function.
11726 (sheet_objects_dup): Fixup references to source sheet. Fixes
11729 * src/sheet.c (sheet_dup_names): Properly relocate expressions to
11730 the new sheet. Copy permanent names too, as long as they are
11732 (cb_sheet_cell_copy): Relocate expressions from source to target
11735 * src/expr.c (gnm_expr_top_relocate_sheet): New convenience
11738 2006-12-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
11740 * src/pixmaps/expr-entry.png: convert to 16x16 image.
11741 * src/widgets/gnumeric-expr-entry.c (gee_set_property): request a menu
11742 sized icon instead of icon size.
11744 2006-12-27 Morten Welinder <terra@gnome.org>
11746 * src/expr-name.c (gnm_named_expr_collection_lookup): Make public.
11748 * src/sheet.c (sheet_dup_names): First cut at this.
11750 2006-12-26 Morten Welinder <terra@gnome.org>
11752 * src/gnm-format.c (format_value_common): Use long double version
11753 of go_format_value_gstring as appropriate.
11755 2006-12-24 Jody Goldberg <jody@gnome.org>
11757 * src/io-context-gtk.c (cb_realize) : request no decoration for the
11759 (icg_processing_file) : do not push the splash to the top for every
11760 file. It's damn irritating.
11762 * src/GNOME_Gnumeric-gtk.xml.in : Hook up the DataTable dialog
11763 and re-order Text-To-Columns.
11765 * src/sheet-object-widget.c (cb_collect) : handle reference to blank
11768 * src/gnm-so-filled.c (gnm_so_filled_user_config) : give labels their
11771 2006-12-21 Jody Goldberg <jody@gnome.org>
11773 http://bugzilla.gnome.org/show_bug.cgi?id=388505
11774 * src/sheet.c (cb_outline_level) : fix signature from 2006-06-25
11777 2006-12-20 Morten Welinder <terra@gnome.org>
11779 * src/gnm-format.c (format_value_common): Do colours right.
11781 2006-12-19 Jody Goldberg <jody@gnome.org>
11783 * src/sheet-object.h (SheetObjectAnchor::types) : simplfy to remove
11784 the vector 'type' the offsets are now always as percentages of cell
11785 size relative to the cell_bound. The parent, GODrawingAnchor will
11786 eventually have the absolute positions, and the sheet object itself
11787 will specify how which set of coords in normative.
11789 2006-12-18 Jody Goldberg <jody@gnome.org>
11791 * src/format-template.c (xml_read_format_template_members) : revert
11792 inadvertent renaming of the xml element names.
11793 (format_template_new_from_file) : ditto.
11794 (xml_write_format_template_members) : ditto.
11796 2006-12-18 Jody Goldberg <jody@gnome.org>
11798 * src/func-builtin.c (gnumeric_table) : patch leak.
11800 2006-12-18 Jody Goldberg <jody@gnome.org>
11802 * src/gnm-format.c (format_value_common) : minor patch to keep text in
11803 black until it's clear where to get it from.
11805 2006-12-18 Morten Welinder <terra@gnome.org>
11807 * src/gnm-format.c: Don't include goffice's format-impl.h,
11808 (format_value_common): New function, mostly
11809 extracted from gnm_format_layout, but using
11810 go_format_value_gstring.
11811 (find_entry, gnm_style_format_condition): Remove.
11812 (hash_fill): Generalize to handle layouts and strings alike.
11813 (format_value_gstring): Simplify using format_value_common.
11815 * src/workbook-edit.c: Don't include goffice's format-impl.h,
11817 2006-12-18 Jody Goldberg <jody@gnome.org>
11819 * configure.in : Post release bump
11821 2006-12-17 Jody Goldberg <jody@gnome.org>
11825 2006-12-17 Morten Welinder <terra@gnome.org>
11827 * src/gnm-format.c (format_value_gstring): Don't pay attention to
11828 need_abs here. That breaks DOLLAR, somehow.
11830 2006-12-17 Jody Goldberg <jody@gnome.org>
11832 * src/sheet-object-widget.c (sheet_widget_list_base_set_selection) :
11833 if the selection is greater than the number of elements select the
11836 2006-12-17 Jody Goldberg <jody@gnome.org>
11838 http://bugzilla.gnome.org/show_bug.cgi?id=135966
11839 * src/gnumeric-pane.c (gnm_pane_widget_register) : Callers can call
11840 gnm_pane_object_register themselves, but we need to interpose an
11841 event handler for all child widgets so that right click can always
11843 * src/sheet-object-widget.c (sheet_object_widget_new_view) : Call
11844 gnm_pane_object_register directly.
11846 2006-12-17 Jody Goldberg <jody@gnome.org>
11848 * src/sheet-object-widget.c (cb_combo_model_changed) : set text column
11850 (sheet_widget_combo_create_widget) : accept loading with no model.
11852 2006-12-17 Jody Goldberg <jody@gnome.org>
11854 * src/item-cursor.c (item_cursor_draw) : don't draw an autofill handle
11855 for hidden cursors. [#365960]
11857 2006-12-16 Jody Goldberg <jody@gnome.org>
11859 * src/sheet-filter.h : add GNM_FILTER_OP_BOTTOM_MASK, and
11860 GNM_FILTER_OP_PERCENT_MASK.
11862 * src/xml-sax-read.c (xml_sax_filter_condition) : make bucket count a
11864 * src/xml-sax-write.c (xml_write_filter_field) : ditto.
11865 * src/xml-io.c (xml_read_filter_field) : ditto.
11866 * src/sheet-filter.c (gnm_filter_condition_new_bucket) : ditto.
11867 * gnumeric.xsd : ditto.
11869 2006-12-16 Jody Goldberg <jody@gnome.org>
11871 * src/sheet-object-widget.c : implement combos and lists.
11873 2006-12-15 Morten Welinder <terra@gnome.org>
11875 * src/rendered-value.c (gnm_rendered_value_new): Improve handling
11877 * src/cell-draw.c (cell_calc_layout): Ditto.
11879 2006-12-14 Morten Welinder <terra@gnome.org>
11881 * src/test-format.c: Remove.
11883 * src/rendered-value.c (gnm_rendered_value_new): If we get an
11884 error, force a variable field. This handles #### for negative
11887 * src/gnm-format.c (format_value_gstring): Return error code.
11888 Handle errors from number formatting.
11889 (gnm_format_layout): Ditto.
11891 2006-12-12 Morten Welinder <terra@gnome.org>
11893 * src/ssindex.c (main): Don't print debug stuff on stdout. That's
11894 where our output is supposed to go.
11896 * configure.in (set_more_warnings): Turn on ssindex by default.
11897 SuSE ships it and uses it, so we might as well start testing it
11900 2006-12-11 Morten Welinder <terra@gnome.org>
11902 * src/sheet-object-widget.c (sheet_widget_button_set_label,
11903 sheet_widget_checkbox_set_label,
11904 sheet_widget_radio_button_set_label): Use go_str_compare and
11905 handle overlapping strings.
11907 2006-12-11 Morten Welinder <terra@gnome.org>
11909 * src/sheet-object-widget.c (cb_adjustment_value_changed): Make
11911 (sheet_widget_adjustment_init_full): Don't set signal handler here
11912 -- we need one signal per widget so we can figure out the invoking
11914 (sheet_widget_scrollbar_create_widget,
11915 sheet_widget_slider_create_widget,
11916 sheet_widget_spinbutton_create_widget): Set signal hanlder here.
11917 (cb_adjustment_widget_value_changed): Renamed from
11918 cb_adjustment_value_changed and changed to take a widget
11919 parameter. Add undo support.
11920 (widget_wbc): New function.
11921 (cb_checkbox_toggled): Get the wbc from the widget.
11923 2006-12-10 Morten Welinder <terra@gnome.org>
11925 * src/clipboard.c (cb_clipboard_copy_range_undo): Take a command
11926 context as argument instead of faking it.
11928 * src/commands.c (cmd_so_set_value_undo): Supply the command
11929 context to the undo operation.
11931 2006-12-09 Morten Welinder <terra@gnome.org>
11933 * src/sheet-object-widget.c (cb_checkbox_toggled): Make action
11936 * src/commands.c (cmd_so_set_value): New function.
11938 * src/clipboard.c (clipboard_copy_range_undo): New function.
11940 2006-12-09 Jody Goldberg <jody@gnome.org>
11942 * src/sheet-object-widget.c : Add sax parsers.
11944 * src/xml-sax-read.c : s/gsf_state/xin/g to be consistent.
11945 (gnm_xml_file_open) : set the unknown handler.
11946 (xml_sax_unknown) : unknown nodes under Object are object types.
11947 (xml_sax_object_start) : split out into ..
11948 (xml_sax_read_obj) : here. Add a kludge to clean up the state->so
11949 even when called from the unknown handler.
11951 * src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser) :
11952 return TRUE for the updated interface.
11954 * src/gnm-so-filled.c (sof_sax_style) : new.
11955 (gnm_so_filled_prep_sax_parser) : new.
11956 (gnm_so_filled_class_init) : hook up the new function.
11957 * src/gnm-so-line.c (sol_sax_style) : new.
11958 (gnm_so_line_prep_sax_parser) : new.
11959 (gnm_so_line_class_init) : hook up the new function.
11961 * configure.in : bump goffice req to get the new GogStyle sax parser
11964 * src/xml-sax-read.c (xml_sax_version) : be more discerning.
11966 2006-12-07 Jody Goldberg <jody@gnome.org>
11968 * src/xml-io-version.h : time to modernize a bit. tack on some new
11971 * src/xml-sax-read.c : gnumeric_1_0_dtd Use GSF_XML_NO_CONTENT and
11973 (xml_sax_version) : new.
11974 (xml_sax_filter_condition) : The DOM filter has been swapping Value
11975 and ValueType. The SAX exported copied the code. The importer
11976 needs to use the incorrect layout to handle existing files.
11977 * src/xml-sax-write.c (xml_write_filter_expr) : warn about the
11978 swapping of Value and ValueType.
11979 * gnumeric.xsd : comment on the swapping.
11981 2006-12-07 Christian Neumair <chris@gnome-de.org>
11983 * src/widgets/gnumeric-expr-entry.c (cb_icon_clicked):
11984 Don't g_assert, always assume that
11985 gtk_container_class_list_child_properties returns a non-NULL value.
11987 2006-12-05 Joseph Pingenot <gnumerichacker@digitasaru.net>
11989 * src/tools/analysis-{tools,histogram}.[ch]: split out all histogram
11990 stuff in preparation for larger work with histograms. Nothing else
11991 should have changed at this point.
11993 * src/tools/Makefile.am: Added new files.
11995 * src/dialogs/dialog-analysis-tools.h: Added header include for
11996 analysis-histogram.h so that it compiles.
11998 * tools/check-files: complain if a filename line contains
11999 leading/trailing whitespace, and ignore the whitespace.
12001 2006-12-05 Morten Welinder <terra@gnome.org>
12003 * src/xml-sax-read.c (gnm_xml_file_open): Do as little as possible
12004 while in C locale. Assign a default saver so the save button
12007 * src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser):
12008 Read the comment text(!) and author.
12009 (cell_comment_class_init): Hook up cell_comment_prep_sax_parser.
12010 (comment_view_set_bounds): Do not scale triangle size. Flip
12013 * src/workbook-control-gui.c (wbcg_view_changed): Change back to
12014 using a workbook as data argument. Keep the old view in a weak
12015 pointer. Fixes #382643 (caused by the view disappearing and
12016 killing the signal handler with it).
12018 2006-12-04 Jody Goldberg <jody@gnome.org>
12020 * configure.in : post release bump
12022 2006-12-04 Jody Goldberg <jody@gnome.org>
12026 2006-12-04 Jody Goldberg <jody@gnome.org>
12028 * src/sheet-filter.c (gnm_filter_combo_apply) : make public and init
12029 target_sheet in the expr case too.
12030 (gnm_filter_set_condition) : revert the earlier change from apply ->
12031 target_sheet. We do not need that flexibility here.
12032 * src/widgets/gnm-filter-combo-foo-view.c (fcombo_fill_model) : Create
12033 a temporary sheet and apply the filter to that so that we can list
12034 only the elements filtered by other fields.
12036 2006-12-02 Jody Goldberg <jody@gnome.org>
12038 * src/expr.c (gnm_expr_top_relocate) : don't init rinfo::from_inside
12039 for INVALIDATE_SHEET case, it's unnecesasry and the inputs are
12042 * src/gnumeric-canvas.h : Remove scaling from GNUMERIC_CANVAS_FACTOR_X
12043 that was breaking text display in RTL. We need a gtk patch for that
12046 2006-12-02 Jody Goldberg <jody@gnome.org>
12048 * src/sheet.c (sheet_dup_filters) : new.
12049 (sheet_dup) : called from here.
12050 * src/sheet-filter.c (gnm_filter_condition_dup) : new.
12051 (gnm_filter_dup) : new.
12052 (filter_field_apply) : take target_sheet to allow filtering a
12053 different sheet using the src data.
12054 (gnm_filter_get_condition) : replace 'apply' boolean with
12056 (gnm_filter_combo_foo_view_new) : move this internal and use
12057 gnm_cell_combo_foo_view_new.
12058 (gnm_filter_add_field) : use offset to replace the effect of
12059 SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
12061 * src/validation.c (gnm_validation_combo_foo_view_new) : move this
12062 internal and use gnm_cell_combo_foo_view_new.
12064 * src/sheet-view.c (sv_update) : Use wb_view_selection_desc instead of
12065 putting a subset of the logic here.
12067 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Add a hook to
12068 popdown validate from list, or autofilter combos.
12070 * src/sheet-object.h : remove SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
12071 * src/sheet-object.c (sheet_object_draw_cairo) : ditto.
12072 * component/gnumeric.c (go_gnm_component_print) : ditto.
12073 * src/sheet-object-cell-comment.c (cell_comment_set_cell) : use offset
12074 to replace the effect of SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
12075 * src/sheet-control-gui.c (calc_obj_place) : FROM_COLROW_END is gone.
12076 (cell_offset_calc_pixel) : ditto.
12078 * src/ranges.c (range_init_cellpos) : take only 1 cellpos and use for
12079 both ends. All callers changed.
12081 2006-12-02 Jody Goldberg <jody@gnome.org>
12083 * gnumeric.xsd : Make schema validate by
12084 - adding Attributes.
12086 - Add Input Messages
12088 * src/xml-io.c (xml_init) : Make the sax importer the default.
12089 (xml_read_colrow_info) : update the max_outline_level.
12090 * src/xml-sax-read.c (xml_sax_colrow) : ditto. [#380015]
12091 (gnm_xml_file_open) : init State::filter
12092 (content_ns) : add schema namespace.
12093 (xml_sax_filter_end) : new.
12094 (xml_sax_filter_start) : new.
12095 (xml_sax_filter_condition) : new.
12096 (xml_sax_filter_operator) : new.
12097 (xml_sax_input_msg) : sync with logic in the DOM importer and do
12098 not generate an input msg if both title and msg are missing.
12100 2006-11-30 Morten Welinder <terra@gnome.org>
12102 * src/clipboard.c (cellregion_get_content): Prevent critical.
12104 2006-11-28 Morten Welinder <terra@gnome.org>
12106 * src/ssconvert.c (convert): Call goal seek if requestion (for
12109 * src/clipboard.c (cellregion_to_string): Fix critical.
12111 2006-11-27 Morten Welinder <terra@gnome.org>
12113 * Catch up with goffice renamings.
12115 2006-11-27 J.H.M. Dassen (Ray) <jdassen@debian.org>
12117 * configure.in: Bumped goffice dependency to reflect that goffice HEAD
12118 is needed as building against goffice 0.3.3 now fails.
12120 2006-11-25 Morten Welinder <terra@gnome.org>
12122 * src/dependent.c (gnm_dep_set_expr_undo_new,
12123 gnm_dep_unlink_undo_new): New functions.
12124 (dep_hash_destroy, invalidate_name, handle_referencing_names,
12125 handle_outgoing_reference, tweak_3ds): Drop destroy argument. All
12127 (dependents_invalidate_sheets): Make static.
12128 (dependents_revive_sheet): Use go_undo_undo.
12130 * src/sheet.h: Make ::revive a GOUndoGroup *.
12132 * src/expr-name.c (expr_name_set_expr_undo_new): New function.
12134 2006-11-25 Jody Goldberg <jody@gnome.org>
12136 * src/clipboard.c (clipboard_paste_region) : don't warn when pasting
12137 a cellregion with no cells which can easily happen on undo, where
12138 the old content of a region was empty. Problem originated in 2006-11-11
12139 move from lists to a hash.
12140 (cellregion_cmd_size) : ditto.
12142 2006-11-25 Jody Goldberg <jody@gnome.org>
12144 * src/sheet-filter.c (gnm_filter_combo_class_init) : adjust to
12145 rename of gnm_filter_combo_foo_view_new.
12146 * src/validation.c (gnm_validation_combo_class_init) : adjust to
12147 rename of gnm_validation_combo_foo_view_new.
12149 2006-11-25 Jody Goldberg <jody@gnome.org>
12151 * src/value-sheet.c (value_area_foreach) : init ep in the cellrange
12152 case, and region in both cases.
12154 2006-11-25 Jody Goldberg <jody@gnome.org>
12156 * src/style-conditions.c (gnm_style_conditions_eval) : tidy up a bit.
12158 2006-11-24 Morten Welinder <terra@gnome.org>
12160 * src/ssconvert.c (convert): Avoid updating the recect-files list.
12162 2006-11-24 Jody Goldberg <jody@gnome.org>
12164 * src/Makefile.am : add validation-combo.h
12166 2006-11-24 Jody Goldberg <jody@gnome.org>
12168 * src/mstyle.c (gnm_style_get_validation) : constify the result. We
12169 should not modify it while it's part of a style.
12171 * src/sheet-control-gui.c (cb_collect_objects_to_commit) : handle
12173 * src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : ditto.
12175 * src/sheet-object.c (sheet_object_clear_sheet) : Handle
12176 so::sheet == NULL (eg when data validation combo is cleared from
12177 wbv::finalize after content_destroy clears the sheet list)
12178 Drop the return flag, nothing was using.
12180 * src/validation.c (gnm_validation_combo_new) : new.
12181 (gnm_validation_combo_class_init) : new.
12182 (gnm_validation_combo_finalize) : new.
12183 (gnm_validation_combo_init) : new.
12184 (validation_ref) : allow the reffing of const objects.
12185 (validation_unref) : ditto, this should really be split into a const
12186 and non-const version. We can do that for all unref routines.
12188 * src/value.h : create new struct GnmValueIter.
12189 * src/value.c (gnm_value_get_type) : Make GnmValue a glib boxed type.
12190 * src/value-sheet.c (value_area_foreach) : rework to use GnmValueIter.
12191 All callers changed.
12193 * src/workbook-view.h : s/::current_format/::current_style/
12194 and make it const. We have a ref to it, so it's not going away
12195 _but_ we should never change it.
12196 Add validation_combo. For the sheet object corresponding to an
12197 in cell data validation combo.
12199 * src/workbook-view.c (wb_view_style_feedback) : renamed from
12200 wb_view_format_feedback all callers changed. Add a creation
12201 and removal of data validation in cell combo.
12202 (wb_view_finalize) : clear the validation combo if it exists.
12203 (workbook_view_new) : init the combo.
12205 2006-11-24 Jody Goldberg <jody@gnome.org>
12207 * tools/xmlunzip : Add the 'macro enabled' formats from office12
12209 2006-11-23 Morten Welinder <terra@gnome.org>
12211 * src/xml-sax-write.c (xml_write_styles): Sort style regions so
12212 hash order does not matter.
12213 (xml_write_named_expressions): Sort names to hash order does not
12216 * src/expr-name.c (gnm_named_expr_collection_list): New function.
12218 2006-11-22 Jon K Hellan <hellan@acm.org>
12220 * src/gnumeric-gconf.c (gnm_gconf_set_gui_zoom): Fix typo that
12221 broke the default zoom preference. #378043.
12223 2006-11-21 Morten Welinder <terra@gnome.org>
12225 * src/value.c (value_parse_boolean): Add a few "+" to tell the
12226 checker that it is ok to mix -1 and TRUE/FALSE.
12228 2006-11-20 Morten Welinder <terra@gnome.org>
12230 * src/gnumeric-gconf.c (gnm_conf_shutdown): Plug leaks.
12232 2006-11-20 Jody Goldberg <jody@gnome.org>
12234 * configure.in : post release bump
12236 2006-11-20 Jody Goldberg <jody@gnome.org>
12240 2006-11-20 Jody Goldberg <jody@gnome.org>
12242 * src/wbc-gtk.c (wbc_gtk_setup_pixmaps) : move the splash out of here.
12243 * src/io-context-gtk.c (icg_show_gui) : and into here.
12245 2006-11-20 Morten Welinder <terra@gnome.org>
12247 * src/ssconvert.c (ssconvert_options): Add new --recalc option.
12248 Add internal --export-range option.
12249 (convert): Recalc if requested. Setup range if requested.
12250 Fix error handling.
12252 * src/stf-export.c (stf_export_sheet): Code to handle internal
12253 range specification.
12255 2006-11-19 Jody Goldberg <jody@gnome.org>
12257 * src/func.c (gnm_func_load_if_stub) : make this inline.
12258 (function_call_with_exprs) : load stub _after_ we get the function def
12259 Fixes crash on calling any vararg function.
12261 2006-11-19 Morten Welinder <terra@gnome.org>
12263 * configure.in: Post-release bump.
12265 2006-11-19 Morten Welinder <terra@gnome.org>
12269 2006-11-19 Morten Welinder <terra@gnome.org>
12271 * src/sheet-object.c (sheet_object_class_init): Objects class are
12272 not interactive by default.
12274 * src/sheet-object-widget.c (SOW_MAKE_TYPE): Widgets classes are
12277 * src/gnumeric-pane.c (cb_sheet_object_canvas_event): All mouse
12278 buttons select non-interactive objects. Fixes #376866.
12280 2006-11-18 Morten Welinder <terra@gnome.org>
12282 * src/func.c (function_def_get_arg_name): Avoid allocating like
12283 nuts. Prepare for the day when format_get_arg_sep might return
12286 2006-11-18 Djihed Afifi <djihed@gmail.com>
12288 * configure.in: Added Arabic Translation.
12290 2006-11-17 Morten Welinder <terra@gnome.org>
12292 * src/func.c (gnm_func_load_if_stub): New function.
12294 2006-11-16 Morten Welinder <terra@gnome.org>
12296 * src/func.c (function_call_with_exprs): Drop the argc and argv
12297 arguments. They now follow from the eval info. All callers
12300 2006-11-16 Morten Welinder <terra@gnome.org>
12302 * src/sheet.c (sheet_cell_set_text): Use gnm_cell_get_format so
12303 current format gets handled properly even if it derives from the
12306 * src/workbook-edit.c (wbcg_edit_finish): Use gnm_cell_get_format
12309 * src/number-match.c (format_match_datetime): Properly handle
12310 "2005/12" and "12/2005". (Year got set to current year.)
12311 Add new presume_date argument and do not allow "1-10" and "1.10"
12312 unless that new argument is true.
12314 2006-11-15 Jody Goldberg <jody@gnome.org>
12317 * src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) : do not
12318 bring up an editor on double click for widgets. Simple clicks are
12319 too easy to confuse. Use right click only.
12320 (cb_sheet_object_canvas_event) : Return FALSE on enter to allow
12321 checkbox handlers to set things up.
12322 (cb_sheet_object_canvas_event) : Only change selection on right-button
12325 2006-11-12 Jody Goldberg <jody@gnome.org>
12327 * src/clipboard.c (cellregion_to_string) : support only exporting
12330 2006-11-11 Jody Goldberg <jody@gnome.org>
12332 * src/stf-parse.c (stf_parse_region) : adjust to signature change.
12333 * src/xml-io.c (xml_read_clipboard_cell) : ditto.
12334 * src/xml-sax-write.c (cb_xml_write_cell_region_cells) : adapt to move
12335 from list to hash of cells.
12337 * src/clipboard.c (cb_paste_cell) : new. split from ...
12338 (clipboard_paste_region) : here. For the move from a list of cells to
12340 (gnm_cell_copy_new) : insert the copy in here rather than forcing
12341 callers to handle it.
12342 (cb_clipboard_prepend_cell) :
12343 (clipboard_copy_range) : store the col/row states too. Not used yet.
12344 (cellregion_new) : col/row states and cells in a hash.
12345 (cellregion_unref) : free the col/row states if they exist.
12346 (cellregion_get_content) : new.
12347 (cb_invalidate_cellcopy) : split from ...
12348 (cellregion_invalidate_sheet) : here.
12349 (cellregion_to_string) : move here from gui-clipboard and use the new
12350 hash based layout to avoid the intermediate matrix allocation.
12351 (gnm_cell_copy_free) : tidy up and name this.
12352 (gnm_cell_copy_new) : assign the copy to a region on creation.
12354 * src/colrow.c : Make ColRowState and ColRowRLEState public for use in
12357 2006-11-11 Jody Goldberg <jody@gnome.org>
12359 * src/application.c : Move the icons from here.
12360 * src/wbc-gtk.c (wbc_gtk_setup_icons) : to here.
12361 (wbc_gtk_setup_pixmaps) : here.
12362 (wbc_gtk_class_init) : and here.
12364 2006-11-14 Morten Welinder <terra@gnome.org>
12366 * src/sheet-control-gui.c (scg_wbcg): Rename from scg_get_wbcg.
12367 (scg_wbc, scg_sheet, scg_view): New functions. Use a few hundred
12368 places to avoid casts.
12369 (scg_class_init): Install ->mode_edit handler(!)
12371 2006-11-13 Morten Welinder <terra@gnome.org>
12373 * src/workbook-control-gui.c (wbcg_autosave_cancel): Make static.
12374 (wbcg_autosave_activate, wbcg_set_autosave_time,
12375 wbcg_set_property, wbcg_get_property): New functions.
12376 (wbcg_autosave_set): Remove.
12377 (wbcg_finalize): Cancel autosave timer.
12378 (workbook_control_gui_class_init): Install autosave-time and
12379 autosave-prompt properties.
12381 * src/workbook-control-gui-priv.h (WorkbookControlGUI): Remove
12382 redundant autosave member. Change autosave_minutes to
12383 autosave_time and make it seconds-based.
12385 * src/workbook.c (workbook_dispose): Use
12386 wb_view_detach_from_workbook.
12387 (workbook_detach_view, workbook_attach_view): Don't set wbv->wb
12388 here. Set in caller.
12390 * src/workbook-view.c (workbook_view_class_init): Install new
12391 property: auto-expr-text.
12392 (wb_view_get_property, wb_view_set_property,
12393 wb_view_auto_expr_text): Handle auto-expr-text.
12394 (wb_view_detach_from_workbook): New function.
12395 (wb_view_finalize): Use wb_view_detach_from_workbook.
12397 * src/workbook-control-priv.h (WorkbookControlClass): Remove
12398 auto_expr_value member.
12400 * src/workbook-control-gui.c (wbcg_auto_expr_text_changed): New
12401 function hooked up to WorkbookView::auto-expr-text.
12402 (wbcg_auto_expr_value): Removed.
12404 2006-11-12 Morten Welinder <terra@gnome.org>
12406 * src/workbook-control-gui.c (cb_auto_expr_changed): Control
12407 auto-expression via wbv properties.
12408 (cb_auto_expr_precision_toggled): Ditto.
12410 * src/workbook-view.h (WorkbookView): Replace auto_expr with more
12411 sane auto_expr_func member.
12413 * src/workbook-view.c (wb_view_auto_expr_recalc): Remove
12414 always-TRUE second argument. All callers changed. Adjust to
12415 WorkbookView changes.
12416 (wb_view_auto_expr): Remove.
12417 (wb_view_auto_expr_precision): Make static.
12418 (workbook_view_class_init): Install properties for
12421 2006-11-12 Jean Brefort <jean.brefort@normalesup.org>
12423 * src/application.c: (gnm_app_history_add): return if max length is 0
12424 (avoids a critical).
12425 * src/gnm-graph-window.c: (gnm_graph_window_set_graph): set horizontal
12426 and vertical resolutions.
12428 2006-11-11 Morten Welinder <terra@gnome.org>
12430 * src/workbook-view.c (wb_view_format_feedback): Drop always-TRUE
12431 second argument. All callers changed.
12433 * */*.[ch]: Grand rename for cell identifiers and a few more.
12435 2006-11-11 Jody Goldberg <jody@gnome.org>
12437 * src/workbook-control-gui.c (cb_scroll_wheel) : renamed from
12438 wbcg_scroll_wheel_support_cb and make static.
12440 2006-11-11 Jody Goldberg <jody@gnome.org>
12442 * src/GNOME_Gnumeric-gtk.xml.in : Remove inc/dec indent from the menu.
12443 They do not belong there. Remove them from the accel list too, gtk
12444 silently invalidates accels for Tab. Handle them manually.
12445 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : here. Use the
12446 new functions from ...
12447 * src/workbook-cmd-format.c (workbook_cmd_inc_indent) : here. That
12448 are transfered from ...
12449 * src/wbcg-actions.c : here.
12451 2006-11-10 Morten Welinder <terra@gnome.org>
12453 * gnumeric.desktop.in: Set component to General. Bug-buddy
12454 insists on that, even if I don't agree. Fixes #348829.
12456 * src/style-conditions.c (gnm_style_conditions_eval): Fix
12457 pointer-int screwup.
12459 2006-11-08 Jody Goldberg <jody@gnome.org>
12461 * src/wbcg-actions.c : Add new accelerators.
12462 <control><alt>Tab : inc indent
12463 <control><alt><shift>Tab : dec indent.
12464 <shift><alt>Right : group
12465 <shift><alt>Left : ungroup
12467 * src/GNOME_Gnumeric-gtk.xml.in : Add explicit accelerator entries for
12468 the inc/dec indent because they are not in the menu by default, so
12469 their accels are not enabled.
12471 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : don't eat
12472 Alt-left/right. We want those for accelerators.
12474 2006-11-08 Jody Goldberg <jody@gnome.org>
12476 * src/gutils.c (gnm_push_C_locale) : new utility to set the C locale
12477 (gnm_pop_C_locale) : and restore it. Useful for persistence to avoid
12478 problems with decimal points.
12479 * src/xml-io.c (xml_cellregion_read) : Use it here.
12480 (xml_workbook_read) : and here.
12481 * src/xml-sax-read.c (gnm_xml_file_open) : ditto.
12482 * src/xml-sax-write.c (gnm_xml_file_save) : ditto.
12483 (gnm_cellregion_to_xml) : ditto.
12485 * src/sheet-object-graph.c (gnm_sog_write_object) : do not change the
12487 * src/sheet-object.c (sheet_object_write_object) : that logic belongs
12488 here. Use the new push/pop C_locale routines.
12490 2006-11-08 Eduardo Lima <eduardo.lima@indt.org.br>
12492 * configure.in: Make print support optional. #331948
12493 * plugins/excel/excel-xml-read.c: Ditto.
12494 * plugins/excel/ms-excel-read.c: Ditto.
12495 * plugins/openoffice/openoffice-write.c: Ditto.
12496 * src/Makefile.am: Ditto.
12497 * src/gnm-so-filled.c: Ditto.
12498 * src/gnm-so-line.c: Ditto.
12499 * src/gnm-so-polygon.c: Ditto.
12500 * src/gnumeric-gconf.c: Ditto.
12501 * src/gnumeric-gconf.h: Ditto.
12502 * src/pattern.c: Ditto.
12503 * src/pattern.h: Ditto.
12504 * src/print-info.c: Ditto.
12505 * src/print-info.h: Ditto.
12506 * src/sheet-object-cell-comment.c: Ditto.
12507 * src/sheet-object-graph.c: Ditto.
12508 * src/sheet-object-image.c: Ditto.
12509 * src/sheet-object-impl.h: Ditto.
12510 * src/sheet-object.c: Ditto.
12511 * src/sheet-object.h: Ditto.
12512 * src/style-border.c: Ditto.
12513 * src/style-border.h: Ditto.
12514 * src/style-font.h: Ditto.
12515 * src/wbc-gtk.c: Ditto.
12516 * src/wbcg-actions.c: Ditto.
12517 * src/workbook-control-gui.c: Ditto.
12518 * src/xml-io.c: Ditto.
12519 * src/xml-sax-read.c: Ditto.
12520 * src/xml-sax-write.c: Ditto.
12521 * src/dialogs/Makefile.am: Ditto.
12522 * src/dialogs/dialogs.h: Ditto.
12524 2006-11-07 Jody Goldberg <jody@gnome.org>
12526 * src/application.c : Add a brush from the gimp for use in format
12529 2006-10-30 Jody Goldberg <jody@gnome.org>
12531 * src/wbcg-actions.c (auto_sum) : <Alt>= is the accelerator.
12533 2006-11-05 Morten Welinder <terra@gnome.org>
12535 * src/commands.c (cmd_paste_copy_impl): Paste objects on
12536 non-initial redos. Paste the proper set of objects. Fixes
12539 2006-11-04 Morten Welinder <terra@gnome.org>
12541 * src/commands.c (cmd_paste_copy_impl): Keep track of new objects
12542 created and undo as needed. Fixes part of #308300.
12544 2006-11-03 Morten Welinder <terra@gnome.org>
12546 * */*.c: Avoid checked g_free and g_strdup. They handle NULL just
12547 fine. Fixes #369661.
12549 2006-11-01 Jon K Hellan <hellan@acm.org>
12551 * src/workbook-control-gui.c (show_gui): Fix initial sizing. Fixes
12554 2006-10-31 Morten Welinder <terra@gnome.org>
12556 * src/workbook-control-gui.c (cb_editline_focus_in): Restore entry
12557 to normal state. Fixes #367870.
12559 2006-10-31 Jon K Hellan <hellan@acm.org>
12561 * src/sheet-control-gui.c (scg_drag_data_received): Don't output
12562 warning if UTF8_STRING drag is received.
12564 * src/gnumeric-pane.c (cb_pane_drag_leave): Just return, no
12565 critical, when drag source widget is something other than GnmCanvas.
12567 * src/application.c (gnm_app_workbook_get_by_name,
12568 gnm_app_workbook_get_by_uri): Check for NULL URI. Fixes crash part
12571 2006-10-28 Morten Welinder <terra@gnome.org>
12573 * src/workbook-edit.c (cb_entry_delete_text): Handle the no-scg
12575 (wbcg_edit_finish): Ditto. Fixes #366570.
12579 * src/workbook-view.c (wb_view_sheet_focus): Set
12580 current_sheet_view when we set current_sheet.
12582 * src/sheet-view.c (sv_sheet_visibility_changed): New function.
12583 (sv_real_dispose): Disconnect sv_sheet_visibility_changed.
12584 (sheet_view_new): Connect sv_sheet_visibility_changed.
12586 * src/workbook-view.c (wb_view_sheet_add): Fix order and use
12587 wb_view_sheet_focus.
12589 2006-10-28 Jon K Hellan <hellan@acm.org>
12591 * src/workbook-control-gui.c (wbcg_show_save_dialog): Escape URI
12592 so that g_markup can do the right thing.
12593 (wbcg_close_control): Regenerate window list. Fixes #366335.
12595 2006-10-24 Jody Goldberg <jody@gnome.org>
12597 * src/value.c (value_is_zero) : new.
12599 2006-10-24 Morten Welinder <terra@gnome.org>
12601 * src/gui-util.c (gnm_dialog_setup_destroy_handlers): New function
12602 for handling issues like 364291.
12604 * src/workbook-control-gui.c (wbcg_get_scg): Fix sheet removal
12605 problem. Fixes #364865.
12607 * src/sheet-autofill.c (sheet_autofill_dir): Copy the style, don't
12608 just ref it, before sending it to sheet_style_set_pos.
12610 2006-10-24 Jon K Hellan <hellan@acm.org>
12612 * src/style-border.c (style_border_fetch): Return empty border for
12613 invalid border types. Fixes #364658.
12615 2006-10-24 Jody Goldberg <jody@gnome.org>
12617 * src/expr.c (reloc_range) : Special case deleting cols/rows.
12618 Trunate rather than invalidate if only the bottom/right range
12619 is being removed. Top/Left case is already handled by the inversion
12622 * src/sheet.c (sheet_delete_cols) : translate only columns when
12623 invalidating otherwise the relocation code does not shorten ranges.
12624 (sheet_insert_rows) : ditto.
12626 2006-10-24 Jody Goldberg <jody@gnome.org>
12628 * src/func.c (gnm_func_group_fetch_with_translation) : warning
12631 2006-10-24 Jody Goldberg <jody@gnome.org>
12633 * src/expr.c (relocate_cellref) : delete and take a different range
12635 (cellref_shift) : delete.
12636 (invalidate_sheet_cellrange) : split out from the old
12637 relocate_cellrange.
12638 (relocate_range) : new code to relocate a range (do not handle abs/rel
12639 here). If the entire range is enclosed then move it, otherwise
12640 extend any of the sides that are enclosed but do not allow
12641 inversion. eg relocating the bottom above the top.
12642 (reloc_normalize_cellref) : new code to map from abs/rel cellref to
12643 straight cellpos. Take into account the 'check_rels' flag for use
12644 with names that disables relocation of relative references (Not used
12646 (reloc_restore_cellref) : reverse the process in
12647 reloc_normalize_cellref and do bounds checking.
12648 (relocate_cellrange) : rewrite, much simpler conceptually than the old
12649 code. Rather than handling abs/rel and in/out as part of the
12650 process always do the conversions then generate a result if
12651 something changed. This code also handles full col/row refs better.
12652 (gnm_expr_relocate) : merge the ignore_rel flag into a new wrapper
12653 'RelocInfoInternal'
12654 (gnm_expr_top_relocate) : check 'from_inside' here rather than for
12655 every ref and use the new internal Reloc struct to pass the extra
12658 * src/ranges.c (range_make_full) : new.
12660 2006-10-24 Joseph Pingenot <trelane@digitasaru.net>
12662 * src/style-conditions.c (gnm_style_conditions_eval) : Add in
12663 additional string and error conditional operators.
12665 2006-10-23 Jon K Hellan <hellan@acm.org>
12667 * src/xml-sax-read.c (xml_sax_wb_view): Check that "SelectedTab"
12668 exists. Fixes #312010.
12670 * src/xml-io.c (xml_workbook_read): Ditto.
12672 2006-10-22 Morten Welinder <terra@gnome.org>
12674 * src/search.c (search_collect_cells_cb): Adapt to change in
12675 CellIterFunc type. Fixes #364085.
12677 2006-10-21 Morten Welinder <terra@gnome.org>
12679 * src/workbook-control.c (wb_control_parse_and_jump): If the range
12680 does not have a sheet, use current. Fixes #363977.
12682 2006-10-20 Morten Welinder <terra@gnome.org>
12684 * src/workbook-control-gui.c (wbcg_get_scg): When we are focusing
12685 a new sheet it might not have a page yet.
12686 (wbcg_sheet_focus): Handle NULL sheet properly.
12688 * src/workbook.c (workbook_focus_other_sheet): Set focus even if
12691 * src/expr-name.c (cb_check_name): Survive a name without any
12692 expression. That can happen in connection with sheet undo/redo.
12694 2006-10-20 Jon K Hellan <hellan@acm.org>
12696 * src/sheet-view.c: Add preconditions
12698 2006-10-19 Jon K Hellan <hellan@acm.org>
12700 * src/workbook-control-gui.c (cb_sheet_label_button_press): Only
12701 enable context menu when label is editable, which it is when we're
12702 not editing a cell. Fixes #363261.
12704 2006-10-18 Morten Welinder <terra@gnome.org>
12706 * src/stf-parse.c (stf_parse_next_token, comp_term): Remove.
12707 (stf_parse_csv_cell): Make sane. Fixes #359269.
12709 2006-10-18 Jon K Hellan <hellan@acm.org>
12711 * src/gui-clipboard.c (cellregion_to_string): Brown paper bag -
12712 would try to allocate negative memory. Fixes #362993.
12714 2006-10-17 Jon K Hellan <hellan@acm.org>
12716 * src/gui-clipboard.c (x_claim_clipboard): Really fix #308569.
12718 2006-10-17 Jody Goldberg <jody@gnome.org>
12720 * configure.in : Post release bump
12722 2006-10-17 Jody Goldberg <jody@gnome.org>
12726 2006-10-16 Morten Welinder <terra@gnome.org>
12728 * src/workbook-control-gui.c (cb_workbook_debug_info): Use
12729 workbook_share_expressions.
12731 * src/workbook.c (workbook_share_expressions): New function.
12733 * src/workbook-view.c (wb_view_new_from_input): Share expressions
12736 2006-10-16 Jody Goldberg <jody@gnome.org>
12738 * src/expr.c (relocate_cellrange) : Check for inversion from the
12739 destination position. (rinfo->pos.eval + offset).
12742 2006-10-16 Jody Goldberg <jody@gnome.org>
12744 * src/expr.c : Fixes #361074
12745 (bin_array_iter_a) : split out of the old bin_array_op, and handle the
12746 more complex iteration cases of different shaped arguments. See
12747 samples/array.xls for details.
12748 (bin_array_iter_b) : split from bin_array_op and handle the simple
12749 case of f(scalar,array).
12750 (gnm_expr_eval) : adjust to new binary array iterator functions.
12752 2006-10-16 Jon K Hellan <hellan@acm.org>
12754 * src/main-application.c (main): Increase stack limit.
12756 2006-10-15 Jody Goldberg <jody@gnome.org>
12758 * src/preview-grid.c (pg_fetch_cell) : renamed from pg_construct_cell.
12759 Now that we have a sheet to store things in the life cycle gets
12761 (preview_grid_draw) : no need to destroy things so quickly now.
12762 (pg_destruct_cell) : delete.
12764 2006-10-15 Jody Goldberg <jody@gnome.org>
12766 * src/func.c (function_call_with_exprs) : I don't have a concrete
12767 example of where this would matter, but it seems like a better
12768 choice. Iterating for every array function seems over the top.
12770 2006-10-15 Jody Goldberg <jody@gnome.org>
12772 * src/xml-sax-write.c (xml_write_cell_and_position) : minor cosmetc
12773 fix to export Row before Col to make the result more readable.
12775 2006-10-15 Jon K Hellan <hellan@acm.org>
12777 * src/gui-clipboard.c (cellregion_to_string): Limit to non-empty
12779 (x_store_clipboard_if_needed): Call whenever workbook with
12780 clipboard sheet is closed,
12782 2006-10-14 Morten Welinder <terra@gnome.org>
12784 * src/workbook.c (workbook_sheet_delete): Actually clear clipboard
12785 references as the docs claim. Fixes #323762.
12787 * src/sheet-object.c (sheet_object_invalidate_sheet): New
12790 * src/clipboard.c (cellregion_invalidate_sheet): Invalidate the
12791 sheet in sheet objects too.
12793 2006-10-13 Jody Goldberg <jody@gnome.org>
12795 * po/POTFILES.in : translate the Hildon file (no actual text right now)
12796 * po-functions/POTFILES.skip : There is no function text in the hildon
12799 2006-10-13 Jody Goldberg <jody@gnome.org>
12801 * src/style-border.c (print_vline) : Respect RTL when rounding to
12802 pixel bounds. [#317662]
12803 (style_borders_row_print) : and here.
12805 2006-10-11 Morten Welinder <terra@gnome.org>
12807 * src/xml-sax-write.c (cb_write_cell, xml_write_cells): Only last
12808 change. The explicit ordering was useful.
12810 * src/expr.c (gnm_expr_hash): Renamed from ets_hash and adapted to
12811 traverse the entire tree.
12812 (gnm_expr_top_hash): New function.
12813 (gnm_expr_sharer_new): Use gnm_expr_top_hash, not ets_hash.
12814 (gnm_expr_sharer_share): Re-implement sharing.
12815 (gnm_expr_top_equal): If we have different hash values,
12816 short-circuit as false.
12818 2006-10-11 Valek Filippov <frob@df.ru>
12820 * schemas/gnumeric-general.schemas.in: Extend comment about 'Transition Keys' with Jody's explanation.
12821 * schemas/gnumeric-dialogs.schemas.in: Fixed typppo.
12823 2006-10-10 Morten Welinder <terra@gnome.org>
12825 * src/application.c (gnm_app_clipboard_invalidate_sheet): New
12827 * src/clipboard.c (cellregion_invalidate_sheet): New function.
12828 * src/sheet.c (sheet_destroy): Use
12829 gnm_app_clipboard_invalidate_sheet. Fixes #323811 in a brutal
12831 (sheet_destroy): Make static.
12833 2006-10-10 Jon K Hellan <hellan@acm.org>
12835 * src/gui-clipboard.c (x_claim_clipboard): Don't declare text or
12836 html formats on clipboard for sheet objects. Fixes #308569.
12838 * src/workbook-control-gui.c (wbcg_finalize,
12839 wbcg_close_if_user_permits): Move call of
12840 x_store_clipboard_if_needed from finalize to
12841 close_if_user_permits. This works around some lifecycle
12842 issues. Fixes #321714, #342580.
12844 * src/gui-clipboard.[ch] (x_store_clipboard_if_needed):
12845 Make it take a workbook, not a wbcg. Should now be explicitly
12846 called before workbook object is destroyed.
12848 2006-10-09 Morten Welinder <terra@gnome.org>
12850 * src/wbc-gtk.c (cb_add_menus_toolbars): Fix hiding/unhiding of
12851 toolbars broken by 2006-08-09 commit.
12853 * src/clipboard.c (paste_cell): Transpose array formulas.
12854 [#349288]. Make sure we do not end up sharing corners in the
12855 non-transposed case.
12857 * src/expr.c (gnm_expr_top_transpose): New function.
12859 2006-10-08 Morten Welinder <terra@gnome.org>
12861 * src/xml-io.c (xml_read_clipboard_cell): Make sure the value gets
12862 set to a non-NULL value. Don't try to free a NULL value.
12864 * src/cell.c (cell_set_expr_and_value): Set CELL_HAS_NEW_EXPR just
12865 like cell_set_expr_internal. Fixes #360672.
12867 2006-10-08 Jon K Hellan <hellan@acm.org>
12869 * src/gui-file.c (gui_file_open, gui_file_save_as): Explicitly
12870 show the file format box, because go_gtk_file_sel_dialog no longer
12871 calls gtk_wiget_show_all.
12873 * src/gui-clipboard.c (x_clipboard_get_cb): Ignore SAVE_TARGETS.
12875 2006-10-06 Jon K Hellan <hellan@acm.org>
12877 * src/gui-clipboard.c (x_store_clipboard_if_needed): Only store if
12880 2006-10-05 Morten Welinder <terra@gnome.org>
12882 * src/sheet.c (cb_max_cell_height): Optimize the non-string case.
12884 * src/mstyle.c (gnm_style_get_pango_height): New function.
12886 2006-10-04 Morten Welinder <terra@gnome.org>
12888 * src/preview-grid.c (pg_destruct_cell): Destroy cell properly.
12889 (pg_construct_cell): Construct it properly.
12890 (preview_grid_init): Create proper sheet object.
12892 * src/dependent.c (handle_outgoing_references): Handle sheet
12895 2006-10-04 Jean Brefort <jean.brefort@normalesup.org>
12897 * src/gui-clipboard.c: (x_claim_clipboard): fixed one more detail.
12899 2006-10-03 Jean Brefort <jean.brefort@normalesup.org>
12901 * src/gui-clipboard.c: (x_claim_clipboard): check for imageable and
12902 exportable indepentently.
12904 2006-10-03 Jody Goldberg <jody@gnome.org>
12906 * configure.in : post release bump
12908 2006-10-02 Jody Goldberg <jody@gnome.org>
12912 2006-10-02 Jody Goldberg <jody@gnome.org>
12914 * src/func.c (function_call_with_exprs) : Iterate when we are in an
12915 array, not when non-scalars are permitted.
12917 (function_iterate_argument_values) : permit non-scalars for args that
12918 are function calls.
12920 2006-10-01 Jean Brefort <jean.brefort@normalesup.org>
12922 * src/sheet-object-graph.c: (gnm_sog_get_object_target_list):
12923 do not add image targets from there.
12925 2006-09-29 Jody Goldberg <jody@gnome.org>
12927 * component/gnumeric.c : add an include to suppress a warning.
12929 2006-09-28 Morten Welinder <terra@gnome.org>
12931 * src/clipboard.c, src/clipboard.h: undo partial list->hash
12934 2006-09-24 Jean Brefort <jean.brefort@normalesup.org>
12936 * src/sheet-object-graph.c: removed unused and deprecated header
12937 (gog-renderer-svg.h).
12939 2006-09-23 Jody Goldberg <jody@gnome.org>
12941 * configure.in : bump gsf req to 1.14.2 for some of xml fixes.
12943 2006-09-17 Jody Goldberg <jody@gnome.org>
12945 * src/application.c (gnumeric_application_setup_icons) : Add DataSlice
12948 2006-09-17 Jody Goldberg <jody@gnome.org>
12950 * src/sheet-control-gui.c (scg_select_all) : do not move the edit
12953 2006-09-16 Jody Goldberg <jody@gnome.org>
12955 * configure.in : bump the libgda version dep.
12956 We now use the fully GValue based api.
12958 2006-09-15 Morten Welinder <terra@gnome.org>
12960 * src/gnm-format.c (find_entry): Make sure floating point values,
12961 notably negative ones, get the right format. #356140.
12963 2006-09-10 Jean Brefort <jean.brefort@normalesup.org>
12965 * component/gnumeric.c: (go_plugin_init): add a call to
12966 go_components_set_mime_suffix.
12968 2006-09-08 Eduardo Lima <eduardo.lima@indt.org.br>
12970 * src/gui-file.c (gui_file_save_as): Added file type combo box to file
12971 chooser dialog for Maemo.
12972 (gui_file_open): ditto.
12974 2006-09-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
12976 * src/sheet-control-gui.c (cb_select_all_btn_expose): small display
12979 2006-09-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
12981 Update of column/row header look and fixes for rtl mode.
12983 * src/gnumeric-canvas.c (gnm_canvas_find_col): use new
12984 gnm_canvas_x_w2c function.
12985 (gnm_canvas_compute_visible_region): use gnm_canvas_x_w2c instead of
12986 removed gnm_simple_canvas_x_w2c.
12987 (gnm_canvas_redraw_range): ditto.
12988 (gnm_canvas_window_to_coord): last pixel is allocation.width - 1.
12989 * src/gnumeric-canvas.h (gnm_foo_canvas_x_w2c): new.
12990 (gnm_canvas_x_w2c): new.
12991 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c): removed.
12992 * src/item-bar.c (ib_draw_cell): change bar item look to somehting
12994 (item_bar_draw): ditto.
12995 * src/item-cursor.c (item_cursor_update): use of gnm_foo_canvas_x_w2c
12996 instead of gnm_simple_canvas_x_w2c.
12997 * src/item-edit.c (ie_layout): ditto.
12998 * src/sheet-control-gui.c (scg_redraw_headers): ditto.
12999 (scg_resize): fix for foo_canvas_set_scroll_region in rtl mode. When
13000 setting a canvas scroll region to [x0 .. x1[ , pixel x1 is not displayed.
13001 That's why we set scroll region to [-FACTOR + 1 .. +1[ in rtl mode,
13002 because we want x(ltr) = - x(rtl).
13003 (cb_select_all): removed.
13004 (cb_select_all_btn_expose): select all button is converted to a
13005 GtkDrawingArea, so we provide a custom rendering method here, in sync
13007 (cb_select_all_btn_event): new.
13008 (bar_set_left_col): use of calc_left_row_position.
13009 (gnm_canvas_set_top_row): ditto.
13010 (gnm_canvas_set_top_left): ditto.
13011 (resize_pane_pos): fix for rtl mode.
13012 (sheet_control_gui_new): select all button is converted to a
13014 (scg_scale_changed): update frozen pane handle position.
13016 2006-08-23 Christian Neumair <chris@gnome-de.org>
13018 * src/widgets/gnumeric-expr-entry.c: (cb_icon_clicked),
13019 (gee_set_property): Allow to toggle window size when clicking
13020 expression entry in dialogs.
13022 2006-08-19 Jody Goldberg <jody@gnome.org>
13024 * src/gnm-format.c (find_entry) : re-fix 142474 do not use the last
13025 element as a catch all. If nothing matches use General.
13027 * src/wbcg-actions.c (actions) : Add EditSelectAllXL with accelerator
13028 ctrl-a for backwards, and ms compat.
13029 * src/GNOME_Gnumeric-gtk.xml.in : add it to the accelerator list.
13031 2006-08-11 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
13035 * src/gnumeric-pane.c (cb_pane_drag_motion): update cursor wrt
13036 control key state of source_widget window.
13037 (gnm_pane_object_start_resize): don't duplicate sheet object here.
13038 * src/sheet-control-gui.c (scg_drag_receive_same_process): duplicate
13039 sheet object when dropping with control key pressed.
13041 2006-08-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
13043 * src/wbc-gtk.c (wbc_gtk_set_action_label): don't display "Nothing"
13044 when suffix == NULL, just prefix.
13046 2006-08-09 Eduardo Lima <eduardo.lima@indt.org.br>
13048 Port to Maemo/Hildon 2.0 (Nokia 770 OS2006).
13050 * configure.in: Clean up Maemo/Hildon configuration.
13052 * src/Makefile.am: Added $(HILDON_CFLAGS) and $(HILDON_LIBS) vars.
13054 * src/HILDON_Gnumeric-gtk.xml.in: Merged with GNOME_Gnumeric-gtk.xml.in.
13056 * src/widgets/gnumeric-expr-entry.c (gee_init): Set property "autocap"
13057 of the entry to FALSE if defined HILDON.
13059 * src/workbook-control-gui-priv.h: Using the new HildonProgram/Window
13060 API instead of the deprecated HildonApp/Appview.
13062 * src/workbook-control-gui.c: Clean up. Using the new
13063 HildonProgram/Window API instead of the deprecated HildonApp/Appview.
13065 * src/wbcg-actions.c: Clean up. Using the new HildonProgram/Window
13066 API instead of the deprecated HildonApp/Appview.
13068 (cb_edit_undo_last): New. Added in place of cb_edit_undo for action
13070 (cb_edit_redo_last): New. Added in place of cb_edit_redo for action
13073 * src/wbc-gtk.c: Clean up. Using the new HildonProgram/Window API
13074 instead of the deprecated HildonApp/Appview.
13076 * src/main-application.c: Changed gnumeric version in call to
13077 osso_initialize() if defined HILDON.
13079 * src/gui-file.c: Clean up.
13081 * src/item-grid.c: Clean up.
13083 2006-08-04 Morten Welinder <terra@gnome.org>
13085 * src/clipboard.c (paste_cell): Old cell_relocate linked the dep
13086 for us. Thus we now need to ask cell_set_expr_and_value to do that.
13087 Note: now all callers to cell_set_expr_and_value has TRUE as last
13090 2006-08-03 Morten Welinder <terra@gnome.org>
13092 * src/sheet.c (sheet_cells): Actually respect "comments" argument.
13094 * src/commands.c (cmd_paste_copy_impl): Add () to clarify.
13096 * src/sheet.c (re_render_formulas): Use sheet_cell_foreach, not
13097 SHEET_FOREACH_DEPENDENT.
13098 (sheet_set_hide_zeros): Use sheet_cell_foreach, not
13099 sheet_foreach_cell_in_range.
13100 (cb_rerender_zeroes): Adapt to sheet_set_hide_zeros change.
13101 (sheet_cells): Use sheet_cell_foreach, not
13102 sheet_foreach_cell_in_range.
13104 * src/workbook-control-gui.c (cb_workbook_debug_info): Use
13105 sheet_cell_foreach, not sheet_foreach_cell_in_range.
13107 * src/xml-sax-write.c (xml_write_cells): Use sheet_cell_foreach,
13108 not sheet_foreach_cell_in_range.
13110 * src/dependent.c (dependent_eval): Make this static. Move
13111 dependent_needs_recalc check to caller. Change to void result.
13113 * src/validation.c (validation_eval): Use cell_eval, not
13116 2006-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13118 * src/sheet.c (sheet_new_with_type): specify sheet for Print_Area
13121 2006-08-01 Morten Welinder <terra@gnome.org>
13123 * src/gui-clipboard.c (cellregion_to_string): Allocate only 1 byte
13124 per cell, not 20. Allocate further 20 bytes per non-blank cell.
13127 2006-07-31 Morten Welinder <terra@gnome.org>
13129 * src/style.c (gnm_pango_context_get): Avoid leaking font maps in
13130 the no-screen case.
13132 * src/workbook-control-gui.c (wbcg_sheet_order_changed): Fix
13133 methodology and thus probably #349255.
13135 2006-07-25 Jody Goldberg <jody@gnome.org>
13137 * src/cell.c (cell_relocate) : merge into clipboard.
13138 * src/ranges.c (range_parse) : renamed from parse_range and the
13139 original unused range_parse was deleted.
13141 * src/sheet.c (sheet_range_trim) : renamed from range_trim. It makes
13143 (sheet_range_has_heading) : renamed from range_has_header.
13145 2006-07-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13147 * src/commands.c (cmd_paste_copy_impl): don't forget comments
13148 (cmd_paste_copy): use undo_range_name rather than range_as_string
13149 to use sheet name according to preferences
13151 2006-07-18 Morten Welinder <terra@gnome.org>
13153 * src/application.c (gnm_app_workbook_get_by_name): Handle empty
13154 name. Fixes #347916.
13156 2006-07-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13158 * src/commands.c (cmd_unmerge_cells_undo): make sure we are moving the
13159 comment back into place #347536
13160 (cmd_unmerge_cells_redo): don't leave the comments behind #347536
13161 (cmd_merge_cells_undo): also put the comments back #347536
13163 2006-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13165 * src/sheet.c (sheet_get_comment): If the position is in a
13166 merged region we have to search for comments in the whole
13169 2006-07-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13171 * src/commands.c (cmd_define_name): handle _ in names used in
13174 2006-07-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13176 * src/GNOME_Gnumeric-gtk.xml.in: add print area commands to File
13178 * src/commands.c (cmd_define_name): add optional descriptor argument
13179 * src/commands.h (cmd_define_name): ditto
13180 * src/sheet.c (sheet_get_nominal_printarea): new
13181 (-sheet_get_printarea): use sheet_get_nominal_printarea
13182 * src/sheet.h (sheet_get_nominal_printarea): new
13183 * src/wbcg-actions.c (cb_file_print_area_set): new
13184 (cb_file_print_area_show): new
13185 (cb_file_print_area_sclear): new
13186 * src/workbook-control.c (wb_control_parse_and_jump): add argument
13187 to call of cmd_define_name
13189 2006-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13191 * src/gnumeric-gconf.c (go_conf_set_double): use real_key when
13192 writing the value #346433
13194 2006-07-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13196 * src/expr-name.c (expr_name_perm_add)): accept expressions rather
13198 * src/expr-name.h (expr_name_perm_add): ditto
13199 * src/print.c (compute_pages): use new sheet_get_printarea
13200 (print_sheet): ditto
13201 * src/sheet.c (sheet_get_printarea): new
13202 (sheet_new_with_type): create "Print_Area" permanent name
13203 * src/sheet.h (sheet_get_printarea): new
13205 2006-06-30 Jody Goldberg <jody@gnome.org>
13207 * src/position.c (parse_pos_init_dep) : init the col/row too for
13208 cells. Fixes relocation.
13210 2006-06-30 Morten Welinder <terra@gnome.org>
13212 * src/sheet-autofill.c (afm_compute): Fix hanlding of decresing
13213 month sequences. Fixes #346028.
13215 2006-06-28 Jody Goldberg <jody@gnome.org>
13217 * src/xml-io.c (xml_init) : down grade priority and rename the DOM
13218 exporter. We default to SAX now.
13219 (xml_read_colrow_info) : fix import.
13220 * src/gnm-plugin.c (gnm_plugin_loader_module_func_exec_action) : do
13221 not crash if there is no handler.
13223 2006-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13225 * src/dependent.c (MICRO_HASH_hash): extinguish warning #346045
13227 2006-06-29 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
13229 * plugins/excel/ms-excel-read.c (excel_read_LABEL): use opcode instead
13230 of esheet_ver to determine the offset and bit count of LABEl text
13233 2006-06-27 Jody Goldberg <jody@gnome.org>
13235 * src/colrow.c (colrow_foreach) : really fix it.
13237 2006-06-26 Jody Goldberg <jody@gnome.org>
13239 * src/colrow.c (colrow_foreach) : Fix last nights breakage.
13240 * component/gnumeric.c (cell_render_cairo) : make this compile again.
13242 2006-06-25 Jody Goldberg <jody@gnome.org>
13244 * gnumeric.xsd : update a bit.
13245 * ColRowInfo::pos : removed.
13246 * ColRowInfo::margin_a : removed.
13247 * ColRowInfo::margin_b : removed.
13248 * GnmCell::col_info : removed.
13249 * GnmValueErr::src : removed.
13251 * src/colrow.c (colrow_foreach) : Pass a new type 'GnmColRowIter' to
13252 the handler to provide a position and an info ptr. All callers
13256 (sheet_col_size_fit_pixels) : use the constant margins
13257 (sheet_row_size_fit_pixels) : ditto and add +1 for
13258 the grid line (why was this different from col_size_fit_pixels).
13259 * src/dialogs/dialog-row-height.c (dialog_row_height) : row margin is
13261 * src/dialogs/dialog-col-width.c (dialog_col_width) : ditto.
13263 * src/cell-draw.c (cell_calc_layout) : no need for ri, the margins are
13265 (cell_draw) : row margin is now constant too.
13266 (cell_finish_layout) : document height better and make the row
13269 * src/cellspan.c (row_calc_spans) : Take the position as an argument
13270 now that ColRowInfo::pos is gone. All callers changed.
13272 2006-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13274 * src/sheet.c (sheet_set_name): update the Sheet_Title name
13275 (sheet_new_with_type): Create Sheet_Title permanent name
13276 * src/expr-name.h (GnmNamedExpr): add is_permanent and is_editable
13278 (expr_name_perm_add): new
13279 * src/expr-name.c (expr_name_new): initialize new fields
13280 (expr_name_add): avoid conflicts when permanent names are (re)loaded
13282 (expr_name_perm_add): new
13284 2006-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
13286 * src/gnm-plugin.c (plugin_service_function_group_get_description):
13287 Fix ngettext call #345027
13288 (plugin_service_ui_get_description): ditto
13290 2006-06-20 Morten Welinder <terra@gnome.org>
13292 * src/stf-parse.c (stf_parse_options_guess): Explicitly try a
13293 comma. And don't crash if we fail to guess a separator. Fixes
13296 2006-06-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
13298 * samples/chart-stripe-tests.gnumeric: new.
13300 2006-06-11 Jody Goldberg <jody@gnome.org>
13302 * src/cell-draw.c (cell_calc_layout) : Take the width as an argument
13303 rather than calculating it here.
13304 (cell_draw) : width must be specified now. No more magic < 0 implies
13305 cur col width. Width convention changed to include margins.
13307 * src/search.c (search_collect_cells) : adjust to sheet_cells
13310 * src/expr.h (GnmExprRelocateInfo) : convert pos from an EvalPos to a
13311 ParsePos. One day the distinction will go away, but for now
13312 relocations do not need to know which dependent is being evaluated.
13313 * src/dependent.c (dependents_relocate) : adjust to that change.
13314 * src/sheet-autofill.c (afc_set_cell_hint) : ditto.
13316 * src/colrow.h (GNM_COL_MARGIN) : define. Margins are going away, why
13317 waste space and time looking up values that were constant.
13319 * src/cell.h : remove GnmCell::col_info.
13320 (cell_is_linked) : delete. it was only used internally this model is
13321 targeted for removal when cells move into the quadtree.
13323 * src/gnumeric.h : Change CellIterFunc signature to take a GnmCellIter
13324 in place of all the distinct arguments.
13325 * src/auto-format.c (cb_af_suggest) : Adjust to signature change.
13326 * src/clipboard.c (cb_clipboard_prepend_cell) : ditto.
13327 * src/colrow.c (cb_clear_variable_width_content) : ditto.
13328 * src/func.c (cb_iterate_cellrange) : ditto.
13329 * src/graph.c (cb_assign_val) : ditto.
13330 (cb_assign_matrix_val) : ditto.
13331 * src/print.c (cb_range_empty) : ditto.
13332 * src/ranges.c (cb_find_extents) : ditto.
13333 * src/sheet-filter.c (cb_collect_unique) : ditto.
13334 (cb_filter_expr) : ditto.
13335 (cb_filter_non_blanks) : ditto.
13336 (cb_filter_blanks) : ditto.
13337 (cb_filter_find_items) : ditto.
13338 (cb_hide_unwanted_items) : ditto.
13339 (cb_filter_find_percentage) : ditto.
13340 (cb_hide_unwanted_percentage) : ditto.
13341 * src/sheet-view.c (cb_fail_if_not_selected) : ditto.
13343 2006-06-09 Jody Goldberg <jody@gnome.org>
13345 * src/sheet-view.h (SheetView) : Add ::first_col_tab
13346 to track the first column a user used Tab to move out of.
13347 * src/sheet-view.c (sv_set_edit_pos) : reset ::first_tab_col to -1.
13348 * src/selection.c (sv_selection_walk_step) : When moving vertically in
13349 a singleton (hitting Enter) check to see if the previous movements
13350 where done with Tab, and jump back to that column. For horizontal
13351 movement (hitting Tab) store the col or restore the previous
13352 ::first_tab_col. #88167
13354 2006-05-31 Jody Goldberg <jody@gnome.org>
13356 * component/gnumeric.c (cell_render_cairo) : Just look up the
13357 col_info/row_info directly for now. It's less efficient than using
13358 GnmCell::col_info, but that is going away and this renderer will be
13359 rewritten to use GnmRenderedRegion when it is done.
13361 2006-05-31 Jody Goldberg <jody@gnome.org>
13363 * src/parser.y (gnm_expr_parse_str) : fix docs. Add new behavior.
13364 if conv is NULL use the conv from @pp::sheet
13366 * src/parse-util.c (parse_text_value_or_expr) : Use the current
13367 ExprConv associated with the ParsePosition's sheet, not
13368 gnumeric_default (fixes R1C1).
13369 (gnm_expr_parse_str_simple) : ditto.
13370 * src/ranges.c (global_range_list_parse) : ditto.
13371 * src/value.c (value_new_cellrange_str) : ditto.
13372 * src/workbook-edit.c (wbcg_edit_finish) : ditto.
13373 * src/widgets/gnumeric-expr-entry.c (gnm_expr_entry_parse) : ditto.
13375 2006-05-31 Morten Welinder <terra@gnome.org>
13377 * src/cell.c (cell_dup): Remove.
13379 2006-05-26 Jean Brefort <jean.brefort@normalesup.org>
13381 * samples/chart-tests.gnumeric: added new stepped plots samples.
13383 2006-05-25 Morten Welinder <terra@gnome.org>
13385 * src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltip
13386 for the debug button so we don't get a critical.
13388 * src/str.c (gnm_string_dump): New function for debugging.
13390 * src/dependent.c: Use new "compact set" implementation for the
13391 micro hash. Use alternative (and very efficient) storage methods
13392 for 1-element sets and for {2,3}-element sets.
13393 (micro_hash_insert): When resizing, make sure the hash table end
13394 up somewhat dense. (Since we are using a pool allocator for
13395 cells, the entries are extremely well distributed in the hash
13398 2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
13400 * samples/chart-tests.gnumeric: added series lines samples for
13403 2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
13405 * component/gnumeric.c: (go_gnm_component_set_data),
13406 (go_gnm_component_draw): use GOImage for the cairo <-> pixbuf conversion.
13407 * src/application.c: replaced gi18n.h by gi18n-lib.h.
13408 * src/clipboard.c: ditto.
13409 * src/cmd-edit.c: ditto.
13410 * src/command-context-stderr.c: ditto.
13411 * src/command-context.c: ditto.
13412 * src/commands.c: ditto.
13413 * src/consolidate.c: ditto.
13414 * src/expr-name.c: ditto.
13415 * src/expr.c: ditto.
13416 * src/file-autoft.c: ditto.
13417 * src/format-template.c: ditto.
13418 * src/func-builtin.c: ditto.
13419 * src/func.c: ditto.
13420 * src/gnm-format.c: ditto.
13421 * src/gnm-graph-window.c: ditto.
13422 * src/gnm-plugin.c: ditto.
13423 * src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): fixed a memory leak and
13425 * src/gnm-so-line.c: replaced gi18n.h by gi18n-lib.h.
13426 * src/gnm-so-polygon.c: (gnm_so_polygon_draw_cairo),
13427 (gnm_so_polygon_class_init): new draw cairo function (not implemented)
13429 * src/gnumeric-canvas.c: replaced gi18n.h by gi18n-lib.h.
13430 * src/gnumeric-pane.c: ditto.
13431 * src/gui-clipboard.c: ditto.
13432 * src/gui-file.c: ditto.
13433 * src/gui-util.c: ditto.
13434 * src/gutils.c: ditto.
13435 * src/history.c: ditto.
13436 * src/hlink.c: ditto.
13437 * src/input-msg.c: ditto.
13438 * src/item-bar.c: ditto.
13439 * src/item-cursor.c: ditto.
13440 * src/item-edit.c: ditto.
13441 * src/libgnumeric.c: ditto.
13442 * src/mathfunc.c: ditto.
13443 * src/number-match.c: ditto.
13444 * src/parser.y: ditto.
13445 * src/pivottable.c: ditto.
13446 * src/print-info.c: ditto.
13447 * src/print.c: ditto.
13448 * src/ranges.c: ditto.
13449 * src/search.c: ditto.
13450 * src/selection.c: ditto.
13451 * src/session.c: ditto.
13452 * src/sheet-autofill.c: ditto.
13453 * src/sheet-control-gui.c: ditto.
13454 * src/sheet-filter.c: ditto.
13455 * src/sheet-merge.c: ditto.
13456 * src/sheet-object-graph.c: ditto.
13457 * src/sheet-object-image.c: ditto.
13458 * src/sheet-object-widget.c: ditto.
13459 * src/sheet-object.c: ditto.
13460 * src/sheet-style.c: ditto.
13461 * src/sheet-view.c: ditto.
13462 * src/sheet.c: ditto.
13463 * src/stf-export.c: ditto.
13464 * src/stf-parse.c: ditto.
13465 * src/stf.c: ditto.
13466 * src/style.c: ditto.
13467 * src/validation.c: ditto.
13468 * src/value-sheet.c: ditto.
13469 * src/value.c: ditto.
13470 * src/wbc-gtk.c: ditto and set translation domain for actions.
13471 * src/wbcg-actions.c: replaced gi18n.h by gi18n-lib.h.
13472 * src/widgets/gnm-dao.c: ditto.
13473 * src/widgets/gnumeric-expr-entry.c: ditto.
13474 * src/widgets/gnumeric-lazy-list.c: ditto.
13475 * src/widgets/widget-font-selector.c: ditto.
13476 * src/workbook-cmd-format.c: ditto.
13477 * src/workbook-control-gui.c: ditto.
13478 * src/workbook-control.c: ditto.
13479 * src/workbook-edit.c: ditto.
13480 * src/workbook-view.c: ditto.
13481 * src/workbook.c: ditto.
13482 * src/xml-io.c: ditto.
13483 * src/xml-sax-read.c: ditto.
13485 2006-05-22 Morten Welinder <terra@gnome.org>
13487 * src/workbook-edit.c (wbcg_edit_start): Handle scientific as
13488 other number formats.
13490 2005-05-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
13492 * src/gui-clipboard.c (image_write): set a resolution, which will be
13493 used when pasting graph from gnumeric in raster format.
13495 2006-05-18 Morten Welinder <terra@gnome.org>
13497 * src/workbook-control-gui.c (cb_share_a_cell): Reinstate code.
13499 * src/expr.c (gnm_expr_sharer_new): Renamed from
13500 expr_tree_sharer_new. Class renamed from ExprTreeSharer to
13502 (gnm_expr_sharer_destroy): Renamed from expr_tree_sharer_destroy.
13503 (gnm_expr_sharer_share): Renamed form expr_tree_sharer_share and
13504 changed to use GnmExprTop.
13506 2006-05-15 Morten Welinder <terra@gnome.org>
13508 * src/gnm-graph-window.c: Handle missing GTK_STOCK_FULLSCREEN and
13509 GTK_STOCK_LEAVE_FULLSCREEN.
13511 2006-05-14 Jean Brefort <jean.brefort@normalesup.org>
13513 * component/gnumeric.c: (cairo_to_pixbuf): fixed and renamed,
13514 (go_gnm_component_set_data): use current selection as displayed area,
13515 (cell_render): set colors in the correct (RGB) order,
13516 (go_gnm_component_draw): skip hidden rows and columns,
13517 (go_gnm_component_print): print sheet objects,
13518 (go_gnm_component_init): updated,
13519 (go_gnm_component_class_init): removed unused properties.
13520 * src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): don't use cairo if
13521 GOFFICE_WITH_CAIRO is not defined.
13522 * src/gnm-so-line.c: (gnm_so_line_print): use correct color,
13523 (gnm_so_line_draw_cairo): implemented,
13524 (gnm_so_line_class_init): add draw_cairo.
13525 * src/sheet-object-graph.c: (gnm_sog_draw_cairo): implemented,
13526 (gnm_sog_class_init): add draw_cairo.
13527 * src/sheet-object.c: (sheet_object_draw_cairo): don't use cairo if
13528 GOFFICE_WITH_CAIRO is not defined.
13530 2006-05-13 Jean Brefort <jean.brefort@normalesup.org>
13532 * src/expr.c: (ets_hash): use G_POINTER_TO_UINT instead of a cast
13533 (fixes a warning for 64 bits processors).
13535 2006-05-13 Jody Goldberg <jody@gnome.org>
13537 * component/gnumeric.c : patch some warnings and make some comments.
13539 * src/gnumeric-pane.c (display_object_menu) : Use the new
13540 sheet_object_populate_menu and clarify that so and event can be
13542 (cb_pane_popup_menu) : if objects are selected use
13543 display_object_menu.
13545 * src/sheet-object.c (sheet_object_populate_menu) : new and public.
13546 (sheet_object_populate_menu_real) : renamed from sheet_object_populate_menu
13547 and make smarter to be able to handle so == NULL.
13549 * src/gnumeric-canvas.c (gnm_canvas_class_init) : delete some unused
13552 * src/clipboard.c (clipboard_copy_obj) : tidy up a bit, and prepare to
13553 clean out the odd GObject data usage.
13555 * src/sheet-control-gui.c (scg_object_coords_to_anchor) : set the
13558 * src/wbcg-actions.c (permanent_actions) : Make Save and Save-As
13559 permanent so that the user can always save.
13561 * src/xml-sax-write.c (gnm_xml_file_save) : accept saving to unnamed
13564 2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
13566 * component/gnumeric.c: (go_gnm_component_print): implemented.
13568 2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
13570 * Makefile.am: add component directory.
13571 * component/Gnumeric-embed.xml.in: add a goffice component.
13572 * component/Makefile.am: ditto.
13573 * component/gnumeric.c: ditto.
13574 * component/plugin.xml.in: ditto.
13575 * configure.in: add support for the component.
13576 * src/gnm-plugin.c: make GnmPluginLoaderModule public.
13577 * src/gnm-so-filled.c: (gnm_so_filled_draw_cairo),
13578 (gnm_so_filled_class_init): render using cairo.
13579 * src/sheet-object-impl.h: add a draw_cairo method.
13580 * src/sheet-object.c: (sheet_object_draw_cairo): implement the
13582 * src/sheet-object.h: ditto.
13583 * src/wbc-gtk.c: (wbc_gtk_init): add support for customized ui.
13585 2006-05-11 Christian Neumair <chris@gnome-de.org>
13588 * src/gnm-graph-window.c:
13589 * src/gnm-graph-window.h:
13590 * src/sheet-object-graph.c:
13591 Add graph window for displaying graph in separate windows, add
13592 action to graph context menu.
13594 2006-05-10 J.H.M. Dassen (Ray) <jdassen@debian.org>
13596 * configure.in: Bumped goffice dependency to reflect that goffice HEAD
13597 is needed as building against goffice 0.3.0 now fails.
13599 2006-05-09 Jody Goldberg <jody@gnome.org>
13601 * src/workbook-view.c (wbv_save_to_output) : new function broken out
13602 of wbv_save_to_uri for convenience. This API will change.
13605 (sheet_insert_cols) : make reloc_storage arg optionally NULL.
13606 (sheet_delete_cols) : ditto.
13607 (sheet_insert_rows) : ditto.
13608 (sheet_delete_rows) : ditto.
13610 2006-05-08 Morten Welinder <terra@gnome.org>
13612 * src/style.c (style_font_new_simple): Copy font description
13613 early. We aren't supposed to touch the result of
13614 pango_context_get_font_description!
13615 (gnm_font_metrics_new, gnm_font_metrics_free): Moved to goffice.
13617 * src/style-font.h: Add GOFont and GOFontMetrics members. Remove
13618 PangoFontDescription member.
13620 2006-05-08 Jody Goldberg <jody@gnome.org>
13622 * configure.in : post release bump
13624 2006-05-08 Jody Goldberg <jody@gnome.org>
13628 2006-05-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
13630 * configure.in: Ensure pkg-config is recent enough to support private
13632 * libspreadsheet-1.7.pc.in: libart-2.0 is not being exposed by
13633 libspreadsheet's headers; mark it as private.
13635 2006-05-06 Morten Welinder <terra@gnome.org>
13637 * src/commands.c (cmd_autofill_redo): Fit columns.
13639 2006-05-06 Jody Goldberg <jody@gnome.org>
13641 * libspreadsheet-1.7.pc.in : new.
13642 * configure.in : Add it.
13643 * src/Makefile.am : install headers. When we move to subversion we
13644 can move the path around a bit, with cvs too much surgery would be
13647 2006-05-05 Jody Goldberg <jody@gnome.org>
13649 * src/dependent.h : s/DependentClass/GnmDependentClass/ to be
13652 2006-05-04 Morten Welinder <terra@gnome.org>
13654 * src/item-cursor.c (item_cursor_selection_event): Add help
13655 messages explaining what is going on.
13656 (cb_autofill_scroll): Fix hint for inverse autofill.
13658 2006-05-03 Morten Welinder <terra@gnome.org>
13660 * src/commands.c (cmd_autofill_redo): Improve selection.
13662 * src/sheet-autofill.c (sheet_autofill_hint): New function.
13663 (sheet_autofill_internal): Split out from sheet_autofill.
13664 (afm_teach_cell): Deduce dateconv here instead of as an init
13666 (afa_teach_cell): Deduce dateconv here.
13667 (afa_set_cell): Set format correctly.
13669 * src/item-cursor.c (cb_autofill_scroll): Display autofill hint.
13670 (item_cursor_selection_event): Store button state.
13671 (item_cursor_autofill_event): Use CONTROL state as-of when we
13672 started the drag, not when we ended it.
13674 * src/cell-draw.c (cell_finish_layout): Add parameter to allow
13675 inhibiting numerical overflow. All callers changed.
13677 2006-05-02 Morten Welinder <terra@gnome.org>
13679 * src/sheet.c (cb_max_cell_width, cb_max_cell_height): Call
13680 cell_finish_layout. Fixes #67351.
13682 * src/cell-draw.c (cell_finish_layout): Split out...
13683 * src/print-cell.c (print_cell): ...here.
13685 * src/rendered-value.c (rendered_value_new): Wrap texts only.
13687 * src/main-application.c (main): Gracefully handle missing
13688 AttachConsole. #332975. Modeled after patch by Harun Vos.
13690 * src/workbook.c (workbook_dispose): Remove debug code that no
13691 longer does anything but cause criticals.
13693 2006-04-30 Jody Goldberg <jody@gnome.org>
13695 * src/Makefile.am : remove unused code associated with bonobo. People
13696 can pull it from cvs archives if desired.
13699 : sheet-object-bonobo.c
13700 : sheet-object-bonobo.h
13701 : sheet-object-container.c
13702 : sheet-object-container.h
13703 : sheet-object-item.c
13704 : sheet-object-item.h
13706 2006-05-01 Morten Welinder <terra@gnome.org>
13708 * src/print-cell.c (print_cell): Always call the display logic for
13709 the cells as that can change the layouts. (And do it right while
13712 * src/rendered-value.c (rendered_value_new): Expand
13713 rendered_value_render and setup the layout fully before rendering.
13714 Fix latent allocation problem. Fix border case of filling strings
13715 that have number formats.
13717 2006-04-29 Morten Welinder <terra@gnome.org>
13719 * src/wbcg-actions.c: Put a decent status bar message for full
13722 2006-04-30 Jody Goldberg <jody@gnome.org>
13724 * src/mstyle.c (gnm_style_is_complete) : implement.
13726 * src/sheet-style.c (sheet_style_get) : returns a const to make it
13727 clear not to touch the result.
13728 * src/workbook-view.c (wb_view_format_feedback) : update.
13729 * src/workbook-edit.c (wbcg_edit_finish) : update.
13731 * src/cell.c (cell_dup) : renamed from cell_copy to be more consistent
13732 about naming, and mark as deprecated.
13734 2006-04-29 Jody Goldberg <jody@gnome.org>
13736 * src/workbook-view.c (wb_view_get_index_in_wb) : new for xlsx export.
13738 * src/selection.h (sv_selection_foreach) : renamed from
13739 selection_foreach_range. All callers changed.
13740 * src/selection.c (sv_selection_add_full) : renamed from
13741 sv_selection_add_range to be clearer.
13742 (sv_selection_add_range) : new utility that takes a ... GnmRange.
13744 * src/sheet-view.h : SheetView::selections make this a GSList, no need
13745 for a GList. This makes the api more homogeneous.
13747 * src/cell.c (cell_get_style) : constify the result and rename from
13750 * src/ranges.c (range_as_string) : renamed from range_name. All
13753 * src/style-conditions.c (gnm_style_conditions_eval) : tack on hooks
13754 for some of the new condition types in office 12.
13756 2006-04-27 Morten Welinder <terra@gnome.org>
13758 * src/commands.c (cmd_clone_sheet): Remove.
13760 * src/wbcg-actions.c (cb_edit_duplicate_sheet): Remove.
13762 * src/workbook-control-gui.c (wbcg_clone_sheet): New function,
13763 based on cmd_reorganize_sheets.
13764 (sheet_action_clone_sheet): Just call wbcg_clone_sheet.
13766 * src/workbook-edit.c (wbcg_edit_start): Issue a warning if the
13767 cell has text format, but contains anything but a string.
13769 * src/wbc-gtk.c (wbc_gtk_init_zoom): Add stock_id. Not a perfect
13770 match, but close enough.
13772 2006-04-26 Morten Welinder <terra@gnome.org>
13774 * src/style.c (gnm_font_metrics_new, gnm_font_metrics_free,
13775 gnm_font_metrics_unit): New font metrics setup.
13777 * src/sheet.c (sheet_col_get_distance_pixels): New function.
13779 * src/cell.c (cell_get_render_color, cell_get_entered_text,
13780 cell_rendered_height, cell_rendered_width, cell_rendered_offset):
13781 Moved from src/rendered-value.c.
13783 * src/gnm-format.c (gnm_format_layout, gnm_format_general): New
13785 (format_value_gstring): Use gnm_format_general.
13787 * src/rendered-value.c (rendered_value_render): Calculate column
13788 widths in pixels and use gnm_format_layout to get accurate
13789 rendering. Take layout instead of string.
13790 (rendered_value_new): Set attributes before the call to
13791 rendered_value_render.
13793 * src/hlink.c (gnm_hlink_cur_wb_activate): Prevent a critical.
13796 2006-04-25 Morten Welinder <terra@gnome.org>
13798 * src/mstyle.c (gnm_style_get_font): Don't ref the font. All
13801 2006-04-24 Morten Welinder <terra@gnome.org>
13803 * */*.c: Avoid lots of includes of <gnm-format.h>
13805 2006-04-23 Morten Welinder <terra@gnome.org>
13807 * src/commands.c (cmd_reorganize_sheets): Rename from
13808 cmd_reorganize_sheets2. Take extra argument optionally specifying
13809 the front sheet before the action.
13810 (cmd_reorganize_sheets_undo, cmd_reorganize_sheets_redo): Raise
13811 relevant sheet. Fixes #154705.
13813 2006-04-21 Morten Welinder <terra@gnome.org>
13815 * src/stf-parse.c (stf_parse_options_guess): If we guessed a space
13816 separator that implies we want initial separators ignored.
13817 Further, space implies tab.
13818 (stf_parse_options_csv_set_trim_seps): New function.
13819 (stf_parse_csv_line): Ignore initial separators if asked to.
13822 2006-04-20 Morten Welinder <terra@gnome.org>
13824 * src/stf-parse.c (stf_parse_options_guess): When we guess a space
13825 as separators, make two count as one. Fixes #332997.
13827 * src/wbc-gtk.c (wbc_gtk_init_zoom, wbc_gtk_init_font_size,
13828 wbc_gtk_init_font_name): Add tooltip. Together with goffice patch,
13829 this fixes #339122.
13831 2006-04-19 Morten Welinder <terra@gnome.org>
13833 * src/commands.c (cmd_paste_copy_impl, cmd_autofill_undo,
13834 cmd_copyrel_undo, cmd_text_to_columns_impl, cmd_paste_cut_redo,
13835 cmd_paste_cut_undo): Simplify using select_range.
13836 (cmd_set_text_undo, cmd_set_text_redo): Call select_range.
13837 (cmd_clear_undo): Simplify using select_selection.
13838 (cmd_clear_redo, cmd_format_redo, cmd_format_undo): Call
13840 (select_range, select_selection): New functions.
13842 2005-04-19 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
13844 * src/gui-clipboard.c (image_write): sheet_object_write_image takes an
13845 extra parameter for export resolution.
13846 * src/sheet-control-gui.c (scg_drag_send_image): ditto.
13847 * src/sheet-object-image.c (gnm_soi_write_image): ditto.
13848 * src/sheet-object-impl.h: ditto.
13849 * src/sheet-object.c (sheet_object_write_image): ditto.
13850 * src/sheet-object-graph.c (gnm_sog_write_image): ditto.
13851 (sog_cb_save_as): ditto. Get resolution from gui_get_image_save_info.
13853 2006-04-19 Morten Welinder <terra@gnome.org>
13855 * src/sheet.c (sheet_apply_style): Don't re-fit heights here.
13856 Don't redraw twice.
13857 (sheet_apply_border): Don't redraw twice.
13858 (cb_max_cell_height): Drop cheap hack that didn't work on
13861 * src/commands.c (cmd_format_undo): Undo in reverse order of redo.
13862 (cmd_format_redo): Use colrow_autofit.
13864 2006-04-19 Morten Welinder <terra@gnome.org>
13866 * src/commands.c (cmd_set_text_redo): Autofit row heights for
13869 * src/sheet.c (sheet_col_size_fit_pixels): Add extra argument to
13870 control whether to ignore strings. All callers changed.
13871 (sheet_row_size_fit_pixels): Similarly.
13873 2006-04-18 Morten Welinder <terra@gnome.org>
13875 * src/commands.c (cmd_set_text_redo): Autofit column based on
13878 * src/sheet.c (sheet_col_size_fit_pixels): Take two extra
13879 arguments specifying the row interval to look at. All callers
13881 (sheet_row_size_fit_pixels): Similarly.
13883 * src/colrow.c (colrow_autofit): New primitive to autofit columns
13884 or rows based on the size of a range.
13885 (rows_height_update): This is now a special case of
13888 2006-04-18 Morten Welinder <terra@gnome.org>
13890 * src/workbook-view.c (wb_view_save_as, wb_view_save,
13891 wb_view_sendto): Hold a ref to the workbook while the save is in
13892 progress. Makes #338847 go away, even if the underlying cause has
13895 * src/wbc-gtk.c (cb_regenerate_window_menu): Safely handle a
13896 control that no longer has a view (and thus a workbook).
13898 * src/workbook-control.c (wb_control_get_workbook): Handle NULL
13900 * src/workbook-control-gui.c (wbcg_view_changed): Simplify after
13903 2006-04-16 Jody Goldberg <jody@gnome.org>
13905 * gnumeric.desktop.in : Add mimetype for MS Office 12.
13906 * po/POTFILES.in : add xlsx-read.c
13908 2006-04-16 Jon K Hellan <hellan@acm.org>
13910 * src/stf-export.c: Include locale.h to make it build again.
13912 2006-04-15 Morten Welinder <terra@gnome.org>
13914 * src/workbook-control.c (workbook_control_class_init): Add a
13917 * src/workbook-view.c (wb_view_attach_control,
13918 wb_view_detach_control): Use g_object_set instead of poking
13919 directly into wbc->wb_view. That's cleaner and will fire the
13922 * src/workbook-control-gui.c (wbcg_view_changed): Install and
13923 disconnect workbook signals here. Watch changes to "view" (which
13924 implies changes to underlying workbook) and reconnect signals.
13925 (wbcg_create): Call wbcg_view_changed to update title and watch
13928 * src/stf-export.c (gnm_stf_export_class_init): New "locale"
13930 (stf_export): Switch locale during actual export.
13932 2006-04-15 Jody Goldberg <jody@gnome.org>
13934 * plugins/fn-info/functions.c : Add HALIGN_DISTRIBUTED and resync a
13936 * plugins/html/latex.c (latex2e_write_multicolumn_cell) : ditto.
13937 * plugins/html/roff.c (roff_file_save) : ditto.
13938 * plugins/plan-perfect/pln.c (pln_get_style) : ditto.
13939 * src/cellspan.c (cell_calc_span) : ditto.
13940 * src/rendered-value.c (rendered_value_new) : ditto.
13941 * src/dialogs/cell-format.glade : ditto.
13942 * src/dialogs/dialog-cell-format.c : ditto.
13943 * plugins/html/html.c (write_cell) : add HALIGN_DISTRIBUTED and fix
13944 VALIGN_DISTRIBUTED.
13945 * src/cell-draw.c (cell_calc_layout) : ditto.
13946 * src/item-edit.c (get_top_left) : ditto.
13948 2006-04-13 Morten Welinder <terra@gnome.org>
13950 * src/gnm-style-impl.h (GnmStyle): Rename content_locked to
13951 contents_locked and content_hidden to contents_hidden. All users
13954 * src/clipboard.h (GnmCellRegion): Rename content to contents and
13955 not_as_content to not_as_contents. All users changed.
13957 * src/mstyle.c (gnm_style_get_contents_locked,
13958 gnm_style_get_contents_hidden, gnm_style_set_contents_locked,
13959 gnm_style_set_contents_hidden): Renamed from _content_.
13960 All callers changed.
13962 * src/clipboard.c (cellregion_cmd_size): New function.
13964 * src/commands.c (cmd_sort_undo): Do this by pasting old contents.
13967 * src/sheet-autofill.c (sheet_autofill_dir): Add support for
13968 quarters. Fixes #61650.
13969 (auto_filler_list): Number is fixed-width.
13971 2006-04-12 Morten Welinder <terra@gnome.org>
13973 * src/expr.c (bin_arith): Don't look closely if the result is an
13974 int because it no longer matters.
13976 * src/number-match.c (format_match_decimal_number): Fix FMR.
13977 (format_match_simple): Don't do the integer dance. (And don't do
13978 it with two left feet either.)
13980 2006-04-11 Morten Welinder <terra@gnome.org>
13982 * src/number-match.c (format_match): When we currently have a date
13983 format, don't try to match a time. This has the effect of not
13984 having "2005" interpreted as about 8 O'clock.
13985 (format_match_datetime): Handle 2005/5 and 5/2005 too.
13987 2006-04-07 Morten Welinder <terra@gnome.org>
13989 * src/test-harness.c (main): Don't use value_get_as_int.
13991 * src/workbook-edit.c (wbcg_edit_start): Standardize formats for
13992 time and date entry too.
13994 * src/rendered-value.c (rendered_value_render): Do not convert to
13995 unicode minus if the format is date.
13997 * src/expr-name.c (expr_name_set_expr): Queue deps for recalc.
13998 Fixes rest of #312610.
14000 * src/workbook-edit.c (wbcg_edit_start): Reformat numbers as
14001 general for editing so we don't hide decimals. Kill extra spaces
14002 for fraction formats. Improve cursor positioning for percentages.
14004 * src/commands.c (cmd_remove_name): New function.
14006 2006-04-06 Jody Goldberg <jody@gnome.org>
14008 * src/sheet-control-gui.c (scg_image_create) : dragging in a new image
14009 should not resize existing objects being edited, drag back to
14010 sheet_mode before creation.
14012 2006-04-06 Morten Welinder <terra@gnome.org>
14014 * src/gui-util.c (gnumeric_keyed_dialog): Guess alternative button
14017 2006-04-06 Jody Goldberg <jody@gnome.org>
14019 http://bugzilla.gnome.org/show_bug.cgi?id=314866
14020 * src/sheet-control-gui.c (scg_drag_receive_same_process) : store the
14021 current position as the original before we commit.
14022 * src/gnumeric-pane.c (cb_pane_drag_end) : restore the ctrl points to
14023 the 'original' position in case the drag was canceled. Hence the
14024 magic in scg_drag_receive_same_process.
14025 (cb_pane_drag_leave) :
14027 2006-04-05 Morten Welinder <terra@gnome.org>
14029 * src/rendered-value.c (rendered_value_render): Resolve formats
14030 the same way as cell_get_format.
14032 2006-04-05 Jody Goldberg <jody@gnome.org>
14034 * src/wbcg-actions.c : Use shift/ctrl space for select col/row/all
14035 even though this is just for show. The accels are handled
14036 in gnumeric-canvas.
14037 * src/gnumeric-canvas.c (gnm_canvas_key_press) : re-organize to
14038 clarify when to handle things.
14039 (gnm_canvas_colrow_key_press) : new.
14041 2006-04-05 Jody Goldberg <jody@gnome.org>
14043 * src/wbcg-actions.c (cb_help_docs) : Use 'yelp help:gnumeric'
14044 * gnumeric.desktop.in (DocPath) : add an entry so that things show up
14045 in yelp (at least for suse 10.1)
14047 2006-04-01 Jody Goldberg <jody@gnome.org>
14049 http://bugzilla.gnome.org/show_bug.cgi?id=336212
14050 * src/func.c (function_iterate_argument_values) : This is ugly but it
14051 seems to do the right thing. We can not just assume that args to
14052 vararg functions should be evaluated as non-scalars. It is more
14053 subtle. Simple range_refs (direct or via a name) are non-scalar,
14054 but general expressions that use a range (A1:A10=3) evaluate
14055 depending on the top level mode, and honor implicit
14056 intersecion/iteration.
14058 * src/position.h : Replace the cols/rows elemnts of GnmEvalPos with a
14059 GnmExprArrayCorner pointer. This allows us to differentiate normal
14060 evaluation and singleton arrays. As a side benefit it uses less
14061 memory no 32bit architecture which is important as long as we still
14062 use recusion for the recalc queue.
14064 * src/position.c (eval_pos_init) : adjust to GnmEvalPos change.
14065 (eval_pos_init_pos) : ditto.
14066 (eval_pos_init_dep) : ditto.
14067 (eval_pos_init_cell) : ditto.
14068 (eval_pos_init_sheet) : ditto.
14069 * src/expr.c (gnm_expr_eval) : ditto.
14070 * src/func-builtin.c (gnumeric_table_link) : ditto.
14071 (gnumeric_table) : ditto.
14072 * src/dependent.c (link_expr_dep) : ditto.
14073 * plugins/fn-lookup/functions.c (gnumeric_row) : ditto.
14074 (gnumeric_col) : ditto.
14076 2006-04-01 Jody Goldberg <jody@gnome.org>
14078 * src/xml-sax-write.c : Add include to suppress warning.
14080 2006-04-05 Morten Welinder <terra@gnome.org>
14082 * src/search.c (gnm_search_replace_cell): Only force strings to
14083 remain as strings if asked to.
14084 (gnm_search_replace_class_init): New property
14085 replace-keep-strings.
14087 * src/commands.c (cmd_search_replace_do_cell): Fix error
14088 expression handling to go through expressions.
14089 (cmd_search_replace_do_cell): Plug leak in make-string case.
14091 2006-04-04 Morten Welinder <terra@gnome.org>
14093 * src/xml-io.c (xml_cellregion_read): Switch to C locale while
14094 parsing. Fixes #337215.
14096 * src/parser.y (array_exp): Handle explicit "+" sign.
14098 2006-03-31 Morten Welinder <terra@gnome.org>
14100 * */*.c: Get rid of VALUE_INTEGER. It was a nice idea, but
14101 getting the semantics right meant doing everything twice, in code
14102 as well as at runtime. Note, that the magic enum value (30) is
14103 still understood by value_new_from_string so we can still read old
14106 2006-03-31 Morten Welinder <terra@gnome.org>
14108 * src/mathfunc.c (gcd): Remove.
14109 * src/sheet-view.c (sv_get_control): Remove.
14110 * src/stf-parse.c (stf_parse_options_remove_line_terminator): Remove.
14111 * src/value.c (value_new_error_RECALC, value_array_resize): Remove.
14113 * src/workbook-view.c (wb_view_sheet_remove): Remove.
14114 * src/ranges.c (range_adjacent, range_merge, range_is_infinite,
14115 gnm_sheet_range_dup): Remove.
14116 * src/sheet-control-gui.c (scg_toplevel): Remove.
14118 * src/print-info.c (hf_formats_base_num): Make static.
14119 * src/number-match.c (datetime_locale): Make static.
14121 2006-03-30 Morten Welinder <terra@gnome.org>
14123 * */*.c: Use VALUE_IS_STRING, VALUE_IS_ERROR, VALUE_IS_BOOLEAN,
14124 and VALUE_IS_EMPTY when appropriate.
14126 * */*.c: Reduce the use of VALUE_INTEGER.
14127 * parser.y: Fix parser crash for ={-#N/A}.
14129 * src/expr.c (negate_value): Simplify.
14130 (bin_arith): Simplify and handler overflow better.
14132 * src/cell.c (cell_is_zero): Simplify.
14134 * src/gui-util.c (entry_to_int): Accept floating point values as
14135 long as they hold integers of the right magnitude.
14137 2006-03-29 Morten Welinder <terra@gnome.org>
14139 * src/expr.c (gnm_expr_top_get_array_corner,
14140 gnm_expr_top_is_array_elem): New functions.
14142 2006-03-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
14144 * src/libgnumeric.c (gnm_common_init, gnm_shutdown),
14145 src/number-match-test.c (main): Dropped calls to format_match_init and
14146 format_match_finish.
14148 2006-03-29 Morten Welinder <terra@gnome.org>
14150 * src/number-match.c (format_match_finish, format_match_init):
14153 2006-03-28 Morten Welinder <terra@gnome.org>
14155 * src/sheet-autofill.c (sheet_autofill_dir): Reimplement sanely.
14156 (autofill_shutdown): New function.
14158 * src/libgnumeric.c (gnm_shutdown): Hook up autofill_shutdown.
14160 * src/number-match.c (datetime_locale_setup): Use
14161 go_date_month_name.
14163 * src/sheet.c (cb_cell_is_array): Redo in terms of cell_is_array.
14164 (cb_sheet_cell_copy): Simplify using cell_is_array_corner.
14166 2006-03-28 Eduardo Lima <eduardo.lima@indt.org.br>
14168 * src/gui-file.c (gui_wb_view_show) : Fixed compile error if defined
14169 USE_HILDON. Added some comments.
14170 * src/wbgc-actions.c (cb_file_new) : Fixed compile error if defined
14171 USE_HILDON. Added some comments. Code cleanup.
14173 2006-03-27 Jody Goldberg <jody@gnome.org>
14175 * src/value-sheet.c (value_area_get_x_y) : document that this does a
14176 cell_eval for range constants.
14178 2006-03-27 Morten Welinder <terra@gnome.org>
14180 * src/expr.c (gnm_expr_top_new_array_corner,
14181 gnm_expr_top_new_array_elem): New function.
14182 (gnm_expr_new_array_corner, gnm_expr_new_array_elem): Make static.
14183 All callers changed to _top_ versions.
14185 2006-03-24 Jody Goldberg <jody@gnome.org>
14187 * src/wbcg-actions.c (cb_auto_filter) : adding an autofilter dirties
14191 * src/sheet-object-widget.c
14192 * src/workbook-control-gui.c
14193 * src/dialogs/dialog-autoformat.c
14194 * src/dialogs/dialog-stf-preview.c : use g_object_ref_sink if it is
14197 * src/gnm-so-polygon.c (gnm_so_polygon_set_property) : minor safety
14200 2006-03-23 Morten Welinder <terra@gnome.org>
14202 * src/gnm-datetime.c (datetime_value_to_g): Check validity of
14205 2006-03-22 Jody Goldberg <jody@gnome.org>
14207 * src/graph.c (gnm_go_data_vector_get_value) : handle blanks without
14210 2006-03-16 Jody Goldberg <jody@gnome.org>
14212 * Makefile.am : Drop the .server, .keys, and .mime files as obsolete.
14214 2006-03-14 Jody Goldberg <jody@gnome.org>
14216 * src/sheet.c (sheet_dup) : dup the properties too.
14218 2006-03-22 Morten Welinder <terra@gnome.org>
14220 * src/validation.c (validation_eval): Clean this up. Handle
14221 errors, strings and booleans better.
14223 * src/sheet-filter.c (filter_expr_eval): Fix last fix.
14225 * src/validation.c (cb_validate_custom): Use value_compare, not
14226 value_equal. Fixes #114086 and makes string match caseless too.
14228 * src/workbook-control-gui.c (edit_area_button): Set tooltips
14230 (wbcg_create_edit_area): Make the line that contains the edit area
14231 a gtktoolbar so it themes like one.
14233 2006-03-21 Morten Welinder <terra@gnome.org>
14235 * src/parse-util.c (wb_rel_uri): New function to produce relative
14236 URIs for inter-workbook references.
14238 2006-03-19 Morten Welinder <terra@gnome.org>
14240 * src/value.c (value_diff): Merge integer and floating-point cases
14241 thus fixing an overflow.
14243 2006-03-18 Jody Goldberg <jody@gnome.org>
14245 * src/graph.c (gnm_go_data_vector_get_value) : init valid to false
14246 in case value_coerce_to_number fails and does not set it.
14248 * src/gnumeric-pane.c (cb_sheet_object_view_destroyed) : handle life
14251 2006-03-18 Morten Welinder <terra@gnome.org>
14253 * src/gnumeric-pane.c (cb_sheet_object_view_destroyed): Fix crash
14254 exposed by foocanvas fixes. [#335052]
14256 * src/mathfunc.c (combin, permut): Changed parameter types to
14259 * src/parse-util.c (wbref_parse): Take reference wb in case a URI
14260 is relative. All callers changed.
14262 * src/application.c (cb_workbook_uri): Renamed from
14264 (gnm_app_workbook_get_by_uri): Renamed from
14265 gnm_app_workbook_get_by_name.
14266 (gnm_app_workbook_get_by_name): New function that tries URI,
14267 absolute filename, and relative URI.
14269 2006-03-17 Morten Welinder <terra@gnome.org>
14271 * src/application.c (gnm_app_workbook_get_by_index,
14272 gnm_app_workbook_get_by_name): s/close/closure/. (The former is
14274 (cb_workbook_index): Actually set a result.
14276 * src/item-edit.c (item_edit_dispose): Rename from
14277 item_edit_finalize and hook up as such. Otherwise it may not get
14279 * src/item-bar.c (item_bar_dispose): Ditto.
14281 * src/preview-grid.c (preview_grid_dispose): Rename from
14282 preview_grid_destroy and hook up as such.
14284 2006-03-16 Morten Welinder <terra@gnome.org>
14286 * src/style-border.h (STYLE_BORDER_LOCATION_TO_STYLE_ELEMENT): New
14287 translation macro that produces a value of the right type.
14289 * src/wbc-gtk.c (cb_border_activated): Use STYLE_BORDER_LEFT, not
14290 MSTYLE_BORDER_LEFT, for argument to style_border_get_orientation!
14293 * src/cell.c (cell_copy): Silence a "sparse" warning.
14295 * src/wbcg-actions.c (wbcg_set_selection_valign): Compare valign
14296 with the result of gnm_style_get_align_v, not
14297 gnm_style_get_align_h.
14299 * src/cell.h (cell_eval): Fix "sparse" warning and add "do { }
14302 * src/auto-format.c (do_af_suggest): Don't compare value types
14303 against GNM_EXPR_OP_ARRAY_CORNER and GNM_EXPR_OP_ARRAY_ELEM.
14305 * src/gnm-style-impl.h (GnmStyle): The v_align is not of type
14308 * src/xml-sax-read.c (xml_sax_object_start): Use NULL, not FALSE.
14309 * src/xml-io.c (xml_read_sheet_object): Ditto.
14310 * src/expr.c (gnm_expr_top_is_err): Ditto.
14312 2006-03-15 Morten Welinder <terra@gnome.org>
14314 * src/collect.c (float_range_function2): When things are being
14315 stripped away, adjust the number of data pairs. Fixes #334591.
14317 2006-03-14 Morten Welinder <terra@gnome.org>
14319 * src/expr.c (gnm_expr_rewrite): Use gnm_expr_new_funcallv and
14321 (gnm_expr_new_funcallv, gnm_expr_new_setv): New functions.
14322 (gnm_expr_free): Renamed from gnm_expr_unref. Always to deep
14323 free. All callers changed.
14324 (gnm_expr_copy): Deep copy.
14326 * src/clipboard.c (paste_cell_with_operation): Build a regular
14327 expressions. No hacks.
14329 * src/collect.c (collect_floats): When collecting info, walk over
14332 * src/expr.c (gnm_expr_top_unwrap): Remove. All callers changed.
14334 * src/preview-grid.c (preview_grid_destroy): Renamed from
14335 preview_grid_finalize and hooked up as destroy handler. This
14336 breaks ref cycles and thus plugs leaks.
14338 2006-03-13 Morten Welinder <terra@gnome.org>
14340 * src/xml-io.c (xml_sheet_read): Handle "protected" attribute.
14341 * src/xml-sax-read.c (xml_sax_sheet_start): Ditto.
14342 * src/xml-sax-write.c (xml_write_sheet): Ditto.
14343 Patch from Klokan Petr Pridal. [#334257]
14345 2006-03-11 Morten Welinder <terra@gnome.org>
14347 * src/xml-sax-write.c (xml_write_cell_and_position): Wow. Botched
14348 every single expression and every single value.
14350 2006-03-10 Jody Goldberg <jody@gnome.org>
14352 * src/workbook-view.c (wb_view_sendto) : minor warning suppression.
14354 2006-03-10 Morten Welinder <terra@gnome.org>
14356 * src/expr.h (GnmExprTop): New type for top-level expressions.
14357 * src/clipboard.h (GnmCellCopy): Use a top-level expression here.
14358 Rename it to "texpr" to make sure we catch all users. All users
14360 * src/dependent.h (GnmDependent): Ditto.
14361 * src/expr-name.h (GnmNamedExpr): Ditto.
14362 * src/style-conditions.h (GnmStyleCond): Ditto.
14363 * src/validation.h (GnmValidation): Ditto.
14365 * src/expr.c (gnm_expr_top_new, gnm_expr_top_new_constant,
14366 gnm_expr_top_ref, gnm_expr_top_unref, gnm_expr_top_unwrap,
14367 gnm_expr_top_is_shared, gnm_expr_top_is_err,
14368 gnm_expr_top_is_rangeref, gnm_expr_top_get_constant,
14369 gnm_expr_top_contains_subtotal, gnm_expr_top_referenced_sheets,
14370 gnm_expr_top_first_funcall, gnm_expr_top_get_boundingbox,
14371 gnm_expr_top_rewrite, gnm_expr_top_get_ranges, gnm_expr_top_equal,
14372 gnm_expr_top_as_string, gnm_expr_top_as_gstring,
14373 gnm_expr_top_eval, gnm_expr_top_get_ranges): New functions. Many
14374 non-top versions made static.
14375 (gnm_expr_copy): New function replacing gnm_expr_ref. (Still
14376 simply refs, but not for long.)
14378 */*.c: Massive changes adapting to the above.
14380 * src/rendered-value.c (rendered_value_recontext): Make sure
14381 wrap_text is only cleared when we clear the layout's width.
14384 2006-03-09 Morten Welinder <terra@gnome.org>
14386 * src/sheet-filter.c (filter_expr_eval): Take GnmCell instead of
14387 its value for target. Use formatted value in !src case.
14388 (filter_expr_init): String EQ and NE should not coerce to number.
14389 (collect_unique_elements): Limit menu text length. Change hash
14390 key to formatted value instead of value. Store formatted value,
14391 not GnmValue, in model.
14392 All this fixes #333809.
14394 2006-03-06 Morten Welinder <terra@gnome.org>
14396 * src/collect.c (callback_function_collect): Rename COLLECT_DATES
14397 flags to COLLECT_COERCE_STRINGS and make it make all kinds of
14398 strings. All callers changed.
14400 * configure.in (ALL_LINGUAS): Undo last change -- it breaks the
14401 build. "id" can go back when there is a po-functions translation
14403 (CFLAGS): Drop -Wmissing-format-attribute.
14405 2006-03-06 Ahmad Riza H Nst <rizahnst@eriagempita.co.id>
14407 * po/id.po: Added Indonesian translation, done by Imam Musthaqim <imam@infoflow.co.id>
14408 * configure.in: Added "id" (Indonesian) to the ALL_LINGUAS line.
14410 2006-03-03 Eduardo Lima <eduardo.lima@indt.org.br>
14412 * src/dialogs/dialog-doc-metadata.c: Code reformulation.
14413 * src/dialogs/doc-meta-data.glade: Adjusted some properties.
14414 * src/dialogs/help.h: defined GNUMERIC_HELP_LINK_METADATA.
14416 2006-03-02 Morten Welinder <terra@gnome.org>
14418 * src/workbook-control-gui.c (wbcg_sheet_focus): Update menu
14419 feedback here for the case where a pristine workbook is replaced.
14421 2006-03-01 Morten Welinder <terra@gnome.org>
14423 * src/print-cell.c (print_cell): Fix zoom issue #332932.
14425 2006-02-27 Morten Welinder <terra@gnome.org>
14427 * src/expr.c (do_gnm_expr_unref): Plug leaks.
14429 2006-02-26 Morten Welinder <terra@gnome.org>
14431 * src/workbook-control-gui.c (wbcg_create): Attach to notify::uri
14432 and notify::dirty in order to control window title.
14434 * src/workbook-control.c (wb_control_update_title): Remove.
14436 * src/workbook-control-priv.h (WorkbookControl): Remove
14437 "set_title" member.
14439 * src/commands.c (GnmCommand): Add "workbook_modified_before_do"
14441 (command_undo): If !workbook_modified_before_do, mark the workbook
14442 not modified after undo.
14443 (command_push_undo, command_redo): Setup
14444 workbook_modified_before_do.
14446 * src/workbook-priv.h: Add "pristine" member.
14448 * src/sheet.h (Sheet): Remove "modified" and "pristine" members.
14450 * src/sheet.c (sheet_mark_dirty): Renamed from sheet_set_dirty.
14451 Always mark dirty, so kill last argument. All callers changed.
14453 * src/workbook.c (workbook_get_property, workbook_set_property):
14455 (workbook_class_init): Install workbook_get_property and
14456 workbook_set_property. Install new properties "uri" and "dirty".
14457 Remove FILENAME_CHANGED signal and fix callers to use notify::uri.
14458 (workbook_sheet_add): Drop dirty argument. Adding a sheet always
14459 dirties the workbook. All callers changed.
14460 (workbook_mark_not_modified): New function.
14461 (workbook_set_dirty, workbook_is_dirty): Maintain a simply
14463 (workbook_is_pristine): Maintain a simple workbook-level
14465 (workbook_set_placeholder, workbook_is_placeholder): Remove.
14466 (workbook_new_with_sheets): After adding sheets, mark workbook not
14467 modified and pristine.
14468 (workbook_sheet_attach_at_pos): Mark workbook dirty.
14469 (workbook_sheet_delete): Except during workbook destruction, mark
14472 2006-02-24 Morten Welinder <terra@gnome.org>
14474 * src/workbook-control-gui.c (wbcg_sheet_remove): Simplify.
14475 (wbcg_get_scg): Rename from wbcg_sheet_to_page_index and changed
14476 to return the scg only. Make static. All callers changed.
14478 * src/workbook.c (workbook_sheet_remove_controls): Renamed from
14479 workbook_sheet_hide_controls.
14480 (cb_sheet_visibility_change): Remove. The workbook doesn't care
14481 about sheet visibility.
14483 * src/workbook-control-gui.c (wbcg_sheet_add): Set
14484 SHEET_CONTROL_GUI here. Do everything here for invisible sheets
14485 too, but hide the table widget. Attach signals for visibility
14486 [new] and sheet tabs here, not in wbcg_sheet_focus.
14487 (disconnect_sheet_signals): Take an extra argument to control
14488 whether to clear all signals or just those for the active sheet.
14489 All callers changed.
14490 (cb_sheet_label_button_press): Use the scg for data and simplify.
14491 (wbcg_sheet_remove_all): Disconnect signals for all sheets. Use
14492 gtk_widget_destroy to get rid of the page.
14493 (wbcg_page_index_to_sheet): Remove. Expand left-over bits to
14495 (wbcg_sheet_to_page_index): Simplify now that sheets are 1-1 with
14498 * src/sheet-control-gui.c (sheet_control_gui_new): Don't set
14499 SHEET_CONTROL_KEY here.
14501 * src/workbook-control-gui.c (SHEET_CONTROL_KEY): Move to here.
14502 * src/sheet-control-gui.h (SHEET_CONTROL_KEY): From here.
14504 2006-02-23 Morten Welinder <terra@gnome.org>
14506 * src/workbook-edit.c (wbcg_edit_start): Go to the end of the
14507 text. Fixes #319311.
14509 * src/workbook-control-gui.c (edit_area_button): Use tool buttons,
14510 not plain buttons. Fixes #331916.
14512 2006-02-22 Morten Welinder <terra@gnome.org>
14514 * src/expr.c (gnm_expr_new_set): Don't unref the args, just free
14517 2006-02-21 Morten Welinder <terra@gnome.org>
14519 * src/func.h (GnmFuncNodes) Switch to argc/argv mode. All, and I
14520 mean all, users changed.
14522 * src/collect.c (float_range_function, string_range_function):
14523 Switch to argc/argv mode. All callers changed.
14524 * src/func.c (function_iterate_argument_values): Ditto.
14526 2006-02-19 Morten Welinder <terra@gnome.org>
14528 * src/expr.c (gnm_expr_new_funcall1, gnm_expr_new_funcall2,
14529 gnm_expr_new_funcall3): New functions.
14531 * src/parser.y (build_logical): Use gnm_expr_new_funcall2.
14532 (build_not): Use gnm_expr_new_funcall1.
14534 2006-02-19 Morten Welinder <terra@gnome.org>
14536 * src/expr-impl.h (GnmExprFunction, GnmExprSet): Replace
14537 expression list by argc/argv members. All users fixed.
14539 * src/func.c (function_call_with_exprs): Renamed from
14540 function_call_with_list and changed to argc/argv input. All
14543 * src/auto-format.c (do_af_suggest_list): Changed to argc/argv
14544 input. All callers changed.
14546 * src/expr.c (gnm_expr_list_equal, gnm_expr_list_eq): Remove.
14548 * src/mstyle.c (gnm_style_dump): Dump non-localized format.
14550 2006-02-18 Morten Welinder <terra@gnome.org>
14552 * src/wbc-gtk.c (toolbar_context_menu): Add an entry to hide the
14555 * src/gnumeric-gconf.c (gnm_gconf_get_toolbar_position,
14556 gnm_gconf_set_toolbar_position): New functions.
14558 * src/wbc-gtk.c (cb_add_menus_toolbars): Load initial toolbar
14559 positions from gconf.
14560 (set_toolbar_position): Store toolbar positions in gconf.
14562 2006-02-17 Morten Welinder <terra@gnome.org>
14564 * src/wbc-gtk.c (wbc_gtk_init): Initialize three toolbar zones.
14565 (cb_add_menus_toolbars): Attach context menus to the toolbars and
14567 (set_toolbar_position, cb_set_toolbar_position,
14568 toolbar_context_menu, cb_toolbar_button_press,
14569 cb_handlebox_button_press): New functions implementing the toolbar
14571 (create_undo_redo): Create actions for vertical mode too.
14572 (toolbar_context_menu): Present a different menu when detached.
14574 2006-02-16 Morten Welinder <terra@gnome.org>
14576 * src/wbc-gtk.c (wbc_gtk_init_font_name): Set a stock id to avoid
14577 critical on very narrow windows.
14578 (wbc_gtk_init_font_size): Ditto, but throw in a label also.
14580 2006-02-15 Morten Welinder <terra@gnome.org>
14582 * src/wbc-gtk.c (wbc_gtk_init): Update undo/redo labels here
14583 before checking for duplicate keys. This avoid #324692.
14585 * src/ssconvert.c (main): Don't compare argv with 3. Really.
14587 * src/workbook-edit.c (wbcg_edit_start): Don't compare gboolean
14590 2006-02-14 Morten Welinder <terra@gnome.org>
14592 * src/number-match.c (format_match_time): Handle hhmmss.sss,
14593 hhmmss, hhmm, mmss, and mmss.ss. (All with no separators.)
14594 (handle_year): Map missing year to current year.
14595 (format_match_datetime): Handle yearless dates. Handle
14598 2006-02-12 Morten Welinder <terra@gnome.org>
14600 * src/number-match.c (format_match_datetime): Loosen the separator
14601 requirements when alphabetic month is being used. Fixes #56168.
14603 2006-02-12 Morten Welinder <terra@gnome.org>
14605 * src/number-match.c (format_match_simple): Don't bother parsing
14607 (format_match): Redo. No longer uses canned formats.
14609 2006-02-06 Morten Welinder <terra@gnome.org>
14611 * src/mathfunc.c (random_binomial): Make trial argument a
14612 gnm_float for increased range.
14613 (random_negbinom, random_hypergeometric): Similarly.
14615 2006-02-05 Morten Welinder <terra@gnome.org>
14617 * src/ssconvert.c (main): Convert to GOption.
14618 * src/ssindex.c (main): Convert to GOption.
14620 2006-02-04 Morten Welinder <terra@gnome.org>
14622 * src/gutils.c (gutils_init): Solver messages have no business
14624 * src/solver.h (SOLVER_MAX_TIME_ERR): Define here.
14626 * src/main-application.c (gnumeric_arg_parse): Plug leak.
14628 2006-02-03 Eduardo Lima <eduardo.lima@indt.org.br>
14630 * src/main-application.c (gnumeric_arg_parse): Call gnome_vfs_init()
14631 if defined USE_HILDON.
14632 (main): Call osso_initialize() and osso_deinitialize()
14633 * src/wbcg-actions.c (actions):
14634 Inserted macros for "ViewFullScreen", "ViewZoomIn" and "ViewZoomOut"
14636 * src/HILDON_Gnumeric-gtk.xml.in: Removed File->Print.
14637 Removed View->Zoom.
14638 Inserted View->Zoom In.
14639 Inserted View->Zoom Out.
14641 2006-02-03 Morten Welinder <terra@gnome.org>
14643 * src/main-application.c (gnumeric_arg_parse): Switch to GOption
14646 2006-02-01 Morten Welinder <terra@gnome.org>
14648 * src/parse-util.c (std_sheet_name_quote, std_name_parser): New
14650 (gnm_expr_conventions_new): Hook these up.
14652 * src/parser.y (yylex): Use convs->name_parser.
14654 * src/parse-util.h (GnmExprConventions): Replace
14655 unquoted_ascii_name_chars member by sheet_name_quote and
14656 name_parser members.
14657 (gnm_expr_conv_is_unquoted_char): Remove.
14659 2006-01-30 Morten Welinder <terra@gnome.org>
14661 * src/parse-util.c (sheetref_parse): Underscore is a letter for
14664 2006-01-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
14666 http://bugzilla.gnome.org/show_bug.cgi?id=327278
14667 * src/gnumeric-gconf-priv.h (GNM_CONF_SORT_DEFAULT_HAS_HEADER): new
14668 * src/gnumeric-gconf.c (gnm_gconf_set_sort_has_header): new
14669 (gnm_conf_init_extras): initialize prefs.sort_default_has_header
14670 * src/gnumeric-gconf.h (gnm_gconf_set_sort_has_header): new
14671 (GnmAppPrefs): add sort_default_has_header field
14672 * src/wbcg-actions.c (sort_by_rows): skip header if the preferences
14674 * schemas/gnumeric-general.schemas.in: add sort/default/has-header
14677 2006-01-24 Morten Welinder <terra@gnome.org>
14679 * src/item-cursor.c (item_cursor_draw): Revert previous change.
14680 It breaks my system by making the dragging-the-little-square
14683 2006-01-24 Morten Welinder <terra@gnome.org>
14685 * src/gnm-datetime.c (datetime_value_to_seconds): Kill.
14687 2006-01-23 Morten Welinder <terra@gnome.org>
14689 * src/expr.c (expr_init): Create two pools: one for small and one
14692 * src/expr-impl.h (GnmExpr): Merge oper and ref_count fields into
14693 one oper_and_refcount field. Define accessors GNM_EXPR_GET_OPER
14694 and GNM_EXPR_GET_REFCOUNT. All users changed.
14696 2006-01-22 Jody Goldberg <jody@gnome.org>
14698 * src/expr-impl.h : arrays cannot be larger than 2^32 even on 64 bit
14701 2006-01-21 Morten Welinder <terra@gnome.org>
14703 * src/parse-util.h (struct _GnmExprConventions): Replace
14704 ignore_spaces by new intersection_char member. All users fixed.
14706 * src/parser.y (yylex): Handle RANGE_INTERSECTION as symbolic
14707 token by translating space or whatever to that.
14709 * src/parse-util.c (gnm_expr_conventions_new): Default
14710 intersection char is space.
14712 * src/expr.c (do_expr_as_string): Append the right intersection
14715 2006-01-21 Morten Welinder <terra@gnome.org>
14717 * gnumeric.desktop.in (Categories): Add Math, Science, GNOME, GTK.
14719 2006-01-21 Jody Goldberg <jody@gnome.org>
14721 * src/auto-format.c (do_af_suggest) : handle new GNM_EXPR_OP_ARRAY
14723 * src/clipboard.c (cb_clipboard_prepend_cell) : ditto.
14724 * src/cmd-edit.c (sv_select_cur_array) : ditto.
14725 * src/dependent.c (link_expr_dep) : ditto.
14726 (unlink_expr_dep) : ditto.
14727 * src/expr-name.c (expr_name_check_for_loop) : ditto.
14728 * src/expr.c (gnm_expr_new_array_corner) : new,
14729 (gnm_expr_new_array_elem) : new.
14730 (gnm_expr_new_array) : delete.
14731 (do_gnm_expr_unref) : handle new mechanism.
14732 (gnm_expr_eval) : ditto.
14733 (gnm_expr_equal) : ditto.
14734 (do_expr_as_string) : ditto.
14735 (gnm_expr_rewrite) : ditto.
14736 (gnm_expr_first_func) : ditto.
14737 (do_referenced_sheets) : ditto.
14738 (gnm_expr_containts_subtotal) : ditto.
14739 (gnm_expr_get_boundingbox) : ditto.
14740 (gnm_expr_is_rangeref) : ditto.
14741 (ets_hash) : ditto.
14742 (expr_tree_sharer_share) : ditto.
14743 (gnm_expr_is_array) : delete.
14744 (array_elem_get_corner) : new.
14746 * src/cell.c (cell_is_array) : ditto.
14747 (cell_array_bound) : new.
14748 (cell_is_array_corner) : new.
14749 (cell_is_nonsingleton_array) : renamed from cell_is_partial_array.
14750 (cell_has_comment) : delete.
14752 * src/sheet.c (sheet_get_comment) : renamed from cell_has_comment_pos
14754 2006-01-21 Jody Goldberg <jody@gnome.org>
14756 * configure.in : adjust to new goffice versioning
14758 2006-01-19 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
14760 * src/Makefile.am: Build as non-console Win32 application by default.
14762 * src/main-application.c (main): Attach to an existing console (only
14765 * src/item-cursor.c (item_cursor_draw): Use GDK_XOR which is more
14766 common than GDK_EQUIV for drawing item cursor. Fixes #314210.
14768 2006-01-13 Morten Welinder <terra@gnome.org>
14770 * src/stf-parse.c (stf_parse_general): Drop maxline argument. All
14773 * src/commands.c (cmd_text_to_columns): Plug leaks.
14775 2006-01-06 Morten Welinder <terra@gnome.org>
14777 * src/commands.c (cmd_search_replace_update_after_action): Add wbc
14778 argument and pass it on to update_after_action. All callers
14780 (cmd_search_replace_do): Add wbc argument and pass it on to
14781 cmd_search_replace_update_after_action. All callers changed.
14783 2006-01-02 Stepan Kasal <kasal@ucw.cz>
14785 * schemas/gnumeric-dialogs.schemas.in (unfocused): Fix a typo
14786 in the description.
14788 2005-12-28 Jody Goldberg <jody@gnome.org>
14790 * src/workbook.c : Move to GsfDocMetaData
14792 * src/commands.c (cmd_change_meta_data*) : re-work for new metadata
14795 * src/Makefile.am : remove the defunct summary.[ch]
14797 * src/GNOME_Gnumeric-gtk.xml.in : enable the new dialog in place of
14799 * src/wbcg-actions.c : ditto.
14801 2005-12-22 Morten Welinder <terra@gnome.org>
14803 * src/workbook.c (workbook_cells): Remove the variables orphaned by
14804 the previous Stepan's change.
14806 2005-12-22 Stepan Kasal <kasal@ucw.cz>
14808 * src/sheet-filter.c (cell_value_cmp): Fix "const" warning.
14810 * src/workbook.c (workbook_cells): Use WORKBOOK_FOREACH_SHEET, not
14813 2005-12-21 Morten Welinder <terra@gnome.org>
14815 * src/func.c (function_call_with_list): Eliminate 'B'. It was
14817 (function_def_get_arg_type_string): Ditto.
14819 2005-12-13 Morten Welinder <terra@gnome.org>
14821 * src/parser.y (build_set): Make this function unregister argument
14822 on success like all the other build_* functions. Fix caller to
14823 not leak in error case. Fixes #301127.
14825 2005-12-13 Morten Welinder <terra@gnome.org>
14827 * src/xml-io.c (xml_read_scenarios): Plug leak.
14829 * src/xml-sax-write.c (xml_write_scenarios): Add missing
14830 gsf_xml_out_end_element corrupting files.
14832 2005-12-12 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
14834 * src/sheet-object-graph.c (sog_gsf_gdk_pixbuf_save): removed.
14835 (gnm_sog_write_image): use gog_graph_export_image API.
14836 (sog_cb_save_as): use gog_graph_get_supported_image_formats API.
14837 Format is an enum now.
14838 * src/sheet-object-image.c (soi_get_image_fmt): removed. It's in
14840 (soi_free_image_fmt): removed.
14841 (gnm_soi_write_image): use go_image_get_formats_with_pixbuf_saver API.
14843 2005-12-12 Morten Welinder <terra@gnome.org>
14845 * src/xml-io.c (xml_node_get_value): Add protections against file
14846 corruption. Fixes crash from #323888.
14848 2005-12-11 Jon K Hellan <hellan@acm.org>
14850 * src/gui-clipboard.[ch] (x_store_clipboard_if_needed): New
14851 function. Hand clipboard off to clipboard manager if this is the
14852 last remaining wbcg.
14854 * src/gui-clipboard.c (table_cellregion_write): Replace wbc
14855 parameter with a command context.
14856 (image_write, graph_write): Remove sheet parameter.
14857 (x_clipboard_get_cb): We're no longer passed a wbcg. Instead,
14858 create a temporary command context. Test output from
14859 gnm_cellregion_to_xml before using. Use workbook_date_conv from
14860 workbook of clipboard's origin_sheet.
14861 (x_clipboard_clear_cb): Simplify.
14862 (x_claim_clipboard): Register x_clipboard_clear_cb only for
14863 CLIPBOARD, not for PRIMARY. Call gtk_clipboard_set_can_store,
14864 indicating that we can hand clipboard off to clipboard manager
14867 * src/workbook-control-gui.c (wbcg_finalize): Call
14868 x_store_clipboard_if_needed.
14870 2005-12-09 Morten Welinder <terra@gnome.org>
14872 * templates/english/loan.gnumeric: Replace BOLT. (Boring Old Loan
14873 Template.) Supplied by Philo Vivero. #317201.
14875 2005-12-08 Jody Goldberg <jody@gnome.org>
14877 * src/parse-util.c (gnm_expr_conventions_new) : assign a std set of
14878 ascii characters that do not require quoting.
14879 (gnm_expr_conv_quote) : renamed from
14881 2005-12-08 Morten Welinder <terra@gnome.org>
14883 * src/func.c (function_def_get_arg_type_string): Note, that 'B'
14884 accepts errors too.
14885 (function_call_with_list): Fix last fix.
14887 * src/parse-util.c (sheetref_parse): Handle sheet names starting
14890 * src/sheet.c (sheet_name_quote): Simplify and handle non-initial
14893 2005-11-30 Morten Welinder <terra@gnome.org>
14895 * src/func.c (function_call_with_list): Fix handling of strings
14896 for 'b' argument types. We only want TRUE/FALSE, not dates and
14897 numbers in strings.
14899 * src/commands.c (cmd_set_text): Plug leak.
14901 * src/value.c (value_new_from_string): Factor out boolean parsing
14902 into value_parse_boolean.
14903 (value_get_as_bool): Use value_parse_boolean. This changes
14904 semantics so that only "TRUE" and "FALSE" (ignoring case) are valid
14907 2005-12-01 Eduardo Lima <eduardo.lima@indt.org.br>
14909 * wbcg-actions.c (cb_view_zoom_in): Changed name to cb_view_zoom_out.
14910 (cb_view_zoom_out): Changed name to cb_view_zoom_in.
14912 2005-11-30 Eduardo Lima <eduardo.lima@indt.org.br>
14914 * src/workbook-control-gui.c (wbcg_finalize:1665): Fixed compile
14915 error in Maemo Platform.
14917 2005-11-28 Morten Welinder <terra@gnome.org>
14919 * src/sheet-filter.c (cb_collect_unique): Map value to cells.
14920 (cb_hash_range): Renamed from cb_copy_hash_to_array. Changed to
14921 collect values (i.e., cells) , not keys (i.e., values).
14922 (collect_unique_elements): Format values for display. Fixes
14925 2005-11-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
14927 * src/gnumeric-pane.c (cb_control_point_event): begin drag mode even
14928 for created object.
14930 2005-11-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
14932 * src/sheet-object-graph.c (gnm_sog_write_image): don't use pixbuf
14933 directly, but use helpers function from goffice/graph/gog-renderer.c,
14934 in order to ease testing of goffice cairo renderer.
14935 (sheet_object_graph_set_gog): ditto.
14937 2005-11-15 Stepan Kasal <kasal@ucw.cz>
14939 * README: Fix the goffice requirement.
14940 * src/application.c (gnm_app_workbook_list_add): Fix the comment.
14942 2005-11-14 Jody Goldberg <jody@gnome.org>
14944 * configure.in : Post BRANCH bump
14945 re-enable the disable_deprecated flags
14947 2005-11-14 Jody Goldberg <jody@gnome.org>