1. 09 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Take units in pixels or points. (sheet_{col,row}_set_default_size_pixels) · b519fbd3
      Jody Goldberg authored
      
      2000-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
      	  points.
      	(sheet_{col,row}_set_default_size_pixels) : new functions.  This
      	  interface sucks.  Clean it up.
      
      	* src/parser.y : Optionally insert a place holder when an
      	  unknown function is found.
      
      	* src/func.c (function_add_placeholder) : New function, moved from the
      	  XL import code.
      
      	* src/expr.c (expr_parse_string) : gnumeric_expr_parser signature
      	  change.
      	* src/workbook.c (workbook_set_auto_expr) : Ditto.
      
      	* src/application.c (application_dpi_to_pixels) : New function.
      	* src/item-bar.c (item_bar_fonts_init) : Use it here.
      	* src/sheet-view.c (sheet_view_get_style_font) : And here.
      	* src/style.c (font_init) : and here.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (cellref_r1c1_get) : Make stricter.
      	(r1c1_get_item) : Ditto.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* plugins/Makefile.am (SUBDIRS) : Enable applix.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (col_from_name) : Add optional arg to indicate
      	  where parsing stoped.  Similar to strtod.
      
      2000-07-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_style_border) : Trivial optimization.  No
      	  need to save colour for STYLE_BORDER_NONE.
      	(xml_read_style_border) : Ditto.
      b519fbd3
  2. 08 Jul, 2000 1 commit
    • Morten Welinder's avatar
      Change traversal order for ranges. · 16ad54ce
      Morten Welinder authored
      2000-07-08  Morten Welinder  <terra@diku.dk>
      
      	* src/sheet.c (sheet_cell_foreach_range): Change traversal order
       	for ranges.
      
      	* src/func.c (function_iterate_do_value): Fix traversal order for
       	arrays.
      16ad54ce
  3. 07 Jul, 2000 1 commit
    • Morten Welinder's avatar
      Rewrite with lots of care in error handling. · 8b9837b3
      Morten Welinder authored
      2000-07-07  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-math.c (gnumeric_sumproduct): Rewrite with lots
       	of care in error handling.
      
      	* src/value-sheet.c (value_area_get_width): Make it official that
       	scalars have width 1.
      	(value_area_get_height): Likewise.
      	(value_area_get_x_y): Likewise.
      8b9837b3
  4. 06 Jul, 2000 4 commits
    • Almer. S. Tigelaar's avatar
      When splitting columns in 2 the last character in the rightmost column · e162d923
      Almer. S. Tigelaar authored
      2000-07-06  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/stf-parse.c (stf_parse_options_fixed_autodiscover): When splitting
      	columns in 2 the last character in the rightmost column would not be
      	taken into account.
      e162d923
    • Jody Goldberg's avatar
      Do not do anything if we have not moved. · 89615ea4
      Jody Goldberg authored
      
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_do_action) : Do not do anything if we
      	  have not moved.
      89615ea4
    • Jody Goldberg's avatar
      bug 16490. We were attempting to display the entered text rather than the · 2a420f79
      Jody Goldberg authored
      bug 16490.
      We were attempting to display the entered text rather than the formated text
      and falling over when the copied cell had no sheet.  This is not lovely, but it
      is as clean as we'll get for now.
      
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (sheet_style_compute_from_list) : Make public.
      	  and rename from sheet_mstyle_compute_from_list.  Changed all
      	  callers.
      
      	* src/rendered-value.c (rendered_value_new) : Optionaly take a style
      	  list.  Use it if offered.
      
      	* src/cell.c (cell_render_value) : New signature for rendered_value_new.
      
      	* src/render-ascii.c (cell_region_render_ascii) : Temporarily reverse
      	  the style list so that it goes in the correct direction.   Use
      	  rendered_value not entered_text.
      
      	* src/clipboard.c (clipboard_prepend_cell) : Init the Cell::pos with
      	  the offsets.  This is useful in when looking up formats.
      2a420f79
    • Jukka-Pekka Iivonen's avatar
      Implemented COUPNCD(). · 74e8a4dc
      Jukka-Pekka Iivonen authored
      2000-07-06  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/functions/fn-financial.c: Implemented COUPNCD().
      74e8a4dc
  5. 05 Jul, 2000 4 commits
    • Jody Goldberg's avatar
      Remove -lglade-bonobo for now. · bd9fc8e8
      Jody Goldberg authored
      
      2000-07-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am (EXTRA_DIST) : Remove -lglade-bonobo for now.
      
      	* src/main.c (gnumeric_main) : glade_bonobo_init -> glade_gnome_init
      bd9fc8e8
    • Michael Meeks's avatar
      implement. (write_mem_to_storage): implement. (create_xml_bonobo_stream): · ed8df623
      Michael Meeks authored
      2000-07-05  Michael Meeks  <michael@helixcode.com>
      
      	* src/bonobo-io.c (write_stream_to_storage): implement.
      	(write_mem_to_storage): implement.
      	(create_xml_bonobo_stream): create.
      	(xml_input_read_cb):
      	(xml_input_close_cb):
      	(hack_xmlSAXParseFile): copy from libxml.
      
      	* src/sheet-object.c (sheet_object_drop_file): update; this should
      	be totaly re-written.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load): clean up.
      
      	* src/sheet-object-item.c (sheet_object_item_new): remove,
      	redundant; re-tool calls to sheet_object_container_new_object.
      
      	* src/sheet-object.c (create_object): rename the one use.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_object_id):
      	remove activation logic.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_destroy): free
      	object_id. (sheet_object_bonobo_construct): do activation in here.
      	(sheet_object_bonobo_get_object_iid): implement.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_goadid):
      	rename to (sheet_object_container_new_object): this.
      
      	* src/xml-io.c (xml_write_sheet_object): add bonobo io.
      	(xml_read_sheet_object): add bonobo and re-scope vars.
      	(xml_parse_ctx_new_full): implement.
      
      	* src/main.c (gnumeric_main): add bonobo_io_init.
      
      	* src/xml-io.c (xml_parse_ctx_init): implement,
      	(xml_parse_ctx_shutdown): ditto.
      	(xml_workbook_write): moved
      	(gnumeric_xml_write_workbook): s/parse_xml_context_t/XmlParseContext/
      
      	* src/xml-io.c (xml_workbook_read): publicise.
      	(xml_workbook_write): ditto.
      
      2000-07-04  Michael Meeks  <michael@helixcode.com>
      
      	* src/about.c (dialog_about): sort alphabeticaly.
      ed8df623
    • Morten Welinder's avatar
      const issues. · ff44e061
      Morten Welinder authored
      2000-07-05  Morten Welinder  <terra@diku.dk>
      
      	* src/clipboard.c (x_selection_to_cell_region): Copy data and zero
       	terminate it.
      
      	* src/stf-parse.c (stf_parse_fixed_line): Kill unneeded cast.
      	(stf_parse_convert_to_unix): Unconstify.  Don't bother keeping
       	track of len.  Handle form-feeds better.
      ff44e061
    • Almer. S. Tigelaar's avatar
      When a column has right and left aligned text split and has 2 or more · 01b8664a
      Almer. S. Tigelaar authored
      2000-07-05  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/stf-parse.c:
      	(stf_parse_options_fixed_autodiscover): When a column has right
      	and left aligned text split and has 2 or more spaces in the
      	middle split the column in two. (Suggested by Morten)
      01b8664a
  6. 04 Jul, 2000 8 commits
    • Jody Goldberg's avatar
      Nat having a guru in place is not an error. · 689545d7
      Jody Goldberg authored
      
      2000-07-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-edit.c (workbook_edit_detach_guru) : Nat having a
      	  guru in place is not an error.
      689545d7
    • Jody Goldberg's avatar
      No need to sheet_update or recalc. cmd_paste_copy handles that. · 6e39158a
      Jody Goldberg authored
      
      2000-07-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (x_selection_received) : No need to sheet_update or
      	  recalc.  cmd_paste_copy handles that.
      
      	* src/gnumeric-util.c (gnumeric_non_modal_dialog) : New function.
      6e39158a
    • Morten Welinder's avatar
      Update current sheet, not a NULL sheet. · 3b4bfb23
      Morten Welinder authored
      2000-07-04  Morten Welinder  <terra@diku.dk>
      
      	* src/clipboard.c (x_selection_received): Update current sheet,
       	not a NULL sheet.
      3b4bfb23
    • Almer. S. Tigelaar's avatar
      Fix previously made 'unclear' entries. · 449e5868
      Almer. S. Tigelaar authored
      2000-07-04  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* Changelog:
      	Fix previously made 'unclear' entries.
      449e5868
    • Almer. S. Tigelaar's avatar
      Downgrade libtool requirment from 1.3.4 to 1.3.3. because compiling · f1c3b650
      Almer. S. Tigelaar authored
      2000-07-04  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* autogen.sh :
      	Downgrade libtool requirment from 1.3.4 to 1.3.3.
      	because compiling Gnumeric works fine with 1.3.3.
      f1c3b650
    • Jukka-Pekka Iivonen's avatar
      Implemented basis 0 for COUPDAYBS. · 9a7d6d65
      Jukka-Pekka Iivonen authored
      2000-07-04  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/functions/fn-financial.c: Implemented basis 0 for COUPDAYBS.
      
      	* src/functions/fn-financial.c (coupdays): Implemented frequency 1
       	for basis 1 (frequences 2 and 4 are still not done).
      9a7d6d65
    • Almer. S. Tigelaar's avatar
      Fix column mangling in fixed width import. · f1ab3f8d
      Almer. S. Tigelaar authored
      2000-07-04  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/dialogs/dialog-stf.c, src/dialogs/dialog-stf-fixed-page.c :
      	Fix column mangling in fixed width import.
      
      	* src/dialogs/dialog-stf-format-page.c :
      	Fix USB (==Ugly Selection Bug).
      
      	* src/stf-parse.c, src/stf-parse.h :
      	(stf_parse_options_fixed_autodiscover) : New!
      	Column autodiscovery for fixed width.
      
      	* src/dialogs/dialog-stf.glade :
      	Add clear and autodiscovery buttons
      
      	* src/dialogs/dialog-stf-fixed-page.c :
      	(fixed_page_autodiscover) : Autodiscovery routine.
      	(fixed_page_clear_clicked) : Clear click handler
      	(fixed_page_auto_clicked) : Autodiscovery click handler
      f1ab3f8d
    • Jukka-Pekka Iivonen's avatar
      Changed the third test case of ERROR.TYPE. It seems that XL produces · 4cf35245
      Jukka-Pekka Iivonen authored
      2000-07-04  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* samples/excel/infofuns.xls: Changed the third test case of
       	ERROR.TYPE.  It seems that XL produces #VALUE! error for
       	STDEV("foo") but #DIV/0! error for STDEV(A1) when A1 contains
       	string `foo'.  Cool.
      4cf35245
  7. 03 Jul, 2000 5 commits
    • Morten Welinder's avatar
      Don't add one to the number of lines if the last line is empty. · 332034ff
      Morten Welinder authored
      2000-07-03  Morten Welinder  <terra@diku.dk>
      
      	* src/stf-parse.c (stf_parse_get_rowcount): Don't add one to the
       	number of lines if the last line is empty.
      
      	* src/sheet.c (sheet_cell_set_text): Plug leak.
      
      	* src/workbook-format-toolbar.c
       	(do_sheet_selection_apply_number_format): Avoid double translation
       	of format.
      
      	* src/mstyle.c (mstyle_set_format_text): Renamed from
       	mstyle_set_format.
      	(mstyle_set_format): New function taking a StyleFormat *.
      332034ff
    • Jody Goldberg's avatar
      Begin the Name menu. · 672ded42
      Jody Goldberg authored
      
      2000-07-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Begin the Name menu.
      
      	* src/workbook-edit.c (workbook_edit_set_sensitive) : New function.
      	(workbook_finish_editing) : Use here.
      	(workbook_start_editing_at_cursor) : And here.
      	(workbook_edit_attach_guru) : And here.
      	(workbook_edit_detach_guru) : And here.
      	(workbook_edit_entry_redirect_p) : New function.
      
      	* src/item-grid.c (item_grid_button_1) : If we have a guru up, but are
      	  not selecting a region ignore clicks.
      	(item_grid_event) : Ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_select_expr_range) : It is
      	  possible to have a guru up without selecting regions.
      
      	* src/expr-name.c (expr_name_list) : Doh!
      
      2000-07-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_rewrite) : Names can contain relative references,
      	  we need to check them too.
      
      	* src/parser.y (exp) : Add production for sheet specific names.
      	  eg Sheet2!name
      
      2000-07-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-string.c (parse_search_strin) : Use g_strdup.
      672ded42
    • Jukka-Pekka Iivonen's avatar
      Implemented `Histogram' tool (mostly). · 275dc86f
      Jukka-Pekka Iivonen authored
      2000-07-03  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/analysis-tools.c: Implemented `Histogram' tool (mostly).
      
      	* src/dialogs/tools.h: Related changes.
      
      	* src/dialogs/analysis-tools.glade,
      	src/dialogs/dialog-analysis-tools.c: Added dialogs for `Histogram'
      	and `Fourier Analysis' tools.  The later is not implemented yet.
      275dc86f
    • Jukka-Pekka Iivonen's avatar
      Implemented COUPNUM(). · 7dc4e081
      Jukka-Pekka Iivonen authored
      2000-07-03  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/functions/fn-financial.c: Implemented COUPNUM().
      
      	* src/analysis-tools.c: Started the implementation of the third
      	anova tool (two-factor with replication).
      
      	* src/dialogs/analysis-tools.glade: Added dialog for the new
      	tool.  Fixed the `Correlation' dialog.
      
      	* src/dialogs/dialog-analysis-tools.c: Added
      	dialog_anova_two_factor_without_r_tool().
      
      	* src/dialogs/tools.h: Related changes.
      
      	* TODO: Added `Data analysis tools' section.
      7dc4e081
    • Jody Goldberg's avatar
      Add production for sheet specific names. eg Sheet2!name · ada6538e
      Jody Goldberg authored
      
      2000-07-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y (exp) : Add production for sheet specific names.
      	  eg Sheet2!name
      ada6538e
  8. 01 Jul, 2000 4 commits
    • Morten Welinder's avatar
      Constify. Handle empty name. (do_save_as): Ditto. (wants_to_overwrite): · 21bd7015
      Morten Welinder authored
      2000-07-01  Morten Welinder  <terra@diku.dk>
      
      	* src/file.c (can_try_save_to): Constify.  Handle empty name.
      	(do_save_as): Ditto.
      	(wants_to_overwrite): Ditto.
      
      2000-07-01  Morten Welinder  <terra@diku.dk>
      
      	* dialog-plugin-manager.c (refresh_right_frame): Use time_t, not
       	long for times.  Make sure to delete the right character ('\n'),
       	not an arbitrary one.
      21bd7015
    • Morten Welinder's avatar
      Guard against empty entry. · 9ba10168
      Morten Welinder authored
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* src/file.c (dialog_query_load_file): Guard against empty entry.
      9ba10168
    • Morten Welinder's avatar
      Plug leak. · 1067a54a
      Morten Welinder authored
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* src/parse-util.c (parse_cell_name_list): Plug leak.
      
      
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* dialog-solver.c (dialog_results): Initialise
       	keep_solver_solution.
      	(dialog_solver): Remove buffer overflow.  Mark string for
       	translation.  Call free_original_values to plug leak.  Remove
       	several bogus casts.
      	(constr_change_click): Remove buffer overflow.
      	(free_original_values): New function.
      
      	* dialog-autocorrect.c (add_fl_clicked): Use g_strdup.
      	(add_in_clicked): Ditto.
      1067a54a
    • Morten Welinder's avatar
      Remove a number of evil fixed-length buffers. · c2479cad
      Morten Welinder authored
      
      
      2000-06-30  Morten Welinder  <terra@diku.dk>
      
      	* src/solver-lp.c (write_constraint_str): Return an allocated
       	string instead of taking an unsized buffer.  Constify.  All
       	callers changed.
      c2479cad
  9. 30 Jun, 2000 5 commits
    • Morten Welinder's avatar
      Get rid of old plugins. · 43074ed0
      Morten Welinder authored
      43074ed0
    • JP Rosevear's avatar
      Use consistent names. · 8bf014a8
      JP Rosevear authored
      2000-06-30  JP Rosevear  <jpr@arcavia.com>
      
      	* src/embeddable-grid.c (EmbeddableGridFactory_init): Use
      consistent names.
      
      	* gnumeric.gnorba: Make server names consistent
      
      	* gnumeric.oafinfo: Make server names consistent
      8bf014a8
    • Jody Goldberg's avatar
      It is possible to have a guru up without editing. · 69d6d36b
      Jody Goldberg authored
      
      2000-06-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_select_expr_range) : It is
      	  possible to have a guru up without editing.
      	(gnumeric_sheet_key_press) : rename from gnumeric_sheet_key.
      	(gnumeric_sheet_size_allocate) : rename from gnumeric_size_allocate.
      	(gnumeric_sheet_focus_in) : Enable the input context.
      	(gnumeric_sheet_focus_out) : Disable the input context.
      	(gnumeric_sheet_realize) : Create the input context.
      	(gnumeric_sheet_unrealize) : Destroy the input context.
      	(gnumeric_sheet_class_init) : Register the new methods.
      	(gnumeric_sheet_init) : Init the input context.
      
      	* src/clipboard.c (x_selection_handler) : Adjust to changes in
      	  application_clipboard_clear.
      	(x_selection_clear) : Ditto.
      	* src/cmd-edit.c (cmd_paste) : Ditto.
      	* src/sheet.c (sheet_destroy) : Ditto.
      
      	* src/application.c (application_clipboard_clear) : Make dropping the
      	  selection optional.  This removes the kludges necessary to handle
      	  changing the clipboard when we already have the selection.
      
      	* src/functions/fn-logical.c (gnumeric_true, gnumeric_false) :
      	  fix signatures.
      69d6d36b
    • Jukka-Pekka Iivonen's avatar
      Added FALSE(). · 4beddd14
      Jukka-Pekka Iivonen authored
      2000-06-30  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/functions/fn-logical.c: Added FALSE().
      4beddd14
    • Jody Goldberg's avatar
      Bug 15796 · 71d65f69
      Jody Goldberg authored
      2000-06-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_set_selected_sheet) : short circuit
      	  clearing the selection if we are in the same workbook, not just the
      	  same sheet.
      71d65f69
  10. 29 Jun, 2000 3 commits
  11. 28 Jun, 2000 4 commits
    • Jody Goldberg's avatar
      Ref the function here. · c3de6cfe
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_tree_new_funcall) : Ref the function here.
      c3de6cfe
    • Jody Goldberg's avatar
      Init the new elements. · ca054481
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/func.c (fn_def_new) : Init the new elements.
      ca054481
    • Jody Goldberg's avatar
      new function. · 93f11589
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-sheet.c (GNUMERIC_VERSION) : new function.
      
      	* src/workbook.c (workbook_do_destroy) : No need to release the
      	  clipboard here.  The Sheet does it for us.
      
      	* src/workbook-format-toolbar.c : Add Fill to the default money
      	  format.
      
      	* src/symbol.c : The only symbols are functions.  The global table
      	  should not be world visible.
      
      	* src/sheet.c (sheet_flag_status_update_cell) : Take a CellPos.
      	(sheet_get_extent_cb) : Use Cell::pos rather than adding an
      	  indirection.
      	(cb_set_cell_content) : Use StyleFormat.
      	(sheet_cell_set_value) : Call sheet_flag_status_update_cell.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_destroy) : Prepare to clear out named expressions.
      	(colrow_move) : Handle changes in cell_relocate signature.
      	(sheet_move_range) : Ditto.
      
      	* src/sheet-autofill.c : Use StyleFormats.
      
      	* src/position.c (parse_pos_init) : Global position are permitted.
      
      	* src/parser.y : Large change.  Do not automaticlly look for function
      	  names or named expressions in the lexer.  The lexer returns STRING
      	  and QUOTED_STRING.  The parser then does the appropriate lookups to
      	  potentially convert to something else.  This allows us to have sheet
      	  names that are the same as functions.
      
      	* src/parse-util.c (cellref_name) : Add flag to optionally disable the
      	  addition of the sheet name.  This is useful when printing
      	  Sheet2!A1:A3 rather than Sheet2!A1:Sheet2!A3.
      
      	* src/number-match.c (format_create_regexp) : Handle fill formats.
      
      	* src/mstyle.c (mstyle_get_border) : Fix constness.
      
      	* src/mathfunc.c (combin, fact) : Moved these here from
      	  functions/fn-math.c
      
      	* src/main.c (gnumeric_main) : No more constants_init, or
      	  global_symbol_init.
      
      	* src/func.c () : Reorg.  Remove some dead code.  Begin adding
      	  workbook local function support, Begin adding volatile, and
      	  semi-volatile functions.  Move the use of SymbolTable internal
      	  in preparation for eliminating it.
      
      	* src/format.c (format_number) : Improve support for pound, yen, and euro.
      	  Remember to produce a number when we hit spacing.
      
      	* src/expr.c : Have ExprFunc refer directly to the FunctionDefinition
      	  We still use a SymbolTable internally, but that will be merged out
      	  later.
      
      	* src/expr-name.c : Major reorg.  Not complete.
      
      	* src/corba-sheet.c (fill_corba_value) : Adjust to changes in
      	  cellref_name signature.
      
      	* src/commands.c (cmd_set_date_time_undo) : No need to manually call
      	  update_cell_flag.  cell_remove, and cell_set_text do that for us.
      	(cmd_set_date_time_redo) : Ditto.
      	  Use StyleFormat.
      
      	* src/clipboard.c (paste_cell) : Take the ExprRewriteInfo as an
      	  argument.
      	(clipboard_paste_region) : Init the ExprRewriteInfo.  We need to do
      	  this here rather than in cell_relocate because we may be moving a
      	  region, not just a single cell, and references within the region
      	  should not be changed.
      
      	* src/cell.c (cell_relocate) : Take the relocation info as an
      	  argument.  Non NULL indicates a request to check bounds.  We can not
      	  do this at the cell level. becuase we may be moving a block rather
      	  than just a single cell, and references into the block should NOT be
      	  rewritten.
      	(cell_set_text_and_value) : Take a StyleFormat.
      	(cell_assign_value) : Ditto.
      	(cell_set_value) : Ditto.
      	(cell_set_expr_internal) : Ditto.
      	(cell_set_expr_unsafe) : Ditto.
      	(cell_set_expr) : Ditto.
      
      	* src/auto-format.c (do_af_suggest) : Expression now refers directly
      	  to functionDef.
      93f11589
    • Miguel de Icaza's avatar
      Add OAF support here. · d0321221
      Miguel de Icaza authored
      2000-06-22  Miguel de Icaza  <miguel@helixcode.com>
      
      	* src/sheet-object-item.c (sheet_object_item_new): Add OAF support
      	here.
      d0321221