1. 13 Jan, 2000 3 commits
  2. 11 Jan, 2000 5 commits
    • Jody Goldberg's avatar
      fix typo. · beacfaa5
      Jody Goldberg authored
      beacfaa5
    • Arturo Espinosa's avatar
      Enable plan-perfect plugin as well · 64ca264f
      Arturo Espinosa authored
      64ca264f
    • Arturo Espinosa's avatar
      Import the structure text import plugin · 8ea01b78
      Arturo Espinosa authored
      8ea01b78
    • Morten Welinder's avatar
      Improve rounding precision and avoid overflow. Also, round before doing · e9c648f5
      Morten Welinder authored
      2000-01-10  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (split_time): Improve rounding precision and avoid
       	overflow.  Also, round before doing date part.
      
      	* src/functions/fn-date.c (gnumeric_hour, gnumeric_minute,
       	gnumeric_second): Don't do the 0.5 second rounding here.
      	(get_serial_date, get_serial_time): Do it here.
      e9c648f5
    • Jody Goldberg's avatar
      - Fake scale the sheet to make it les ugly until we figure out the real scale · 31007466
      Jody Goldberg authored
        factors MS uses.
      - Size the window better.
      - Explicitly leak the memory associated with the comments in XL97.  Hopefully,
        someone will fix it.
      
      2000-01-10  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-obj.c (ms_read_TXO) : Return the string generated rather than
      	  leaking it.
      	(ms_read_OBJ) : Don't warn about comments, they are not sheet objects
      	  which breaks the whole function of this routine but they are not
      	  unexpected.  If we can figur eout how to store the string associated
      	  with the TXO nearby with this object and get that cleaned up on
      	  time and referencable by obj-ID then we can fix comment import.
      
      	* ms-excel-read.c (ms_excel_read_sheet) : Improve handling for
      	  WINDOW1 and warn about more unsupported cases.  Tweak zoom factor
      	  by 1.4 to be less ugly. (ICK !  HACK!)
      	(ms_excel_read_workbook) : WINDOW2 is a sheet level
      	  descriptor.  Add handle for WINDOW1.
      	(ms_excel_sheet_new) : ICK!  hard code a scale
      	  factor of 1.4 to get things to be less ugly.
      31007466
  3. 06 Jan, 2000 7 commits
  4. 05 Jan, 2000 1 commit
  5. 03 Jan, 2000 1 commit
  6. 02 Jan, 2000 2 commits
  7. 30 Dec, 1999 5 commits
    • Jody Goldberg's avatar
      Finish incomplete transition. · b3c477b7
      Jody Goldberg authored
      b3c477b7
    • Miguel de Icaza's avatar
      New macro, copied from Evolution. We need to refactor our code in Gnumeric · 87152856
      Miguel de Icaza authored
      1999-12-30  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/gnumeric-type-util.h (GNUMERIC_MAKE_TYPE): New macro, copied
      	from Evolution.  We need to refactor our code in Gnumeric to use
      	this macro.
      
      	* src/workbook.c (workbook_do_destroy): Destroy the per-workbook
      	context here.  Hardcoded to be a GUI context for now.
      	(workbook_new): Create the context here.
      	(workbook_command_context_gui): This routine is now the one that
      	returns the command context.
      
      	* src/gnumeric.h: Added CommandCOntext typedef here.
      
      	* All files: renamed CmdContext to CommandContext.
      	renamed command_context_gui to workbook_command_context_gui.
      
      	* src/workbook-view.c: Removed the GUI_CmdContext class setup.
      	* src/command-context.c: Replaced the ad-hoc object system with a
      	GtkObject-based system.
      87152856
    • Ariel Rios's avatar
      Removed registration of func_scm_eval. (func_scm_eval): Removed. This · 8ac445b3
      Ariel Rios authored
      1999-12-30  Ariel Rios  <jarios@usa.net>
      
      	* plugin.c (init_plugin): Removed registration of func_scm_eval.
      	  (func_scm_eval): Removed. This function was not really used
      	  or needed so I chose to remove possible security hazard.
      8ac445b3
    • Jody Goldberg's avatar
      Have the file loaders return error messages. · 661da0e0
      Jody Goldberg authored
      1999-12-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/file.c (workbook_load_from) : The 'open' functions return error
      	  strings now.  Success == NULL, standard error == "", custom error
      	  which needs to be freed is everything else.
      	(workbook_try_read) : An optional argument in which to store error
      	  messages returned by the loaders.
      	(file_error_message) : Support the custom error messages.
      	(workbook_read) : Ditto.
      
      	* src/xml-io.c (xml_workbook_read) : Return simple error strings.
      661da0e0
    • Ariel Rios's avatar
      We change the location of the home gnumericrc to $HOME/.gnumerc/guile.scm · 9fa90372
      Ariel Rios authored
      1999-12-29  Ariel Rios  <jarios@usa.net>
      
      	* gnumeric_startup.scm (home-gnumericrc): We change the location of the home
      	  gnumericrc to $HOME/.gnumerc/guile.scm
      	* doc/guile-gnumeric.txt: Documentation for the guile plugin was added.
      9fa90372
  8. 29 Dec, 1999 6 commits
    • Michael Meeks's avatar
      delimit the important bit. · d18e6be4
      Michael Meeks authored
      d18e6be4
    • 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
      Minor adjustment to the previous enhancement. · 9b84663f
      Jody Goldberg authored
      
      1999-12-29  Jody Goldberg <jgoldberg@home.com>
      
      	* csv-io.c (csv_parse_sheet) : Minor adjustment to the previous
      	  enhancement.
      9b84663f
    • Jody Goldberg's avatar
      Update cvsignores · 2b0ef502
      Jody Goldberg authored
      2b0ef502
    • Stephane Alnet's avatar
      Small fix to handle CRLF files. · 3a5d4754
      Stephane Alnet authored
      1999-12-28  Stephane Alnet <stephane@u-picardie.fr>
      
      	* csv-io.c (csv_parse_sheet): Small fix to handle CRLF files.
      3a5d4754
  9. 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
  10. 24 Dec, 1999 1 commit
  11. 22 Dec, 1999 1 commit
  12. 21 Dec, 1999 2 commits
    • Michael Meeks's avatar
      Jon's color buglet fix. · 6f454db2
      Michael Meeks authored
      6f454db2
    • 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
  13. 19 Dec, 1999 1 commit
  14. 18 Dec, 1999 4 commits