1. 06 May, 2000 1 commit
    • Michael Meeks's avatar
      Add 3D dependency support. (cb_single_hash_to_list, · 479bddb8
      Michael Meeks authored
      2000-05-06  Michael Meeks  <michael@helixcode.com>
      	* src/eval.c (handle_cell_range_deps): Add 3D dependency support.
      	(cb_single_hash_to_list, cb_range_hash_to_list): Re-arrange handling of
      	where the list is collated. (do_deps_destroy): update.
      	(cell_drop_dependencies): remove cretinism here.
      	(drop_cell_range_dep, handle_cell_single_dep): return on NULL deps structure.
      	* src/sheet-style.c (sheet_style_attach): enable cache trash avoidance code.
      	* src/sheet.c (sheet_cell_remove_internal): short circuit for NULL
      	* src/expr.c (expr_rewrite): update to handle workbook case.
      	* src/eval.c (workbook_deps_destroy): update for speed.
      	(sheet_deps_destroy): split body into (do_deps_destroy): here.
      	* src/workbook.c (workbook_delete_sheet): destroy the sheet's
      	dependencies here as well; very silly. (workbook_do_destroy): destroy
      	deps of all sheets up front.
  2. 03 May, 2000 2 commits
    • Jody Goldberg's avatar
      Fix leak morten found. · 43002eb0
      Jody Goldberg authored
      Fix leak morten found.
      2000-05-03  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_set_array_formula) : Add some invariants to catch
      	  inverted arrays.  The function should use the supplier's
      	  reference.  It should not re-reference the supplied expression.
      	  Document this.
    • Jody Goldberg's avatar
      Begin to rationalize support for inverted and 3D references. · de62dd3a
      Jody Goldberg authored
      More renaming and movement name rationalization.
      Some minor improvements in the function wizard.
      2000-05-03  Jody Goldberg <jgoldberg@home.com>
      	* EvalPosition -> EvalPos
      	  ParsePosition -> ParsePos
      	  new struct RangeRef used in ValueRange
      	  eval_pos_init* -> position.[ch]
      	* src/workbook.c : Reorder the toolbar a bit.
      	(workbook_foreach_cell_in_range) : New function.
      	(cb_autofunction) : New routine.
      	(workbook_set_auto_expr) : DO NOT put real code into pre/post
      	  conditions.  It will be removed when debugging is eventually
      	* src/position.c (range_ref_normalize) : New function.
      	* src/ranges.c (range_normalize) : New function.
      	* src/expr.c (expr_implicit_intersection) : Use range_ref_normalize.
      	* src/eval.c (cell_eval_content) : No need to release the value.
      	  cell_assign_value already does that.
      	(dependency_range_ctor) : Use range_normalize.
      	* src/auto-format.c (do_af_suggest) : Use workbook_foreach_cell_in_range.
      	* src/cell.c (cell_set_expr_and_value) : link the new expression but
      	  do not queue it for recalc.
      	(cell_assign_value) : Release the old value.
      	(cell_copy) : Init the value to empty.
      	* src/func.c (function_iterate_do_value) : Use
      	* src/dialogs/dialog-function-wizard.c (create_description) : Use
      	  a label rather than a text entry widget.  It looks better.
      	* src/functions/fn-string.c (gnumeric_expression) : range is already
      	* src/functions/fn-stat.c (gnumeric_linest) : Handle inverted ranges.
      	(gnumeric_logest) : Ditto.
      	* src/functions/fn-information.c (gnumeric_countblank) : Use
      	(gnumeric_{row,column}) : Handle inversions.
      	* src/functions/fn-lookup.c (gnumeric_offset) : No need to make
      	  absolute.  The marshaller already did that.
      2000-05-02  Jody Goldberg <jgoldberg@home.com>
      	* src/eval.c (dependency_range_ctor) : normalize the range.
      	* src/xml-io.c (xml_write_cell_and_position) : Suppress warning.
      	* src/pixmaps.h : Add function wizard and equal sign.
  3. 01 May, 2000 1 commit
    • Jody Goldberg's avatar
      ExprName -> NamedExpression ArrayRef -> ExprArray · 8d168628
      Jody Goldberg authored
      2000-05-01  Jody Goldberg <jgoldberg@home.com>
      	* ExprName -> NamedExpression
      	  ArrayRef -> ExprArray
      	change ExprTree to be a union of similar types and split
      	the elements into discrete types.
      	    expr->oper -> expr->any.oper
      2000-04-29  Jody Goldberg <jgoldberg@home.com>
      	* src/value.c (value_new_empty) : Don't allocate any memory.
      	(value_release) : Don't free any either.
      	* src/sheet-style.c (border_check) : Init outer_style to remove a
  4. 29 Apr, 2000 2 commits
  5. 27 Apr, 2000 2 commits
    • Jody Goldberg's avatar
      Do redraws respans, and redimensions here. · a92f62cc
      Jody Goldberg authored
      2000-04-27  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
      	  respans, and redimensions here.
      	* src/cell.c (cell_set_format) : Do not attempt to render or redraw
      	  the value.
    • Jody Goldberg's avatar
      Batch of quickies. · 27d8d83b
      Jody Goldberg authored
      2000-04-26  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-sheet.c (start_cell_selection_at) : Only hide the
      	  primary cursor when selecting cells on a different sheet.
      	* src/expr.c (eval_expr_real) : Pass EVAL_PERMIT_NON_SCALAR to
      	  eval_expr_real when evaluating an array.
      	* src/cell.c (cell_set_array_formula) : typo.
      	* src/sheet.c (sheet_find_boundary_{horizontal,vertical}) : Another thinko.
  6. 20 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Reorg cell contents and assignment. · bedb925b
      Jody Goldberg authored
      Fixs lots of usability details.
      2000-04-20  Jody Goldberg <jgoldberg@home.com>
      	* src/dialogs/dialog-cell-format.c : Use the edit_pos as the example
      	  not the top left corner.
      	* src/functions/fn-stat.c (gnumeric_ftest) : Use eval_pos_cellref
      	  to help localize the strangeness.
      	(gnumeric_ttest) : Ditto.
      	* src/xml-io.c (xml_write_cell_and_position) : If this is an array
      	  expression and we are the top left then add attributes to indicate
      	  size of array.  Ignore the rest of the array.
      	(xml_not_used_old_array_spec) : New routinr to handle the old array format.
      	(xml_cell_set_array_expr) : store an array.
      	(xml_read_cell) : Handle the old and the new array formats.
      	* src/workbook.c (workbook_close_if_user_permits) : Accept input
      	(wb_edit_key_pressed) : Handle array formulas here.
      	(workbook_detach_sheet) : Do not recalc all if we are exiting.
      	(workbook_start_editing_at_cursor) : When we start editing an
      	  array formula display just the formula not all the extra {}()[][] crap.
      	* src/sheet.c (SheetPrivate) : Add a recompute_spans flag.
      	(sheet_calc_spans) : New routine.
      	(sheet_cell_calc_span) : New routine.
      	(sheet_range_calc_spans) : Renamed and extended from
      	(sheet_update) : Use sheet_calc_spans when necessary.
      	  Update the location region when the edit_pos changes.
      	(cb_recalc_spans_in_col) : Renamed from cb_collect_cells_in_col.
      	  Recalcs spans directly, no need to collect first.
      	(cb_set_cell_content) : New routine to set expr, or expr_and_value.
      	(sheet_range_set_text) : Use cb_set_cell_content, and remember
      	  chosen format with the cell rather than overriding the assigned
      	(sheet_cell_set_text) : Renamed from sheet_set_text.  Be more specific
      	  about how spans, rendering and the rest are handled.
      	(sheet_cell_set_expr) : New routine.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_load_cell_val) : When displaying an array formula add {%s}()[][].
      	(sheet_redraw_cell_region) : Honour spans when redrawing.
      	(sheet_redraw_partial_row) : New routine.
      	(sheet_redraw_cell) : Ditto.
      	(sheet_is_cell_array) : Use cell_is_array.
      	(sheet_range_splits_array) : Renamed from sheet_check_for_partial_array.
      	(sheet_cell_add_to_hash) :  Do not touch spans at this point.
      	(sheet_cell_insert) : Rename from sheet_cell_add made recalc span
      	(sheet_cell_new) : New routine that does not touch spans.
      	(sheet_cell_remove) : Made redraw optional.
      	(cb_clear_cell_comments) : Remove the cell if there is no comment.
      	(sheet_clear_region) : Remove the cell if there are no comments or
      	  contents.  Flag an update of the status region.
      	* src/sheet-view.c (cb_colrow_resize) : New function.
      	(sheet_view_col_size_changed) : Resize all rows, irrespective of
      	(sheet_view_row_size_changed) : existing cells.
      	(sheet_view_redraw_cell_region) : This no longer honours spans.
      	* src/sheet-style.c (sheet_style_attach) : Removed call to redraw.
      	sheet_cells_update : rename to sheet_range_calc_spans and move to
      	* src/sheet-autofill.c (autofill_cell) : Use sheet_cell_set_value
      	  rather than set_text.
      	* src/selection.c (sheet_selection_changed_hook) : Delete.
      	(sheet_selection_extend_to) : Update the status region to display the
      	  new size.
      	(sheet_selection_cut) : Use sheet_range_splits_array.
      	(selection_check_for_array) : New routine.
      	* src/parser.y : Remove icky array formula parsing that conflicted
      	  with array entries.
      	* src/number-match.c (format_match) : Return a Value * rather than a
      	* src/mstyle.c (mstyle_set_font_size) : Do not allow font sizes < 1.
      	* src/main.c (gnumeric_main) : Do NOT create an empty workbook
      	  then delete it if things are successfully loaded.  This causes
      	  a global recalc.  Instead add a flag to disable exit when the
      	  number of workbooks go to zero.  Then only enable the flag AFTER
      	  we have attempted to load the initial workbooks.
      	* src/item-grid.c (item_grid_event) : Update the status_region when
      	  button-1 is release.  It should display the edit_pos.
      	* src/gutils.c : Move cell_name, col_name, col_from_name,
      	  parse_cell_name, parse_cell_name_or_range and parse_cell_name_list,
      	  to parse-util.c.
      	* src/gnumeric.h  : Add RenderedValue.
      	* src/gnumeric-util.c (gnumeric_char_start_expr_p) : Move
      	  to parse-util.c
      	* src/file.c (workbook_read) : Remove freese thaw usage.
      	  Move call to update AFTER mark clean.
      	* src/expr.c (eval_pos_init) : Take a cellpos.
      	(parse_pos_evalpos) : New routine.
      	(eval_pos_cellref) : There is some questionable code scattered in the
      	  functions.  This routing localizes the odd bits for correction.
      	* src/eval.c (cell_eval_content) : Use sheet_redraw_cell,
      	  and rendered_value_calc_size.
      	(cell_get_dependencies) : Improve constness.
      	* src/corba-sheet.c : Remove the freeze thaw operations.
      	(Sheet_cell_set_formula) : Deleted.
      	(Sheet_range_set_formula) : Delete.
      	* src/commands.c : Adjust so that registration of command auto
      	  calls redo.  Add misc checks for splitting arrays.
      	* src/clipboard.h : Move the CellCopy types here from cell.h
      	* src/clipboard.c (paste_cell) : Use cell_has_expr.
      	  Don't insert the new cell till after its contents are assigned.
      	* src/cellspan.c (cell_register_span) : Improve constness.
      	(cell_unregister_span) : Ditto.
      	(row_cell_get_displayed_at) : Delete.
      	(cell_calc_span) : Moved here from cell.c
      	* src/dialogs/dialog-stf.glade : Adjust the header background colour
      	  to match the purdy new icon.  Add the icon.
      	* src/cell-draw.c : Use the rendered_value routines.
      	  Improve constness.
      	* src/analysis-tools.c (set_cell) : Use sheet_cell_fetch.
      	    cell_set_* -> sheet_cell_set_
      	    cell_set_*_simple -> cell_set_
      	    Cell::{row,col} -> Cell::{row,col}_info
      	    cell_get_text -> cell_get_entered_text
      	    cell_get_content -> cell_get_entered_text
      	    cell_name -> cell_coord_name
      	    cell_get_formatted_val -> cell_get_rendered_text
      	    cell_get_content -> cell_get_entered_text
      	* src/cell.c :
      	(cell_dirty) : Renamed from cell_modified.  Use
      	(cell_formula_changed) : Make the queuing of the recalc optional.
      	(cell_cleanout) : Handle union of expression and entered_text,
      	  and remove the rendered value.
      	(cell_copy) : Ditto.
      	(cell_destroy) : handle cell_modified -> cell_dirty.
      	(cell_set_text) : Use parse_text_value_or_expr and store the prefered
      	(cell_set_text_and_value) : New routine.
      	(cell_assign_value) : New routine.
      	(cell_set_value) : Support formats.
      	(cell_set_expr_and_value) : New routine.
      	(cell_set_expr_internal) : Split from cell_set_expr.
      	(cell_set_expr) : Divide to allow for not queuing a recalc.
      	(cell_set_array_formula) : Use cell_set_expr_internal.
      	(cell_is_array) : New utility.
      	(cell_is_partial_array) : New utility.
      	(cell_has_expr) : New utility.
      	(cell_render_value) : Use rendered_value_*.
      	Move all comment routines into cell-comment.[ch].
      	* idl/Gnumeric.idl : Remove cell_set_formula, and range_set_formula.
      	  These were identical to set_text.  Made Workbook embeddable.
  7. 10 Apr, 2000 3 commits
    • Michael Meeks's avatar
      correct include. · f84afb18
      Michael Meeks authored
      2000-04-11  Michael Meeks  <michael@helixcode.com>
      	* src/parser.y: correct include.
      	* src/cell.c (cell_set_rendered_text): move up to before its first use.
    • Miguel de Icaza's avatar
      Do not destroy the context here, as it is dereferenced later in the · 30aba440
      Miguel de Icaza authored
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      	* main.c (button_cancel): Do not destroy the context here, as it
      	is dereferenced later in the mainloop.
      2000-04-10  Miguel de Icaza  <miguel@gnu.org>
      	* Lots of files: replaces utils.h for gutils.h
      	* renamed utils.h to gutils.h to avoid the compilation problem on
      	some Unices (yes, fixing the Makefile would have done it, but
      	utils.h was still a lame name;  Of course gutils.h is not any
      	better, but it is now done).
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      	* src/cellspan.c (span_remove): Pretify code.
    • Jody Goldberg's avatar
      Do NOT recalc on load for now even though there are are queued cells that · 43aa96ea
      Jody Goldberg authored
      2000-04-10  Jody Goldberg <jgoldberg@home.com>
      	* src/file.c (workbook_read) : Do NOT recalc on load for now even
      	  though there are are queued cells that desire it.  This will
      	  prematurely mark the sheet as dirty.  This will need to be
      	* src/cell.c (cell_set_rendered_text) : Make static.
      	* src/cell.c (cell_calc_dimensions) : Be careful to recalculate spans
      	  that centered on other cells when calculating the span for a new
  8. 09 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Do not change the target style if editing has not yet been enabled. · cd9b6682
      Jody Goldberg authored
      2000-04-09  Jody Goldberg <jgoldberg@home.com>
      	* src/dialogs/dialog-cell-format.c : Do not change the target style if
      	  editing has not yet been enabled.
      	* src/workbook.c (workbook_set_saveinfo) : If the save function is
      	  NULL default to xml.
      	* src/format.c (format_value) : Add some error checking.
      	* src/cell.c (calc_text_dimensions) : Make static
      	* src/main.c : Add main.h
      2000-04-03  Dom Lachowicz <dominicl@seas.upenn.edu>
       	* src/workbook.c (sheet_action_reorder_sheet): Right click on a
       	sheet tab, and if there's more than one sheet, you'll get an
       	option to bring up the re-order sheets dialog
       	* src/dialogs/dialog-plugin-manager.c (refresh_right_frame) :  Do not
      	  override default fonts and colours.
      	* src/dialogs/sheet-order.glade,
      	* src/dialogs/sheet-order.glade.h,
      	* src/dialogs/dialog-sheet-order.c (row_cb, delete_clicked_cb,
      	  up_clicked_cb, down_clicked_cb, close_clicked_cb,
      	  dialog_sheet_order_impl) : Improve look by moving buttons to the
      	  right edge rather than using stock buttons on the bottom and side.
      2000-04-07  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (workbook_finish_editing) : resensitize the toolbars
      	  after editing.
      	(workbook_start_editing_at_cursor) : Desensitize the toolbars when we
      	  start to edit.
  9. 01 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Fix the silly edit bug tha was being reported. · fce11703
      Jody Goldberg authored
      Some major work on item-edit.
      2000-03-31  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c : Switch over to useing GNOMEUIINFO_ITEM_ where
      	(cb_editline_focus_in) : Do not start editing if we are already
      	* src/utils.c (parse_cell_name) : constness.
      	* src/style.c (style_font_gdk_font) : constness.
      	(style_font_gdk_font) : ditto.
      	(style_font_gnome_font) : ditto.
      	(style_font_get_height) : ditto.
      	* src/sheet.c (sheet_set_zoom_factor) : redimension all cells, rather
      	  than the sparse sheet region.  Do not auto-resize.
      	(sheet_cell_add) :  Adjust to new calling convention for
      	(sheet_stop_editing) : Rename from sheet_destroy_edit_cursor.
      	* src/sheet-view.c (sheet_view_get_style_font) : constness.
      	* src/gnumeric-sheet.c (gnumeric_sheet_create_editing_cursor) :
      	  No need to set all those arguments.
      	(destroy_item_editor) : Merge into gnumeric_sheet_stop_editing.
      	(gnumeric_sheet_stop_editing) : Renamed from
      	* src/cell.[ch] (cell_set_rendered_text) : Adjust to new calling
      	  convention for cell_calc_dimensions.
      	(cell_calc_dimensions) : Adjust calling convetion to make auto
      	  resizing optional.
      	(calc_text_dimensions) : Adjust calling convention to directly set size.
      	* src/sheet-style.c (re_dimension_cells_cb) :  Adjust to new calling
      	  convention for cell_calc_dimensions.
      	* src/item-edit.c : Major rework to behave better at margins,
      	  correctly handle cells whose display contents span differently than
      	  their displayed values, multi-line display mechanics, and a blinking
      	  cursor :-)
  10. 24 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Patch for bugs 5490 and 7743. We need better format recognition soon. · 72eeb832
      Jody Goldberg authored
      Patch for bugs 5490 and 7743.
      We need better format recognition soon.
      2000-03-23  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_set_text_simple) : Do NOT set the entered text
      	  when importing non string values.  There are still gotchas
      	  elsewhere. eg enter 90 format to current and edit box shows
      	  something that we can not parse.
  11. 23 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Add CENTER_ACROSS_SELECTION. (cell_set_text_simple) : Begin transition to · bbf396c6
      Jody Goldberg authored
      2000-03-23  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_calculate_span) : Add CENTER_ACROSS_SELECTION.
      	(cell_set_text_simple) : Begin transition to checking
      	  format of current cell for match.  No real change yet.
      	* idl/Gnumeric.idl : Add CENTER_ACROSS_SELECTION.
      	* src/cell-draw.c (cell_draw) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      	* src/corba-sheet.c (Sheet_cell_set_alignment) : Ditto.
      	(Sheet_cell_get_alignment) : Ditto.
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_align_page) : Ditto.
      	* src/dialogs/cell-format.glade : Ditto, reorganize alignment page.
      	* src/format.c : Move definition of _StyleFormatEntry from mstyle.h.
      	* src/number-match.c (format_create_regexp) : Extend to support
      	  currency names.
      	* src/item-grid.c (item_grid_draw_border) : minor optimization for
      	  non-border case.
  12. 22 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Fix span bugs. · 99ec14fe
      Jody Goldberg authored
      2000-03-22  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_reposition_comments) : Merged from
      	  sheet_reposition_comments_from_row and
      	(sheet_update) : New function.  Use the new update flags from
      	  SheetPrivate that are set in the col/row resize functions
      	  to do delayed resizing and updates.  This allows the resizing to be
      	  batched for an entire logical operation.
      	(sheet_{col,row}_set_size_pixels) : Set the update flags.
      	* src/workbook-cmd-format.c (workbook_cmd_format_{row,column}_auto_fit) : No need to
      	  worry about redraws.  Use sheet_update.
      	(workbook_cmd_format_{row_height,column_width}) : Ditto.
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : No need to
      	  recalculate the spans,  Use the pre-calculated versions.
      	(sheet_view_col_size_changed) : Use sheet_update.
      	(sheet_view_row_size_changed) : Ditto.
      	* src/sheet-style.c (re_dimension_cells_cb) : Use cell_calc_dimensions.
      	(sheet_cells_update) : No need to redraw per cell and guess the bound.
      	  It is simpler and more correct to calc dimension per cell, and
      	  redraw the region BEFORE and AFTER to handle spans.
      	* src/cell.[ch] (cell_style_changed) : Delete.
      	* src/cell-draw.c (cell_draw) : continue syncing with print code.
      	  Be even more careful in the possible presence of style bugs.
      	* src/item-grid.c (item_grid_draw) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      	* src/analysis-tools.c (correlation_tool) : Use sheet_update.
      	(covariance_tool) : Ditto.
      	(ttest_paired_tool) : Ditto.
      	(ttest_eq_var_tool) : Ditto.
      	(ttest_neq_var_tool) : Ditto.
      	(ftest_tool) : Ditto.
      2000-03-21  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-private.h : Add status flags to accumulate state changes
      	  for later redraw.
      	* src/commands.c (cmd_format_redo) : Use sheet_update
      	  in case the row/col sizes changed due to font size changes.
      	(cmd_format_undo) : Ditto.
      	* src/widgets/gtk-combo-box.c (cb_state_change) : Only pseudo-prelight
      	  the display when over the arrow, not vice versa.
      	(gtk_combo_box_init) : Ditto.
      	(gtk_combo_box_set_display) : Ditto.
      	* src/sheet.c (sheet_row_get_distance_pts) : Enable reversed indicies.
      	(sheet_col_get_distance_pts) : Ditto.
      	* src/plugin.c (plugin_load) : Add more version checking to ensure
      	  that very old plugins that do not check their versions can not be
      2000-03-20  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : When
      	  forcing a scroll do a hard reset of the visible ranges.
      	(gnumeric_sheet_compute_visible_ranges) : Ditto.
      	(gnumeric_sheet_set_top_row) : Remove extraneous scroll.
      	(gnumeric_sheet_set_left_col) : Remove extraneous scroll.
  13. 10 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Constness. · c2af08a9
      Jody Goldberg authored
      2000-03-10  Jody Goldberg <jgoldberg@home.com>
      	* src/func.c (tokenized_help_new) : Constness.
      	* src/widgets/gtk-combo-box.c (cb_state_change) : New function to keep
      	  the state of the combo display button and the combo arrow in sync.
      	(gtk_combo_box_init) : Connect cb_state_change to the arrow.
      	(gtk_combo_box_set_display) : Ditto for the display widget.
      	* src/sheet.c (sheet_set_zoom_factor) : Bound the factor at 10% and 500%
      	* src/workbook.c (change_zoom_in_current_sheet_cb) :
      	  call change_displayed_zoom_cb to adjust the combo to contain the
      	(workbook_focus_current_sheet) : Only emit signal if the sheet
      2000-03-08  Jody Goldberg <jgoldberg@home.com>
      	* src/collect.c (callback_function_collect) : Treat arrays and ranges
      	  as errors.
      	* src/format.c (format_value) : formating a range returns a
      	  #VALUE! message.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
      	  Use the workbook flags, and delete the icky globals.
      	(start_cell_selection_at) : Hide the std cursor when a cell selection
      	  cursor is created.
      	(gnumeric_sheet_stop_cell_selection) : Restore the std cursor.
      2000-03-07  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (accept_input) : Use workbook_finish_editing.
      	(cancel_input) : Ditto.
      	(do_focus_sheet) : Support range selection across spreadsheets.
      	(workbook_get_sheet_position) : Fix and document.
      	(workbook_move_sheet) : Fix.
      	(workbook_focus_sheet) : Handle errors cleanly.
      	(wb_edit_key_pressed) : Improve F4 handling.
      	(wizard_input) : Begin non-modal function wizard.  NOT FINSIHED.
      	(workbook_start_editing_at_cursor) : transfered from
      	(workbook_finish_editing) : Distilled from sheet_{accept,cancel}_pending_input.
      	(Workbook) : Add editing_cell, editing_sheet, editing.
      	* src/sheet.c (sheet_stop_editing) : Delete.
      	(sheet_accept_pending_input) : Merge into workbook_finish_editing.
      	(sheet_cancel_pending_input) : Ditto.
      	(sheet_start_editing_at_cursor) :
      	(sheet_create_edit_cursor) : New function.
      	(sheet_destroy_edit_cursor) : New function.
      	(sheet_destroy_cell_select_cursor) :  New function.
      	(Sheet) : Delete editing and editing_cell.
      	* src/selection.c (sheet_selection_changed_hook) : Make public.  This
      	  should eventually move but I'm not sure where.  It is used for more
      	  than just changes in the selection in the current sheet.  It must
      	  also be called when the sheet changes.  What it REALLY does it to
      	  sync the shared workbook state with the current sheet's selection.
      	* src/item-cursor.c (item_cursor_init) : Handle change from
      	  sheet_accept_pending_input -> workbook_finish_editing.
      	* src/item-grid.c (item_grid_button_1) : Ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Edit moved
      	  from sheet -> workbook.
      	(selection_insert_selection_string) : Extend to support
      	  abs/rel refs and intersheet-refs.
      	(gnumeric_sheet_stop_cell_selection) : Add clear_string argument
      	  to optionally remove the selection range.
      	(gnumeric_sheet_key_mode_sheet) : Adjust to movement of editing flag
      	  from sheet -> workbook.  Be careful to use the original sheet when
      	  moving rather than the current sheet.  Support F4 while editing.
      	* src/cell-draw.c (cell_draw) : editing_cell has moved from sheet to
      	  workbook.  Fix font ref leak when drawing the edit cell.
      	* src/dialogs/dialog-function-wizard.c : Begin transition to being
      	  non-modal.  NOT FINISHED.
  14. 01 Mar, 2000 1 commit
    • Miguel de Icaza's avatar
      Notify the sheet that the cell changed using sheet_cell_changed. · eec41abe
      Miguel de Icaza authored
      2000-02-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/cell.c (cell_content_changed): Notify the sheet that the
      	cell changed using sheet_cell_changed.
      	* src/sheet-vector.c: New file.  Implements the Gnumeric:Vector
      	interface (and supports non-contiguous ranges)
      	* src/sheet.c (sheet_destroy): free private structure.
      	(sheet_new): init private structure.
      	(sheet_cell_changed): New function.
      	* src/sheet-private.h: New file.
      	* src/sheet.h: Sheet structure includes SheetPrivate field now.
  15. 28 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Improve the handling of backgrounds and selection in the presence of · bb5371b7
      Jody Goldberg authored
      Improve the handling of backgrounds and selection
      in the presence of spanning columns.
      Improve borders.  Somewhat more correct handling of double lined borders.
      Still mostly wrong, but its a start.
      2000-02-28  Jody Goldberg <jgoldberg@home.com>
      	* src/expr.h : Move FunctionDefinition to
      	* src/gnumeric.h : here.
      	* src/cellspan.c (col_hash) : Use GPOINTER_TO_INT.
      	(col_compare) : Ditto.
      	(row_init_span) : Delete.
      	(free_hash_value) : Renamed from free_hash_key.
      	(cell_register_span) : Register all cells in a span, malloc a
      	  CellSpanInfo to store a descriptor about the first and last cols.
      	(assemble_unregister_span_list) : Delete.
      	(span_remove) : New function for use by g_hash_table_foreach_remove.
      	(cell_unregister_span) : Use g_hash_table_foreach_remove.
      	(row_cell_get_displayed_at) : Adjust to new descriptor.
      	(row_span_get) : New function.
      	* src/cell.c (cell_calculate_span) : Renamed from cell_get_span.
      	* src/cell-draw.c (cell_draw) : Do not draw backgrounds here.
      	  Use new CellSpanInfo to avoid recomputing spans every time.
      	(cell_is_blank) : Remove hack about treating empty strings as empty.
      	* src/cellspan.h : New file.  Move span decls here.
      	* src/item-grid.c (item_grid_draw) : Rework to correctly handle
      	  backgrounds and borders for spanning columns.
      2000-02-27  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_is_blank) : Update.
      	* src/border.c (style_border_draw) : Make somewhat more correct.
      	  Still broken for non-top-left corners.
      	* src/item-grid.c (item_grid_draw_border) : Ditto.
      	(item_grid_draw_background) : Rename from item_grid_paint_empty_cell
      	  handle spans more cleanly.
      	(item_grid_draw_cell) : handle conditionals for displaying contents here.
      	  Remove all handling of backgrounds.
  16. 16 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      More header cleanup. Remove value.h and sheet.h from expr.h. Remove · c73b937c
      Jody Goldberg authored
      2000-02-15  Jody Goldberg <jgoldberg@home.com>
      	* *.[ch] : More header cleanup.  Remove value.h and sheet.h
      	  from expr.h.  Remove sheet.h from cell.h.
      2000-02-16  Dom Lachowicz <dominicl@seas.upenn.edu>
      	* src/plugin-manager.c : Move functionality.
      	* src/dialogs/dialog-plugin-manager.c : here.  and move to libglade.
      	* src/workbook.c (plugins_cmd) : Use dialog_plugin_manager instead
      	  of plugin_manager_new.
  17. 14 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      A few more pts vs pixels cleanups and fixes. · fbf52c42
      Jody Goldberg authored
      2000-02-14  Jody Goldberg <jgoldberg@home.com>
      	* src/item-bar.c (item_bar_event) : Handle rename from
      	  sheet_{col,row}_size_fit -> sheet_{col,row}_size_fit_pixels
      	* src/selection.c (cb_set_row_height) : Ditto.
      	* src/workbook-cmd-format.c
      	(workbook_cmd_format_{column,row}_auto_fit) : Ditto.
      	* src/cell.c (cell_calc_dimensions) : Use sheet_row_set_size_pixels
      	  rather than sheet_row_set_internal_size_pts.
      	* src/sheet.c (sheet_{col,row}_set_size_{pixels,pts}) :
      	  Use sheet_row_fetch to avoid manually adding rows/col.
      	  Syncronize implementations and move the 'set_internal' code
      	(sheet_{col,row}_set_internal_size_pts) : Delete.
      	(sheet_{col,row}_size_fit) : Rename sheet_{col,row}_size_fit_pixels
      	(colrow_compute_pts_from_pixels) : Typo.
  18. 13 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Major rationalization of pts vs pixels and the use of margins. · b6d04cff
      Jody Goldberg authored
      Some redraw speedups and the addition of XL2000 style alpha bended selections.
      2000-02-13  Jody Goldberg <jgoldberg@home.com>
      	* ./src/sheet-view.c (sheet_view_redraw_cell_region) : redraw the
      	  bounding grid lines too.
      	* src/item-cursor.c (item_cursor_get_pixel_coords) : Clip the cursor
      	  region to the visible range.  The layout still needs cleaning to
      	  match the 'correct' way of implementing canvas-items, but this
      	  heuristic saves us lots of iterations through the accumulator for
      	  the size of the entire sheet.
      2000-02-12  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-sheet.c : Use visible flag and adjust to naming and
      	  margin changes.
      	* src/item-bar.c (colrow_tip_setlabel) : Use the format provided by
      	  XL2000.  Things are correct for rows, colwidth are quoted in pts
      	  rather than char widths.
      	(get_col_from_pos) : Use visible flag.
      	(item_bar_start_resize) : Function renaming.
      	(is_pointer_on_division) : Ditto.
      	(item_bar_draw) : Changes to margins.
      	* src/item-edit.c : Function renaming.
      	* src/item-cursor.c : Ditto.  decrease spacing for auto handle.
      	* src/item-grid.c (item_grid_draw) : Remove inversion process for the
      	  selection.  Instead have the cells draw their background
      	  differently.  Use the visible flag.
      	(item_grid_paint_empty_cell) : Ditto.
      	(item_grid_paint_cell) : Ditto.
      	* src/mstyle.c (mstyle_new_default) : The default vert alignment is BOTTOM.
      	* src/pattern.c (gnumeric_background_set_gc) : Draw the background of
      	  a selected cell differently.
      	* src/print-cell.c (DIM) : margins are already included.
      	(print_cell_text) : Adjust argument order to more closely match
      	  cell_draw.  Add support for vertical alignment of 1 line cells.
      	  Invert control of single vs multiple lines.
      	(print_cell) : Adjust to changes in the arguments.
      	(print_cell_range) : Use the visible flag.
      	  Draw line at the boundary rather than pretending there were
      	  additional rows/cols.
      	* src/print.c (compute_groups) : size_pts INCLUDES margins.  Use 'visible' flag.
      	(print_page) : Adjust to function renaming.
      	(print_range_used_units) : Ditto.
      	* src/selection.c : Include sheet-view directly for now.
      	(cb_set_row_height) : Adjust to function renaming.
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : Adjust to function
      	(sheet_view_redraw_headers) : Ditto.
      	(sheet_view_set_zoom_factor) : Ditto.
      	(sheet_view_col_size_changed) : Ditto.
      	(sheet_view_row_size_changed) : Ditto.
      	(sheet_view_comment_get_points) : Ditto.
      	* src/sheet.[ch] : Rationalize function names, and add glossary.
      	Make the use of margins and sizes (in points and pixels) consistant.
      	(sheet_col_get_external_width : Delete.
      	(sheet_row_get_external_height : Delete.
      	(sheet_col_get_distance : Rename sheet_col_get_distance_pixels.
      	(sheet_row_get_distance : Rename sheet_row_get_distance_pixels.
      	(sheet_row_get_unit_distance : Rename sheet_row_get_distance_pts.
      	(sheet_col_get_unit_distance : Rename sheet_col_get_distance_pts.
      	(sheet_col_set_width : Rename sheet_col_set_size_pixels.
      	(sheet_col_set_width_units : Rename sheet_col_set_size_pts.
      	(sheet_row_set_height : Rename sheet_row_set_size_pixels.
      	(sheet_row_set_height_units) : Rename sheet_row_set_size_pts.
      	(sheet_get_default_external_col_width) : Rename sheet_col_get_default_size_pts.
      	(sheet_get_default_external_row_height): Rename sheet_row_get_default_size_pts.
      	(sheet_col_set_internal_width) : sheet_col_set_internal_size_pts.
      	(sheet_row_set_internal_height): sheet_row_set_internal_size_pts.
      	(sheet_{row,col}_set_default_size_pts) : New functions.
      	(sheet_init_default_styles) : Tune to match XL defaults.
      	* src/sort.c : Use g_strcasecmp, and include <stdlib.h>
      	* src/style.c (style_color_new) : Init the selection colour as a 50%
      	  alpha blend with lavender.
      	* src/style.h : Change default font to be Helvetica 9 because it will
      	  scale better when the standard 96 dpi resolution is assumed.
      	  Add a selected_color to StyleColor.
      	* src/value-sheet.c : Include <gnome.h> to get the
      	  internationalization support.
      	* src/workbook-cmd-format.c (workbook_cmd_format_column_auto_fit) :
      	  sheet_col_set_width -> sheet_col_set_size_pixels.
      	(workbook_cmd_format_column_width) :
      	  sheet_col_set_width_units -> sheet_col_set_size_pts.
      	(workbook_cmd_format_row_auto_fit) :
                sheet_row_set_height -> sheet_row_set_size_pixels
      	(workbook_cmd_format_row_height) :
      	  sheet_row_set_height_units -> sheet_row_set_size_pts.
      	* src/xml-io.c (xml_read_rows_info) : Rename
      	  sheet_row_set_height_units -> sheet_row_set_size_pts.
      	(xml_read_cols_info) : Rename
      	  sheet_col_set_height_units -> sheet_col_set_size_pts.
      	(xml_read_colrow_info) : Remove hack with negative pixels.
      	  Use 'visible' flag instead.
      	(xml_write_colrow_info) : Ditto.
  19. 10 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Remove inclusion of cell.h. Adjust includes to loosen things a bit more. · f6b62c13
      Jody Goldberg authored
      2000-02-10  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.h : Remove inclusion of cell.h.  Adjust includes to loosen
      	  things a bit more.
      	* src/colrow.h : Remove margin_a_pt margin_b_pt.  Margins are NOT
      	  scaled by resolution or zoom.
      	  Rename units -> size_pts and store as float rather than double.
      	  Rename pixels-> size_pixels
      	  hard_size -> use gboolean rather than a 1 element bitfield
      	* src/style.h : Move the typedefs from here.
      	* src/gnumeric.h : to here.
      	*.[ch] : Catch up with the renames and include changes.
  20. 04 Feb, 2000 2 commits
    • Jody Goldberg's avatar
      - Fix some of the problems with the resolution scaling. · 3e12961e
      Jody Goldberg authored
      - Implement an initial version of paste_cut undo.
      2000-02-05  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.[ch] (sheet_row_info_set_{height, width}) : Make static.
      	* src/cell.c (cell_calc_dimensions) : The size is already scaled.
      	* src/item-bar.c (item_bar_event) : Only scale by the zoom.
      	  The item-grid canvas is zoomed by the zoom factor, not by the
      	  resolution adjustment.
      	(item_bar_start_resize) : Ditto.
      	* src/selection.c (sheet_selection_paste) : Use cmd_paste_cut.
      	* src/commands.c (cmd_paste_cut) : Implement.
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
    • Jody Goldberg's avatar
      Add some config variables to the application to allow for axis dependent · d6fe542a
      Jody Goldberg authored
      zooming based on the screen display resolution (eg 110 dpi).  No GUI currently
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_col_set_internal_width) : Scale by the axis
      	  resolution adjment.
      	(sheet_row_set_internal_height) : Ditto.
      	(colrow_set_units) : Ditto.
      	(sheet_compute_col_row_new_size) : Ditto.
      	* src/item-bar.c (item_bar_fonts_init) : Scale by resolution.
      	(item_bar_start_resize) : Ditto.
      	(item_bar_event) : Ditto.
      	* src/cell.c (cell_calc_dimensions) : Adjust interface to take the
      	  cell. Scale the height test by the vertical resolution adjustment.
      	* src/cell-draw.c (sheet_view_get_style_font) : rename from
      	  sheet_get_style_font in preparation for view split.  Scale
      	  the font by the average of the resolutions.
  21. 02 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Fix several memory problems (Thanks Morten) · 390f8af9
      Jody Goldberg authored
      2000-02-02  Jody Goldberg <jgoldberg@home.com>
      	* src/cell.c (cell_set_text) : Fix thinko.  We are assigning to the
      	  entered_text so we should unref that.  Always print the assigning
      	  empty warning.
      	* src/str.c (string_unref_ptr) : Delete unused function.
      	* src/clipboard.c (do_clipboard_paste_cell_region) : Use the correct
      	  clear flags for sheet_clear_region.
      	(x_selection_handler) : Ditto.
      	* src/workbook.c (workbook_expr_relocate) : We need to unref the new
      	  expression because the cell refs it itself.
      	* src/format.c (format_remove_decimal) : Correctly remove the last
      	  decimal. bug 5836.
  22. 25 Jan, 2000 2 commits
    • Jody Goldberg's avatar
      - Fix a problem with zooming caused by the new item-bar enhancements. - · 03198e1d
      Jody Goldberg authored
      - Fix a problem with zooming caused by the new item-bar enhancements.
      - Remove gnumeric-sheet.h from a number of places that it had no reason to be.
      - Move all of the row/col pos/offset cache into GnumericSheet.  WARNING
        I do not populate all of it yet.
      2000-01-26  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
      	  the same place and recompute the alignments for everything.
      	* src/item-cursor.c (item_cursor_set_bounds) : New function.
      	* src/gnumeric-sheet.h : Add more orthogonal structure for caching
      	  common row/col bounds and their canvas offsets.
      	* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
      	(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
      	(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.
      	* src/clipboard.c (clipboard_release) : It is possible to have no
      	  styles associated with a region.
      	* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
      	  offsets.  Use the superset in GnumericSheet.
      	 (item_grid_find_{row, col}) : Support sliding backwards.
    • Jody Goldberg's avatar
      Bug 5490. · 0b4cdc20
      Jody Goldberg authored
      2000-01-24  Jody Goldberg <jgoldberg@home.com>
      	* src/cell-draw.c (cell_draw) : Take the style as an argument, no need
      	  to recompute something that is already available.
      	* src/xml-io.c (xml_sheet_read) : Move the {freeze,thaw}_redraws here.
      	(xml_read_cell) : Remove the sillyness about removing newlines and
      	  trailing spaces.  Remove the {freeze,thaw}_redraws.
      	* src/cell.c (cell_set_text_simple) : Store the rendered value.
      	(cell_set_text) : Store the entered value.
  23. 17 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      Implement a more user preferences. · 76e2dfd1
      Jody Goldberg authored
      2000-01-17  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c : Menu items for sheet and workbook preferences.
      	* src/sheet-view.c (sheet_view_adjust_preferences) : New function.
      	* src/sheet.c (sheet_adjust_preferences) : New function.
      	(sheet_new) : Init the new preferences.
      	(sheet_set_text) : Avoid leaking in the failure case.
      	* src/selection.c (sheet_selection_paste) : Pass a context.
      	* src/cell.c (cell_render_value) : display_fomulas is now a sheet
      	  level preference.
      	(cell_is_number) : return boolean.
      	(cell_is_zero) : New function.
      	* src/item-grid.c (item_grid_draw_cell) : honour display_zero.
  24. 16 Jan, 2000 1 commit
    • Morten Welinder's avatar
      New file. New file. · f9c9e6c0
      Morten Welinder authored
      2000-01-16  Morten Welinder  <terra@diku.dk>
      	* src/auto-format.c: New file.
      	* src/auto-format.h: New file.
      	* src/formats.c (cell_format_general, cell_format_numbers,
       	cell_format_currency, cell_format_account, cell_format_date,
       	cell_format_time, cell_format_percent, cell_format_fraction,
       	cell_format_science, cell_format_text): Make static.
      	* src/cell.c (cell_set_formula): Free the format.  Only set format
       	if the cell was previously blank.
      	(cell_has_assigned_format, cell_get_format): New functions.
      	* src/parser.y (gnumeric_expr_parser): Drop const for
       	desired_format.  On error, free the format.
      	(make_string_return): g_strdup the format.
      	* src/expr.c (expr_parse_string): Drop const for desired_format.
      	* src/functions/fn-financial.c (finance_functions_init): Add
       	result types for auto-format.
      	* src/functions/fn-date.c (date_functions_init): Add result types
       	for auto-format.
      	* src/functions/fn-math.c (math_functions_init): Add result types
       	for auto-format.
      	* src/Makefile.am (GNUMERIC_BASE_SOURCES): Add auto-format.c and
      	* src/main.c (gnumeric_main): Init and shutdown for auto_format.
  25. 15 Jan, 2000 1 commit
    • Morten Welinder's avatar
      Fix "=$10" error. · f5c4ec3c
      Morten Welinder authored
      2000-01-15  Morten Welinder  <terra@diku.dk>
      	* src/cell.c (cell_set_formula): Set the "Pending recomputation"
       	value earlier.
  26. 08 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      - Bug 5036 - Fix inconsistancies in the hack to accept formulas with a · d0c30d56
      Jody Goldberg authored
      - Bug 5036
      - Fix inconsistancies in the hack to accept formulas with a leading
      2000-01-08  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-util.c (gnumeric_char_start_expr_p) : new function.
      	* src/workbook.c (wizard_input) : Use gnumeric_char_start_expr_p.
      	* src/cell.c (cell_set_formula) : Add a precondition to ensure that
      	  this is an expression.
      	(cell_set_text_simple) : Use gnumeric_char_start_expr_p.
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Ditto.
      	* src/sheet.c (sheet_set_text) : Ditto.
  27. 07 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      Undo ins/del row/col mostly works. · 8769a02b
      Jody Goldberg authored
      A few rough edges but mostly functional.
      2000-01-07  Jody Goldberg <jgoldberg@home.com>
      	* src/commands.c (cmd_ins_del_row_col_*) : Implement.
      	* src/cell.c (cell_set_formula_tree_simple) : Correct the docs.
      	* src/sheet.c (sheet_insert_cols, sheet_insert_rows,
      	  sheet_delete_cols, sheet_delete_rows) : Return flags to
      	  indicate failure.  return list of expressions and locations that
      	  were modified as a result of the change.
      	* src/workbook.c (workbook_expr_relocate) : Correct documentation.
      	(sheet_suspend_auto_expr, sheet_resume_auto_expr) : Delete unused functions.
      	(workbook_expr_unrelocate, workbook_expr_unrelocate_free) : New functions.
      	* src/eval.c (sheet_get_intersheet_deps) : No need for sheet member.
      	(sheet_region_get_deps) : No need to init sheet.  Use g_list_concat.
      	(sheet_recalc_dependencies) : All regions & cells in the sheet
      	(cb_cell_get_all_depends) : New function.
      	(cb_sheet_get_all_depends) : New function.
  28. 06 Jan, 2000 2 commits
    • Michael Meeks's avatar
      New Depencency code + docs, · ec6e6517
      Michael Meeks authored
      misc. minor fixes.
    • Jody Goldberg's avatar
      Partial row/col ins/del undo capabilites · e3ba4c02
      Jody Goldberg authored
      Begining support for paste_from_cut.
      2000-01-06  Jody Goldberg <jgoldberg@home.com>
      	* *.[ch] : rename struct expr_relocate_info -> ExprRelocateInfo.
      	* src/sheet.c (sheet_save_row_col_sizes) : New routine to support undo.
      	(sheet_save_row_col_sizes) : Ditto.
      	(col_row_info_init) : Init hard_size.
      	* src/commands.c (cmd_ins_del_row_col_undo) : Restore the row/col size
      	(cmd_ins_del_row_col_redo) : Save the info.
  29. 05 Jan, 2000 3 commits
    • Jody Goldberg's avatar
      typo. · 418392f9
      Jody Goldberg authored
    • Morten Welinder's avatar
      Ignore NULLs. · 9a9864f8
      Morten Welinder authored
      2000-01-05  Morten Welinder  <terra@diku.dk>
      	* src/parser.y (register_allocation, unregister_allocation):
       	Ignore NULLs.
    • Morten Welinder's avatar
      revamp the allocation and deallocation system. · 749b89f0
      Morten Welinder authored
      2000-01-03  Morten Welinder  <terra@diku.dk>
      	* parser.y: revamp the allocation and deallocation system.
      	* src/cell.c (cell_set_formula): Plug leak.
      	* src/solver-lp.c (solver_simplex): j not used.
      	* src/cell.c (cell_cleanout): Not static since prototyped in
  30. 04 Jan, 2000 1 commit
    • Miguel de Icaza's avatar
      Do not check for cell->sheet and cell->sheet->workbook, these must be · 831920d7
      Miguel de Icaza authored
      2000-01-03  Miguel de Icaza  <miguel@gnu.org>
      	* src/cell.c (cell_render_value): Do not check for cell->sheet and
      	cell->sheet->workbook, these must be true.
      2000-01-02  Martin Sheppard  <martin.sheppard@iname.com>
      	* src/workbook.h (struct _Workbook): add option to display text of
      	formulas instead of their value
      	* src/workbook.c (workbook_menu_edit): add menu oiption for toggling
      	the display of formulas
      	(toggle_formuals_cmd,cb_cell_rerender): new function to toggle the
      	display of formulas
      	(workbook_new): initialize the display formulas option
      	* src/cell.c (cell_render_value): implemented displaying formulas