1. 18 Dec, 2000 7 commits
  2. 17 Dec, 2000 6 commits
    • Jody Goldberg's avatar
      fix cut-n-paste-o. (rangesel_vertical_move) : Ditto. · 861334d1
      Jody Goldberg authored
      
      2000-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (cursor_vertical_move) : fix cut-n-paste-o.
      	(rangesel_vertical_move) : Ditto.
      861334d1
    • 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
    • Almer S. Tigelaar's avatar
      Pass desired format to format_match to preserve certain formatting · 79ad1ff4
      Almer S. Tigelaar authored
      2000-12-17  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/dialogs/dialog-stf-preview.c (stf_preview_format_line) :
      	Pass desired format to format_match to preserve certain formatting
      	information which would previously have been lost.
      
      	* src/stf.c (stf_read_workbook) : First apply the styles to
      	the sheet and then fill the contents of the cells instead of
      	vice versa.
      79ad1ff4
    • Morten Welinder's avatar
      Made a little more consistent in style. · e0326202
      Morten Welinder authored
      2000-12-17  Morten Welinder  <terra@diku.dk>
      
      	* src/about.c (dialog_about): Made a little more consistent in
       	style.
      e0326202
    • Jody Goldberg's avatar
      no need to normalize. (sheet_cursor_set) : no need to normalize. · 523cc03f
      Jody Goldberg authored
      
      2000-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_new_sheet_view) : no need to normalize.
      	(sheet_cursor_set) : no need to normalize.
      
      	* src/item-cursor.c (item_cursor_set_bounds) : Add a notion of
      	  move_corner and base_corner.
      
      	* src/gnumeric-sheet.c
      	(cursor_horizontal_move) : renamed from move_cursor_horizontal.
      	(cursor_horizontal_extend) : renamed from move_horizontal_selection.
      	(cursor_vertical_move) : renamed from move_cursor_vertical.
      	(cursor_vertical_extend) : renamed from move_vertical_selection.
      	(gnumeric_sheet_selection_extend) : no need to normalize.  the
      	  item-cursor now does it for us.
      	(rangesel_horizontal_move) : renamed from selection_cursor_move_horizontal.
      	(rangesel_vertical_move) : renamed from selection_cursor_move_vertical.
      	(rangesel_horizontal_extend) : renamed from selection_expand_horizontal.
      	  Use the new item-cursor base/move corners.
      	(rangesel_vertical_extend) : renamed from selection_expand_vertical.
      	  Use the new item-cursor base/move corners.
      	(gnumeric_sheet_key_mode_sheet) : simplify.
      
      	* src/sheet.c (sheet_find_boundary_horizontal) : support merged cells.
      	(sheet_find_boundary_vertical) : ditto.
      	(sheet_set_edit_pos) : Add edit_pos vs edit_pos_real to improve merged
      	  cell support.
      	(sheet_region_get_merged_cell) : new function.
      
      	* src/gnumeric-sheet.c (move_cursor_horizontal) : Use edit_pos_real to
      	  improve handling for merged cells.
      	(move_cursor_vertical) : Ditto.
      	(start_cell_selection) : Ditto.
      523cc03f
    • Jody Goldberg's avatar
      support merged cells. (sheet_find_boundary_vertical) : ditto. · 17579c92
      Jody Goldberg authored
      
      2000-12-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_find_boundary_horizontal) : support merged cells.
      	(sheet_find_boundary_vertical) : ditto.
      	(sheet_set_edit_pos) : Add edit_pos vs edit_pos_real to improve merged
      	  cell support.
      	(sheet_region_get_merged_cell) : new function.
      
      	* src/gnumeric-sheet.c (move_cursor_horizontal) : Use edit_pos_real to
      	  improve handling for merged cells.
      	(move_cursor_vertical) : Ditto.
      	(start_cell_selection) : Ditto.
      
      2000-12-16  Jody Goldberg <jgoldberg@home.com>
      
      	s/Sheet::cursor::edit_pos/Sheet::edit_pos/
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_new) : No need to pass in the
      	  col/row items.  They are available from the sheet control.
      
      	* src/sheet-control-gui.c (sheet_view_construct) : signature change to
      	  gnumeric_sheet_new.
      17579c92
  3. 16 Dec, 2000 2 commits
    • Jody Goldberg's avatar
      No need to pass in the col/row items. They are available from the sheet · 5c96585d
      Jody Goldberg authored
      
      2000-12-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_new) : No need to pass in the
      	  col/row items.  They are available from the sheet control.
      
      	* src/sheet-control-gui.c (sheet_view_construct) : signature change to
      	  gnumeric_sheet_new.
      5c96585d
    • Jody Goldberg's avatar
      Tidy up the naming scheme a bit. s/row_col/colrow/ s/col_row/colrow/ · 30c9841e
      Jody Goldberg authored
      
      2000-12-15  Jody Goldberg <jgoldberg@home.com>
      
      	Tidy up the naming scheme a bit.
      	s/row_col/colrow/
      	s/col_row/colrow/
      	s/SheetSelection/Range/
      
      	* src/workbook-cmd-format.c (workbook_cmd_resize_selected_colrow) :
      	  Merged from workbook_cmd_format_column_width and.
      	  & workbook_cmd_format_row_height
      
      	* src/item-bar.c (item_bar_end_resize) : Call scg_colrow_size_set
      	  directly.
      	(item_bar_class_init) : remove the SIZE_CHANGED signal.
      
      	* src/selection.c (sheet_selection_full_cols_rows) : merge
      	  sheet_selection_full_cols & sheet_selection_full_rows.
      30c9841e
  4. 15 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Move the span handling here. from here. · 17fb06d4
      Jody Goldberg authored
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Move the span handling here.
      	* src/cell-draw.c (cell_draw) : from here.
      
      	* src/print-cell.c (print_cell_range) : Move the span handling here.
      	(print_cell) : rather than here.
      
      	* src/sheet-control-gui.c (scg_get_distance) : merge
      	  sheet_{row,col}_distance_get_pixels and make the result sheet
      	  control specific.
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_convert_expr_to_value) : rename from cell_make_value.
      
      	* src/format.c (format_number) : adjust signature to take the
      	  colwidth in preparation for supporting
      	(format_value) : pass in the width.
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/formats.c (currency_date_format_init) : correctly place currency
      	  before or after the value, and optionally include a space.
      
      	* src/format.c (format_get_currency) : include info on currency
      	  placement.
      
      2000-12-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_sheet_rename) : Handle renames that only
      	  change case more smoothly.
      17fb06d4
  5. 14 Dec, 2000 2 commits
  6. 12 Dec, 2000 1 commit
  7. 11 Dec, 2000 4 commits
  8. 10 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      comment out the warning. These the life cycles of names are too fluid to · e605d42e
      Jody Goldberg authored
      
      2000-12-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr-name.c (expr_name_invalidate_refs_sheet) : comment out the
      	  warning.  These the life cycles of names are too fluid to scare
      	  users yet.
      	(expr_name_invalidate_refs_wb) : Ditto.
      
      2000-12-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_text) : send the current format to the
      	  number matcher..
      	* src/sheet.c (sheet_cell_set_text) : Ditto.
      
      	* src/parse-util.c (parse_text_value_or_expr) : send the curent
      	  format to the number matcher.
      
      	* src/number-match.c (format_match) : take the current format as a
      	  parameter.  Begin using it to handle cells formated as text.
      
      	* src/format.c (style_format_is_text)  utility routine.
      
      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.
      e605d42e
  9. 09 Dec, 2000 4 commits
    • Jose Maria Celorio's avatar
      save the Changelog before comiting · 46c32b87
      Jose Maria Celorio authored
      46c32b87
    • Chema Celorio's avatar
      add NameGuruScope enums (name_guru_warn): warn when deleting a name that · d069b117
      Chema Celorio authored
      2000-12-09  Chema Celorio  <chema@celorio.com>
      
      	* dialog-define-names.c: add NameGuruScope enums
      	(name_guru_warn): warn when deleting a name that is beein used
      	(name_guru_scope_change): handle scope changes
      	(name_guru_set_expr): implement.
      	(name_guru_clear_selection): implement
      	(name_guru_in_list): implement
      	(name_guru_update_sensitivity): implement.
      	(cb_name_guru_select_name): clean
      	(name_guru_scope_get): implement
      	(cb_name_guru_add): fix
      	(name_guru_init): conect sensitivy after (see coment on code)
      
      2000-12-09  Chema Celorio  <chema@celorio.com>
      
      	* src/xml-io.c (xml_write_names): Always wrinte a <Names> node,
      	even if it is empty. (See coment on code for details)
      
      	* src/sheet.c (sheet_new): make sheet->names NULL.
      	(sheet_clone_names): free the list with g_list_free not g_free
      	(sheet_clone_names): add a warning about not duplicating
      	names yet.
      
      	* src/expr-name.h (expr_name_wb2sheet): add prototypes for
      	wb2sheet & sheet2wb
      
      	* src/expr-name.c (expr_name_unlink): new funct. Code form
      	expr_name_remove
      	(expr_name_remove): call expr_name_unlink
      	(expr_name_invalidate_refs_name): add a warning about this function
      	not beeing implemented
      	(expr_name_invalidate_refs_sheet): ditto
      	(expr_name_invalidate_refs_wb): ditto
      	(expr_name_sheet2wb): new funct. changed the scope of a NamedExpression
      	from sheet to workbook.
      	(expr_name_wb2sheet): not implemented yet. Workbook to sheet scope change
      d069b117
    • 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
    • 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
  10. 08 Dec, 2000 4 commits
    • Jody Goldberg's avatar
      From :Ade Lovett <ade@FreeBSD.org> typo. Ditto. · 4c67f86f
      Jody Goldberg authored
      
      2000-12-08  Jody Goldberg <jgoldberg@home.com>
      
      	From :Ade Lovett <ade@FreeBSD.org>
      	* templates/english/Makefile.am : typo.
      	* idl/Makefile.am : Ditto.
      
      2000-12-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_write_xml) : protect from missing
      	  virtual.
      	(sheet_object_read_xml) : Ditto.
      4c67f86f
    • Jody Goldberg's avatar
      Bump the version number · 87866747
      Jody Goldberg authored
      
      2000-12-07  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Bump the version number
      87866747
    • Jody Goldberg's avatar
      Release 0.60 · 07150826
      Jody Goldberg authored
      07150826
    • Jody Goldberg's avatar
      Use more of the new artwork. · 488219c2
      Jody Goldberg authored
      
      2000-12-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_context_menu) : Use more of the new
      	  artwork.
      
      2000-12-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_get_style_from_xf) : enable indent.
      488219c2
  11. 07 Dec, 2000 3 commits
  12. 06 Dec, 2000 2 commits
    • Jon K Hellan's avatar
      Rename to handle_ok. Make it check if current file selection is a · 773c3382
      Jon K Hellan authored
      2000-12-06  Jon K Hellan  <hellan@acm.org>
      
      	* src/file.c (set_ok): Rename to handle_ok. Make it check if
      	current file selection is a directory. If so, change to the
      	directory and continue selecting file.
      773c3382
    • 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
  13. 05 Dec, 2000 3 commits