1 2002-01-22 Jody Goldberg <jody@gnome.org>
3 * configure.in : post release version bump.
5 2002-01-21 Jody Goldberg <jody@gnome.org>
9 2002-01-21 Jody Goldberg <jody@gnome.org>
11 * src/item-acetate.c : trivial new object to provide a rectangle with
12 clear interiors that still collects events.
14 * src/sheet-control-gui.c (set_item_x_y) : optionally hide a point.
15 (scg_object_update_bbox) : hide middle control points when the bounds
16 are too close together.
17 (set_acetate_coords) : use new simpler item-acetate, and provide a
18 cute stipple to make things clearer.
20 * src/application.c (application_init) : Add scrollbar.
22 * src/sheet-object-widget.c : Add scrollbars.
23 (sheet_widget_checkbox_user_config) : Use gnumeric_table_attach_with_label.
24 (gnumeric_table_attach_with_label) : new util, does no belong here.
26 * src/workbook-object-toolbar.c (cmd_create_scrollbar) : new.
28 2002-01-20 Jody Goldberg <jody@gnome.org>
30 * src/gnumeric-graph.c (gnm_graph_subscribe_vector) : Pass a place
31 holder for the format.
32 * idl/GNOME_Gnumeric_Graph.idl (Manager::addVector) : ditto.
34 * gnumeric.xsd : Add SheetLayout.
36 2002-01-21 Jakub Steiner <jimmac@ximian.com>
38 * gnome-gnumeric.png: simplified the icon upon usability people's
41 2002-01-20 Jody Goldberg <jody@gnome.org>
43 * src/gnumeric-graph.c (gnm_graph_add_vector) : auto probe for date
45 (gnm_graph_vector_eval) : support dates.
46 (impl_scalar_vector_value) : ditto.
47 (gnm_graph_vector_corba_init) : ditto.
48 (gnm_graph_vector_corba_destroy) : ditto.
50 2002-01-19 Jody Goldberg <jody@gnome.org>
52 * src/GNOME_Gnumeric.xml : move the tabulate and random numbers into
54 * src/workbook-control-gui.c : ditto.
56 * src/xml-io.c (xml_read_cell_copy) : handle content with and without
58 (xml_read_cell) : do the version checks before the strcmps.
60 * gnumeric.xsd : Add MergedRegions, do not require the Cell's Content node.
62 2002-01-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
64 * src/workbook-control-gui.c : new cb_tool_... functions, add
65 analysis tools menu to non-bonobo menu section, define
66 BONOBO_UI_UNSAFE_VERBs for all analysis tools
67 (cb_tools_data_analysis) : deleted
68 * src/GNOME_Gnumeric.xml : add analysis tools menu items
70 2002-01-19 Jon K Hellan <hellan@acm.org>
72 * src/datetime.c (datetime_g_free): New function to free
73 GDate. Can be called with NULL without complaining.
74 (coupdays, coupdaybs, coupdaysnc):
76 * src/sheet-autofill.c (autofill_compute_delta, autofill_cell):
77 Use datetime_g_free instead of g_date_free.
79 2002-01-19 Jody Goldberg <jody@gnome.org>
81 * src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : handle blanks
84 * src/item-grid.c (item_grid_event) : call
85 gnumeric_expr_entry_end_of_drag when a rangesel drag finishes.
87 2002-01-18 Andreas J. Guelzow <aguelzow@taliesin.ca>
89 * src/datetime.c (adjust_dates_basis) : removed
90 (days_between_BASIS_MSRB_30_360) : new, calculate delta for
92 (days_between_BASIS_30E_360) : new, calculate delta for BASIS_30E_360
93 (days_between_BASIS_30Ep_360) : new, calculate delta for
95 (days_between_basis) : replaces days_between_dep_basis, extremely
97 (coup_cd_xl) : removed
98 (coupdays) : delete attempt to be XL compatible
99 (coupdaybs) : delete attempt to be XL compatible
100 (coupdaysnc) : delete attempt to be XL compatible
101 * src/datetime.h : change basis_t enumeration slightly and change
102 arguments for days_between_basis, coup_cd, coupdays, coupdaybs
105 2002-01-18 Jody Goldberg <jody@gnome.org>
107 * src/eval.c : Add a new dependency hashing scheme but leave it
108 disabled until 1.1 so thet we can get it tested.
110 2002-01-18 Jody Goldberg <jody@gnome.org>
112 * src/gnumeric-graph.c (gnm_graph_range_to_vectors) : be smarter about
113 handling vectors rather than ranges. vectors maintain orientation.
115 2002-01-18 Zbigniew Chyla <cyba@gnome.pl>
118 (gnumeric_bonobo_write_workbook, gnumeric_bonobo_read_workbook):
119 Use xmlRootNode for libxml1/libxml2 compatibility.
121 2002-01-17 Jody Goldberg <jody@gnome.org>
123 * src/sheet-object-widget.c (sheet_widget_checkbox_get_ref) : handle
124 references without an explicit sheet.
125 (sheet_widget_checkbox_set_link) : new.
127 2002-01-16 Jody Goldberg <jody@gnome.org>
129 * src/item-cursor.c (item_cursor_draw) : fix some ancient Miggy
130 bugginess that was borking the gnome2 port.
132 2002-01-15 Jody Goldberg <jody@gnome.org>
134 * src/workbook-control-gui.c (cb_tools_tabulate) : Pass the sheet in
137 2002-01-16 Andreas J. Guelzow <aguelzow@taliesin.ca>
139 * src/datetime.c : change oem to eom
140 (days_between_dep_basis) : fix basis == 0, add `in_order' flag
141 (adjust_dates_basis) : fix basis == 0
142 (coupdays) : fix basis == 2, 3 and partially fix to
145 2002-01-15 Morten Welinder <terra@diku.dk>
147 * src/GNOME_Gnumeric.xml, src/workbook-control-gui.c: support
150 2002-01-15 Jody Goldberg <jody@gnome.org>
152 * configure.in : post release version bump.
154 2002-01-15 Jody Goldberg <jody@gnome.org>
158 2002-01-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
160 * src/datetime.c (coup_cd_xl) : new function (XL compatible
161 implementation of coup_cd.
162 (coupdays) : add xl boolean parameter, call coup_cd or coup_cd_xl
166 * src/datetime.h (coupdays) : add xl boolean parameter
170 2002-01-15 Jody Goldberg <jody@gnome.org>
172 * src/xml-io.c (xml_read_cell) : be more robust when faced
173 with shared expressions that we can not parse. And try really
174 really hard to parse things that are not marked as values, see if we
175 can parse them as expressions if we ignore the assigned format.
177 2002-01-14 Jody Goldberg <jody@gnome.org>
179 * src/commands.c (cmd_set_text) : Be smarter about the undo label
180 generated for text with embedded new lines or leading white space.
182 * gnumeric.xsd : Add the tab color.
184 * src/xml-io.c (xml_sheet_read) : read tab optional tab colours.
185 (xml_sheet_write) : write the tab colour if it is set.
187 2002-01-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
189 * src/datetime.c (coupdays) : moved from src/functions/fn-financial.c
191 (days_between_dep_basis) : ditto
192 (adjust_dates_basis) : ditto
195 * src/datetime.h (coupdays) : moved from src/functions/fn-financial.c
197 (days_between_dep_basis) : ditto
198 (adjust_dates_basis) : ditto
202 2002-01-14 Jody Goldberg <jody@gnome.org>
204 http://bugzilla.gnome.org/show_bug.cgi?id=68661
205 * src/item-grid.c (item_grid_draw) : handle fully hidden merged regions
206 that may trail off the endi of the visible region.
207 * src/print-cell.c (print_cell_range) : ditto.
209 2002-01-13 Jody Goldberg <jody@gnome.org>
211 * src/workbook-control.c (wb_control_parse_and_jump) : typo.
213 2002-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
215 * datetime.c (date_serial_19000228): Should be 59.
216 (datetime_serial_to_g): Update accordingly.
218 2002-01-12 Jody Goldberg <jody@gnome.org>
220 * src/workbook-control.c (wb_control_parse_and_jump) : support
223 2002-01-12 Jody Goldberg <jody@gnome.org>
225 http://bugzilla.gnome.org/show_bug.cgi?id=67425
226 * src/sheet-control-gui.c (cb_control_point_event) : reset cursor on
229 2002-01-12 Jody Goldberg <jody@gnome.org>
231 * src/xml-io.c (xml_write_style_condition_chain) : delete.
232 (xml_read_style_condition_chain) : delete.
233 (xml_write_style) : change validation support.
234 (xml_read_style) : ditto.
236 2002-01-12 Jody Goldberg <jody@gnome.org>
238 * src/workbook-control-gui.c (cb_sheet_label_changed) : Use
239 editable_label_get_text.
240 (wbcg_sheet_add) : init the tab colour.
241 (wbcg_sheet_rename) : ditto.
242 (wbcg_validation_msg) : new.
243 (workbook_control_gui_ctor_class) : register wbcg_validation_msg.
245 * src/workbook-control.c (wb_control_validation_msg) : new.
247 * src/workbook-edit.c (wbcg_edit_validate) : delete.
248 (wbcg_edit_finish) : improve validation.
250 * src/validation.c : rework. In list is still missing.
252 * src/sheet.c (sheet_new) : init tab colour.
253 (sheet_destroy) : release the tab colour.
254 (sheet_set_tab_color) : new function.
256 * src/mstyle.c (mstyle_link_sheet) : disable linking of validations.
257 They are no longer dependents.
258 (mstyle_unlink) : ditto.
260 2002-01-11 Jody Goldberg <jody@gnome.org>
262 * src/colrow.c (colrow_set_visibility_list) : when making a region
263 visible we need to restore spans for the new content.
265 2002-01-09 Jody Goldberg <jody@gnome.org>
267 * src/workbook-control-gui.c (wbcg_error_splits_array) : accept NULL
268 as an array specification.
270 * src/ranges.c (range_name) : add protection against NULL.
272 * src/expr.c (expr_implicit_intersection) : handle blank inputs.
274 2002-01-11 Morten Welinder <terra@diku.dk>
276 * src/plugin-util.c (MAP_FAILED): Compilation fix for sick
279 2002-01-10 Andreas J. Guelzow <aguelzow@taliesin.ca>
281 * src/analysis-tools.c (fourier_fft) : Fast Fourier Transform
282 (fourier_fft_inv) : Inverse Fast Fourier Transform
283 (fourier_tool) : new tool
285 2002-01-10 Jon K Hellan <hellan@acm.org>
287 * src/datetime.c (datetime_isoweeknum): Added. Return the ISO 8601
289 (datetime_weeknum): Added. Return week number of date according to
292 * src/datetime.h: define week numbering methods. Declare
293 datetime_isoweeknum and datetime_weeknum.
295 2002-01-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
297 * analysis-tools.c (histogram_tool) : implement calculated bins
298 * analysis-tools.h : expand argument list for histogram_tool
300 2002-01-08 Jody Goldberg <jody@gnome.org>
302 * src/expr.c (expr_eval_real) : merge eval_funcall into here.
303 It was not adding much.
304 * src/gnumeric-graph.c (gnm_graph_get_spec) : warning suppression.
306 2002-01-08 Morten Welinder <terra@diku.dk>
308 * src/func.c (function_marshal_arg): When we want numbers, accept
309 strings that parse to numbers also. Return a proper error.
311 2002-01-08 Morten Welinder <terra@diku.dk>
313 * src/eval.h (DependentFlags): Kill comma before closing brace.
314 * src/clipboard.h (CellCopyType): Ditto.
315 * src/format-template.h (FreqDirection): Ditto.
316 * src/sheet-object.h (SheetObjectDirection,
317 SheetObjectAnchorType): Ditto.
318 * src/symbol.h (SymbolType): Ditto.
320 2002-01-08 Andreas J. Guelzow <aguelzow@taliesin.ca>
322 * analysis-tools.c (average_tool) : calculate standard errors
324 2002-01-07 Jody Goldberg <jody@gnome.org>
326 * src/formats.c (currency_symbol) : add RUR.
328 * src/value.c (value_get_as_int) : be extra careful.
330 2002-01-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
332 * analysis-tools.c (ranking_tool) : calculate rank for ties
333 based on av_ties_flag
335 2002-01-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
337 * analysis-tools.h : add autofit_flag to data_analysis_output_t
338 * analysis-tools.c : insert lots of calls to autofit_columns
339 (autofit_columns) : new procedure
341 2002-01-07 Morten Welinder <welinder@rentec.com>
343 * configure.in: check for ieee754.h
345 2002-01-06 Jody Goldberg <jody@gnome.org>
347 * configure.in : post release bump.
349 2002-01-06 Jody Goldberg <jody@gnome.org>
353 2002-01-05 Jody Goldberg <jody@gnome.org>
355 * src/workbook-control.c (wb_control_parse_and_jump) : rename from
356 workbook_parse_and_jump to be consistent.
358 * configure.in : bump gal version req.
360 2002-01-04 Jody Goldberg <jody@gnome.org>
362 * src/commands.c (cmd_insert_rows) : dup the string.
363 (cmd_insert_cols) : ditto.
365 * src/eval.c (dependent_unlink) : add some safety. Default to A1 if
366 no position is supplied.
368 * src/gnumeric-graph.c (gnm_graph_series_get_dimension) : more
369 protection for missing series.
370 (gnm_graph_series_add_dimension) : ditto.
372 2002-01-03 Morten Welinder <terra@diku.dk>
374 * src/datetime.c (datetime_serial_to_timet): New function.
376 2002-01-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
378 * src/auto-correct.c (autocorrect_tool) : casts to deal with character
380 * src/format.c (format_entry_dtor) : switch to gchar to deal with
381 character (un)signeness.
382 * src/format.c (lookup_color) : ditto
383 * src/format.c (lookup_color_by_name) : ditto
384 * src/format.c (render_number) : ditto
385 * src/format.c (format_number) : switch to guchar; some casts
386 * src/format.c (append_hour_elapsed) : plain char
387 * src/format.c (append_minute_elapsed) : ditto
388 * src/format.c (append_second_elapsed) : ditto
389 * src/gui-clipboard.c (x_selection_to_cell_region) : type changes
391 * src/gui-clipboard.c (x_selection_handler) : casts.
392 * src/number-match.c (format_create_regexp) : type changes
393 * src/number-match.c (compute_value) : type changes
394 * src/plugin-service.c (input_file_save_info_read) : casts
395 * src/plugin-service.c (plugin_service_file_opener_read): ditto
396 * src/plugin-service.c (plugin_service_file_saver_read): ditto
397 * src/plugin-service.c (plugin_service_function_group_read): ditto
398 * src/plugin-service.c (plugin_service_read): ditto
399 * src/plugin.c (plugin_info_read_dependency_list) : casts
400 * src/plugin.c (plugin_info_read_loader_static_info) : casts
401 * src/plugin.c (plugin_info_read) : casts
402 * src/sheet.c (sheet_name_quote) : type change
403 * src/sheet-object.c (sheet_object_read_xml) : casts
404 * src/sheet-object.c (sheet_object_write_xml) : casts
405 * src/sheet-object-cell-comment.c (cell_comment_read_xml) : type
407 * src/sheet-object-widget.c (sheet_widget_label_read_xml) : type
409 * src/sheet-object-widget.c (sheet_widget_frame_read_xml) : ditto
410 * src/sheet-object-widget.c (sheet_widget_button_read_xml) : ditto
411 * src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : ditto
412 * src/stf-parse.c (stf_parse_options_valid) : use plain char
413 * src/stf-parse.c (stf_parse_convert_to_unix) : ditto
414 * src/style-border.c : use gint8 rather than unsigned char in patterns.
415 * src/workbook.c (workbook_signals): guint rather than gint.
416 * src/xml-io.c (xml_arg_get) : signedness fixes
417 * src/xml-io.c (xml_node_get_int) : ditto
418 * src/xml-io.c (xml_node_get_double) : ditto
419 * src/xml-io.c (xml_node_get_color) : ditto
420 * src/xml-io.c (xml_node_get_cellpos) : ditto
421 * src/xml-io.c (xml_node_set_print_unit) : ditto
422 * src/xml-io.c (xml_read_selection_info) : ditto
423 * src/xml-io.c (xml_write_selection_info) : ditto
424 * src/xml-io.c (xml_write_style_border) : ditto
425 * src/xml-io.c (xml_read_style_border) : ditto
426 * src/xml-io.c (xml_write_style_condition_chain) : ditto
427 * src/xml-io.c (xml_read_style_condition_chain) : ditto
428 * src/xml-io.c (xml_write_style) : ditto
429 * src/xml-io.c (xml_read_names) : ditto
430 * src/xml-io.c (xml_write_summary) : ditto
431 * src/xml-io.c (xml_read_summary) : ditto
432 * src/xml-io.c (xml_node_set_print_hf) : ditto
433 * src/xml-io.c (xml_node_get_print_hf) : ditto
434 * src/xml-io.c (xml_write_attribute) : ditto
435 * src/xml-io.c (xml_write_attributes) : ditto
436 * src/xml-io.c (xml_read_attribute) : ditto
437 * src/xml-io.c (xml_read_attributes) : ditto
438 * src/xml-io.c (xml_write_print_repeat_range) : ditto
439 * src/xml-io.c (xml_write_print_info) : ditto
440 * src/xml-io.c (xml_read_print_margins) : ditto
441 * src/xml-io.c (xml_read_print_repeat_range) : ditto
442 * src/xml-io.c (xml_read_print_info) : ditto
443 * src/xml-io.c (xml_read_style) : ditto
444 * src/xml-io.c (xml_write_style_region) : ditto
445 * src/xml-io.c (xml_write_colrow_info) : ditto
446 * src/xml-io.c (xml_write_cell_and_position) : ditto
447 * src/xml-io.c (xml_read_cell) : ditto
448 * src/xml-io.c (xml_write_merged_regions) : ditto
449 * src/xml-io.c (xml_read_sheet_layout) : ditto
450 * src/xml-io.c (xml_write_styles) : ditto
451 * src/xml-io.c (xml_read_solver) : ditto
452 * src/xml-io.c (xml_write_solver) : ditto
453 * src/xml-io.c (xml_sheet_write) : ditto
454 * src/xml-io.c (xml_read_merged_regions) : ditto
455 * src/xml-io.c (xml_read_styles) : ditto
456 * src/xml-io.c (xml_read_cols_info) : ditto
457 * src/xml-io.c (xml_read_rows_info) : ditto
458 * src/xml-io.c (xml_read_cell_styles) : ditto
459 * src/xml-io.c (xml_sheet_read) : ditto
460 * src/xml-io.c (xml_read_cell_copy) : ditto
461 * src/xml-io.c (xml_cellregion_read) : ditto
462 * src/xml-io.c (xml_cellregion_write) : ditto
463 * src/xml-io.c (xml_check_version) : ditto
464 * src/xml-io.c (xml_workbook_write) : ditto
465 * src/xml-io.c (xml_sheet_create) : ditto
466 * src/xml-io.c (xml_read_sheet_n_elements) : ditto
467 * src/xml-io.c (xml_workbook_read) : ditto
468 * src/xml-io.c (gnumeric_xml_write_workbook) : ditto
469 * src/xml-io-autoft.c (xml_write_format_col_row_info) : casts
470 * src/xml-io-autoft.c (xml_write_format_template_member) : casts
471 * src/xml-io-autoft.c (xml_write_format_template_members) : casts
472 * src/xml-io-autoft.c (gnumeric_xml_write_format_template) : casts
473 * src/xml-io-autoft.c (xml_read_format_col_row_info) : casts
474 * src/xml-io-autoft.c (xml_read_format_template_member) : casts
475 * src/xml-io-autoft.c (xml_read_format_template_members) : casts
476 * src/xml-io-autoft.c (gnumeric_xml_read_format_template) : casts
477 * src/xml-io-autoft.c (gnumeric_xml_read_format_template_category) : casts
478 * src/bonobo-io.c (write_stream_to_storage) : cast / type change.
479 * src/bonobo-io.c (gnumeric_bonobo_obj_write) : ditto
480 * src/bonobo-io.c (gnumeric_bonobo_obj_read) : ditto
481 * src/bonobo-io.c (gnumeric_bonobo_write_workbook) : ditto
482 * src/bonobo-io.c (hack_xmlSAXParseFile) : ditto
483 * src/gnumeric-graph.c (gnm_graph_get_spec) : casts
484 * src/gnumeric-graph.c (gnm_graph_read_xml) : ditto
485 * src/gnumeric-graph.c (gnm_graph_series_get_dimension) : ditto
486 * src/gnumeric-graph.c (gnm_graph_write_xml) : ditto
488 2002-01-03 Jody Goldberg <jody@gnome.org>
490 * src/xml-io.c (xml_read_style_condition_chain) : no need to unref
493 2002-01-02 Zbigniew Chyla <cyba@gnome.pl>
495 * src/sheet-object-widget.c (sheet_widget_checkbox_construct_with_ref):
496 Marked string for translation.
498 2002-01-01 Jody Goldberg <jody@gnome.org>
500 * src/GNOME_Gnumeric.xml : Add some missing ...
501 rename 'Summary' -> 'Properties'
503 * src/workbook-control-gui.c : ditto.
505 2001-12-31 Andreas J. Guelzow <aguelzow@taliesin.ca>
507 * src/main.c : describe geometry option
508 * src/analysis-tools.c (anova_two_factor_with_r_tool) : streamline
509 label output (don't overwrite cells)
511 2001-12-31 Jody Goldberg <jody@gnome.org>
513 * configure.in : post release version bump. We won't branch 1.1
514 until the gnome2 port links.
516 2001-12-31 Jody Goldberg <jody@gnome.org>
520 2001-12-31 Jody Goldberg <jody@gnome.org>
522 * src/sheet-autofill.c (in_list) : remove pointless checking for lists
523 in english and another language.
525 * src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : do not
526 set the sheet here. That happens latter. Handle no input smoothly.
527 (sheet_widget_checkbox_write_xml) : handle no input smoothly.
529 * src/format.c (append_second_elapsed) : use doubles.
530 (append_minute_elapsed) : use unsigned long.
531 (append_hour_elapsed) : use unsigned long.
533 * src/commands.c (cmd_insert_rows) : avoid using g_strdup_printf. It
534 does not support positional arguments, which makes translation
536 (cmd_insert_cols) : ditto.
538 * src/auto-correct.c (autocorrect_tool) : ispunct is too liberal for
539 what we want. Use a translated set of names for the capitalization.
541 * src/GNOME_Gnumeric.xml : sync with non-bonobo text and fix some
542 mis-named items. disable the combo and list until 1.0.1
544 * src/cell.h : fix warning on s390
545 * src/collect.h : ditto.
546 * src/parse-util.h : ditto.
547 * src/gnumeric.h : ditto.
548 * src/style.h : ditto.
549 * src/consolidate.h : ditto.
551 2001-12-29 Jody Goldberg <jody@gnome.org>
553 * src/workbook-control-gui.c (sheet_menu_label_run) : make the context menu
554 match the standard menus.
556 * src/auto-correct.c (autocorrect_tool) : Use ispunct and ignore ','
558 * src/sheet-merge.c (sheet_merge_add) : update the status of the
560 (sheet_merge_remove) : ditto.
562 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : Use
563 cmd_object_delete so that deleting an object with the keyboard is
566 * src/sheet-object-widget.c (sheet_widget_checkbox_clear_sheet) :
567 clear the sheet after unlinking.
568 (sheet_widget_radio_button_clear_sheet) : ditto.
569 (sheet_widget_list_clear_sheet) : ditto.
570 (sheet_widget_combo_clear_sheet) : ditto.
572 2001-12-29 Abel Cheung <maddog@linux.org.hk>
574 * configure.in: Added "ko" to ALL_LINGUAS.
576 2001-12-28 Jody Goldberg <jody@gnome.org>
578 * src/cmd-edit.c (cmd_select_cur_array) : fence post error.
580 * src/sheet.c (sheet_destroy) : be more forgiving about exit errors.
581 (sheet_destroy_contents) : Remove stupid hash clearing. Just delete
584 * src/eval.c (dependent_unlink) : Add a bogus krufty nasty unpleasant
585 hack to disable the unlink optimization for sheet objects.
587 2001-12-27 Jody Goldberg <jody@gnome.org>
589 * plugins/*/plugins.xml.in : make the probable openers available from
590 the import menu to simplify the user experience until we can revisit
591 the distinction between import and open.
593 * src/value-sheet.c (value_area_get_width) : rip out the clipping.
594 (value_area_get_height) : rip out the clipping. This slows graphs
595 but fixes countblank, cols, and rows.
597 * src/sheet-object-widget.c (sheet_widget_checkbox_construct_with_ref) :
598 remove attempt to assign the corner of the current selection.
599 (sheet_widget_checkbox_clone) : be safer when dealing with checkboxes
601 (sheet_widget_checkbox_get_ref) : fix..
603 * src/sheet-object.c (sheet_object_clone_sheet) : more protection.
605 * src/commands.c (cmd_area_set_text_redo) : the content list was in
606 reversed compared to the range list.
607 (cmd_paste_cut) : don't register a cmd for a paste that does nothing.
609 * src/gnumeric-canvas.c (gnm_canvas_realize) : formating.
611 2001-12-26 Jody Goldberg <jody@gnome.org>
613 http://bugzilla.gnome.org/show_bug.cgi?id=66842
614 * src/item-edit.c (point_is_inside_range) : check for alternate sheets
615 both times. This code is very hackish. Rewrite it and merge the
616 logic from expr-entry.
618 2001-12-25 Jody Goldberg <jody@gnome.org>
622 2001-12-25 Jody Goldberg <jody@gnome.org>
624 * src/workbook.c (workbook_set_dirty) : clear the summary flag too.
626 2001-12-25 Jody Goldberg <jody@gnome.org>
628 * src/gnumeric-graph.c (gnm_graph_add_vector) : some added protection
631 * src/rendered-value.c (cell_rendered_height) : we can be smarter
632 about unrendered expressions.
634 * src/eval.c (invalidate_refs) : it is ok to not rewrite the
636 (cb_name_invalidate_sheet) : new.
637 (do_deps_destroy) : use here.
639 * src/expr-name.c (expr_name_invalidate_refs_sheet) : delete.
640 (expr_name_invalidate_refs_wb) : delete.
641 (expr_name_handle_references) : new.
642 (expr_name_set_expr) : use it here.
643 (expr_name_add) : Use expr_name_set_expr.
644 (expr_name_unref) : and here.
645 (expr_name_link_deps) : if the dependent being updated is going to be
646 deleted do not relink or queue for recalc.
648 2001-12-25 Jody Goldberg <jody@gnome.org>
650 * src/expr-name.c (expr_name_invalidate_refs_wb) : Implement in terms
651 of expr_name_invalidate_refs_sheet.
653 * src/summary.c (summary_info_add) : mark things as modified if the
654 new value has changes things.
655 (summary_item_eq) : new.
657 * src/workbook.c (workbook_is_dirty) : see if the summary info has
660 2001-12-24 Jody Goldberg <jody@gnome.org>
662 * src/plugin.c (gnumeric_extra_plugin_dirs) : const warning.
664 * src/gui-util.c (gnumeric_toolbar_new) : delete the old basicly
665 useless class and move the relevant convenience routines here.
666 (gnumeric_toolbar_get_widget) : ditto.
667 (gnumeric_help_display) : simple wrapper routine to simplify porting
670 * src/gnumeric.h : define G_OBJECT_GET_CLASS to simplify porting to 2.0
672 For Yukihiro Nakai <nakai@gnome.gr.jp>
673 * src/stf-parse.c (stf_parse_is_valid_data) : check for multi-byte
674 before using locale specific isprint.
676 2001-12-24 Jody Goldberg <jody@gnome.org>
678 * src/style-condition.c (style_condition_expr_eval) : mark as needing
679 a recalc, don't just assert it.
681 * src/workbook-edit.c (wbcg_edit_validate) : handle accept/reject/reedit
682 Generate the title and msg here. The goal is to move the gui
683 specific aspects out of here.
684 (wbcg_edit_finish) : ditto.
686 * src/gui-validation.c (validation_generate_msg) : disable for now.
687 It is a nice idea, but the implementation is in the wrong place
690 2001-12-23 Jody Goldberg <jody@gnome.org>
692 * src/workbook-control-gui.c (cb_view_freeze_panes) : changing the
693 pane freeze state stops object editing.
695 * src/sheet-autofill.c (sheet_autofill_dir) : add some very special
696 purpose code to clip the bounds of autofilled arrays that are being
697 clipped when filling a non-integer multiple of the original block
700 * src/expr.c (expr_tree_new_array) : reorder args to match the rest of
703 2001-12-22 Jody Goldberg <jody@gnome.org>
705 * src/workbook-control-gui.c (cb_edit_fill_autofill) : range_trim does
706 not handle merges, once we've trimmed things down we need to expand
707 back out to include merges in the src region.
709 * src/sheet-autofill.c (autofill_cell) : 1st half of a patch to handle
710 non-integer copies of arrays.
711 (sheet_autofill_dir) : ditto.
713 * src/item-cursor.c (item_cursor_setup_auto_fill) : restrict autofills
714 to contain an integer number of copies if the src region contains
716 (cb_autofill_scroll) : ditto.
718 2001-12-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
720 http://bugzilla.gnome.org/show_bug.cgi?id=67298
721 * src/commands.c (cmd_paste_copy) : let single merged target behave
724 2001-12-21 Jody Goldberg <jody@gnome.org>
726 * src/parse-util.c (parse_text_value_or_expr) : you do need to unref
727 the resulting style. I forgot that autoformat generates formats.
729 * src/format.c (style_format_unref) : unrefing NULL is ok.
731 * src/cell.c (cell_set_text) : adjust to ref semantic change in
732 parse_text_value_or_expr.
733 * src/commands.c (cmd_search_replace_do_cell) : ditto.
734 * src/sheet.c (sheet_range_set_text) : ditto.
735 (sheet_cell_set_text) : ditto.
736 * src/xml-io.c (xml_read_cell_copy) : ditto.
738 2001-12-21 Morten Welinder <terra@diku.dk>
740 * src/value.c (value_new_float): Return a gnumeric_err_NUM if the
741 number is invalid (NaN, Inf, ...).
742 * src/mathfunc.[ch]: move <ieeefp.h> include.
744 2001-12-21 Jody Goldberg <jody@gnome.org>
746 * src/clipboard.c (clipboard_paste_region) : transpose merges too.
748 * src/colrow.c (colrow_compute_pixels_from_pts) : ensure that things
749 do not get too small.
751 2001-12-20 Jody Goldberg <jody@gnome.org>
753 * src/commands.c (cmd_autofill_redo) : clear merges before filling.
755 * src/sheet.c (sheet_clear_region) : Add CLEAR_MERGED.
757 * src/clipboard.c (clipboard_paste_region) : use sheet_clear_region to
760 * src/sheet-autofill.c (fill_item_new) : init the merge sizze to 1x1
761 if we are not merged. This simplifies logic later. Remove the
762 'is_merged' flag it was redundant.
763 (autofill_create_fill_items) : rename region_count -> region_size
764 it is clearer. If a cell is merged be smarter about incrementing
765 in a way consistent with what the user sees.
766 (sheet_autofill_dir) : ditto.
768 * src/workbook-cmd-format.c (sheet_dialog_set_row_height) : honour
770 (sheet_dialog_set_column_width) : ditto.
772 * src/colrow.c (colrow_compute_pixels_from_pts) : don't let the pixel
773 size shrink below the margin size.
775 2001-12-19 Jody Goldberg <jody@gnome.org>
777 * src/sheet.c (sheet_delete_cols) : remove objects before relocations.
778 (sheet_delete_rows) : ditto.
780 * src/sheet-object.c (sheet_objects_clear) : new.
781 (sheet_objects_relocate) : rename from sheet_relocate_objects.
782 (sheet_objects_get) : rename from sheet_get_objects.
784 * src/gnumeric-simple-canvas.c (gnm_simple_canvas_class_init) : Doh!
786 * src/xml-io.c (xml_read_cell) : fix format leak.
787 (xml_sheet_write) : clarify variable names.
789 2001-12-19 Dan Damian <dand@softhome.net>
791 * configure.in (ALL_LINGUAS) : Added Romanian ("ro").
793 2001-12-19 Jody Goldberg <jody@gnome.org>
795 http://bugzilla.gnome.org/show_bug.cgi?id=67181
796 * src/sheet.c (sheet_update_only_grid) : use the real edit pos.
798 http://bugzilla.gnome.org/show_bug.cgi?id=67202
799 * src/sheet-autofill.c (fill_item_new) : take the autofmt into
802 http://bugzilla.gnome.org/show_bug.cgi?id=67179
803 * src/workbook-control-gui.c (delete_sheet_if_possible) :
804 don't prompt for sheet delete if it is pristine.
806 * src/workbook.c (workbook_sheet_delete) : no need to wipe things if
807 the sheet is pristine.
809 http://bugzilla.gnome.org/show_bug.cgi?id=67208
810 * src/func.c (tokenized_help_new) : be more picky about parsing
813 http://bugzilla.gnome.org/show_bug.cgi?id=67218
814 * src/sheet-object-graphic.c (sheet_object_graphic_user_config) :
815 'Transparent' makes no sense for lines & arrows.
817 http://bugzilla.gnome.org/show_bug.cgi?id=67217
818 * src/parser.y (expr_parse_str) : Do not assign bit masked values
819 directly to bit masked elements.
821 * src/commands.c (cmd_paste_cut_redo) : be more specific about what
822 content needs to be stored. We only need to store things
825 * src/gnumeric-simple-canvas.c : new simple base to help keep
826 multiple canvases register grab states with the scg.
828 * src/commands.c (cmd_autofill) : check the source range for array
831 2001-12-18 Jody Goldberg <jody@gnome.org>
833 * src/xml-io.c (xml_read_cell_copy) : only add an expr_ref when
834 connecting to shared expressions, the parse has already set it to 1.
835 On expr parse errors for shard expressions set the value to empty
836 not NULL. Be pedantic and value_release the empty in the value
837 case, things may change in the future.
839 * src/cell-draw.c (cell_draw) : more protection from missing fonts.
841 * bonobo/src/parser.c (gnumeric_parse_error) : fix leak when there is
842 no ParseError to store the message.
844 2001-12-18 Jody Goldberg <jody@gnome.org>
846 * src/gui-clipboard.c (x_selection_handler) : tweak the
847 interface for serializing a CellRegion.
848 (x_selection_received) : rework the handling of gnumeric -> gnumeric
849 operations, change the atom to be the mime type, and add hooks to
850 prepare for html parsing.
852 * src/xml-io.c (cell_copy_new) : new.
853 (xml_read_cell_copy) : new.
854 (xml_cellregion_read) : new.
855 (xml_cellregion_write) : new.
857 2001-12-18 Jody Goldberg <jody@gnome.org>
859 * src/parse-util.c (cellref_name) : avoid temporaries.
861 * src/validation.c (validation_link) : new.
862 (validation_unlink) : new.
864 * src/ranges.c (parse_range) : clean the interface to actually take a
866 * src/print-info.c (load_range) : parse_range change.
867 * src/sheet-object.c (sheet_object_read_xml) : ditto.
869 * gnumeric.mime : Add Applix.
871 * src/style-condition.c (style_condition_new_expr) : do not link in
872 on creation, there is no need for a sheet here.
873 (style_condition_constraint_eval) : ignore SCC_IS_CUSTOM.
874 (style_condition_link) : new.
875 (style_condition_unlink) : new.
877 * src/mstyle.c (mstyle_link_sheet) : link validation elements.
878 (mstyle_unlink_sheet) : unlink validation elements.
880 2001-12-17 Jody Goldberg <jody@gnome.org>
882 * src/gnumeric-canvas.h (GNUMERIC_CANVAS_FACTOR_Y) : increase.
884 2001-12-17 Morten Welinder <terra@diku.dk>
886 * src/search.c (search_collect_cells): Improve portability. (From:
887 "J.H.M. Dassen (Ray)" <dm@zensunni.demon.nl>)
889 2001-12-17 Jody Goldberg <jody@gnome.org>
891 * src/item-grid.c (item_grid_event) : use the Gnumeric Canvas versions
893 (ig_obj_create_begin) : ditto.
894 (item_grid_button_1) : ditto.
895 * src/item-bar.c (item_bar_event) : ditto.
896 * src/item-cursor.c (item_cursor_selection_event) : ditto.
897 (item_cursor_drag_event) : ditto.
898 (item_cursor_autofill_event) : ditto.
899 * src/sheet-control-gui.c (cb_control_point_event) : ditto.
901 * src/gnumeric-canvas.c (gnm_canvas_item_ungrab) : new.
902 (gnm_canvas_item_grab) : new.
903 (gnm_canvas_key_press) : silently absorb keypress events during mouse
904 grabs. This help protect against users using accelerators while
905 grabbing. If the accelerator command brought up a dialog we lost
906 the release event, resulting in a dangling mouse grab.
907 (gnm_canvas_key_release) : ditto.
909 2001-12-17 Jody Goldberg <jody@gnome.org>
911 * src/auto-correct.c (autocorrect_tool) : remove mis-implemented
912 'caps-lock' feature. XL checks while you are typing and notices the
913 use of Shift in conjunction with Caps-Lock, and switches off
916 2001-12-16 Jody Goldberg <jody@gnome.org>
918 * configure.in : Post release version bump
920 2001-12-15 Jody Goldberg <jody@gnome.org>
924 2001-12-15 Jody Goldberg <jody@gnome.org>
926 * src/format-template.c (format_template_member_get_rect) : warning
929 * src/application.c (application_init) : add the 16x16 graph guru icon.
931 * doc/C/Makefile.am : distribute header & footer too.
932 * gnumeric.spec.in : s/images/figures/
934 * src/GNOME_Gnumeric.xml : The icon for Exit is 'Quit' not 'Exit'
937 2001-12-14 Gregory Leblanc <gleblanc@linuxweasel.com>
939 * configure.in: added a check for 'jw' for docs
940 * doc/C/Makefile.am: rewrote to use the sgmldocs.make template
941 * doc/C/*.sgml: renamed images/ to figures/, to save me from
943 * doc/sgmldocs.make: added this file from the GDP to make building
944 docs easier/workable.
946 2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
948 * src/cellspan.c (cellspan_is_empty) : handle empty but defined
950 (cell_calc_span) : don't span empty cells (#66658)
953 2001-12-13 Jody Goldberg <jody@gnome.org>
957 * src/workbook.c (workbook_set_filename) : const.
959 * src/workbook-control-gui.c (wb_control_gui_focus_cur_sheet) : back
960 port some gnome2 fixes.
961 (cb_notebook_switch_page) : ditto.
963 * src/workbook-edit.c (auto_complete_matches) : Use
964 gtk_editable_get_position.
966 * src/plugin-loader.h (gnumeric_plugin_loader_get_type) : fix return type.
968 * src/plugin-loader.c : Use PL_GET_CLASS.
970 * src/item-bar.c (item_bar_translate) : delete useless.
971 * src/item-cursor.c (item_cursor_translate) : delete useless.
972 * src/item-edit.c (item_edit_translate) : delete useless.
973 (point_is_inside_range) : Use gtk_editable_get_position.
975 * src/gui-file.c (gui_file_import) : const.
977 * src/complete-sheet.c (free_search) : unused.
978 (complete_sheet_finalize) : protect.
979 (complete_sheet_destroy) : delete.
981 * configure.in : explicitly add gdk_pixbuf just in case gnome-print
984 * src/sheet-autofill.c (sheet_autofill) : pass singleton_increment to.
985 (sheet_autofill_dir) : here.
986 (autofill_create_fill_items) : here.
987 (autofill_compute_delta) : and here. Use singleton_increment. Handle
988 singleton date fills.
990 2001-12-13 Jody Goldberg <jody@gnome.org>
992 * src/workbook.c (workbook_set_filename) : const.
994 * src/gui-file.c (gui_file_import) : const.
996 2001-12-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
998 * src/stf-parse.c (stf_parse_options_fixed_autodiscover) :
999 Only delete one split for each empty column (Bug #66433)
1001 2001-12-13 Jody Goldberg <jody@gnome.org>
1003 * src/ranges.c (range_has_header) : !$!%! XL uses styles to
1004 differentiate for sorting, but not for graph data guru.
1005 * src/workbook-control-gui.c (sort_by_rows) : changes to
1007 * src/gnumeric-graph.c (gnm_graph_range_to_vectors) : ditto.
1009 2001-12-12 Jody Goldberg <jody@gnome.org>
1011 http://bugzilla.gnome.org/show_bug.cgi?id=66821
1012 * src/sheet.c (sheet_colrow_insdel_finish) : don't move styles here.
1013 (sheet_colrow_insert_finish) : do it here, and insert.
1014 (sheet_colrow_delete_finish) : or here, and remove.
1016 * src/commands.c (cmd_autofill_redo) : add some protection against
1018 * src/commands.c (cmd_autofill) : disable attempts to shrink a
1021 2001-12-12 Jody Goldberg <jody@gnome.org>
1023 * src/file-autoft.c (category_group_list_find_category_by_name) : make
1025 * src/plugin-service.c (gnum_plugin_file_opener_probe) : const.
1026 * src/workbook-view.c (wb_view_attach_control) : ditto.
1027 * src/workbook.c (workbook_attach_view) : ditto.
1028 * src/workbook-edit.c (entry_changed) : ditto.
1029 * src/workbook-edit.c (auto_complete_matches) : ditto.
1031 2001-12-11 Jody Goldberg <jody@gnome.org>
1033 * src/xml-io.c (gnumeric_xml_set_compression) : Make the compression
1035 (gnumeric_xml_write_workbook) : when saving .xml don't compress.
1037 * src/xml-io-autoft.c : Use libxml[12] compatibility xmlRootNode
1039 2001-12-11 Jody Goldberg <jody@gnome.org>
1041 http://bugzilla.gnome.org/show_bug.cgi?id=66666 Part 1
1042 * src/colrow.c (colrow_get_states) : init even if we are default
1043 just in case something scans it later.
1045 2001-12-10 Jody Goldberg <jody@gnome.org>
1047 * configure.in (version) : bump to 0.99.0 in preparation for 1.0.0
1049 2001-12-10 Jody Goldberg <jody@gnome.org>
1051 * src/value.c (value_new_string_str) : absorb the ref.
1052 (value_duplicate) : manually add a ref here.
1054 * src/format.c (render_number) : make public.
1055 (do_render_number) : remove pointless args.
1056 (format_number) : localize more of the scientific handling.
1058 2001-12-09 Jody Goldberg <jody@gnome.org>
1060 http://bugzilla.gnome.org/show_bug.cgi?id=66442
1061 * src/sort.c (sort_contents) : support sorting that does not start at
1064 2001-12-07 Jody Goldberg <jody@gnome.org>
1066 * src/sheet.c (sheet_make_cell_visible) : add a couple_pane argument.
1067 * src/sheet-control-gui.c (scg_cursor_move_to) : merge into.
1068 (scg_cursor_move) : here.
1069 * src/sheet-control.c (sc_make_cell_visible) : remove the force
1072 2001-12-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
1074 * src/analysis-tools.c (ztest_tool) : fix leak
1075 (ttest_paired_tool) : ditto
1076 (ttest_eq_var_tool) : ditto
1077 (ttest_neq_var_tool) : ditto
1079 2001-12-07 Jody Goldberg <jody@gnome.org>
1081 * src/parse-util.c (parse_cell_name_or_range) : delete unused.
1082 (parse_cell_name_list) : ditto.
1084 2001-12-06 Jody Goldberg <jody@gnome.org>
1086 * src/sheet.c (sheet_colrow_set_collapse) : new.
1087 (sheet_colrow_insert_finish) : new.
1088 (sheet_colrow_delete_finish) : new.
1089 (sheet_{col,row}_{ins,del} : use them here, we shoulw now correctly
1090 handle collapse states and gutters when ins/del cols/row.
1092 2001-12-06 Jody Goldberg <jody@gnome.org>
1094 * src/sheet.c (sheet_colrow_gutter) : change signature and toggle the
1095 resize flag if necessary.
1096 (sheet_update_only_grid) : handle the resize and
1097 recompute_max_{col,row}_group flags.
1099 * src/colrow.c (colrow_set_states) : use simplified
1100 sheet_colrow_gutter signature.
1102 2001-12-06 Jody Goldberg <jody@gnome.org>
1104 * src/workbook-cmd-format.c (sheet_dialog_set_row_height) : const.
1106 * src/workbook-object-toolbar.c : disable some code that is not ready
1109 * src/sheet.c (sheet_colrow_insdel_finish) : new.
1110 (sheet_{col,row}_{ins,del} : use it here, and adjust the arguments to
1111 include optional state to fill in the new cols/rows.
1112 (sheet_colrow_fit_gutter) : simplify.
1113 (sheet_colrow_group_ungroup) : ditto.
1114 (sheet_colrow_fetch) : new utility.
1115 (sheet_colrow_get_info) : ditto.
1117 * src/sheet-control-gui.c (scg_setup_group_buttons) : new.
1118 (scg_resize) : use it here.
1119 (sheet_control_gui_new) : handle the layout for the group buttons.
1121 * src/print.c (compute_group) : const.
1123 * src/item-grid.c (item_grid_draw) : remove pointless use of
1124 ColRowInfo::pos because I want to remove that eventually.
1125 * src/print-cell.c (print_cell_range) : ditto.
1127 * src/item-bar.c (item_bar_normal_font) : new.
1128 (item_bar_indent) : new.
1129 (item_bar_draw) : draw the top line as black, to match other buttons,
1132 * src/history.c (history_menu_locate_separator) : sync with manu
1136 (ColRowStateGroup) : rename from ColRowSizeList.
1137 (ColRowStateList) : rename from ColRowRLESizeList.
1139 * src/gnumeric-canvas.c (gnm_canvas_find_col) : const.
1141 * src/complete-sheet.c (complete_sheet_search_iteration) : const.
1143 * src/commands.c (cmd_ins_del_colrow_undo) : pass the states into the
1144 sheet_ routines. They will handle restoring them, and cleaning up the
1146 (cmd_ins_del_colrow_redo) : ditto.
1147 (cmd_ins_del_colrow_destroy) : simplify.
1148 (cmd_colrow_outline_change) : use get_info and avoid the need to check
1150 (cmd_group_undo) : simplify.
1151 (cmd_group_redo) : ditto.
1152 (cmd_group) : simplify.
1154 * src/colrow.c (colrow_compute_pixels_from_pts) : move here from
1156 (colrow_compute_pts_from_pixels) : ditto.
1157 (colrow_is_default) : new utility routine so that we can remove ::pos
1159 (ColRowState) : new struct, will eventually replace the ColRowInfo.
1160 (colrow_make_state) : new.
1161 (colrow_get_states) : renamed from colrow_save_sizes and add support
1162 for outline levels and collapse state.
1163 (colrow_set_sizes) : use the correct aliases for the lists.
1164 (colrow_set_states) : renamed from colrow_restore_sizes and support
1165 the extra state info.
1166 (colrow_restore_state_group) : rename colrow_restore_sizes_group.
1167 (colrow_set_outline) : simplify.
1169 2001-12-05 Jody Goldberg <jody@gnome.org>
1171 * src/colrow.c (colrow_state_group_destroy) : rename from
1172 colrow_rle_size_list_destroy.
1174 * src/cellspan.c (cell_calc_span) : const.
1176 2001-11-29 Jody Goldberg <jody@gnome.org>
1178 * src/sheet-control-gui.c (scg_resize) : size the select all button.
1180 * src/item-bar.c (item_bar_indent) : new utility.
1182 2001-12-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
1184 * src/clipboard.c (clipboard_paste_region) : handle a
1185 single merged target cell only as special if the
1186 source is a single cell. (#65760 & #58691)
1188 2001-12-04 Morten Welinder <terra@diku.dk>
1190 * plugins/*/Makefile.am: fixup xml file's dlname.
1191 * plugins/*/plugin.xml.in: Ditto.
1193 2001-12-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
1195 * src/analysis-tools.c : delete old_data_set_t
1196 (get_data_groupped_by_columns) : deleted
1197 (get_data_groupped_by_rows) : deleted
1198 (check_data_for_missing) : new utility routine
1199 (make_label) : new utility routine
1200 (anova_two_factor_without_r_tool) : support input from
1201 several sheets and support label choices
1202 (anova_two_factor_with_r_tool) : ditto, plus support missing
1204 (histogram_tool) Add percentage column and format percentages
1208 2001-12-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
1210 * src/parser.y (expr_parse_str) Initialize expr to NULL
1212 2001-12-02 Andreas J. Guelzow <aguelzow@taliesin.ca>
1214 * src/workbook-control-gui.c (show_gui) : implement complete
1215 --geometry option (according to X man page)
1216 (read_int) : taken from GTK 2.0
1217 (gtk_XParseGeometry) : ditto
1219 2001-12-01 Abel Cheung <maddog@linux.org.hk>
1221 * configure.in: Renamed zh_CN.GB2312 to zh_CN in ALL_LINGUAS .
1223 2001-11-29 Andreas J. Guelzow <aguelzow@taliesin.ca>
1225 * src/search.c (search_filter_matching) initialize pointers to
1228 2001-11-29 Abel Cheung <maddog@linux.org.hk>
1230 * configure.in: Re-added zh_TW into ALL_LINGUAS, verified
1231 gnumeric with CJK fonts now.
1233 2001-11-27 Jody Goldberg <jgoldberg@home.com>
1235 * src/item-grid.c (item_grid_draw) : minor tweaks.
1236 * src/print-cell.c (print_cell_range) : sync with drawing code.
1238 2001-11-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
1240 * src/xml-io.c (xml_write_selection_clipboard) Don't free
1241 range_list until we are done with it. (#65495)
1243 2001-11-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
1245 * src/analysis-tools.c (free_data_set) : delete (obsolete)
1246 (set_percent) new utility procedure to set cell format
1247 (ranking_tool) rewrite to use new suport functions, to allow
1248 input references to other sheets, handle ties in ranks
1249 according to statistical practice, set cell format for
1252 2001-11-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
1254 * src/workbook-control-gui.c (show_gui) : use -geometry option from
1255 command line (if available) for first window
1256 * src/main.h : new static variable x_geometry
1257 * src/main.c : new command line option -geometry (#57588)
1259 2001-11-27 Jody Goldberg <jody@gnome.org>
1261 * src/xml-io.c (xml_write_names) : export the position correctly.
1262 (xml_read_names) : init the parse error.
1264 2001-11-26 Jody Goldberg <jody@gnome.org>
1266 * GNOME_Gnumeric.oaf.in : remove references to gnumeric-bonobo
1268 2001-11-26 Jody Goldberg <jody@gnome.org>
1270 * src/ranges.c (global_range_list_parse) : remove debug spew.
1272 * src/parser.y (force_explicit_sheet_references) : Use SEPARATOR not ','
1273 (expr_parse_str) : reverse the list.
1275 2001-11-25 Jody Goldberg <jody@gnome.org>
1277 * src/eval.c (handle_tree_deps) : add OPER_SET.
1278 * src/expr-name.c (name_refer_circular) : ditto.
1279 * src/expr.c (do_expr_tree_unref) : ditto.
1280 (expr_tree_equal) : ditto.
1281 (expr_eval_real) : ditto.
1282 (expr_rewrite) : ditto.
1283 (do_expr_tree_as_string) : ditto.
1284 (expr_tree_new_funcall) : use ExprList.
1285 (expr_parse_string) : delete.
1286 (expr_tree_new_set) : new.
1287 (expr_list_unref) : new.
1288 (expr_list_equal) : new.
1289 (expr_list_as_string) : new.
1291 * src/gnumeric.h : Add ExprList and ExprSet
1293 * src/parser.y (expr_parse_str) : renamed from gnumeric_expr_parser.
1294 Add support for multiple expressions.
1295 (line) : add support for multiple expressions.
1297 * src/ranges.c (global_range_parse) : Use expr_parse_str
1298 (global_range_list_parse) : rewrite to use expr_parse_str and use the
1299 new multi-expression support in the parser.
1301 * src/commands.c (cmd_area_set_text_redo) : Use expr_parse_str.
1302 * src/xml-io.c (xml_read_style_condition_chain) : ditto.
1303 (xml_cell_set_array_expr) : ditto.
1304 * src/workbook-view.c (wb_view_auto_expr) : ditto.
1305 * src/workbook-edit.c (wbcg_edit_finish) : ditto.
1306 * src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : ditto.
1307 * src/parse-util.c (parse_text_value_or_expr) : ditto.
1309 * src/auto-format.c (do_af_suggest) : Use ExprList instead of GList
1310 (do_af_suggest_list) : ditto.
1311 * src/collect.c (collect_floats) : ditto.
1312 (collect_floats_value) : ditto.
1313 (float_range_function) : ditto.
1314 * src/consolidate.c (simple_consolidate) : ditto.
1315 (colrow_formula_args_build) : ditto.
1316 (consolidate_apply) : ditto.
1318 2001-11-25 Abel Cheung <maddog@linux.org.hk>
1320 * configure.in: Removed zh_TW from ALL_LINGUAS. Traditional
1321 Chinese translation is un-maintained, and basically
1322 gnumeric is unusable for CJK people.
1324 2001-11-23 Andreas J. Guelzow <aguelzow@taliesin.ca>
1326 * src/analysis-tools.h : change discrete_random_tool_t to use Value rather than
1327 explicit row/column numbers
1328 * src/analysis-tools.c (random_tool) : use Value rather than explicit row/column
1329 numbers support input from other sheets, differentiate between various errors
1330 by returning more specifc error codes
1331 * ranges.c (global_range_parse) : use default sheet if string does not contain
1332 specific sheet reference
1334 2001-11-23 Jody Goldberg <jody@gnome.org>
1336 * src/parser.y (CELLREF RANGE_SEP CELL_REF) : init the sheet for both
1337 ranges when force_explicit_sheet_references is in effect.
1339 2001-11-23 Andreas J. Guelzow <aguelzow@taliesin.ca>
1341 * src/search.h : add curr_sheet to _SearchReplace
1342 * src/search.c (search_replace_verify) : use global_range_list_parse
1343 rather than parse_range
1344 (search_collect_cells) : ditto
1345 (search_collect_cells_cb) : callback for global_range_list_foreach in
1346 search_collect_cells
1348 2001-11-22 Jody Goldberg <jgoldberg@home.com>
1350 http://bugzilla.gnome.org/show_bug.cgi?id=65101
1351 * src/sheet.c (sheet_name_quote) : good idea, this also fixes a bug
1352 in instances where the where escaped characters in a name that
1353 started with a number.
1355 2001-11-20 Jody Goldberg <jgoldberg@home.com>
1357 http://bugzilla.gnome.org/show_bug.cgi?id=64990
1358 * src/sheet-style.c (style_row) : The 2nd half of the row tile fix.
1360 2001-11-19 Jody Goldberg <jgoldberg@home.com>
1362 * configure.in : Post release version bump
1364 2001-11-19 Jody Goldberg <jgoldberg@home.com>
1368 2001-11-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
1369 * src/analysis-tools.c (descriptive_stat_tool) : fix stupid error allowing more
1370 than one of summary, confidnec intervals, kth-largest, and kth-smallest
1371 to be redirected to a new sheet or workbook. Fix code formatting.
1373 2001-11-17 Jody Goldberg <jgoldberg@home.com>
1375 * src/commands.c (cmd_set_date_time_redo) : Use the stock formats.
1377 * src/item-cursor.c (cb_autofill_scroll) : tweak to try and keep one
1378 end visible when we switch dimensions.
1380 2001-11-03 Alex Barnes <alex.barnes@sympatico.ca>
1382 http://bugzilla.gnome.org/show_bug.cgi?id=63160 (inverse autofill feature request)
1384 (item_cursor_selection_event, item_cursor_autofill_event, cb_autofill_scroll) :
1385 allow inverse auto-fill, pass parameter to cmd_autofill to indicate inverse autofill
1387 * commands.h (cmd_autofill) :
1388 * commands.c (CmdAutofill, cmd_autofill) : extra parameter and struct
1389 member to support inverse autofill
1390 (cmd_autofill_redo) : flipped row, col parameters to sheet_autofill
1391 for inverse autofill
1393 * sheet-autofill.c (sheet_autofill, sheet_autofill_dir) :
1394 modifications to support inverse autofill, changed variable pos to count
1395 since it isn't used inside the loop
1397 * workbook-control-gui.c (cb_edit_fill_autofill) : added parameter in call
1398 to cmd_autofill for consistency
1400 2001-11-17 Jody Goldberg <jgoldberg@home.com>
1402 * src/workbook-control-gui.c (workbook_close_if_user_permits) : fix
1404 (wbcg_close_control) : don't close if we are being reerence by another
1405 operation. Fix sense of comparision.
1406 (wbcg_delete_event) : now that wbcg_close_control is fixed revert this
1407 to the correct meaning.
1409 * src/io-context.c (io_context_destroy) : unref the control
1410 (gnumeric_io_context_new) : ref the control so that it is not
1411 destroyed out from under us.
1413 2001-11-16 Jody Goldberg <jgoldberg@home.com>
1415 * src/GNOME_Gnumeric.xml : Add some missing ellipsis.
1416 * src/workbook-control-gui.c : ditto.
1418 2001-11-16 Jody Goldberg <jgoldberg@home.com>
1420 * configure.in (ALL_LINGUAS) : delete unmaintained translations
1421 es_DO es_GT es_HN es_MX es_PA es_PE es_SV
1423 http://bugzilla.gnome.org/show_bug.cgi?id=64661
1424 * src/sheet-object-cell-comment.c (comment_get_points) : Tweak the end
1425 col in presence of merged cells. This is a kludge, but I think it is
1428 2001-11-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
1430 * src/analysis-tools.c (get_data) : deleted
1431 (regression_tool) : handle missing observations and use confidence level
1433 2001-11-15 Jody Goldberg <jgoldberg@home.com>
1435 * src/workbook-control-gui.c (wbcg_rangesel_possible) : Doh!
1436 Use the logical entry when testing so that gurus work even if the
1437 current cell does not contain a valid range.
1439 2001-11-15 Jody Goldberg <jgoldberg@home.com>
1441 * src/item-bar.c (is_pointer_on_division) : simplify. No resize if
1442 there is a guru, or we are editing.
1443 (ib_set_cursor) : no need to be fancy, is_pointer_on_division
1444 does the majority of the work now.
1445 * src/item-bar.c (item_bar_event) : ditto.
1447 * src/cell-draw.c (cell_split_text) : split at hyphens.
1448 * src/print-cell.c (cell_split_text) : ditto.
1449 * src/rendered-value.c (rendered_value_calc_size_ext) : ditto.
1451 2001-11-11 Jody Goldberg <jgoldberg@home.com>
1453 * src/item-cursor.c (item_cursor_draw) : No one was using the
1454 'editing' cursor. delete it.
1456 2001-11-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
1458 * src/analysis-tools.c (new_data_set_list) : add `Bin'
1459 (histogram_tool) improve to ignore non-numerical entries and to support
1460 labels, pareto, multiple variables and input from several sheets
1461 * src/analysis-tools.h : add GROUPED_BY_BIN
1463 2001-11-14 Jody Goldberg <jgoldberg@home.com>
1465 * src/sheet.c (sheet_{insert,delete}_{cols,rows}) : Move the styles
1466 before the merged regions.
1468 2001-11-13 Jody Goldberg <jgoldberg@home.com>
1470 * src/sheet-style.c (style_row) : Fix Frob's magic mystery borders.
1472 * src/eval.c (dependent_changed) : Add some crash protection.
1474 2001-11-12 Jody Goldberg <jgoldberg@home.com>
1476 * src/item-grid.c (item_grid_draw) : fix handling of completely hidden
1479 2001-11-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
1481 * src/analysis-tools.c (average_tool) : handle `group-by' and `labels'
1482 as well as larger input selections
1483 (exp_smoothing_tool) : ditto
1485 2001-11-12 Jody Goldberg <jgoldberg@home.com>
1487 * src/workbook-control-gui.c (cb_file_send) : extra safety. Ensure
1488 that the mail component stayed activated. It is possible that it
1491 2001-11-11 Jody Goldberg <jgoldberg@home.com>
1493 * src/ranges.c (range_split_ranges) : remove the unused copy_fn
1494 arg and convert to using GSList.
1495 (range_fragment) : convert to GSList..
1496 (range_fragment_free) : ditto.
1498 * src/format-template.c : Convert several things to use Range *.
1499 (format_template_check_valid) : split out from.
1500 (format_template_apply_to_sheet_regions) : here.
1502 * src/commands.c (cmd_autoformat) : Use format_template_check_valid.
1503 (cmd_area_set_text_destroy) : range_fragment_free instead of doing it
1505 (cmd_clear_destroy) : ditto.
1506 (cmd_format_destroy) : ditto.
1507 (cmd_autoformat_destroy) : ditto.
1509 * src/xml-io.c (xml_write_selection_clipboard) : fix leak.
1510 * src/workbook-format-toolbar.c (cb_unmerge_cells) : ditto.
1511 (cb_merge_cells) : ditto.
1513 2001-11-11 Jody Goldberg <jgoldberg@home.com>
1515 * src/print.c (print_page) : fix horiz/vert centering in the presence
1518 2001-11-10 Jody Goldberg <jgoldberg@home.com>
1520 * src/workbook-control-gui.c (workbook_menu_format_column) :
1521 make col menu consistent with row menu.
1522 * src/GNOME_Gnumeric.xml : ditto.
1524 2001-11-10 Jody Goldberg <jgoldberg@home.com>
1526 * src/item-cursor.c (item_cursor_draw) : make block cursors more
1529 * src/workbook-control-gui.c (sheet_action_add_sheet) : restore the
1530 focus to the current sheet so that the new sheet does not get the
1533 * src/workbook-edit.c (wbcg_editing_expr) : delete.
1535 2001-11-09 Jody Goldberg <jgoldberg@home.com>
1537 http://bugzilla.gnome.org/show_bug.cgi?id=62131
1538 * src/commands.c (cmd_colrow_outline_change) : The logic is to funky
1539 for my health. I hope this doesn't screw something else up.
1541 2001-11-09 Jody Goldberg <jgoldberg@home.com>
1543 * src/sheet-object-widget.c (sheet_widget_checkbox_toggled) : Use
1544 expr_tree_get_range.
1545 (cb_checkbox_set_focus) : rework to use dialog::set-focus.
1546 (cb_checkbox_config_clicked) : use gnumeric_expr_entry_parse.
1547 (sheet_widget_checkbox_user_config) : set up the new focus handler.
1549 * src/sheet-control-gui.c (scg_object_nudge) : new.
1550 (scg_object_update_bbox) : no need to pass the view.
1551 (scg_object_move) : ditto.
1552 (cb_slide_handler) : ditto.
1554 * src/parser.y (force_explicit_sheet_references) : new.
1555 (parse_ref_or_string) : Support forcing an absolute ref.
1556 (gnumeric_expr_parser) : remove the individual flags and send in a bit
1559 * src/item-grid.c (item_grid_draw_merged_range) : filted invisble
1561 (item_grid_draw) : handle merges hidden by row, and support sliced
1562 merges in the future.
1564 * src/sheet.c (sheet_col_row_fit_gutter) : New max_outline semantics
1565 remove need for special case.
1566 (sheet_colrow_get) : new utility.
1568 * src/item-bar.c (ib_compute_pixels_from_indent) : Adjust to new
1569 outline_level semantics. We now implicitly add 1 when needed.
1570 rather than tweaking it at startup.
1571 (item_bar_draw) : ditto.
1572 (outline_button_press) : ditto.
1574 * src/gnumeric-pane.c (gnm_pane_release) : Clean out cursors and
1577 * src/gnumeric-graph.h : do not include idl header publicly.
1580 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : support moving
1581 objects with the keyboard.
1583 http://bugzilla.gnome.org/show_bug.cgi?id=64023
1584 * src/colrow.c (colrow_visibility) : visible collapse marks at lower
1585 levels should also be collapsed.
1587 * src/analysis-tools.c (get_data) : handle blanks better.
1589 2001-11-08 Morten Welinder <terra@diku.dk>
1591 * src/number-match.c (format_match_init): Track failed regexp
1592 generation to avoid leaks.
1594 2001-11-08 Morten Welinder <terra@diku.dk>
1596 * src/style.c (style_shutdown): Unref all the cached fonts.
1597 (style_font_new_simple): Make the initial ref_count be 2, i.e.,
1598 count the cached reference.
1600 2001-11-08 Andreas J. Guelzow <aguelzow@taliesin.ca>
1602 * src/analysis-tools.c (cb_store_data) : fix leak
1603 (strip_missing) : sort indices to be removed
1604 (union_of_int_sets) : don't bother sorting yet
1605 (set_cell_float_na) : assist in handling errors
1606 (descriptive_stat_tool) : adjust column widths
1607 (ztest_tool) : handle missing observations, input from other sheets and
1608 improve error recognition and handling
1609 (ttest_paired_tool) : ditto
1610 (ttest_eq_var_tool) : ditto
1611 (ttest_neq_var_tool) : ditto
1612 (anova_single_factor_tool_tool) : ditto
1613 (ftest_tool) : ditto
1615 2001-11-07 Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi>
1617 * src/workbook-view.c (wb_view_auto_expr) : changes to
1618 gnumeric_expr_parser signature.
1620 2001-11-09 Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi>
1622 * src/analysis-tools.c (exp_smoothing_tool): Implemented.
1624 2001-11-06 Morten Welinder <terra@diku.dk>
1626 * src/workbook-format-toolbar.c (modify_format): Plug leak.
1628 2001-11-05 Jody Goldberg <jgoldberg@home.com>
1630 * src/sheet-control-gui.c (scg_select_all) : rangesel_bound will call
1632 (scg_colrow_select) : ditto.
1633 (scg_rangesel_changed) : improve comments,
1634 (scg_rangesel_start) : take a range, and call
1635 gnumeric_expr_entry_rangesel_start.
1636 (scg_rangesel_extend_to) : call start if necessary.
1637 (scg_rangesel_bound) : ditto.
1639 * src/parse-util.c (cellref_a1_get) : return a point to 1 past the
1640 last character, or NULL instead of boolean.
1641 (cellref_r1c1_get) : ditto.
1642 (cellref_get) : ditto.
1644 * src/parser.y (parse_ref_or_string) : adjust to changes in cellref_get.
1645 * src/xml-io.c (xml_read_names) : ditto.
1647 * Makefile.am : Add BEVERAGES file.
1649 * src/item-grid.c (item_grid_button_1) : scg_rangesel_start now
1650 supports selecting a range.
1652 * src/gnumeric-pane.c (gnm_pane_rangesel_start) : just take a range,
1655 * src/workbook-edit.c (wbcg_edit_toggle_absolute) : delete.
1657 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : just forward the
1658 F4 to the expr-entry it knows what to do.
1660 2001-11-05 Morten Welinder <terra@diku.dk>
1662 * src/func.c (tokenized_help_new): Fix ABW. Jody: Hot Chocolate.
1664 * src/workbook-edit.c (wbcg_edit_finish): Plug leak.
1666 2001-11-05 Jody Goldberg <jgoldberg@home.com>
1668 * configure.in : Post release version bump.
1670 2001-11-05 Jody Goldberg <jgoldberg@home,com>
1674 2001-11-04 Jody Goldberg <jgoldberg@home.com>
1676 * src/sheet-autofill.c (type_is_compatible) : Handle list items being
1678 (in_list) : new, split from.
1679 (match_list) : new, split from.
1681 * src/gui-clipboard.c (x_selection_handler) : Better interaction with
1684 * src/gui-validation.c (validation_generate_msg) : support new
1685 'boolean expression'
1687 * src/style-condition.c (style_condition_expr_eval) : ditto.
1689 2001-11-04 Jody Goldberg <jgoldberg@home.com>
1691 * configure.in : bump libole version req.
1692 * gnumeric.spec.in : ditto.
1695 2001-11-03 Jody Goldberg <jgoldberg@home.com>
1697 * src/item-cursor.c (item_cursor_selection_event) : no need to get
1698 fancy with finish_edit. While editing none of this can be called.
1700 * src/sheet-object-container.c (cb_user_activation_request) : return
1703 * src/sheet-control-gui.c (scg_mode_edit_object) : accept any
1706 2001-11-02 Jody Goldberg <jgoldberg@home.com>
1708 * src/sheet-object-bonobo.c (open_cb) : support cancel.
1710 * src/item-grid.c (item_grid_draw_merged_range) : honour the selection
1713 * src/workbook-control-gui.c (cb_edit_select_all) : Use
1716 * src/sheet-control-gui.c (scg_select_all) : Make public.
1718 2001-11-02 Jody Goldberg <jgoldberg@home.com>
1720 * src/workbook-control-gui.c (change_menu_label) : Verb level labels
1722 (wbcg_menu_state_update) : ditto.
1723 (wbcg_undo_redo_labels) : ditto.
1725 2001-11-02 Morten Welinder <terra@diku.dk>
1727 * src/mathfunc.c (ML_NAN, ML_NEGINF, ML_POSINF): Attemp better
1730 * src/analysis-tools.c (random_tool): Localise variables. Don't
1731 allow negative probabilities. Plug leaks.
1733 2001-11-02 Jody Goldberg <jgoldberg@home.com>
1735 * src/sheet-style.c (sheet_style_unlink) : new.
1736 (sheet_style_find) : clarify the reference count semantics and fix
1738 (cb_style_unlink) : renamed from cb_style_unref, and convert to using
1740 (rstyle_dtor) : handle the style links/refs too.
1741 (rstyle_apply) : Use the link mechanism.
1742 (cell_tile_dtor) : use unlink rather than unref.
1743 (cell_tile_style_new) : ditto.
1744 (cell_tile_matrix_set) : ditto.
1745 (sheet_style_init) : link the default style into the sheet.
1746 (cb_unlink) : renamed from cb_remove_func, and converted to link.
1747 (sheet_style_shutdown) : default style is in the hash no need to clear
1748 in manually. Disable the hash pointer while clearing so that we
1749 don't change the hash while unlinking.
1750 (sheet_style_set_range) : use rstyle_dtor.
1751 (sheet_style_set_pos) : use rstyle_dtor.
1752 (sheet_style_default) : fix docs.
1753 (sheet_style_apply_range) : move the unref in rstyle_dtor.
1755 * src/mstyle.c : Add some optional ref/link count debugging.
1756 (mstyle_new) : init link info.
1757 (mstyle_copy) : ditto.
1758 (mstyle_copy_merge) : ditto.
1759 (mstyle_ref) : add debug.
1760 (mstyle_destroy) : merge into.
1761 (mstyle_ref) : here. add debug. Check link_count == 0 on destruction.
1762 (mstyle_ref_multiple) : replace with
1763 (mstyle_link_multiple) : this.
1764 (mstyle_link_sheet) : new routine that assigns a sheet and sets its
1765 link count to 1. If the sheet is already linked copy it and assign
1767 (mstyle_link) : increment the link count for an already linked style.
1768 (mstyle_unlink) : unlink and unref if no longer in use. TODO : this
1769 will unlink an dependent aspects of the style.
1771 2001-11-01 Jody Goldberg <jgoldberg@home.com>
1773 * src/workbook-edit.c (entry_changed) : autocomplete is in the wbv now.
1774 (wbcg_edit_start) : ditto.
1776 * src/sheet-style.c (rstyle_apply) : fix some silliness in the new
1777 code, but more work to come.
1779 * src/commands.c (cmd_set_text) : Yay! autocorrect is no longer tied
1782 * src/application.c (application_init) : Init autocorrection.
1784 * src/workbook-view.c (wb_view_set_arg) : add do_auto_completion.
1785 Make this a per workbook-view, persistent attribute. We still
1786 initialize from gnome-config, butthis should make things easier
1788 (wb_view_get_arg) : ditto.
1789 (workbook_view_class_init) : ditto.
1791 2001-11-01 Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi>
1793 * src/GNOME_Gnumeric.xml, src/worbook-control-gui.c: Added Filter
1796 2001-10-31 Jody Goldberg <jgoldberg@home.com>
1798 http://bugzilla.gnome.org/show_bug.cgi?id=63478
1799 * src/workbook-control-gui.c (cb_edit_fill_autofill) : fix mis-ordered
1802 * src/workbook-edit.c (wbcg_edit_finish) : don't remove the guru until
1803 we are sure we won't need it anymore.
1805 2001-10-31 Jody Goldberg <jgoldberg@home.com>
1807 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : move the bounds
1808 checking into the scg.
1809 (gnm_canvas_button_release) : move this from here.
1810 * src/workbook-control-gui.c (cb_scroll_wheel_support) : to here.
1812 * src/func.c (tokenized_help_new) : don't include the trailing
1815 * src/sheet-style.c (sheet_style_most_common_in_col) : typo.
1817 http://bugzilla.gnome.org/show_bug.cgi?id=63409
1818 * src/workbook-control-gui.c (workbook_control_gui_init) : fix
1819 position of freeze menu.
1821 http://bugzilla.gnome.org/show_bug.cgi?id=63415
1822 (wbcg_delete_event) : typo.
1824 http://bugzilla.gnome.org/show_bug.cgi?id=62683
1825 * src/sheet-object.c (sheet_object_set_sheet) : adding an object may
1828 2001-10-30 Andreas J. Guelzow <aguelzow@taliesin.ca>
1830 * src/ranges.c/h (global_range_contained) : new routine testing whether
1831 a range is contained in another, similar to range_contained.
1833 2001-10-30 Morten Welinder <terra@diku.dk>
1835 * src/validation.c: #include <config.h>
1836 * src/style-condition.c: Ditto.
1838 2001-10-27 Jody Goldberg <jgoldberg@home.com>
1840 * src/sheet.c (colrow_move) : trivial optimization to speed col/row
1843 * src/sheet-style.c (rstyle_ctor) : store the sheet to look up partial
1844 styles and use sheet_style_find for complete styles.
1845 (sheet_style_set_range) : signature change to rstyle_ctor.
1846 (sheet_style_set_pos) : ditto.
1847 (sheet_style_apply_range) : ditto.
1848 (sheet_style_find) : new.
1849 (sheet_style_shutdown) : unref the styles in the sheet hash.
1850 (cb_accumulate_count) : new.
1851 (cb_find_max) : new.
1852 (sheet_style_most_common_in_row) : new utility for use in the XL
1855 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1857 * src/xml-io.c (gnumeric_xml_write_workbook) : re-enable compression.
1859 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1863 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1865 * src/value.c (value_get_as_string) : fix long standing var alias.
1867 2001-10-29 Morten Welinder <terra@diku.dk>
1869 * src/eval.c (add_range_dep): Fix for large ranges.
1871 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1873 * src/number-match.c (format_create_regexp) : escape escaped
1874 characters in regexps.
1876 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1878 * configure.in : fix python test
1880 2001-10-29 Morten Welinder <terra@diku.dk>
1882 * src/func.c (function_iterate_argument_values): Plug leak.
1884 * src/workbook-view.c (wb_view_save_as): Plug leak.
1885 (wb_view_save): Ditto.
1887 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1889 * configure.in : bump version.
1891 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1895 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1897 * src/parser.y : add support for referencing names in other workbooks.
1899 * src/expr.c (expr_tree_new_name) : take an optional sheet and
1900 workbook as scoping info.
1901 (expr_eval_real) : handle inactive names.
1902 (do_expr_tree_to_string) : improve scoping.
1903 (expr_rewrite) : handle inactives and scope changes.
1905 * src/expr-name.c (expr_name_lookup) : add the notion of active and a
1906 ref count so that we can do a delayed destruction and invalidation.
1907 (expr_name_add) : make it clearer that the return is not meant
1909 (expr_name_create) : don't free the result of expr_name_lookup.
1910 (expr_name_ref) : generalize.
1911 (expr_name_unref) : ditto.
1912 (expr_name_remove) : deactivate the name.
1914 2001-10-27 Almer S. Tigelaar <almer@gnome.org>
1916 * src/GNOME_Gnumeric.xml: Tidy view menu.
1918 * src/workbook-control-gui.c: Idem.
1920 2001-10-27 Almer S. Tigelaar <almer@gnome.org>
1922 * src/GNOME_Gnumeric.xml: Enable validate menu item.
1924 * src/validation.[ch]: New, defines a container for
1925 validation settings.
1927 * src/Makefile.am: Add new validation.[ch]
1929 * src/gnumeric.h: Add validation declaration.
1931 * src/gui-validation.[ch] (validation_mstyle_get_title): Burn.
1932 (validation_generate_msg): Rework slightly to accept a stylecondition
1933 instead of an mstyle.
1934 (validation_mstyle_get_msg): Burn.
1935 (validation_mstyle_get_msg_subst): Burn.
1936 (validation_mstyle_set_title_msg): Burn.
1937 (validation_get_accept): Request a validation instead of
1938 an mstyle. Actually free the automatically generated message.
1940 * src/mstyle.[ch]: Adjust mstyle_names to include hidden/locked.
1941 (mstyle_hash): Remove validation style hashing.
1942 (mstyle_element_dump): Don't dump validation message, dump validation
1944 (mstyle_element_equal): Remove comparing of style and message.
1945 (mstyle_elements_equal): Don't give a mismatched types warning if
1946 one of the elements is not set.
1947 (mstyle_element_ref): Ref validation, remove reffing of msg.
1948 (mstyle_element_unref): Idem for unref.
1949 (mstyle_new_default): Don't initialize any validation related
1951 (mstyle_set_validation): Set a Validation instead of a StyleCondition.
1952 (mstyle_get_validation): Idem for get.
1953 (mstyle_set_validation_style): Burn.
1954 (mstyle_get_validation_style): Burn.
1955 (mstyle_set_validation_msg): Burn.
1956 (mstyle_get_validation_msg): Burn.
1958 * src/style-condition.c (style_condition_new_constraint): Initialize
1959 from passed parameter!
1961 * src/style-condition.h: Remove validation enum.
1963 * src/workbook-control-gui.c (cb_data_validate): Enable.
1964 (workbook_control_gui_init): Change index of consolidate
1967 * src/workbook-edit.c (wbcg_edit_validate) : Get the StyleCondition
1968 from the validation. The validation element must be set on the mstyle.
1969 Pass validation, not mstyle, to validation_get_accept.
1970 (wbcg_edit_finish): Only call wbcg_edit_validate if the validation
1971 element is set on the mstyle.
1973 * src/xml-io.c (xml_write_style_condition_chain): Generates a
1974 StyleConditionChain in XML format.
1975 (xml_read_style_condition_chain): Turns an XML description of a
1976 StyleConditionChain into a real StyleConditionChain.
1977 (xml_write_style): Add validation support.
1978 (xml_read_style): Idem.
1980 2001-10-27 Jody Goldberg <jgoldberg@home.com>
1982 * src/expr.c (cellref_relocate) : Only make the sheet local if the
1983 input ref did not qualify the sheet.
1985 * src/parse-util.c (parse_text_value_or_expr) : be more careful.
1987 2001-10-27 Jody Goldberg <jgoldberg@home.com>
1989 * configure.in : Support --with-python=prog
1991 2001-10-27 Jody Goldberg <jgoldberg@home.com>
1993 * src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
1994 sheet_relocate_objects update the bounds. Save it for sheet_update.
1995 This allows us to use reposition_objects which does double duty to
1996 help with resizing frozen panes too.
1998 * src/sheet-object.c (sheet_relocate_objects) : only update if requested.
2000 2001-10-27 Jody Goldberg <jgoldberg@home.com>
2002 * src/sheet-control-gui.c (scg_colrow_select) : be smarter about
2003 edit_pos placement when there are frozen panes.
2005 2001-10-27 Jody Goldberg <jgoldberg@home.com>
2007 * src/item-grid.c (item_grid_event) : move the cursor setting out of
2008 event::ENTER and into scg_set_display_cursor.
2010 * src/sheet-control-gui.c (scg_set_display_cursor) : new routine.
2011 (scg_mode_edit) : reset the display cursors.
2012 (scg_mode_edit_object) : ditto.
2013 (scg_mode_create_object) : ditto.
2015 * src/gnumeric-canvas.c (gnm_canvas_key_press) : if the key is
2016 unhandled forward it to the canvas items.
2018 * src/item-cursor.c (item_cursor_autofill_event) : ctrl-autofill
2019 defaults to increment.
2021 2001-10-26 Jody Goldberg <jgoldberg@home.com>
2023 * src/workbook-edit.c (wbcg_edit_finish) : remove the loops, and
2024 recursions. match against formatted values before expressions, then
2025 fall back to strings.
2027 * src/parse-util.c (parse_text_value_or_expr) : match against
2028 formatted values before expressions, then fall back to strings.
2030 * src/cell.c (cell_set_text) : parse_text_value_or_expr takes a ParsePos.
2031 * src/sheet.c (sheet_cell_set_text) : ditto.
2032 * src/widgets/gnumeric-expr-entry.c
2033 (gnumeric_expr_entry_key_press_event) : ditto.
2034 * src/commands.c (cmd_area_set_text_redo) : ditto.
2035 (cmd_area_set_text) : ditto.
2036 (cmd_search_replace_do_cell) : create a tmp EvalPos to avoid changing
2037 the search data structures.
2039 * src/expr.c (expr_tree_get_range) : renamed from range_from_expr_tree.
2040 add support for singletons.
2042 * src/ranges.c (global_range_parse) : tweak slightly.
2044 2001-10-26 Jody Goldberg <jgoldberg@home.com>
2046 * src/number-match.c (format_match_init) : don't include text in the
2047 stock set of formats they should only match numbers.
2049 2001-10-25 Jody Goldberg <jgoldberg@home.com>
2051 * src/sheet-autofill.c (autofill_compute_delta) : try to clarify
2052 things by removing the unused parameter.
2053 (autofill_cell) : Restore and correct the old code.
2055 2001-10-25 Andreas J. Guelzow <aguelzow@taliesin.ca>
2057 * src/analysis-tools.c : various routines added to keep track of missing
2058 observations as well as various routines removed that are no longer
2059 required. Renamed data_set_t to old_data_set_t, and introduced a new
2061 (correlation_tool) : now handles missing observations and permits disconnected
2062 rectangular data regions
2063 (covariance_tool) : ditto
2064 (descriptive_stat_tool) : now permits disconnected rectangular data regions
2065 (sampling_tool) : now permits samples of multiple datasets as well as multiple
2067 * src/analysis-tools.h : new group_by_t type
2068 * src/ranges.c (global_range_parse) : fix bug (relative references were
2069 evaluated with respect to B2 rather than A1)
2071 2001-10-25 Morten Welinder <terra@diku.dk>
2073 * src/number-match.c (format_create_regexp): Sign after "E" is
2075 (char_to_re): New function.
2076 (format_create_regexp): Use char_to_re to quote thousand and
2078 (compute_value): Fix sign handling.
2080 2001-10-25 Jody Goldberg <jgoldberg@home.com>
2082 * src/number-match.c (compute_value) : fix leaks.
2084 * src/sheet-autofill.c (autofill_cell) : fix leak.
2086 * gnumeric.xsd : add the scaling information.
2088 * src/xml-io.c (xml_write_print_info) : why weren't we saving scaling
2090 (xml_read_print_info) : or reading back.
2092 2001-10-25 Jody Goldberg <jgoldberg@home.com>
2094 * src/ranges.c (global_range_list_parse) : put things in the right
2096 (global_range_list_foreach) : new routine designed to replace old
2097 range_list_foreach_full.
2099 * src/number-match.c (compute_value) : fix old typo, make dates
2100 integers when possible.
2102 2001-10-25 Jody Goldberg <jgoldberg@home.com>
2104 * src/number-match.c (compute_value) : fix return values and test that
2105 year is within bounds.
2107 * src/ranges.c (range_trim) : decrease lobotomization factor.
2109 2001-10-23 Jody Goldberg <jgoldberg@home.com>
2111 * src/expr-name.c (named_expr_new) : renamed from add_real, simplified
2113 (expr_name_add) : take and store a parse position.
2114 (expr_name_create) : ditto.
2115 (expr_name_destroy) : adjust to stored parsepos.
2116 (expr_name_unlink) : ditto.
2117 (expr_name_sheet2wb) : ditto.
2118 (expr_name_init) : ditto.
2119 (expr_name_as_string) : renamed from expr_name_value.
2120 (expr_name_eval) : renamed from eval_expr_name.
2122 s/eval_expr/expr_eval/
2124 * src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
2126 * src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
2128 (encode_cellref) : delete redundant.
2130 * src/parse-util.c (cellref_name) : ICK! XL wraps relative references
2131 that are out of bounds.
2133 2001-10-23 Andreas J. Guelzow <aguelzow@taliesin.ca>
2135 * src/ranges.c/h (global_range_parse) : remove `strict' argument
2136 (range_list_foreach_full) : change third argument from boolean to
2137 enumerate to allow third variant, namely call backup even for NULL
2138 cells without creating them.
2139 * src/ranges.c (global_range_parse) : change to a wrapper
2140 around expr_parse_string.
2141 (global_range_list_parse) : new routine, analogue
2142 to range_list_parse but calling global_range_parse rather than
2143 range_parse (for analysis tools)
2145 2001-10-23 Almer S. Tigelaar <almer@gnome.org>
2147 * src/mstyle.c (mstyle_get_validation_msg): Fix this for
2148 cases where the msg is NULL.
2150 * src/workbook-edit.c (wbcg_edit_validate): Call upon
2151 validation_get_accept in gui-validation.c to pop-up
2154 * src/gui-validation.[ch]: New, gui parts of validation.
2155 Used by wbcg_edit_validate and also in dialog-cell-format.c
2157 * src/style-condition.c (style_condition_flags_eval): Remove
2160 2001-10-22 Almer S. Tigelaar <almer@gnome.org>
2162 * src/style-condition.h :
2163 Re-Order validation Enum and define new StyleCondition
2166 * src/style-condition.c (style_condition_expr_dep_eval) :
2167 Renamed from style_condition_dep_eval.
2168 (style_condition_expr_set_expr) :
2169 Renamed from style_condition_set_expr.
2170 (style_condition_expr_dep_debug_name) :
2171 Renamed from style_condition_dep_debug_name.
2172 (style_condition_new_expr): Renamed from
2173 style_condition_new.
2174 (style_condition_new_constraint): New, creates a
2175 stylecondition of type constraint.
2176 (style_condition_new_flags): New, creates a stylecondition
2178 (style_condition_unref): Deal with changes in stylecondition
2180 (style_condition_chain): Add operator parameter.
2181 (style_condition_expr_eval): Split out from style_condition_eval.
2182 (style_condition_constraint_eval): Idem.
2183 (style_condition_flags_eval): New, handles allow blank.
2184 (style_condition_dump): New, dumps a style condition chain to the
2185 screen. For debugging purposes.
2186 (style_condition_eval): Handle the new chain operators and use
2187 the *_eval functions.
2189 2001-10-22 Jody Goldberg <jgoldberg@home.com>
2191 * src/expr-name.c (name_refer_circular) : fix.
2193 * src/print.c (print_sheet_objects) : filter hidden objects.
2195 * src/commands.c (cmd_unmerge_cells_undo) : queue the original region
2196 for a redraw before remerging in case of spans.
2198 * src/parser.y (gnumeric_parse_error) : Use workbook_sheet_by_name.
2200 * src/sheet.c (sheet_lookup_by_name) : delete bogus routine.
2202 2001-10-21 Jody Goldberg <jgoldberg@home.com>
2204 * src/cellspan.c (cell_calc_span) : min_col is exclusive.
2206 * src/sheet-object-container.c (sheet_object_container_update_bounds) :
2208 * src/sheet-object-cell-comment.c (cell_comment_update_bounds) : ditto.
2209 * src/sheet-object-graphic.c (sheet_object_graphic_update_bounds) : ditto.
2210 (sheet_object_filled_update_bounds) : ditto.
2211 * src/sheet-object-widget.c (sheet_object_widget_update_bounds) : ditto.
2213 * src/sheet-object.c (sheet_object_init) : init is_visible.
2214 Not really needed, but lets be careful.
2215 (sheet_object_update_bounds) : check to visibility.
2217 2001-10-20 jody goldberg <jgoldberg@home.com>
2219 * src/sheet.c (cb_max_cell_width) : factor in indents too.
2221 2001-10-20 Jody Goldberg <jgoldberg@home.com>
2223 * src/sheet.c (sheet_find_boundary_{horizontal,vertical}) : handle
2224 jumping to end of non-blank region where the end is hidden.
2226 2001-10-19 Jody Goldberg <jgoldberg@home.com>
2228 * src/gnumeric-graph.c (gnm_graph_setup) : it is 'oaf-run-query'
2229 Spew the informative message for all oaf exceptions.
2231 2001-10-19 Morten Welinder <terra@diku.dk>
2233 * src/number-match.c (compute_value): Fix parsing of decimal
2234 fractions and exponents.
2236 2001-10-19 Morten Welinder <terra@diku.dk>
2238 * src/goal-seek.c (goal_seek_newton): Deliberately overshoot in
2239 each iteration. This makes it more likely that we get to hit both
2241 (goal_seek_bisection): Introduce Newton steps when we're close to
2242 a root. Pick best of xmid, xneg, and xpos when we decide we have
2243 the required precision.
2245 2001-10-19 Jody Goldberg <jgoldberg@home.com>
2247 * configure.in : Until the gb plugin works with newer gb make
2250 2001-10-19 Morten Welinder <terra@diku.dk>
2252 * src/goal-seek.c (goal_seek_bisection): Use mid-point bisection
2253 more often. Increase maximum number of iterations (just in case).
2255 * src/commands.c (cmd_ins_del_colrow_redo): Initialise cri, just
2258 2001-10-18 Andreas J. Guelzow <aguelzow@taliesin.ca>
2260 * src/ranges.c/h (global_range_parse) : new function
2262 2001-10-18 Jody Goldberg <jgoldberg@home.com>
2264 * configure.in : post release bump.
2266 2001-10-18 Jody Goldberg <jgoldberg@home.com>
2270 2001-10-18 Jody Goldberg <jgoldberg@home.com>
2272 * src/xml-io.c (xml_node_get_int) : use strtol
2273 (xml_node_get_double) : strtod.
2275 * src/number-match.c (format_match_number) : new.
2277 * src/expr.c (eval_expr_real) : format_match can match non-numbers now.
2279 2001-10-18 Morten Welinder <terra@diku.dk>
2281 * src/pixmaps/16_search.xpm: new file (derived from Evolution).
2282 * src/application.c (application_init): Add search pixmap.
2283 * src/workbook-control-gui.c (workbook_menu_edit): Ditto.
2284 * src/GNOME_Gnumeric.xml: Ditto.
2286 2001-10-17 Jody Goldberg <jgoldberg@home.com>
2288 * src/item-bar.c (ib_draw_cell) : add some protection in case of bad
2291 2001-10-17 Jody Goldberg <jgoldberg@home.com>
2293 * src/gui-util.c (gnumeric_create_popup_menu_list) : tweak this to
2295 (gnumeric_create_popup_menu) : and make this a wrapper.
2297 * src/gnumeric-graph.c (gnm_graph_user_config) : connect to the graph
2300 2001-10-17 Jon K Hellan <hellan@acm.org>
2302 * src/gnumeric-graph.h: Declare GNM_VECTOR_DATE to fix build.
2304 2001-10-16 Jody Goldberg <jgoldberg@home.com>
2306 * src/sheet-object.c (sheet_object_clear_sheet) : fix leak.
2308 * src/gnumeric-graph.c (gnm_graph_import_specification) : fix leak.
2310 2001-10-16 Jody Goldberg <jgoldberg@home.com>
2312 * rc/gnumeric-graph.c (gnm_graph_vector_eval) : patch leak.
2313 (gnm_graph_series_get_dimension) : s/element/dim_name/
2314 (gnm_graph_series_add_dimension) : ditto.
2316 2001-10-16 Jody Goldberg <jgoldberg@home.com>
2318 * src/gnumeric-graph.c (gnm_graph_type_selector) : delete.
2319 (gnm_graph_get_config_control) : ORBit returns garbage if the remote
2321 (gnm_graph_subscribe_vector) : ditto.
2323 2001-10-16 Andreas J. Guelzow <aguelzow@taliesin.ca>
2325 * src/analysis-tools.c (sampling_tool) : Fixed small bug.
2327 2001-10-16 Jody Goldberg <jgoldberg@home.com>
2329 * src/gnumeric-graph.c (gnm_graph_get_spec) : Buffer changed name.
2331 (gnm_graph_import_specification) : ditto.
2333 * idl/GNOME_Gnumeric_Graph.idl : Add some derived controls to act as
2336 2001-10-15 Jody Goldberg <jgoldberg@home.com>
2338 * src/gnumeric-graph.c (gnm_graph_series_get_dimension) : fix leak.
2339 (gnm_graph_import_specification) : fix leak.
2340 (gnm_graph_arrange_vectors) : ditto.
2342 2001-10-14 Almer S. Tigelaar <almer@gnome.org>
2344 * src/workbook-control-gui.c (cb_data_validate):
2345 Pop-up validation page of format dialog. Disabled
2348 * src/GNOME_Gnumeric.xml: Add validate menu
2349 item. Commented out for now.
2351 2001-10-13 Morten Welinder <terra@diku.dk>
2353 * src/search.c (search_match_string): Fix last change.
2355 2001-10-13 Jody Goldberg <jgoldberg@home.com>
2357 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : don't move past
2358 the unhidden region.
2359 * src/sheet.c (sheet_find_boundary_horizontal) : ditto.
2360 (sheet_find_boundary_vertical) :ditto.
2362 * src/colrow.c (colrow_set_visibility) : keep track of the bound of
2363 the unhidden region of the sheet.
2365 2001-10-12 Jody Goldberg <jgoldberg@home.com>
2367 http://bugzilla.gnome.org/show_bug.cgi?id=62167
2368 * src/parser.y (yylex) : If an integer is out of range fall back to
2369 float. Reorganize slightly to make this more readable.
2371 2001-10-12 Morten Welinder <terra@diku.dk>
2373 * src/search.c (search_collect_cells_free): New convenience
2375 (search_match_string): Fix word search.
2377 * src/commands.c (cmd_search_replace_do): Use
2378 search_collect_cells_free.
2380 2001-10-12 Jody Goldberg <jgoldberg@home.com>
2382 * src/gnumeric-graph.c (gnm_graph_vector_destroy) : release the cached
2384 (gnm_graph_arrange_vectors) : don't allocate anything if the manager
2387 2001-10-12 Morten Welinder <terra@diku.dk>
2389 * src/workbook-view.c (wb_view_open_custom): Plug leak.
2391 2001-10-12 Jody Goldberg <jgoldberg@home.com>
2393 * idl/GNOME_Gnumeric_Graph.idl : simplify my life
2394 make the manager inherit from Embeddable directly.
2396 2001-10-11 Jody Goldberg <jgoldberg@home.com>
2398 * src/mathfunc.c (minverse) : fix.
2400 2001-10-11 Jody Goldberg <jgoldberg@home.com>
2402 * src/eval.c (dependent_set_sheet) : new utility.
2404 2001-10-12 Morten Welinder <terra@diku.dk>
2406 * configure.in (gal): Require 0.14 because the new search code
2409 * src/workbook-control-gui.c: Add the F7 accelerator for
2412 2001-10-12 John Gotts <jgotts@linuxsavvy.com>
2414 * gnumeric.spec.in: If you don't want bonobo, change %define WithBonobo
2415 1 to %define WithBonobo 0.
2417 2001-10-11 Jody Goldberg <jgoldberg@home.com>
2419 * src/item-grid.c (ig_obj_create_motion) : renamed and restructured
2420 from cb_obj_create_motion.
2421 (ig_obj_create_finish) : ditto from cb_obj_create_button_release.
2422 (ig_obj_create_begin) : ditto from sheet_object_begin_creation.
2423 Grab to pointer and use the grid's event handler rather than
2424 attempting to apply local handlers for the canvas.
2425 (cb_extend_object_creation) : new.
2426 (item_grid_event) : use the new obj_create routines.
2427 (item_grid_init) : init the obj_create data.
2429 2001-10-11 Morten Welinder <terra@diku.dk>
2431 * src/search.c (search_filter_matching,
2432 search_filter_matching_free): New functions.
2434 * src/workbook-control-gui.c (workbook_control_gui_init): Plug leak.
2435 (cb_edit_search): Delete.
2436 (cb_edit_search): Use new dialog.
2438 2001-10-11 Jody Goldberg <jgoldberg@home.com>
2440 * src/workbook-control-gui.c (cb_file_quit) :
2441 (workbook_close_if_user_permits) : optionally avoid closing pristine
2442 books. Return more state info to handle cancel vs closed vs can
2444 (wbcg_close_control) : keep it simple.
2446 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2448 * src/colrow.c (colrow_visibility) : we stop wither at the edge, or 1
2449 past the last match.
2451 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2453 * src/mstyle.c (mstyle_merge) : delete.
2455 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2457 * src/plugin-util.c (gnumeric_fopen) : be smarter about what type of
2460 * src/xml-io.c (gnumeric_xml_write_workbook) : switch to manually
2461 opening the file then dumping to prepare for xml2. Apparently it
2462 attempts to escape file names.
2463 * src/xml-io-autoft.c (gnumeric_xml_write_format_template) : ditto.
2465 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2467 * src/xml-io.c (gnumeric_xml_set_compression) : new utility.
2468 (gnumeric_xml_write_selection_clipboard) : Used here.
2469 (gnumeric_xml_write_workbook) : and here.
2471 2001-10-10 Almer S. Tigelaar <almer@gnome.org>
2473 http://bugzilla.gnome.org/show_bug.cgi?id=62006
2474 * src/stf-parse.c (stf_parse_csv_is_separator): Tidy.
2475 (stf_parse_csv_cell): Fix handling of multiple separators.
2476 (stf_parse_get_colcount): Idem.
2477 (stf_parse_get_colwidth): Idem.
2479 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2481 http://bugzilla.gnome.org/show_bug.cgi?id=62031
2482 * src/sheet-control-gui.c (scg_cursor_extend) : Make this smarter.
2483 only make the dimension that changed visible, there is no need to
2486 * src/gui-util.h (color_combo_get_style_color) : add missing decl.
2488 2001-10-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
2490 * src/workbook-control-gui.c (cb_edit_fill_autofill) :
2491 Don't use C++/C99 `//' comment.
2493 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2495 * src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : Fix row vectors.
2496 (gnm_graph_vector_seq_date) : ditto.
2497 (gnm_graph_vector_seq_string) : ditto.
2499 2001-10-10 Jody Goldberg <jgoldberg@home.com>
2501 http://bugzilla.gnome.org/show_bug.cgi?id=62030
2502 * src/gui-util.c (color_combo_get_style_color) : new utility.
2503 * src/sheet-object-graphic.c (cb_dialog_graphic_clicked) : Use it here.
2504 (cb_dialog_filled_clicked) and here.
2506 2001-10-09 John Gotts <jgotts@linuxsavvy.com>
2508 * gnumeric.spec.in: Added gnome-core and bonobo as requirements.
2510 2001-10-09 Jody Goldberg <jgoldberg@home.com>
2512 * README : bump bonobo req to fix some crashes in printing.
2513 and fix some stale docs.
2514 * configure.in : ditto.
2516 2001-10-09 Jody Goldberg <jgoldberg@home.com>
2518 * GNOME_Gnumeric.oaf.in : Disable embeddable grid, it is broken.
2520 2001-10-09 Jody Goldberg <jgoldberg@home.com>
2522 * src/eval.c (dependent_set_expr) : Make a default handler to merge
2523 all the different states that have croppedup into one place.
2524 * src/gnumeric-graph.c (gnm_graph_vector_set_expr) : Use the default.
2525 * src/sheet-object-widget.c (checkbox_set_expr) : ditto.
2526 * src/style-condition.c (style_condition_dep_set_expr) : The default
2527 handles most of the work.
2529 * src/style-condition.c : Use DEPENDENT_MAKE_TYPE.
2531 2001-10-09 Jody Goldberg <jgoldberg@home.com>
2533 * src/gnumeric-graph.c (gnm_graph_add_vector) : Allow empties to
2535 (gnm_graph_vector_eval) : ditto.
2536 (gnm_graph_vector_seq_string) : handle singleton empties.
2538 2001-10-08 Almer S. Tigelaar <almer@gnome.org>
2540 * src/style-condition.[ch] (style_condition_eval):
2541 Add StyleFormat parameter and support for new non-value
2543 (style_condition_new): Don't demand expression for
2544 non-value restrictions.
2545 (style_condition_chain): Fix typo preventing chaining.
2547 * src/workbook-edit.c (wbcg_edit_validate): Pass
2548 StyleFormat parameter to style_condition_eval if
2551 2001-10-08 Jody Goldberg <jgoldberg@home.com>
2553 * configure.in : post release bump
2555 2001-10-07 Jody Goldberg <jgoldberg@home.com>
2559 2001-10-07 Jody Goldberg <jgoldberg@home.com>
2561 * configure.in (EXTRA_GNOME_{CFLAGS,LIBS}) : rename to something
2562 clearer like GNUMERIC_{CFLAGS,LIBS})
2563 * **/Makefile.am : Use them in place of EXTRA_* and GNOME_INCLUDEDIR.
2565 2001-10-06 Jody Goldberg <jgoldberg@home.com>
2567 * src/gnumeric-graph.c (gnm_graph_get_spec) : Add a force_update.
2568 (gnm_graph_series_delete) : new
2569 (gnm_graph_series_set_dimension) : new
2570 (gnm_graph_exception) : new.
2571 (gnm_graph_vector_from_string) : delete.
2573 2001-10-06 Jody Goldberg <jgoldberg@home.com>
2575 * src/dialogs/dialog-stf-preview.c (stf_preview_new) : Use
2576 gdk_fontset_load to be more friendly in multi-byte environments.
2577 * src/style.c (style_font_new_simple) : ditto.
2579 2001-10-06 Morten Welinder <terra@diku.dk>
2581 * src/workbook-control-gui.c (cb_edit_search_action): Handle
2584 * src/search.c (search_replace_cell, search_replace_comment): New
2585 functions, extracted from commands.c.
2587 * src/commands.c (cmd_search_replace_do_cell): Use search_replace
2588 and search_replace_comment.
2590 2001-10-06 Morten Welinder <terra@diku.dk>
2592 * src/workbook-control-gui.c (cb_edit_search): Implement search.
2594 * src/search.c (search_collect_cells): New function, extracted
2596 (search_match_string): New function to check for match only.
2598 * src/gui-util.c (gnumeric_keyed_dialog): Constify.
2600 2001-10-05 Jody Goldberg <jgoldberg@home.com>
2602 * src/number-match.c (format_match) : compute_value returns a Value
2604 (compute_value) : return a Value.
2606 2001-10-05 Jody Goldberg <jgoldberg@home.com>
2608 * src/gnumeric-graph.c (gnm_graph_series_set_dimension) : new.
2609 (gnm_graph_series_delete) : new.
2611 * idl/GNOME_Gnumeric_Graph.idl : Add seriesSetDimension, and
2612 seriesDelete. Bump the idl version.
2614 2001-10-05 Morten Welinder <terra@diku.dk>
2616 * src/commands.c (cmd_search_replace_do): Leg work for search.
2617 * src/search.h: Ditto.
2619 2001-10-05 Jody Goldberg <jgoldberg@home.com>
2621 * src/application.c (application_init) : Add a matching save icon for
2624 * src/workbook-control-gui.c (workbook_standard_toolbar) : Use it.
2625 * src/GNOME_Gnumeric.xml : and here.
2627 2001-10-04 Jody Goldberg <jgoldberg@home.com>
2629 * src/analysis-tools.c (get_data) : teeny tiny fixups. use
2630 prepend/reverse rather than append. Add an ignore_blanks
2633 2001-10-04 Jody Goldberg <jgoldberg@home.com>
2635 * src/analysis-tools.c (set_cell) : Use value_new_empty in place of an
2637 (set_cell_value) : don't clip singletons.
2639 2001-10-04 Jody Goldberg <jgoldberg@home.com>
2641 * src/number-match.c (format_create_regexp) : handle embedded strings
2644 2001-10-04 Jody Goldberg <jgoldberg@home.com>
2646 * src/workbook-control-gui.c (zoom_changed) : Start searching for the
2647 assigned text at the current list item.
2648 (cb_change_zoom) : adjust to new signal from the gnm_combo_text.
2649 Make more error resistant. Don't reset the content twice.
2650 (workbook_create_standard_toolbar) : adjust to new signals from the
2651 gnm_combo_text and use the simplified interface.
2653 * src/clipboard.c (paste_link) : adjust this to link a region not just
2654 a single cell so that we can link all the cells, even the blanks.
2655 (clipboard_paste_region) : simplify and change link handling to ignore
2658 2001-10-03 Jody Goldberg <jgoldberg@home.com>
2660 * src/application.c (application_clipboard_cut_copy) : merge
2661 application_clipboard_cut and application_clipboard_copy.
2662 Make the animated cursor optional.
2664 * src/selection.c (sheet_selection_cut) : interface change.
2665 (sheet_selection_copy) : ditto.
2666 * src/commands.c (cmd_ins_del_colrow_undo) : ditto.
2667 (cmd_ins_del_colrow_redo) : ditto.
2669 2001-10-03 Jody Goldberg <jgoldberg@home.com>
2671 * src/number-match.c (format_match_create) : ensure we don't compile
2673 (format_match_init) : no need to filter General here.
2674 * src/format.c (style_format_new_XL) : do it here.
2676 2001-10-03 Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi>
2678 * src/functions/fn-financial.c (coupnum): Fixed frequency 2 and 4.
2679 Now it can pass quite extensive test suite.
2681 2001-10-03 Jody Goldberg <jgoldberg@home.com>
2683 * src/item-cursor.c (item_cursor_point) : disable events that could
2684 cause cursor changes or allow dragging while a guru is up.
2686 2001-10-03 Jakub Steiner <jimmac@ximian.com>
2688 * gnome-gnumeric.png: now it scales down better AND looks nice ;)
2690 2001-10-03 Morten Welinder <terra@diku.dk>
2692 * src/workbook.c (workbook_sheet_get_free_name): Get rid of eye
2695 2001-10-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
2697 * src/analysis-tools.c (get_data) : Use sheet_cell_get_value rather
2699 (covariance_tool) : These are covariances rather than correlations.
2701 2001-10-03 Jody Goldberg <jgoldberg@home.com>
2703 * configure.in : Improve the oaf test.
2705 2001-10-02 Jody Goldberg <jgoldberg@home.com>
2707 * idl/Makefile.am : Don't make the stampel files unless the idl
2708 compile was successful.
2710 2001-10-02 Jody Goldberg <jgoldberg@home.com>
2712 * src/workbook-control-gui.c (workbook_create_standard_toolbar) : Use
2713 the gnm_combo_text until we merge it back into gal.
2715 2001-10-02 Morten Welinder <terra@diku.dk>
2717 * src/commands.c (cmd_search_replace_do_cell): Implement querying
2720 * src/search.h (SearchReplaceQuery): Add SRQ_querycommment.
2722 * src/workbook-control-gui.c (cb_edit_search_replace_query):
2723 implement SRQ_querycommment.
2725 2001-10-02 Jakub Steiner <jimmac@ximian.com>
2727 * gnome-gnumeric.png: less detail so it looks better scaled down
2729 2001-10-01 Jody Goldberg <jgoldberg@home.com>
2731 * src/Makefile.am : don't use _SOURCES for things that are not
2732 directly related to automake. 1.5 complains.
2734 * idl/Makefile.am (CLEANFILES) : New automake warnings.
2736 2001-10-01 Morten Welinder <terra@diku.dk>
2738 * src/search.h (SearchReplaceQuery): Add SRQ_query.
2740 * src/commands.c (cmd_search_replace_do_cell): Implement querying.
2742 * src/workbook-control-gui.c (cb_edit_search_replace_query):
2743 implement SRQ_query.
2745 * src/xml-io.c (xml_probe): Please gcc.
2747 2001-09-30 Jody Goldberg <jgoldberg@home.com>
2749 * src/sheet-object-widget.c (sheet_widget_checkbox_user_config) : Use
2750 gnumeric_expr_entry_set_rangesel_from_dep.
2752 2001-10-01 Zbigniew Chyla <cyba@gnome.pl>
2754 * src/xml-io.c (xml_probe): Accept .gnumeric, .xml, .xml.gz not
2755 "everything but .xml".
2757 2001-09-30 Jody Goldberg <jgoldberg@home.com>
2759 * src/gnumeric-graph.c (gnm_graph_vector_as_string) : screw it.
2760 Simplify my life by treating constants as expressions.
2761 (gnm_graph_series_get_dimension) : new utility.
2762 (gnm_graph_series_add_dimension) : new utility.
2764 2001-09-28 Morten Welinder <terra@diku.dk>
2766 * src/regression.c (LUPDecomp): Revert last change. This seems to
2767 fix regression, but there is something really bogus going on here.
2769 2001-09-28 Jody Goldberg <jgoldberg@home.com>
2771 * src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
2772 the visible_{col,row} args, Rename them to something more obvious
2773 to avoid future stupidity.
2775 2001-09-27 Jody Goldberg <jgoldberg@home.com>
2777 * src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
2778 pixel, rather than truncating.
2780 2001-09-27 Jody Goldberg <jgoldberg@home.com>
2782 * src/sheet-control-gui.c (set_acetate_coords) : make the control pts
2784 (set_item_x_y) : ditto.
2786 2001-09-27 Jody Goldberg <jgoldberg@home.com>
2788 * src/sheet-object-graphic.c (sheet_object_filled_print) : fix the
2789 color mapping. This should really be a convenience routine.
2790 * src/sheet-object-graphic.c (sheet_object_graphic_print) : ditto.
2792 2001-09-27 Jody Goldberg <jgoldberg@home.com>
2794 * src/sheet-object-graphic.c (sheet_object_graphic_fill_color_set) :
2795 Use StyleColors and make public.
2796 (sheet_object_graphic_destroy) : unref the fill colour.
2797 (sheet_object_graphic_new_view) : translate from stylecolor to gdk.
2798 (sheet_object_graphic_read_xml) : use style colors.
2799 (sheet_object_graphic_write_xml) : use style colors.
2800 (sheet_object_graphic_clone) : reference the fill colour.
2801 (sheet_object_graphic_print) : use style colour.
2802 (cb_dialog_graphic_clicked) : ditto.
2803 (cb_dialog_filled_clicked) : ditto.
2804 (sheet_object_graphic_user_config) : ditto.
2805 (sheet_object_filled_user_config) : ditto.
2807 * src/style-color.c (style_color_ref) : NULL is ok.
2808 (style_color_unref) : ditto.
2810 * src/xml-io.c (xml_node_get_color) : rename and tidy up.
2811 (xml_node_get_gdkcolor) : delete.
2812 (xml_node_set_gdkcolor) : delete.
2813 (xml_read_style_border) : changes to get_color.
2814 (xml_read_style) : ditto.
2816 2001-09-26 Jody Goldberg <jgoldberg@home.com>
2818 * src/item-grid.c (cb_obj_create_motion) : use down&right vs down&left.
2819 * src/sheet-control-gui.c (scg_object_view_position) : ditto.
2820 * src/sheet-object.c (sheet_object_direction_set) : ditto.
2822 2001-09-26 Jody Goldberg <jgoldberg@home.com>
2824 * gnumeric.xsd : The style flags are not required, it will eventually
2825 be possible to define styles that only change some of the
2826 attributes. Add locked & hidden.
2828 * src/xml-io.c (xml_write_style) : write locked & hidden.
2829 (xml_read_style) : read them too.
2831 * src/mstyle.c (mstyle_element_equal) : support locked and hidden.
2832 (mstyle_{get,set}_content_{locked,hidden}) : We have not implemented
2833 it yet, but storing the info is easy enough.
2834 (mstyle_new_default) : Add locked & hidden.
2836 2001-09-25 Jody Goldberg <jgoldberg@home.com>
2838 * src/expr.c (eval_expr_real) : shrink the stack a bit.
2840 2001-09-25 Jon K Hellan <hellan@acm.org>
2842 * idl/.cvsignore: Adapt to present reality.
2844 2001-09-25 Jody Goldberg <jgoldberg@home.com>
2846 * src/workbook-view.c (wb_view_selection_desc) : fix old typo.
2848 2001-09-24 Jody Goldberg <jgoldberg@home.com>
2850 * src/formats.c (cell_format_classify) : parse first, search list later.
2851 This ensures that we find the right precision and such.
2853 * src/number-match.c (format_create_regexp) : fix matching for
2854 non-separated numbers. This still needs work. The regexp is
2855 not handling the precision.
2856 (compute_value) : improve debug output.
2857 (format_match) : ditto.
2859 2001-09-21 Jody Goldberg <jgoldberg@home.com>
2861 * src/clipboard.c (cellregion_to_string) : don't append tabs or
2862 newlines for singletons.
2864 * src/item-bar.c (item_bar_event) : fix silliness that was breaking
2867 2001-09-20 Jody Goldberg <jgoldberg@home.com>
2869 * src/sheet-object-graphic.c (sheet_object_graphic_init) : Init the
2870 fill colour for lines and arrows to black.
2871 (sheet_object_filled_init) : Use a name rather than assuming 0 = black
2872 for outline colour, and convert the fill colour to white.
2874 2001-09-19 Jody Goldberg <jgoldberg@home.com>
2876 * src/eval.c (workbook_recalc) : only redraw if something recalced.
2877 (dependent_eval) : return flag if something recalced.
2879 2001-09-19 Jody Goldberg <jgoldberg@home.com>
2881 * src/cell-draw.c (cell_draw) : off by 1.
2882 * src/print-cell.c (print_cell) : off by 1.
2884 * src/sheet.c (sheet_cell_calc_span) : support SPANCALC_NO_DRAW
2885 and don't bother rendering calculated cells.
2886 (cb_max_cell_width) : render if necessary.
2888 2001-09-18 Jody Goldberg <jgoldberg@home.com>
2890 * src/style.c (style_font_get_width_pts) : renamed from
2891 style_font_get_width and set to return pts.
2893 2001-09-18 Jody Goldberg <jgoldberg@home.com>
2895 * src/cell-draw.c (cell_draw) : implemenent a bit of just in time
2897 * src/print-cell.c (print_cell) : ditto.
2898 * src/cell.c (cell_eval_content) : ditto.
2900 2001-09-18 Jody Goldberg <jgoldberg@home.com>
2902 * src/sheet-control-gui.c (scg_scrollbar_config) : Fix old off by 1
2903 error. Number of visible = last - first PLUS 1.
2905 2001-09-18 Jody Goldberg <jgoldberg@home.com>
2907 * src/sheet-control-gui.c (scg_redraw_all) : make headers optional.
2908 * src/sheet-control.c (sc_redraw_all) : make headers optional.
2909 * src/sheet.c (sheet_redraw_all) : make headers optional.
2911 * src/colrow.c (colrow_set_visibility_list) : redraw_all does headers.
2913 * src/cell.c (cell_eval_content) : don't redraw here, and only render
2914 if we were already rendered. This will avoid rendering sheets no
2917 * src/eval.c (workbook_recalc) : after a recalc redraw all, but not
2920 2001-09-17 Jody Goldberg <jgoldberg@home.com>
2922 * src/workbook-control.c (wb_control_menu_state_sensitivity) : new
2925 * src/workbook-control-gui.c (wbcg_menu_state_sensitivity) : renamed
2927 * src/workbook-edit.c (workbook_edit_toolbars_set_sensitive). here.
2929 * src/workbook-view.c (wb_view_open_custom) : Use
2930 wb_control_menu_state_sensitivity to enable/disable
2931 the menus and toolbars of the manging contol.
2933 2001-09-17 Jody Goldberg <jgoldberg@home.com>
2935 * src/sheet.c (sheet_cell_new) : add some protection.
2937 2001-09-16 Jody Goldberg <jgoldberg@home.com>
2939 * src/func.c (function_dump_defs) : dump the functions in alphabetical
2940 order. FIXME : when we have translated names we should use them.
2942 2001-09-14 Jody Goldberg <jgoldberg@home.com>
2944 * gnumeric.xsd : reference v8, and make Max{Col,Row} optional.
2946 * src/xml-io.c : bump the name space version to reflect the schema
2947 and move the location of the dtd and schema to somewhere we control.
2948 (xml_workbook_write) : reference the schema.
2949 (xml_sheet_write) : The name space is always available already.
2951 2001-09-14 Jody Goldberg <jgoldberg@home.com>
2953 * src/workbook-control-gui.c (workbook_create_standard_toolbar) : Use
2954 gnome_preferences_get_toolbar_detachable rather than
2955 gnome_preferences_get_menubar_detachable.
2956 * src/workbook-format-toolbar.c (workbook_create_format_toolbar) :ditto.
2957 * src/workbook-object-toolbar.c (workbook_create_object_toolbar) :ditto.
2959 2001-09-14 Jody Goldberg <jgoldberg@home.com>
2961 * src/style-color.c (style_color_new_name) : new utility.
2963 * src/gnumeric-graph.c : cleanup the debug info.
2964 (gnm_graph_get_spec) : make public and add some protection.
2966 * src/number-match.c : remove format_parse_t and merge it with
2968 (format_match_release) : new routine split from format_match_finish.
2969 (format_match_finish) : just unref the StyleFont.
2970 (format_match_create) : tweaking the calling convention and rename
2971 format_match_define.
2972 (format_match_init) : manage the format_match_list here.
2973 (format_match) : Match against the currently assigned format first
2975 * src/format.c : clean the includes.
2976 Make _StyleFormat public for sharing with number-match.c
2977 (format_compile) : call format_match_create.
2978 (format_destroy) : call format_match_release.
2979 (format_color_init) : use style_color_new_name.
2980 (style_format_new_XL) : init the new regexp elements to NULL.
2982 * src/bonobo-io.c (gnumeric_bonobo_io_init) : name this better.
2984 * src/sheet-control-gui.c (scg_object_update_bbox) : add some
2987 2001-09-12 John Gotts <jgotts@linuxsavvy.com>
2989 * gnumeric.spec.in: Keep better track of the /usr/share/gnumeric
2990 directory structure, following problem reports on the GNOME mailing
2993 2001-09-12 Jody Goldberg <jgoldberg@home.com>
2995 * idl/GNOME_Gnumeric_Graph.idl : move the type enums here.
2996 merge the addVector routines.
2997 change immportSpec into an attribute.
2999 * src/gnumeric-graph.c (gnm_graph_write_xml) : new routine.
3000 (gnm_graph_read_xml) : new routine.
3001 (gnm_graph_class_init) : assign them here.
3002 (gnm_graph_new) : split this into a wrapper for
3003 (gnm_graph_setup) : this new routine.
3004 (gnm_graph_vector_seq_scalar) : handle blank cells.
3005 (gnm_graph_vector_seq_date) : handle blank cells.
3006 (gnm_graph_vector_seq_string) : handle blank cells.
3007 (gnm_graph_vector_corba_destroy) : release the subscriber.
3008 (gnm_graph_subscribe_vector) : adjust to idl changes.
3009 (gnm_graph_get_spec) : new routine.
3011 * src/position.c (parse_pos_init_dep) : new utility.
3013 2001-09-11 Jody Goldberg <jgoldberg@home.com>
3015 * src/style.c (style_font_new_simple) : store the width in pixels as
3018 * src/print-cell.c (print_cell) : sync with the drawing code.
3020 2001-09-10 Morten Welinder <terra@diku.dk>
3022 * src/xml-io.c (xml_probe): Don't be picky about file name case.
3024 * src/GNOME_Gnumeric.xml: Add menu item for toolbars.
3026 2001-09-10 Andreas J. Guelzow <aguelzow@taliesin.ca>
3028 * src/analysis-tools.c (confidence_level) : Fix confidence interval
3029 calculation (bug 57320). Change code to calculate mean only twice
3030 rather than four times per variable.
3031 (summary_statistics) : Change code to calculate mean only twice
3032 rather than four times per variable.
3033 (descriptive_stat_tool) : ditto
3035 2001-09-10 Jody Goldberg <jgoldberg@home.com>
3037 * src/gnumeric-graph.c (gnm_graph_range_to_vectors) : move this here
3039 (gnm_graph_arrange_vectors) : implement.
3040 (gnm_graph_add_vector : init the extra members for arrangement.
3042 2001-09-04 Christopher Fairbairn <ckf13@student.canterbury.ac.nz>
3044 * src/GNOME_Gnumeric.xml: added new menu item
3045 * src/ranges.c: (range_trim): added function to trim blank cells
3046 at bottom/right edge of a range
3047 * src/ranges.h: ditto
3048 * src/workbook-control-gui.c: (cb_edit_fill_autofill): added
3049 keyboard and menu support for the autofill feature
3051 2001-09-07 Morten Welinder <terra@diku.dk>
3053 * src/xml-io.c (gnumeric_xml_read_selection_clipboard): Properly
3055 (gnumeric_xml_write_selection_clipboard): Ditto.
3056 (StyleSideNames): Constify.
3057 (xml_arg_set): Constify.
3058 (xml_write_print_repeat_range): Constify.
3059 (xml_parse_ctx_new_full): Initialise new shared_exprs member for
3061 (xml_parse_ctx_destroy): Destroy shared_exprs.
3062 (xml_read_cell): Use shared_exprs over expr_map.
3064 2001-09-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
3066 * src/dialogs/descriptive-stats.glade : New file. Template for
3067 descriptive stats analysis tool dialog.
3068 * src/analysis-tools.h : Separate descriptive_stat_tool_t type into
3069 descriptive_stat_tool_t (used by descriptive stats tool) and
3070 stat_tool_t (used by other tools).
3071 * src/dialogs/dialog-analysis-tools.c : Rewrote code related to
3072 descriptive stats tool to use glade template and gnumeric-expr-entry
3074 (summary_stat_signal_fun) : deleted
3075 (confidence_signal_fun) : deleted
3076 (kth_largest_signal_fun) : deleted
3077 (kth_smallest_signal_fun) : deleted
3078 (first_col_label_signal_fun) : deleted
3079 (add_groupped_by) : deleted
3080 (desc_stat_tool_destroy) : new procedure
3081 (desc_stat_tool_set_focus) : new procedure
3082 (cb_desc_stat_tool_ok_clicked) : new procedure
3083 (cb_desc_stat_tool_cancel_clicked) : new procedure
3084 (desc_stat_tool_update_sensitivity) : new procedure
3085 (desc_stat_tool_update_sensitivity_cb) : new procedure
3086 (dialog_desc_stat_tool_init) : new procedure
3087 (dialog_descriptive_stat_tool) : setup guru rather than modal dialog.
3089 2001-09-06 Jody Goldberg <jgoldberg@home.com>
3091 * src/xml-io.c (xml_parse_ctx_new) : Use GNUM_XML_LATEST.
3092 * src/bonobo-io.c (gnumeric_bonobo_write_workbook) : ditto.
3094 2001-09-06 Morten Welinder <terra@diku.dk>
3096 * src/*.c: Fix MIX/MAX usage to always have identical argument
3099 * src/xml-io.c (xml_parse_ctx_new): Fix version.
3101 2001-09-06 Morten Welinder <terra@diku.dk>
3103 * src/eval.c (dependent_changed): Remove "pos" argument which is
3104 always NULL. All callers changed.
3106 * src/main.c (main): Delete.
3107 (main): Renamed from gnumeric_main. Return type changed to int.
3109 2001-09-05 Jody Goldberg <jgoldberg@home.com>
3111 * src/commands.c (cmd_ins_del_colrow) : don't store the clipboard if
3112 it on another sheet.
3114 * src/GNOME_Gnumeric.xml : The magic incantation that allows us to
3115 desensitize toolbars by setting a property on a command of the same
3116 namedoesnot work with a menubar, but supplying an 'id' property to
3117 the menu appears to do the trick.
3119 * src/workbook-edit.c (workbook_edit_toolbars_set_sensitive) : set the
3121 (workbook_edit_toolbars_set_sensitive) : add a kludge for bonobo
3122 to disable its tendancy to resensitize the undo/redo widgets.
3123 (workbook_edit_set_sensitive) : decrease the timer so that we don't feel
3126 2001-09-04 Jody Goldberg <jgoldberg@home.com>
3128 * src/xml-io.c (xml_probe) : accept .xml & .xml.gz
3130 * src/sheet-object.c (sheet_object_anchor_init) : Actually store the
3133 * src/gnumeric-graph.c (gnm_graph_add_vector) : improve handling of
3136 2001-09-03 Jody Goldberg <jgoldberg@home.com>
3138 * src/value-sheet.c (value_area_get_width) : fix old silliness.
3139 (value_area_get_height) : ditto. Handle inverted mixed mode
3142 2001-09-02 Jody Goldberg <jgoldberg@home.com>
3144 * src/style-condition.h : Qualify the namespace better.
3146 2001-09-02 Jody Goldberg <jgoldberg@home.com>
3147 For Wayne Schuller <k_wayne@linuxpower.org>
3149 * src/pattern.c (gnumeric_background_set_pc) : Support gray scale
3150 patterns when printing.
3152 2001-09-02 Jody Goldberg <jgoldberg@home.com>
3154 * src/style-condition.c (style_condition_eval) : Use dependent_eval
3155 and add an invariant that ensures that val is only NULL if we have
3156 been queued for recalc.
3158 * src/eval.c (dependent_eval) : split from workbook_recalc.
3159 (cell_eval) : change return type. no one was using it.
3160 (dependent_needs_recalc) : new macro.
3162 2001-08-31 Jody Goldberg <jgoldberg@home.com>
3164 * src/format.c (format_number) : add a way to force 12 hour mode
3165 without showing am/pm
3167 2001-09-02 Almer S. Tigelaar <almer@gnome.org>
3169 * src/style-condition.[ch]: Implementation of conditionals.
3171 * src/gnumeric.h: Add StyleCondition here.
3173 * src/mstyle.c (mstyle_hash): Hash validation style.
3174 (mstyle_element_dump): Dump validation message.
3175 (mstyle_element_equal): Add support for validation elements.
3176 (mstyle_element_ref): Ref validation message and style condition.
3177 (mstyle_element_unref): Idem.
3178 (mstyle_new_default): Initialize validation elements.
3179 (mstyle_set_validation): Sets validation style condition.
3180 (mstyle_get_validation): Gets ....
3181 (mstyle_set_validation_style): Sets validation style.
3182 (mstyle_get_validation_style): Gets ....
3183 (mstyle_set_validation_msg): Sets validation message.
3184 (mstyle_get_validation_msg): Gets ....
3186 * src/mstyle.h: Add the new elements.
3188 * src/workbook-edit.c (wbcg_edit_validate): Do the validation
3189 and handle the consequences if it fails.
3190 (wbcg_edit_finish): Use wbcg_edit_validate and discard the input
3193 2001-08-31 Morten Welinder <terra@diku.dk>
3195 * src/xml-io.c (xml_workbook_read): Avoid geek speak. Most users
3196 should not know, not care, that the underlying format is XML.
3197 (gnumeric_xml_read_workbook): Ditto.
3199 2001-08-31 Abel Cheung <maddog@linux.org.hk>
3201 * configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
3203 2001-08-30 Jody Goldberg <jgoldberg@home.com>
3205 * src/sheet.c (sheet_cell_destroy) : fix. We need to check
3206 for recalc before we unlink, and possibly queue the dependents
3207 of cells which had constant values.
3209 * src/eval.c : rearrange
3211 DependentRange to keep the dep_list at the top
3212 Then define DependentAny for generic operations.
3213 (depsingle_dtor) : delete.
3214 (deprange_dtor) : delete.
3215 (dependent_queue_recalc_list) : remove unnecessary parameter.
3216 (sheet_region_queue_recalc) : walk the hash in both cases.
3217 (dependent_unlink) : only unlink if there is a dep list.
3218 (cb_search_rangedeps) : renamed from search_cell_deps.
3219 (cb_single_recalc_all_depends) : delete.
3220 (cb_range_recalc_all_depends) : delete.
3221 (cb_recalc_all_depends) : new.
3222 (cb_dep_hash_invalidate) : merge cb_single_hash_invalidate,
3223 cb_range_hash_invalidate.
3224 (do_deps_destroy) : use the merged invalidation routines.
3225 (add_range_dep) : loop through the range buckets.
3226 (drop_range_dep) : loop through the range buckets.
3227 (dependent_unlink_sheet) : use SHEET_FOREACH_DEPENDENT.
3228 (cell_foreach_range_dep) : only check useful buckets.
3229 (dependency_data_new) : create the buckets.
3230 (sheet_dump_dependencies) : handle ranges.
3232 2001-08-30 Morten Welinder <terra@diku.dk>
3234 * src/workbook.h (WORKBOOK_FOREACH_SHEET): New macro.
3235 (WORKBOOK_FOREACH_DEPENDENT): Re-factor.
3236 (Workbook): Move dependents to DependencyContainer, see below.
3237 Introduce new external_dependents, not yet used.
3239 * src/sheet.h (SHEET_FOREACH_DEPENDENT): New macro.
3241 * src/eval.h: (DependencyContainer): type moved from eval.c and
3242 renamed from DependencyData. Add dependent_list member which used
3244 (DEPENDENT_IS_CELL): New macro. Put into used lots of places.
3245 (DEPENDENT_CONTAINER_FOREACH_DEPENDENT): New macro.
3247 * src/eval.c (cb_dependent_queue_recalc): Allocate single list
3248 element on stack, not heap.
3249 (dependent_queue_recalc_list): Don't essentailly copy all lists.
3250 (UNLINK_DEP): Take only dep argument and find the container from
3253 2001-08-29 Morten Welinder <terra@diku.dk>
3255 * src/eval.c (workbook_queue_all_recalc): Avoid listifying.
3256 (cb_dependent_queue_recalc, cell_queue_recalc): Recast in terms of
3257 dependent_queue_recalc_list.
3258 (dependent_queue_recalc_list): Eliminate recursion which used to
3261 * src/eval.h (struct _Dependent): Name next to next_dep and prev
3262 to prev_dep. (Because we might need a similar list for evaluation
3265 (DEPENDENT_TYPE): New macro type hide most uses of the ugly
3266 DEPENDENT_TYPE_MASK. All such uses fixed.
3268 2001-08-29 Jody Goldberg <jgoldberg@home.com>
3270 * src/eval.c (dependent_queue_recalc_list) : fix my breakage and don't
3271 bother recursing for already queued cells.
3272 (workbook_queue_all_recalc) : remove sillyness.
3273 (dependent_unqueue) : delete unused routine.
3275 * src/cell.c (cell_cleanout) : remove useless 'in_recalc_queue' flag.
3276 (cell_copy) : ditto.
3278 * src/sheet.c (sheet_cell_destroy) : no need to unqueue, unlink
3280 (sheet_move_range) : ditto.
3282 2001-08-29 Jody Goldberg <jgoldberg@home.com>
3284 * src/eval.c (dependent_queue_recalc) : make this a macro.
3285 (cb_dependent_queue_recalc) : simplify to just mark the requirement
3286 now that there is no distinct reval queue.
3287 (dependent_unqueue) : this is now trivial.
3288 (dep_slist_filter_sheet) : delete.
3289 (dependent_unqueue_sheet) : delete.
3290 (dependent_unlink) : clear the recalc flag directly.
3291 (cell_foreach_single_dep) : remove broken debugging.
3292 (workbook_recalc) : just walk the dependent list. We can optimize
3293 this later if need be.
3294 (sheet_dump_dependencies) : remove unnecessary debug info.
3296 * src/sheet.c (sheet_destroy_contents) : no need to unqueue_sheet.
3299 * src/workbook.c (workbook_destroy) : no more eval_queue.
3301 2001-08-28 Jody Goldberg <jgoldberg@home.com>
3303 * src/eval.c (dependent_unlink_sheet) : Clear the sheet in case the
3304 dependent tries to clear itself later.
3306 * src/xml-io.c (xml_write_attributes) : fix.
3308 2001-08-28 Jody Goldberg <jgoldberg@home.com>
3310 * src/xml-io.c (xml_sheet_read) : no need to load the max col/row.
3311 That is really only useful for external parsers. We handle it
3314 2001-08-28 Morten Welinder <terra@diku.dk>
3316 * src/workbook.h (struct _Workbook): point to first dependent
3317 directly, not via an slist.
3319 * src/eval.h (struct _Dependent): Add prev and next fields.
3321 * src/eval.c (dependent_unlink, dependent_unlink_sheet): Fix-up
3323 (dependent_link): Link using new double-linked structure.
3324 (sheet_region_queue_recalc): Use new dependent linking structure.
3325 (workbook_queue_all_recalc): Make an slist of dependents here.
3327 * src/workbook-control-gui.c (TOGGLE_HANDLER/display_formulas):
3328 Adapt to new dependent linking structure.
3330 * src/workbook.c (workbook_expr_relocate): Adapt to new dependent
3333 2001-08-28 Jody Goldberg <jgoldberg@home.com>
3335 * src/sheet-control-gui.c (scg_mode_edit) : fix a warning on exit
3336 when closing 1 of many open sheets.
3338 * src/gnumeric-graph.c : make the debug spew conditional.
3339 (CMANAGER1) : new macro.
3340 (gnm_graph_new) : add more safety checks.
3341 (gnm_graph_arrange_vectors) : use the versioning macros.
3342 (gnm_graph_import_specification) : new routine.
3344 * idl/gnumeric-graphs.idl (importSpecification) : new routine.
3346 * src/xml-io.c : clean up.
3347 s/xml_get_value_int/xml_node_get_int/
3348 s/xml_set_value_int/xml_node_set_int/
3349 s/xml_get_value_double/xml_node_get_double/
3350 s/xml_set_value_double/xml_node_set_double/
3351 s/xml_set_value_points/xml_node_set_points/
3352 s/xml_set_value_cstr/xml_node_set_cstr/
3353 s/xml_set_prop_cellpos/xml_node_set_cellpos/
3354 s/xml_get_prop_cellpos/xml_node_get_cellpos/
3355 s/xml_read_range/xml_node_get_range/
3356 s/xml_get_print_hf/xml_node_get_print_hf/
3357 s/xml_set_print_hf/xml_node_set_print_hf/
3358 s/xml_set_color_value/xml_node_set_color/
3359 s/xml_get_color_value/xml_node_get_color/
3360 s/xml_set_value_color/xml_node_set_gdkcolor/
3361 s/xml_get_value_color/xml_node_get_gdkcolor/
3363 Remove the pointless searching of children for content.
3364 We never relied on those semantics, nor do we want them.
3366 (xml_sheet_create) : Use xmlGetProp directly.
3367 (xml_sheet_read) : ditto.
3368 (xml_read_solver) : ditto.
3369 (xml_write_solver) : use xml_node_set_cstr.
3370 (xml_write_print_info) : Use xmlNewChild.
3371 (xml_value_get) : delete and use xmlGetProp directly.
3373 2001-08-27 Jody Goldberg <jgoldberg@home.com>
3375 * src/gnumeric-graph.c (gnm_graph_vector_set_expr) : remove debuggin
3378 2001-08-26 Jody Goldberg <jgoldberg@home.com>
3380 * src/sheet-object-graphic.c (sheet_object_graphic_init) : default
3381 fill colour to white. It makes for bett looking paceholders.
3383 2001-08-26 Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi>
3385 * plugins/mps/mps.c, plugins/mps/plugin.xml,
3386 plugins/mps/Makefile.am: Introduced.
3388 * configure.in, plugins/Makefile.am: Added the compilation of the
3391 * samples/solver/afiro.mps: Added a sample file for the MPS plugin.
3392 It is from the Netlib collection which is in public domain.
3394 2001-08-26 Zbigniew Chyla <cyba@gnome.pl>
3396 * src/file-priv.h (struct _GnumFileSaver):
3397 Added "overwrite_files" field.
3399 * src/file.h (gnum_file_saver_set_overwrite_files): New function.
3402 (gnum_file_saver_init): Initialize overwrite_files (set to TRUE).
3403 (gnum_file_saver_save): Report an error and abort saving if file with
3404 given name already exists and overwrite_files == FALSE.
3406 * src/plugin-service.h (struct _PluginServiceFileSaver):
3407 Added "overwrite_files" field.
3409 * src/plugin-service.c (plugin_service_file_saver_read,
3410 gnum_plugin_file_saver_new): Handle overwrite_files flag.
3412 * src/xml-io.c (gnumeric_xml_read_workbook):
3413 Use fstat to get file size. Corrected error message.
3415 2001-08-26 Jody Goldberg <jgoldberg@home.com>
3417 * src/gnumeric-graph.c (gnm_graph_add_vector) : merge with
3418 gnum_graph_vector_new and add intelligence to merge multiple
3419 requests for the same vector into a single vector.
3421 2001-08-26 Jody Goldberg <jgoldberg@home.com>
3423 * src/position.c (cellref_get_abs_pos) : rename and adjust signature.
3425 * src/expr.c (expr_tree_equal) : new function.
3427 2001-08-24 Jody Goldberg <jgoldberg@home.com>
3429 * configure.in : bump bonobo req for real and remove unused
3430 @gnumeric_executable@
3432 * idl/Makefile.am : fix.
3434 * src/gnumeric-canvas.c : add gnome-i18n.
3435 * src/gnumeric-util.c : add gnome-{i18n,util}
3436 * src/gui-file.c : add gnome-{i18n,config,util}
3437 * src/history.c : add gnome-i18n.
3438 * src/main.c : add gnome-config.
3439 * src/sheet-control-gui.c : add gnome-i18n.
3440 * src/workbook.c : Add gnome-i18n, loosen sheet-control-gui req to
3442 * src/workbook-edit.c : add gnome-i18n.
3443 * src/workbook-view.c : add gnome-i18n and gnome-config, remove widget.
3444 * src/workbook-control-gui.c : Add gnome-i18n and gnome-config.
3445 * src/xml-io-autoft.c : add unistd.h
3447 2001-08-24 Zbigniew Chyla <cyba@gnome.pl>
3449 * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
3450 src/clipboard.c, src/cmd-edit.c, src/command-context.c,
3451 src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
3452 src/dates.c, src/dialogs/dialog-about.c,
3453 src/dialogs/dialog-advanced-filter.c,
3454 src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
3455 src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
3456 src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
3457 src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
3458 src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
3459 src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
3460 src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
3461 src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
3462 src/dialogs/dialog-plugin-manager.c,
3463 src/dialogs/dialog-printer-setup.c,
3464 src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
3465 src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
3466 src/dialogs/dialog-stf-export-private.h,
3467 src/dialogs/dialog-stf-export-sheet-page.c,
3468 src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
3469 src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
3470 src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
3471 src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
3472 src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
3473 src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
3474 src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
3475 src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
3476 src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
3477 src/main.c, src/normal-args.c, src/number-match-test.c,
3478 src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
3479 src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
3480 src/search.c, src/selection.c, src/sheet-autofill.c,
3481 src/sheet-merge.c, src/sheet-object-bonobo.c,
3482 src/sheet-object-container.c, src/sheet-object-graphic.c,
3483 src/sheet-object-item.c, src/sheet-object-widget.c,
3484 src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
3485 src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
3486 src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
3487 src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
3488 src/widgets/gnumeric-vscrollbar.c,
3489 src/widgets/widget-editable-label.c,
3490 src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
3491 src/workbook-control.c, src/workbook-format-toolbar.c,
3492 src/workbook-object-toolbar.c, src/workbook-private.h,
3493 src/xml-io-autoft.c, src/xml-io.c:
3494 Replace mega-include <gnome.h> with something smaller.
3496 2001-08-24 Jody Goldberg <jgoldberg@home.com>
3498 * src/sheet-control-gui.c (scg_context_menu) : use the new artwork.
3500 * configure.in : bump version req for gnome-print to ensure that
3501 we only see fontmap2.
3503 * gnumeric.spec.in : ditto.
3505 * src/style.c (font_init) : Mention only the file fontmap2.
3507 * src/item-bar.c (item_bar_realize) : Don't attempt to use a gc from
3508 an unrealized button. Do it manually instead.
3510 * src/sheet-object.c (sheet_object_populate_menu) : Put Properties
3513 2001-08-23 Jody Goldberg <jgoldberg@home.com>
3515 * src/item-bar.c (item_bar_destroy) : remove debug msg.
3516 (item_bar_realize) : We need to use an existing widget to get style
3517 information, use the select all button because it was the first
3520 2001-08-23 Jody Goldberg <jgoldberg@home.com>
3522 * src/gnumeric-graph.c (gnm_graph_clear_vectors_internal) : once we
3523 clear the vectors be sure to also zero out the array.
3524 (gnm_graph_arrange_vectors) : CORBA does not like NULL. Giveit some
3525 zero length sequences.
3527 * src/commands.c (cmd_object_move) : init first_time.
3528 (cmd_object_move_destroy) : fix cut-n-paste-o.
3529 (cmd_object_move_redo) : do even less work.
3531 2001-08-23 Jody Goldberg <jgoldberg@home.com>
3533 * idl/gnumeric-graphs.idl : reorganize to improve naming.
3534 remove notion of header that was not working well.
3537 add notion of selection for future uese.
3539 * src/gnumeric-graph.c (gnm_graph_vector_type_name) : add these.
3540 (MANAGER) : bump the idl version.
3541 (GnmGraphVector) : remove header, add id, adjust to new idl and use
3542 vectors directly, rather than notifies.
3543 (gnm_graph_add_vector) : adjust to idl renaming.
3544 (gnm_graph_new) : improve error message.
3545 (gnm_graph_freeze) : delete.
3546 (gnm_graph_arrange_vectors) : new function.
3547 (gnm_graph_vector_seq_{scalar,date,string}) : headers are handled at a
3549 (gnm_graph_vector_eval) : idl renaming.
3550 (impl_vector_selection_selected) : new.
3551 (gnm_graph_vector_corba_init) : split from gnm_graph_vector_new to
3552 simpify cut-n-paste sharing with guppi.
3553 (gnm_graph_vector_corba_destroy) : Fix and split out to simplify
3555 (gnm_graph_vector_destroy) : simplify and handle the case of a vector
3556 being destroyed indepenently of the graph.
3557 (gnm_graph_vector_new) : handle headers at a higher level.
3558 (gnm_graph_vector_corba_class_init) : renamed from
3559 corba_implementation_classes_init.
3561 * src/sheet-object-container.c (sheet_object_container_new_view) : Use
3562 bonobo_client_site_new_view_full to disable the irrtiating frame
3563 that causes the content to change size when the frme is activated
3566 2001-08-22 Zbigniew Chyla <cyba@gnome.pl>
3570 * src/workbook-view.c (wb_view_open_custom):
3571 Try opening only regular files.
3573 2001-08-22 Almer S. Tigelaar <almer@gnome.org>
3575 * src/workbook-control-gui.c (wbcg_edit_error_dialog) :
3576 Dialog for displaying errors and giving the user a choice as
3577 to what action to take.
3578 (wbcg_edit_finish): Call wbcg_edit_error_dialog and take appropriate
3579 action depending on the users choice.
3581 2001-08-21 Morten Welinder <terra@diku.dk>
3583 * src/style.c (style_font_unref) [AGGRESSIVE_CACHING]: Leave font
3585 (style_font_new_simple): Rearrange ref-counting slightly for
3588 2001-08-21 Morten Welinder <terra@diku.dk>
3590 * src/style.c (style_font_new_simple): Don't measure the font size
3591 unless we just created the font.
3593 2001-08-21 Zbigniew Chyla <cyba@gnome.pl>
3595 * src/plugin-service.c
3596 (plugin_service_file_opener_read, plugin_service_file_saver_read):
3597 Get opener/saver description from translated content of <description>
3598 node inside <information> not from <information>'s attributes.
3599 (plugin_service_function_group_read):
3600 Get category name (both translated and untranslated) from <category>'s
3601 content, not from "name" attribute.
3605 Get plugin name and description from translated content of <name> and
3606 <description> nodes inside <information>, not from <information>'s
3608 (plugin_loader_get_type_by_id, plugin_loader_is_available_by_id,
3609 plugin_db_activate_plugin_list, plugin_db_deactivate_plugin_list,
3610 plugin_db_get_plugin_info_by_plugin_id,
3611 plugin_db_update_saved_active_plugin_id_list):
3612 Removed unnecessary casts.
3614 * src/plugin-loader-module.c (gnumeric_plugin_loader_module_load,
3615 gnumeric_plugin_loader_module_unload): Put (possibly long) g_module
3616 error string in ErrorInfo details instead of appending it to our
3619 2001-08-20 Jody Goldberg <jgoldberg@home.com>
3621 * configure.in : post release bump
3623 2001-08-20 Jody Goldberg <jgoldberg@home.com>
3627 2001-08-20 Jody Goldberg <jgoldberg@home.com>
3629 * src/sheet-control-gui.c (scg_set_panes) : I do need to set the top &
3630 left of the new panes when freezing.
3632 2001-08-20 Jody Goldberg <jgoldberg@home.com>
3634 * src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
3635 (sheet_object_anchor_set) : new routine to replace range_set.
3636 (sheet_object_anchor_get) : new.
3637 (sheet_object_anchor_cpy) : new.
3638 (sheet_object_anchor_init) : new routine to bundle up object
3639 positioning more neatly.
3641 * src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
3642 types that are implemented. Use the new SheetObjectAnchor scheme.
3644 * src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
3645 point causes a move or a resize.
3646 (cb_control_point_event) : store the initial anchor rather than the
3647 control specific position, and assume that the changes are simple
3648 movements until a resize occurs.
3649 (scg_object_calc_position) : adjust to using SheetObjectAnchor.
3650 (scg_colrow_distance_get_virtual) : new routine.
3651 (scg_class_init) : register it here.
3653 * src/sheet-control.c (sc_colrow_distance_get) : a new virtual.
3655 * src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
3656 created objects too.
3657 (gnm_canvas_filenames_dropped) : signature change
3658 for sheet_object_container_new_file.
3660 * src/gnumeric.h : add GnmGraph.
3662 * src/Makefile.am : rename graph-vector -> gnumeric-graph
3664 * idl/gnumeric-graphs.idl : Add some versioning.
3665 Move the header arg out of the value callback.
3666 Replace VectorNotify::remove with Manger::clearVectors.
3667 Merge freeze & thaw.
3668 Renamed 'nameChange' to 'headerChanged'
3669 Add an 'id' arg when registering vectors.
3671 2001-08-19 Jody Goldberg <jgoldberg@home.com>
3674 s/insert_object/object_insert/
3675 s/move_object/object_move/
3676 s/delete_object/object/delete/
3677 (cmd_object_insert_redo) : The object knows its position based on its
3678 anchor. No need to set the control specific coordinates for an
3679 arbitrary control. No need to tweak the reference count either.
3680 (cmd_object_insert) : ditto.
3681 (cmd_object_insert_undo) : no need to tweak the ref count.
3682 (cmd_object_delete_redo) : keep it simple, just set the sheet.
3683 (cmd_object_delete_undo) : just clear the sheet.
3684 (cmd_object_delete_destroy) : very simple.
3685 (cmd_object_move_redo) : store the anchor, not the position for a
3686 specific control. Be careful not to move the object the firs time
3687 through. We've already done that.
3688 (cmd_move_object_undo) : just call redo.
3689 (cmd_object_move) : store the old anchor and take a flag indicating
3692 * src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
3695 * src/sheet-object.c (sheet_object_update_bounds) : rename from
3696 sheet_object_position to have a clearer name.
3698 * src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
3699 (grid_view_new) : use scg_toplevel.
3701 * src/sheet-control-gui.c (scg_toplevel) : new function.
3703 2001-08-18 Jody Goldberg <jgoldberg@home.com>
3705 * src/gnumeric-graph.c : Major reorg to fix life cycle issues.
3706 (gnm_graph_new) : don't dangle the reference returned by oaf.
3707 (gnm_graph_destroy) : deactivate & _fini the corba obj.
3708 (gnm_graph_vector_destroy) : ditto.
3710 * src/expr.c (expr_to_graph_vector) : delete this function.
3711 we have no need to disassemble the expression in graphs.
3713 * src/item-grid.c : revert switch from destroy -> finalize.
3714 * src/item-bar.c : ditto.
3716 * src/sheet-object-container.c : no need to include gnorba.
3717 no need to include sheet-control-gui-priv anymore.
3718 (sheet_object_container_destroy) : delete unused.
3719 (sheet_object_container_new) : weaken requirements to take a workbook,
3720 rather than a sheet as the container.
3721 (sheet_object_container_new_object) : ditto.
3722 (sheet_object_container_new_file) : ditto.
3724 * src/workbook-private.c : delete some unnecessary code.
3726 * src/workbook.c : include sheet-control vs sheet-control-gui.
3727 (workbook_expr_unrelocate) : it is ok to attempt to relocate to a
3730 * src/commands.c (cmd_paste_cut_undo) : restore the original content
3731 AFTER unrelocating the expressions.
3733 * src/workbook-control-gui.c (workbook_control_gui_init) : Add the
3734 magic to enable the bonobo toolbar config utility.
3735 (workbook_menu_edit) : Fix the accelerators and sync the text with the
3737 (wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
3738 (change_menu_label) : Fix accelerator display, we still don't set
3739 them, but at least we display them correctly.
3740 (insert_bonobo_object) : signature change to
3741 sheet_object_container_new_object.
3743 2001-08-17 Jody Goldberg <jgoldberg@home.com>
3745 * src/sheet.c (sheet_freeze_panes) : set the initial top_left position
3746 based on the frozen pane when unfreezing.
3748 * src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
3749 Reformat. Remove code to set the topleft after the panes are
3750 created or removed. That is handled by sheet.
3752 * src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
3753 build by making them standalone rather than associating them with
3754 toolbuttons. It appears as if bonobo does not support accelerators
3755 for toolbuttons as yet.
3757 2001-08-16 Zbigniew Chyla <cyba@gnome.pl>
3759 * src/func.h (struct TokenizedHelp): Added help_is_localized field.
3761 * src/func.c (tokenized_help_new): Initialize it here.
3763 * src/dialogs/dialog-function-wizard.c (formula_guru_init_args):
3764 Use the default argument separator (comma) if the function's help is
3767 2001-08-15 Jody Goldberg <jgoldberg@home.com>
3769 * src/GNOME_Gnumeric.xml : Use the new artwork from gtkhtml for
3772 * src/workbook-control-gui.c : ditto.
3773 * src/application.c : ditto.
3775 2001-08-15 Jody Goldberg <jgoldberg@home.com>
3777 * src/dialogs/dialog-about.c (dialog_about) : update.
3780 2001-08-13 J.H.M. Dassen (Ray) <jdassen@debian.org>
3782 * configure.ac: Test whether _USE_BSD is needed for M_PI and caddr_t.
3783 Made --without-evolution work as intended by fixing two tests.
3785 2001-08-14 Ariel Rios <ariel@linuxppc.org>
3787 * src/main.c (main): Remove guile stuff. We no longer need
3788 to take over main and all guile init functions are now handle
3789 by the guile plugin itself.
3791 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3793 * src/sheet-object-graphic.c (sheet_object_filled_user_config): Set
3794 the dialogs parent so that the dialog will get placed correctly. I did
3795 it already in sheet_object_graphic_user_config but forgot to add
3798 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3800 * src/print-cell.[c,h] (print_cell_range): Use a Range as parameter
3801 instead of four ints
3802 * src/print.c (print_titles), (print_sheet_objects), (print_page_cells),
3803 (print_page): Same here. In addition, adjust calls to these functions
3806 2001-08-14 Jody Goldberg <jgoldberg@home.com>
3808 * idl/Makefile.am : Use stamp files to make parallel compiles work.
3810 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3812 * src/sheet-object-graphic.c: Let the user configure arrow shapes only
3813 if the object is an arrow. Update the color of the arrow in the preview.
3815 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3817 * src/print.c (print_sheet_objects): gnome_print_gsave before we
3818 clip the SheetObjects' region.
3820 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3822 * src/print.c: Remove all bonobo-related stuff.
3823 (print_sheet_objects): New. Prints all objects that overlap a given
3824 range and clips to that range.
3825 (print_page_cells): Call print_sheet_objects from here.
3826 (print_page_object): Removed.
3827 (print_page): Check for sheet objects if no printable cells can be
3829 (render_sheet_objects): Removed.
3830 * src/sheet-object-bonobo.c (sheet_object_bonobo_print): Move the
3831 bonobo printing stuff in here.
3832 * src/sheet-object-impl.h: The virtual method print now has only
3833 three arguments: The PrintContext and the base (x & y) where to
3835 * src/sheet-object.[c,h]: Adjusted to new syntax.
3836 * src/sheet-object-cell-commend.c (cell_comment_print): Same here.
3837 * src/sheet-object-graphic.c (sheet_object_graphic_print): And here.
3838 Fixed some broken logic. Printing of arrows implemented.
3839 (sheet_object_filled_print): Fixed.
3840 * src/sheet.c (sheet_col_get_distance_pts): Make sign double like in
3841 sheet_row_get_distance_pts. This didn't fix my problem but it is
3842 nicer this way (problem got fixed by Jody's fix below).
3844 2001-08-14 Jody Goldberg <jgoldberg@home.com>
3846 * src/sheet-object.c (cell_offset_calc_pt) : Fixcut-n-paste-o to fix
3849 2001-08-14 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3851 * src/sheet-object-cell-comment.c (cell_comment_print): Add a note that
3852 this function is left empty intentionally
3853 * src/sheet-object-graphic.c: Let the user configure the arrow shape
3855 2001-08-14 Jody Goldberg <jgoldberg@home.com>
3857 * src/format-template.c (format_template_range_check) : fix typo.
3859 * src/xml-io.c (xml_sheet_read) : Add some sanity checking for bogus
3862 * src/expr.c (expr_to_graph_vector) : new routine.
3864 2001-08-14 Jody Goldberg <jgoldberg@home.com>
3866 * src/item-edit.c (item_edit_draw_text) : ignore leading newlines.
3867 (recalc_spans) : handle embedded newlines.
3869 * src/workbook-control-gui.c (wb_edit_key_pressed) : delete, and
3870 move this logic from here.
3871 (workbook_setup_edit_area) : don't hook up wb_edit_key_pressed.
3872 Use a GnumericExprEntry instead.
3874 * src/widgets/gnumeric-expr-entry.c (gnumeric_expr_entry_key_press_event) :
3875 Move the magic embedded newline and Abs/Rel handling here.
3876 (gnumeric_expr_entry_new) : Take a wbcg.
3878 2001-08-13 Morten Welinder <terra@diku.dk>
3880 * src/mathfunc.c (gnumeric_sub_epsilon): New function. Dual of
3881 gnumeric_add_epsilon.
3882 (gnumeric_fake_ceil): Use gnumeric_sub_epsilon, not
3883 gnumeric_add_epsilon.
3885 2001-08-13 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3887 * src/sheet.c (sheet_get_extent): Don't ignore the SheetObjects! They
3888 want to get printed even if all cells are empty.
3890 2001-08-12 Jody Goldberg <jgoldberg@home.com>
3892 * src/formats.c (currency_symbols) : fix brazil and argentina.
3894 2001-08-12 Jody Goldberg <jgoldberg@home.com>
3896 * configure.in : bump version.
3898 2001-08-11 Jody Goldberg <jgoldberg@home.com>
3902 2001-08-11 Ariel Rios <ariel@linuxppc.org>
3904 * configure.in: Configure is now able to detect
3905 whether a recent version of guile is available
3906 to be able to build the guile plugin.
3908 2001-08-11 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3910 * src/sheet-object.c: Revert below removal of "Old crufty IO". In
3911 addition, fix a warning that I introduced yesterday (missing cast).
3913 2001-08-11 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3915 * src/sheet-object-graphic.c: Use GdkColors instead of strings.
3916 Implemented printing. Objects aren't in the right place though. Still
3917 needs some tuning. Configuration implemented (border width, outline
3919 * src/sheet-object-graphic.h: Be consistent, rename
3920 IS_SHEET_GRAPHIC_OBJECT -> IS_SHEET_OBJECT_GRAPHIC and
3921 IS_SHEET_FILLED_OBJECT -> IS_SHEET_OBJECT_FILLED
3922 * sheet-object.c: (sheet_object_read_xml): Remove "Old crufty IO"
3923 (quoted from code). Get and set the direction here instead of in
3924 sheet-object-graphic.
3925 * src/xml-io.[c,h]: Make xml_[get,set]_value_double and
3926 xml_[get,set]_value_color public.
3928 2001-08-09 Jody Goldberg <jgoldberg@home.com>
3930 * src/format.c (format_get_decimal) : Fix a problem in locale's with
3931 different numeric conventions for standard and monetary use (eg ru_RU)
3932 we must use the same thing as strtod.
3934 2001-08-08 Zbigniew Chyla <cyba@gnome.pl>
3936 * src/commands.c (cmd_move_object):
3937 Use "Resize object" instead of "Move object" as command's description
3938 if the size of the object has changed.
3940 2001-08-07 Zbigniew Chyla <cyba@gnome.pl>
3943 Added support for default importers (with specified priority)
3946 (register_file_opener_as_importer_as_default,
3947 get_default_file_importer): New functions, added support for default
3948 importers (with specified priority).
3950 * gui-file.c (gui_file_import): Open the dialog with default importer
3953 * plugin-service.h (struct _PluginServiceFileOpener):
3954 Added default_importer_priority field.
3956 * plugin-service.c (plugin_service_file_opener_read): If importer is
3957 enabled, read default_importer_priority attribute.
3958 (plugin_service_file_opener_initialize): Register as default importer if
3959 default_importer_priority is specified.
3961 * src/stf.c (stf_init): Register "Gnumeric_stf:stf_druid" as default
3962 file importer with priority 50.
3964 2001-08-07 Jody Goldberg <jgoldberg@home.com>
3966 * src/item-cursor.c (item_cursor_draw) : When centering the cursor
3967 with an even width tweak it to make things symetric.
3968 Some cosmetic formating and naming issues too.
3970 2001-08-07 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3972 * src/commands.c: (cmd_insert_object_redo): Do proper ref counting.
3973 * src/item-grid.c: (cb_obj_create_button_release): Hook up
3975 * src/sheet-object.c: (sheet_object_remove_cb): Unref the sheet
3977 (sheet_object_set_sheet): Just return TRUE if (so->sheet == sheet)
3978 instead of printing a warning. This is because when command_push_undo
3979 is called, the redo function will be called although there is nothing
3980 to redo at this moment. We detect this through this function here.
3982 2001-08-07 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3984 * src/commands.[c,h]: (cmd_insert_object), (cmd_delete_object): New.
3985 cmd_insert_object is not hooked up yet.
3986 * src/sheet-control-gui.c: (cb_control_point_event): Pass the sheet
3987 object to cmd_move_object, that makes more sense than the so_view.
3988 * src/sheet-object.c: (sheet_object_remove_cb): Call cmd_delete_object
3989 instead of just gtk_object_destroy which can't be undone.
3990 (sheet_object_clear_sheet): If so->sheet == NULL, just return instead
3991 of printing a warning.
3993 2001-08-07 Lutz Müller <urc8@rz.uni-karlsruhe.de>
3995 * src/commands.[c,h]: (cmd_move_object): New. Will also handle
3997 * src/sheet-control-gui-priv.h: Remember the initial_coords before
3998 moving or resizing an object
3999 * src/sheet-control-gui.c: (cb_control_point_event): When done with
4000 moving/resizing, call cmd_move_object so that we can undo this action
4003 2001-08-06 Jody Goldberg <jgoldberg@home.com>
4005 * src/sheet-autofill.c (autofill_compute_delta) : Make month/years
4006 count forward and add some smarts to handle nice steps when days are
4008 (autofill_cell) : ditto.
4010 2001-08-06 Jody Goldberg <jgoldberg@home.com>
4012 * src/gnumeric-canvas.c (gnumeric_canvas_new) : don't use different
4013 canvas groups for objects and animated cursors. That was confusing
4016 2001-08-04 Jody Goldberg <jgoldberg@home.com>
4018 * src/sheet.c (sheet_set_zoom_factor) : changing the zoom forces a
4019 visibility computation.
4021 2001-08-06 Jody Goldberg <jgoldberg@home.com>
4023 * src/item-cursor.c (item_cursor_point) : Disable selection if we are
4026 2001-08-06 Morten Welinder <terra@diku.dk>
4028 * configure.in (psion): Improve psiconv test.
4030 2001-08-06 Jody Goldberg <jgoldberg@home.com>
4032 * src/selection.c (walk_boundaries) : Check for merged regions while
4033 walking, not just at the onset.
4035 2001-08-03 Jody Goldberg <jgoldberg@home.com>
4037 * src/colrow.c (colrow_restore_sizes) : Use sheet_flag_recompute_spans.
4038 to simplfy debugging.
4039 * src/sheet.c (sheet_set_zoom_factor) : ditto
4040 (sheet_{insert,delete}_{cols,rows}) : ditto.
4041 (sheet_move_range) : ditto.
4042 sheet_{col,row}_set_size_{pts,pixels} : ditto.
4044 2001-07-19 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
4046 * configure.in: fix the GNUMERIC_HAVE_ALLOCA_H test to handle the
4047 new cache value used by autoconf 2.50+.
4049 2001-08-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
4051 * configure.in: Use the new improved (functional) guile tests.
4053 2001-08-02 Jody Goldberg <jgoldberg@home.com>
4055 * src/application.c (application_init) : Add search&replace icon from
4057 * src/workbook-control-gui.c (workbook_standard_toolbar_orient) : Use
4060 2001-08-01 Jody Goldberg <jgoldberg@home.com>
4062 * src/sheet-autofill.c (autofill_compute_delta) : default to copy not
4065 2001-07-31 Jody Goldberg <jgoldberg@home.com>
4067 * src/application.c (application_init) : add new icons from evolution.
4068 * src/workbook-control-gui.c (workbook_standard_toolbar_orient) : Use
4071 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4073 * src/gnumeric-pane.c (gnm_pane_rangesel_bound_set) : typo.
4075 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4077 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Use the properly
4080 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4082 * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Use
4083 workbook_cmd_mutate_borders.
4084 * src/workbook-cmd-format.c (workbook_cmd_mutate_borders) : moved
4085 from gnumeric_canvas.
4087 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4089 * src/item-bar.c (item_bar_resize_stop) : renamed from
4090 item_bar_end_resize to be consistent.
4092 * src/Makefile.am : rename gnumeric-sheet -> gnumeric-canvas
4094 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4096 * src/sheet-control.c (sc_wbc) : new.
4098 (sc_update_cursor_pos) : delete.
4100 * src/gnumeric-pane.c (gnm_pane_special_cursor_bound_set) : new.
4101 (gnm_pane_special_cursor_start) : ditto.
4102 (gnm_pane_special_cursor_start) : ditto.
4104 * src/sheet-control-gui.c (scg_update_cursor_pos) : fold into
4106 (scg_resize) : reposition all of the cursors.
4107 (scg_edit_start) renamed from scg_create_editor.
4108 (scg_edit_stop) : renamed from scg_stop_editing.
4109 (scg_special_cursor_start) : new.
4110 (scg_special_cursor_stop) : new.
4111 (scg_special_cursor_bound_set) : new.
4113 * src/item-cursor.c (item_cursor_selection_event) : Use
4114 scg_special_cursor_start, and scg_special_cursor_bound_set.
4115 (item_cursor_do_action) : use scg_special_cursor_stop.
4116 (item_cursor_do_drop) : ditto.
4117 (item_cursor_autofill_event) : ditto.
4118 (item_cursor_set_bounds_visibly) : Doh! fix my stupidity.
4119 We need to change the visibility here because we explicitly disable
4120 doing it in the scroll handlers. We are constraining the scroll
4121 so we need to do it manually.
4123 2001-07-30 Jody Goldberg <jgoldberg@home.com>
4125 s/GnumericSheet/GnumericCanvas/
4127 s/gnumeric_sheet_*/gnm_canvas_/
4128 s/gnumeric_pane_*/gnm_pane_/
4129 Move the std and rangesel cursors from GnumericSheet -> GnumericPane
4130 Move the grid and editor from GnumericSheet -> GnumericPane
4132 2001-07-28 Jody Goldberg <jgoldberg@home.com>
4134 * src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : fix autoscroll
4135 from bottom/right panes into adjcant regions that do not scroll as
4138 2001-07-28 Jody Goldberg <jgoldberg@home.com>
4140 * src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : work towards
4141 support h only or v only freezes by using the geometry of pane 1 or 3
4142 in place of pane 2 which only exists in the h&v case.
4143 (gsheet_sliding_callback) : ditto.
4144 (gnumeric_sheet_slide_init: ditto.
4146 2001-07-28 Jody Goldberg <jgoldberg@home.com>
4148 * src/gnumeric-pane.c (gnumeric_pane_colrow_resize_start) :
4149 Switch GnumericSheet to using CellPos for consisency.
4150 * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : ditto.
4151 (gnumeric_sheet_button_release) : ditto.
4152 (gnumeric_sheet_init) : ditto.
4153 (gnumeric_sheet_find_col) : ditto.
4154 (gnumeric_sheet_find_row) : ditto.
4155 (gnumeric_sheet_create_editor) : ditto.
4156 (gsheet_compute_visible_region) : ditto.
4157 (gnumeric_sheet_redraw_region) : ditto.
4158 (gsheet_sliding_callback): ditto.
4159 (gnumeric_sheet_handle_motion) : ditto.
4160 (gnumeric_sheet_slide_init) : ditto.
4161 * src/item-bar.c (item_bar_draw) : ditto.
4162 (item_bar_event) : ditto.
4163 * src/item-cursor.c (item_cursor_update) : ditto.
4164 (item_cursor_draw) : ditto.
4165 * src/item-edit.c (recalc_spans) : ditto.
4166 (item_edit_set_arg) : ditto.
4167 * src/sheet-control-gui.c (scg_redraw_headers) : ditto.
4168 (scg_resize) : ditto.
4169 (scg_scrollbar_config) : ditto.
4170 (scg_colrow_select) : ditto.
4171 (gnumeric_sheet_update_inital_top_left) : ditto.
4172 (bar_set_left_col) : ditto.
4173 (bar_set_top_row) : ditto.
4174 (gnumeric_sheet_set_left_col) : ditto.
4175 (gnumeric_sheet_set_top_row) : ditto.
4176 (gnumeric_sheet_set_top_left) : ditto.
4177 (gnumeric_sheet_make_cell_visible) : ditto.
4178 (scg_set_panes) : ditto.
4179 (cb_slide_handler) : ditto.
4180 * src/workbook-control-gui.c (cb_view_freeze_panes) : ditto.
4182 2001-07-24 Jody Goldberg <jgoldberg@home.com>
4184 * plugins/Makefile.am (SUBDIRS) : Add psion plugin from
4185 Frodo Looijaard <frodol@dds.nl>
4187 2001-07-27 Morten Welinder <terra@diku.dk>
4189 * src/rangefunc.c (range_min_k, range_min_k_nonconst): New
4192 * src/analysis-tools.c (kth_largest, kth_smallest): Use
4193 range_min_k_nonconst.
4195 * src/analysis-tools.c (summary_statistics): Constify data.
4197 * src/rangefunc.c (range_median_inter): Respect const.
4198 (range_median_inter_nonconst): New version.
4200 * src/rangefunc.c, src/rangefunc.h: new files, contents taken from
4201 mathfunc.c among other places.
4203 2001-07-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
4205 * src/analysis-tools.c (correlation_tool) Rewrite to use standard
4207 (covariance_tool) ditto
4208 (descriptive_stat_tool) Extract code into multi-use support functions.
4209 (summary_statistics) ditto
4210 (confidence_level) ditto
4211 (kth_largest) : ditto
4212 (kth_smallest) : ditto
4213 (sampling_tool) : Create real random samples.
4214 and various support functions.
4216 * src/dialog/dialog-analysis-tools.c (dialog_correlation_tool) Display
4218 (dialog_covariance_tool) ditto
4219 (dialog_descriptive_stat_tool) Use dao->labels_flag instead of labels_flag.
4221 * src/dialogs/tools.h (descriptive_stat_tool) Remove labels_flag.
4223 2001-07-27 Almer S. Tigelaar <almer@gnome.org>
4225 * src/workbook-control-gui.c (hide_show_detail): helper which
4226 implements the actual meat of the show/hide operations.
4227 (cb_data_hide_detail): Implement using hide_show_detail.
4228 (cb_data_show_detail): Idem.
4230 2001-07-26 Jody Goldberg <jgoldberg@home.com>
4232 * src/sheet.c (sheet_init_sc) : Don't allow positioning during the
4233 initialization sequence of a control to overwrite requested top_left.
4235 * src/sheet-control-gui.c (gnumeric_sheet_update_inital_top_left) :
4237 (gnumeric_sheet_set_left_col) : used here.
4238 (gnumeric_sheet_set_top_row) : used here.
4239 (gnumeric_sheet_set_top_left) : used here.
4241 2001-07-26 Almer S. Tigelaar <almer@gnome.org>
4243 * src/stf.c (stf_read_workbook): Set the format on all lines.
4245 * src/sheet-control-gui.c (scg_colrow_select): Avoid loss of
4246 an invalid expression.
4248 * src/workbook-control-gui.c (wbcg_close_control): Avoid loss of
4251 2001-07-26 Almer S. Tigelaar <almer@gnome.org>
4253 * src/workbook-control-gui.c (cb_notebook_switch_page):
4254 Accept input and flip page in one step (don't require two clicks).
4256 2001-07-25 Morten Welinder <terra@diku.dk>
4258 * src/analysis-tools.c (summary_statistics): Cleanup a bit. Fix
4259 the min, max, and range items. Avoid most casts.
4261 2001-07-25 Almer S. Tigelaar <almer@gnome.org>
4263 * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Add
4264 C-Insert, S-Insert and S-Delete shortcuts for cutting, pasting
4267 2001-07-25 Almer S. Tigelaar <almer@gnome.org>
4269 * src/workbook-control-gui.c (cb_notebook_switch_page): If we are
4270 still editing and the expression is invalid, don't switch pages, but
4271 insist the user correct it first.
4273 2001-07-18 Andreas J. Guelzow <aguelzow@taliesin.ca>
4275 * src/analysis-tools.c (set_cell) : Catch NULL string pointer.
4276 (get_data_grouped_by_cols) : new routine to read data from cell range.
4277 (get_data_grouped_by_rows) : ditto
4278 (get_text_col) : ditto
4279 (get_text_row) : ditto
4280 (kurt) : removed, use range_kurtosis_m3_est instead.
4281 (skew) : removed, use range_skew_est instead.
4282 (summary_statistics) : rewritten to use range_*, to use correct data
4283 labels and to check for errors.
4284 (confidence_level) : ditto
4285 (kth_largest) : ditto
4286 (kth_smallest) : ditto
4287 (range_min_k) : new function to find kth smallest number (rather than
4289 (descriptive_stat_tool) : rewritten to use correct data labels and to
4290 use above modified functions.
4292 * src/analysis-tools.h (range_min_k) : new prototype
4294 * src/dialogs/dialog-analysis-tools.c : include selection.h
4295 (dialog_descriptive_stat_tool) : preload descriptive statistics input
4296 range and add checkbox to specify row labels
4298 * src/dialogs/tools.h (descriptive_stat_tool) : add labels_flag
4300 2001-07-18 Jody Goldberg <jgoldberg@home.com>
4302 * configure.in : AC_DEFINE ENABLE_EVOLUTION if it is available.
4304 2001-07-20 Lutz Müller <urc8@rz.uni-karlsruhe.de>
4306 * src/sheet-object-impl.h: Add the view as parameter to the virtual
4308 * src/sheet-object-container.c:
4309 (sheet_object_container_set_active): New. Overrides above virtual and
4310 handles (de)activation of view frames.
4311 * src/sheet-control-gui-priv.h: Do not let the SheetControlGUI know
4312 about an active_object_frame - remove this variable.
4313 * src/sheet-control-gui.[c,h]:
4314 (scg_activate_view_frame),
4315 (scg_deactivate_view_frame): Removed. Now handled by the objects
4316 themselves through set_active virtual method.
4317 (scg_object_stop_editing),
4318 (scg_mode_edit_object): Adjust parameters for virtual method set_active.
4320 2001-07-18 Zbigniew Chyla <cyba@gnome.pl>
4322 * src/dialogs/dialog-function-wizard.c (formula_guru_init_args): Use
4323 locale dependent argument separator.
4325 * src/func.h (function_get_category,
4326 function_get_category_with_translation): Renamed args.
4329 (function_category_compare): Don't use g_strcasecmp, it's broken.
4330 (function_get_category): Use function_get_category_with_translation.
4331 (function_get_category_with_translation): Some code moved from
4332 function_get_category, keep categories sorted by display_name, store
4333 internal_name in "normalized" form (converted to lowercase).
4335 2001-07-18 Jody Goldberg <jgoldberg@home.com>
4337 * configure.in : post release version bump.
4339 * src/xml-io-autoft.c (xml_write_format_template_members) : remove
4342 2001-07-17 Jody Goldberg <jgoldberg@home.com>
4346 2001-07-17 Jody Goldberg <jgoldberg@home.com>
4348 * configure.in : Only enable evo support if someone explicitly
4351 * src/gui-clipboard.c (x_selection_handler) : Make things friendlier
4354 * src/workbook-control-gui.c (wbcg_sheet_move) : Fix.
4355 SheetControl no longer inherits from Table it now contains it.
4357 * src/sheet-control-gui.c (cb_sheet_object_view_destroy) : rename from
4358 cb_sheet_object_destroy.
4360 * src/sheet-object.c (cb_sheet_object_configure) : Use
4361 sheet_object_view_obj and sheet_object_view_control.
4362 (sheet_object_view_destroyed) : remove the sheetcontrol key from the
4363 view when it is destroyed. And remove our reference to the control.
4364 (sheet_object_new_view) : give the view a ref of the control.
4366 * src/item-grid.c (item_grid_draw) : only draw bound lines at pane
4369 * src/item-bar.c (item_bar_event) : dont draw the resize bar past the
4372 2001-07-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
4374 * src/analysis-tools.c (descriptive_stat_tool) : adjust
4375 scrollbars after outputting data.
4376 (sampling_tool) : ditto
4377 (ztest_tool) : ditto
4378 (random_tool) : ditto
4379 (regression_tool) : ditto
4380 (average_tool) : ditto
4381 (ranking_tool) : ditto
4382 (anova_single_factor_tool) : ditto
4383 (anova_two_factor_without_r_tool) : ditto
4384 (anova_two_factor_with_r_tool) : ditto
4385 (histogram_tool) : ditto
4387 2001-07-16 Jody Goldberg <jgoldberg@home.com>
4389 * src/sheet-object-graphic.c (sheet_object_graphic_write_xml) : use cstr.
4390 (sheet_object_filled_write_xml) : ditto.
4392 * src/xml-io-autoft.c (xml_write_format_template_members) : remove
4393 extra copying to and fro.
4395 * src/xml-io.c (xml_set_value_string) : delete this bogosity.
4396 (xml_write_solver) : Use xmlSetProp in its place.
4397 (xml_set_value_double) : remove the searchiing silliness.
4398 (xml_read_sheet_layout) : new function.
4399 (xml_sheet_read) : called from here.
4400 (xml_write_sheet_layout) : new function.
4401 (xml_sheet_write) : called from here.
4403 2001-07-16 Jody Goldberg <jgoldberg@home.com>
4405 * src/gnumeric-sheet.c (gsheet_compute_visible_region) : add a
4407 (gnumeric_sheet_button_release) : Fix scroll wheel handling.
4408 And make the scroll by 1/4 of a page rather than a full page.
4410 * src/workbook-control-gui.c (cb_sheet_label_button_press) : while
4411 selecting a range all buttons switch pages.
4412 (cb_view_freeze_panes) : Improve handling of border cases.
4414 * src/sheet-control-gui.c (scg_set_top_left) : new function.
4415 (scg_class_init) : tied in here.
4416 (scg_scrollbar_config) : Some usability tuning.
4418 * src/sheet.c (sheet_new) : init 'initial_top_left'
4419 (sheet_set_initial_top_left) : new function.
4420 (sheet_init_sc) : Set the initial top left.
4421 (sheet_update_cursor_pos) : delete unnecessary.
4422 (sheet_update_only_grid) : It is only called from here. And even this
4424 (sheet_find_boundary_{vertical,horizontal}) : adds more comments.
4426 * src/sheet-control.c (sc_set_top_left) : new function.
4428 2001-07-17 Zbigniew Chyla <cyba@gnome.pl>
4430 * src/commands.c (cmd_format): Marked string for translation.
4432 2001-07-16 Morten Welinder <terra@diku.dk>
4434 * src/stf-parse.c (stf_parse_csv_line): Don't reverse the fields
4435 in case there are too many.
4436 (stf_parse_fixed_line): Ditto.
4437 (stf_parse_general): Plug leak.
4439 2001-07-16 Zbigniew Chyla <cyba@gnome.pl>
4441 * src/file.c (gnum_file_saver_save_to_stream_real):
4442 Don't mmap the file, use read() instead.
4444 2001-07-16 Almer S. Tigelaar <almer@gnome.org>
4446 * src/stf-parse.c (stf_parse_csv_line): Use g_list_append and
4448 (stf_parse_fixed_line): Idem.
4449 (stf_parse_general): Idem.
4451 * src/item-cursor.c (item_cursor_selection_event): Fix horizontal
4452 double-click filling and add extra bound check for vertical
4453 double-click filling.
4455 2001-07-16 Zbigniew Chyla <cyba@gnome.pl>
4458 (struct _GnumFileSaver): Removed save_to_stream_func member.
4459 (gnum_file_saver_setup): Removed save_to_stream_func argument.
4462 (gnum_file_saver_new): Removed save_to_stream_func argument.
4463 (gnum_file_saver_supports_save_to_stream): Removed.
4466 (gnum_file_saver_save_to_stream_real):
4467 New implementation, uses temporary file and gnum_file_saver_save.
4468 (gnum_file_saver_setup): Removed save_to_stream_func argument.
4469 (gnum_file_saver_new): Removed save_to_stream_func argument.
4470 (gnum_file_saver_supports_save_to_stream): Removed.
4473 (ask_for_file_saver): Show all file savers in format chooser.
4475 * src/bonobo-io.c (gnumeric_bonobo_io_init),
4476 src/plugin-service.c (gnum_plugin_file_saver_new),
4477 src/stf.c (stf_init):
4478 Adjusted to file.h change (removed save_to_stream_func argument).
4481 (gnumeric_xml_write_workbook_to_stream): Removed.
4482 (xml_init): Adjusted to file.h change.
4484 2001-07-16 Almer S. Tigelaar <almer@gnome.org>
4486 * stf-parse.c (stf_parse_general): Fix leakage.
4488 2001-07-15 Zbigniew Chyla <cyba@gnome.pl>
4490 * src/gnumeric-util.c (gnumeric_create_popup_menu): Fixed problem with
4491 keyboard navigation in popup menus ("empty" items not skipped). Now
4492 such items are insensitive.
4494 2001-07-15 Zbigniew Chyla <cyba@gnome.pl>
4496 * src/workbook-control-gui.c: Added comment above send_menu_item and
4497 send_menu_item_i18n strings about keeping them in sync.
4499 2001-07-15 Kjartan Maraas <kmaraas@gnome.org>
4501 * configure.in: Added "nn" to ALL_LINGUAS.
4503 2001-07-15 Almer S. Tigelaar <almer@gnome.org>
4505 * stf.c (stf_read_workbook): Honor lines to parse.
4507 * gui-clipboard.c (x_selection_to_cell_region): Idem.
4509 * stf-parse.c (stf_parse_options_set_lines_to_parse): Don't
4510 convert to index it's not an index.
4512 2001-07-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
4514 * src/analysis-tools.c (anova_two_factor_with_r_tool): Finish
4517 2001-07-15 Zbigniew Chyla <cyba@gnome.pl>
4519 * src/workbook-control-gui.c:
4520 (send_menu_item): Defined static string instead of SEND_MENU_ITEM macro
4521 to avoid backslashes, added _tip property.
4522 (send_menu_item_i18n): Array of strings from send_menu_item intended for
4523 localization (i18n tools can't extract strings from XML inside .c file).
4524 (workbook_control_gui_init): Adjusted.
4526 2001-07-15 Jody Goldberg <jgoldberg@home.com>
4528 * src/sheet.c (sheet_freeze_panes) : Avoid double calling set_panes.
4530 2001-07-15 Jody Goldberg <jgoldberg@home.com>
4532 * src/sheet-control-gui.c (scg_resize) : Adust to change in semantics
4533 and name from sheet::frozen::bottom_right ->
4534 sheet::unfrozen_top_left.
4535 (scg_scrollbar_config) : ditto.
4536 (scg_set_left_col) : ditto.
4537 (scg_set_top_row) : ditto.
4538 (scg_make_cell_visible) : ditto.
4539 (scg_set_panes) : ditto.
4540 * src/sheet.c (sheet_new) : ditto.
4541 (sheet_update_only_grid) : ditto.
4542 (sheet_freeze_panes) : ditto.
4543 (sheet_is_frozen) : ditto.
4545 * src/sheet-merge.c (sheet_merge_add) : don't regen the spans until
4546 after the merge is listed.
4548 2001-07-14 Jody Goldberg <jgoldberg@home.com>
4550 * src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : support
4551 reverse scroll for things that started the drag adjacent. That is
4552 about as clear as mud, see the deleted BUG entry.
4553 (gsheet_sliding_callback) : ditto.
4555 2001-07-14 Zbigniew Chyla <cyba@gnome.pl>
4557 * src/error-info.[ch]
4558 (error_info_new_vprintf): New.
4559 (error_info_new_printf): Use error_info_new_vprintf.
4560 (error_info_peek_message): Constified.
4562 * src/command-context-priv.h (struct CommandContextClass): Added
4563 error.error_info virtual.
4565 * src/command-context.[ch] (gnumeric_error_error_info): New.
4567 * src/io-context.[ch]
4568 (gnumeric_io_error_system, gnumeric_io_error_read,
4569 gnumeric_io_error_save): Use gnumeric_io_error_string.
4570 (gnumeric_io_error_string): New.
4571 (gnumeric_io_error_display): Renamed from
4572 gnumeric_io_error_info_display. Use CommandContext's virtual -
4573 gnumeric_error_error_info.
4574 (gnumeric_io_error_info_clear, gnumeric_io_has_error_info): Removed.
4575 s/gnumeric_io_clear_error/gnumeric_io_error_clear
4576 s/gnumeric_io_error_info_push/gnumeric_io_error_push/
4577 s/gnumeric_io_error_info_pop/gnumeric_io_error_pop/
4579 * src/gnumeric-util.c
4580 (ctree_insert_error_info): Automatically expand most nodes (don't expand
4581 nodes with siblings).
4582 (gnumeric_error_info_dialog_show_full): Renamed from
4583 gnumeric_error_info_dialog_show. Display only a tree with error
4584 details. Don't hardcode ctree column width, make ctree look nicer (no
4585 lines, triangles as icons).
4586 (gnumeric_error_info_dialog_show): New function, displays only main part
4587 of the error and (optionally) "Show details" button. Use standard
4590 * src/plugin-util.c (gnumeric_fopen_error_info,
4591 gnumeric_mmap_error_info): Use error_info_new_from_errno.
4592 (gnumeric_open_error_info): Use error_info_new_from_errno,
4593 added missing *ret_error.
4595 * src/workbook-control-gui.c (wbcg_error_error_info): New
4596 (implementation of CommandContext's virtual).
4597 (workbook_control_gui_ctor_class): Use it here.
4599 * src/workbook-view.c (wb_view_save_as, wb_view_save,
4600 wb_view_open_custom): Don't use removed gnumeric_io_has_error_info.
4602 2001-07-14 Jody Goldberg <jgoldberg@home.com>
4604 * src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : adjust
4605 signature to take an enum instead of 4 booleans. Add a flag to
4606 allow the caller to handle motion within the visible pane.
4607 (gsheet_sliding_callback) : more tuning for reverse motion in unfrozen
4610 * src/item-bar.c (item_bar_event) : convert to new
4611 gnumeric_sheet_handle_motion signature.
4612 * src/item-grid.c (item_grid_event) : ditto.
4613 * src/item-cursor.c (item_cursor_handle_motion) : ditto.
4614 * src/sheet-control-gui.c (cb_control_point_event) : ditto.
4615 Handle object motion within visible region locally.
4617 2001-07-14 Jody Goldberg <jgoldberg@home.com>
4619 * src/sheet.c (sheet_init_sc) : set the panes.
4621 * src/sheet-control.c (sc_init_state) : delete unused.
4623 * src/sheet-control-gui.c (scg_make_cell_visible) : when landing in a
4624 partially frozen pane (1 or 3) if the panes are coupled move the
4626 (scg_set_panes) : Only use herioc measures if panes are changing, not
4628 (sheet_control_gui_new) : construct before attaching.
4629 (horizontal_scroll_offset_changed) : don't clear wbcg msg text if we
4630 are't connected yet.
4631 (vertical_scroll_offset_changed) : ditto.
4632 (scg_scrollbar_config) : no need to clear here. We are already doing
4633 it in the adjustment handlers.
4635 * src/gnumeric-sheet.c (gsheet_sliding_callback) : simplify and
4636 improve feel at bounds when scrolling in reverse. Also remove debug
4639 2001-07-13 Jody Goldberg <jgoldberg@home.com>
4641 * src/item-cursor.c (item_cursor_set_bounds_visibly) : no need to make
4642 anything visible here. We already did that in the autoscroller.
4644 * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : no need to
4647 2001-07-13 Jody Goldberg <jgoldberg@home.com>
4649 * src/item-cursor.c (item_cursor_in_drag_handle) : bounding coords
4650 mark the outside of the drag box, center things before checking.
4651 (item_cursor_selection_event) : be smarter about handling double
4652 clicks. This could still be improved see comment.
4654 * src/sheet.c (sheet_cell_calc_span) : clear existing span before
4656 (sheet_cell_set_text) : clear existing spans for expressions.
4657 (sheet_cell_set_expr): ditto.
4659 * src/cellspan.c (cellspan_is_empty) : rename from cell_is_empty
4660 and change order of args to make it clear that the Cell in the cell
4661 in that arg list is _not_ the one being tested for emptiness. Do
4662 the empty chacek manually because expressions with initial value
4663 'empty' are allowing other cells to continue spanning into them.
4664 However, since the expressions don't calc spans yet, the cell
4665 content is never made visibible.
4667 * src/sheet-control-gui.c (scg_resize) : increase the size of the
4668 header canvases by 1. I don't especially like the like, but I have
4669 no time to track down why the canvas scrolls by 1 pixel if I don't
4671 (cb_control_point_event) : partially fix sheet object movement.
4673 * src/gnumeric-sheet.c (gnumeric_sheet_slide_stop) : renamed from
4674 gnumeric_sheet_stop_sliding.
4675 (col_scroll_step) : new function.
4676 (row_scroll_step) : new function.
4677 (gsheet_sliding_callback) : rewrite again to manage scrolling for
4678 panes more smoothly. Still needs work.
4679 (gnumeric_sheet_handle_motion) : handle motin into adjacent panes
4681 (gnumeric_sheet_slide_init) : new routine to set adjacency earlier in
4684 * src/item-bar.c (item_bar_event) : call gnumeric_sheet_slide_init.
4685 * src/item-cursor.c (item_cursor_selection_event) : ditto.
4686 (item_cursor_drag_event) : ditto.
4687 * src/item-grid.c (item_grid_button_1) : ditto.
4689 2001-07-12 Jody Goldberg <jgoldberg@home.com>
4691 * src/gnumeric-pane.c (gnumeric_pane_header_init) : no need to
4692 calc_size here. That will be done when the item is realized.
4694 * src/sheet-control-gui.c (scg_set_left_col) : And bounds checks and
4696 (scg_set_top_row) : ditto.
4698 * src/item-cursor.c (item_cursor_draw) : Add a simple test for pane
4699 support when placing the drag handle.
4701 2001-07-13 Morten Welinder <terra@diku.dk>
4703 * src/eval.c (dependent_unqueue_sheet): Unconstify since it
4705 (dependent_unlink_sheet): Ditto.
4706 (dep_slist_filter_sheet): Return the right list.
4708 2001-07-13 Lutz Müller <urc8@rz.uni-karlsruhe.de>
4710 * src/sheet-control-gui.[c,h]: Clean up the handling of bonobo objects
4712 (scg_activate_view_frame) and
4713 (scg_deactivate_view_frame).
4714 * src/sheet-object-bonobo.[c,h]: Check for existence of interfaces
4715 before querying it. Fix ref-counting. Make functions
4716 (sheet_object_bonobo_load_persist_file),
4717 (sheet_object_bonobo_load_persist_stream), and
4718 (sheet_object_bonobo_load_stream) consistent.
4719 * src/sheet-object-container.c: Parent class is and has ever been
4720 SheetObjectBonobo. This file should be called
4721 sheet-object-bonobo-container... Fix ref-counting.
4722 (cb_user_activation_request): Activate the view frame and set edit mode
4723 (cb_view_activated): Removed
4724 (sheet_object_container_new_view): Let the canvas item remember the
4725 view frame (through gtk_object_set_data)
4726 * src/sheet-object-container.h: Rename IS_SHEET_CONTAINER_OBJECT to
4727 IS_SHEET_OBJECT_CONTAINER to be consistent. Remove view_frame
4728 variable - this object can produce many view frames.
4730 2001-07-13 Morten Welinder <terra@diku.dk>
4732 * src/analysis-tools.c (ttest_eq_var_tool): Fixed for pooled
4733 variance from Prof. Dr. Andreas J. Guelzow.
4735 2001-07-12 Morten Welinder <terra@diku.dk>
4737 * src/mathfunc.c (range_multinomial): New function.
4739 * configure.in (evolution): Fix check, but see BUGS.
4741 2001-07-12 Almer S. Tigelaar <almer@gnome.org>
4743 * src/gnumeric-pane.c (gnumeric_pane_set_bounds): Kill warning.
4745 2001-07-11 Jody Goldberg <jgoldberg@home.com>
4747 * src/item-grid.c (item_grid_draw) : Draw bound lines for panes.
4749 * src/gnumeric-pane.c (gnumeric_pane_set_bounds) : new function.
4751 2001-07-10 Jody Goldberg <jgoldberg@home.com>
4753 * src/sheet-control-gui.c (scg_resize) : Federico wins a dinner for
4754 pointing out the source of the bug with frozen panes starting
4755 somewhere other than 0,0. It seems that scroll_regions are more
4756 powerful than I thought.
4757 (scg_init) : the slider handling is elsewhere.
4758 (bar_set_top_row) : remove debug spewage.
4759 (scg_stop_sliding) : move to gnumeric_sheet.
4760 (scg_sliding_callback) : ditto.
4761 (scg_start_sliding) : ditto.
4762 (cb_slide_handler) : signature change for slide callbacks.
4763 (cb_control_point_event) : changes for panes.
4765 * src/item-grid.c (cb_extend_cell_range) : signature change for slide
4767 (cb_extend_expr_range) : ditto.
4768 (item_grid_event) : use gnumeric_sheet_handle_motion.
4769 (item_grid_finalize) : switch over from destroy.
4770 (item_grid_class_init) : add bound args.
4771 (item_grid_set_arg) : ditto.
4772 (item_grid_draw) : begin using the bound arg.
4773 (item_grid_init) : init the bound arg to fullsheet.
4774 (item_grid_realize) : Add an extra GC for drawing the bounding lines.
4775 (item_grid_unrealize) : release the new GC.
4777 * src/item-cursor.c (cb_move_cursor) : signature change for slide
4779 (cb_autofill_scroll) : ditto.
4780 (item_cursor_handle_motion) : use gnumeric_sheet_handle_motion.
4782 * src/item-bar.c (item_bar_draw) : remove debug spewage.
4783 (cb_extend_selection) : signature change for slide callbacks.
4784 (item_bar_event) : use gnumeric_sheet_handle_motion and simplify the
4787 * src/gnumeric-sheet.c (gnumeric_sheet_init) : init the sliding members.
4788 The sliding used to be managed by the scg, but it is now handled
4789 with the gsheet (could just as easily be gpane) because scrolling
4790 panes needs to know _which_ pane is scrolling.
4791 (gsheet_compute_visible_region) : remove the debug spewage.
4792 (gnumeric_sheet_stop_sliding) : moved from scg_stop_sliding.
4793 (gsheet_sliding_callback) : moved from scg_sliding_callback and
4794 revamped to support frozen panes.
4795 (gnumeric_sheet_handle_motion) : new routine to merge in the old
4796 scg_start_sliding and add a pile of replicated code from all the
4797 different users of the sliding mechanism.
4798 (gnumeric_sheet_new) : take max col/row as arg.
4800 * src/gnumeric-pane.c (canvas_bar_adjustment_changed) : delete debug routine.
4801 (gnumeric_pane_header_init) : no need for adjust_size handler.
4803 2001-07-10 Jody Goldberg <jgoldberg@home.com>
4805 * idl/Makefile.am : improve evo handling.
4807 * configure.in : Fix definition of ENABLE_EVOLUTION in makefiles.
4809 2001-07-09 Jody Goldberg <jgoldberg@home.com>
4811 * src/item-bar.c (item_bar_event) : clip the minimum col/row size at
4814 * src/sheet.c (colrow_compute_pts_from_pixels) : add some sanity
4817 * src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : new function.
4818 begin the process of getting enough information to scroll
4819 effectively with frozen panes. Also merge alot of similar code.
4821 * src/item-bar.c (item_bar_event) : Use gnumeric_sheet_handle_motion.
4822 * src/item-cursor.c (item_cursor_handle_motion) : ditto.
4823 * src/sheet-control-gui.c (cb_slide_handler) : ditto.
4825 2001-07-11 Zbigniew Chyla <cyba@gnome.pl>
4827 * src/workbook-control-gui.c (wbcg_menu_state_update): Fixed path for
4828 "_Freeze Panes" menu item.
4830 2001-07-11 Almer S. Tigelaar <almer@gnome.org>
4832 * src/parser.y : Add error ID's.
4833 (gnumeric_parse_error): Accept ID and set ID on error struct.
4835 * src/parse-util.[ch]
4836 (parse_error_init): Initialize the error id.
4838 * src/workbook-edit.c (wbcg_edit_finish): When there's a missing
4839 closing paren, try appending one and see if it helps.
4841 * src/stf.c (stf_preparse): New, default preparsing of a file.
4842 (stf_read_workbook): Use stf_preparse.
4843 (stf_read_default_probe): Prober for reading.
4844 (stf_read_workbook_csv_default): New, read a csv file in default formatting.
4845 (stf_init): Register stf_read_workbook_csv_default.
4847 2001-07-10 Lutz Müller <urc8@rz.uni-karlsruhe.de>
4849 * src/workbook-control-gui.c: Add a menu item "Send" to the file menu.
4850 If this one is clicked, pop up an Evolution-Composer with current
4852 * src/file-priv.h: New virtual function for GnumFileSaver:
4854 Introduce GnumFileSaverSaveToStreamFunc. Keep a mime type.
4855 * src/file.[c,h]: Implement save_to_stream and mime_type detection.
4856 * src/gui-file.[c,h]: Reduce copy & paste by introducing
4857 (make_format_chooser) and (check_multiple_sheet_support_if_needed).
4858 New function: (gui_file_save_to_stream) which asks for the desired
4860 * src/bonobo-io.c: This file saver doesn't support save_to_stream.
4861 * src/stf.c: This one either.
4862 * src/xml-io.[c,h]: Implement save_to_stream.
4863 * src/plugin-service.c: Pass NULL for save_to_stream.
4865 2001-07-09 Lutz Müller <urc8@rz.uni-karlsruhe.de>
4867 * acconfig.h: #undef ENABLE_EVOLUTION
4868 * configure.in: Checks for Evolution-Composer.idl. Can be overwritten
4869 with --without-evolution.
4870 * idl/Makefile.am: Let orbit process the Evolution-Composer.idl.
4871 * idl/.cvsignore: Ignore the generated Evolution* files.
4873 2001-07-09 Almer S. Tigelaar <almer@gnome.org>
4875 * stf-parse.c (stf_parse_convert_to_unix): Make this work as it
4877 (stf_parse_csv_line): Remove deprecated comment.
4879 2001-07-09 Jody Goldberg <jgoldberg@home.com>
4881 * src/gnumeric-pane.c (canvas_bar_realized) : moved from scg.
4882 (canvas_bar_adjustment_changed) : ditto.
4883 (gnumeric_pane_header_init) : ditto.
4884 (gnumeric_pane_init) : ditto.
4885 (gnumeric_pane_release) : ditto.
4886 (gnumeric_pane_colrow_resize_end) : new function.
4887 (gnumeric_pane_colrow_resize_start) : ditto.
4888 (gnumeric_pane_colrow_resize_move) : ditto.
4890 * src/colrow.c (colrow_set_visibility) : toggling visibility moves
4892 (colrow_save_sizes) : Use sheet_colrow_get_info.
4894 * src/item-bar.c : s/destroy/finalize/
4895 s/item_bar/ib/ for internal routines and vars.
4896 Some renaming to clean things up
4897 Move the struct decl into .c nothing should be looking at the
4899 (item_bar_init) : remove unused 'FirstElement' arg.
4900 (item_bar_set_arg) : remove unused arg and fix typo.
4901 (item_bar_event) : use resize guide support routines in scg
4902 instead of handling it ourselves.
4903 (resize_bar_init) : delete, and move concept to gnumeric-pane.
4904 (item_bar_start_resize) : move content to gnumeric-pane.
4905 (item_bar_end_resize) : move content to gnumeric-pane.
4907 * src/sheet-control-gui.c (scg_set_top_row) : pane support.
4908 (scg_set_left_col) : ditto.
4909 (scg_colrow_resize_end) : new function.
4910 (scg_colrow_resize_start) : ditto.
4911 (scg_colrow_resize_move) : ditto.
4913 2001-07-08 Lutz Müller <urc8@rz.uni-karlsruhe.de>
4915 * src/GNOME_Gnumeric.xml: Wrap file related menus into a placeholder
4916 named FileOperations. Wrap print related menus into a placeholder
4917 named PrintOperations. This will help components like EOG to put
4918 menu entries into the right place when activated.
4920 2001-07-06 Jody Goldberg <jgoldberg@home.com>
4922 * src/item-cursor.c (item_cursor_update) : go one past the last
4923 visible in case the last visible == the last full.
4925 * src/item-bar.c (item_bar_end_resize) : fix typo.
4927 * src/sheet.c (sheet_update_only_grid) : force a resize after col/row
4928 resizes with frozen panes.
4930 2001-07-07 Almer S. Tigelaar <almer@gnome.org>
4932 * src/preview-grid.[ch] (marshal_POINTER__INT_INT): New, custom marshaller.
4933 (pg_get_row_height): Get default row height by emitting signal.
4934 (pg_get_col_width): Idem for column width.
4935 (pg_get_style): Idem for style.
4936 (pg_construct_cell): Idem for value.
4937 (preview_grid_init): Provide sensible defaults.
4938 (preview_grid_set_arg): Remove callback related arguments.
4939 (preview_grid_class_init): Idem and create all newly added signals.
4941 2001-07-06 Yukihiro Nakai <nakai@gnome.gr.jp>
4943 * src/gnumeric-sheet.c (gnumeric_sheet_realize) : Over-the-Spot
4944 style support for XIM.
4946 2001-07-05 Jody Goldberg <jgoldberg@home.com>
4948 * src/sheet-control-gui.c (scg_make_cell_visible) : simplify. There
4949 is no need to scroll all panes if the target is already visible in
4950 one of them. Just keep things in sync. This does suggest a ui
4951 enhancement thou. Jump to boundaries (ctrl-arrow) should be smart
4953 (scg_set_panes) : pre-scroll things to their minimum.
4955 2001-07-05 Jody Goldberg <jgoldberg@home.com>
4957 * src/sheet-control.c (sc_resize) : add a force_scroll argument.
4959 * src/sheet-control-gui.c (scg_scrollbar_config) : handle panes.
4960 (scg_resize) : Add a force_scroll argument.
4961 reset all of the offsets.
4962 Keep the col/row heades for pane[0] and toss those on pane[1,3]
4963 (scg_set_zoom_factor) : support panes without headers.
4964 (scg_scrollbar_config) : pane support.
4965 (scg_set_left_col) : quicky stub.
4966 (scg_set_top_row) : quicky stub.
4967 (gnumeric_pane_init) : rename from gnumeric_pane_new for consistency.
4968 either add both or neither header.
4969 (gnumeric_pane_free) : rename from gnumeric_pane_delete.
4970 (scg_set_panes) : only panes 0 and 2 need headers no need to attach
4971 the headers for panes 1 & 3.
4972 force a full scroll when setting up the panes.
4973 (scg_adjust_preferences) : no need to worry about panes.
4975 2001-07-05 Rodrigo Moya <rodrigo@gnome-db.org>
4977 * configure.in: use libgda >= 0.2.11 for the GDA plugin
4979 * README: added comments about libgda version requirements
4981 2001-07-05 Morten Welinder <terra@diku.dk>
4983 * configure.in (finite): Also check in -lm.
4985 2001-07-05 Almer S. Tigelaar <almer@gnome.org>
4987 * gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Fix backspace.
4989 2001-07-04 Jody Goldberg <jgoldberg@home.com>
4991 * src/sheet-merge.c (sheet_merge_add) : Use sheet_redraw_range.
4993 * src/sheet-control.c (sc_set_panes) : new virtual.
4994 (sc_set_sheet) : renamed from sc_invalidate_sheet.
4996 * src/sheet-control-gui.c (scg_primary_pane) : new function. Be very
4997 careful when using this. It should not be necessary in most cases.
4998 (scg_get_wbcg) : convenience routine.
4999 (scg_redraw_all) : frozen panes.
5000 (scg_redraw_region) : renamed from scg_redraw_cell_region, and frozen
5002 (scg_redraw_headers) : merge in the code from gnumeric-sheet.
5003 (scg_update_cursor_pos) : pane support.
5004 (scg_resize) : ditto.
5005 (scg_set_zoom_factor) : ditto. Broken. needs to resize the panes.
5006 (scg_scrollbar_config) : adjust to panes.
5007 (scg_make_edit_pos_visible) : use scg_make_cell_visible.
5008 (scg_colrow_select) : reorg a bit.
5009 (vertical_scroll_offset_changed) : adjust to panes.
5010 (horizontal_scroll_offset_changed) : ditto.
5011 (cb_table_destroy) : ditto.
5012 (scg_init) : init the top here.
5013 (bar_set_left_col) : from gnumeric-sheet. Still needs work for panes.
5014 (bar_set_top_row) : ditto.
5015 (gnumeric_sheet_set_left_col) : ditto.
5016 (gnumeric_sheet_set_top_row) : ditto.
5017 (scg_set_left_col) : TODO.
5018 (scg_set_top_row) : ditto.
5019 (gnumeric_sheet_set_top_left) : new function split from.
5020 (gnumeric_sheet_make_cell_visible) : here.
5021 (scg_make_cell_visible) : adjust to panes and do the real work here.
5022 (scg_make_cell_visible_virt : wrapper for use as virtual.
5023 (gnumeric_pane_new) : new function.
5024 (gnumeric_pane_delete) : ditto.
5025 (scg_set_panes) : ditto.
5026 (scg_construct) : move the table attachments around and move the
5027 canvas groups into the panes.
5028 (sheet_control_gui_new) : beef this up.
5029 (scg_unant) : adjust to panes.
5031 (scg_cursor_visible) : ditto.
5032 (scg_cursor_bound) : ditto.
5033 (scg_adjust_preferences) : ditto.
5034 (scg_compute_visible_region) : ditto.
5035 (scg_create_editor) : ditto.
5036 (scg_stop_editing) : ditto.
5037 (scg_take_focus) : ditto.
5038 (scg_sliding_callback) : adjust top panes, but is still much too
5040 (scg_start_sliding) : ditto.
5041 (cb_slide_handler) : ditto.
5042 (cb_control_point_event) : ditto.
5043 (new_control_point) : ditto.
5044 (set_item_x_y) : ditto.
5045 (set_acetate_coords) : ditto.
5046 (scg_object_calc_position) : ditto.
5047 (scg_object_view_position) : ditto.
5048 (scg_rangesel_changed) : ditto.
5049 (scg_rangesel_start) : ditto.
5050 (scg_rangesel_stop) : ditto.
5051 (scg_rangesel_move) : ditto.
5052 (scg_rangesel_extend) : ditto.
5054 * src/item-grid.c (sheet_object_begin_creation) : Use the group
5055 associated with the gsheet, not the scg, and use GNUMERIC_IS_SHEET
5056 in preference to != NULL.
5058 * src/item-bar.c : Store the gnumeric-sheet rather than the scg so
5059 that we can get to the Pane.
5061 * src/embeddable-grid.c (grid_view_activate) : Use scg_take_focus.
5062 (grid_view_new) : Use sheet_control_gui_new in place of sheet_new_scg.
5064 * convert to E_MAKE_TYPE
5065 * Use IS_SHEET in preference to sheet != NULL
5066 * sheet_range_calc_spans signature change
5068 * src/clipboard.c (clipboard_paste_region) : special handling when
5069 pasting into a selection that consists of a single merged cell.
5071 * src/application.c (application_set_selected_sheet) : Use IS_SHEET.
5072 (application_clipboard_copy) : ditto.
5073 (application_clipboard_cut) : ditto.
5076 command-context-corba -> workbook-control-corba
5078 * src/sheet.c : convert to using IS_SHEET in place of sheet != NULL in
5080 (sheet_is_frozen) : new function.
5081 (sheet_freeze_panes) : implement.
5082 (sheet_new) : init frozen pane data.
5083 (sheet_range_calc_spans) : pass a pointer rather than copy of the range.
5084 and use sheet_redraw_range.
5085 (sheet_apply_style) : use sheet_redraw_range.
5086 (cb_sheet_get_extent) : premature optimization is evil.
5087 (sheet_redraw_region) : rename from sheet_redraw_cell_region.
5088 (sheet_set_edit_pos) : use sheet_redraw_range.
5089 (sheet_move_range) : ditto.
5090 (sheet_init_sc) : new routine.
5091 (sheet_attach_control) : rename and task from sheet_new_scg.
5092 (sheet_redraw_region) : renamed from sheet_redraw_cell_region.
5094 * src/item-cursor.c (item_cursor_update) : increase the spacing for
5097 * src/GNOME_Gnumeric.xml :
5098 - Use Control*colon and Control*semicolon
5099 - desensitize the graph guru for now.
5102 * src/item-bar.c (item_bar_unrealize) : no need to double unref the
5105 * src/print-cell.c (print_merged_range) : This is not being drawn on
5106 the screen, no need for all the fancy calcs to only draw the visible
5107 bits. We will just clip it.
5108 * src/print-cell.c (print_cell) : Use the calulated width, not the col
5109 width for splitting.
5111 * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use the scg_
5112 versions of things in preference to the gnumeric_sheet_ versions.
5113 (gnumeric_sheet_new) : Store the Pane that this is associated with.
5114 (gnumeric_sheet_bar_set_top_row) : moved to sheet-control-gui.c
5115 (gnumeric_sheet_set_top_row) : ditto.
5116 (gnumeric_sheet_bar_set_left_col) : ditto.
5117 (gnumeric_sheet_set_left_col) : ditto.
5118 (gnumeric_sheet_make_cell_visible) : ditto.
5119 (gsheet_compute_visible_region) : handle panes.
5121 2001-06-28 Jody Goldberg <jgoldberg@home.com>
5123 * src/sheet-object-container.c : include sheet.h
5125 2001-06-29 Jody Goldberg <jgoldberg@home.com>
5127 * src/sheet-control-gui.c (cb_table_destroy) : unref the control so
5128 that it is removed from the sheets lists and cleaned up.
5130 * gnumeric.desktop.in : restore missing content.
5132 2001-06-28 Jody Goldberg <jgoldberg@home.com>
5134 * Makefile.am : Add missing old changelog (doh!)
5136 * configure.in : post release version bump.
5138 2001-06-28 Jody Goldberg <jgoldberg@home>
5142 2001-06-28 Jody Goldberg <jgoldberg@home.com>
5144 * Makefile.am : Install .desktop file not .in
5146 * src/formats.c : Add comments re: order assumptions.
5148 * src/workbook-control-gui.c (workbook_standard_toolbar_orient) :
5149 disable initial frozen pane support for release.
5151 * src/workbook-control-gui.c (sort_by_rows) : fix old bug with sort
5154 * src/stf-export.c (stf_export_sheet) : ignore spans and merges.
5156 * src/ranges.c (range_clip_to_finite) : add comment re: expense.
5158 * src/print.c (print_sheet) : Include spans and merges when printing.
5159 (compute_sheet_pages) : ditto.
5161 * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : spans are not
5164 2001-06-28 Jody Goldberg <jgoldberg@home.com>
5166 * configure.in : bump libxml1 req to 1.8.14 to fix i18n xml import
5167 broken with the switch to the progress monitor.
5168 * gnumeric.spec.in : ditto.
5170 * src/Makefile.am : Restore files that were not distributed due the
5171 differences in bonobo build.
5173 2001-06-27 John Gotts <jgotts@linuxsavvy.com>
5175 * gnumeric.spec.in : resynch with 0.66.
5177 2001-06-27 John Gotts <jgotts@linuxsavvy.com>
5179 * gnumeric.spec.in : minor updates.
5181 2001-06-27 Jody Goldberg <jgoldberg@home.com>
5183 * configure.in : bump version to 0.67.