1. 24 Jan, 2001 2 commits
    • Jody Goldberg's avatar
      save the merged regions. (clipboard_release) : cleanup merged regions. · b18b73be
      Jody Goldberg authored
      
      2001-01-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_copy_range) : save the merged regions.
      	(clipboard_release) : cleanup merged regions.
      
      	* src/commands.c (cmd_merge_cells_redo) : move the non-corner content
      	  clearing from here.
      	* src/sheet-merge.c (sheet_merge_add) : to here.  Apply the style from
      	  the corner to the entire region.
      
      	* src/sheet.c (sheet_range_set_text) : clear range_filled merged
      	  regions.
      
      	* src/item-grid.c (item_grid_draw) : borders & grids for merged cells.
      
      2001-01-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (style_row) : move the clearing of grid lines
      	* src/item-grid.c (item_grid_draw) : from here.
      b18b73be
    • Morten Welinder's avatar
      Implement search-and-replace in range. · 3555777c
      Morten Welinder authored
      2001-01-23  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_search_replace_do): Implement
       	search-and-replace in range.
      3555777c
  2. 16 Jan, 2001 3 commits
    • Jody Goldberg's avatar
      Borders now work. We still don't handle the intersection cases properly. · 925863b2
      Jody Goldberg authored
      And the top and left of merged cells will look odd.
      
      2001-01-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (sheet_style_get_uniform) : don't leak border ref.
      
      	* src/workbook.c (workbook_sheet_delete) : disable the undo/redo
      	  combos when we clear the undo stack.
      
      2001-01-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (style_row) : don't apply none to a cleared
      	  border.
      
      	* src/sheet-style.h (StyleRow) : const.
      
      	* src/mstyle.c (mstyle_get_color) : const.
      
      	* src/pattern.c (gnumeric_background_set_gc) : remove duplicate
      	  test, const.
      
      2001-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : rewrite.
      
      	* src/sheet-control-gui.c (sheet_view_redraw_cell_region) : make the
      	  borders wider.
      
      	* src/commands.c (cmd_format) : if there are no borders there is no
      	  need to save the surroundings.
      
      	* src/selection.c (selection_contains_colrow) : const
      
      	* src/sheet-style.c (get_style_row) : Fix stupidity.
      	(style_row) : ditto.
      
      2001-01-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell-draw.c (cell_draw) : const.
      
      	* src/pattern.c (gnumeric_background_set_gc) : const.
      	(gnumeric_background_set_pc) : const.
      
      	* src/sheet-control-gui.c (sheet_view_selection_ant) : No more 'grid'
      	  argument.
      
      	* src/item-grid.c : privatize the structure in preparation for panes.
      
      	* src/item-edit.c (entry_create_feedback_range) : no more grid
      	  argument.  Use scg instead.
      	(item_edit_set_arg) : ditto.
      
      	* src/item-cursor.c (item_cursor_set_arg) : delete the GRID argument
      	  it was useless.
      
      	* src/gnumeric-sheet.c (start_cell_selection_at) : Avoid casting the
      	  result of a function call.  Remove setting 'Grid' deleted argument.
      	(gnumeric_sheet_new) : No more Grid argument.
      
      	* src/preview-grid.c (preview_grid_draw_border) : moved here from
      	  item-grid.
      925863b2
    • Morten Welinder's avatar
      Gripe over leak. · 4fd05d73
      Morten Welinder authored
      4fd05d73
    • Morten Welinder's avatar
      Gripe. · 6a590f60
      Morten Welinder authored
      6a590f60
  3. 12 Jan, 2001 2 commits
    • Jody Goldberg's avatar
      new function. (sheet_style_get_extent) : quick easy implementation. · 4b40747a
      Jody Goldberg authored
      
      2001-01-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (cb_style_extent) : new function.
      	(sheet_style_get_extent) : quick easy implementation.
      4b40747a
    • Jody Goldberg's avatar
      Rework the style engine. Mostly functional. see BUGS for remaining details. · 9e615b65
      Jody Goldberg authored
      NOTE : I have not tested persistance.
      
      2001-01-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mstyle.c (mstyle_ref_multiple) : new function.
      	(mstyle_copy_merge) : new function.
      	(mstyle_new_default) : Do not cache the result.  That is done at the
      	  sheet level.
      	(mstyle_do_merge) : delete.
      	(mstyle_get_format) : constness.
      
      	* src/format-template.c (cb_format_sheet_border) : delete.
      	(format_template_apply_to_sheet_regions) : borders are no longer special.
      
      	* src/expr.c (expr_tree_array_formula_corner) : do not store the
      	  corner anymore.
      	(expr_tree_new_array) : ditto.
      	(do_expr_tree_unref) : ditto.
      
      	* src/cell.c (cell_relocate) : Arrays are simplified.  No need to keep
      	  a pointer to the corner.  It made the system too brittle.
      	(cell_set_mstyle) : delete.
      
      	* src/Makefile.am : remove test.[ch]
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_find_{col,row}) : There is no
      	  1 pixel border.
      
      2001-01-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mstyle.h : Change order of borders to match BorderLocation
      
      2001-01-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (range_has_header) : avoid leaking styles.
      
      	* src/cell.c (cell_get_mstyle) : Use sheet_style_get, and do not bump
      	  the ref count.
      	(cell_render_value) : Adjust.
      	(cell_get_format : Adjust.
      	(cell_set_text) : Adjust.
      
      	* src/functions/fn-information.c (gnumeric_cell) : sheet_style_get
      	  does not make a reference. Use it.
      	* src/workbook-format-toolbar.c (modify_cell_format) :  Ditto.
      	(change_selection_font) : Ditto.
      	* src/sheet-autofill.c (fill_item_new) : ditto.
      	* src/print-cell.c (print_cell_range) : ditto.
      	* src/cellspan.c (cell_calc_span) : ditto.
      	* src/sheet.c (sheet_cell_set_text) : ditto.
      	* src/rendered-value.c (rendered_value_calc_size) : ditto.
      	* src/workbook-view.c (wb_view_format_feedback) : ditto.
      
      2001-01-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c (dialog_cell_format) :
      	  init initial style to NULL.
      	(fmt_dialog_selection_type) : call sheet_style_get_uniform here.
      
      	* src/commands.c (cmd_format_redo) : Now that apply_border is not
      	  doing a redraw we need to if there is no style applied.
      
      	* src/selection.c (sheet_selection_extend_to) : Add support akin to
      	  gnumeric_sheet_rangesel_cursor_extend to extend to full col/row.
      
      	* src/sheet-control-gui.c (scg_colrow_select) : extend to full col/row
      	  if necessary.
      
      	* src/item-bar.c (item_bar_event) : Set the selection, not extend it.
      9e615b65
  4. 11 Jan, 2001 1 commit
  5. 04 Jan, 2001 2 commits
    • 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
    • Jody Goldberg's avatar
      check for array violations. Clear the target range. This will allow entire · d2abef52
      Jody Goldberg authored
      
      2001-01-03  Jody Goldberg <jgoldberg@home.com>
      
      	* 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.
      d2abef52
  6. 30 Dec, 2000 3 commits
    • Jody Goldberg's avatar
      Update a few icons for mor consitancy. · f461d28d
      Jody Goldberg authored
      2000-12-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell-draw.c (cell_draw) : sync drawing with
      	* src/print-cell.c (print_cell) : printing.
      
      	* src/item-grid.c (item_grid_draw) : sync drawing with
      	* src/print-cell.c (print_cell_range) : printing.
      	(print_merged_range) : new function, sort of works.  We need to draw
      	  grids AFTER content to avoid this sort of sillyness.
      f461d28d
    • Jody Goldberg's avatar
      update · cd5157c7
      Jody Goldberg authored
      cd5157c7
    • Jody Goldberg's avatar
      Split merge cell support into a seperate file to decrease the size of sheet.c · afb5ea6f
      Jody Goldberg authored
      Add merged cell support to autofill.
      
      2000-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (sheet_autofill_dir) : support merged cells.
      	(fill_item_new) : Ditto.
      
      	* src/sheet.c
      	(sheet_merge_add) : rename
      	(sheet_merge_remove) : rename
      	(sheet_merge_get_overlap) : rename
      	(sheet_merge_contains_pos) : rename
      	(sheet_merge_is_corner) : rename
      	(sheet_merged_relocate) : rename
      	(sheet_merge_get_adjacent) : rename
      
      	* src/rendered-value.c (rendered_value_new) : Use
      	  sheet_merge_is_corner rather than sheet_region_get_merged_cell.
      afb5ea6f
  7. 29 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      support merged cells. · 7008d180
      Jody Goldberg authored
      
      2000-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_redraw_cell_region) : support merged cells.
      
      	* src/style.c (style_font_new_simple) : guestimate width.
      	(style_font_get_width) : new function.
      
      	* src/rendered-value.c (rendered_value_new) : appoximate with via pts.
      	  handle merged cells.
      
      2000-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_region_unmerge) : untag an existing cell as being
      	  merged.
      	(sheet_cell_remove_from_hash) : ditto.
      	(sheet_region_merge) : tag an existing cell as being merged.
      	(sheet_cell_add_to_hash) : ditto.
      
      	* src/item-edit.c (recalc_spans) : support merged cells.
      
      2000-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_read_cell) : Early versions had newlines at the
      	  end of their content
      
      	* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : no need to update
      	  object positions, we have already moved them.
      
      2000-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (GNUMERIC_MAKE_COMMAND_WITH_PARENT) : new macro.
      	(update_after_action) : new function to localize calls to
      	  sheet_update, dirty, recalc.
      	(GnumericCommand) : Add a sheet to help localize repeated calls to
      	  sheet_update, dirty, recalc.
      	(command_undo) : Call update_after_action.
      	(command_redo) : Call update_after_action.
      	(command_push_undo) : Call update_after_action.
      	(cmd_*_{undo,redo}) : remove calls to sheet_update, dirty, recalc.
      	(cmd_*) : set the sheet.
      	(cmd_paste_cut_update_origin) : new function.
      	(cmd_paste_cut_undo) : call cmd_paste_cut_update_origin.
      	(cmd_paste_cut_redo) : ditto.
      
      	* src/commands.c (CmdMergeCells) : inherit from CmdUnmergeCells to
      	  facilitate reuse and implement.
      7008d180
  8. 28 Dec, 2000 1 commit
  9. 27 Dec, 2000 2 commits
    • Jody Goldberg's avatar
      hook up the commands. (cb_merge_cells) : ditto. Although merge is not yet · f678e4ba
      Jody Goldberg authored
      
      2000-12-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (cb_unmerge_cells) : hook up the
      	  commands.
      	(cb_merge_cells) : ditto.  Although merge is not yet implemented.
      
      	* src/sheet.c (sheet_update_only_grid) : Add support for repositioning
      	  the selection.
      	(sheet_region_unmerge) : set the flag here.
      	(sheet_region_merge) : and here.
      
      	* src/commands.c (cmd_unmerge_cells) : implement.
      	(cmd_unmerge_cells_destroy) : ditto.
      	(cmd_unmerge_cells_redo) : ditto.
      	(cmd_unmerge_cells_undo) : ditto.
      f678e4ba
    • Jody Goldberg's avatar
      fix old off by 1 error. · cbfeec73
      Jody Goldberg authored
      
      2000-12-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (cb_move_cursor) : fix old off by 1 error.
      
      	* src/workbook-format-toolbar.c (workbook_format_toolbar)
      	  merge/unmerge are not toggle items.
      
      	* src/gnumeric.xml : Add entries for merge/unmerge.
      
      	* s/MStyleBorder/StyleBorder/
      cbfeec73
  10. 26 Dec, 2000 1 commit
  11. 25 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      clean up includes. · 0ae4c759
      Jody Goldberg authored
      
      2000-12-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.h : clean up includes.
      0ae4c759
  12. 20 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Make test for simplicity smarter. · 2862c5d8
      Jody Goldberg authored
      2000-12-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (selection_is_simple) : Handle merged cells and
      	  arrays.
      
      	* src/sheet.c (sheet_relocate_merged) : new function.
      
      	* src/sheet-object.c (sheet_relocate_objects) : we only need to move
      	  objects in the origin zone.
      2862c5d8
  13. 19 Dec, 2000 2 commits
  14. 18 Dec, 2000 2 commits
    • Morten Welinder's avatar
      don't sort ranges with arrays. · a2b50dfc
      Morten Welinder authored
      a2b50dfc
    • Jody Goldberg's avatar
      support singletons. · b26a9499
      Jody Goldberg authored
      
      2000-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (parse_range) : support singletons.
      
      	* src/sheet-object.c (sheet_object_write_xml) : Store the anchor
      	  descriptor.
      	(sheet_object_read_xml) : restore the descriptor.
      b26a9499
  15. 17 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      support merged cells fully. (sheet_find_boundary_vertical) : Ditto. · 01660787
      Jody Goldberg authored
      
      2000-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_find_boundary_horizontal) : support merged cells
      	  fully.
      	(sheet_find_boundary_vertical) : Ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_set_cursor_bounds) : Remove
      	  unnecessary sanity checks.
      	(cursor_horizontal_move) : pass the base row.
      	(cursor_vertical_move) : Ditto.
      	(rangesel_horizontal_move) : Ditto.
      	(rangesel_vertical_move) : Ditto.
      	(rangesel_horizontal_extend) : Ditto.
      	(rangesel_vertical_extend) : Ditto.
      
      	* src/selection.c (sheet_selection_extend) : Pass the base row/col.
      	* src/item-cursor.c (item_cursor_selection_event) : Ditto.
      01660787
  16. 09 Dec, 2000 2 commits
    • Jody Goldberg's avatar
      rename from sheet_selection_set and add the 'just_add_it' flag to indicate · dfdabc14
      Jody Goldberg authored
      
      2000-12-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_set_internal) : rename from
      	  sheet_selection_set and add the 'just_add_it' flag to indicate that
      	  we don't need to do anything fancy.
      dfdabc14
    • Jody Goldberg's avatar
      Always clear the timer. · 0856537d
      Jody Goldberg authored
      
      2000-12-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_comment_display) : Always clear the
      	  timer.
      
      	* src/gnumeric-util.c (gnumeric_entry_at_subexpr_boundary_p)
      	: Add '<' '>'.  Bug 34642
      0856537d
  17. 07 Dec, 2000 1 commit
  18. 05 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Init the selection descriptor and format format. (wb_view_selection_desc) · 20e35ce1
      Jody Goldberg authored
      
      2000-12-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (wb_view_sheet_focus) : Init the selection
      	  descriptor and format format.
      	(wb_view_selection_desc) : new function.
      	(workbook_view_init) : Init the expression and format before setting
      	  the current sheet.  Setting the sheet will update the content.
      
      	* src/workbook-control.c (wb_control_sheet_add) : Init the format,
      	  edit line, and selection descriptor.
      
      	* src/selection.c (sheet_get_selection_name) : Delete.
      	(sheet_selection_extend_to) : Use wb_view_selection_desc.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_release) : Use
      	  wb_view_selection_desc.
      	* src/item-grid.c (item_grid_event) : Ditto.
      20e35ce1
  19. 04 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Call sheet_relocate_objects. (sheet_move_range) : Ditto. · 76932d33
      Jody Goldberg authored
      
      2000-12-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : Call
      	  sheet_relocate_objects.
      	(sheet_move_range) : Ditto.
      
      	* src/sheet-object.c (sheet_object_unrealize) : restore this routine.
      	(sheet_object_destroy) : Use it here.
      	(sheet_object_position) : renamed from sheet_object_reposition.
      	(sheet_relocate_objects) : new routine.  Only handles current anchor
      	  format.  Will need to extend this.
      
      	* src/item-bar.c (item_bar_event) : Exit object edit mode when a
      	  button presses on the itembar.
      76932d33
  20. 02 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Change image viewers. The eog/bonobo viewer is no longer built or · 3916b17f
      Jody Goldberg authored
      2000-12-02  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_read_Blip) : Change image viewers.  The
      	  eog/bonobo viewer is no longer built or installed.
      
      	* ms-excel-read.c (ms_excel_read_sheet) : XL docs do not mention that
      	  the PROTECT record can sometimes be of size 0.
      	(ms_excel_read_workbook) : Ditto.
      	(ms_excel_read_PROTECT) : new function.
      	(ms_excel_read_mergecells) : Correct.
      	(biff_xf_data_new) : remove the warnings about merged cells.
      
      2000-12-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (cellrange_relocate) : fix the logic that was broken when
      	  supporting the partial ranges.
      	(cellref_relocate) : move some of the code here, to decrease
      	  replication.
      3916b17f
  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. 20 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Use a more conventional approach to path seperators. Adjust here. · 982d6c10
      Jody Goldberg authored
      
      2000-11-20  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Use a more conventional approach to path seperators.
      	* src/gutils.c (gnumeric_usr_dir) : Adjust here.
      	(gnumeric_sys_data_dir) : and here.
      	(gnumeric_sys_lib_dir) : and here.
      
      2000-11-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_clone_selection) : Fix.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : If the merged region
      	  is fully selected paint it as such.
      
      	* src/selection.c (sheet_is_full_range_selected) : new function.
      	(sheet_selection_set) : support merged cells.
      982d6c10
  23. 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
  24. 17 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Add config test. Implement test here. and here. · cac9224e
      Jody Goldberg authored
      
      2000-11-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_month_before_day) : Add config test.
      	* configure.in : Implement test here.
      	* config.h.in : and here.
      
      2000-11-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_update_only_grid) : split from sheet_update.
      	(sheet_update) : call sheet_update_only_grid.
      cac9224e
  25. 15 Nov, 2000 1 commit
    • 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
  26. 14 Nov, 2000 1 commit
  27. 13 Nov, 2000 1 commit
  28. 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
  29. 10 Nov, 2000 1 commit