1. 13 Nov, 2005 1 commit
    • Jean Bréfort's avatar
      use localized decimal separator [#80139]. · 8c3616bd
      Jean Bréfort authored
      2005-11-13  Jean Brefort  <jean.brefort@normalesup.org>
      
      	* src/gnumeric-canvas.c: (gnm_canvas_key_press),
      	(gnm_canvas_commit_cb): use localized decimal separator [#80139].
      	* src/gnumeric-canvas.h:
      	* src/widgets/gnumeric-expr-entry.c: (cb_gee_key_press_event): ditto.
      8c3616bd
  2. 18 Sep, 2005 1 commit
  3. 16 Sep, 2005 1 commit
    • Jody Goldberg's avatar
      new. (cb_wbcg_drag_motion) : check for object drags here. · e166a70e
      Jody Goldberg authored
      
      2005-09-15  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_is_local_drag) : new.
      	(cb_wbcg_drag_motion) : check for object drags here.
      	(cb_wbcg_drag_leave) : here.
      	(cb_wbcg_drag_data_received) : and here.
      	(wbcg_set_toplevel) : include the local object targets.
      
      	* src/gnumeric-canvas.c (cb_obj_autoscroll) : new.
      	(gnm_canvas_object_autoscroll) : new.  A kludge to get sheet objects
      	  to autoscroll again.
      e166a70e
  4. 24 Jul, 2005 1 commit
    • Jody Goldberg's avatar
      Fix snap to grid for RTL mode. handle RTL and scaling here. (snap_to_grid) · fc71911e
      Jody Goldberg authored
      
      
      2005-07-23  Jody Goldberg <jody@gnome.org>
      
      	Fix snap to grid for RTL mode.
      	* src/sheet-control-gui.c (snap_pos_to_grid) : handle RTL and scaling
      	  here.
      	(snap_to_grid) : merge into.
      	(apply_move) : here.
      
      	Fix object motion in RTL mode.
      	* src/gnumeric-canvas.c (gnm_canvas_window_to_coord) : new.
      	* src/gnumeric-pane.c (cb_pane_drag_data_received) : use it here.
      	(cb_gnm_pane_drag_motion) : and here.
      fc71911e
  5. 21 Jan, 2005 1 commit
    • Jody Goldberg's avatar
      Dump in the RTL code that has been simmering waiting for a branch · 8a4efb4d
      Jody Goldberg authored
      
      Dump in the RTL code that has been simmering waiting for a branch
      
      2005-01-20  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_sheet_write) : store the rtl flag
      	(xml_sheet_read) : read the rtl flag
      
      	* src/workbook-control-gui.c (cb_notebook_switch_page) : set the
      	  direction on page change
      	(show_gui) : setting it here too.
      	(set_dir) : new.
      	(wbcg_set_direction) : new
      
      	* src/wbcg-actions.c (cb_direction) : A quick and simple direction
      	  setting action.  We need a better icon, and improved state.
      
      	* src/style-border.c (style_border_hmargins) : lots of finicky
      	  -1*offset style changes for rtl.
      
      	* src/sheet.c (gnm_sheet_class_init) : Add some as yet unused get/set
      	  property routines.
      	(gnm_sheet_init) : new to init the direction based on the locale.  Use
      	  a gtk routine for now.  There's a bug open to have that moved to
      	  glib.
      	(sheet_set_direction) : new.
      
      	* src/sheet-view.c (sv_init_sc) : init the direction.
      	(sv_direction_changed) : new.
      
      	* src/sheet-object-cell-comment.c (comment_view_set_bounds) : fold the
      	  old comment_get_points into here and invert things in RTL mode.
      
      	* src/sheet-control-gui.c (scg_redraw_headers) : col coordinates are
      	  negative for rtl mode.
      	(scg_resize) : rework for rtl
      	(scg_set_zoom_factor) : ditto.
      	(bar_set_left_col) : ditto.
      	(bar_set_top_row) : ditto.
      	(gnm_canvas_set_top_left) : ditto.
      	(calc_obj_place) : ditto.  Clarify which coordinate system we're in.
      	(scg_direction_changed) : new virtual.
      	(scg_scale_changed) :  renamed from scg_set_zoom_factor.
      
      	* src/print.c (print_sheet_objects) : handle rtl. (needs testing)
      	(print_page_cells) : simple rtl handling
      
      	* src/mstyle.c : Add a text_dir element that defaults to CONTEXT right
      	  now.  This is unused until it is better understood, but it is read
      	  and written from xls.  We need to add xml support.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : handle rtl
      	(item_grid_draw) : ditto.
      	* src/print-cell.c (print_merged_range) : ditto
      	(print_cell_range) : ditto.
      
      	* src/item-edit.c (ie_layout) : swap directions in RTL mode.  We still
      	  need more work here to honour the alignment better while editing.
      
      	* src/item-cursor.c
      	(item_cursor_request_redraw) : delete, we can use foo_canvas_item_request_redraw
      	(item_cursor_update) : handle rtl
      	(item_cursor_draw) : ditto
      	(item_cursor_bound_set) : add some safety to avoid drawing before the
      	  position is set, or if it is set to something invalid
      
      	* src/item-bar.c (item_bar_draw) : major rework to handle RTL mode.
      	  - swap the the direction for the cells and the outlines
      	(is_pointer_on_division) : handle rtl and clarify which coordinate
      	  system the various inputs and results use.
      	(ib_set_cursor) : simplify
      	(outline_button_press) : RTL flips some coordinates.
      	(item_bar_event) : ditto
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : doh! handle
      	  zoom
      
      	* src/gnumeric-pane.c (gnumeric_pane_header_init) : handle rtl
      	(gnm_pane_init) : ditto.
      	(gnm_pane_colrow_resize_start) : ditto.
      	(gnm_pane_colrow_resize_move) : ditto.
      	(cb_slide_handler) : ditto.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Swap the
      	  direction of arrow keys in rtl mode.
      	(gnm_canvas_key_mode_object) : ditto
      	(gnm_canvas_size_allocate) : always recompute visible range.  In RTL
      	  mode we want to have things aligned on the left edge whose coord
      	  moves.
      	(gnm_canvas_find_col) : handle the rtl negation of world coords
      	(gnm_canvas_redraw_range) : ditto
      	(gcanvas_sliding_callback) : ditto.
      	(gnm_canvas_handle_motion) : ditto.
      	  NOTE : work around a bug in gtk's use of X.  When dragging past the
      	  right edge of the sheet in rtl mode we are operating at the edge of
      	  a 32k wide window and the event coords get larger than can be held
      	  in a signed short.  As a result we get world coords of -65535 or so.
      	  KLUDGE KLUDGE KLUDGE
      	    with our current limit of 256 columns it is unlikely that we'll
      	    hit -65535 (at appropriate zoom) as a valid coord (it would
      	    require all cols to be 256 pixels wide.  it is not impossible, but
      	    at least unlikely.  So we put in a kludge here to catch the screw
      	    up and remap it.   This is not pretty,  at large zooms this is not
      	    far fetched.
      	(gnm_canvas_compute_visible_region) : things are more complicated for
      	  rtl mode.
      
      	* src/commands.c : Add undo for the rtl vs ltr mode
      
      	* src/cellspan.c (cell_calc_span) : in rtl mode swap the meaning of
      	  horizontal alignment.
      
      	* src/GNOME_Gnumeric-gtk.xml.in : Add the rtl toggle action
      
      2004-12-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
      	  setting (we could move it to SheetView)
      	(build_xf_data) : store the text dir.
      	(excel_write_XF) : write it.
      
      	* ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
      	(excel_read_XF) : read the text dir.
      	(excel_get_style_from_xf) : store the text dir.
      
      2005-01-20  Jody Goldberg <jody@gnome.org>
      
      	* dialog-sheet-order.c : Support a toggle for rtl
      8a4efb4d
  6. 29 Sep, 2004 1 commit
    • Jody Goldberg's avatar
      new. uses the handy dandy unrealized signal on a SheetObject. With code · a5513aa7
      Jody Goldberg authored
      
      2004-09-29  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_set_current_object) : new. uses the
      	  handy dandy unrealized signal on a SheetObject.  With code split from
      	(scg_object_stop_editing) : here.
      	(scg_mode_edit_object) : and here.
      	* src/gnumeric-pane.c (cb_control_point_event) : so that we could use
      	  it here.
      
      2004-09-28  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_mode_edit_object) :  fall back to edit
      	  mode if the object is unrealized.
      
      	* src/sheet-object.c (sheet_object_clear_sheet.) : merge some of the
      	  nice features from finalize
      	(sheet_object_finalize) : use sheet_object_clear_sheet.
      	* src/sheet.c (sheet_destroy) : ditto.
      
      	* src/gnumeric-pane.c (cb_control_point_event) : Make the copy
      	  operation undo-able.
      a5513aa7
  7. 23 Jul, 2004 1 commit
    • Jody Goldberg's avatar
      change 'accept' into an enum and handle arrays and range fills here. · b1b8c29f
      Jody Goldberg authored
      
      2004-07-22  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-edit.c (wbcg_edit_finish) : change 'accept' into an
      	  enum and handle arrays and range fills here.
      
      	* src/parser.y : Add distinct productions for array elements with
      	  {1\2\3;4\5\6} vs {1,2,3;4,5,6}
      	(build_array) : add some error messages empty and asymetric arrays.
      b1b8c29f
  8. 09 Oct, 2003 1 commit
    • Jody Goldberg's avatar
      Release 1.2.1 · b762bb9d
      Jody Goldberg authored
      
      2003-10-08  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.2.1
      b762bb9d
  9. 02 May, 2003 1 commit
  10. 06 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      enable excel97 · 558cefd3
      Jody Goldberg authored
      
      2002-11-05  Jody Goldberg <jody@gnome.org>
      
      	* plugin.xml.in : enable excel97
      
      	* ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
      	(excel_write_state_free) : clean up SST here.
      	(excel_write_state_new) : shared routine for biff7 and biff8.
      	(excel_utf8_has_multibyte) : quicky utility.
      	(excel_write_SST) : initial basic implementation still needs unicode
      	  support.
      	(excel_write_BOF) : renamed from biff_bof_write and sync versions with
      	  XL 2k.
      
      2002-11-04  Jody Goldberg <jody@gnome.org>
      
      	* boot.c (excel_save) : prep for biff8 save, and double stream files.
      
      	* ms-excel-read.c (excel_read_XF) : fix rotation.
      	(excel_read_SST) : improve debug info.
      
      	* ms-excel-write.c (write_xf_record) : write the BIFF8 support.
      	(rotation_to_excel) : new.
      
      
      2002-11-06  Jody Goldberg <jody@gnome.org>
      
      	* src/item-*, src/*canvas* : convert to foocanvas
      
      	* src/application.c (gnumeric_application_setup_icons) : Use new
      	  scaled pngs for formula guru.
      	* src/pixmaps/Makefile.am : ditto.
      
      	* src/plugin.c (plugin_info_read) : add 'require_explicit_enabling' flag
      	  so that we don't auto enable specialized plugins.
      
      	* src/plugin-service.c (input_file_save_info_read) : delete.
      	(plugin_service_file_opener_read_xml) : don't call it here.
      	(gnum_plugin_file_opener_open) : And don't try to use it here.
      	  It is not useful to hard code the saver if the importer can handle
      	  multiple versions of the format.  Only the import process will know
      	  enough to be able to select the appropriate exporter.
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : simplify.
      	* src/auto-format.c : tidy up includes.
      558cefd3
  11. 04 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      ahhh, I understand now. names with expr_len == 0 represent the · 1c9758c2
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
      	  names with expr_len == 0 represent the placeholders used for unknown
      	  names.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* dialog-define-names.c : port to TreeView.
      
      	* dialog-analysis-tools.c : Use the control from the state rather than
      	  the tool.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : use the new
      	  undo support and handle assigning to a placeholder.
      
      	* src/gnumeric-canvas.h : Clean up the naming convention to use
      	  GnmCanvas in all locations.
      
      	* src/expr-name.c (expr_name_add) : its ok if the expr is NULL create
      	  a placeholder.
      	(expr_name_is_placeholder) : new.
      
      	* src/commands.c (CmdChangeSummary) : this has no business being
      	  control specific.
      	(CmdPrintSetup) : ditto.
      	(CmdDefineName) : new.
      
      	* src/command-context.c (gnumeric_error_calc) : new.
      	(gnm_error_calc) : new.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/format.c (format_get_currency) : convert locale's currency
      	  symbol to utf8.
      	(gnumeric_setlocale) : clear the cache currency symbol.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c (gnm_expr_is_err) : new util.
      1c9758c2
  12. 30 Sep, 2002 1 commit
  13. 10 Sep, 2002 1 commit
    • Morten Welinder's avatar
      Avoid trailing comma in enum. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. · 6965580a
      Morten Welinder authored
      2002-09-10  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c: Avoid trailing comma in enum.
      	* src/gnumeric-canvas.h (gnm_canvas_handle_motion): Ditto.
      	* src/item-cursor.c: Ditto.
      	* src/item-edit.c: Ditto.
      	* src/item-grid.c: Ditto.
      	* src/preview-grid.c: Ditto.
      	* src/print.c: Ditto.
      	* src/sheet-object-graphic.c: Ditto.
      	* src/sheet.h (enum SheetClearFlags): Ditto.
      
      	* src/dialogs/dialog-search-replace.c (set_checked): Fix 92911.
      6965580a
  14. 21 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      take a cellpos * · 89274950
      Jody Goldberg authored
      
      2002-06-21  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (parse_cell_name) : take a cellpos *
      
      	* src/func-builtin.c (gnumeric_selection) : dummy out for now until a
      	  different approach is available.
      
      	* src/commands.c : convert to sheetview.
      	  s/parent/cmd/ to make things more readable
      	(cmd_selection_clear) : rename from cmd_clear_selection so that we can
      	  start to group the operations that currently operate on selections.
      	(cmd_selection_format) : rename from cmd_format.
      	(cmd_selection_colrow_hide) : rename from cmd_colrow_hide_selection.
      	(cmd_selection_outline_change) : rename from cmd_colrow_outline_change.
      	(cmd_selection_group) : rename from cmd_group.
      	(cmd_selection_autoformat) : rename from cmd_autoformat.
      	(cmd_colrow_hide_correct_selection) : take a control.
      
      	* src/colrow.c (cb_colrow_visibility) : selections are now part of
      	  sheetview.
      	(colrow_get_visiblity_toggle) : ditto.
      
      	* src/cmd-edit.c (cmd_select_cur_row) : convert to sheetview.
      	(cmd_select_cur_col) : ditto.
      	(cmd_select_cur_array) : ditto.
      	(cmd_select_cur_depends) : ditto.
      	(cmd_select_cur_inputs) : ditto.
      	(cmd_paste_to_selection) : ditto.
      
      	* src/bonobo-io.c (deserialize_wb_from_xml_stream) : pass the wbv into
      	  the context directly.
      	(gnumeric_bonobo_write_workbook) : ditto.
      	(gnumeric_bonobo_read_workbook) : ditto.
      
      	* src/consolidate.c (redraw_respan_and_select) : set selection only
      	  for the calling view.
      	(row_consolidate) : pass in the view.
      	(col_consolidate) : ditto.
      	(colrow_consolidate) : ditto.
      	(consolidate_apply) : Take a control so that we can extract the view.
      
      	* src/commands.c (cmd_consolidate_redo) : Pass the control.
      
      2002-06-20  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-view.c (sheet_view_init) : init the selection.
      
      	* src/workbook-view.c (workbook_view_new) : init current_sheet_view.
      	(wb_view_format_feedback) : operate on the sheetview.
      	(wb_view_selection_desc) : ditto.
      	(wb_view_edit_line_set) : ditto.
      
      2002-06-20  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_sheet_add) : Use sheet_get_view.
      	(wb_view_sheet_focus) : ditto.
      	* src/xml-io.c (xml_write_selection_info) : ditto.
      	(xml_read_selection_info): ditto.
      	(xml_workbook_write) : now that the view is in the context don't
      	  bother passing it.
      	(xml_write_wbv_attributes) : ditto.
      	(xml_read_wbv_attributes) : ditto.
      89274950
  15. 25 Apr, 2002 1 commit
    • Andreas J. Guelzow's avatar
      add sheet_object_group add selector to cmd_object_raise ditto use · af4419bb
      Andreas J. Guelzow authored
      2002-04-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gnumeric-canvas.[ch] : add sheet_object_group
      	* src/commands.c : add selector to cmd_object_raise
      	* src/commands.h : ditto
      	* src/sheet-object-container.c : use sheet_object_group
      	* src/sheet-object-graphic.c : ditto
      	* src/sheet-object-image.c : ditto
      	* src/sheet-object-item.c : ditto
      	* src/sheet-object.c (cb_sheet_object_raise_to_top) : new
      	(cb_sheet_object_lower_to_bottom) : new
      	(sheet_object_populate_menu) : add raise to top/lower to bottom
      	  menu items
      af4419bb
  16. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
      	  canvas bug is fixed.
      
      	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
      	(cb_vscrollbar_adjust_bounds) : new.
      
      	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
      	(gnumeric_init_help_button) : new.
      
      	* src/gnumeric-canvas.h : Move declaration of
      	  GnumericCanvasSlideHandler here.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
      	  not the GnumericExprEntry wrapper.
      	(gnm_canvas_key_mode_sheet) : ditto.
      
      	* src/formats.c (cell_format_classify) : handle general.
      
      	* src/file-priv.h : Inherit from GObject.
      
      	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
      	  here to avoid potential reference problems.
      
      	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
      	(cmd_autoformat) : const.
      
      	* src/cell.c (cell_relocate) : const.
      	* src/clipboard.c (paste_cell_with_operation) : const.
      	(paste_cell) : ditto.
      
      	* src/application.c (application_init) : add jimmac's expr-entry icon.
      
      	* src/Makefile.am : distribute the marshaller.list
      
      	s/GtkType/GType/
      	s/GtkSignalFunc/GCallback/
      	s/gtk_signal_connect/g_signal_connect/  + reformating.
      	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
      	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
      	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
      	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/
      
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_init) : Make the names of the text import/export
      	  clearer.
      f84a08c5
  17. 23 Jan, 2002 1 commit
  18. 19 Dec, 2001 1 commit
    • 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
  19. 17 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      increase. · 4dd96ce9
      Jody Goldberg authored
      2001-12-17  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-canvas.h (GNUMERIC_CANVAS_FACTOR_Y) : increase.
      4dd96ce9
    • Jody Goldberg's avatar
      use the Gnumeric Canvas versions of grab/ungrab. (ig_obj_create_begin) : · 4362aecc
      Jody Goldberg authored
      2001-12-17  Jody Goldberg <jody@gnome.org>
      
      
      	* src/item-grid.c (item_grid_event) : use the Gnumeric Canvas versions
      	  of grab/ungrab.
      	(ig_obj_create_begin) : ditto.
      	(item_grid_button_1) : ditto.
      	* src/item-bar.c (item_bar_event) : ditto.
      	* src/item-cursor.c (item_cursor_selection_event) : ditto.
      	(item_cursor_drag_event) : ditto.
      	(item_cursor_autofill_event) : ditto.
      	* src/sheet-control-gui.c (cb_control_point_event) : ditto.
      
      	* src/gnumeric-canvas.c (gnm_canvas_item_ungrab) : new.
      	(gnm_canvas_item_grab) : new.
      	(gnm_canvas_key_press) : silently absorb keypress events during mouse
      	  grabs.  This help protect against users using accelerators while
      	  grabbing.  If the accelerator command brought up a dialog we lost
      	  the release event, resulting in a dangling mouse grab.
      	(gnm_canvas_key_release) : ditto.
      
      2001-12-17  Jody Goldberg <jody@gnome.org>
      
      	* src/auto-correct.c (autocorrect_tool) : remove mis-implemented
      	  'caps-lock' feature.  XL checks while you are typing and notices the
      	  use of Shift in conjunction with Caps-Lock, and switches off
      	  Caps-Lock.
      4362aecc
  20. 30 Jul, 2001 2 commits
    • Jody Goldberg's avatar
      renamed from item_bar_end_resize to be consistent. · e03b92c6
      Jody Goldberg authored
      2001-07-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_resize_stop) : renamed from
      	  item_bar_end_resize to be consistent.
      
      	* src/Makefile.am : rename gnumeric-sheet -> gnumeric-canvas
      e03b92c6
    • Jody Goldberg's avatar
      new. (sc_sheet) : const. (sc_update_cursor_pos) : delete. · 43215bb3
      Jody Goldberg authored
      2001-07-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control.c (sc_wbc) : new.
      	(sc_sheet) : const.
      	(sc_update_cursor_pos) : delete.
      
      	* src/gnumeric-pane.c (gnm_pane_special_cursor_bound_set) : new.
      	(gnm_pane_special_cursor_start) : ditto.
      	(gnm_pane_special_cursor_start) : ditto.
      
      	* src/sheet-control-gui.c (scg_update_cursor_pos)  : fold into
      	  scg_resize.
      	(scg_resize) : reposition all of the cursors.
      	(scg_edit_start) renamed from scg_create_editor.
      	(scg_edit_stop) : renamed from scg_stop_editing.
      	(scg_special_cursor_start) : new.
      	(scg_special_cursor_stop) : new.
      	(scg_special_cursor_bound_set) : new.
      
      	* src/item-cursor.c (item_cursor_selection_event) : Use
      	  scg_special_cursor_start, and scg_special_cursor_bound_set.
      	(item_cursor_do_action) : use scg_special_cursor_stop.
      	(item_cursor_do_drop) : ditto.
      	(item_cursor_autofill_event) : ditto.
      	(item_cursor_set_bounds_visibly) : Doh! fix my stupidity.
      	  We need to change the visibility here because we explicitly disable
      	  doing it in the scroll handlers.  We are constraining the scroll
      	  so we need to do it manually.
      
      2001-07-30  Jody Goldberg <jgoldberg@home.com>
      
      	s/GnumericSheet/GnumericCanvas/
      	s/gsheet/gcanvas/
      	s/gnumeric_sheet_*/gnm_canvas_/
      	s/gnumeric_pane_*/gnm_pane_/
      	Move the std and rangesel cursors from GnumericSheet -> GnumericPane
      	Move the grid and editor from GnumericSheet -> GnumericPane
      
      2001-07-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : fix autoscroll
      	  from bottom/right panes into adjcant regions that do not scroll as
      	  reported by almer.
      
      2001-07-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : work towards
      	  support h only or v only freezes by using the geometry of pane 1 or 3
      	  in place of pane 2 which only exists in the h&v case.
      	(gsheet_sliding_callback) : ditto.
      	(gnumeric_sheet_slide_init: ditto.
      43215bb3
  21. 29 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      fix autoscroll from bottom/right panes into adjcant regions that do not · c6803184
      Jody Goldberg authored
      2001-07-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : fix autoscroll
      	  from bottom/right panes into adjcant regions that do not scroll as
      	  reported by almer.
      
      2001-07-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : work towards
      	  support h only or v only freezes by using the geometry of pane 1 or 3
      	  in place of pane 2 which only exists in the h&v case.
      	(gsheet_sliding_callback) : ditto.
      	(gnumeric_sheet_slide_init: ditto.
      
      2001-07-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-pane.c (gnumeric_pane_colrow_resize_start) :
      	  Switch GnumericSheet to using CellPos for consisency.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : ditto.
      	(gnumeric_sheet_button_release) : ditto.
      	(gnumeric_sheet_init) : ditto.
      	(gnumeric_sheet_find_col) : ditto.
      	(gnumeric_sheet_find_row) : ditto.
      	(gnumeric_sheet_create_editor) : ditto.
      	(gsheet_compute_visible_region) : ditto.
      	(gnumeric_sheet_redraw_region) : ditto.
      	(gsheet_sliding_callback): ditto.
      	(gnumeric_sheet_handle_motion) : ditto.
      	(gnumeric_sheet_slide_init) : ditto.
      	* src/item-bar.c (item_bar_draw) : ditto.
      	(item_bar_event) : ditto.
      	* src/item-cursor.c (item_cursor_update) : ditto.
      	(item_cursor_draw) : ditto.
      	* src/item-edit.c (recalc_spans) : ditto.
      	(item_edit_set_arg) : ditto.
      	* src/sheet-control-gui.c (scg_redraw_headers) : ditto.
      	(scg_resize) : ditto.
      	(scg_scrollbar_config) : ditto.
      	(scg_colrow_select) : ditto.
      	(gnumeric_sheet_update_inital_top_left) : ditto.
      	(bar_set_left_col) : ditto.
      	(bar_set_top_row) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_set_top_row) : ditto.
      	(gnumeric_sheet_set_top_left) : ditto.
      	(gnumeric_sheet_make_cell_visible) : ditto.
      	(scg_set_panes) : ditto.
      	(cb_slide_handler) : ditto.
      	* src/workbook-control-gui.c (cb_view_freeze_panes) : ditto.
      c6803184
  22. 14 Jul, 2001 2 commits
    • Jody Goldberg's avatar
      adjust signature to take an enum instead of 4 booleans. Add a flag to · 36e082dd
      Jody Goldberg authored
      2001-07-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : adjust
      	  signature to take an enum instead of 4 booleans.  Add a flag to
      	  allow the caller to handle motion within the visible pane.
      	(gsheet_sliding_callback) : more tuning for reverse motion in unfrozen
      	  panes.
      
      	* src/item-bar.c (item_bar_event) : convert to new
      	  gnumeric_sheet_handle_motion signature.
      	* src/item-grid.c (item_grid_event) : ditto.
      	* src/item-cursor.c (item_cursor_handle_motion) : ditto.
      	* src/sheet-control-gui.c (cb_control_point_event) : ditto.
      	  Handle object motion within visible region locally.
      36e082dd
    • Jody Goldberg's avatar
      new function. (ms_excel_read_sheet) : called from here. · 6cd90ea0
      Jody Goldberg authored
      2001-07-12  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_pane) : new function.
      	(ms_excel_read_sheet) : called from here.
      	(ms_excel_read_window2) : top left spec is _zero_ based.
      	  Add support for setting the frozen flag.
      	(ms_excel_sheet_new) : init the freeze flag here.
      
      2001-07-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_in_drag_handle) : bounding coords
      	  mark the outside of the drag box, center things before checking.
      	(item_cursor_selection_event) : be smarter about handling double
      	  clicks.  This could still be improved see comment.
      
      	* src/sheet.c (sheet_cell_calc_span) : clear existing span before
      	  recalculating it.
      	(sheet_cell_set_text) : clear existing spans for expressions.
      	(sheet_cell_set_expr): ditto.
      
      	* src/cellspan.c (cellspan_is_empty) : rename from cell_is_empty
      	  and change order of args to make it clear that the Cell in the cell
      	  in that arg list is _not_ the one being tested for emptiness.  Do
      	  the empty chacek manually because expressions with initial value
      	  'empty' are allowing other cells to continue spanning into them.
      	  However, since the expressions don't calc spans yet, the cell
      	  content is never made visibible.
      
      	* src/sheet-control-gui.c (scg_resize) : increase the size of the
      	  header canvases by 1.  I don't especially like the like, but I have
      	  no time to track down why the canvas scrolls by 1 pixel if I don't
      	  do this.
      	(cb_control_point_event) : partially fix sheet object movement.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_slide_stop) : renamed from
      	  gnumeric_sheet_stop_sliding.
      	(col_scroll_step) : new function.
      	(row_scroll_step) : new function.
      	(gsheet_sliding_callback) : rewrite again to manage scrolling for
      	  panes more smoothly.  Still needs work.
      	(gnumeric_sheet_handle_motion) : handle motin into adjacent panes
      	  here.
      	(gnumeric_sheet_slide_init) : new routine to set adjacency earlier in
      	  process.
      
      	* src/item-bar.c (item_bar_event) : call gnumeric_sheet_slide_init.
      	* src/item-cursor.c (item_cursor_selection_event) : ditto.
      	(item_cursor_drag_event) : ditto.
      	* src/item-grid.c (item_grid_button_1) : ditto.
      
      2001-07-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-pane.c (gnumeric_pane_header_init) : no need to
      	  calc_size here.  That will be done when the item is realized.
      
      	* src/sheet-control-gui.c (scg_set_left_col) : And bounds checks and
      	  safety.
      	(scg_set_top_row) : ditto.
      
      	* src/item-cursor.c (item_cursor_draw) : Add a simple test for pane
      	  support when placing the drag handle.
      6cd90ea0
  23. 11 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Marks are in. Having the pane corner != A1 works (thanks Federico) · 348ca635
      Jody Goldberg authored
      Marks are in.
      Having the pane corner != A1 works (thanks Federico)
      Autoscroll is still broken in some cases but the framework is in place.
      
      2001-07-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Draw bound lines for panes.
      
      	* src/gnumeric-pane.c (gnumeric_pane_set_bounds) : new function.
      
      2001-07-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_resize) : Federico wins a dinner for
      	  pointing out the source of the bug with frozen panes starting
      	  somewhere other than 0,0.  It seems that scroll_regions are more
      	  powerful than I thought.
      	(scg_init) : the slider handling is elsewhere.
      	(bar_set_top_row) : remove debug spewage.
      	(scg_stop_sliding) : move to gnumeric_sheet.
      	(scg_sliding_callback) : ditto.
      	(scg_start_sliding) : ditto.
      	(cb_slide_handler) : signature change for slide callbacks.
      	(cb_control_point_event) : changes for panes.
      
      	* src/item-grid.c (cb_extend_cell_range) : signature change for slide
      	  callbacks.
      	(cb_extend_expr_range) : ditto.
      	(item_grid_event) : use gnumeric_sheet_handle_motion.
      	(item_grid_finalize) : switch over from destroy.
      	(item_grid_class_init) : add bound args.
      	(item_grid_set_arg) : ditto.
      	(item_grid_draw) : begin using the bound arg.
      	(item_grid_init) : init the bound arg to fullsheet.
      	(item_grid_realize) : Add an extra GC for drawing the bounding lines.
      	(item_grid_unrealize) : release the new GC.
      
      	* src/item-cursor.c (cb_move_cursor) : signature change for slide
      	  callbacks.
      	(cb_autofill_scroll) : ditto.
      	(item_cursor_handle_motion) : use gnumeric_sheet_handle_motion.
      
      	* src/item-bar.c (item_bar_draw) : remove debug spewage.
      	(cb_extend_selection) : signature change for slide callbacks.
      	(item_bar_event) : use gnumeric_sheet_handle_motion and simplify the
      	  code alot.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_init) : init the sliding members.
      	  The sliding used to be managed by the scg, but it is now handled
      	  with the gsheet (could just as easily be gpane) becuase scrolling
      	  panes needs to know _which_ pane is scrolling.
      	(gsheet_compute_visible_region) : remove the debug spewage.
      	(gnumeric_sheet_stop_sliding) : moved from scg_stop_sliding.
      	(gsheet_sliding_callback) : moved from scg_sliding_callback and
      	  revamped to support frozen panes.
      	(gnumeric_sheet_handle_motion) : new routine to merge in the old
      	  scg_start_sliding and add a pile of replicated code from all the
      	  different users of the sliding mechanism.
      	(gnumeric_sheet_new) : take max col/row as arg.
      
      	* src/gnumeric-pane.c (canvas_bar_adjustment_changed) : delete debug routine.
      	(gnumeric_pane_header_init) : no need for adjust_size handler.
      
      2001-07-10  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am : improve evo handling.
      
      	* configure.in : Fix definition of ENABLE_EVOLUTION in makefiles.
      
      2001-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : clip the minimum col/row size at
      	  the margins.
      
      	* src/sheet.c (colrow_compute_pts_from_pixels) : add some sanity
      	  checking.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : new function.
      	  begin the process of getting enough information to scroll
      	  effectively with frozen panes.  Also merge alot of similar code.
      
      	* src/item-bar.c (item_bar_event) : Use gnumeric_sheet_handle_motion.
      	* src/item-cursor.c (item_cursor_handle_motion) : ditto.
      	* src/sheet-control-gui.c (cb_slide_handler) : ditto.
      348ca635
  24. 05 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Initial support for frozen panes. · 99073bd9
      Jody Goldberg authored
      2001-07-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-merge.c (sheet_merge_add) : Use sheet_redraw_range.
      
      	* src/sheet-control.c (sc_set_panes) : new virtual.
      	(sc_set_sheet) : renamed from sc_invalidate_sheet.
      
      	* src/sheet-control-gui.c (scg_primary_pane) : new function. Be very
      	  careful when using this.  It should not be necessary in most cases.
      	(scg_get_wbcg) : convenience routine.
      	(scg_redraw_all) : frozen panes.
      	(scg_redraw_region) : renamed from scg_redraw_cell_region, and frozen
      	  pane support.
      	(scg_redraw_headers) : merge in the code from gnumeric-sheet.
      	(scg_update_cursor_pos) : pane support.
      	(scg_resize) : ditto.
      	(scg_set_zoom_factor) : ditto.  Broken. needs to resize the panes.
      	(scg_scrollbar_config) : adjust to panes.
      	(scg_make_edit_pos_visible) : use scg_make_cell_visible.
      	(scg_colrow_select) : reorg a bit.
      	(vertical_scroll_offset_changed) : adjust to panes.
      	(horizontal_scroll_offset_changed) : ditto.
      	(cb_table_destroy) : ditto.
      	(scg_init) : init the top here.
      	(bar_set_left_col) : from gnumeric-sheet. Still needs work for panes.
      	(bar_set_top_row) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_set_top_row) : ditto.
      	(scg_set_left_col) : TODO.
      	(scg_set_top_row) : ditto.
      	(gnumeric_sheet_set_top_left) : new function split from.
      	(gnumeric_sheet_make_cell_visible) : here.
      	(scg_make_cell_visible) : adjsut to panes and do the real work here.
      	(scg_make_cell_visible_virt : wrapper for use as virtual.
      	(gnumeric_pane_new) : new function.
      	(gnumeric_pane_delete) : ditto.
      	(scg_set_panes) : ditto.
      	(scg_construct) : move the table attachments around and move the
      	  canvas groups into the panes.
      	(sheet_control_gui_new) : beef this up.
      	(scg_unant) : adjust to panes.
      	(scg_ant) : ditto.
      	(scg_cursor_visible) : ditto.
      	(scg_cursor_bound) : ditto.
      	(scg_adjust_preferences) : ditto.
      	(scg_compute_visible_region) : ditto.
      	(scg_create_editor) : ditto.
      	(scg_stop_editing) : ditto.
      	(scg_take_focus) : ditto.
      	(scg_sliding_callback) : adjust top panes, but is still much too
      	  stupid.
      	(scg_start_sliding) : ditto.
      	(cb_slide_handler) : ditto.
      	(cb_control_point_event) : ditto.
      	(new_control_point) : ditto.
      	(set_item_x_y) : ditto.
      	(set_acetate_coords) : ditto.
      	(scg_object_calc_position) : ditto.
      	(scg_object_view_position) : ditto.
      	(scg_rangesel_changed) : ditto.
      	(scg_rangesel_start) : ditto.
      	(scg_rangesel_stop) : ditto.
      	(scg_rangesel_move) : ditto.
      	(scg_rangesel_extend) : ditto.
      
      	* src/item-grid.c (sheet_object_begin_creation) : Use the group
      	  associated with the gsheet, not the scg, and use GNUMERIC_IS_SHEET
      	  in preference to != NULL.
      
      	* src/item-bar.c : Store the gnumeric-sheet rather than the scg so
      	  that we can get to the Pane.
      
      	* src/embeddable-grid.c (grid_view_activate) : Use scg_take_focus.
      	(grid_view_new) : Use sheet_control_gui_new in place of sheet_new_scg.
      
      	* convert to E_MAKE_TYPE
      	* Use IS_SHEET in preference to sheet != NULL
      	* sheet_range_calc_spans signature change
      
      	* src/clipboard.c (clipboard_paste_region) : special handling when
      	  pasting into a selection that consists of a single merged cell.
      
      	* src/application.c (application_set_selected_sheet) : Use IS_SHEET.
      	(application_clipboard_copy) : ditto.
      	(application_clipboard_cut) : ditto.
      
      	* src/Makefile.am :
      	    command-context-corba -> workbook-control-corba
      
      	* src/sheet.c : convert to using IS_SHEET in place of sheet != NULL in
      	  several places.
      	(sheet_is_frozen) : new function.
      	(sheet_freeze_panes) : implement.
      	(sheet_new) : init frozen pane data.
      	(sheet_range_calc_spans) : pass a pointer rather than copy of the range.
      	  and use sheet_redraw_range.
      	(sheet_apply_style) : use sheet_redraw_range.
      	(cb_sheet_get_extent) : premature optimization is evil.
      	(sheet_redraw_region) : rename from sheet_redraw_cell_region.
      	(sheet_set_edit_pos) : use sheet_redraw_range.
      	(sheet_move_range) : ditto.
      	(sheet_init_sc) : new routine.
      	(sheet_attach_control) : rename and task from sheet_new_scg.
      	(sheet_redraw_region) : renamed from sheet_redraw_cell_region.
      
      	* src/item-cursor.c (item_cursor_update) : increase the spacing for
      	  the autohandle.
      
      	* src/GNOME_Gnumeric.xml :
      	  - Use Control*colon and Control*semicolon
      	  - desensitize the graph guru for now.
      	  - Add freeze/thaw
      
      	* src/item-bar.c (item_bar_unrealize) : no need to double unref the
      	  fonts.
      
      	* src/print-cell.c (print_merged_range) : This is not being drawn on
      	  the screen, no need for all the fancy calcs to only draw the visible
      	  bits.  We will just clip it.
      	* src/print-cell.c (print_cell) : Use the calulated width, not the col
      	  width for splitting.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use the scg_
      	  versions of things in preference to the gnumeric_sheet_ versions.
      	(gnumeric_sheet_new) : Store the Pane that this is associated with.
      	(gnumeric_sheet_bar_set_top_row) : moved to sheet-control-gui.c
      	(gnumeric_sheet_set_top_row) : ditto.
      	(gnumeric_sheet_bar_set_left_col) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_make_cell_visible) : ditto.
      	(gsheet_compute_visible_region) : handle panes.
      99073bd9
  25. 09 May, 2001 1 commit
    • 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
  26. 18 Apr, 2001 1 commit
    • Jon K Hellan's avatar
      Change return type to GnumericExprEntry. (workbook_set_entry): Change type · eb52c908
      Jon K Hellan authored
      2001-04-18  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-edit.[ch] (workbook_get_entry,
      	workbook_get_entry_logical): Change return type to
      	GnumericExprEntry.
      	(workbook_set_entry): Change type of entry argument to
      	GnumericExprEntry.
      
      	* src/gnumeric-sheet.c (move_cursor): Move to scg::scg_move_cursor
      	(cursor_horizontal_move): Move to scg::scg_cursor_horizontal_move
      	(cursor_horizontal_extend): Move to
      	scg::scg_cursor_horizontal_extend
      	(cursor_vertical_move): Move to scg::scg_cursor_vertical_move
      	(cursor_vertical_extend): Move to scg::scg_cursor_vertical_extend
      	(selection_remove_selection_string,
      	selection_insert_selection_string): Remove. GnumericExprEntry
      	widget now handles this.
      	(start_cell_selection_at): Rename to start_range_selection_at.
      	(start_cell_selection): Rename to start_range_selection.
      	(gnumeric_sheet_start_cell_selection): Rename to
      	gnumeric_sheet_start_range_selection.
      	(gnumeric_sheet_stop_cell_selection): Rename to
      	gnumeric_sheet_stop_range_selection. Remove clear_string parameter
      	and selection string manipulation.
      	(rangesel_horizontal_move): Make non-static, rename to
      	gnumeric_sheet_rangesel_horizontal_move, remove selection string
      	manipulation.
      	(rangesel_vertical_move): Make non-static, rename to
      	gnumeric_sheet_rangesel_vertical_move, remove selection string
      	manipulation.
      	(rangesel_horizontal_extend): Make non-static, rename to
      	gnumeric_sheet_rangesel_horizontal_extend, remove selection string
      	manipulation.
      	(rangesel_vertical_extend): Make non-static, rename to
      	gnumeric_sheet_rangesel_vertical_extend, remove selection string
      	manipulation.
      	(gnumeric_sheet_key_mode_sheet): Use movefn's from scg instead of
      	from GnumericSheet.
      
      	* src/gnumeric-sheet.h (gnumeric_sheet_start_cell_selection):
      	Rename to gnumeric_sheet_start_range_selection.
      	(gnumeric_sheet_stop_cell_selection): Rename to
      	gnumeric_sheet_stop_range_selection. Remove clear_string
      	parameter.
      	(gnumeric_sheet_rangesel_horizontal_move,
      	gnumeric_sheet_rangesel_vertical_move,
      	gnumeric_sheet_rangesel_horizontal_extend,
      	gnumeric_sheet_rangesel_vertical_extend): Declare.
      
      	* src/gnumeric-util.[ch] (gnumeric_entry_at_subexpr_boundary_p):
      	Rename to gnumeric_expr_entry_at_subexpr_boundary_p and move to
      	gnumeric_expr_entry widget.
      
      	* src/item-grid.c (item_grid_button_1, item_grid_event): Use scg
      	methods instead of methods from GnumericSheet.
      
      	* src/sheet.[ch] (sheet_stop_cell_selection): Rename to
      	sheet_stop_range_selection.
      
      	* src/sheet-control-gui.c (scg_colrow_select): Use scg methods
      	instead of methods from GnumericSheet.
      	(scg_stop_editing): Add call to scg_stop_cell_selection.
      	(scg_range_selection_changed): New function. Notify ExprEntry that
      	the expression range has changed.
      	(scg_move_cursor): Moved here from GnumericSheet.
      	(scg_rangesel_cursor_extend): Add call to
      	scg_range_selection_changed.
      	(scg_rangesel_cursor_bounds, scg_rangesel_horizontal_move,
      	scg_rangesel_vertical_move, scg_rangesel_horizontal_extend,
      	scg_rangesel_vertical_extend): New functions. Call GnumericSheet
      	counterpart and notify ExprEntry.
      	(scg_cursor_horizontal_move, scg_cursor_horizontal_extend,
      	scg_cursor_vertical_move, scg_cursor_vertical_extend): Moved here
      	from GnumericSheet.
      	(scg_get_sel_cursor_pos): New function. Return selection cursor
      	position.
      
      	* src/sheet-control-gui.h (scg_range_selection_changed,
      	scg_move_cursor, scg_rangesel_cursor_bounds,
      	scg_rangesel_horizontal_move, scg_rangesel_vertical_move,
      	scg_rangesel_horizontal_extend, scg_rangesel_vertical_extend,
      	scg_cursor_horizontal_move, scg_cursor_vertical_move,
      	scg_cursor_horizontal_extend, scg_cursor_vertical_extend,
      	scg_get_sel_cursor_pos): Declare.
      
      	* src/sheet-control-gui.[ch] (scg_stop_cell_selection): Rename to
      	scg_stop_range_selection. Notify ExprEntry that range selection
      	has stopped.
      
      	* src/sheet-object-widget.c (cb_checkbox_config_focus): Call
      	gnumeric_expr_entry_select_absolute.
      	(sheet_widget_checkbox_user_config): Use GnumericExprEntry. Attach
      	it to the scg.
      
      	* src/workbook-control-gui.c (cb_notebook_switch_page): Use new
      	function name sheet_stop_range_selection.
      
      	* src/workbook-control-gui-priv.h (struct
      	_WorkbookControlGUI::struct edit_line): entry and temp_entry are
      	now GnumericExprEntries.
      	(struct _WorkbookControlGUI): Remove select_abs_col,
      	select_abs_row, select_full_col, select_full_row and
      	select_single_cell.
      
      	* src/workbook-control-gui.c (wbcg_finish_editing,
      	wb_edit_key_pressed, cb_autofunction, workbook_setup_edit_area,
      	auto_complete_matches): Entry must now be cast to GtkEntry.
      	(workbook_control_gui_init): select_abs_col, select_abs_row,
      	select_full_col, select_full_row and select_single_cell no longer
      	exist.
      
      	* src/workbook-edit.c (workbook_finish_editing, entry_changed,
      	workbook_start_editing_at_cursor): entry must now be cast to
      	GtkEntry.
      	(workbook_start_editing_at_cursor): Attach scg to
      	ExprEntry. wbcg->select_abs_col and select_abs_row no longer
      	exist.
      	(workbook_edit_select_absolute): Move to ExprEntry widget.
      	(workbook_edit_toggle_absolute): New function. Probably remove it
      	again.
      	(workbook_edit_init): Remove redundant 'g_assert != NULL'. Use
      	GnumericExprEntry widget.
      
      2001-04-18 Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-define-names.c (struct NameGuruState):
      	Change type of expr_text to GnumericExprEntry.
      	(name_guru_set_expr, name_guru_update_sensitivity,
      	name_guru_set_expr, cb_name_guru_add): expr_text must now be
      	cast to GTK_ENTRY.  (cb_name_guru_value_focus): Use
      	gnumeric_expr_entry_set_absolute. w argument is now expected
      	to be a GnumericExprEntry.  (cb_name_guru_set_focus): New
      	function. Make anted selection go away when a widget other
      	than expr_text receives focus.  (name_guru_init): Create a
      	GnumericExprEntry and insert in the dialog. Attach it to the
      	current sheet. Connect cb_name_guru_set_focus to dialog's
      	set-focus signal, and remove the focus-in handler from
      	name_value.
      
      	* src/dialogs/dialog-function-wizard.c (struct ArgumentState):
      	Change type of entry to GnumericExprEntry.
      	(formula_guru_set_expr): Change type of new_entry to
      	GnumericExprEntry. Cast to GTK_ENTRY where necessary.
      	(formula_guru_set_expr, cb_formula_guru_rolled_entry_changed,
      	cb_formula_guru_entry_changed, formula_guru_init):
      	ArgumentState->entry must now be cast to GTK_ENTRY.
      	(formula_guru_set_rolled_state): Change type of new_entry to
      	GnumericExprEntry. Cast to GTK_ENTRY where necessary.
      	(formula_guru_arg_new): Create a GnumericExprEntry instead of
      	a GtkEntry and insert in the dialog. Attach it to the current
      	sheet.  (formula_guru_init): Create a GnumericExprEntry for
      	rolled_entry and insert in the dialog. Attach it to the
      	current sheet.  (dialog_formula_guru): Value returned by
      	workbook_get_entry must now be cast to GTK_ENTRY.
      
      	* src/dialogs/formula-guru.glade: Remove 'rolled_entry'
      	GtkEntry. A GnumericExprEntry is now added at runtime instead.
      
      	* src/dialogs/names.glade: Remove 'expr_text' GtkEntry. A
      	GnumericExprEntry is now added at runtime instead.
      eb52c908
  27. 23 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      If we are not selecting a range for an expression then we should cancel · 63e24beb
      Jody Goldberg authored
      
      2001-01-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_colrow_select) : If we are not
      	  selecting a range for an expression then we should cancel editing.
      	(scg_context_menu) : cancel editing.
      
      2001-01-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c : Use the new wrapper function in scg (for now) rather
      	  than a direct call to gsheet.
      
      	* src/sheet-control-gui.c (scg_set_cursor_bounds) : new function to
      	  wrap direct calls to gsheet.  This is prep for supporting panes.
      	(scg_compute_visible_region) : new function
      	(scg_make_cell_visible) : new function
      	(scg_create_editor) : new function
      	(scg_stop_editing) : new function
      	(scg_stop_cell_selection) : new function
      
      	* src/pattern.c (gnumeric_background_set_gc) : no need for setting GC
      	  in non selection case.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_create_editor) : renamed from
      	  gnumeric_sheet_create_editing_cursor.
      	(gsheet_compute_visible_region) : rename from
      	  gnumeric_sheet_compute_visible_ranges
      63e24beb
  28. 04 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      Some work on range selection · 4a320299
      Jody Goldberg authored
      2001-01-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : animated cursors can no be
      	  dragged or resized.   NOTE : This introduces a small bug while
      	  fixing another.  The animated cursor is frequently drawn on top of
      	  the current selection cursor when it is first created.  As such the
      	  selection cursor does not receive all the events it should.
      	  Ideally the canvas would pass ignored events to the widget below, but
      	  that is not going to happen.  We can not just forward the events to
      	  the other cursor because it may have moved.  We would need to ensure
      	  that we only forward things in the areas that are overlapping.  Which
      	  is not easy.
      	(item_cursor_set_spin_base) : delete.
      
      	* src/item-grid.c (item_grid_button_1) : support shift-extending a
      	  range selection cursor.
      
      	* src/workbook-view.c (wb_view_selection_desc) : Add some safety.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_rangesel_cursor_extend) :
      	  Intelligently handle extension to full rows/cols and rename from
      	  gnumeric_sheet_selection_extend.
      	(start_cell_selection_at) : no need to set the base a second time.
      	(gnumeric_sheet_rangesel_cursor_bounds) : rename from
      	  gnumeric_sheet_selection_cursor_place and allow the specification of
      	  base and move coords.
      	(gnumeric_sheet_selection_cursor_base) : delete.
      
      	* src/item-bar.c (is_pointer_on_division) : no resizing while range
      	  selecting.
      	(get_element_from_pixel) : delete dead code.
      
      2001-01-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Call scg_colrow_select directly.
      	  and convert from using 'is_vertical' to 'is_cols' which is the
      	  convention everywhere else.
      	(cb_extend_selection) : ditto.
      	(colrow_tip_setlabel) : ditto.
      	(item_bar_marshal) : delete.
      	(get_row_name) : fortify a bit.
      
      	* src/sheet-control-gui.c (scg_colrow_select) : merge together from
      	  sheet_view_{col,row}_selection_changed and rewrite.
      	(sheet_view_construct) : remove handlers for the item-bar signal.
      
      	* src/commands.c (cmd_autofill_redo) : check for array violations.
      	  Clear the target range.  This will allow entire arrays to be filled.
      	(cmd_autofill) : Use the area that we will be filling rather.  Excude
      	  the area that will not change.
      
      	* src/sheet.c (sheet_{col,row}_get_info) : simplify.
      
      	* src/selection.c (walk_boundaries) : don't walk into hidden cols/rows.
      4a320299
  29. 16 Dec, 2000 1 commit
  30. 06 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      new function. · 0c48da68
      Jody Goldberg authored
      
      2000-12-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_region_adjacent_merge) : new function.
      
      	* src/cellspan.c (cell_calc_span) : Use it here to pre bound the
      	  potential span region.
      
      2000-12-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw_merged_range) : Draw borders too.
      	  This can easily be optimized.
      
      	* src/selection.c (sheet_selection_add_range) : Use
      	  sheet_selection_set.
      0c48da68
  31. 19 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      : (sheet_region_unmerge) : (sheet_region_merge) : implement. · 4da5da9f
      Jody Goldberg authored
      
      2000-11-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_region_is_merge_cell) :
      	(sheet_region_get_merged) :
      	(sheet_region_unmerge) :
      	(sheet_region_merge) : implement.
      
      2000-11-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw_merged_range) : new function.
      	  This may be clearer if we draw the grid lines after the background.
      	  It does not support borders or selection yet.
      	(item_grid_draw) : Use it.
      
      2000-11-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cellspan.c (cell_is_empty) : new utility function.
      	  span calculation is now rather inefficent.  We could be smarter if
      	  we had a better representation of spans.  For now adding support for
      	  merged cells here would be enough.
      	(cell_calc_span) : Use it.
      
      	* src/cell-draw.c (cell_draw) : decrease dependence on
      	  Cell::{col,row})_info::size_pixels.  This is not accurate for merged
      	  cells.  More work is needed.  I have not converted the multiline
      	  formating yet.  The signature of this function sucks.
      	  We should pass in either span or width height, not both.
      
      	* src/print-cell.c (print_cell) : Stay consistent with cell_draw.
      	  NOTE : I have not ported over the merged cell support.  It seems
      	  pointless until it is working completely for drawing.
      
      2000-11-19  Jody Goldberg <jgoldberg@home.com>
      
      	* s/sheet_view/scg/
      
      	* src/formats.c (currency_symbols) : Add the slovenian tolar.
      
      2000-11-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_context_menu) : renamed from
      	  item_grid_popoup_menu and moved here where it makes more sense.
      4da5da9f
  32. 15 Nov, 2000 2 commits
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
    • Jody Goldberg's avatar
      Follow convention that the manager is set when attached, and not before. · ad531019
      Jody Goldberg authored
      
      2000-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control.c (workbook_control_set_view) : Follow
      	  convention that the manager is set when attached, and not before.
      	* src/workbook-view.c (wb_view_attach_control) : Ditto.  Set the
      	  tile on the new control.
      	* src/workbook.c (workbook_attach_view) : Ditto.
      
      2000-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/command-context-corba.[ch] : This is incorrectly named and used
      	  the wrong way :-( But at least it is compilable.  I'll fix this
      	  later.
      
      2000-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (col_row_foreach) : Use ColRowSegments
      	(col_row_restore_sizes) : Ditto.
      	* src/sheet.c (sheet_{col,row}_add) : Ditto.
      	(sheet_{col,row}_get_info) : Ditto.
      	(sheet_{col,row}_get) : Ditto.
      	(sheet_cell_foreach_range) : Ditto.
      	(sheet_{col,row}_destroy) : Ditto.
      	(sheet_regen_adjacent_spans) : Ditto.
      	(colrow_move) : Ditto.
      	(sheet_{col,row}_get_distance_pixels) : Ditto.
      	(sheet_{col,row}_get_distance_pts) : Ditto.
      	(sheet_{col,row}_set_size_pts) : Ditto.
      
      2000-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	s/sheet-view/sheet-control-gui/
      
      	* src/Makefile.am : Add command-context-corba.[ch] temporarily
      
      	* configure.in : Default to non-bonobo build
      ad531019
  33. 09 Nov, 2000 2 commits
    • Morten Welinder's avatar
      gmorten poors syrup into Miguel's keyboard. · d56b90d7
      Morten Welinder authored
      * gmorten poors syrup into Miguel's keyboard.
      d56b90d7
    • Jody Goldberg's avatar
      Initialize fully, add prepared_to_drag_flag. (item_cursor_selection_event) · a3602968
      Jody Goldberg authored
      
      2000-11-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_init) : Initialize fully, add
      	  prepared_to_drag_flag.
      	(item_cursor_selection_event) : Move most of the state change
      	  associated with BUTTON_PRESS into MOTION_NOTIFY.  And use the
      	  prepared_to_drag_flag flag to indicate a requirement to initiate a
      	  drag. Move most of the double click handling here.  The resone for
      	  these changes was that there was a race condition in the old
      	  version.  We were creating a new item cursor when we did a button
      	  press.  It started in exactly the same position as the current
      	  cursor.  2BUTTON_PRESS were sometimes being sent to the new cusor
      	  and sometimes showing up as PRESS events on the old with no RELEASE.
      	  This patch attempts to delay creating the new drag cursor until we
      	  are sure this is not a double click so that the proper event
      	  sequence is sent to the main cursor.
      
      	* src/border.c (style_border_unref) : Unref the colour.
      	(style_border_fetch) : unref the colour when needed.
      a3602968
  34. 11 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      The initial version of active objects. · ccdc4a78
      Jody Goldberg authored
      2000-09-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_sheet_object) : objects have their positions
      	  set after creation, not before.
      	NOTE : This routine is incomplete.  It does not handle all of the
      	  objects.  It is questionable whether or not it even belongs here.
      	  We may want to encapsulate the persistence on a per object basis.
      	(xml_sheet_read) : localize and improve variable naming.
      
      	* src/workbook.c : Add an ifdef around the GnomeUI handler in bonobo
      	  mode.  Move the object creation cruft into its own file.
      	(select_component_id) : new function.
      	(create_embedded_component_cmd) : simplify.
      	(create_embedded_item_cmd) : simplify.
      	(create_button_cmd) : Delete.
      	(create_checkbox_cmd) : Delete.
      	(create_line_cmd) : Delete.
      	(create_arrow_cmd) : Delete.
      	(create_rectangle_cmd) : delete.
      	(create_ellipse_cmd) : delete.
      	(cut_cmd) : simplify object handling.
      	(insert_object_cmd) : Use sheet_object_bonobo_new_from_oid.
      	(do_focus_sheet) : Handle object toolbar too.
      	(workbook_detach_sheet) : Before messing with the views go back to
      	  simple edit mode.
      
      	* src/workbook-object-toolbar.c (create_object_command) : new
      	  function.
      	(cmd_create_*) : Use here.
      
      	* src/workbook-edit.c (workbook_edit_set_sensitive) : Add the object
      	  toolbar.
      
      	* src/sheet-object.c (sheet_release_coords) : delete.
      	(sheet_object_destroy) : simplify.
      	(SheetObject::end_popup) : remove.
      	(SheetObject::populate_menu) : rename from start_popup.
      	(SheetObject::new_view) : rename from realize.
      	(SheetObject::user_config) : New virtual.
      	(sheet_object_construct) : initialize dragging to FALSE.
      	  s/Sheet::objects/Sheet::sheet_objects/
      	(sheet_object_drop_file) : Moved.
      	(sheet_object_realize) : No need for SheetView::temp_item.
      	(button_widget_create) : delete.
      	(checkbox_widget_create) : delete.
      	(sheet_object_create_button) : delete.
      	(sheet_object_create_checkbox) : delete.
      	(create_object) : delete.
      	(cb_obj_create_motion) : rename from sheet_motion_notify.  Simplify.
      	  Rubber band a rectangle rather than the actual object.
      	  Keep track of whether or not a we have resized larger than the
      	  minimum 5x5 size.
      	(cb_obj_create_button_release) : rename from sheet_button_release.
      	  Change behavior to have the release do the realizing and bound
      	  setting.  Set the bounds to the current coord ONLY if we have moved
      	  enough, otherwise just use the default size of the object tranformed
      	  to the location of the original button press.
      	(shutdown_sheet_object_creation) : merge into button release.
      	(sheet_leave_notify) : Delete.
      	(sheet_button_press) : Delete.
      	(sheet_object_begin_creation) : Delete.
      	(sheet_finish_object_creation) : merge into button release and clear
      	  out all the cruft requiring removal of signals.
      	(sheet_mode_clear) : new function.  Does some object management.
      	(sheet_set_mode_type) : delete.
      	(sheet_set_mode_type_full) : delete content.  Split logical action into.
      	(sheet_mode_edit) : here.
      	(sheet_mode_edit_object) : here.
      	(sheet_mode_create_object) : and here.
      	(sheet_object_destroy_control_points) : be more pedantic a about
      	  checking that we have a valid view.
      	(sheet_object_stop_editing) : Adjust for new object editing semantics.
      	(set_item_x) : Merge this
      	(set_item_y) : and this.
      	(set_item_x_y) : into here.  And add the logic to call
      	  new_control_point.
      	(new_control_point) : Set the cursor here.
      	(update_bbox) : Recall that the bounding box excludes the far coords.
      	(control_point_handle_event) : No need to make object the current, if
      	  we are being called we are current.
      	(sheet_object_populate_menu) : rename from sheet_object_start_popup.
      	(sheet_object_end_popup) : delete.
      	(sheet_object_canvas_event) : adjust to function renaming.
      	(sheet_object_widget_event) : delete.
      	(sheet_object_widget_handle) : delete.
      	(sheet_object_start_editing) : delete, no need.  update_bbox does all
      	  of this.
      	(sheet_object_make_current) : delete.
      	(sheet_object_insert) : this was not what its name suggested.  It was
      	  a rather specialized bonobo utility.  Move it where it belongs.
      
      	* src/sheet-object-widget.c : Rewrite.
      
      	* src/sheet-object-item.c (sheet_object_item_new_view) : rename from
      	  sheet_object_item_realize.
      
      	* src/sheet-object-graphic.c (sheet_object_graphic_new_view) :
      	  rename from sheet_object_graphic_realize.
      	(sheet_object_filled_new_view) : renamed from sheet_object_filled_realize.
      	(sheet_object_create_line) : No need to take position, do that later.
      	(sheet_object_create_filled) : Ditto.
      
      	* src/sheet-object-container.c (user_activation_request_cb) : Adjust
      	  to changes in sheet mode handling.
      	(sheet_object_container_new_view) : rename from sheet_object_container_realize.
      	(sheet_object_container_new_bonobo) : No need to take pos info, that
      	  is set later.
      	(sheet_object_container_new_object) : Ditto.
      	(sheet_object_container_new_file) : Moved and renamed from sheet_object_drop_file.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : No need
      	  to take position info.  Bounds are set later.
      	(sheet_object_bonobo_new_from_oid) : Move from sheet_object_insert
      	  which was much to generic a name and location for this.
      
      	* src/print.c (print_sheet_range) : Adjust to rename of the
      	  sheet_object list.
      
      	* src/pixmaps.h : Remove the pixmaps that moved to the object toolbar.
      
      	* src/item-grid.c (item_grid_button_1) : Handle object creation and
      	  finishing object editing directly, no more need for adding and
      	  removing handlers.  Adjust arg to be a Button event.
      	(item_grid_event) : Add a new cursor for object creation.
      	(item_grid_event) : Do not change to edit mode until we know why the
      	  button was pressed.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) :
      	  s/sheet_set_mode_type/sheet_mode_edit/
      	(gnumeric_sheet_key_press) : Adjust to new mode scheme.
      	(gnumeric_sheet_key_release) : Ditto.
      	(gnumeric_sheet_filenames_dropped) : Ditto.
      
      	* src/gnumeric.h : Add fwd decl of SheetObject.
      
      	* src/gnumeric-sheet.h : delete GnumericSheet::mode .
      
      	* src/gnumeric-type-util.h : Rename GNUMERIC_MAKE_TYPE_WITH_PARENT
      	  to GNUMERIC_MAKE_TYPE_WITH_CLASS.  That makes more sense.
      
      	* src/eval.c (invalidate_refs) : Use dependent_set_expr.
      	(cell_eval) : New need to check generation If we are called we are out
      	  of date.
      
      	* src/dependent.c (dependent_eval) : moved from eval.c.
      	(dependent_type_register) : New routine.
      	(dependent_set_expr) ; Ditto.
      	(dependent_debug_name) : Use the new registry.
      
      	* src/dependent.h : Reorder flags, remove explicit types for graphs
      	  and checkboxes.  Those are handled by the virtual table.
      
      	* src/commands.c : s/PARENT/CLASS/
      
      	* src/cell.h : Reorder the CellFlags.
      
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : Do not pass the
      	  position to sheet_object_containter_new_object.
      
      	* src/Makefile.am : Add workbook-object-toolbar.[ch]
      	  and graph-series.[ch]
      	  merge the libraries from the two idl files.
      
      2000-09-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-view.c (sheet_view_construct) : Init control points to NULL.
      	(SheetView::temp_item) : remove this.
      
      	* src/sheet.c (sheet_new) : Init the members associated with objects.
      	(sheet_destroy) : Destroy objects.
      	(Sheet::mode) : remove.
      
      	* src/gnumeric.xml : Add a label for the selection menu.
      
      	* src/sheet-object-container.c (sheet_object_container_realize) :
      	  Fix warning.
      
      2000-09-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (colrow_tip_setlabel) : mark the size tooltips as
      	  containing pts.
      	* src/dialogs/row-height.glade :
      	* src/dialogs/col-width.glade : Ditto.
      ccdc4a78
  35. 30 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      It is possible to have a guru up without editing. · 69d6d36b
      Jody Goldberg authored
      
      2000-06-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_select_expr_range) : It is
      	  possible to have a guru up without editing.
      	(gnumeric_sheet_key_press) : rename from gnumeric_sheet_key.
      	(gnumeric_sheet_size_allocate) : rename from gnumeric_size_allocate.
      	(gnumeric_sheet_focus_in) : Enable the input context.
      	(gnumeric_sheet_focus_out) : Disable the input context.
      	(gnumeric_sheet_realize) : Create the input context.
      	(gnumeric_sheet_unrealize) : Destroy the input context.
      	(gnumeric_sheet_class_init) : Register the new methods.
      	(gnumeric_sheet_init) : Init the input context.
      
      	* src/clipboard.c (x_selection_handler) : Adjust to changes in
      	  application_clipboard_clear.
      	(x_selection_clear) : Ditto.
      	* src/cmd-edit.c (cmd_paste) : Ditto.
      	* src/sheet.c (sheet_destroy) : Ditto.
      
      	* src/application.c (application_clipboard_clear) : Make dropping the
      	  selection optional.  This removes the kludges necessary to handle
      	  changing the clipboard when we already have the selection.
      
      	* src/functions/fn-logical.c (gnumeric_true, gnumeric_false) :
      	  fix signatures.
      69d6d36b