1. 01 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      describe geometry option streamline label output (don't overwrite cells) · 855c6e9b
      Andreas J. Guelzow authored
      2001-12-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/main.c : describe geometry option
      	* src/analysis-tools.c (anova_two_factor_with_r_tool) : streamline
      	  label output (don't overwrite cells)
      
      2001-12-31  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* histogram.glade : correct label
      	* dialog-analysis-tools.c (anova_two_factor_tool_ok_clicked_cb) :
      	  correct error message
      	(random_tool_ok_clicked_cb) : correct error messages
      855c6e9b
  2. 21 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      Cleanup and standardize the #include files · 65d67daa
      Jody Goldberg authored
      65d67daa
    • Jody Goldberg's avatar
      add support for FORMULA_PTG_REF_ERR. FORMULA_PTG_AREA_ERR. · 54eb7e96
      Jody Goldberg authored
      2001-12-20  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : add support for
      	    FORMULA_PTG_REF_ERR.
      	    FORMULA_PTG_AREA_ERR.
      
      	* ms-obj.c (ms_read_OBJ) : add protection against missing virtuals.
      	  If the object is a graph read it even if we do not support them in
      	  this context (embedded in another object) or if we do not support
      	  graphs at all.  This enables us to read embedded graphs without
      	  throwing off the rest of the parsing.
      
      2001-12-21  Jody Goldberg <jody@gnome.org>
      
      	* src/clipboard.c (clipboard_paste_region) : transpose merges too.
      
      	* src/colrow.c (colrow_compute_pixels_from_pts) : ensure that things
      	  do not get too small.
      
      2001-12-20  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (cmd_autofill_redo) : clear merges before filling.
      
      	* src/sheet.c (sheet_clear_region) : Add CLEAR_MERGED.
      
      	* src/clipboard.c (clipboard_paste_region) : use sheet_clear_region to
      	  remove the merges.
      
      	* src/sheet-autofill.c (fill_item_new) : init the merge sizze to 1x1
      	  if we are not merged.  This simplifies logic later.  Remove the
      	  'is_merged' flag it was redundant.
      	(autofill_create_fill_items) : rename region_count -> region_size
      	  it is clearer.  If a cell is merged be smarter about incrementing
      	  in a way consistent with what the user sees.
      	(sheet_autofill_dir) : ditto.
      
      	* src/workbook-cmd-format.c (sheet_dialog_set_row_height) : honour
      	  minima.
      	(sheet_dialog_set_column_width) : ditto.
      
      	* src/colrow.c (colrow_compute_pixels_from_pts) : don't let the pixel
      	  size shrink below the margin size.
      54eb7e96
  3. 27 Nov, 2001 1 commit
  4. 06 Sep, 2001 2 commits
  5. 24 Aug, 2001 2 commits
    • Jody Goldberg's avatar
      fix. · 8ba4a43f
      Jody Goldberg authored
      2001-08-24  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am : fix.
      
      	* src/gnumeric-canvas.c : add gnome-i18n.
      	* src/gnumeric-util.c : add gnome-{i18n,util}
      	* src/gui-file.c : add gnome-{i18n,config,util}
      	* src/history.c : add gnome-i18n.
      	* src/main.c : add gnome-config.
      	* src/sheet-control-gui.c : add gnome-i18n.
      	* src/workbook.c : Add gnome-i18n, loosen sheet-control-gui req to
      	  just sheet-control.
      	* src/workbook-edit.c : add gnome-i18n.
      	* src/workbook-view.c : add gnome-i18n and gnome-config, remove widget.
      	* src/workbook-control-gui.c : Add gnome-i18n and gnome-config.
      	* src/xml-io-autoft.c : add unistd.h
      8ba4a43f
    • Chyla Zbigniew's avatar
      Replace mega-include <gnome.h> with something smaller. · ac93e10a
      Chyla Zbigniew authored
      * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
      src/clipboard.c, src/cmd-edit.c, src/command-context.c,
      src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
      src/dates.c, src/dialogs/dialog-about.c,
      src/dialogs/dialog-advanced-filter.c,
      src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
      src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
      src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
      src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
      src/dialogs/dialog-plugin-manager.c,
      src/dialogs/dialog-printer-setup.c,
      src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
      src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
      src/dialogs/dialog-stf-export-private.h,
      src/dialogs/dialog-stf-export-sheet-page.c,
      src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
      src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
      src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
      src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
      src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
      src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
      src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
      src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
      src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
      src/main.c, src/normal-args.c, src/number-match-test.c,
      src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
      src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
      src/search.c, src/selection.c, src/sheet-autofill.c,
      src/sheet-merge.c, src/sheet-object-bonobo.c,
      src/sheet-object-container.c, src/sheet-object-graphic.c,
      src/sheet-object-item.c, src/sheet-object-widget.c,
      src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
      src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
      src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
      src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
      src/widgets/gnumeric-vscrollbar.c,
      src/widgets/widget-editable-label.c,
      src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      src/workbook-control.c, src/workbook-format-toolbar.c,
      src/workbook-object-toolbar.c, src/workbook-private.h,
      src/xml-io-autoft.c, src/xml-io.c:
      Replace mega-include <gnome.h> with something smaller.
      ac93e10a
  6. 15 Aug, 2001 1 commit
    • Ariel Rios's avatar
      Remove guile stuff. We no longer need to take over main and all guile init · c295f1b7
      Ariel Rios authored
      2001-08-14  Ariel Rios  <ariel@linuxppc.org>
      
              * src/main.c (main): Remove guile stuff. We no longer need
              to take over main and all guile init functions are now handle
              by the guile plugin itself.
      
      
      2001-08-14  Ariel Rios  <ariel@linuxppc.org>
      
              * plugin.c (plugin_init_general): We now initialize guile
              here.
              (has_gnumeric_been_compiled_with_guile_support): Probably,
              we don't need this function anymore. Anyway, it was moved
              from src/main.c
      c295f1b7
  7. 10 Aug, 2001 1 commit
  8. 18 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Fix. SheetControl no longer inherits from Table it now contains it. · 972110b3
      Jody Goldberg authored
      2001-07-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_sheet_move) : Fix.
      	  SheetControl no longer inherits from Table it now contains it.
      
      	* src/sheet-control-gui.c (cb_sheet_object_view_destroy) : rename from
      	  cb_sheet_object_destroy.
      
      	* src/sheet-object.c (cb_sheet_object_configure) : Use
      	  sheet_object_view_obj and sheet_object_view_control.
      	(sheet_object_view_destroyed) : remove the sheetcontrol key from the
      	  view when it is destroyed.  And remove our reference to the control.
      	(sheet_object_new_view) : give the view a ref of the control.
      
      	* src/item-grid.c (item_grid_draw) : only draw bound lines at pane
      	  bounds.
      
      	* src/item-bar.c (item_bar_event) : dont draw the resize bar past the
      	  minimum size.
      972110b3
  9. 05 Jul, 2001 1 commit
    • Jody Goldberg's avatar
      Initial support for frozen panes. · 99073bd9
      Jody Goldberg authored
      2001-07-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-merge.c (sheet_merge_add) : Use sheet_redraw_range.
      
      	* src/sheet-control.c (sc_set_panes) : new virtual.
      	(sc_set_sheet) : renamed from sc_invalidate_sheet.
      
      	* src/sheet-control-gui.c (scg_primary_pane) : new function. Be very
      	  careful when using this.  It should not be necessary in most cases.
      	(scg_get_wbcg) : convenience routine.
      	(scg_redraw_all) : frozen panes.
      	(scg_redraw_region) : renamed from scg_redraw_cell_region, and frozen
      	  pane support.
      	(scg_redraw_headers) : merge in the code from gnumeric-sheet.
      	(scg_update_cursor_pos) : pane support.
      	(scg_resize) : ditto.
      	(scg_set_zoom_factor) : ditto.  Broken. needs to resize the panes.
      	(scg_scrollbar_config) : adjust to panes.
      	(scg_make_edit_pos_visible) : use scg_make_cell_visible.
      	(scg_colrow_select) : reorg a bit.
      	(vertical_scroll_offset_changed) : adjust to panes.
      	(horizontal_scroll_offset_changed) : ditto.
      	(cb_table_destroy) : ditto.
      	(scg_init) : init the top here.
      	(bar_set_left_col) : from gnumeric-sheet. Still needs work for panes.
      	(bar_set_top_row) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_set_top_row) : ditto.
      	(scg_set_left_col) : TODO.
      	(scg_set_top_row) : ditto.
      	(gnumeric_sheet_set_top_left) : new function split from.
      	(gnumeric_sheet_make_cell_visible) : here.
      	(scg_make_cell_visible) : adjsut to panes and do the real work here.
      	(scg_make_cell_visible_virt : wrapper for use as virtual.
      	(gnumeric_pane_new) : new function.
      	(gnumeric_pane_delete) : ditto.
      	(scg_set_panes) : ditto.
      	(scg_construct) : move the table attachments around and move the
      	  canvas groups into the panes.
      	(sheet_control_gui_new) : beef this up.
      	(scg_unant) : adjust to panes.
      	(scg_ant) : ditto.
      	(scg_cursor_visible) : ditto.
      	(scg_cursor_bound) : ditto.
      	(scg_adjust_preferences) : ditto.
      	(scg_compute_visible_region) : ditto.
      	(scg_create_editor) : ditto.
      	(scg_stop_editing) : ditto.
      	(scg_take_focus) : ditto.
      	(scg_sliding_callback) : adjust top panes, but is still much too
      	  stupid.
      	(scg_start_sliding) : ditto.
      	(cb_slide_handler) : ditto.
      	(cb_control_point_event) : ditto.
      	(new_control_point) : ditto.
      	(set_item_x_y) : ditto.
      	(set_acetate_coords) : ditto.
      	(scg_object_calc_position) : ditto.
      	(scg_object_view_position) : ditto.
      	(scg_rangesel_changed) : ditto.
      	(scg_rangesel_start) : ditto.
      	(scg_rangesel_stop) : ditto.
      	(scg_rangesel_move) : ditto.
      	(scg_rangesel_extend) : ditto.
      
      	* src/item-grid.c (sheet_object_begin_creation) : Use the group
      	  associated with the gsheet, not the scg, and use GNUMERIC_IS_SHEET
      	  in preference to != NULL.
      
      	* src/item-bar.c : Store the gnumeric-sheet rather than the scg so
      	  that we can get to the Pane.
      
      	* src/embeddable-grid.c (grid_view_activate) : Use scg_take_focus.
      	(grid_view_new) : Use sheet_control_gui_new in place of sheet_new_scg.
      
      	* convert to E_MAKE_TYPE
      	* Use IS_SHEET in preference to sheet != NULL
      	* sheet_range_calc_spans signature change
      
      	* src/clipboard.c (clipboard_paste_region) : special handling when
      	  pasting into a selection that consists of a single merged cell.
      
      	* src/application.c (application_set_selected_sheet) : Use IS_SHEET.
      	(application_clipboard_copy) : ditto.
      	(application_clipboard_cut) : ditto.
      
      	* src/Makefile.am :
      	    command-context-corba -> workbook-control-corba
      
      	* src/sheet.c : convert to using IS_SHEET in place of sheet != NULL in
      	  several places.
      	(sheet_is_frozen) : new function.
      	(sheet_freeze_panes) : implement.
      	(sheet_new) : init frozen pane data.
      	(sheet_range_calc_spans) : pass a pointer rather than copy of the range.
      	  and use sheet_redraw_range.
      	(sheet_apply_style) : use sheet_redraw_range.
      	(cb_sheet_get_extent) : premature optimization is evil.
      	(sheet_redraw_region) : rename from sheet_redraw_cell_region.
      	(sheet_set_edit_pos) : use sheet_redraw_range.
      	(sheet_move_range) : ditto.
      	(sheet_init_sc) : new routine.
      	(sheet_attach_control) : rename and task from sheet_new_scg.
      	(sheet_redraw_region) : renamed from sheet_redraw_cell_region.
      
      	* src/item-cursor.c (item_cursor_update) : increase the spacing for
      	  the autohandle.
      
      	* src/GNOME_Gnumeric.xml :
      	  - Use Control*colon and Control*semicolon
      	  - desensitize the graph guru for now.
      	  - Add freeze/thaw
      
      	* src/item-bar.c (item_bar_unrealize) : no need to double unref the
      	  fonts.
      
      	* src/print-cell.c (print_merged_range) : This is not being drawn on
      	  the screen, no need for all the fancy calcs to only draw the visible
      	  bits.  We will just clip it.
      	* src/print-cell.c (print_cell) : Use the calulated width, not the col
      	  width for splitting.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Use the scg_
      	  versions of things in preference to the gnumeric_sheet_ versions.
      	(gnumeric_sheet_new) : Store the Pane that this is associated with.
      	(gnumeric_sheet_bar_set_top_row) : moved to sheet-control-gui.c
      	(gnumeric_sheet_set_top_row) : ditto.
      	(gnumeric_sheet_bar_set_left_col) : ditto.
      	(gnumeric_sheet_set_left_col) : ditto.
      	(gnumeric_sheet_make_cell_visible) : ditto.
      	(gsheet_compute_visible_region) : handle panes.
      99073bd9
  10. 18 Jun, 2001 1 commit
  11. 02 Jun, 2001 2 commits
    • Jody Goldberg's avatar
      be consistent and don't block. · 9fc2426c
      Jody Goldberg authored
      
      2001-06-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (handle_paint_events) : be consistent and don't block.
      
      	* src/io-context.c (io_progress_update) : avoid an infinite loop.
      9fc2426c
    • Jody Goldberg's avatar
      rewrite, not quite done. · f423353e
      Jody Goldberg authored
      
      2001-06-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_compile) : rewrite, not quite done.
      
      	* src/commands.c (cmd_set_text_undo) : queue a recalc.
      	(cmd_clear_redo) : ditto.
      	* src/corba-sheet.c (Sheet_clear_region) : ditto.
      	(Sheet_clear_region_content) : ditto.
      	* src/gui-clipboard.c (x_selection_handler) : ditto.
      	* src/sheet-merge.c (sheet_merge_add) : ditto.
      
      	* src/eval.c : switch the depend lists to be singly linked.
      	(dep_slist_filter_sheet) : convenience routine.
      	(dependent_unqueue_sheet) : Used here.
      	(dependent_unlink_sheet) : and here.
      
      	* src/workbook-control-gui.c (display_formulas) :  convert the single
      	  lists.
      f423353e
  12. 24 May, 2001 1 commit
    • Jody Goldberg's avatar
      Revamp the recalc queue · af206304
      Jody Goldberg authored
      2001-05-22  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric.spec.in : bump version of libole2
      	* README : ditto.
      	* configure.in : ditto.
      
      2001-05-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_is_pristine) : no need to check the recalc
      	  queue.  If there are no dependents there is nothing to put on the
      	  eval queue.
      
      	* src/func.c (cb_iterate_cellrange) : rename from
      	  iterate_cellrange_callback remove 'generation' mechanism.
      
      	* src/cell.c (cell_cleanout) : Clear both recalc flags,
      	  in_queue and needs
      	(cell_copy) : ditto.
      	(cell_eval_content) : No need to render the value.  assign_value
      	  already does it.
      	(cell_content_changed) : deleted.
      
      	* src/Makefile.am : merge dependent.[ch] into eval.[ch]
      
      2001-05-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/eval.c : reorg and merged with dependent.[ch]
      
      	* src/sheet.c (sheet_cell_set_text) :
      	  s/cell_content_changed/cell_queue_recalc/
      	(sheet_cell_set_expr) : ditto.
      	(sheet_cell_set_value) : ditto.
      	(colrow_move) : ditto.
      	(sheet_destroy_contents) :
      	  s/dependent_unqueue_recalc_sheet/dependent_unqueue_sheet/
      
      	* src/cmd-edit.c (cmd_select_cur_row) : Make behavior match XL.
      	(cmd_select_cur_col) : Make behavior match XL.
      
      	* src/format.c (render_number) : avoid temporaries.
      	(do_render_number) : ditto.
      
      2001-05-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (eval_range) : delete.
      	(eval_expr_real) : Use workbook_foreach_cell_in_range rather than
      	  range_eval.  Remove 'generation' mechanism.
      	(cb_range_eval) : a simple pass through
      
      	* src/eval.c (sheet_region_recalc_deps) : rename from
      	  sheet_recalc_dependencies and merge in sheet_region_get_deps.
      	  Use the new foreach style interfaces.
      	(cb_single_recalc_all_depends) : rename from cb_single_get_all_depends
      	  and simplify.
      	(cb_range_recalc_all_depends) : rename from cb_sheet_get_all_depends and simplify.
      	(cb_dependent_queue_recalc) : new wrapper.
      	(cb_region_contained_depend) : renamed from search_range_deps and simplify.
      	(cell_foreach_dep) : rename from cell_get_dependencies and switch to
      	  an in place api rather than creating a list.
      	(cell_foreach_single_dep) : switch to in place api
      	(cell_foreach_range_dep) : ditto.
      	(search_cell_deps) : ditto.
      	(cell_recalc_deps) : ditto.
      	(cell_eval) : ditto.
      	(cb_generation_queue) : new utility.
      
      	* src/dependent.c (dependent_list_filter) : delete.
      
      	* src/cmd-edit.c (cb_collect_deps) : new function split from.
      	(cmd_select_cur_depends) : here. So that we can use the new depend
      	  api.
      
      	* src/sheet.c (sheet_move_range) : use sheet_region_recalc_deps.
      	(sheet_{insert,delete}_{cols,rows}) : ditto.
      	(sheet_cell_remove_simple) : Use in place depend interface.
      
      	* src/cell.c (cell_content_changed) : Use in place depend interface.
      	* src/clipboard.c (clipboard_paste_region) : ditto.
      	* src/commands.c (cmd_area_set_text_redo) : ditto.
      	(cmd_autofill_redo) : ditto.
      
      2001-05-21  Jody Goldberg <jgoldberg@home.com>
      
      	* Makefile.am : remove gnorba and modernize a bit.
      af206304
  13. 21 May, 2001 1 commit
    • Chyla Zbigniew's avatar
      Cleaned up file i/o interface. · 33d35aa2
      Chyla Zbigniew authored
      
      Cleaned up file i/o interface.
      
      * src/Makefile.am: Added file-priv.h.
      
      * src/file.[ch]:
      Made GnumFileOpener and GnumFileSaver GtkObjects with virtual probe,
      open and save methods.
      New GnumFileOpener methods: get_id.
      New GnumFileSaver methods: get_id, fix_file_name.
      New functions: register_file_opener, register_file_opener_as_importer,
      unregister_file_opener, unregister_file_opener_as_importer,
      register_file_saver, register_file_saver_as_default,
      unregister_file_saver, get_default_file_saver,
      get_file_opener_by_id, get_file_saver_by_id,
      get_file_savers, get_file_openers, get_file_importers.
      
      * src/file-priv.h: New file with definitions of structs:
      _GnumFileOpener, _GnumFileOpenerClass, _GnumFileSaver,
      _GnumFileSaverClass.
      
      * src/workbook.h
      (struct _Workbook): Added file_saver_sig_id field.
      s/FileSaver/GnumFileSaver/
      (workbook_get_file_saver): New accessor function.
      
      * src/workbook.c
      (cb_saver_destroy_event, workbook_destroy, workbook_set_saveinfo):
      When setting new file_saver, connect to its "destroy" signal and
      set file_saver to NULL in signal handler. Disconnect when changing file
      saver or destroying the workbook.
      (workbook_get_file_saver): New accessor function.
      
      * src/workbook-view.[ch]
      (wb_view_set_attributev): Renamed to wb_view_set_attribute_list and
      simplified.
      (wb_view_save_as, wb_view_save, wb_view_open, wb_view_open_custom): New
      methods (some code moved from file.c).
      
      * src/gnumeric-sheet.c (gnumeric_sheet_filenames_dropped):
      Use wb_view_open() instead of workbook_try_read()+file_finish_load().
      
      * src/gui-file.c
      (gui_file_import): Use get_file_importers(). Use
      wb_view_open_custom() instead of file_opener_open() + manual creation
      of wb_view, error checking, etc.
      (is_saver_registered): Removed.
      (saver_activate): Don't check if saver is really registered.
      (file_saver_is_default_format): Use get_default_file_saver() instead
      of strcmp(extension, "gnumeric") hack.
      (do_save_as): Use gnum_file_saver_fix_file_name().
      Adjusted everything to file.h, workbook.h, workbook-control.h.
      
      * src/gui-file.h (gui_file_import): Signature change, now function
      returns gboolean.
      
      * src/gutils.[ch] (g_list_index_custom): New function.
      
      * src/history.c (file_history_cmd), src/main.c (gnumeric_main),
      src/workbook-control-gui.c (cb_file_open): Use wb_view_open()
      instead of workbook_read().
      
      * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
      s/FileSaver/GnumFileSaver/
      
      * src/plugin-service
      Created GnumPluginFileOpener and GnumPluginFileSaver classes (derived
      from GnumFileOpener and GnumFileSaver respectively). Moved contents of
      plugin_service_file_opener_probe_func,
      plugin_service_file_opener_open_func,
      plugin_service_file_saver_save_func into
      gnum_plugin_file_opener_probe, gnum_plugin_file_opener_open,
      gnum_plugin_file_saver_save methods (slightly modified).
      (plugin_service_file_opener_read): Read "open" and "import" attributes
      of <service> tag.
      (plugin_service_file_opener_initialize,
      plugin_service_file_opener_cleanup): Register/unregister created
      file opener (GnumPluginFileOpener object) as normal opener and/or
      importer depending on "open" and "import" XML attributes.
      (plugin_service_file_opener_initialize,
      plugin_service_file_opener_cleanup): Register/unregister created
      file saver (GnumPluginFileSaver object).
      
      * src/plugin-service.h
      (struct _PluginServiceFileOpener):
      Added can_open and can_import fields.
      s/FileOpener/GnumFileOpener/
      (struct _PluginServiceFileSaver):
      s/FileSaver/GnumFileSaver/
      
      * src/plugin-loader-module.c
      (struct ServiceLoaderDataFileOpener, struct ServiceLoaderDataFileSaver),
      gnumeric_plugin_loader_module_func_file_probe,
      gnumeric_plugin_loader_module_func_file_open,
      gnumeric_plugin_loader_module_func_file_save):
      s/FileOpener/GnumFileOpener/
      s/FileSaver/GnumFileSaver/
      
      * src/stf.c
      (stf_read_workbook, stf_write_workbook): Signature change
      (don't return gboolean).
      (stf_init): Adjusted to file i/o interface changes.
      
      src/xml-io.[ch]
      (gnumeric_xml_get_opener, xml_probe):
      s/FileOpener/GnumFileOpener/
      (gnumeric_xml_get_opener):
      s/FileSaver/GnumFileSaver/
      (gnumeric_xml_read_workbook, gnumeric_xml_write_workbook): Signature
      change (don't return gboolean).
      (xml_init): Adjusted to file i/o interface changes.
      33d35aa2
  14. 14 May, 2001 1 commit
  15. 12 May, 2001 1 commit
    • Jody Goldberg's avatar
      add sheet_merge. (xml_sax_start_element) : add sheet_merge, and · eb7517d7
      Jody Goldberg authored
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_characters) : add sheet_merge.
      	(xml_sax_start_element) : add sheet_merge, and sheet_merged_regions.
      	(xml_sax_end_element) : call xml_sax_parse_merge.
      	(xml_sax_parse_merge) : new function.
      	(xml_sax_parse_sheet_end) : new function to set the zoom after the
      	  content.
      	(xml_sax_parse_sheet_start) : renamed from xml_sax_parse_sheet.
      	(xml_parse_sheet_zoom) : just store the zoom don't set till later.
      	(xml_sax_cols_rows) : new function.
      
      2001-05-10  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_parse_attr_bool) : new function.
      	(xmlSaxParseSheet) : use it here.
      	(xml_sax_parse_wb) : fix inverted cmp.
      	(xmlSaxParseSheet) : no sheet yet here.  Just store the prefs for
      	  later.
      	(xmlSaxParseSheet) : use any saved prefs.
      	(xml_sax_file_open) : typo.
      
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_real_time_auto_expr_recalc) : new
      	  function.
      
      	* src/sheet.c (auto_expr_timer_clear) : new function.
      	(sheet_update) : toggle the selection_content_changed flag here and
      	  use a timer rather than an idle handler.
      
      	* src/workbook-edit.c (wbcg_edit_ctor) : Init the sensitivity timer.
      
      	* src/workbook-control-gui.c (workbook_setup_edit_area) : Use
      	  wbcg_edit_ctor.
      	(wbcg_destroy) : use wbcg_edit_dtor.
      
      	* src/main.c (gnumeric_main) : setlocale (LC_ALL, NULL) to force
      	  initialization of LC_* from the environment.
      eb7517d7
  16. 10 May, 2001 1 commit
  17. 12 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      fix chema's spanning problem. · 5c3d4bf0
      Jody Goldberg authored
      
      2001-04-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cellspan.c (cell_calc_span) : fix chema's spanning problem.
      
      	* src/workbook-control-gui.c (workbook_menu_data) : Add an icon for
      	  the sort menu item.
      
      2001-04-9  Jody Goldberg <jgoldberg@home.com>
      
      	s/cmd_hide_selection_colrow/cmd_colrow_hide_selection/
      
      	* src/commands.c (cmd_colrow_outline_change) : new wrapper for
      	  colrow_hide that handled outline changes.
      
      	* src/workbook-control-gui.c (cb_insert_{cols,rows}) : cancel edit.
      	(cb_select_auto_expr) : return a value.
      
      	* src/colrow.c (cb_col_row_visibility) : Use get rather than fetch.
      	(colrow_find_outline_bound) : new function.
      	(cb_colrow_visibility) : turn this into a wrapper for.
      	(colrow_visibility) : this, and add honour_collapse flag.
      	  invert the search to go fro mthe end to the start in preparation for
      	  supporting the honour_collapse flag.  Insert the items into a sorted
      	  list in case we want to merge them some day.
      	(colrow_get_outline_toggle) : use new routine here too.
      
      2001-04-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Doh!  The outline events are
      	  controled by the minor coordinate.
      
      2001-04-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : shut plugins down first.
      5c3d4bf0
  18. 30 Mar, 2001 1 commit
    • Jody Goldberg's avatar
      remove style_debug option tha was unused. It was only mostly unused :-) · bd9663e4
      Jody Goldberg authored
      
      2001-03-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c : remove style_debug option tha was unused.
      	* src/mstyle.c (mstyle_elements_equal) : It was only mostly unused :-)
      
      	* src/workbook-control-gui.c (wbcg_menu_state_sheet_count) : fix.
      
      	* src/item-bar.c (is_pointer_on_division) : robustify in the face of
      	  clicking out of bounds.
      	(item_bar_event) : ditto, also simplfy a bit.
      bd9663e4
  19. 20 Mar, 2001 1 commit
    • Chyla Zbigniew's avatar
      Moved XL support from Gnumeric binary into real plugin. · aec1f2bf
      Chyla Zbigniew authored
      
      Moved XL support from Gnumeric binary into real plugin.
      
      * src/Makefile.am
      (gnumeric_libs): Removed ../plugins/excel/libexcel.a
      
      * src/main.c:
      Removed:
      - include "../plugins/excel/boot.h"
      - xxx_debug variables
      - (gnumeric_popt_options) excel debugging options
      - excel_init() and excel_shutdown() calls
      aec1f2bf
  20. 20 Feb, 2001 1 commit
    • Jody Goldberg's avatar
      remove inclusion of embeddable-grid.h this causes problems in the release · 8bfaab32
      Jody Goldberg authored
      
      2001-02-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c : remove inclusion of embeddable-grid.h this causes
      	  problems in the release because main.c then depends on files that
      	  are only available in the ENABLE_BONOBO case.
      
      	* src/item-bar.c (bar_draw_cell) : set the clip for the text.  no need
      	  to clip a rectangle or shadow whose boundaries we define.
      
      	* src/sheet-control-gui.c (scg_redraw_cell_region) : Handle shrinkage.
      8bfaab32
  21. 14 Feb, 2001 1 commit
  22. 11 Feb, 2001 3 commits
  23. 25 Jan, 2001 1 commit
    • Chyla Zbigniew's avatar
      Added error-info.[ch] · fbc4a7c5
      Chyla Zbigniew authored
      
      * src/Makefile.am (GNUMERIC_BASE_SOURCES): Added error-info.[ch]
      
      * error-info.[ch]: New files.
      
      * src/plugin.[ch]: New plugin engine.
      
      * src/dialogs/dialog-plugin-manager.c,
      src/dialogs/plugin-manager.glade,
      src/dialogs/plugin-manager.glade.h:
      New plugin manager.
      
      * src/main.c (gnumeric_main): Call plugins_shutdown() on shutdown.
      
      * src/bonobo-io.c
      (gnumeric_bonobo_write_workbook, gnumeric_bonobo_read_workbook,
      gnumeric_bonobo_io_probe): Added "user_data" arg.
      (gnumeric_bonobo_io_init): Saving saver/opener id.
      
      * src/file-autoft.c (gnumeric_extra_autoformat_dirs): Used
      gnumeric_config_get_string_list function.
      
      * src/file.c
      (file_format_register_open, file_format_register_save): Added
      user_data parameter, return FileOpenerId/FileSaverId.
      (file_format_unregister_open, file_format_unregister_save): Take
      only FileOpenerId/FileSaverId as parameter.
      (get_file_saver_by_id, get_file_opener_by_id): New functions.
      (do_load_from): Pass user_data parameter to "probe" and "open"
      functions.
      (workbook_save_as, workbook_save): Pass user_data parameter to "save"
      function.
      
      * src/file.h
      (FileFormatProbe, FileFormatOpen, FileFormatSave): Adder user_data
      parameter.
      (struct _FileOpener, struct _FileSaver): Added opener_id/saver_id
      field.
      (file_format_register_open, file_format_register_save):
      Added user_data parameter, return FileOpenerId/FileSaverId.
      (file_format_unregister_open, file_format_unregister_save):
      Take only FileOpenerId/FileSaverId as parameter.
      
      * src/gnumeric-util.[ch]
      (gnumeric_error_info_dialog_show, static ctree_insert_error_info):
      New functions displaying dialog with ErrorInfo contents.
      
      * src/gui-file.c (gui_file_import): Pass user_data parameter to
      "open" function.
      
      * src/gutils.[ch]
      New functions: gnumeric_config_get_string_list,
      gnumeric_config_set_string_list, g_string_list_copy,
      g_strsplit_to_list.
      (g_create_list): Added missing va_end().
      
      * src/stf.c (stf_read_workbook, stf_write_workbook): Added user_data
      parameter.
      
      * src/workbook.[ch] (workbook_set_saveinfo): Now takes file_saver_id
      instead of save_fn.
      
      * src/xml-io.c
      (xml_probe, gnumeric_xml_read_workbook, gnumeric_xml_write_workbook):
      Added user_data parameter.
      (xml_init): Store xml_opener_id and xml_saver_id.
      (gnumeric_xml_get_opener_id, gnumeric_xml_get_saver_id): New
      functions.
      fbc4a7c5
  24. 31 Dec, 2000 1 commit
  25. 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
  26. 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
  27. 09 Dec, 2000 1 commit
    • 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
  28. 07 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Add some new icons · 850e9b36
      Jody Goldberg authored
      
      2000-12-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_init) : Add some new icons
      
      	* src/gnumeric.xml : Use the new icons
      	* src/workbook-control-gui.c : Ditto
      	* src/workbook-format-toolbar.c : Ditto.
      850e9b36
  29. 05 Dec, 2000 1 commit
  30. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  31. 31 Oct, 2000 1 commit
    • Jody Goldberg's avatar
      Set LC_MONETARY and LC_NUMERIC. Ditto. (xml_workbook_read) : Ditto. · ffac72f5
      Jody Goldberg authored
      
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (wb_view_auto_expr) : Set LC_MONETARY and
      	  LC_NUMERIC.
      	* src/xml-io.c (xml_workbook_write) : Ditto.
      	(xml_workbook_read) : Ditto.
      
      2000-10-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/*.[ch] : WorkbookControlGUI is now required for gui
      	  operations.  A WorkbookView is required to know which sheet is the
      	  current.
      
      	* src/xml-io.c : We now load/save WorkbookViews.
      
      	* src/xml-io-autoft.c : Adjust to signature changes.
      
      	* src/workbook.c : Split the View into WorkbookView.
      	  Abstract the Controler interface, and move the GUI specific
      	  implementation of the Controler into WorkbookControlGUI.
      
      	* src/workbook-view.c : Complete rewrite with correct semantics.
      
      	* src/workbook-private.h : Move all the GUI specific stuff into
      	  WorkbookControlGUI were it belongs.
      
      	* src/workbook-private.c (workbook_private_class_init) : Fix typo.
      
      	* src/workbook-edit.c : These are now WorkbookControlGUI specific.
      	  We should rename the functions eventually.
      	* src/workbook-format-toolbar.c : Ditto.
      	* src/workbook-object-toolbar.c : Ditto.
      
      	* src/workbook-cmd-format.c : Adjust to signature changes.
      	  and use WorkbookControlGUI were necessary.
      
      	* src/style.c (style_font_new_from) : Delete dead code.
      
      	* src/solver-lp.c : Adjust to signature changes.
      	* src/sort.c : Ditto.
      	* src/stf.c : Ditto. Make dialog conditional on gui-ness.
      
      	* src/sheet.c (sheet_new_sheet_view) : IS_SHEET checks for NULL.
      	(sheet_detach_sheet_view) : renamed from sheet_destroy_sheet_view
      	  and only take a SheetView as argument.
      	(sheet_new) : Do not create a view by default.
      	(sheet_update_zoom_controls) : foreach control.
      	(sheet_update_editpos) : ditto.
      	(sheet_update) : handle multiple views and controls.
      
      	* src/sheet-view.c : Commands take WorkbookControls rather than
      	  CommandContexts.
      
      	* src/sheet-object-widget.c : Most things take WorkbookControlGUI
      	  rather than Workbooks.
      
      	* src/sheet-object-container.c (sheet_object_container_new_view) :
      	  Use the uic from the WorkbookControlGUI.
      
      	* src/sheet-control.c : New file. Unused so far.
      	  cp sheet-view.c sheet-control.c
      	  s/SheetView/SheetControl/
      
      	* src/print.c : Make the GUI dependency explicit.
      	  At some point the setup dialog should be split out of here.
      
      	* src/main.c (gnumeric_main) : Explicitly create a WorkbookControlGUI
      	  only adding sheets if nothing was loaded.  Improve handing of exit
      	  request while loading.
      
      	* src/item-grid.c (item_grid_draw) : Filter the edit cell from here
      	  because we know which control to use.
      	(context_menu_hander) : Switch to WorkbookControlGUI.
      	(item_grid_popup_menu) : Ditto.
      
      	* src/item-edit.c : Everything takes a WorkbookControlGUI inplace of a
      	  Workbook now.
      
      	* src/item-cursor.c (item_cursor_target_region_ok) : dialog_run takes
      	  a WorkbookControlGUI.
      	(item_cursor_do_action) : All the commands take WorkbookControls.
      
      	* src/item-bar.c (item_bar_event) : item_grid_popup_menu takes a
      	  SheetView now.
      
      	* src/history.c : Take WorkbookControlGUI.
      	  Update all controls for each workbook.
      
      	* src/gui-clipboard.c : Use 'unsigned char'
      
      	* src/gnumeric.xml : More work to split commands from layout.
      
      	* src/gnumeric-util.c (gnumeric_no_modify_array_notice) : Delete.
      	(gnumeric_notice) : Take a WorkbookControlGUI.
      	(gnumeric_wb_dialog_run) : Ditto.
      	(gnumeric_dialog_run) : Ditto.
      	(gnumeric_dialog_show) : Ditto.
      	(gnumeric_set_transient) : Ditto.
      	(gnumeric_glade_xml_new) : Ditto.
      	(gnumeric_non_modal_dialog) : Ditto.
      	(gnumeric_inject_widget_into_bonoboui) : Ditto.
      
      	* src/gnumeric-sheet.c : SheetView now has a WorkbookControlGUI member
      	  to keep track of which control it is associated with. Use it.
      
      	* src/file.c : Adjust to lots of signature changes.
      	  We now load/save WorkbookView rather than Workbook.
      	  Add a placeholder struct IOContext so that we can consider doing
      	  smarter import/export and dealing with warnings and missing things
      	  smoothly.
      
      	* src/eval.c (workbook_recalc_all) : After a recalc update all views.
      
      	* src/commands.c (undo_redo_menu_labels) : foreach control.
      	(command_undo) : ditto.
      	(command_redo) : ditto.
      	(command_push_undo) : change signature.  The workbookcontrol
      	  now acts as the command context.
      
      	* src/cmd-edit.c : Adjust to signature changes.
      
      	* src/clipboard.c : split the gui specific X handlers out into a new
      	  file.
      	* src/gui-clipboard.c :  here.
      
      	* src/cell-draw.c (cell_draw) : Do not test the sheet for whether or
      	  not to we are editing.  That is at the control level.  Test it in
      	  the rendering loop.
      
      	* src/bonobo-io.c : FIXME. adjusted to signature changes.  Totatly
      	  broken for now.  This needs a View rather than a Model and should be
      	  associated with something.
      
      	* src/application.c (application_workbook_list_add) : New function.
      	(application_workbook_list_remove) : New function.
      	(application_workbook_list) : New function.
      	(application_clipboard_copy) : foreach control.
      	(application_clipboard_cut) : foreach control.
      	(application_clipboard_clear) : foreach control.
      	(application_workbook_foreach) : renamed from workbook_foreach.
      	(application_set_selected_sheet) : FIXME. Disabled for now.
      
      	* src/about.c (cb_closed) : Associated the flag with the control
      	  directly.
      	(dialog_about) : dialogs are associated with gui-controls.
      
      	* src/analysis-tools.c : change all dialog signatures to handle MVC
      	  split of workbook.
      
      2000-10-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am : Add new command-context,  io-context,
      	  workbook-view, workbook-control, workbook-control-gui files.
      	  Remove old command-context-gui, command-context-corba, and disable
      	  corba-* for now.
      
      2000-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/gnumeric-graphs.idl : Remove studdly caps.  I wish people would
      	  make up their minds.
      
      	* idl/Gnumeric.idl : Remove Workbook::show.
      
      2000-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* BUGS : Update.
      	* NEWS : Update.
      	* TODO : Update.
      ffac72f5
  32. 12 Oct, 2000 1 commit
    • Jody Goldberg's avatar
      manually init the corba factories after the support subsystems are · 455efa33
      Jody Goldberg authored
      
      2000-10-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : manually init the corba factories after
      	  the support subsystems are initialized, but before the workbooks are
      	  created.  This needs some serious cleaning.
      
      	* src/embeddable-grid.c (EmbeddableGridFactory_init) : return a flag
      	  for later use.
      	(grid_view_activate) : focus on the widget not the containing object.
      
      	* src/corba-args.c (gnumeric_arg_parse) : Do not init the corba
      	  factories yet.  they were getting called before the application was
      	  ready.
      455efa33
  33. 26 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Do not init the currency_date routines here, or shut them down. · 3c2450bc
      Jody Goldberg authored
      
      2000-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : Do not init the currency_date routines
      	  here, or shut them down.
      
      	* src/number-match.c (format_match_init) : Call the currency_date init
      	  routine from here.  It must be done BEFORE the regexps are generated.
      	(format_match_finish) : Shut the currency_date routines down from here.
      	  for symetry.
      3c2450bc
  34. 21 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      no need to translate the money format. We generate it elsewhere. · cec33cc8
      Jody Goldberg authored
      
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (workbook_cmd_format_as_money) :
      	  no need to translate the money format.  We generate it elsewhere.
      	(workbook_cmd_format_as_percent) : ditto.
      
      	* src/formats.c : Most format strings are NOT required to be
      	  translated anymore.  We store them internaly in the C locale.
      	(currency_date_format_init) : customize the currency symbol, and the
      	  day/month order.
      
      	* src/format.c (format_get_currency) : new function.
      	(format_month_before_day) : New stub.  How to do this portably.
      	(lookup_color_by_name) : new routine.
      	(lookup_color) : that was split from here.
      	(format_remove_decimal) : Fix a bit.  still broken for fmts with
      	  multiple cases.
      	(format_value) : no need to translate the format.
      	(translate_format_color) : new routine.
      	(style_format_delocalize) : new routine.  Add colour support.
      	(style_format_new_XL) : split from here.
      	(style_format_str_as_XL) : new routine.  Add colour support.
      	(style_format_as_XL) : split from here.
      
      2000-09-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_destroy) : If the current object is
      	  destroyed switch back to edit mode.
      cec33cc8