1. 24 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      mark as needing a recalc, don't just assert it. · 208fc52c
      Jody Goldberg authored
      2001-12-24  Jody Goldberg <jody@gnome.org>
      
      	* src/style-condition.c (style_condition_expr_eval) : mark as needing
      	  a recalc, don't just assert it.
      
      	* src/workbook-edit.c (wbcg_edit_validate) : handle accept/reject/reedit
      	  Generate the title and msg here.  The goal is to move the gui
      	  specific aspects out of here.
      	(wbcg_edit_finish) : ditto.
      
      	* src/gui-validation.c (validation_generate_msg) : disable for now.
      	  It is a nice idea, but the implementation is in the wrong place
      	  and blows goats.
      208fc52c
  2. 22 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      range_trim does not handle merges, once we've trimmed things down we need · 9301571e
      Jody Goldberg authored
      2001-12-22  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_edit_fill_autofill) : range_trim does
      	  not handle merges,  once we've trimmed things down we need to expand
      	  back out to include merges in the src region.
      
      	* src/sheet-autofill.c (autofill_cell) : 1st half of a patch to handle
      	  non-integer copies of arrays.
      	(sheet_autofill_dir) : ditto.
      
      	* src/item-cursor.c (item_cursor_setup_auto_fill) : restrict autofills
      	  to contain an integer number of copies if the src region contains
      	  merges.
      	(cb_autofill_scroll) : ditto.
      9301571e
  3. 21 Dec, 2001 1 commit
  4. 19 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=67202 take the autofmt into · 197c3650
      Jody Goldberg authored
      2001-12-19  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=67202
      	* src/sheet-autofill.c (fill_item_new) : take the autofmt into
      	  account.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=67179
      	* src/workbook-control-gui.c (delete_sheet_if_possible) :
      	  don't prompt for sheet delete if it is pristine.
      
      	* src/workbook.c (workbook_sheet_delete) : no need to wipe things if
      	  the sheet is pristine.
      197c3650
    • Jody Goldberg's avatar
      new simple base to help keep multiple canvases register grab states with · 50f946ec
      Jody Goldberg authored
      2001-12-19  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-simple-canvas.c : new simple base to help keep
      	  multiple canvases register grab states with the scg.
      
      	* src/commands.c (cmd_autofill) : check the source range for array
      	  splits too.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_cell_copy) : only add an expr_ref when
      	  connecting to shared expressions, the parse has already set it to 1.
      	  On expr parse errors for shard expressions set the value to empty
      	  not NULL.  Be pedantic and value_release the empty in the value
      	  case, things may change in the future.
      
      	* src/cell-draw.c (cell_draw) : more protection from missing fonts.
      
      	* bonobo/src/parser.c (gnumeric_parse_error) : fix leak when there is
      	  no ParseError to store the message.
      50f946ec
  5. 13 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      back port some gnome2 work. · 9036243f
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	s/gnome-xml/libxml/
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/workbook-control-gui.c (wb_control_gui_focus_cur_sheet) : back
      	  port some gnome2 fixes.
      	(cb_notebook_switch_page) : ditto.
      
      	* src/workbook-edit.c (auto_complete_matches) : Use
      	  gtk_editable_get_position.
      
      	* src/plugin-loader.h (gnumeric_plugin_loader_get_type) : fix return type.
      
      	* src/plugin-loader.c : Use PL_GET_CLASS.
      
      	* src/item-bar.c (item_bar_translate) : delete useless.
      	* src/item-cursor.c (item_cursor_translate) : delete useless.
      	* src/item-edit.c (item_edit_translate) : delete useless.
      	(point_is_inside_range) : Use gtk_editable_get_position.
      
      	* src/gui-file.c (gui_file_import) : const.
      
      	* src/complete-sheet.c (free_search) : unused.
      	(complete_sheet_finalize) : protect.
      	(complete_sheet_destroy) : delete.
      
      	* configure.in : explicitly add gdk_pixbuf just in case gnome-print
      	  doesn't.
      
      	* src/sheet-autofill.c (sheet_autofill) : pass singleton_increment to.
      	(sheet_autofill_dir) : here.
      	(autofill_create_fill_items) : here.
      	(autofill_compute_delta) : and here. Use singleton_increment.  Handle
      	  singleton date fills.
      
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/gui-file.c (gui_file_import) : const.
      9036243f
    • Jody Goldberg's avatar
      !$!%! XL uses styles to differentiate for sorting, but not for graph data · 8a11393b
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/ranges.c (range_has_header) : !$!%! XL uses styles to
      	  differentiate for sorting, but not for graph data guru.
      	* src/workbook-control-gui.c (sort_by_rows) : changes to
      	  range_has_header.
      	* src/gnumeric-graph.c (gnm_graph_range_to_vectors) : ditto.
      8a11393b
  6. 12 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      gtk_entry_get_text const. (el_edit_sync) : ditto. ditto. ditto. · a9117e4d
      Jody Goldberg authored
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* widget-editable-label.c (el_entry_activate) : gtk_entry_get_text const.
      	(el_edit_sync) : ditto.
      	* widget-font-selector.c (size_changed) : ditto.
      	* gnumeric-combo-text.c (cb_entry_activate) : ditto.
      
      	* gnumeric-toolbar.c (gnumeric_toolbar_get_type) : Delete finalize it
      	  was a NOP.
      
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* dialog-solver.c (cb_dialog_solve_clicked) : gtk_entry_get_text const.
      	* dialog-printer-setup.c (do_fetch_page) : ditto.
      	(paper_size_changed) : ditto.
      	* dialog-goal-seek.c (cb_dialog_apply_clicked) : ditto.
      	* dialog-formula-guru.c (formula_guru_set_expr) : ditto.
      	* dialog-autocorrect.c (cb_add_clicked) : ditto.
      	* dialog-analysis-tools.c (entry_to_float) : ditto.
      	(entry_to_int) : ditto.
      	(gnumeric_expr_entry_parse_to_value) : ditto.
      	(gnumeric_expr_entry_parse_to_list) : ditto.
      	* dialog-advanced-filter.c (dialog_advanced_filter) : ditto.
      
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* src/file-autoft.c (category_group_list_find_category_by_name) : make
      	  const.
      	* src/plugin-service.c (gnum_plugin_file_opener_probe) : const.
      	* src/workbook-view.c (wb_view_attach_control) : ditto.
      	* src/workbook.c (workbook_attach_view) : ditto.
      	* src/workbook-edit.c (entry_changed) : ditto.
      	* src/workbook-edit.c (auto_complete_matches) : ditto.
      a9117e4d
  7. 09 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      only display scrollbars if necessary · 46c38043
      Jody Goldberg authored
      2001-12-09  Jody Goldberg <jody@gnome.org>
      
      	* dialog-stf.glade  : only display scrollbars if necessary
      
      2001-12-07  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_make_cell_visible) : add a couple_pane argument.
      	* src/sheet-control-gui.c (scg_cursor_move_to) : merge into.
      	(scg_cursor_move) : here.
      	* src/sheet-control.c (sc_make_cell_visible) : remove the force
      	  argument.
      46c38043
  8. 07 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      new. (sheet_colrow_insert_finish) : new. (sheet_colrow_delete_finish) : · d5d25622
      Jody Goldberg authored
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_colrow_set_collapse) : new.
      	(sheet_colrow_insert_finish) : new.
      	(sheet_colrow_delete_finish) : new.
      	(sheet_{col,row}_{ins,del} : use them here, we shoulw now correctly
      	  handle collapse states and gutters when ins/del cols/row.
      
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_colrow_gutter) : change signature and toggle the
      	  resize flag if necessary.
      	(sheet_update_only_grid) : handle the resize and
      	  recompute_max_{col,row}_group flags.
      
      	* src/colrow.c (colrow_set_states) : use simplified
      	  sheet_colrow_gutter signature.
      
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-cmd-format.c (sheet_dialog_set_row_height) : const.
      
      	* src/workbook-object-toolbar.c : disable some code that is not ready
      	  for release.
      
      	* src/sheet.c (sheet_colrow_insdel_finish) : new.
      	(sheet_{col,row}_{ins,del} : use it here, and adjust the arguments to
      	  include optional state to fill in the new cols/rows.
      	(sheet_colrow_fit_gutter) : simplify.
      	(sheet_colrow_group_ungroup) : ditto.
      	(sheet_colrow_fetch) : new utility.
      	(sheet_colrow_get_info) : ditto.
      
      	* src/sheet-control-gui.c (scg_setup_group_buttons) : new.
      	(scg_resize) : use it here.
      	(sheet_control_gui_new) : handle the layout for the group buttons.
      
      	* src/print.c (compute_group) : const.
      
      	* src/item-grid.c (item_grid_draw) : remove pointless use of
      	  ColRowInfo::pos because I want to remove that eventually.
      	* src/print-cell.c (print_cell_range) : ditto.
      
      	* src/item-bar.c (item_bar_normal_font) : new.
      	(item_bar_indent) : new.
      	(item_bar_draw) : draw the top line as black, to match other buttons,
      	 fix its length.
      
      	* src/history.c (history_menu_locate_separator) : sync with manu
      	  changes.
      
      	* src/gnumeric.h
      	(ColRowStateGroup) : rename from ColRowSizeList.
      	(ColRowStateList) : rename from ColRowRLESizeList.
      
      	* src/gnumeric-canvas.c (gnm_canvas_find_col) : const.
      
      	* src/complete-sheet.c (complete_sheet_search_iteration) : const.
      
      	* src/commands.c (cmd_ins_del_colrow_undo) : pass the states into the
      	  sheet_ routines.  They will handle restoring them, and cleaning up the
      	  collapse states.
      	(cmd_ins_del_colrow_redo) : ditto.
      	(cmd_ins_del_colrow_destroy) : simplify.
      	(cmd_colrow_outline_change) : use get_info and avoid the need to check
      	  for NULL.
      	(cmd_group_undo) : simplify.
      	(cmd_group_redo) : ditto.
      	(cmd_group) : simplify.
      
      	* src/colrow.c (colrow_compute_pixels_from_pts) : move here from
      	  sheet.c
      	(colrow_compute_pts_from_pixels) : ditto.
      	(colrow_is_default) : new utility routine so that we can remove ::pos
      	  eventually.
      	(ColRowState) : new struct, will eventually replace the ColRowInfo.
      	(colrow_make_state) : new.
      	(colrow_get_states) : renamed from colrow_save_sizes and add support
      	  for outline levels and collapse state.
      	(colrow_set_sizes) : use the correct aliases for the lists.
      	(colrow_set_states) : renamed from colrow_restore_sizes and support
      	  the extra state info.
      	(colrow_restore_state_group) : rename colrow_restore_sizes_group.
      	(colrow_set_outline) : simplify.
      
      2001-12-05  Jody Goldberg <jody@gnome.org>
      
      	* src/colrow.c (colrow_state_group_destroy) : rename from
      	colrow_rle_size_list_destroy.
      
      	* src/cellspan.c (cell_calc_span) : const.
      
      2001-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_resize) : size the select all button.
      
      	* src/item-bar.c (item_bar_indent) : new utility.
      d5d25622
  9. 02 Dec, 2001 1 commit
  10. 27 Nov, 2001 2 commits
  11. 22 Nov, 2001 1 commit
  12. 17 Nov, 2001 2 commits
    • Jody Goldberg's avatar
      Use the stock formats. · 3a778489
      Jody Goldberg authored
      2001-11-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_set_date_time_redo) : Use the stock formats.
      
      	* src/item-cursor.c (cb_autofill_scroll) : tweak to try and keep one
      	  end visible when we switch dimensions.
      
      2001-11-03  Alex Barnes <alex.barnes@sympatico.ca>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=63160 (inverse autofill feature request)
      	* src/item-cursor.c
      	  (item_cursor_selection_event, item_cursor_autofill_event, cb_autofill_scroll) :
      	  allow inverse auto-fill, pass parameter to cmd_autofill to indicate inverse autofill
      
      	* commands.h (cmd_autofill) :
      	* commands.c (CmdAutofill, cmd_autofill) : extra parameter and struct
      	  member to support inverse autofill
      	  (cmd_autofill_redo) : flipped row, col parameters to sheet_autofill
      	  for inverse autofill
      
      	* sheet-autofill.c (sheet_autofill, sheet_autofill_dir) :
      	  modifications to support inverse autofill, changed variable pos to count
      	  since it isn't used inside the loop
      
      	* workbook-control-gui.c (cb_edit_fill_autofill) : added parameter in call
      	  to cmd_autofill for consistency
      3a778489
    • Jody Goldberg's avatar
      fix the return type. (wbcg_close_control) : don't close if we are being · f004191d
      Jody Goldberg authored
      2001-11-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_close_if_user_permits) : fix
      	  the return type.
      	(wbcg_close_control) : don't close if we are being reerence by another
      	  operation. Fix sense of comparision.
      	(wbcg_delete_event) : now that wbcg_close_control is fixed revert this
      	  to the correct meaning.
      
      	* src/io-context.c (io_context_destroy) : unref the control
      	(gnumeric_io_context_new) : ref the control so that it is not
      	  destroyed out from under us.
      f004191d
  13. 15 Nov, 2001 2 commits
    • Jody Goldberg's avatar
      Doh! Use the logical entry when testing so that gurus work even if the · d2f4c3f1
      Jody Goldberg authored
      2001-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_rangesel_possible) : Doh!
      	  Use the logical entry when testing so that gurus work even if the
      	  current cell does not contain a valid range.
      d2f4c3f1
    • 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.
      66176ca9
  14. 12 Nov, 2001 1 commit
  15. 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.
      d00c0689
  16. 10 Nov, 2001 1 commit
  17. 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
      	  gnumeric_expr_entry_parse.
      
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_toggled) : Use
      	  expr_tree_get_range.
      	(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
      	mask.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : filted invisble
      	  ranges.
      	(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
      	  such.
      
      	* 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.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=64023
      	* src/colrow.c (colrow_visibility) : visible collapse marks at lower
      	  levels should also be collapsed.
      
      	* src/analysis-tools.c (get_data) : handle blanks better.
      c1005d28
  18. 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
      	  scg_select_all.
      
      	* src/sheet-control-gui.c (scg_select_all) : Make public.
      6b808aa4
  19. 02 Nov, 2001 1 commit
  20. 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
              submenu.
      c0f1addc
  21. 31 Oct, 2001 3 commits
  22. 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.
      686720a1
    • 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
      	element.
      	(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.
      	(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.
      eb66eee8
    • 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.
      883f74f3
  23. 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
      	  interface.
      	(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.
      
      	s/eval_expr/expr_eval/
      
      	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
      	  places.
      	* 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.
      f0770524
  24. 18 Oct, 2001 1 commit
  25. 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.
      98fe8179
  26. 12 Oct, 2001 1 commit
  27. 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.
      e1ecaf93
    • 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
      	  close.
      	(wbcg_close_control) : keep it simple.
      8b980165
  28. 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.
      c97a44ec
  29. 08 Oct, 2001 1 commit
  30. 06 Oct, 2001 1 commit
    • 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
       	comments.
      
      	* 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.
      97046c8b