1. 15 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      simplify. No resize if there is a guru, or we are editing. (ib_set_cursor) · 66176ca9
      Jody Goldberg authored
      2001-11-15  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (is_pointer_on_division) : simplify.  No resize if
      	  there is a guru, or we are editing.
      	(ib_set_cursor) : no need to be fancy, is_pointer_on_division
      	  does the majority of the work now.
      	* src/item-bar.c (item_bar_event) : ditto.
      	* src/cell-draw.c (cell_split_text) : split at hyphens.
      	* src/print-cell.c (cell_split_text) : ditto.
      	* src/rendered-value.c (rendered_value_calc_size_ext) : ditto.
  2. 12 Nov, 2001 1 commit
  3. 11 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      rethink this. (gnumeric_expr_entry_rangesel_start) : improve parser. Still · d00c0689
      Jody Goldberg authored
      2001-11-10  Jody Goldberg <jgoldberg@home.com>
      	* gnumeric-expr-entry.c (gnumeric_expr_entry_rangesel_meaningful) :
      	  rethink this.
      	(gnumeric_expr_entry_rangesel_start) : improve parser.  Still needs
                more work.
      2001-11-10  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_menu_format_column) :
      	  make col menu consistent with row menu.
      	* src/GNOME_Gnumeric.xml : ditto.
      2001-11-10  Jody Goldberg <jgoldberg@home.com>
      	* src/item-cursor.c (item_cursor_draw) : make block cursors more
      	  visually appealing.
      	* src/workbook-control-gui.c (sheet_action_add_sheet) : restore the
      	  focus to the current sheet so that the new sheet does not get the
      	  key events.
      	* src/workbook-edit.c (wbcg_editing_expr) : delete.
  4. 10 Nov, 2001 1 commit
  5. 09 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      begin parsing the sheet name. Still need to support starting in the · c1005d28
      Jody Goldberg authored
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      	* gnumeric-expr-entry.c (gnumeric_expr_entry_rangesel_start) : begin
      	parsing the sheet name.  Still need to support starting in the
      	sheetname, and to actually use the name.
      	(gnumeric_expr_entry_parse) : new utility.
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      	* dialog-graph-guru.c (vector_state_apply_changes) : Use
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object-widget.c (sheet_widget_checkbox_toggled) : Use
      	(cb_checkbox_set_focus) : rework to use dialog::set-focus.
      	(cb_checkbox_config_clicked) : use gnumeric_expr_entry_parse.
      	(sheet_widget_checkbox_user_config) : set up the new focus handler.
      	* src/sheet-control-gui.c (scg_object_nudge) : new.
      	(scg_object_update_bbox) : no need to pass the view.
      	(scg_object_move) : ditto.
      	(cb_slide_handler) : ditto.
      	* src/parser.y (force_explicit_sheet_references) : new.
      	(parse_ref_or_string) : Support forcing an absolute ref.
      	(gnumeric_expr_parser) : remove the individual flags and send in a bit
      	* src/item-grid.c (item_grid_draw_merged_range) : filted invisble
      	(item_grid_draw) : handle merges hidden by row, and support sliced
      	  merges in the future.
      	* src/sheet.c (sheet_col_row_fit_gutter) : New max_outline semantics
      	  remove need for special case.
      	(sheet_colrow_get) : new utility.
      	* src/item-bar.c (ib_compute_pixels_from_indent) : Adjust to new
      	  outline_level semantics.  We now implicitly add 1 when needed.
      	  rather than tweaking it at startup.
      	(item_bar_draw) : ditto.
      	(outline_button_press) : ditto.
      	* src/gnumeric-pane.c (gnm_pane_release) : Clean out cursors and
      	* src/gnumeric-graph.h : do not include idl header publicly.
      	  Damn automake.
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : support moving
      	  objects with the keyboard.
      	* src/colrow.c (colrow_visibility) : visible collapse marks at lower
      	  levels should also be collapsed.
      	* src/analysis-tools.c (get_data) : handle blanks better.
  6. 03 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      support cancel. · 6b808aa4
      Jody Goldberg authored
      2001-11-02  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object-bonobo.c (open_cb) : support cancel.
      	* src/item-grid.c (item_grid_draw_merged_range) : honour the selection
      	  of objects.
      	* src/workbook-control-gui.c (cb_edit_select_all) : Use
      	* src/sheet-control-gui.c (scg_select_all) : Make public.
  7. 02 Nov, 2001 1 commit
  8. 01 Nov, 2001 1 commit
    • Jukka-Pekka Iivonen's avatar
      Added Filter submenu. · c0f1addc
      Jukka-Pekka Iivonen authored
      2001-11-01  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
              * src/GNOME_Gnumeric.xml, src/worbook-control-gui.c: Added Filter
  9. 31 Oct, 2001 3 commits
  10. 27 Oct, 2001 3 commits
    • Almer S. Tigelaar's avatar
      Tidy view menu. · 686720a1
      Almer S. Tigelaar authored
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      	* src/GNOME_Gnumeric.xml: Tidy view menu.
      	* src/workbook-control-gui.c: Idem.
    • Almer S. Tigelaar's avatar
      Enable validate menu item. · eb66eee8
      Almer S. Tigelaar authored
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      	* src/GNOME_Gnumeric.xml: Enable validate menu item.
      	* src/validation.[ch]: New, defines a container for
      	validation settings.
      	* src/Makefile.am: Add new validation.[ch]
      	* src/gnumeric.h: Add validation declaration.
      	* src/gui-validation.[ch] (validation_mstyle_get_title): Burn.
      	(validation_generate_msg): Rework slightly to accept a stylecondition
      	instead of an mstyle.
      	(validation_mstyle_get_msg): Burn.
      	(validation_mstyle_get_msg_subst): Burn.
      	(validation_mstyle_set_title_msg): Burn.
      	(validation_get_accept): Request a validation instead of
      	an mstyle. Actually free the automatically generated message.
      	* src/mstyle.[ch]: Adjust mstyle_names to include hidden/locked.
      	(mstyle_hash): Remove validation style hashing.
      	(mstyle_element_dump): Don't dump validation message, dump validation
      	refcount instead.
      	(mstyle_element_equal): Remove comparing of style and message.
      	(mstyle_elements_equal): Don't give a mismatched types warning if
      	one of the elements is not set.
      	(mstyle_element_ref): Ref validation, remove reffing of msg.
      	(mstyle_element_unref): Idem for unref.
      	(mstyle_new_default): Don't initialize any validation related
      	(mstyle_set_validation): Set a Validation instead of a StyleCondition.
      	(mstyle_get_validation): Idem for get.
      	(mstyle_set_validation_style): Burn.
      	(mstyle_get_validation_style): Burn.
      	(mstyle_set_validation_msg): Burn.
      	(mstyle_get_validation_msg): Burn.
      	* src/style-condition.c (style_condition_new_constraint): Initialize
      	from passed parameter!
      	* src/style-condition.h: Remove validation enum.
      	* src/workbook-control-gui.c (cb_data_validate): Enable.
      	(workbook_control_gui_init): Change index of consolidate
      	menu item.
      	* src/workbook-edit.c (wbcg_edit_validate) : Get the StyleCondition
      	from the validation. The validation element must be set on the mstyle.
      	Pass validation, not mstyle, to validation_get_accept.
      	(wbcg_edit_finish): Only call wbcg_edit_validate if the validation
      	element is set on the mstyle.
      	* src/xml-io.c (xml_write_style_condition_chain): Generates a
      	StyleConditionChain in XML format.
      	(xml_read_style_condition_chain): Turns an XML description of a
      	StyleConditionChain into a real StyleConditionChain.
      	(xml_write_style): Add validation support.
      	(xml_read_style): Idem.
      2001-10-27  Almer S. Tigelaar  <almer@gnome.org>
      	* dialog-cell-format.c (validation_style_condition_chain_rebuild): Rename
      	to validation_rebuild_validation.
      	(validation_rebuild_validation): Also set error style, title and message
      	on validation.
      	(cb_validation_error_action_deactivate): Don't set error style on
      	mstyle directly.
      	(cb_validation_operator_deactivate): Adjust for name change.
      	(cb_validation_constraint_type_deactivate): Don't rebuild chain from
      	here, cb_validation_error_action_deactivate will do this.
      	(cb_validation_bounds_changed): Adjust for name change.
      	(cb_validation_flags_changed): Idem.
      	(cb_validation_error_title_msg): Don't set title and message directly
      	on mstyle. Call validation_rebuild_validation instead.
      	(fmt_dialog_init_from_style_condition): Rename to
      	(fmt_dialog_init_validation_from_style_condition): Use passed
      	stylecondition instead of re-fetching it from the mstyle.
      	(fmt_dialog_init_validation_page): Correctly initialize everything
      	from the new, single mstyle_validation element.
    • Jody Goldberg's avatar
      move the cursor setting out of event::ENTER and into · 883f74f3
      Jody Goldberg authored
      2001-10-27  Jody Goldberg <jgoldberg@home.com>
      	* src/item-grid.c (item_grid_event) : move the cursor setting out of
      	  event::ENTER and into scg_set_display_cursor.
      	* src/sheet-control-gui.c (scg_set_display_cursor) : new routine.
      	(scg_mode_edit) : reset the display cursors.
      	(scg_mode_edit_object) : ditto.
      	(scg_mode_create_object) : ditto.
      	* src/gnumeric-canvas.c (gnm_canvas_key_press) : if the key is
      	  unhandled forward it to the canvas items.
      	* src/item-cursor.c (item_cursor_autofill_event) : ctrl-autofill
      	  defaults to increment.
  11. 25 Oct, 2001 1 commit
    • Wayne Schuller's avatar
      New canvas based header and footer preview widget. The customize · f0770524
      Wayne Schuller authored
      2001-10-21  Wayne Schuller <k_wayne@linuxpower.org>
      	* dialog-printer-setup.c : New canvas based header and footer preview
      	  widget. The customize header/footer widget now also uses a
      	  GnomePropertyBox for UI consistency.
      	* print.glade : Updated.
      	* hf-config.glade : Updated.
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      	* src/ranges.c (range_trim) : decrease lobotomization factor.
      2001-10-23  Jody Goldberg <jgoldberg@home.com>
      	* src/expr-name.c (named_expr_new) : renamed from add_real, simplified
      	(expr_name_add) : take and store a parse position.
      	(expr_name_create) : ditto.
      	(expr_name_destroy) : adjust to stored parsepos.
      	(expr_name_unlink) : ditto.
      	(expr_name_sheet2wb) : ditto.
      	(expr_name_init) : ditto.
      	(expr_name_as_string) : renamed from expr_name_value.
      	(expr_name_eval) : renamed from eval_expr_name.
      	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
      	* src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
      	  useless arg.
      	(encode_cellref) : delete redundant.
      	* src/parse-util.c (cellref_name) : ICK!  XL wraps relative references
      	  that are out of bounds.
  12. 18 Oct, 2001 1 commit
  13. 14 Oct, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Pop-up validation page of format dialog. Disabled for now. · 98fe8179
      Almer S. Tigelaar authored
      2001-10-14  Almer S. Tigelaar  <almer@gnome.org>
       	* src/workbook-control-gui.c (cb_data_validate):
       	Pop-up validation page of format dialog. Disabled
      	for now.
       	* src/GNOME_Gnumeric.xml: Add validate menu
       	item. Commented out for now.
      2001-10-14  Almer S. Tigelaar  <almer@gnome.org>
       	* Makefile.am: Cope for burning.
       	* dialogs.h: Idem and add new dialog pages to
       	cell format dialog enum.
      	* dialog-cell-format.c (fmt_dialog_init_validation_page):
      	Temporarily disable validation dialog before release.
      	(fmt_dialog_init_input_msg_page): Remove the right page.
  14. 12 Oct, 2001 1 commit
  15. 11 Oct, 2001 2 commits
    • Morten Welinder's avatar
      New functions. · e1ecaf93
      Morten Welinder authored
      2001-10-11  Morten Welinder  <terra@diku.dk>
      	* src/search.c (search_filter_matching,
       	search_filter_matching_free): New functions.
      	* src/workbook-control-gui.c (workbook_control_gui_init): Plug leak.
      	(cb_edit_search): Delete.
      	(cb_edit_search): Use new dialog.
      2001-10-11  Morten Welinder  <terra@diku.dk>
      	* dialog-search.c (dialog_search): New dialog in new file.
      	* dialog-search-replace.c (dialog_search_replace_query): Remove
       	search from here.
    • Jody Goldberg's avatar
      : optionally avoid closing pristine books. Return more state info to · 8b980165
      Jody Goldberg authored
      2001-10-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (cb_file_quit) :
      	(workbook_close_if_user_permits) : optionally avoid closing pristine
      	  books.  Return more state info to handle cancel vs closed vs can
      	(wbcg_close_control) : keep it simple.
  16. 10 Oct, 2001 1 commit
    • J.H.M. Dassen (Ray)'s avatar
      Update the debian files. · c97a44ec
      J.H.M. Dassen (Ray) authored
      2001-10-08  J.H.M. Dassen (Ray) <jdassen@debian.org>
      	* dialog-analysis-tools.c (tool_help_cb) : seperated help_ref
      	declaration and initialisation to fix "initializer element is not
      	computable at load time" error.
      2001-10-08    J.H.M. Dassen (Ray) <jdassen@debian.org>
      	* src/workbook-control-gui.c (cb_edit_fill_autofill) :
      	  Don't use C++/C99 `//' comment.
  17. 08 Oct, 2001 1 commit
  18. 06 Oct, 2001 2 commits
    • Morten Welinder's avatar
      Code cleanup. · 97046c8b
      Morten Welinder authored
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* src/workbook-control-gui.c (cb_edit_search_action): Handle
      	* src/search.c (search_replace_cell, search_replace_comment): New
       	functions, extracted from commands.c.
      	* src/commands.c (cmd_search_replace_do_cell): Use search_replace
       	and search_replace_comment.
    • Morten Welinder's avatar
      Implement search. · 13c62ab9
      Morten Welinder authored
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* src/workbook-control-gui.c (cb_edit_search): Implement search.
      	* src/search.c (search_collect_cells): New function, extracted
       	from commands.c.
      	(search_match_string): New function to check for match only.
      	* src/gui-util.c (gnumeric_keyed_dialog): Constify.
      2001-10-06  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search, dialog_search_notify):
       	New functions (and dialogs).
  19. 05 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      Add a matching save icon for the toolbar. · 9626fe3b
      Jody Goldberg authored
      2001-10-05  Jody Goldberg <jgoldberg@home.com>
      	* src/application.c (application_init) : Add a matching save icon for
      	  the toolbar.
      	* src/workbook-control-gui.c (workbook_standard_toolbar) : Use it.
      	* src/GNOME_Gnumeric.xml : and here.
  20. 04 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      Add some signals to clarify the useful events. Remove the useless hash. · aac51864
      Jody Goldberg authored
      2001-10-04  Jody Goldberg <jgoldberg@home.com>
      	* gnumeric-combo-text.c : Add some signals to clarify the useful
      	  events.  Remove the useless hash.  Search the displayed list
      	  directly.  Add some control on where to start searching the list.
      	  Provide feedback on whether an item is in the list.  Return a handle
      	  to list items.  Rewrite a big chunk.
      2001-10-02  Jody Goldberg <jgoldberg@home.com>
      	* gnumeric-combo-text.c (scroll_size_request_cb) : size the popup to
      	  match the entry.
      	(gnm_combo_text_construct) : hook up the size-allocate callback.
      	  always wrap things in a scrolled window.
      	(gnm_combo_text_add_item) : rename 'value' -> 'key' to be clearer that
      	  it is not displayed.
      2001-10-04  Jody Goldberg <jgoldberg@home.com>
      	* dialog-graph-guru.c (graph_guru_select_series) : adjust to changes
      	  in the combo_text.
      	(graph_guru_select_plot) : ditto.  Use gnm_combo_text_clear.
      	  Store the xmlNode for the series with its combo item.
      	(graph_guru_init_data_page) : Stre the xmlNode for the plot
      	  with its combo item.
      	(cb_series_selection_changed) : have this do something.
      	(cb_plot_entry_changed) : ditto.
      	(graph_guru_selector_init) : adjsut to changes in the combo_text.
      2001-10-04  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (zoom_changed) : Start searching for the
      	  assigned text at the current list item.
      	(cb_change_zoom) : adjust to new signal from the gnm_combo_text.
      	  Make more error resistant.  Don't reset the content twice.
      	(workbook_create_standard_toolbar) : adjsut to new signals from the
      	  gnm_combo_text and use the simplified interface.
      	* src/clipboard.c (paste_link) : adjust this to link a region not just
      	  a single cell so that we can link all the cells, even the blanks.
      	(clipboard_paste_region) : simplify and change link handling to ignore
      	  the content.
  21. 02 Oct, 2001 1 commit
    • Morten Welinder's avatar
      Implement querying for cell comments. · 3529e4fb
      Morten Welinder authored
      2001-10-02  Morten Welinder  <terra@diku.dk>
      	* src/commands.c (cmd_search_replace_do_cell): Implement querying
       	for cell comments.
      	* src/search.h (SearchReplaceQuery): Add SRQ_querycommment.
      	* src/workbook-control-gui.c (cb_edit_search_replace_query):
       	implement SRQ_querycommment.
  22. 01 Oct, 2001 1 commit
    • Morten Welinder's avatar
      Add SRQ_query. · 8e5de92e
      Morten Welinder authored
      2001-10-01  Morten Welinder  <terra@diku.dk>
      	* src/search.h (SearchReplaceQuery): Add SRQ_query.
      	* src/commands.c (cmd_search_replace_do_cell): Implement querying.
      	* src/workbook-control-gui.c (cb_edit_search_replace_query):
       	implement SRQ_query.
      	* src/xml-io.c (xml_probe): Please gcc.
      2001-10-01  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search_replace_query): New
       	(modal) dialog.
  23. 26 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      Add a sample for the data page. Make the lists of plots and series. · e86e67b2
      Jody Goldberg authored
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      	* dialog-graph-guru.c : Add a sample for the data page.
      	  Make the lists of plots and series.  rewrite the the glade file
      	  in preparation for constructing the exprEntries.
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      	* dialog-cell-format.c (cb_protection_locked_toggle) : new.
      	(cb_protection_hidden_toggle) : new.
      	(fmt_dialog_init_protection_page) : new.
      	(fmt_dialog_impl) : call fmt_dialog_init_protection_page.
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      	* xml-sax-read.c (xml_sax_styleregion_start) : Add hidden & locked.
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      	* ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
      	* ms-excel-read.c (biff_xf_data_new) : read them that way.
      	(ms_excel_get_style_from_xf) : store the protection flags.
      	* ms-excel-write.c (build_xf_data) : ditto.  Add indent.
      	* ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      	* gnumeric.xsd : The style flags are not required, it will eventually
      	  be possible to define styles that only change some of the
      	  attributes.  Add locked & hidden.
      	* src/xml-io.c (xml_write_style) : write locked & hidden.
      	(xml_read_style) : read them too.
      	* src/mstyle.c (mstyle_element_equal) : support locked and hidden.
      	(mstyle_{get,set}_content_{locked,hidden}) : We have not implemented
      	  it yet, but storing the info is easy enough.
      	(mstyle_new_default) : Add locked & hidden.
  24. 18 Sep, 2001 2 commits
    • Jody Goldberg's avatar
      Fix old off by 1 error. Number of visible = last - first PLUS 1. · eecfe9d1
      Jody Goldberg authored
      2001-09-18  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-control-gui.c (scg_scrollbar_config) : Fix old off by 1
      	  error.  Number of visible = last - first PLUS 1.
    • Jody Goldberg's avatar
      make headers optional. make headers optional. make headers optional. · a907b34b
      Jody Goldberg authored
      2001-09-18  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-control-gui.c (scg_redraw_all) : make headers optional.
      	* src/sheet-control.c (sc_redraw_all) : make headers optional.
      	* src/sheet.c (sheet_redraw_all) : make headers optional.
      	* src/colrow.c (colrow_set_visibility_list) : redraw_all does headers.
      	* src/cell.c (cell_eval_content) : don't redraw here, and only render
      	  if we were already rendered.  This will avoid rendering sheets no
      	  one is looking at.
      	* src/eval.c (workbook_recalc) : after a recalc redraw all, but not
      2001-09-17  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control.c (wb_control_menu_state_sensitivity) : new
      	* src/workbook-control-gui.c (wbcg_menu_state_sensitivity) : renamed
      	  and moved from.
      	* src/workbook-edit.c (workbook_edit_toolbars_set_sensitive). here.
      	* src/workbook-view.c (wb_view_open_custom) : Use
      	  wb_control_menu_state_sensitivity to enable/disable
      	  the menus and toolbars of the manging contol.
  25. 14 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      Use gnome_preferences_get_toolbar_detachable rather than · c08a5efd
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_create_standard_toolbar) : Use
      	  gnome_preferences_get_toolbar_detachable rather than
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :ditto.
      	* src/workbook-object-toolbar.c (workbook_create_object_toolbar) :ditto.
  26. 10 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      store pie seperation. (BC_R(get_chartgroup_type)) : new function. · ba2283fe
      Jody Goldberg authored
      2001-09-09  Jody Goldberg <jgoldberg@home.com>
      	* ms-chart.c (BC_R(pieformat)) : store pie seperation.
      	(BC_R(get_chartgroup_type)) : new function.
      2001-09-08  Jody Goldberg <jgoldberg@home.com>
      	* ms-chart.c (legend) : xml-ize and fix transposition of right & left.
      	(pie) : Guppi uses radians and has 0 in a different place.
      2001-09-10  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-graph.c (gnm_graph_range_to_vectors) : move this here
      	  from the guru.
      	(gnm_graph_arrange_vectors) : implement.
      	(gnm_graph_add_vector : init the extra members for arrangement.
      2001-09-04  Christopher Fairbairn  <ckf13@student.canterbury.ac.nz>
      	* src/GNOME_Gnumeric.xml: added new menu item
      	* src/ranges.c: (range_trim): added function to trim blank cells
      	  at bottom/right edge of a range
      	* src/ranges.h: ditto
      	* src/workbook-control-gui.c: (cb_edit_fill_autofill): added
      	  keyboard and menu support for the autofill feature
  27. 02 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      For Wayne Schuller <k_wayne@linuxpower.org> · bb833c86
      Jody Goldberg authored
      2001-09-02  Jody Goldberg <jgoldberg@home.com>
      	For Wayne Schuller <k_wayne@linuxpower.org>
      	* src/pattern.c (gnumeric_background_set_pc) : Support gray scale
      	  patterns when printing.
      2001-09-02  Jody Goldberg <jgoldberg@home.com>
      	* src/style-condition.c (style_condition_eval) : Use dependent_eval
      	  and add an invariant that ensures that val is only NULL if we have
      	  been queued for recalc.
      	* src/eval.c (dependent_eval) : split from workbook_recalc.
      	(cell_eval) : change return type.  no one was using it.
      	(dependent_needs_recalc) : new macro.
  28. 30 Aug, 2001 2 commits
    • Morten Welinder's avatar
      New macro. (WORKBOOK_FOREACH_DEPENDENT): Re-factor. (Workbook): Move · 52f2f380
      Morten Welinder authored
      2001-08-30  Morten Welinder  <terra@diku.dk>
      	* src/workbook.h (WORKBOOK_FOREACH_SHEET): New macro.
      	(Workbook): Move dependents to DependencyContainer, see below.
      	Introduce new external_dependents, not yet used.
      	* src/sheet.h (SHEET_FOREACH_DEPENDENT): New macro.
      	* src/eval.h: (DependencyContainer): type moved from eval.c and
       	renamed from DependencyData.  Add dependent_list member which used
       	to be in Workbook.
      	(DEPENDENT_IS_CELL): New macro.  Put into used lots of places.
      	* src/eval.c (cb_dependent_queue_recalc): Allocate single list
       	element on stack, not heap.
      	(dependent_queue_recalc_list): Don't essentailly copy all lists.
      	(UNLINK_DEP): Take only dep arguement and find the container from
    • Morten Welinder's avatar
      Avoid listifying. (cb_dependent_queue_recalc, cell_queue_recalc): Recast · 12a001cb
      Morten Welinder authored
      2001-08-29  Morten Welinder  <terra@diku.dk>
      	* src/eval.c (workbook_queue_all_recalc): Avoid listifying.
      	(cb_dependent_queue_recalc, cell_queue_recalc): Recast in terms of
      	(dependent_queue_recalc_list): Eliminate recursion which used to
       	be unbounded deep.
      	* src/eval.h (struct _Dependent): Name next to next_dep and prev
       	to prev_dep.  (Because we might need a similar list for evaluation
       	at some point.)
      	(DEPENDENT_TYPE): New macro type hide most uses of the ugly
       	DEPENDENT_TYPE_MASK.  All such uses fixed.
  29. 28 Aug, 2001 1 commit
    • Morten Welinder's avatar
      point to first dependent directly, not via an slist. · d48e13b0
      Morten Welinder authored
      2001-08-28  Morten Welinder  <terra@diku.dk>
      	* src/workbook.h (struct _Workbook): point to first dependent
       	directly, not via an slist.
      	* src/eval.h (struct _Dependent): Add prev and next fields.
      	* src/eval.c (dependent_unlink, dependent_unlink_sheet): Fix-up
      	(dependent_link): Link using new double-linked structure.
      	(sheet_region_queue_recalc): Use new dependent linking structure.
      	(workbook_queue_all_recalc): Make an slist of dependents here.
      	* src/workbook-control-gui.c (TOGGLE_HANDLER/display_formulas):
       	Adapt to new dependent linking structure.
      	* src/workbook.c (workbook_expr_relocate): Adapt to new dependent
       	linking structure.
  30. 24 Aug, 2001 2 commits
    • Jody Goldberg's avatar
      Rename gnumeric-utils.h gui-utils.h to be more accurate. · d531765d
      Jody Goldberg authored
      Clean out a bunch includes.
    • Jody Goldberg's avatar
      fix. · 8ba4a43f
      Jody Goldberg authored
      2001-08-24  Jody Goldberg <jgoldberg@home.com>
      	* idl/Makefile.am : fix.
      	* src/gnumeric-canvas.c : add gnome-i18n.
      	* src/gnumeric-util.c : add gnome-{i18n,util}
      	* src/gui-file.c : add gnome-{i18n,config,util}
      	* src/history.c : add gnome-i18n.
      	* src/main.c : add gnome-config.
      	* src/sheet-control-gui.c : add gnome-i18n.
      	* src/workbook.c : Add gnome-i18n, loosen sheet-control-gui req to
      	  just sheet-control.
      	* src/workbook-edit.c : add gnome-i18n.
      	* src/workbook-view.c : add gnome-i18n and gnome-config, remove widget.
      	* src/workbook-control-gui.c : Add gnome-i18n and gnome-config.
      	* src/xml-io-autoft.c : add unistd.h
  31. 20 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · b459aaa7
      Jody Goldberg authored
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
      	(sheet_object_anchor_set) : new routine to replace range_set.
      	(sheet_object_anchor_get) : new.
      	(sheet_object_anchor_cpy) : new.
      	(sheet_object_anchor_init) : new routine to bundle up object
      	  positioning more neatly.
      	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
      	  types that are implemented.  Use the new SheetObjectAnchor scheme.
      	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
      	  point causes a move or a resize.
      	(cb_control_point_event) : store the initial anchor rather than the
      	  control specific position,  and assume that the changes are simple
      	  movements until a resize occurs.
      	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
      	(scg_colrow_distance_get_virtual) : new routine.
      	(scg_class_init) : register it here.
      	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
      	  created objects too.
      	(gnm_canvas_filenames_dropped) : signature change
      	  for sheet_object_container_new_file.
      	* src/gnumeric.h : add GnmGraph.
      	* src/Makefile.am : rename graph-vector -> gnumeric-graph
      	* idl/gnumeric-graphs.idl : Add some versioning.
      	  Move the header arg out of the value callback.
      	  Replace VectorNotify::remove with Manger::clearVectors.
      	  Merge freeze & thaw.
      	  Renamed 'nameChange' to 'headerChanged'
      	  Add an 'id' arg when registering vectors.
      2001-08-19  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c
      	(cmd_object_insert_redo) : The object knows its position based on its
      	  anchor. No need to set the control specific coordinates for an
      	  arbitrary control.  No need to tweak the reference count either.
      	(cmd_object_insert) :  ditto.
      	(cmd_object_insert_undo) : no need to tweak the ref count.
      	(cmd_object_delete_redo) : keep it simple, just set the sheet.
      	(cmd_object_delete_undo) : just clear the sheet.
      	(cmd_object_delete_destroy) : very simple.
      	(cmd_object_move_redo) : store the anchor, not the position for a
      	  specific control.  Be careful not to move the object the firs time
      	  through.  We've already done that.
      	(cmd_move_object_undo) : just call redo.
      	(cmd_object_move) : store the old anchor and take a flag indicating
      	  move vs resize.
      	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
      	* src/sheet-object.c (sheet_object_update_bounds) : rename from
      	  sheet_object_position to have a clearer name.
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
      	(grid_view_new) : use scg_toplevel.
      	* src/sheet-control-gui.c (scg_toplevel) : new function.
      2001-08-18  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
      	(gnm_graph_new) : don't dangle the reference returned by oaf.
      	(gnm_graph_destroy) : deactivate & _fini the corba obj.
      	(gnm_graph_vector_destroy) : ditto.
      	* src/expr.c (expr_to_graph_vector) : delete this function.
      	  we have no need to disassemble the expression in graphs.
      	* src/item-grid.c : revert switch from destroy -> finalize.
      	* src/item-bar.c : ditto.
      	* src/sheet-object-container.c : no need to include gnorba.
      	  no need to include sheet-control-gui-priv anymore.
      	(sheet_object_container_destroy) : delete unused.
      	(sheet_object_container_new) : weaken requirements to take a workbook,
      	  rather than a sheet as the container.
      	(sheet_object_container_new_object) : ditto.
      	(sheet_object_container_new_file) : ditto.
      	* src/workbook-private.c : delete some unnecessary code.
      	* src/workbook.c : include sheet-control vs sheet-control-gui.
      	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
      	  non-existent cell.
      	* src/commands.c (cmd_paste_cut_undo) : restore the original content
      	  AFTER unrelocating the expressions.
      	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
      	  magic to enable the bonobo toolbar config utility.
      	(workbook_menu_edit) : Fix the accelerators and sync the text with the
      	  bonobo version.
      	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
      	(change_menu_label) : Fix accelerator display, we still don't set
      	  them, but at least we display them correctly.
      	(insert_bonobo_object) : signature change to
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.