1. 30 Dec, 1999 1 commit
  2. 29 Dec, 1999 3 commits
    • Jody Goldberg's avatar
      - Return enum from init_plugin. · 63577437
      Jody Goldberg authored
      - Suppress some warnings.
      63577437
    • Jody Goldberg's avatar
      - Initial usage of the new exception mechanisms. · f8206c57
      Jody Goldberg authored
      - Improve versioning of the plugins.
      - Some bug fixes.
      
      1999-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c (command_context_gui,
      				gui_splits_array,
      				gui_plugin_problem,
      				command_context_gui_cast) : New functions.
      
      	* src/workbook.c (workbook_new) : Switch to using the workbook_view
      	  routines to manipulate the undo/redo and paste/paste_special menu
      	  items.
      
      	* src/func.c (function_iterate_argument_values) : Return an error
      	  for empty/missing arguments.
      
      	* plugins/*/Makefile.am : Define GNUMERIC_VERSION.
      
      	* plugins/*/*.c (init_plugin): Take a CmdContext for error reporting.
      	  Call plugin_version_mismatch to do some minimal version matching for
      	  plugins and the running application.
      
      	* src/Gnumeric.idl : Add PluginProblem.
      
      	* src/command-context.[ch] (gnumeric_error_splits_array,
      				    gnumeric_error_plugin_problem,
      				    command_context_vtbl_init) : New functions.
      
      	* src/plugin.c (plugin_version_mismatch) : New function.
      	  (plugin_load) : Hard code a GUI context for now.
      	                  Switch to using gnumeric_error_ routines.
      			  Pass a CmdContext to the init_plugin routines.
      			  Only produce an error if the plugin returns -1.
      			  Store the plugin filename.
      	  (plugin_unload) : Free the filename on exit.
      
      	* *.c : command_context_gui now takes a Workbook argument.
      	      : Switch from gnumeric_no_modify_array_notice
      	                 to gnumeric_error_splits_array in most places.
      f8206c57
    • Jody Goldberg's avatar
      Update cvsignores · 2b0ef502
      Jody Goldberg authored
      2b0ef502
  3. 28 Dec, 1999 1 commit
    • Jody Goldberg's avatar
      Fix some boneheadedly simple errors with plugins and begin to adopt a standard · b65f5041
      Jody Goldberg authored
      convention to avoid such sillyness in the future.
      
      1999-12-27  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Re-enable the python plugin by default.
      
      	* src/plugin.c (load_all_plugins) : Search in a version specific
      	  directory.
      
      	* plugins/*/Makefile.am : Install in
      	      <prefix>/lib/gnumeric/plugins/${VERSION}
      	  to decrease the number of silly version problems.
      	  Adjust the plugin names to follow the convention
      	      libgnum_<name>.so
      	  to avoid problems like the python plugin 'libpython.so'
      	  depending on the python libraries with the same name.
      b65f5041
  4. 21 Dec, 1999 1 commit
    • Jody Goldberg's avatar
      Implicit intersection is done. · 7e7b6e01
      Jody Goldberg authored
      Now all we need is implicit iteration for array formulas.
      I've added a comment on a possible heuristic to use to evaluate the
      which for of iteration to use.
      
      1999-12-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_implicit_intersection) : New routine split from
      	  function_call_with_list.
      	(compare) : Handle intersection.
      	(eval_expr_real) : Ditto.  Add verbose comment on a possible heuristic
      	  for the final piece of this ugly evaluation mechanism, array
      	  interation.
      	(cell_ref_get_abs_col_row) : Adjust to take a CellPos.
      
      	* src/func.c (function_iterate_do_value) : Split the implicit
      	  intersection out into a new function.  Use intersection for
      	  strings as well as float & bool args.  Correct memory leak
      	  when intersetion was used.
      	(function_call_with_list) : Ditto.
      
      	* *.c : Adjust to change in EvalPosition to use CellPos.
      
      	* gnumeric.spec.in : Update the libglade dependancy.
      
      	* src/workbook.c (wb_edit_key_pressed) : Do not select the current
      	  cell address and do not move the cursor to the start of the cell
      	  address when F4 is hit.
      7e7b6e01
  5. 18 Dec, 1999 2 commits
  6. 11 Dec, 1999 1 commit
  7. 10 Dec, 1999 3 commits
    • Michael Meeks's avatar
      Fixup install. · 1bac1295
      Michael Meeks authored
      1bac1295
    • Ariel Rios's avatar
      The OPER_PERCENT case was included. · f76045f7
      Ariel Rios authored
      1999-12-10  Ariel Rios <jarios@usa.net>
      
      	* plugin.c: (expr_to_scm) The OPER_PERCENT case was included.
      f76045f7
    • Ariel Rios's avatar
      We now include guile/gh.h so we can transform from doubles to scm numbers. · 7ae01d7f
      Ariel Rios authored
      1999-12-09  Ariel Rios <jarios@usa.net>
      
      	* plugin.c: We now include guile/gh.h so we can transform from doubles to scm numbers.
      	  (value_to_scm): In VALUE_INTEGER we now use gh_double2scm to pass the double unto
      	  scheme. In this way we remove the bug that crashed gnumeric when we passed a rational number.
      
      	* functions.scm: (test) A test function was added. Since it's only created for hacking purposes
      	  'tis commented.
      7ae01d7f
  8. 09 Dec, 1999 1 commit
    • Ariel Rios's avatar
      We now use func_def_count_arg to get the count number. Count variable was · 565f5e51
      Ariel Rios authored
      1999-12-08  Ariel Rios <jarios@usa.net>
      
      	* plugin.c: (func_marshal_func) We now use func_def_count_arg to get the count
                number. Count variable was replaced with min and max int vars.
                (scm_to_value): The float cast when returning a number was replaced
                with a float_t cast as per Michael's recomendation.
      565f5e51
  9. 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
  10. 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
  11. 28 Nov, 1999 1 commit
    • Jody Goldberg's avatar
      Fix the most egregious errors. A real guile person will need to fix up · b80578ad
      Jody Goldberg authored
      the remainder.
      
      1999-11-28  Jody Goldberg <jgoldberg@home.com>
      
      	* plugin.c (value_to_scm) : Fill in the missing enums.
      	(scm_cell_value) : Use global eval_pos EvaluationPosition set on
      	  a per function call basis rather than some cheesy global workbook
      	  variable.
      	(scm_cell_expr) : Ditto.
      	(scm_set_cell_string) : Ditto.
      	(scm_gnumeric_funcall) : Ditto.
      	(func_marshal_func) : Create an implicit stack of eval_pos.
      	(init_plugin) : Init the eval_pos kludge.
      b80578ad
  12. 21 Sep, 1999 1 commit
  13. 27 Jul, 1999 1 commit
  14. 12 Jul, 1999 1 commit
    • Arturo Espinosa's avatar
      WOOOHOO! · edb73867
      Arturo Espinosa authored
      
      
      WOOOHOO!
      
      We have the font selector now :-)
      
      A nice, crisp, glade-quality, clean-code, beautiful miggeee-hack font-selector
      
      MIguel
      edb73867
  15. 05 Jul, 1999 1 commit
  16. 13 May, 1999 1 commit
  17. 05 Apr, 1999 1 commit
  18. 22 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      1999-02-22 Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu> · e712beb5
      Miguel de Icaza authored
      1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      
      1999-02-22  Tim Mooney  <mooney@dogbert.cc.ndsu.nodak.edu>
      
      	* plugins/guile/plugin.c (func_scm_apply): Initialization of
      	structure is done in the function body, rather thatn when it is
      	declared.  This is necessary because struct initializer must be
      	determinable at compile time, and those aren't.
      
      	* src/expr.c (eval_expr): Add at least one statement to the
      	default: handler in the case.
      
      	* src/fn-math.c: provide a break for default handlers.
      	* src/item-edit.c (entry_event): ditto
      
      	* src/dialog-cell-format.c (create_number_format_page): Initialize
      	in the body, like above.
      
      1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* plugins/guile/plugin.c (func_scm_apply): Initialize the
      e712beb5
  19. 18 Feb, 1999 1 commit
  20. 21 Nov, 1998 1 commit
  21. 13 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      Use case-insenstive routines when creating the hash table. · 3cbc7cdc
      Miguel de Icaza authored
      1998-11-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y:
      
      	* src/workbook.c (workbook_new): Use case-insenstive routines when
      	creating the hash table.
      	(workbook_sheet_get_free_name): Find an unused name for a sheet.
      	(workbook_sheet_lookup): Looks up a sheet by name in a Workbook.
      	(insert_sheet_cmd): New command to insert a sheet into a workbook.
      
      	* src/utils.c (gnumeric_strcase_hash, gnumeric_strcase_equal):
      	Routines used for strings hash tables that are not case
      	sensitive.
      
      1998-11-12  Morten Wellinder <terra@diku.dk>
      
      	* test-parser.c: Fix to compile with the new API
      
      	* parser.y: Make the code more maintainable.
      3cbc7cdc
  22. 11 Nov, 1998 1 commit