1. 03 May, 2000 6 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.
      43002eb0
    • Morten Welinder's avatar
      Add version check. · d7191722
      Morten Welinder authored
      2000-05-03  Morten Welinder  <terra@diku.dk>
      
      	* autogen.sh (libtool): Add version check.
      d7191722
    • Karl Eichwalder's avatar
      de.po: Update. · 3825ff2b
      Karl Eichwalder authored
      3825ff2b
    • 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]
      	  parse_pos_init*
      	  cell_ref_{get,make}*
      
      	* 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
      	  disabled.
      
      	* 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
      	  workbook_foreach_cell_in_range.
      
      	* 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
      	  absolute.
      
      	* src/functions/fn-stat.c (gnumeric_linest) : Handle inverted ranges.
      	(gnumeric_logest) : Ditto.
      
      	* src/functions/fn-information.c (gnumeric_countblank) : Use
      	workbook_foreach_cell_in_range.
      	(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.
      de62dd3a
    • Michael Meeks's avatar
      Accelerate intersheet dependancies for Hans, · 3de60968
      Michael Meeks authored
      2000-05-03  Michael Meeks  <michael@helixcode.com>
      
      	* doc/Dependencies.txt: update to reflect changes.
      
      	* src/eval.c: comment and const mending.
      	(handle_cell_range_deps): prune no inter-sheet singletons code,
      	it is a sluggish anachronism. (handle_cell_single_dep): setup
      	the correct sheet to enter data into.
      
      	* src/eval.h: expunge redundant commenting, re-order,
      	const kill.
      3de60968
    • Almer. S. Tigelaar's avatar
      s/strcasecmp/g_strcasecmp/ · 4741a7a5
      Almer. S. Tigelaar authored
      2000-05-03  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* *.c: s/strcasecmp/g_strcasecmp/
      4741a7a5
  2. 02 May, 2000 6 commits
    • Kenneth Christiansen's avatar
      Translations from Keld · dc6fe54e
      Kenneth Christiansen authored
      evolution/po/da.po gnome-utils/po/da.po gnumeric/po/da.po
      nautilus/po/da.po
      dc6fe54e
    • Almer. S. Tigelaar's avatar
      We called gtk_widget_destroy _after_ gnome_dialog_close. This causes a · d4dfa9af
      Almer. S. Tigelaar authored
      2000-05-02  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/file.c (workbook_import) : We called gtk_widget_destroy
      	_after_ gnome_dialog_close. This causes a weird "invalid cast"
      	message each time something was successfully imported.
      d4dfa9af
    • Almer. S. Tigelaar's avatar
      Now uses gnumeric_mmap_open and gnumeric_mmap_close. also does a · 990e66ec
      Almer. S. Tigelaar authored
      2000-05-02  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* text-io.c
      	(readTextWorkbook): Now uses gnumeric_mmap_open and gnumeric_mmap_close.
      	also does a workbook_recalc and calc_spans and names the sheet
      	"Imported %s" instead of "NoName"
      	(text_write_workbook): uses gnumeric_fopen and gnumeric_fclose
      990e66ec
    • Michael Meeks's avatar
      fixup popt for oaf. · a7225c31
      Michael Meeks authored
      2000-05-01  Michael Meeks  <michael@helixcode.com>
      
      	* src/corba-args.c (gnumeric_arg_parse): fixup popt for oaf.
      
      2000-05-02  Michael Meeks  <michael@helixcode.com>
      
      	* main.c (layout_factory_init): update for oaf.
      
      	* sample.c (create_test): nicer activation.
      
      2000-05-02  Michael Meeks  <michael@helixcode.com>
      
      	* graphic-context.c (get_graphics_component): update for oaf.
      a7225c31
    • Jody Goldberg's avatar
      New function. · b2198f30
      Jody Goldberg authored
      
      2000-05-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_tree_shared) : New function.
      
      	* src/xml-io.c (gnumeric_xml_write_selection_clipboard) : Init and
      	  destroy the expression hash.
      	(gnumeric_xml_read_selection_clipboard) : Ditto.
      	(gnumeric_xml_read_workbook) : Ditto.
      	(gnumeric_xml_write_workbook) : Ditto.
      	(xml_write_cell_and_position) : When saving cells that have expression
      	  assign and store an ID for shared expressions.
      	(xml_read_cell) : Use the ID to restore shared expressions.
      b2198f30
    • Jody Goldberg's avatar
      include popt-gnome.h to define POPT_AUTOHELP so that oaf_popt_options is · 25c367ed
      Jody Goldberg authored
      
      2000-05-01  Jody Goldberg <jgoldberg@home.com>
      
      	* main.c : include popt-gnome.h to define POPT_AUTOHELP so that
      	  oaf_popt_options is gets declared.
      25c367ed
  3. 01 May, 2000 14 commits
    • Jody Goldberg's avatar
      The last of the expression changes. · b672b875
      Jody Goldberg authored
      b672b875
    • Jody Goldberg's avatar
      More of the expression reorg. · 4c942e47
      Jody Goldberg authored
      4c942e47
    • 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.
      	    ExprConstant
      	    ExprFunction
      	    ExprUnary
      	    ExprBinary
      	    ExprName
      	    ExprVar
      	    ExprArray
      
      	    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
      	  warning.
      8d168628
    • Michael Meeks's avatar
      Commit the right file. · dbf5bad1
      Michael Meeks authored
      dbf5bad1
    • Jon K Hellan's avatar
      Popup tool and dismiss chooser on double click. · c62b6cac
      Jon K Hellan authored
      2000-05-01  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-analysis-tools.c (selection_made): Popup tool
      	and dismiss chooser on double click.
      
      	* src/dialogs/col-width.glade: Add title
      	* src/dialogs/import.glade: Ditto
      	* src/dialogs/row-height.glade: Ditto
      	* src/dialogs/sheet-rename.glade: Ditto
      	* src/dialogs/summary.glade: Ditto
      
      	* src/dialogs/analysis-tools.glade (All dialogs): Add padding
      	between input and output frames.
      	(TTest1 dialog, TTest2 dialog, TTest3 dialog, Anova2 dialog,
      	MovingAverage dialog): Remove spaces from label string.
      	(Anova1 dialog, Correlation dialog, Covariance dialog,
      	RankAndPercentile dialog): Use table in input frame. Get rid of
      	frame around "Grouped by". Use alignment and fill instead of
      	spaces to place label strings. Minor output options tweaks.
      	(MovingAverage dialog): Place all user widgets inside the same
      	vbox to make padding uniform.
      c62b6cac
    • Michael Meeks's avatar
      File I forgot. · ac0a108b
      Michael Meeks authored
      ac0a108b
    • Michael Meeks's avatar
      Handle oafinfo.in · af769d68
      Michael Meeks authored
      2000-05-01  Michael Meeks  <michael@helixcode.com>
      
      	* configure.in: Handle oafinfo.in
      
      	* src/sheet-object.c (sheet_set_mode_type_full): oafize.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_goadid):
      	ditto.
      
      	* src/sheet.c (sheet_insert_object): always launch via.
      	bonobo_object_activate regardless of monikers.
      
      	* idl/Gnumeric.idl: add a comment telling people to look elsewhere if
      	they want to write bonobo components.
      
      	* src/workbook.c (insert_object_cmd): update for oaf.
      
      	* src/main.c (gnumeric_main): Check for NULL ctx, on corba failure.
      
      	* src/corba-args.c (gnumeric_arg_parse): NULL ctx.
      
      	* src/corba-workbook-factory.c (_WorkbookFactory_init): update to
      	use od_server_register.
      	(WorkbookFactory_create_object): use Bonobo_stringlist not GNOME_stringlist,
      	when was this last compiled ...
      
      	* src/corba-args.c (gnumeric_arg_parse): update for OAF.
      
      	* acconfig.h: USING_OAF
      
      	* configure.in: ditto.
      
      2000-05-01  Michael Meeks  <michael@helixcode.com>
      
      	* HACKING: make it more explicit.
      af769d68
    • Kenneth Christiansen's avatar
      Translations from Keld · e13b1192
      Kenneth Christiansen authored
      e13b1192
    • Kenneth Christiansen's avatar
      Translations from keld · 4f9c5332
      Kenneth Christiansen authored
      4f9c5332
    • Morten Welinder's avatar
      () -> (void). · 14e1f2ab
      Morten Welinder authored
      14e1f2ab
    • Morten Welinder's avatar
      fix prototype. (C isn't C++.) · 9227ee8c
      Morten Welinder authored
      2000-05-01  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
       	gnumeric_sys_glade_dir): fix prototype.  (C isn't C++.)
      
      	* src/complete.c (complete_destroy): Static.
      
      	* src/regression.c: Inlcude <string.h> for memset.
      9227ee8c
    • Almer. S. Tigelaar's avatar
      Export GNUMERIC_VERSION · 761d1ee7
      Almer. S. Tigelaar authored
      2000-05-01  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* configure.in:
      	Export GNUMERIC_VERSION
      
      	* acconfig.h:
      	Undefine GNUMERIC_VERSION
      
      	* */Makefile.am:
      	Removed -DGNUMERIC_VERSION, now located in config.h
      
      	* src/functions/Makefile.am, src/dialogs/Makefile.am :
      	VERSION changed to gnumeric_version.
      
      	* plugins/excel/libole2/Makefile.am, plugins/guile/Makefile.am :
      	ditto
      
      	* plugins/perl/Makefile.am :
      	ditto
      761d1ee7
    • Michael Meeks's avatar
      Remove erroneous file. · f945310c
      Michael Meeks authored
      f945310c
    • Miguel de Icaza's avatar
      Put a space there, to avoid having "Sheet 1" and then "Sheet1" in the same · b163b79b
      Miguel de Icaza authored
      2000-04-30  Miguel de Icaza  <miguel@helixcode.com>
      
      	* src/workbook.c (workbook_new_with_sheets): Put a space there, to
      	avoid having "Sheet 1" and then "Sheet1" in the same workbook.
      
      2000-04-29  Miguel de Icaza  <miguel@helixcode.com>
      
      	* src/application.c (application_init): Oops.
      b163b79b
  4. 30 Apr, 2000 1 commit
  5. 29 Apr, 2000 10 commits
    • Jody Goldberg's avatar
      Value changes that are bonobo specific. · a82351b9
      Jody Goldberg authored
      a82351b9
    • Jody Goldberg's avatar
      Make Value into a real discriminated union and split into types. · 09ed851a
      Jody Goldberg authored
      This provides a modest memory savings and paves the way for
      a custom allocator.
      09ed851a
    • Almer. S. Tigelaar's avatar
      : Remove warning message, because empty lines also render to NULL · 0069c587
      Almer. S. Tigelaar authored
      2000-04-29  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/dialogs/dialog-stf-preview.c :
      	(stf_preview_merge_with-hash) : Remove warning
      	message, because empty lines also render to NULL
      0069c587
    • Almer. S. Tigelaar's avatar
      Add stf importer and stf exporter files · 7c037ac0
      Almer. S. Tigelaar authored
      2000-04-29  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* POTFILES.in : Add stf importer and
      	stf exporter files
      7c037ac0
    • Michael Meeks's avatar
      Trivial fix for #9855 · 71b39d74
      Michael Meeks authored
      71b39d74
    • Almer. S. Tigelaar's avatar
      Add stf importer and stf exporter files · 745b6c2d
      Almer. S. Tigelaar authored
      2000-04-29  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* POTFILES.in : Add stf importer and
      	stf exporter files
      745b6c2d
    • Almer. S. Tigelaar's avatar
      New, low-level stf-export code. · 8e16da38
      Almer. S. Tigelaar authored
      2000-04-29  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/stf-export.[ch] : New,
      	low-level stf-export code.
      
      	* src/dialogs/dialog-stf-export.glade : New,
      	stf export dialog.
      
      	* src/dialogs/dialog-stf-export.glade.h : New,
      	stf export dialog strings.
      
      	* src/dialogs/dialog-stf-export.[ch] : New,
      	top-level controlling code for the stf export dialog.
      
      	* src/dialogs/dialog-stf-export-private.h : New,
      	private declarations for the stf exporter.
      
      	* src/dialogs/dialog-stf-export-format-page.c : New,
      	controlling code for the format page of the stf export dialog
      
      	* src/dialogs/dialog-stf-export-sheet-page.c : New,
      	controlling code for the sheet page of the stf export dialog
      
      	* src/Makefile.am : Updated to include new files
      
      	* src/stf.c : Now also provides export for csv files
      	using the new stf export dialog
      
      	* src/dialogs/Makefile.am : Updated to include new files
      8e16da38
    • Michael Meeks's avatar
      Make it compile. · c21b8572
      Michael Meeks authored
      c21b8572
    • Jody Goldberg's avatar
      Make the sheet_sep, and range_sep conditional so that I can use the parser · a8649632
      Jody Goldberg authored
      
      2000-04-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y : Make the sheet_sep, and range_sep conditional
      	  so that I can use the parser for applix too.
      
      	* src/workbook.c (workbook_unref) : encapsulate workbook_unref.
      
      	* src/application.c (application_init) : Do not save the value if it
      	  is not there.  Fix typo.
      
      	* src/mstyle.c (mstyle_unref) : If the default style is released
      	  clear the cached pointer.  This can happen if the first workbook
      	  loaded fails.
      a8649632
    • Miguel de Icaza's avatar
      Removed debugging messages · 2d5190a6
      Miguel de Icaza authored
      2000-04-28  Miguel de Icaza  <miguel@helixcode.com>
      
      	* src/complete.c (complete_idle): Removed debugging messages
      2d5190a6
  6. 28 Apr, 2000 3 commits