1. 06 Dec, 1999 1 commit
    • Michael Meeks's avatar
      Privatize FunctionDefinition · 90956c8c
      Michael Meeks authored
      remove dump.[ch]; moving to func.c for now,
      various stylistic cleans,
      make plugin-sample better practice,
      
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/eval.c (search_cell_deps): Cull dead 'draw' code.
      
      1999-12-05  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/expr.c (eval_funcall): Extract body to func.c
      	(cell_ref_make_absolute, free_values): move to func.c
      	(do_expr_decode_tree): Use function_def_get_name
      
      	* src/func.c (function_call_with_list): Clean to use new
      	helper functions + update style; use eval_expr not
      	eval_expr_real in 1 place; cleans flow;
      	(cell_ref_make_absolute): make args more convenient.
      
      	* Makefile.am: Kill dump.[ch]
      
      	* src/dump.[ch]: kill + move to
      
      	* src/func.c: (function_dump_defs).
      
      	* src/main.c (gnumeric_main): Use function_dump_defs
      
      	* src/func.c (function_def_get_fn): implement.
      	(function_def_get_user_data, function_def_set_user_data),
      	(function_def_count_args, function_def_get_name): implement.
      	(function_def_get_arg_type): implement.
      	Hide FunctionDefinition here. Stylistic cleans.
      
      	* plugins/python/python.c (marshal_func): use function_def_count_args
      	(__register_function): kill ancient mem leak in duff code.
      
      	* src/dialogs/dialog-function-select.c (function_definition_update):
      	use function_def_get_name.
      
      	* src/dialogs/dialog-function-wizard.c (arg_data_list_new): rewrite to
      	use count_args + get_arg_type: much safer. (get_text_value): use get_name.
      
      	* src/expr.h: Add user_data to function definition + hack it out.
      
      	* src/sheet.c (sheet_cell_get, sheet_cell_fetch): move up & inline
      90956c8c
  2. 09 Nov, 1999 1 commit
  3. 04 Nov, 1999 2 commits
    • Jody Goldberg's avatar
      946d8354
    • Miguel de Icaza's avatar
      Removed parsed node from here too. (eval_range): Removed computation logic · c6aa08e3
      Miguel de Icaza authored
      1999-11-03  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/expr.c (eval_range): Removed parsed node from here too.
      	(eval_range): Removed computation logic from here.
      	(eval_expr_real): ditto.
      
      	* src/func.c (iterate_cellrange_callback): Ditto.
      
      	* src/cell.c (cell_eval, cell_eval_content): Redone the evaluation
      	logic to put all the actual details in a single spot.
      
      1999-11-03  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/expr.c (eval_expr_real): Removed cell->parsed_node &&
      	(cell->flags & CELL_QUEUED_FOR_RECALC)) from condition.
      
      	* src/func.c (iterate_cellrange_callback): ditto.
      
      1999-11-02  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/workbook.c: change the binding.  Not clear to me yet if we
      	need to fix gnome-libs.
      
      1999-11-04  Jody Goldberg <jgoldberg@home.com>
      c6aa08e3
  4. 02 Nov, 1999 1 commit
  5. 01 Nov, 1999 1 commit
  6. 04 Oct, 1999 1 commit
    • Jody Goldberg's avatar
      - Large speed improvement loading by removing the lists of cells in cols, and · 7d0ab7ad
      Jody Goldberg authored
        keeping cols rows in segmented arrays.
      
      - Large speed improvement in exit by operating on the entire sheet rather than
        cell by cell.
      
      - Large speed improvement in Col/Row auto-fills.  they're still too damn slow
        and we use too much memory, but its a start.
      
      - Insert/delete/Shift rows/cols now correctly adjusts references to and from
        the region.
      
      - Code in place to restructure 'copy'
      
      - A few minor dialog adjustments, some from me, some from the mailing list.
      7d0ab7ad
  7. 24 Sep, 1999 1 commit
  8. 20 Sep, 1999 1 commit
    • Morten Welinder's avatar
      Plug leak. · 651b5b6d
      Morten Welinder authored
      1999-09-20  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (do_expr_decode_tree): Plug leak.
      
      	* src/functions/fn-stat.c (gnumeric_linest): Handle "const"
       	parameter also.  Introduce skeleton to handle "stat" parameter.
      	(gnumeric_percentile): Fix PERCENTILE.
      
      	* src/format.c (format_number): Plug leak.
      651b5b6d
  9. 19 Sep, 1999 1 commit
  10. 18 Sep, 1999 1 commit
  11. 18 Aug, 1999 1 commit
  12. 17 Aug, 1999 1 commit
  13. 16 Aug, 1999 1 commit
  14. 03 Aug, 1999 1 commit
    • Morten Welinder's avatar
      Handle integer operations more carefully with respect to overflow. · 07999d52
      Morten Welinder authored
      1999-08-02  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (eval_expr_real): Handle integer operations more
       	carefully with respect to overflow.
      
      	* src/cell.c (cell_cleanout): Don't unlink unless there is a sheet
       	to unlink from.
      
      	* src/collect.c (float_range_function2): Actually call the right
       	function.
      	(collect_floats_value): Fix type of result.
      
      	* src/mathfunc.c (range_rsq_pop, range_rsq_est): New functions.
      
      	* src/fn-stat.c (gnumeric_pearson): Simplify.
      	(gnumeric_rsq): Simplify.
      07999d52
  15. 02 Aug, 1999 3 commits
  16. 01 Aug, 1999 2 commits
    • Morten Welinder's avatar
      Fix bogus check. (expr_name_remove): Abort until someone fixes this. · 1213b7a6
      Morten Welinder authored
      1999-08-01  Morten Welinder  <terra@diku.dk>
      
      	* src/expr-name.c (expr_name_add): Fix bogus check.
      	(expr_name_remove): Abort until someone fixes this.
      
      	* src/style.c (style_font_unref): Unref the font.
      
      	* src/expr.c (eval_expr_real): Fix OPER_CONCAT case.  From Jody.
      
      	* src/value.c (value_cast_to_float): FMR fix from Jody.
      1213b7a6
    • Morten Welinder's avatar
      This is somewhere between tragic and ridiculous. INTERSECT and friends · afc6b355
      Morten Welinder authored
      still leak like crazy.
      
      
      1999-08-01  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (format_number): YAL -- yet another leak.
      
      	* src/fn-string.c (gnumeric_text): Plug leak.
      
      	* src/expr.c (do_expr_tree_unref): Plug array value leak.
      
      	* src/cell.c (cell_set_array_formula): Unref the wrappers so we
       	don't leak a reference.
      
      	* src/fn-math.c (gnumeric_countif): Initialise total_num member.
      afc6b355
  17. 31 Jul, 1999 1 commit
    • Morten Welinder's avatar
      Fix some error handling. · f70376be
      Morten Welinder authored
      
      1999-07-31  Morten Welinder  <terra@diku.dk>
      
      	* src/fn-logical.c (gnumeric_if): Fix case of first argument
       	yielding an error.
      
      	* src/expr.c (expr_dump_tree): Constify.
      
      	* src/func.c (function_iterate_do_value): Fix behaviour of strict
       	functions.
      
      	* src/expr.c (do_expr_tree_invalidate_references): Handle
       	VALUE_BOOLEAN and VALUE_ERROR.
      	(eval_expr_real): Make comparisons strict.
      f70376be
  18. 30 Jul, 1999 1 commit
    • Morten Welinder's avatar
      Improvements after VALUE_ERROR. · 27c1c882
      Morten Welinder authored
      1999-07-30  Morten Welinder  <terra@diku.dk>
      
      	* src/cell.c (cell_cleanout): New function.
      	(cell_set_formula): Don't bother with CELL_ERROR.  Set value field
       	in all cases.
      	(cell_set_array_formula): Set cell values.
      	(cell_set_value_simple): Simplify using cell_cleanout.
      	(cell_set_text_simple): Ditto.
      	(cell_set_formula_tree_simple): Ditto.
      	(cell_destroy): Ditto.
      	(cell_get_text): Simplify.
      	(cell_get_content): Ditto.
      
      	* src/eval.c (cell_eval): Reorganise slightly.
      
      	* src/expr.c (eval_expr_real): value should no longer be null.
      
      	* src/cell.h (CELL_ERROR): Obsolete.
      27c1c882
  19. 28 Jul, 1999 2 commits
  20. 27 Jul, 1999 1 commit
  21. 25 Jul, 1999 1 commit
  22. 21 Jul, 1999 1 commit
  23. 20 Jul, 1999 1 commit
  24. 19 Jul, 1999 1 commit
    • Andreas Voegele's avatar
      Use the locale to figure out the correct separator · 10adef43
      Andreas Voegele authored
      1999-07-19  Andreas Voegele <andreas.voegele@gmx.de>
      
      	* src/parser.y (gnumeric_unsafe_expr_parser): Use the locale to
      	figure out the correct separator
      
      	* src/file.c (workbook_read): According to the GNU libc
      	documentaiton retrieving the current locale should be done by
      	passing NULL to setlocale as the locale argument.
      10adef43
  25. 16 Jul, 1999 1 commit
    • Miguel de Icaza's avatar
      Fixed usage of errors with the non-broken setup. · 20dc1984
      Miguel de Icaza authored
      1999-07-14  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/fn-misc.c (gnumeric_error): Fixed usage of errors with the
      	non-broken setup.
      
      	* src/expr.c (error_message_set): Rewrote the error message logic
      	to be clean and clear.  Simplified and followed the Gnumeric
      	coding conventions.
      20dc1984
  26. 12 Jul, 1999 1 commit
    • Jody Goldberg's avatar
      Add SplitsArray array exception for array-formula support. · d9a0ec3d
      Jody Goldberg authored
      1999-07-12  Jody Goldberg  <jgoldberg@home.com>
      
      	* src/Gnumeric.idl : Add SplitsArray array exception for array-formula
      	  support.
      
      	* src/cell.[ch] (cell_set_border) : Const.
      
      	* src/expr.[ch] (value_area_get_width, value_area_get_height) : Const.
      
      	* src/fn-math.c : Added TRANSPOSE.
      
      	* wizards/graphics/*.c : Minor text tweaks so that things come closer
      	  to compiling.
      d9a0ec3d
  27. 11 Jul, 1999 1 commit
    • Jody Goldberg's avatar
      - Disable insert/delete row/column that would split an array-formula · a3506bf7
      Jody Goldberg authored
      - Enable cut/copy/paste for array formulas.
      - Fix multi-line cell drawing & whitespace issues.
      - Change the default column width & grid colour to more closely match XL
      - Add the edit popup menu in the row/col headers
      - Short circuit the insert/delete dialogs to directly insert/delete when
        an entire row/column is selected.
      a3506bf7
  28. 10 Jul, 1999 1 commit
  29. 08 Jul, 1999 1 commit
  30. 05 Jul, 1999 2 commits
  31. 02 Jul, 1999 1 commit
  32. 30 Jun, 1999 3 commits