1. 06 Jan, 2000 6 commits
    • Morten Welinder's avatar
      Return a value, ahem... (unregister_allocation): Don't crash, just warn on · ac3929f1
      Morten Welinder authored
      2000-01-06  Morten Welinder  <terra@diku.dk>
      
      	* src/parser.y (register_allocation): Return a value, ahem...
      	(unregister_allocation): Don't crash, just warn on trouble.
      ac3929f1
    • Michael Meeks's avatar
      print preview fix. · 6686dfa2
      Michael Meeks authored
      6686dfa2
    • Michael Meeks's avatar
      New Depencency code + docs, · ec6e6517
      Michael Meeks authored
      misc. minor fixes.
      ec6e6517
    • Jody Goldberg's avatar
      Partial row/col ins/del undo capabilites · e3ba4c02
      Jody Goldberg authored
      Begining support for paste_from_cut.
      
      2000-01-06  Jody Goldberg <jgoldberg@home.com>
      
      	* *.[ch] : rename struct expr_relocate_info -> ExprRelocateInfo.
      
      	* src/sheet.c (sheet_save_row_col_sizes) : New routine to support undo.
      	(sheet_save_row_col_sizes) : Ditto.
      	(col_row_info_init) : Init hard_size.
      
      	* src/commands.c (cmd_ins_del_row_col_undo) : Restore the row/col size
      	  info.
      	(cmd_ins_del_row_col_redo) : Save the info.
      e3ba4c02
    • Jody Goldberg's avatar
      Fix path for guile plugin install. · 4ac1a962
      Jody Goldberg authored
      Partial implemention for ins/del row/col.
      4ac1a962
    • Morten Welinder's avatar
      Some initial stabilization. · 2bff0265
      Morten Welinder authored
      and bug fixing.
      
      2000-01-05  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_set_text_undo) : Free the old string.
      	(command_push_undo) : No need to ref objects.  Things are born with
      	  ref 1.
      	(gnumeric_command_destroy): Brown paper bag fix.
      
      2000-01-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-type-util.h (GNUMERIC_MAKE_TYPE_WITH_PARENT) : new macro.
      	(GNUMERIC_MAKE_COMMAND) : Use GNUMERIC_MAKE_TYPE_WITH_PARENT rather
      	  than defining an empty Class for each command.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Pop the fake
      	  SetText.
      
      	* src/commands.c (cmd_delete_cols) : Fix typo.
      	(command_list_pop_top_undo) : New command.
      
      	* src/command-context-corba.c (ccc_error_splits_array) : Suppress
      	  warning.
      
      	* src/workbook-view.c (workbook_view_set_undo_redo_state) : Disable
      	  for bonobo versions.
      2bff0265
  2. 05 Jan, 2000 8 commits
    • Michael Meeks's avatar
      Jon's work; excel off by 1 cleans, kill python debug, clean · b41f0e5c
      Michael Meeks authored
      Jon's work;
      	excel off by 1 cleans,
       	kill python debug,
      	clean plugin-manager.
      b41f0e5c
    • Michael Meeks's avatar
      paper bagger, please don't read ChangeLog. · 526d678a
      Michael Meeks authored
      526d678a
    • Michael Meeks's avatar
      Jon found a nasty typo. · 9374589c
      Michael Meeks authored
      9374589c
    • Jody Goldberg's avatar
      Disable undo for bonobo case. · 3fef0251
      Jody Goldberg authored
      3fef0251
    • Morten Welinder's avatar
      Fix OPER_EXP operand test for the float_t case. · e3d100b2
      Morten Welinder authored
      2000-01-05  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (eval_expr_real): Fix OPER_EXP operand test for the
       	float_t case.
      e3d100b2
    • Morten Welinder's avatar
      Ignore NULLs. · 9a9864f8
      Morten Welinder authored
      2000-01-05  Morten Welinder  <terra@diku.dk>
      
      	* src/parser.y (register_allocation, unregister_allocation):
       	Ignore NULLs.
      9a9864f8
    • Morten Welinder's avatar
      revamp the allocation and deallocation system. · 749b89f0
      Morten Welinder authored
      2000-01-03  Morten Welinder  <terra@diku.dk>
      
      	* parser.y: revamp the allocation and deallocation system.
      
      	* src/cell.c (cell_set_formula): Plug leak.
      
      	* src/solver-lp.c (solver_simplex): j not used.
      
      	* src/cell.c (cell_cleanout): Not static since prototyped in
       	cell.h.
      749b89f0
    • Jody Goldberg's avatar
      Initial version of undo. · 7667d632
      Jody Goldberg authored
      2000-01-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.[ch] : New files.
      
      	* src/workbook-view.c (workbook_view_set_undo_redo_state) : Take
      	  strings to use as suffixes to undo and redo.  NULL indicates
      	  disabled.
      
      	* src/sheet.c (sheet_set_current_value) : Use cmd_set_text to register
      	  undo.
      
      	* src/workbook.c (workbook_menu_view) : Make The formula toggle a
      	  toggle item.
      	(workbook_menu_insert) : Move the insert object menu item here,
      	  and adjust the selector characters to make more sense.
      	(undo_cmd, redo_cmd) : Enable.
      
      	(workbook_init) : Init the undo/redo lists.
      	(workbook_do_destroy) : Clear the undo/redo lists.
      	(wb_input_finished) : Delete.  It was the same as accept_input.
      7667d632
  3. 04 Jan, 2000 3 commits
    • Miguel de Icaza's avatar
      Do not check for cell->sheet and cell->sheet->workbook, these must be · 831920d7
      Miguel de Icaza authored
      2000-01-03  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell.c (cell_render_value): Do not check for cell->sheet and
      	cell->sheet->workbook, these must be true.
      
      2000-01-02  Martin Sheppard  <martin.sheppard@iname.com>
      
      	* src/workbook.h (struct _Workbook): add option to display text of
      	formulas instead of their value
      
      	* src/workbook.c (workbook_menu_edit): add menu oiption for toggling
      	the display of formulas
      	(toggle_formuals_cmd,cb_cell_rerender): new function to toggle the
      	display of formulas
      	(workbook_new): initialize the display formulas option
      
      	* src/cell.c (cell_render_value): implemented displaying formulas
      831920d7
    • Martin Sheppard's avatar
      fixed so that while parsing a formula, a quoted function is convered to a · 680b46f3
      Martin Sheppard authored
      2000-01-02  Martin Sheppard <martin.sheppard@iname.com>
      
      	* src/parser.{c,y} (yylex) : fixed so that while parsing a formula,
      	a quoted function is convered to a string token rather than a
      	function call token. i.e. so that things like "sin" work properly in
      	formulas.
      680b46f3
    • Martin Sheppard's avatar
      new function to escape strings (do_expr_decode_tree) : fixed so strings · 5260ac76
      Martin Sheppard authored
      2000-01-03  Martin Sheppard <martin.sheppard@iname.com>
      
      	* src/expr.c (strescape) : new function to escape strings
      	(do_expr_decode_tree) : fixed so strings are escaped properly
      5260ac76
  4. 03 Jan, 2000 4 commits
  5. 02 Jan, 2000 8 commits
  6. 31 Dec, 1999 3 commits
  7. 30 Dec, 1999 7 commits
    • Jody Goldberg's avatar
      Define a new command context state · ca14021c
      Jody Goldberg authored
      ca14021c
    • 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
    • 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
    • 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 1 commit