1. 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
  2. 06 Feb, 2002 1 commit
    • Michael Meeks's avatar
      don't setup the item container. · e886f3af
      Michael Meeks authored
      2002-02-06  Michael Meeks  <michael@ximian.com>
      
      	* src/workbook.c (workbook_bonobo_setup): don't
      	setup the item container.
      
      	* src/gnumeric-graph.c: porting action.
      	(bonobo_activation_exception_id): kill.
      
      	* src/corba-args.c (gnumeric_arg_parse): upd.
      
      	* src/bonobo-io.c: porting action.
      
      	* src/sheet-object-bonobo.c: porting action.
      e886f3af
  3. 23 Jan, 2002 1 commit
  4. 24 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      define G_OBJECT_GET_CLASS to simplify porting to 2.0 · 89aa026e
      Jody Goldberg authored
      2001-12-24  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric.h : define G_OBJECT_GET_CLASS to simplify porting to 2.0
      
      	For Yukihiro Nakai  <nakai@gnome.gr.jp>
      	* src/stf-parse.c (stf_parse_is_valid_data) : check for multi-byte
      	  before using locale specific isprint.
      89aa026e
  5. 21 Dec, 2001 1 commit
  6. 03 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      support cancel. · 6b808aa4
      Jody Goldberg authored
      2001-11-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-bonobo.c (open_cb) : support cancel.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : honour the selection
      	  of objects.
      
      	* src/workbook-control-gui.c (cb_edit_select_all) : Use
      	  scg_select_all.
      
      	* src/sheet-control-gui.c (scg_select_all) : Make public.
      6b808aa4
  7. 24 Aug, 2001 3 commits
    • Jody Goldberg's avatar
      Rename gnumeric-utils.h gui-utils.h to be more accurate. · d531765d
      Jody Goldberg authored
      Clean out a bunch includes.
      d531765d
    • Chyla Zbigniew's avatar
      Replace mega-include <gnome.h> with something smaller. · ac93e10a
      Chyla Zbigniew authored
      * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
      src/clipboard.c, src/cmd-edit.c, src/command-context.c,
      src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
      src/dates.c, src/dialogs/dialog-about.c,
      src/dialogs/dialog-advanced-filter.c,
      src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
      src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
      src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
      src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
      src/dialogs/dialog-plugin-manager.c,
      src/dialogs/dialog-printer-setup.c,
      src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
      src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
      src/dialogs/dialog-stf-export-private.h,
      src/dialogs/dialog-stf-export-sheet-page.c,
      src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
      src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
      src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
      src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
      src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
      src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
      src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
      src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
      src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
      src/main.c, src/normal-args.c, src/number-match-test.c,
      src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
      src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
      src/search.c, src/selection.c, src/sheet-autofill.c,
      src/sheet-merge.c, src/sheet-object-bonobo.c,
      src/sheet-object-container.c, src/sheet-object-graphic.c,
      src/sheet-object-item.c, src/sheet-object-widget.c,
      src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
      src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
      src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
      src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
      src/widgets/gnumeric-vscrollbar.c,
      src/widgets/widget-editable-label.c,
      src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      src/workbook-control.c, src/workbook-format-toolbar.c,
      src/workbook-object-toolbar.c, src/workbook-private.h,
      src/xml-io-autoft.c, src/xml-io.c:
      Replace mega-include <gnome.h> with something smaller.
      ac93e10a
    • Jody Goldberg's avatar
      use the new artwork. · 65a24531
      Jody Goldberg authored
      2001-08-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_context_menu) : use the new artwork.
      
      	* configure.in : bump version req for gnome-print to ensure that
      	  we only see fontmap2.
      	* README : ditto.
      	* gnumeric.spec.in : ditto.
      
      	* src/style.c (font_init) : Mention only the file fontmap2.
      
      	* src/item-bar.c (item_bar_realize) : Don't attempt to use a gc from
      	  an unrealized button.  Do it manually instead.
      
      	* src/sheet-object.c (sheet_object_populate_menu) : Put Properties
      	  above delete.
      65a24531
  8. 23 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      remove debug msg. (item_bar_realize) : We need to use an existing widget · 7b7562c8
      Jody Goldberg authored
      2001-08-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_destroy) : remove debug msg.
      	(item_bar_realize) : We need to use an existing widget to get style
      	  information, use the select all button because it was the first
      	  thing I thought of.
      
      2001-08-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_clear_vectors_internal) : once we
      	  clear the vectors be sure to also zero out the array.
      	(gnm_graph_arrange_vectors) : CORBA does not like NULL.  Giveit some
      	  zero length sequences.
      
      	* src/commands.c (cmd_object_move) : init first_time.
      	(cmd_object_move_destroy) : fix cut-n-paste-o.
      	(cmd_object_move_redo) : do even less work.
      7b7562c8
  9. 20 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · b459aaa7
      Jody Goldberg authored
      
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
      	(sheet_object_anchor_set) : new routine to replace range_set.
      	(sheet_object_anchor_get) : new.
      	(sheet_object_anchor_cpy) : new.
      	(sheet_object_anchor_init) : new routine to bundle up object
      	  positioning more neatly.
      
      	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
      	  types that are implemented.  Use the new SheetObjectAnchor scheme.
      
      	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
      	  point causes a move or a resize.
      	(cb_control_point_event) : store the initial anchor rather than the
      	  control specific position,  and assume that the changes are simple
      	  movements until a resize occurs.
      	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
      	(scg_colrow_distance_get_virtual) : new routine.
      	(scg_class_init) : register it here.
      
      	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
      	  created objects too.
      	(gnm_canvas_filenames_dropped) : signature change
      	  for sheet_object_container_new_file.
      
      	* src/gnumeric.h : add GnmGraph.
      
      	* src/Makefile.am : rename graph-vector -> gnumeric-graph
      
      	* idl/gnumeric-graphs.idl : Add some versioning.
      	  Move the header arg out of the value callback.
      	  Replace VectorNotify::remove with Manger::clearVectors.
      	  Merge freeze & thaw.
      	  Renamed 'nameChange' to 'headerChanged'
      	  Add an 'id' arg when registering vectors.
      
      2001-08-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c
      	    s/insert_object/object_insert/
      	    s/move_object/object_move/
      	    s/delete_object/object/delete/
      	(cmd_object_insert_redo) : The object knows its position based on its
      	  anchor. No need to set the control specific coordinates for an
      	  arbitrary control.  No need to tweak the reference count either.
      	(cmd_object_insert) :  ditto.
      	(cmd_object_insert_undo) : no need to tweak the ref count.
      	(cmd_object_delete_redo) : keep it simple, just set the sheet.
      	(cmd_object_delete_undo) : just clear the sheet.
      	(cmd_object_delete_destroy) : very simple.
      	(cmd_object_move_redo) : store the anchor, not the position for a
      	  specific control.  Be careful not to move the object the firs time
      	  through.  We've already done that.
      	(cmd_move_object_undo) : just call redo.
      	(cmd_object_move) : store the old anchor and take a flag indicating
      	  move vs resize.
      
      	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
      	  protection.
      
      	* src/sheet-object.c (sheet_object_update_bounds) : rename from
      	  sheet_object_position to have a clearer name.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
      	(grid_view_new) : use scg_toplevel.
      
      	* src/sheet-control-gui.c (scg_toplevel) : new function.
      
      2001-08-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
      	(gnm_graph_new) : don't dangle the reference returned by oaf.
      	(gnm_graph_destroy) : deactivate & _fini the corba obj.
      	(gnm_graph_vector_destroy) : ditto.
      
      	* src/expr.c (expr_to_graph_vector) : delete this function.
      	  we have no need to disassemble the expression in graphs.
      
      	* src/item-grid.c : revert switch from destroy -> finalize.
      	* src/item-bar.c : ditto.
      
      	* src/sheet-object-container.c : no need to include gnorba.
      	  no need to include sheet-control-gui-priv anymore.
      	(sheet_object_container_destroy) : delete unused.
      	(sheet_object_container_new) : weaken requirements to take a workbook,
      	  rather than a sheet as the container.
      	(sheet_object_container_new_object) : ditto.
      	(sheet_object_container_new_file) : ditto.
      
      	* src/workbook-private.c : delete some unnecessary code.
      
      	* src/workbook.c : include sheet-control vs sheet-control-gui.
      	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
      	  non-existent cell.
      
      	* src/commands.c (cmd_paste_cut_undo) : restore the original content
      	  AFTER unrelocating the expressions.
      
      	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
      	  magic to enable the bonobo toolbar config utility.
      	(workbook_menu_edit) : Fix the accelerators and sync the text with the
      	  bonobo version.
      	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
      	(change_menu_label) : Fix accelerator display, we still don't set
      	  them, but at least we display them correctly.
      	(insert_bonobo_object) : signature change to
      	  sheet_object_container_new_object.
      
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.
      b459aaa7
  10. 14 Aug, 2001 1 commit
    • Lutz Müller's avatar
      Remove all bonobo-related stuff. (print_sheet_objects): New. Prints all · e1c9cdd2
      Lutz Müller authored
      2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>
      
              * src/print.c: Remove all bonobo-related stuff.
              (print_sheet_objects): New. Prints all objects that overlap a given
              range and clips to that range.
              (print_page_cells): Call print_sheet_objects from here.
              (print_page_object): Removed.
              (print_page): Check for sheet objects if no printable cells can be
              found.
              (render_sheet_objects): Removed.
              * src/sheet-object-bonobo.c (sheet_object_bonobo_print): Move the
              bonobo printing stuff in here.
              * src/sheet-object-impl.h: The virtual method print now has only
              three arguments: The PrintContext and the base (x & y) where to
              start printing.
              * src/sheet-object.[c,h]: Adjusted to new syntax.
              * src/sheet-object-cell-commend.c (cell_comment_print): Same here.
              * src/sheet-object-graphic.c (sheet_object_graphic_print): And here.
              Fixed some broken logic. Printing of arrows implemented.
              (sheet_object_filled_print): Fixed.
              * src/sheet.c (sheet_col_get_distance_pts): Make sign double like in
              sheet_row_get_distance_pts. This didn't fix my problem but it is
              nicer this way (problem got fixed by Jody's fix below).
      e1c9cdd2
  11. 13 Jul, 2001 1 commit
    • Lutz Müller's avatar
      Clean up the handling of bonobo objects by introducing · 8fd8d8a3
      Lutz Müller authored
      2001-07-13  Lutz Mller <urc8@rz.uni-karlsruhe.de>
      
              * src/sheet-control-gui.[c,h]: Clean up the handling of bonobo objects
              by introducing
              (scg_activate_view_frame) and
              (scg_deactivate_view_frame).
              * src/sheet-object-bonobo.[c,h]: Check for existence of interfaces
              before querying it. Fix ref-counting. Make functions
              (sheet_object_bonobo_load_persist_file),
              (sheet_object_bonobo_load_persist_stream), and
              (sheet_object_bonobo_load_stream) consistent.
              * src/sheet-object-container.c: Parent class is and has ever been
              SheetObjectBonobo. This file should be called
              sheet-object-bonobo-container... Fix ref-counting.
              (cb_user_activation_request): Activate the view frame and set edit mode
              (cb_view_activated): Removed
              (sheet_object_container_new_view): Let the canvas item remember the
              view frame (through gtk_object_set_data)
              * src/sheet-object-container.h: Rename IS_SHEET_CONTAINER_OBJECT to
              IS_SHEET_OBJECT_CONTAINER to be consistent. Remove view_frame
              variable - this object can produce many view frames.
      8fd8d8a3
  12. 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
  13. 27 Jun, 2001 1 commit
  14. 18 Jun, 2001 1 commit
  15. 30 Jan, 2001 1 commit
    • Michael Meeks's avatar
      add a ref to the server, we seem to have lost one somewhere. · 6a5a0876
      Michael Meeks authored
      2001-01-30  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_set_server):
      	add a ref to the server, we seem to have lost one somewhere.
      
      2001-01-29  Michael Meeks  <michael@helixcode.com>
      
      	* plugin.c (init_plugin): upd.
      6a5a0876
  16. 22 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      new function. (sheet_object_container_new_bonobo) : delete. · 1afafe3a
      Jody Goldberg authored
      
      2000-12-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-container.c (sheet_object_container_new) : new
      	  function.
      	(sheet_object_container_new_bonobo) : delete.
      
      2000-12-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_expr_and_value) : Make linking the
      	  expression optional.
      
      	* src/ranges.c (range_init_full_sheet) : adjusted from
      	  sheet_get_full_range.
      
      2000-12-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : Don't create the object
      	  here.  Pass it in.
      1afafe3a
  17. 20 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      utility routine to create objects and to catch errors. · c6818c48
      Jody Goldberg authored
      
      2000-12-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (insert_bonobo_object) : utility routine
      	  to create objects and to catch errors.
      	(cb_insert_bonobo_object) : used here.
      	(select_component_id) : and here.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_set_object_iid) :
      	  handle object creation failure.
      
      	* src/sheet-object.c (sheet_object_destroy) : Handle the destruction
      	  of objects before they are attached to a sheet.
      c6818c48
  18. 14 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      create the client site here. (sheet_object_bonobo_set_object_iid) : rather · fa5c033c
      Jody Goldberg authored
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : create
      	  the client site here.
      	(sheet_object_bonobo_set_object_iid) : rather than here.
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-util.c (gnumeric_entry_at_subexpr_boundary_p) :
      	  Add ')' bug 35149
      fa5c033c
  19. 09 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      delete. (sheet_object_set_bounds) : Delete. (sheet_object_set_sheet) : new · 313e9dc3
      Jody Goldberg authored
      
      2000-12-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_construct) : delete.
      	(sheet_object_set_bounds) : Delete.
      	(sheet_object_set_sheet) : new function.
      	(sheet_object_clear_sheet) : new function.
      	(sheet_object_read_xml) : implement.
      	(sheet_object_write_xml) : implement.
      	(sheet_object_range_get) : support setting the range without a having
      	  a sheet.
      	(sheet_relocate_objects) : Use set_sheet & clear_sheet.
      	(sheet_object_register) : new function.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_set_sheet) : new
      	  function.  we need to move the dependent into the new sheet.
      	(sheet_widget_checkbox_clear_sheet) :  ditto.
      
      	* src/sheet-object-graphic.c : (sheet_object_graphic_{read,write)_xml) :
      	  new functions.
      	(sheet_object_filled_{read,write)_xml) : new functions.
      
      	* src/sheet-object-container.c (view_activated_cb) : no more
      	  sheet_object_construct.
      
      	* src/sheet-object-cell-comment.c (cell_comment_{read,write)_xml) :
      	  new functions.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_{read,write)_xml) :
      	  New functions.  These need work.  the 'read_fn' and 'write_fn' do
      	  not merge nicely yet.
      
      	* src/main.c (gnumeric_main) : Register the sheet obect types.
      	  We need this until the plugin scheme is ready.
      
      	* src/item-grid.c (cb_obj_create_button_release) : Use set_sheet
      	  rather than realize.
      
      	* src/bonobo-io.c (gnumeric_bonobo_obj_write) : constness.
      313e9dc3
  20. 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
  21. 01 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      new function. (sheet_object_position_pixels) : new function. · f4cc38b8
      Jody Goldberg authored
      
      2000-12-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_position_pts) : new function.
      	(sheet_object_position_pixels) : new function.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c : Begin moving the sheet object xml io into virtuals.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c : Add SHEET_FOREACH_CONTROL to help abstract the
      	  implementation of controls and simplify changes later.
      	(sheet_set_zoom_factor) : reposition objects not just comments.
      	(sheet_get_objects) : New function.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c : Move most (not yet all) of the GUI aspects into
      	  the sheet control.  Revamp the semantics of the sheet-object
      	  virtuals.
      	new_view : now handles the sizing and realizing of objects.
      	Add support for persistance here.
      	Delete get/set bound.
      
      	* src/sheet-object-container.c : convert to new object management design
      	* src/sheet-object-graphic.c : Ditto.
      	* src/sheet-object-item.c : Ditto.
      	* src/sheet-object-widget.c : Ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) :
      	  sheet_object_construct now takes a default size.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c : Move cell comment and sheet object
      	  placement routines here.  Rather than scattering them in non-gui
      	  modules.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print.c (print_object_view_position) : Convert object position
      	  to points.
      
      	* src/selection.c (sheet_selection_redraw) : simplify.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) : SheetObject
      	  editing is now specific to the SheetControl.
      	(gnumeric_sheet_key_press) : Ditto.
      	(gnumeric_sheet_key_release) : Ditto.
      
      	* src/selection.c (sheet_is_cell_selected) : Ditto.
      	(sheet_col_selection_type) : Ditto.
      	(sheet_row_selection_type) : Ditto.
      
      	* src/item-bar.c (item_bar_draw) : Ditto.
      
      	* src/item-grid.c (item_grid_draw_background) : Ditto.
      	(item_grid_button_1) : Ditto.
      	(item_grid_event) : Ditto.
      	(cb_obj_create_motion) : Move the object creation GUI here.
      	(cb_obj_create_button_release) : and add partial support for
      	  autoscroll.
      	(sheet_object_begin_creation) : Ditto.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_copy) : Comments are no longer associated directly
      	  with cells.
      	* src/clipboard.c (paste_cell) : Ditto.
      	(clipboard_release) : Ditto.
      
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : No need to set bounds
      	  or realize the object here.  That is handed at a higher level.
      
      2000-11-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (compute_value) : Use strtol to simplify things.
      
      	* src/func.c (tokenized_help_new) : translate the help text.
      
      2000-11-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/formats.c (currency_date_format_init) : quote the currency
      	  names.
      f4cc38b8
  22. 15 Nov, 2000 1 commit
    • 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
  23. 11 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Store the SheetObject and SheetView as object_data. · 48d484dd
      Jody Goldberg authored
      
      2000-11-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_new_view) : Store the SheetObject
      	  and SheetView as object_data.
      	(cb_sheet_object_configure) : Pass the SheetView to configuration
      	  routines.
      	(sheet_object_populate_menu) : Pass the CanvasItem it has the useful
      	  property of having the associated view and sheet object as user data.
      	  This makes it handy for use in callbacks.
      	(display_object_menu) : signature change.
      	(control_point_handle_event) : changes to display_menu_object.
      	(sheet_object_canvas_event) : Ditto.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
      	  signature change.  This should get things working again.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_populate_menu) :
      	  signature change.
      48d484dd
  24. 02 Nov, 2000 1 commit
  25. 26 Oct, 2000 1 commit
    • Michael Meeks's avatar
      Depend on gb-0.0.14 (CVS) · f320da2b
      Michael Meeks authored
      2000-10-26  Michael Meeks  <michael@helixcode.com>
      
      	* configure.in: Depend on gb-0.0.14 (CVS)
      
      2000-10-24  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object-bonobo.c: Remove #ifdef ENABLE_BONOBO's
      	(open_cb, sheet_object_bonobo_populate_menu): impl.
      	(sheet_object_bonobo_class_init): hook in.
      	(sheet_object_bonobo_load_from_file): upd.
      
      	* src/sheet-object-container.c (sheet_object_container_new_file): upd.
      
      2000-10-26  Michael Meeks  <michael@helixcode.com>
      
      	* Makefile.am (EXTRA_DIST): add README gnumeric.gbp main.gba
      
      	* Lots and lots of lovely work.
      f320da2b
  26. 19 Oct, 2000 1 commit
    • Michael Meeks's avatar
      check for (CVS) Bonobo 0.24 · 7e885f7e
      Michael Meeks authored
      2000-10-19  Michael Meeks  <michael@helixcode.com>
      
      	* configure.in (gnumeric_executable): check for (CVS) Bonobo 0.24
      
      	* src/file.c (do_load_from): split from (workbook_load_from): upd.
      	(workbook_try_read): use do_load_from to kill (empty) message box.
      
      	* src/bonobo-io.c (gnumeric_bonobo_io_probe): remove annoying warning.
      
      	* src/sheet-object-container.c (sheet_object_container_new_file):
      	move this ugly code into bonobo and clean; make D&D components work again.
      
      	* src/bonobo-io.c (gnumeric_bonobo_write_workbook): update for HEAD
      	Bonobo.
      	(gnumeric_bonobo_read_workbook): ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load_from_file): upd.
      7e885f7e
  27. 23 Sep, 2000 1 commit
    • 4's avatar
      Simple sed for item-container bits. · 183013a7
      4 authored
      
      Simple sed for item-container bits.
      
      2000-09-24    <michael@thomas.home>
      
      	* src/workbook-private.h: update to item container.
      183013a7
  28. 14 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Use sheet_selection_full_rows and workbook_cmd_format_row_height. · 01af4e73
      Jody Goldberg authored
      
      2000-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-view.c (sheet_view_row_size_changed) : Use
      	  sheet_selection_full_rows and workbook_cmd_format_row_height.
      	(sheet_view_col_size_changed) : Use
      	  sheet_selection_full_cols and workbook_cmd_format_column_width.
      
      	* src/item-grid.c (context_row_height) : Use sheet_dialog_set_row_height.
      	(context_col_width) : Use sheet_dialog_set_column_width.
      
      	* src/workbook-cmd-format.c (sheet_dialog_set_column_width) : Split
      	  the gui into here.
      	(workbook_cmd_format_column_width) : And the action into here.  Use
      	  the appropriate commands to get undo support.
      	(workbook_cmd_format_column_auto_fit) : Use workbook_cmd_format_column_width.
      	(sheet_dialog_set_row_height) : Split the gui into here.
      	(workbook_cmd_format_row_height) : And the action into here.  Use
      	  the appropriate commands to get undo support.
      	(workbook_cmd_format_row_auto_fit) : Use workbook_cmd_format_row_height.
      
      	* src/selection.c (sheet_row_selection_type) : moved from sheet.c
      	(sheet_col_selection_type) : moved from sheet.c
      	(sheet_selection_full_cols) : new routine.
      	(sheet_selection_full_rows) : new routine.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Don't jump
      	  directly to the edit line with F2.  Start editing in sheet first.
      
      	* src/selection.c (selection_foreach_range) : Add the option of
      	  iterating the list backwards.
      
      	* src/workbook-cmd-format.c (cb_colrow_collect) : New function.
      
      	* src/workbook-cmd-format.c (workbook_cmd_format_column_width) : Fix.
      	(workbook_cmd_format_row_height) : Fix.
      
      	* src/sheet-object-graphic.c (sheet_object_graphic_update_bounds) :
      	  new function.
      	(sheet_object_filled_new_view) : Set the bounds when a new view is
      	  constructed.  DO NOT rely on the realized list, new objects are not
      	  added until AFTER construction.
      	* src/sheet-object.c (sheet_object_update_bounds) : delete.
      
      2000-09-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (cellref_relocate) : Return more information so that we
      	  can differentiate relocating rows, cols, or both.
      	(cellrange_relocate) : Use the new information to extend the
      	  heuristic for when to relocate a range.  In the past we assumed that
      	  unless both ends of the range were moving we should not do the
      	  relocation.  It seems that there are other cases which will also
      	  relocate.  When inserting/deleting rows/cols or cutting a region
      	  that includes an entire side of the source region we should
      	  relocate.
      	  Sadly this patch is incomplete.  It relocates too much now.
      	  If you cut B2 and paste it into B3 the source region A1:B2 will
      	  resize to A1:B3 even though it should not.  At least ins/del row/col
      	  will now work.
      
      2000-09-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (create_bonobo_object) : Fixed.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_new_from_oid) :
      	  Delete duplicate function.
      
      2000-09-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_ins_del_row_col_{undo,redo}) : Insert/delete
      	  rows/cols clears the cut buffer.  Copies are preserved.
      
      	* src/sheet-object.c (cb_obj_create_button_release) :  remove the
      	  bonobo specific file handling.  That is to be done earlier
      	  or in a different place.  This routine is strictly for placement,
      	  not content.
      	(sheet_mode_clear) : Move the deactivation here for now.  Hopefully
      	  move it to a virtual.
      
      	* src/about.c (dialog_about) : suppress warning.
      01af4e73
  29. 11 Sep, 2000 2 commits
    • Jody Goldberg's avatar
      Add the missing menu elements. · 7e4e50b8
      Jody Goldberg authored
      
      2000-09-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric.xml : Add the missing menu elements.
      
      	* src/workbook.c (verbs) : Add some of the missing elements.
      	(insert_object_cmd) : Suppress some warnings.
      
      	* src/sheet-object-container.c (sheet_object_container_new_file) :
      	  suppress warning.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_new_from_oid) :
      	  suppress warning.
      7e4e50b8
    • 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
  30. 12 Jul, 2000 1 commit
    • Michael Meeks's avatar
      add bonobo_shutdown. · c9f44cc8
      Michael Meeks authored
      2000-07-12  Michael Meeks  <michael@helixcode.com>
      
      	* src/main.c (gnumeric_main): add bonobo_shutdown.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_destroy): unref not
      	destroy the bonobo object.
      
      	* src/sheet-object-container.c (item_destroyed): ditto.
      
      	* src/sheet-vector.c (sheet_vector_new): ditto.
      
      2000-07-07  Michael Meeks  <michael@helixcode.com>
      
      	* src/file.c (do_save_as, dialog_query_load_file): make check less
      	stringent for fnames if using bonobo.
      
      	* src/functions/fn-financial.c (coupdaybs): add brackets.
      
      	* src/sheet-object.c (sheet_object_stop_editing): NULL the
      	current_object.
      c9f44cc8
  31. 05 Jul, 2000 1 commit
    • Michael Meeks's avatar
      implement. (write_mem_to_storage): implement. (create_xml_bonobo_stream): · ed8df623
      Michael Meeks authored
      2000-07-05  Michael Meeks  <michael@helixcode.com>
      
      	* src/bonobo-io.c (write_stream_to_storage): implement.
      	(write_mem_to_storage): implement.
      	(create_xml_bonobo_stream): create.
      	(xml_input_read_cb):
      	(xml_input_close_cb):
      	(hack_xmlSAXParseFile): copy from libxml.
      
      	* src/sheet-object.c (sheet_object_drop_file): update; this should
      	be totaly re-written.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load): clean up.
      
      	* src/sheet-object-item.c (sheet_object_item_new): remove,
      	redundant; re-tool calls to sheet_object_container_new_object.
      
      	* src/sheet-object.c (create_object): rename the one use.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_object_id):
      	remove activation logic.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_destroy): free
      	object_id. (sheet_object_bonobo_construct): do activation in here.
      	(sheet_object_bonobo_get_object_iid): implement.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_goadid):
      	rename to (sheet_object_container_new_object): this.
      
      	* src/xml-io.c (xml_write_sheet_object): add bonobo io.
      	(xml_read_sheet_object): add bonobo and re-scope vars.
      	(xml_parse_ctx_new_full): implement.
      
      	* src/main.c (gnumeric_main): add bonobo_io_init.
      
      	* src/xml-io.c (xml_parse_ctx_init): implement,
      	(xml_parse_ctx_shutdown): ditto.
      	(xml_workbook_write): moved
      	(gnumeric_xml_write_workbook): s/parse_xml_context_t/XmlParseContext/
      
      	* src/xml-io.c (xml_workbook_read): publicise.
      	(xml_workbook_write): ditto.
      
      2000-07-04  Michael Meeks  <michael@helixcode.com>
      
      	* src/about.c (dialog_about): sort alphabeticaly.
      ed8df623
  32. 26 Jun, 2000 1 commit
    • Michael Meeks's avatar
      return non-filenames as NULL. · c13cb208
      Michael Meeks authored
      2000-06-26  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object-bonobo.c (get_file_name): return non-filenames
      	as NULL.
      c13cb208
  33. 13 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      - Initial version of formula guru · 489a4201
      Jody Goldberg authored
      - Some extensions to auto-fill
      - Slight reorg of Bonobo support.
      
      2000-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Enable the formula guru, make WorkbookPrivate hold
      	  the BonoboObject in the ENABLED_BONOBO case.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Disconnect any gurus
      	  that may be up.
      	(entry_changed) : Do not autocomplete expressions.  Gurus play havoc
      	  with this.
      	(workbook_edit_auto_complete_init) : Delete unused.
      	(workbook_get_entry_logical) : New function.
      	(workbook_set_entry) : New function.
      	(workbook_edit_attach_guru) : New function.
      	(workbook_edit_detach_guru) : New function.
      	(workbook_editing_expr) : When a guru is up we are always editing an
      	  expression. TODO, tune this.
      	(workbook_edit_load_value) : Moved from Sheet, and renamed from
      	  sheet_load_cell_val.
      	(workbook_edit_init) : Handle gurus.
      
      	* src/sheet.c (sheet_destroy_cell_select_cursor) : Make clearing optional.
      
      	* src/sheet-vector.c (sheet_vector_new) : The vectors are
      	  BonoboObjects, destroy them correctly.
      	(sheet_vectors_shutdown) : Ditto.
      
      	* src/sheet-object.c (sheet_set_mode_type_full) : Silence warning.
      	(sheet_object_insert) : Renamed from sheet_insert_object and moved
      	  from sheet.c
      
      	* src/pixmaps.h : Enable the Formula guru.
      
      	* src/parser.y (arg_list) : Improve handling of empty arguments.
      
      	* src/gnumeric-sheet.c (selection_remove_selection_string) : Use
      	  workbook_get_entry_logical.
      	(selection_insert_selection_string) : Ditto.
      	(start_cell_selection_at) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.
      
      	* src/workbook-private.[ch] : Make this into a Bonobo Object for now.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : Use
      	  workbook_new_with_sheets.
      	(embeddable_grid_new) : WorkbookPrivate is temporarily the bonobo
      	  object.
      
      	* src/history.c (history_menu_item_create) : Ditto.
      	(history_menu_locate_separator) : Ditto.
      	(history_menu_insert_separator) : Ditto.
      	(history_menu_remove_items) : Ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : Ditto.
      	* src/sheet-object-container.c (sheet_object_container_realize) : Ditto.
      
      	* src/workbook-view.c (workbook_view_set_paste_special_state) : Ditto.
      	(change_menu_label) : Ditto.
      
      	* src/file.c (workbook_try_read) : Workbook is now always just a
      	  GtkObject.
      	(workbook_import) : Ditto.
      
      	* src/formats.c (cell_format_date) : Add some new formats.
      
      	* src/format.c (find_decimal_char) : Restore constness.
      	(format_remove_decimal) : Fix the const correctly.
      
      	* src/commands.c (cmd_ins_del_row_col_redo) : Fix to use the new
      	  semantics.
      
      2000-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (fill_item_destroy) : Free the format.
      	(fill_item_new) : Handle filling by month and year.
      	(autofill_compute_delta) : Ditto.
      	(autofill_cell) : Ditto.
      
      	* src/formats.c (cell_format_is_number) : currently handle the single
      	  character currencies.
      	(cell_format_date) : year only formats.
      
      2000-06-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : Minor
      	  optimization.
      489a4201
  34. 29 May, 2000 1 commit
    • Michael Meeks's avatar
      update for new PersistStream API. · 6f789f04
      Michael Meeks authored
      2000-05-27  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load),
      	(sheet_object_bonobo_load_from_file): update for new PersistStream API.
      
      	* configure.in (gnumeric_executable): check for bonobo 0.14
      6f789f04
  35. 14 Apr, 2000 2 commits
    • Michael Meeks's avatar
      s/ENABLE_BONOBO_PRINT/ENABLE_BONOBO/ · 2ce65cc9
      Michael Meeks authored
      2000-04-14  Michael Meeks  <michael@helixcode.com>
      
      	* src/*: s/ENABLE_BONOBO_PRINT/ENABLE_BONOBO/
      2ce65cc9
    • Michael Meeks's avatar
      Make component printing, at least in the non-scissored case work. · 8a4b4824
      Michael Meeks authored
      2000-04-14  Michael Meeks  <michael@helixcode.com>
      
      	* src/print.c (print_job_info_get): setup sheet object list.
      	(print_job_info_destroy): check it. (print_sheet_range): build a list of
      	pre-printed sheet objects. (print_page_object): updated.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_print): simplify muchly
      	to new API.
      8a4b4824
  36. 10 Apr, 2000 1 commit
    • Dom Lachowicz's avatar
      Minor bonobo print fixes ( preprocessed out of course ) · 452d4e17
      Dom Lachowicz authored
      Dom's s/private/priv/
      
      2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
      
       	* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
       	future writes a plugin / module written in C++
      
       	* src/sheet.c (sheet_new, sheet_flag_status_update_cell,
       	sheet_flag_status_update_page, sheet_update, sheet_destroy,
       	sheet_set_edit_pos, sheet_insert_cols, sheet_delete_cols,
       	sheet_insert_rows, sheet_delete_rows, sheet_restore_row_col_sizes,
       	sheet_col_set_size_pts, sheet_col_set_size_pixels,
       	sheet_row_set_size_pts, sheet_row_set_size_pixels): Same
      
       	* src/corba-sheet.c (sheet_corba_setup, sheet_corba_shutdown): Same
      
       	* src/corba-workbook.c (corba_sheet): Same
      
       	* src/embeddable-grid.c (Grid_get_sheet): Same
      
       	* src/sheet-vector.c (sheet_vector_attach, sheet_vector_detach,
       	sheet_vectors_cell_changed, sheet_vectors_shutdown): Same
      452d4e17