1. 27 May, 2001 3 commits
    • Jody Goldberg's avatar
      If successful queue everything for recalc. (xml_cell_set_array_expr) : no · b740bf75
      Jody Goldberg authored
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_file_open) : If successful queue everything
      	  for recalc.
      	(xml_cell_set_array_expr) : no need to queue a recalc for arrays.
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (colrow_move) : no need to queue recalc here.
      	(cb_sheet_cell_copy) : Actually copy the array values.
      
      	* src/cell.c (cell_relocate) : Just relink, no need to queue a recalc.
      	(cell_set_array_formula) : Remove the ability to queue the recalc at
      	  this level.  Just link the formulas in.  Reorder the the arguments
      	  to match the standard approach.
      
      	* src/eval.c (workbook_recalc_all) : Used here.
      	(workbook_queue_all_recalc) : new function.
      
      	* src/xml-io.c (xml_workbook_read) : Queue everything for recalc.
      	(xml_cell_set_array_expr) : no need to queue a recalc here.
      
      	* src/commands.c (cmd_autofill_redo) : queue the recalc here.
      	(cmd_area_set_text_redo) : we need to manually queue a recalc for
      	  arrays now.
      
      	* src/sheet.c (sheet_cell_set_text) : we need to queue a recalc for
      	  both expressions and values now.
      	(sheet_range_set_text) : queue recalcs for the region as a block.
      
      	* src/graph-vector.c (graph_vector_new) : Just use dependent_link if
      	  we don't want a recalc.
      b740bf75
    • Karl Eichwalder's avatar
      Remove file. New file. Adjust it for gnumeric.desktop.in.in. · 17843497
      Karl Eichwalder authored
      2001-05-27  Karl Eichwalder  <ke@suse.de>
      
      	* Run xml-i18n-prepare:
      	* gnumeric.desktop.in: Remove file.
      	* gnumeric.desktop.in.in: New file.
      	* Makefile.am: Adjust it for gnumeric.desktop.in.in.
      
      2001-05-27  Karl Eichwalder  <ke@suse.de>
      
      	* da.po, es.po, et.po, fr.po, gl.po, hu.po, ja.po, ko.po, no.po,
      	pl.po, pt.po, ru.po, sk.po, sv.po:
      17843497
    • Jody Goldberg's avatar
      typo. · 68d7e0f7
      Jody Goldberg authored
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.h : typo.
      68d7e0f7
  2. 26 May, 2001 10 commits
    • Jon K Hellan's avatar
      Derive from SheetControl rather than GtkObject. · be489c8e
      Jon K Hellan authored
      2001-05-26  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-control-gui.[ch]: Derive from SheetControl rather than
      	GtkObject.
      
      	* src/gnumeric.h: Add incomplete def of SheetControl.
      
      	* src/Makefile.am: Add sheet-control.c, sheet-control.h,
      	sheet-control-priv.h
      
      	* src/sheet-control.c: New file. Stub base class for
      	SheetControlGUI.
      
      	* src/sheet-control.h: Strip down even more from existing stub in
      	CVS.
      
      	* src/sheet-control-priv.h: New file. Private header for
      	SheetControl.
      be489c8e
    • Jody Goldberg's avatar
      suppress minus for "\(" to match "(" · a9201bb2
      Jody Goldberg authored
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_number) : suppress minus for "\(" to match "("
      a9201bb2
    • Jody Goldberg's avatar
      typo · 1603a78e
      Jody Goldberg authored
      1603a78e
    • Karl Eichwalder's avatar
      Update. · 6ffcffa5
      Karl Eichwalder authored
      2001-05-26  Karl Eichwalder  <ke@suse.de>
      
      	* de.po: Update.
      6ffcffa5
    • Karl Eichwalder's avatar
      Update (again). · ebac3aeb
      Karl Eichwalder authored
      2001-05-26  Karl Eichwalder  <ke@suse.de>
      
      	* de.po: Update (again).
      ebac3aeb
    • Karl Eichwalder's avatar
      Fix typo. · a00a96a8
      Karl Eichwalder authored
      2001-05-26  Karl Eichwalder  <ke@suse.de>
      
      	* src/workbook-control-gui.c: Fix typo.
      a00a96a8
    • Jody Goldberg's avatar
      Save the iteration preferences too. These are workbook level flags. I am · 7eb4a25b
      Jody Goldberg authored
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_sheet_bools) : Save the iteration
      	  preferences too.  These are workbook level flags.  I am unclear why
      	  XL saves them at the sheet level.
      
      	* ms-excel-read.c (ms_excel_read_calccount) : new function.
      	(ms_excel_read_delta) : ditto.
      	(ms_excel_read_iteration) : ditto.
      	(ms_excel_read_sheet) : use them here.
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_eval_content) : Use the iteration prefs.
      
      	* src/workbook.c (workbook_iteration_tolerance) : new function.
      	(workbook_iteration_enabled) : ditto.
      	(workbook_iteration_max_number) : ditto.
      7eb4a25b
    • Karl Eichwalder's avatar
      Update. · b700bcc6
      Karl Eichwalder authored
      2001-05-26  Karl Eichwalder  <ke@suse.de>
      
      
      * de.po: Update.
      b700bcc6
    • Chyla Zbigniew's avatar
      If recently used saver has been removed, use default saver, not the first · 6c31b872
      Chyla Zbigniew authored
      
      * src/gui-file.c (fill_save_menu): If recently used saver has been
      removed, use default saver, not the first one.
      
      * src/file.c
      (unregister_file_opener, unregister_file_opener_as_importer): Fixed
      leaks.
      (unregister_file_saver): Fixed stupid bug (and leaks).
      
      * src/plugin-service.h (struct _PluginServiceFileSaver): Added
      default_saver_priority field.
      
      * src/plugin-service.c
      (plugin_service_file_saver_read): Read "default_saver_priority"
      attribute.
      (plugin_service_file_saver_initialize): Register as default saver if
      default_saver_priority is non-negative.
      6c31b872
    • Jody Goldberg's avatar
      new routine. This looks ugly. We should be able to avoid replicating this · f1b88ce2
      Jody Goldberg authored
      
      2001-05-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/value.c (value_diff) : new routine.  This looks ugly.  We should
      	  be able to avoid replicating this code.
      
      	* src/cell.c (cell_eval_content) : support iteration.
      
      	* src/format.c (render_number) : make the buffer big enough.
      	  The assumtion that mantissa and exp are both maxed should leave
      	  enough room for thousand separators.
      f1b88ce2
  3. 25 May, 2001 5 commits
  4. 24 May, 2001 9 commits
    • Jon K Hellan's avatar
      Rename view to scg. Retrieve it from object data on table. · bae5f52b
      Jon K Hellan authored
      2001-05-24  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-control-gui.c (sheet_to_page_index): Rename view to
      	scg. Retrieve it from object data on table.
      	(sheet_to_page_index):
      	(wb_control_gui_focus_cur_sheet, cb_sheet_label_button_press,
      	cb_notebook_switch_page): Retrieve scg from object data on table.
      	(wbcg_sheet_add): Show and insert in notebook scg->table. scg no
      	longer is a GtkTable, it has one.
      
      	* src/sheet-control-gui.c (scg_parent_class): Change to
      	GtkObjectClass.
      	(cb_table_destroy): New function. Finish all table and canvas
      	dependent activities and set scg->table, scg->canvas to NULL.
      	(scg_init): Don't create table here.
      	(scg_construct): ..but here. Change terminology. Old: outer_table,
      	table. New: scg->table, inner_table. Add scg to scg->table as
      	object data. Add a destroy callback to scg->table.
      	(scg_destroy): Move parts to cb_table_destroy. Unref table if not
      	NULL.
      	(scg_class_init, GNUMERIC_MAKE_TYPE): Inherit from GtkObject
      	instead of GtkTable.
      	(scg_cursor_visible): Be prepared for scg->canvas being NULL
      
      	* src/sheet-control-gui.h (struct _SheetControlGUI,
      	SheetControlGUIClass): Inherit from GtkObject instead of GtkTable.
      bae5f52b
    • Chyla Zbigniew's avatar
      Small correction · 0403d15a
      Chyla Zbigniew authored
      0403d15a
    • Jody Goldberg's avatar
      new function. Init recursive_dirty_enabled. Use recursive_dirty_enabled. · 65288fd6
      Jody Goldberg authored
      
      2001-05-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_enable_recursive_dirty) : new function.
      	* src/workbook-private.c (workbook_private_init) : Init
      	  recursive_dirty_enabled.
      	* src/sheet.c (sheet_cell_remove) : Use recursive_dirty_enabled.
      	* src/eval.c (dependent_changed) : ditto.
      
      	* src/workbook-view.c (wb_view_open_custom) : while loading disable
      	  recursive depend dirtying.  We are loading everything it is up to
      	  the loader to handle the queuing correctly (either queuing all, or
      	  just those necessary)
      65288fd6
    • Jody Goldberg's avatar
      Use newer icon · db888867
      Jody Goldberg authored
      db888867
    • Jody Goldberg's avatar
      add gnumeric.desktop · c7667696
      Jody Goldberg authored
      c7667696
    • Karl Eichwalder's avatar
      Fix German grammer. · 30dfd2fa
      Karl Eichwalder authored
      30dfd2fa
    • Jody Goldberg's avatar
      optionally queue the dependents of this cell for recalc. · 7c1b3f75
      Jody Goldberg authored
      
      2001-05-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_cell_destroy) : optionally queue the dependents
      	  of this cell for recalc.
      7c1b3f75
    • 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
    • Jody Goldberg's avatar
      remove the attempt to null terminate a string that we already assume was · 645a9477
      Jody Goldberg authored
      
      2001-05-23  Jody Goldberg <jgoldberg@home.com>
      
      	* boot.c (xbase_field_as_value) : remove the attempt to null terminate
      	  a string that we already assume was null terminated when we strdup
      	  it.
      	(xbase_file_open) : force a full respan.
      645a9477
  5. 23 May, 2001 4 commits
    • Ole Laursen's avatar
      Updated Danish translation · 10f23bf2
      Ole Laursen authored
      10f23bf2
    • Chyla Zbigniew's avatar
      Added "case_sensitive" field. (gnum_plugin_file_opener_probe): Support · 8c3538b2
      Chyla Zbigniew authored
      
      * src/plugin-service.c
      (struct _InputFilePattern): Added "case_sensitive" field.
      (gnum_plugin_file_opener_probe): Support "case_sensitive" attribute when
      checking if file name matches the pattern.
      (plugin_service_file_opener_read): Support "case_sensitive" attribute.
      Now matching is case _insensitive_ by default.
      8c3538b2
    • Jody Goldberg's avatar
      bump version of libole2 ditto. ditto. · 55374f2c
      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-21  Jody Goldberg <jgoldberg@home.com>
      
      	* Makefile.am : remove gnorba and modernize a bit.
      55374f2c
    • Chyla Zbigniew's avatar
      Removed #include "xml-io.h". · b9071979
      Chyla Zbigniew authored
      
      * src/bonobo-io.c, src/clipboard.c, src/file.c, src/plugin.c,
      src/sheet-object.c, src/stf.c, src/workbook.c:
      Removed #include "xml-io.h".
      
      * src/dialogs/dialog-plugin-manager.c (gnumeric_dialog_question_yes_no):
      Function moved ...
      
      * src/gnumeric-util.[ch]: ... here.
      
      * src/gui-file.c
      (gui_file_import): Sorting file importers.
      (fill_save_menu): Sorting file savers, function simplified (doesn't use
      file_saver_is_default_format).
      (can_try_save_to): Function simplified, uses
      gnumeric_dialog_question_yes_no from gnumeric-util.h, default answer
      for question about overwriting a file is configurable.
      b9071979
  6. 22 May, 2001 6 commits
    • Ariel Rios's avatar
      Use scm_c_define_gsubr as required by guile 1.4 · e9a1d615
      Ariel Rios authored
      2001-05-22  Ariel Rios  <ariel@linuxppc.org>
      
      * smob-value.c (init_value_type): Use scm_c_define_gsubr as required by guile 1.4
      
      * plugin.c (plugin_init_general): Ditto
      e9a1d615
    • Almer S. Tigelaar's avatar
      Bump XML version number. (xml_workbook_write): Write index of sheet names · b89fa763
      Almer S. Tigelaar authored
      2001-05-22  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/xml-io.c : Bump XML version number.
      	(xml_workbook_write): Write index of sheet names
      	at the beginning of the file and always write
      	latest version number.
      
      2001-05-22  Almer S. Tigelaar  <almer@gnome.org>
      
      	* xml-sax-read.c (xml_sax_sheet_name): Don't create
      	sheet here.
      	(xml_sax_wb_sheetname): Create sheet here.
      	(xml_sax_finish_parse_wb_names_name): Fix workbook level
      	name reading.
      	(xml_sax_start_element): Handle new sheetnameindex.
      	(xml_sax_end_element): Idem.
      	(xml_sax_characters): Idem.
      	(xml_sax_wb): Small tweak for correct version reading.
      b89fa763
    • Jon K Hellan's avatar
      Use renamed function gnumeric_expr_entry_rangesel_meaningful. · 34aad2e5
      Jon K Hellan authored
      2001-05-22  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-edit.c (wbcg_editing_expr): Use renamed function
      	gnumeric_expr_entry_rangesel_meaningful.
      
      2001-05-22  Jon K Hellan  <hellan@acm.org>
      
      	* src/widgets/gnumeric-expr-entry.[ch]
      	(gnumeric_expr_entry_at_subexpr_boundary_p): Rename to
      	gnumeric_expr_entry_rangesel_meaningful.
      	Rangesel after ':' or ')' do not make sense. Return FALSE.
      34aad2e5
    • Pablo Saratxaga's avatar
      reverted 'Moebius' to 'M\xe9bius' · 54b78932
      Pablo Saratxaga authored
      54b78932
    • Jody Goldberg's avatar
      doh! · bfa57fa4
      Jody Goldberg authored
      bfa57fa4
    • Jody Goldberg's avatar
      Please update this folks · e43b23ee
      Jody Goldberg authored
      e43b23ee
  7. 21 May, 2001 3 commits
    • Chyla Zbigniew's avatar
      Added gtk-doc style documentation. (struct _GnumFileOpener, struct · 434748ad
      Chyla Zbigniew authored
      
      * file.c
      (gnum_file_opener_setup, gnum_file_opener_new, gnum_file_opener_probe,
      gnum_file_opener_open, gnum_file_saver_setup, gnum_file_saver_new,
      gnum_file_saver_save, gnum_file_saver_fix_file_name,
      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):
      Added gtk-doc style documentation.
      (struct _GnumFileOpener, struct _GnumFileOpenerClass,
      struct _GnumFileSaver, struct _GnumFileSaverClass): Removed structs
      already defined in file-priv.h.
      
      * workbook-view.c
      (wb_view_save_as, wb_view_save, wb_view_open, wb_view_open_custom):
      Added gtk-doc style documentation.
      
      * file.h
      (gnum_file_opener_setup, gnum_file_saver_setup): Declarations moved ...
      
      * file-priv.h: ... here
      434748ad
    • Jon K Hellan's avatar
      Add toolbar_is_sensitive member. · 532b3946
      Jon K Hellan authored
      2001-05-21  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
      	Add toolbar_is_sensitive member.
      
      	* src/workbook-control-gui.c (workbook_control_gui_init):
      	Initialize wbcg->toolbar_is_sensitive.
      
      	* src/workbook-edit.c (workbook_edit_toolbars_set_sensitive): Use
      	wbcg->toolbar_is_sensitive instead of static is_sensitive.
      532b3946
    • Pablo Saratxaga's avatar
      removed non-ascii from sources · 1c2869c5
      Pablo Saratxaga authored
      fixed invalid multibyte in po files
      1c2869c5