1. 16 May, 2001 2 commits
  2. 15 May, 2001 5 commits
    • Jon K Hellan's avatar
      Define menu state enums for print setup, search/replace and define names · a4a97170
      Jon K Hellan authored
      2001-05-15  Jon K Hellan  <hellan@acm.org>
      
       	* src/workbook-control.h: Define menu state enums for print setup,
       	search/replace and define names and a define for the lot.
      
       	* src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
       	Add menu_item_print_setup, menu_item_search_replace,
       	menu_item_define_name members.
      
       	* src/workbook-edit.c (workbook_edit_attach_guru,
       	workbook_edit_detach_guru): Update Update print setup,
       	search/replace and define names sensitivity according to whether
       	or not we have guru.
      
       	* src/workbook-control-gui.c (wbcg_menu_state_update): Ditto. This
       	is where it's actually implemented.
      
       	* src/dialogs/dialog-define-names.c (dialog_define_names):
       	Ensure only one guru per workbook.
      
       	* src/dialogs/dialog-search-replace.c (dialog_search_replace):
              Ditto.
      
       	* src/dialogs/dialog-printer-setup.c (dialog_printer_setup):
              Ditto.
      a4a97170
    • Almer S. Tigelaar's avatar
      Sync for adjustment to scrollbars. (horizontal_scroll_offset_changed): · f47b0c8c
      Almer S. Tigelaar authored
      2001-05-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/sheet-control-gui.c (vertical_scroll_offset_changed): Sync
      	for adjustment to scrollbars.
      	(horizontal_scroll_offset_changed): Idem.
      
      2001-05-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* gnumeric-hscrollbar.c (gnumeric_hscrollbar_button_press): Adjust
      	for new live toggling
      	(gnumeric_hscrollbar_init): Idem.
      	(gnumeric_hscrollbar_adjustment_value_changed): Idem.
      
      	* gnumeric-vscrollbar.c (gnumeric_vscrollbar_button_press): Adjust
      	for new live toggling
      	(gnumeric_vscrollbar_init): Idem.
      	(gnumeric_vscrollbar_adjustment_value_changed): Idem.
      f47b0c8c
    • Morten Welinder's avatar
      Commas. · 18dc687d
      Morten Welinder authored
      18dc687d
    • Jody Goldberg's avatar
      reinstate this and optionally support delayed scrolling. · 7b6a0564
      Jody Goldberg authored
      
      2001-05-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (vertical_scroll_offset_changed) : reinstate
      	  this and optionally support delayed scrolling.
      	(horizontal_scroll_offset_changed) : ditto.
      	(scg_construct) : reinstate.
      7b6a0564
    • Jody Goldberg's avatar
      new function. (expr_tree_boundingbox) : implement. · 65581810
      Jody Goldberg authored
      
      2001-05-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (cellref_boundingbox) : new function.
      	(expr_tree_boundingbox) : implement.
      
      2001-05-14  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (fmt_dialog_impl) : move the containment logic
      	  from here.
      	(setup_color_pickers) : to here.  Adjust the aligment and add a frame.
      65581810
  3. 14 May, 2001 5 commits
    • Almer S. Tigelaar's avatar
      Add shrink flag. (cb_autofit_height_no_shrink): Callback function for new · aca66eeb
      Almer S. Tigelaar authored
      2001-05-14  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/colrow.c (rows_height_update): Add shrink flag.
      	(cb_autofit_height_no_shrink): Callback function for new
      	autofit without shrinking functionality.
      
      	* src/commands.c (cmd_paste_cut_redo): Adjust for change
      	to rows_height_update.
      	(cmd_paste_copy_undo): Idem.
      	(cmd_autoformat_undo): Idem.
      	(cmd_format_undo): Idem.
      
      	* src/clipboard.c (clipboard_paste_region): Idem.
      
      	* src/sheet.c (sheet_clear_region): Idem.
      	(sheet_apply_style): Idem.
      aca66eeb
    • Almer S. Tigelaar's avatar
      New, contains what was previously in cmd_paste_copy_undo. · f1eb6bf6
      Almer S. Tigelaar authored
      2001-05-14  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_paste_copy_impl): New, contains
      	what was previously in cmd_paste_copy_undo.
      	(cmd_paste_copy_undo): Call upon cmd_paste_copy_impl.
      	(cmd_paste_copy_redo): Idem.
      	(cmd_paste_copy): Remove initialization of me->is_undo flag,
      	the flag has been burned.
      f1eb6bf6
    • Almer S. Tigelaar's avatar
      Bump GAL version requirement to 0.7.99.5 · 14e63ba1
      Almer S. Tigelaar authored
      2001-05-14  Almer S. Tigelaar  <almer@gnome.org>
      
      	* configure.in: Bump GAL version requirement to 0.7.99.5
      
        	* src/workbook-format-toolbar.c (cb_back_color_changed): Add
        	by_user flag handling and sync the combo's on all other views
       	if the color changes.
        	(cb_fore_color_changed): Idem.
        	(workbook_create_format_toolbar): Pass workbook view's to
        	color_group_fetch and sync the colors of the back and fore combo's
       	with the other views on creation.
      
      2001-05-14  Almer S. Tigelaar  <almer@gnome.org>
      
       	* dialog-cell-format.c
      	(cb_custom_back_selected): Remove, We use colorcombo's now.
       	(cb_auto_color_selected): Idem.
       	(cb_custom_color_selected): Idem.
       	(cb_back_preview_color): Adjust for new colorcombo usage.
       	(cb_pattern_preview_color): Idem.
       	(cb_font_preview_color): Idem.
       	(cb_border_color): Idem.
       	(setup_color_pickers): Change entirely for
       	colorcombo support.
       	(draw_pattern_preview): Remove old colorpicker
       	code and update for the new situation.
       	(fmt_dialog_impl): Update for new situation in
       	case there's no back.
      14e63ba1
    • Miguel de Icaza's avatar
      Removed unused scrollbar code. · cc28f5fb
      Miguel de Icaza authored
      
      
      2001-05-14  Miguel de Icaza  <miguel@ximian.com>
      
      	* Makefile.am (libwidgets_a_SOURCES): Removed unused scrollbar code.
      
      2001-05-14  Miguel de Icaza  <miguel@ximian.com>
      
      	* src/sheet-control-gui.c: Removed support routines that used the
      	Excel-like toolbar.  I got fed up with it.
      	(scg_construct): Use regular Gtk scrollbars.  Connect to value
      	changed to reflect the state of the scrollbar on the spreadsheet
      	inmediately instead of doing the broken Excel behaviour.
      	That is one feature I cloned that was totally idiotic.
      cc28f5fb
    • Jody Goldberg's avatar
      Some header cleanup. · 819e57c8
      Jody Goldberg authored
      819e57c8
  4. 13 May, 2001 6 commits
    • Almer S. Tigelaar's avatar
      Resolve warning. · 4d2cc3af
      Almer S. Tigelaar authored
      2001-05-13  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_error_splits_array):
      	Resolve warning.
      4d2cc3af
    • Almer S. Tigelaar's avatar
      Correct descriptor for autofitting. · ae86825c
      Almer S. Tigelaar authored
      2001-05-13  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_resize_colrow): Correct descriptor
      	for autofitting.
      ae86825c
    • Almer S. Tigelaar's avatar
      Use float. (colrow_restore_sizes): Use float. · ea41d091
      Almer S. Tigelaar authored
      2001-05-13  Almer S. Tigelaar  <almer@gnome.org>
      
       	* src/colrow.c (colrow_save_sizes): Use float.
       	(colrow_restore_sizes): Use float.
       	(colrow_restore_sizes_group): Walk the selections
       	in parallel with the saved_sizes. Now this will
       	actually work for variabele size multiple selections.
      
      	* src/commands.c (cmd_paste_copy_undo): Use the new
      	is_undo flag. We need this to properly set and restore
      	the row heights.
      	(cmd_paste_copy_redo): Set is_undo to false.
      	(cmd_paste_copy): Init is_undo flag.
      ea41d091
    • Jody Goldberg's avatar
      Use the new CLEAR_NORESPAN flag. It is premature to respan the content of · c9031b0a
      Jody Goldberg authored
      
      2001-05-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_paste_region) : Use the new CLEAR_NORESPAN
      	  flag.  It is premature to respan the content of surrounding cells.
      	  That should only happen AFTER the new content goes in.
      
      	* src/sheet.c (sheet_cell_calc_span) : check for spans into this cell
      	  even if this cell is a merged cell.
      	(sheet_clear_region) : Make the respan conditional on a new flag.
      
      	* src/workbook-control-gui.c (cb_change_zoom) : Always update the zoom
      	  combo in case the entry does not match what was used.
      c9031b0a
    • Jody Goldberg's avatar
      only print warning once. (cmd_clear_undo) : There is no undo for pasting · 88b2f76c
      Jody Goldberg authored
      
      2001-05-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_clear_selection) : only print warning once.
      	(cmd_clear_undo) : There is no undo for pasting comments.
      	(cmd_paste_copy) : doh! We can not print the name of the target range,
      	  it is out of bounds!
      	(cmd_paste_cut) : ditto.
      88b2f76c
    • Jody Goldberg's avatar
      only print warning once. (cmd_clear_undo) : There is no undo for pasting · bea83ed2
      Jody Goldberg authored
      
      2001-05-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_clear_selection) : only print warning once.
      	(cmd_clear_undo) : There is no undo for pasting comments.
      bea83ed2
  5. 12 May, 2001 4 commits
    • Jody Goldberg's avatar
      If everything is hidden we can get into odd states. · bfddce7f
      Jody Goldberg authored
      
      2001-05-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : If everything is hidden we can
      	  get into odd states.
      bfddce7f
    • Jody Goldberg's avatar
      New peek code generated some spurious errors when concatenating blanks. · 85e92e53
      Jody Goldberg authored
      
      2001-05-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (eval_expr_real) : New peek code generated some spurious
      	  errors when concatenating blanks.
      85e92e53
    • Jody Goldberg's avatar
      From Juan Pablo Mendoza <pablo_juan@yahoo.com> · 17d95497
      Jody Goldberg authored
      
      2001-05-12  Jody Goldberg <jgoldberg@home.com>
      	From Juan Pablo Mendoza <pablo_juan@yahoo.com>
      
      	* src/workbook-control-gui.c (show_gui) : remove -64 limit.
      17d95497
    • Jody Goldberg's avatar
      add sheet_merge. (xml_sax_start_element) : add sheet_merge, and · eb7517d7
      Jody Goldberg authored
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_characters) : add sheet_merge.
      	(xml_sax_start_element) : add sheet_merge, and sheet_merged_regions.
      	(xml_sax_end_element) : call xml_sax_parse_merge.
      	(xml_sax_parse_merge) : new function.
      	(xml_sax_parse_sheet_end) : new function to set the zoom after the
      	  content.
      	(xml_sax_parse_sheet_start) : renamed from xml_sax_parse_sheet.
      	(xml_parse_sheet_zoom) : just store the zoom don't set till later.
      	(xml_sax_cols_rows) : new function.
      
      2001-05-10  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_parse_attr_bool) : new function.
      	(xmlSaxParseSheet) : use it here.
      	(xml_sax_parse_wb) : fix inverted cmp.
      	(xmlSaxParseSheet) : no sheet yet here.  Just store the prefs for
      	  later.
      	(xmlSaxParseSheet) : use any saved prefs.
      	(xml_sax_file_open) : typo.
      
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_real_time_auto_expr_recalc) : new
      	  function.
      
      	* src/sheet.c (auto_expr_timer_clear) : new function.
      	(sheet_update) : toggle the selection_content_changed flag here and
      	  use a timer rather than an idle handler.
      
      	* src/workbook-edit.c (wbcg_edit_ctor) : Init the sensitivity timer.
      
      	* src/workbook-control-gui.c (workbook_setup_edit_area) : Use
      	  wbcg_edit_ctor.
      	(wbcg_destroy) : use wbcg_edit_dtor.
      
      	* src/main.c (gnumeric_main) : setlocale (LC_ALL, NULL) to force
      	  initialization of LC_* from the environment.
      eb7517d7
  6. 11 May, 2001 3 commits
    • Jon Kåre Hellan's avatar
      src/widgets/gnumeric-expr-entry.h · 80d14003
      Jon Kåre Hellan authored
      80d14003
    • Jon K Hellan's avatar
      Improve handling of merged cells. Freeze expr entry display until final · 46049cb0
      Jon K Hellan authored
      2001-05-11  Jon K Hellan  <hellan@acm.org>
      
       	* src/sheet-control-gui.c (scg_rangesel_changed): Improve handling
       	of merged cells. Freeze expr entry display until final range is found.
      
      2001-05-11  Jon K Hellan  <hellan@acm.org>
      
      	* src/widgets/gnumeric-expr-entry.[ch]
      	(gnumeric_expr_entry_freeze, gnumeric_expr_entry_thaw ): New
      	functions, freeze/thay display updating.
      
      	* gnumeric-expr-entry.c (struct _GnumericExprEntry): Add
      	freeze_count and pos members to support feeze/thaw.
      	(gnumeric_expr_entry_set_rangesel_from_text): We don't support
      	this method while frozen. Trap it.
      	(make_display_range): Simplify signature. Parameters are now a
      	target range and the expr entry.
      	(make_rangesel_text): Simplify signature. expr entry is now the
      	only paramater. Take merged cells into account, displaying only
      	the corner cell if range is a merged cell.
      	(update_rangesel_text): Take pos parameter from expr_entry state,
      	so that it can be called from gnumeric_expr_entry_thaw.
      	(gnumeric_expr_entry_set_rangesel_from_range): Don't change text
      	while frozen.
      	(gnumeric_expr_entry_get_rangesel): Use new signature of
      	make_display_range.
      	(gnumeric_expr_entry_toggle_absolute): Send pos to
      	update_rangesel_text via expr_entry state.
      46049cb0
    • Jody Goldberg's avatar
      Clear the combos as well as the menus. · 256f9a97
      Jody Goldberg authored
      
      2001-05-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_sheet_delete) : Clear the combos as well as
      	  the menus.
      256f9a97
  7. 10 May, 2001 8 commits
    • Jody Goldberg's avatar
      intelligent naming. · 22b32c5d
      Jody Goldberg authored
      
      2001-05-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (wb_view_selection_desc) : intelligent naming.
      22b32c5d
    • Morten Welinder's avatar
      Complain if binary is more than 180 days old. · d4c516f6
      Morten Welinder authored
      2001-05-10  Morten Welinder  <terra@diku.dk>
      
      	* src/main.c (gnumeric_main): Complain if binary is more than 180
       	days old.
      d4c516f6
    • Almer S. Tigelaar's avatar
      include dialogs.h to supress warning. · 7d048809
      Almer S. Tigelaar authored
      2001-05-10  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-advanced-filter.c : include dialogs.h
      	to supress warning.
      
      	* dialog-cell-sort.c (string_pos_in_list): Cast pointer
      	from untyped to char *.
      
      	* dialog-function-wizard.c (formula_guru_set_expr): Fix
      	signedness by changing variable decl and some casts.
      	(cb_formula_guru_entry_focus_in): Fix signedness by casting,
      	we don't want to pollute our data structures with unsigned
      	integers.
      	(formula_guru_init): Fix signedness by changing decl.
      
      	* dialog-stf-fixed-page.c (fixed_page_autodiscover):
      	Fix signedness by changing decl.
      
      	* dialog-stf-preview.c (stf_preview_get_table_pixel_width):
      	Fix signedness by changing decl.
      	(stf_preview_colformats_clear): Idem.
      	(stf_preview_get_column_at_x): Idem.
      	(stf_preview_get_column_border_at_x): Idem.
      	(stf_preview_get_char_at_x): Idem.
      
      	* dialog-summary.c (dialog_summary_update): Fix signedness by
      	cast.
      7d048809
    • Jon K Hellan's avatar
      Fix include file typo. · 134cf3fc
      Jon K Hellan authored
      2001-05-10  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-search-replace.c: Fix include file typo.
      134cf3fc
    • Jon K Hellan's avatar
      Rename hbox holding range field from hbox2 to range-hbox. Remove range · 80075c62
      Jon K Hellan authored
      2001-05-09  Jon K Hellan  <hellan@acm.org>
      
      	* search-replace.glade: Rename hbox holding range field from hbox2
      	to range-hbox. Remove range combo, let C code add it on the fly.
      
      	* dialog-search-replace.c (ok_clicked): Get text from widget
      	stored in context.
      	(dialog_destroy): Detach guru.
      	(set_focus): New function. Redirect workbook input when an
      	ExprEntry receives focus. Reset when another type of widget
      	receives focus.
      	(range_focused): New function. Set "range" radio button active
      	when focus enters range field.
      	(non_model_dialog): Use gnumeric_keyed_dialog.
      	(dialog_search_replace): Raise existing s+r dialog if there is
      	one.  Add ExprEntry widget on the fly to hold range. Add focus
      	handlers set_focus and range_focused. Attach scg to ExprEntry and
      	dialog to workbook as guru.
      80075c62
    • Almer S. Tigelaar's avatar
      Restore row heights after undo. (cmd_paste_cut_redo): Backup row heights. · 869aae37
      Almer S. Tigelaar authored
      2001-05-10  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_paste_cut_undo): Restore
      	row heights after undo.
      	(cmd_paste_cut_redo): Backup row heights.
      	(cmd_paste_cut_destroy): Destroy saved sizes.
      	(cmd_paste_cut): Initialize saved sizes.
      	(cmd_paste_copy_undo): Save and restore row heights.
      	(cmd_paste_copy_destroy): Destroy saved sizes.
      	(cmd_paste_copy): Initialize saved sizes.
      869aae37
    • Jody Goldberg's avatar
      typo. Use the child not the parent node. (xml_write_selection_info) : Save · 35bb5752
      Jody Goldberg authored
      
      2001-05-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_selection_info) : typo.  Use the child not
      	  the parent node.
      	(xml_write_selection_info) : Save the real position.
      
      	* src/sheet.c (sheet_new_scg) : set cursor bound, not the details.
      	(sheet_cursor_set) : add some sanity checks.
      	(sheet_clone_selection) : use the real edit_pos.
      35bb5752
    • Jody Goldberg's avatar
      typo. · d50fba6d
      Jody Goldberg authored
      
      2001-05-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (cb_move_cursor) : typo.
      
      	* src/cmd-edit.c (cmd_shift_cols) : correct bound if shifting right.
      	(cmd_shift_rows) : correct bound if shifting down.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : If the
      	  first == last then it is likely we are uninitialized and we can
      	  start the search from the first the target may be contained in the
      	  current region without scrolling.
      
      	* src/sheet-control-gui.c (scg_construct) : resize is now called when
      	  attached and the zoom scg_set_zoom_factor is set.
      	(scg_set_zoom_factor) : resize.
      
      	* src/workbook-control.c (workbook_control_init_state) : cut-n-paste-o.
      d50fba6d
  8. 09 May, 2001 3 commits
    • Jody Goldberg's avatar
      Round 3 of the great rangesel cursor cleanup · 79f8f44b
      Jody Goldberg authored
      Still some bugs but things are much closer
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_set_internal) : split this out into.
      	* src/sheet-merge.c (sheet_merge_find_container) : here.
      	* src/sheet-control-gui.c (scg_rangesel_changed) : and here.
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_selection_info) : Use sheet_set_edit_pos.
      
      	* src/selection.c (sheet_selection_extend) : merge into
      	  scg_cursor_extend.
      
      	* src/sheet-control-gui.c (scg_cursor_move_to) : rename from
      	  scg_cursor_move.
      	(scg_cursor_extend) : merge scg_cursor_extend_[hv]
      	(scg_cursor_move) : merge scg_cursor_move_[hv]
      	(scg_rangesel_extend) : merge scg_rangesel_extend_[hv]
      	(scg_rangesel_move) : merge scg_rangesel_move_[hv]
      	(scg_rangesel_start) : cleanup.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : fix handling
      	  of Home. Simplify the function pointers for move vs extend by
      	  merging horizontal and vertical versions.
      79f8f44b
    • Jody Goldberg's avatar
      missed commit · 08755640
      Jody Goldberg authored
      08755640
    • Jody Goldberg's avatar
      s/scg_stop_range_selection/scg_rangesel_stop/ · 534405d6
      Jody Goldberg authored
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	s/scg_stop_range_selection/scg_rangesel_stop/
      
      	s/scg_set_cursor_bounds/scg_cursor_bound/
      	s/scg_cursor_vertical_extend/scg_cursor_extend_v/
      	s/scg_cursor_horizontal_extend/scg_cursor_extend_h/
      	s/scg_cursor_vertical_move/scg_cursor_move_v/
      	s/scg_cursor_horizontal_move/scg_cursor_move_h/
      	s/scg_cursor_vertical_extend/scg_rangesel_extend_v/
      	s/scg_cursor_horizontal_extend/scg_rangesel_extend_h/
      	s/scg_cursor_vertical_move/scg_rangesel_move_v/
      	s/scg_cursor_horizontal_move/scg_rangesel_move_h/
      
      	* src/sheet-control-gui.[ch] : Move the rangesel info from
      	  gnumeric-sheet into here in preparation for panes.
      	(scg_rangesel_extend_v) : merge content from
      	  gnumeric-sheet equivalent.
      	(scg_rangesel_extend_h) : ditto.
      	(scg_rangesel_move_v) : ditto.
      	(scg_rangesel_move_h) : ditto.
      	(scg_rangesel_start) : ditto.
      	(scg_rangesel_stop) : ditto.
      	(start_range_selection) : moved from gnumeric-sheet.
      	(scg_rangesel_possible) : renamed from
      	    gnumeric_sheet_can_select_expr_range.
      	(scg_rangesel_changed) : renamed from scg_range_selection_changed
      	  and make this the point that rationalizes the cursor points.
      	(scg_cursor_bound) : renamed from scg_set_cursor_bounds
      	  and make this the point that raionalizes the cursor points.
      	(scg_ant) : changes to item_cursor_set_bounds.
      	(scg_colrow_select) : rangesel support is now in scg.
      	(scg_select_all) : ditto.
      
      	* src/workbook-edit.c : cleanup includes.
      
      	* src/item-grid.c (item_grid_event) : rangesel support is now in scg.
      	(item_grid_button_1) : ditto.
      
      	* src/item-cursor.h : privatize the structure and class.
      
      	* src/item-cursor.c (cb_autofill_scroll) : changes to
      	  item_cursor_set_bounds_visibly signature.
      	(cb_move_cursor) : ditto.
      	(item_cursor_set_bounds_visibly) : changes to item_cursor_set_bounds
      	  signature.
      	(item_cursor_selection_event) : ditto.
      	(item_cursor_set_bounds) : simplify.
      
      	* src/item-bar.c (is_pointer_on_division) : rangesel support is now in scg.
      
      	* src/gnumeric-sheet.[ch] : move the rangesel logic up into scg.
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	From Juan Pablo Mendoza <pablo_juan@yahoo.com>
      	* src/sheet.c: (sheet_clone_colrow_info): Clone col and row
      	  default size.
      534405d6
  9. 08 May, 2001 3 commits
    • Almer S. Tigelaar's avatar
      Restore default from list of savedsizes. (colrow_set_sizes): When changing · c4f2b99a
      Almer S. Tigelaar authored
      2001-05-08  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/colrow.c (colrow_restore_sizes_group): Restore
      	default from list of savedsizes.
      	(colrow_set_sizes): When changing default save as
      	list of savedsizes.
      c4f2b99a
    • Almer S. Tigelaar's avatar
      New, combine all the enabling/disabling of menu items here including the · 86c531df
      Almer S. Tigelaar authored
      2001-05-08  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update): New, combine
      	all the enabling/disabling of menu items here including the newly
      	added show/hide menu items.
      	(wbcg_menu_state_enable_insert): Remove.
      	(wbcg_menu_state_paste_special): Remove.
      	(workbook_control_gui_ctor_class): Init menu_state_update callback
      	and remove paste_special and enable_insert initializations.
      	(workbook_control_gui_init): Initialize show/hide menu items.
      
      	* src/workbook-control-gui-priv.h: Add show/hide detail menu items
      	and tidy structure lay-out.
      
      	* src/workbook-control-priv.h: Remove menu_state_enable_insert
      	and menu_state_paste_special callbacks and add menu_state_update
      	callback.
      
      	* src/workbook-control.[ch]: Add wb_menu_state_update and
      	remove wb_menu_state_paste_special and wb_menu_state_enable_insert.
      	(wb_control_sheet_add): call wb_menu_state_update, Remove
      	call to menu_state_paste_special.
      
      	* src/sheet-private.h: Add enable_showhide_detail.
      
      	* src/sheet.c (sheet_new): Initialize menu state booleans.
      	(sheet_menu_state_enable_insert): Use wb_control_menu_state_update.
      
      	* src/workbook-view.c (wb_view_menus_update): Idem and
      	remove call to wb_control_menu_state_paste_special.
      
      	* src/application.c (application_clipboard_clear): Idem.
      	(application_clipboard_copy): Idem.
      	(application_clipboard_cut): Idem.
      
      	* src/selection.c (sheet_selection_set_internal): Add comment for
      	show/hide detail enabling/disabling, something we can't do just yet.
      86c531df
    • Jody Goldberg's avatar
      Add PASTE_IGNORE_COMMENTS. · 4252b602
      Jody Goldberg authored
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_paste_region) : Add PASTE_IGNORE_COMMENTS.
      
      	* src/commands.c (cmd_merge_cells_undo) : Use it here.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-merge.c (sheet_merge_remove) : adjust comments.
      	(sheet_merge_add) : ditto.
      
      	* src/sheet-object-cell-comment.c (comment_get_points) : handle merged
      	  cells.
      
      	* src/commands.c (cmd_unmerge_cells) : don't queue an undo object if
      	  there is nothing to do.
      	(cmd_merge_cells) : filter existing ranges too.
      4252b602
  10. 07 May, 2001 1 commit
    • Jody Goldberg's avatar
      More warning suppression. · 2469741e
      Jody Goldberg authored
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : suppress warnings.
      	(ms_escher_read_ClientTextbox) : no side effects in precondition.
      
      	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : ignore events while editing.
      
      	* src/functions/fn-string.c (gnumeric_value) : s/free/g_free/
      	* src/parse-util.c (parse_cell_name_list) : ditto.
      
      	* src/parser.y (gnumeric_expr_parser) : reorganize slightly to improve
      	  readability.
      
      	* src/sheet.c (sheet_range_contains_region) : doh!.  forgot to invert
      	  logic when I renamed the function.
      2469741e