1. 02 Jan, 2000 4 commits
  2. 01 Jan, 2000 2 commits
    • Miguel de Icaza's avatar
      Use application_clipboar_unant here. (gnumeric_sheet_key_mode_object): · fd8a5da2
      Miguel de Icaza authored
      2000-01-01  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Use
      	application_clipboar_unant here.
      	(gnumeric_sheet_key_mode_object): ditto.
      
      	* src/sheet.c (sheet_start_editing_at_cursor): ditto.
      
      	* src/workbook-format-toolbar.c (change_selection_font): ditto
      	(set_selection_halign): ditto
      
      	* src/application.c (application_clipboard_copy): Use defines.
      	(application_clipboard_cut): Use defines.
      	(application_clipboard_unant): New function, less agressive
      	marking of unanting.
      
      	* src/workbook-view.c (workbook_view_set_paste_state): Use
      	named defines instead of arbitrary constants.  Please, no magic
      	constants ever in Gnumeric guys.
      
      	* src/application.c:
      
      	* src/workbook-private.h: Move the menu_item fields to
      	workbook_private.
      fd8a5da2
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 18bfab0e
      Kjartan Maraas authored
      2000-01-01  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      18bfab0e
  3. 31 Dec, 1999 6 commits
  4. 30 Dec, 1999 12 commits
    • Jody Goldberg's avatar
      Define a new command context state · ca14021c
      Jody Goldberg authored
      ca14021c
    • Jody Goldberg's avatar
      Remove file. · 9d965a73
      Jody Goldberg authored
      9d965a73
    • Arturo Espinosa's avatar
      Added missing files -Miguel · 67fbb73d
      Arturo Espinosa authored
      67fbb73d
    • Ariel Rios's avatar
      Added guile documentation · 0314034c
      Ariel Rios authored
      0314034c
    • Jukka-Pekka Iivonen's avatar
      Cell ranges are now also accepted. · fbf44c3e
      Jukka-Pekka Iivonen authored
      1999-12-30  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/utils.c (parse_cell_name_list): Cell ranges are now also
       	accepted.
      fbf44c3e
    • Jody Goldberg's avatar
      Finish incomplete transition. · b3c477b7
      Jody Goldberg authored
      b3c477b7
    • Jukka-Pekka Iivonen's avatar
      Implemented Simplex algorithm. It can currently solve LP maximization · 77b2e049
      Jukka-Pekka Iivonen authored
      1999-12-30  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/solver-lp.c: Implemented Simplex algorithm.  It can
       	currently solve LP maximization problems of positive variables
       	having `<=' constraints.
      
      	* src/workbook.c: Added `Solver' tool.
      
      	* src/utils.c (parse_cell_name_list): Bug fix.  The last item on
       	the list was not included on the list.
      77b2e049
    • 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
    • Jody Goldberg's avatar
      typo. · 9524016c
      Jody Goldberg authored
      9524016c
  5. 29 Dec, 1999 8 commits
    • Jody Goldberg's avatar
      update · 64d678e7
      Jody Goldberg authored
      64d678e7
    • 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
    • Peter Moulder's avatar
      Currently, two-digit years are converted to four-digit years (ccyy) by · 7b7d8e95
      Peter Moulder authored
      1999-12-28  Peter Moulder <reiter@netspace.net.au>
      
      	* src/number-match.c: Currently, two-digit years are converted to
      	four-digit years (ccyy) by assuming that cc is the same as in the
      	current wall date.  The problem with that is that on 1999-12-31,
      	entering any future dates in two-digit-year form will be
      	misinterpreted; while on 2000-01-01, any past dates entered in
      	two-digit form will be misinterpreted.  (I use the term
      	"misinterpreted" with the assumption that one is much more likely
      	to intend a date a few days away than 99 years away.)
      7b7d8e95
  6. 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
  7. 27 Dec, 1999 1 commit
  8. 24 Dec, 1999 1 commit
  9. 23 Dec, 1999 1 commit
    • JP Rosevear's avatar
      Use a gnome_dialog and stock icons (row_cb): Use · 24500712
      JP Rosevear authored
      1999-12-23  JP Rosevear  <jpr@arcavia.com>
      
      	* src/plugin-manager.c (plugin_manager_new): Use a gnome_dialog
      	and stock icons
      	(row_cb): Use gnome_dialog_set_sensitive instead of
      	gtk_widget_set_sensitive
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_data_analysis): Use
      	stock ok item for ok button
      24500712
  10. 22 Dec, 1999 3 commits
  11. 21 Dec, 1999 1 commit
    • JP Rosevear's avatar
      Tidy and handle the case where the ranges don't intersect. · c03ad77a
      JP Rosevear authored
      1999-12-21  JP Rosevear <jpr@arcavia.com>
      
              * src/ranges.c (range_intersection) : Tidy and handle the case
              where the ranges don't intersect.
      
              * src/dialogs/dialog-cell-sort.c (dialog_cell_sort) : Use
              sheet_get_extent only if there are infinite ranges, so the user
              sees their manually selected range if possible.
      c03ad77a