1. 08 Dec, 1999 1 commit
    • Ariel Rios's avatar
      The function fibonacci was corrected so it can always return numbers. · 9635688a
      Ariel Rios authored
      1999-12-07  Ariel Rios <jarios@usa.net>
      
      	* functions.scm: The function fibonacci was corrected so it can always return numbers.
      
      	* plugin.c: (scm_to_value) : Whenever VALUE type is a number we return a float.
      	  This removes some gnumeric crashes due to the fact that scm int may be in some
      	  cases bigger than C integers.
      9635688a
  2. 06 Dec, 1999 9 commits
    • Michael Meeks's avatar
      fix some brainless bugs of mine. · e92d9904
      Michael Meeks authored
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/workbook.c (workbook_is_pristine): check we arn't
      	exported as a grid. (workbook_new): NULL bonobo fields.
      	(workbook_is_dirty): fix daft bug.
      e92d9904
    • Michael Meeks's avatar
      Re-write daft workbook closing code; now it works! · 700fabb1
      Michael Meeks authored
      Make opening files more cunning wrt. pristine workbooks.
      Save edit-box + current tab in xml,
      fix web links,
      
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/file.c (workbook_save): return success flag.
      	(workbook_save_as): ditto.
      
      	* src/xml-io.c (xml_workbook_write): Save current page +
      	edit text. (xml_workbook_read): Read edit text + current page.
      
      	* src/workbook.c (workbook_is_dirty): split.
      	(cb_sheet_check_dirty): update. (workbook_can_close): redo.
      	(workbook_is_pristine, cb_sheet_check_pristine): implement.
      	(file_import_cmd, file_open_cmd): check for pristine-ness.
      
      	* src/sheet.c (sheet_get_extent): constify.
      	(sheet_is_pristine): implement.
      700fabb1
    • Michael Meeks's avatar
      Helper function instead of nasty sheet->cols.max_used dereference: · 2b706298
      Michael Meeks authored
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/sheet.c (sheet_get_extent): implement.
      
      	* src/corba-sheet.c (Sheet_max_cols_used, Sheet_max_rows_used):
      	update to use get_extent.
      
      	* src/print.c (print_sheet): use sheet_get_extent.
      	(print_sheet_range): pass a Range. (sheet_print_selection): ditto.
      2b706298
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · a37bc040
      Kjartan Maraas authored
      1999-12-06  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      a37bc040
    • Vincent Renardias's avatar
      s/balsa/gnumeric/ in copyright file. · ffdae0dd
      Vincent Renardias authored
      * s/balsa/gnumeric/ in copyright file.
      ffdae0dd
    • Vincent Renardias's avatar
      Updated debian/* files. · 8fd07b18
      Vincent Renardias authored
      * Updated debian/* files.
      8fd07b18
    • Michael Meeks's avatar
      documentation update. · 0e3202e2
      Michael Meeks authored
      0e3202e2
    • 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
    • Michael Meeks's avatar
      Improve vba stream detection. · 36fda609
      Michael Meeks authored
      36fda609
  3. 05 Dec, 1999 1 commit
    • Ariel Rios's avatar
      Modified to include functions.scm · 8c9791ac
      Ariel Rios authored
      1999-12-05  Ariel Rios <jarios@usa.net>
      
      	* plugins/guile/Makefile.am: Modified to include functions.scm
      
      	* plugins/guile/gnumeric_startup.scm: We now load the scheme
                functions from the new file functions.scm
      
      	* plugins/guile/functions.scm: The guile functions and their
                registration are now located in this file.
                (=FIBO(num)): Added fibonacci formula.
      8c9791ac
  4. 04 Dec, 1999 5 commits
  5. 03 Dec, 1999 6 commits
  6. 01 Dec, 1999 3 commits
  7. 30 Nov, 1999 5 commits
  8. 29 Nov, 1999 5 commits
    • Jody Goldberg's avatar
      Disable for bonobo case until I can figure out how to retrieve menu items · 4ce3516d
      Jody Goldberg authored
      
      1999-11-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_new) : Disable for bonobo case
      	  until I can figure out how to retrieve menu items in that case
      	  also.
      
      	* src/workbook-view.c (workbook_view_set_paste_state) : Ditto.
      4ce3516d
    • Michael Meeks's avatar
      fix some warnings. · 2561fb60
      Michael Meeks authored
      2561fb60
    • Michael Meeks's avatar
      a real fix for #2110. · 5e32e23d
      Michael Meeks authored
      5e32e23d
    • Jody Goldberg's avatar
      Add some new files · 7a830b5a
      Jody Goldberg authored
      7a830b5a
    • Jody Goldberg's avatar
      Bug 3862 enable disable paste/paste special. · 6b5b9948
      Jody Goldberg authored
      Bug 3862
      enable disable paste/paste special.
      
      1999-11-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am : Add new files.
      
      	* src/workbook-view.c (workbook_view_set_paste_state) : New function.
      
      	* src/application.c (application_clipboard_clear) : Disable the
      	  paste, paste-special menu items and unant the previous selection.
      	(application_clipboard_copy) : Enable paste/paste_special, ant the
      	  selection.
      	(application_clipboard_cut) : Enable paste, ant the selection.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Clear the
      	  clipboard rather than unanting manually.
      	(gnumeric_sheet_key_mode_object) : Ditto.
      
      	* src/item-cursor.c (item_cursor_do_drop) : Don't unant manually.
      	  let the functions take care of it.
      
      	* src/selection.c (sheet_selection_copy) : Ditto.
      	(sheet_selection_cut) : Ditto.
      
      	* src/workbook.c (workbook_new) : Catch the widgets of several of the
      	  edit menu bar items so that they can be enabled and disabled.
      6b5b9948
  9. 28 Nov, 1999 5 commits