- 06 May, 2000 2 commits
-
-
Michael Meeks authored
2000-05-06 Michael Meeks <michael@helixcode.com> * src/eval.c (handle_cell_range_deps): Add 3D dependency support. (cb_single_hash_to_list, cb_range_hash_to_list): Re-arrange handling of where the list is collated. (do_deps_destroy): update. (cell_drop_dependencies): remove cretinism here. (drop_cell_range_dep, handle_cell_single_dep): return on NULL deps structure. * src/sheet-style.c (sheet_style_attach): enable cache trash avoidance code. * src/sheet.c (sheet_cell_remove_internal): short circuit for NULL deps. * src/expr.c (expr_rewrite): update to handle workbook case. * src/eval.c (workbook_deps_destroy): update for speed. (sheet_deps_destroy): split body into (do_deps_destroy): here. * src/workbook.c (workbook_delete_sheet): destroy the sheet's dependencies here as well; very silly. (workbook_do_destroy): destroy deps of all sheets up front.
-
Jody Goldberg authored
2000-05-06 Jody Goldberg <jgoldberg@home.com> * src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the expr if we are returning a value.
-
- 05 May, 2000 2 commits
-
-
Jody Goldberg authored
2000-05-05 Jody Goldberg <jgoldberg@home.com> * src/functions/fn-math.c (gnumeric_countif) : Make code match comment. We can safely ignore blanks. (gnumeric_sumif) : Code was correct. Add a larger comment explaining rationale. (gnumeric_sumx2my2) : Code was wrong. We can not skip blank cells if there are multiple ranges that need to be kept in sync. (gnumeric_sumx2py2) : Ditto. (gnumeric_sumxmy2) : Ditto.
-
Tuomas Kuosmanen authored
-
- 04 May, 2000 9 commits
-
-
Michael Meeks authored
-
Jody Goldberg authored
NULL the undo, redo lists after clearing them. 2000-05-04 Jody Goldberg <jgoldberg@home.com> (workbook_delete_sheet) : NULL the undo, redo lists after they are cleared. (workbook_do_destroy) : Ditto.
-
Michael Meeks authored
2000-05-04 Michael Meeks <michael@helixcode.com> * src/sheet-style.c (sheet_style_delete_colrow): don't shrink. sheet sized ranges. (sheet_style_compute): add precondition for Norberts. * src/workbook.c (workbook_new_with_sheets): kill ' ' in sheet names. * corba-test/test-gnumeric-corba.c (do_test): ditto.
-
Jody Goldberg authored
Fix typ in toolbar init. Fix typo in sheet deletion. 2000-05-04 Jody Goldberg <jgoldberg@home.com> * src/workbook.c : Fix typo that was calling undo for redo toolbar. ({redo,undo}_cmd) : Use workbook_finish_editing directly. (cb_auto{function,sum}) : If we are already editing do not start. When the wizard is in place bring it up. (workbook_start_editing_at_cursor) : Make the '=' insensitive while editing. (workbook_finish_editing) : Make the '=' sensitive. (sheet_action_delete_sheet) : Fix typo and rename parm 'current_sheet' -> 'sheet' to avoid confision with workbook->current_sheet.
-
Almer. S. Tigelaar authored
2000-05-04 Almer. S. Tigelaar. <almer1@dds.nl> * src/rendered-value.c : (rendered_value_calc_size) : Check if cell->rendered_value is NULL. To avoid segfaulting.
-
Almer. S. Tigelaar authored
2000-05-04 Almer. S. Tigelaar. <almer1@dds.nl> * doc/stf-export.txt : Added stf-exporter documentation
-
Almer. S. Tigelaar authored
2000-05-04 Almer. S. Tigelaar. <almer1@dds.nl> * src/gnumeric-util.[ch] : (gnumeric_combo_enters) : New, makes dialogs close when enter is pressed inside a gtkcombo. * src/dialogs/dialog-stf.c : (stf_dialog_editables_enter) : Modified to use the above function for combo boxes. * src/dialogs/dialog-stf-export.c : (stf_export_dialog_editables_enter) : Modified to use the above function for combo boxes.
-
Jody Goldberg authored
2000-05-03 Jody Goldberg <jgoldberg@home.com> * src/command-context.c (gnumeric_error_invalid) : new function. * src/command-context-gui.c (ccg_error_invalid) : Handle. * src/command-context-corba.c (ccc_error_invalid) : Handle. * src/commands.c (cmd_rename_sheet_{undo,redo}) : Pass a context to workbook_rename_sheet. * src/workbook.c (workbook_rename_sheet) : Sheet names can not be empty. Take a CommandContext and report the error. Invert the return value.
-
Jody Goldberg authored
2000-05-03 Jody Goldberg <jgoldberg@home.com> * src/format.c (pre_parse_format) : Fix old typo that was causing bug 10001 by breaking AM/PM.
-
- 03 May, 2000 5 commits
-
-
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.
-
Morten Welinder authored
2000-05-03 Morten Welinder <terra@diku.dk> * autogen.sh (libtool): Add version check.
-
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.
-
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.
-
Almer. S. Tigelaar authored
2000-05-03 Almer. S. Tigelaar. <almer1@dds.nl> * *.c: s/strcasecmp/g_strcasecmp/
-
- 02 May, 2000 3 commits
-
-
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.
-
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.
-
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.
-
- 01 May, 2000 7 commits
-
-
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.
-
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.
-
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.
-
Morten Welinder authored
-
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.
-
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
-
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.
-
- 29 Apr, 2000 6 commits
-
-
Jody Goldberg authored
This provides a modest memory savings and paves the way for a custom allocator.
-
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
-
Michael Meeks authored
-
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
-
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.
-
Miguel de Icaza authored
2000-04-28 Miguel de Icaza <miguel@helixcode.com> * src/complete.c (complete_idle): Removed debugging messages
-
- 28 Apr, 2000 4 commits
-
-
Miguel de Icaza authored
2000-04-28 Miguel de Icaza <miguel@helixcode.com> * src/item-edit.c (entry_changed): Update here. * src/application.c (application_init): Load auto-complete state here. (application_use_auto_complete_set): accesor function. (application_use_auto_complete_get): ditto.
-
Jody Goldberg authored
2000-04-28 Jody Goldberg <jgoldberg@home.com> * src/complete.c (complete_start) : Do not install an idle handler if one has already been installed for this object.
-
Miguel de Icaza authored
2000-04-27 Miguel de Icaza <miguel@helixcode.com> * src/dialogs/dialog-printer-setup.c (do_print_preview_cb): Close the dialog if the user selects preview. Not optimal but better than the two possible choices.
-
Jody Goldberg authored
2000-04-27 Jody Goldberg <jgoldberg@home.com> * *Makefile.am : Use new extended configure variables. * configure.in: Add a few variables
-
- 27 Apr, 2000 2 commits
-
-
JP Rosevear authored
2000-04-27 JP Rosevear <jpr@arcavia.com> * Makefile.am: Delete old gnumeric-config generation. * gnumeric-config.in: Use new variables exported from autoconf. * configure.in: gnumeric-config magic
-
Jody Goldberg authored
2000-04-27 Jody Goldberg <jgoldberg@home.com> * src/workbook.c (workbook_sheet_get_free_name) : No need to translate "%s%d". * src/gutils.c (PLUGIN_SUFFIX) : typo.
-