1. 30 Sep, 2001 1 commit
  2. 29 Sep, 2001 1 commit
  3. 19 Sep, 2001 1 commit
  4. 18 Sep, 2001 4 commits
  5. 17 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      add some protection. · e0a6e33c
      Jody Goldberg authored
      2001-09-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_cell_new) : add some protection.
      e0a6e33c
  6. 16 Sep, 2001 1 commit
  7. 15 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      reference v8, and make Max{Col,Row} optional. · e2b84d4e
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric.xsd : reference v8, and make Max{Col,Row} optional.
      
      	* src/xml-io.c : bump the name space version to reflect the schema
      	  and move the location of the dtd and schema to somewhere we control.
      	(xml_workbook_write) : reference the schema.
      	(xml_sheet_write) : The name space is always available already.
      e2b84d4e
  8. 14 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      if we are displaying the parse fmt because the assigned fmt is General · 1dbce43d
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (fmt_dialog_init_format_page) : if we are
      	  displaying the parse fmt because the assigned fmt is General
      	  then select the parse fmt in the dialog.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
      	  symetry with the guppi implementation.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-color.c (style_color_new_name) : new utility.
      
      	* src/gnumeric-graph.c : cleanup the debug info.
      	(gnm_graph_get_spec) : make public and add some protection.
      
      	* src/number-match.c : remove format_parse_t and merge it with
      	  StyleFormat.
      	(format_match_release) : new routine split from format_match_finish.
      	(format_match_finish) : just unref the StyleFont.
      	(format_match_create) : tweaking the calling convention and rename
      	  format_match_define.
      	(format_match_init) : manage the format_match_list here.
      	(format_match) : Match against the currently assigned format first
      
      	* src/format.c : clean the includes.
      	Make _StyleFormat public for sharing with number-match.c
      	(format_compile) : call format_match_create.
      	(format_destroy) : call format_match_release.
      	(format_color_init) : use style_color_new_name.
      	(style_format_new_XL) : init the new regexp elements to NULL.
      
      	* src/bonobo-io.c (gnumeric_bonobo_io_init) : name this better.
      
      	* src/sheet-control-gui.c (scg_object_update_bbox) : add some
      	  protection.
      1dbce43d
  9. 10 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      For Wayne Schuller <k_wayne@linuxpower.org> new. (header_changed) : use · d1f42fd0
      Jody Goldberg authored
      2001-09-10  Jody Goldberg <jgoldberg@home.com>
      	For Wayne Schuller <k_wayne@linuxpower.org>
      	* dialog-printer-setup.c (display_hf_sample) : new.
      	(header_changed) : use it.
      	(footer_changed) : use it.
      	(do_setup_hf_menus) : use it.
      	(fill_hf) : be smarter.
      	(text_insert) : delete.
      	(do_hf_config) : Use GtkEntry and setup the Accept links.
      d1f42fd0
  10. 06 Sep, 2001 4 commits
  11. 05 Sep, 2001 1 commit
  12. 31 Aug, 2001 2 commits
  13. 20 Aug, 2001 2 commits
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · 23a9ee2c
      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.
      23a9ee2c
    • Morten Welinder's avatar
      59141 · 442f0c60
      Morten Welinder authored
      442f0c60
  14. 11 Aug, 2001 1 commit
  15. 10 Aug, 2001 2 commits
  16. 09 Aug, 2001 1 commit
  17. 06 Aug, 2001 4 commits
  18. 30 Jul, 2001 1 commit
    • 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
  19. 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
  20. 28 Jul, 2001 1 commit
  21. 27 Jul, 2001 1 commit
  22. 19 Jul, 2001 1 commit
  23. 18 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Fix. SheetControl no longer inherits from Table it now contains it. · 972110b3
      Jody Goldberg authored
      2001-07-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_sheet_move) : Fix.
      	  SheetControl no longer inherits from Table it now contains it.
      
      	* src/sheet-control-gui.c (cb_sheet_object_view_destroy) : rename from
      	  cb_sheet_object_destroy.
      
      	* src/sheet-object.c (cb_sheet_object_configure) : Use
      	  sheet_object_view_obj and sheet_object_view_control.
      	(sheet_object_view_destroyed) : remove the sheetcontrol key from the
      	  view when it is destroyed.  And remove our reference to the control.
      	(sheet_object_new_view) : give the view a ref of the control.
      
      	* src/item-grid.c (item_grid_draw) : only draw bound lines at pane
      	  bounds.
      
      	* src/item-bar.c (item_bar_event) : dont draw the resize bar past the
      	  minimum size.
      972110b3
  24. 17 Jul, 2001 2 commits
    • Jody Goldberg's avatar
      update · 0b34e16e
      Jody Goldberg authored
      0b34e16e
    • Jody Goldberg's avatar
      xml sax import for the new frozen pane support. · 11ef7202
      Jody Goldberg authored
      2001-07-16  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_attr_cellpos) : new function.
      	(xml_sax_sheet_layout) : new function.
      	(xml_sax_sheet_freezepanes) : new function.
      	(xml_sax_start_element) : handle the new states.
      11ef7202
  25. 15 Jul, 2001 1 commit
  26. 14 Jul, 2001 2 commits
    • Jody Goldberg's avatar
      update · 84dcfe7d
      Jody Goldberg authored
      84dcfe7d
    • 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