1. 13 Jan, 2000 4 commits
  2. 12 Jan, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      UIINFO separators added to Tools menu. · 50d74d7a
      Jukka-Pekka Iivonen authored
      2000-01-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/workbook.c (workbook_menu_tools): UIINFO separators added to
       	Tools menu.
      
      	* src/dialogs/dialog-solver.c (constr_add_click): Made the solver
      	dialog to disapear when adding constraints.
      
      	* src/dialogs/dialog-solver.c (constr_delete_click): Implemented
       	the delete button of constraints.
      50d74d7a
  3. 11 Jan, 2000 3 commits
    • Jody Goldberg's avatar
      - Interbook references are workable now. They can only be produced by · d2cf16cc
      Jody Goldberg authored
        cutting and pasting a reference originally in one book into another.
      
      2000-01-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_detach_sheet) : Even books with only 1
      	  sheet can have inter-sheet references.  think inter-book...
      	(workbook_can_detach_sheet) : Delete we can always detach a sheet.
      
      	* src/expr.c (cellref_relocate) : We only need to range check
      	  references that are changing.
      
      	* src/workbook.c (workbook_expr_relocate) : Copying to the same
      	  logical cell in another sheet is still a copy.
      
      	* ./src/eval.c (cell_queue_recalc_list) : Handle cross workbook
      	  depends correctly.
      
      	* src/eval.c (sheet_get_intersheet_deps) : Delete it is now unnecessary.
      	(dependency_data_destroy) : invalidate dangling intersheet
      	  dependancies.
      d2cf16cc
    • 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
      f218f561
  4. 10 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      - undo works undor bonobo now. · 4c82ff1c
      Jody Goldberg authored
      - format toolbar looks better when vertical.
      - More commands dummied up for undo.
      
      2000-01-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_insert_cols) : Be kinder to translators.
      	(cmd_insert_rows) : Ditto.
      	(cmd_rename_sheet_{undo,redo,destroy}) : Implement.
      	(cmd_rename_sheet) : Implement.
      	(cmd_set_date_time_{undo,redo,destroy}) : Implement.
      	(cmd_set_date_time) : Implement.
      	(cmd_resize_row_col_{undo,redo,destroy}) : Implement.
      	(cmd_resize_row_col) : Implement.
      
      	* src/workbook.c (insert_at_cursor) : Delete.
      	(insert_current_time_cmd) : Use cmd_set_date_time.
      	(insert_current_date_cmd) : Ditto.
      	(sheet_label_text_changed_signal) : Use cmd_rename_sheet.
      	(sheet_action_rename_sheet) : Ditto.
      
      	* src/corba-workbook.c (Workbook_sheet_rename) : Use cmd_rename_sheet.
      	* src/workbook-cmd-format.c (workbook_cmd_format_sheet_change_name) : Ditto.
      	(workbook_format_toolbar_orient) : New function to hide font selector
      	  when vertical.
      	(workbook_create_format_toolbar) : Connect to workbook_format_toolbar_orient.
      
      	* src/workbook-view.c (workbook_view_set_undo_redo_state) : Enable
      	  Bonobo version.
      	(change_menu_label) : Ditto.
      	(workbook_view_set_paste_special_state) : Ditto.
      4c82ff1c
  5. 09 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      Undo for - Renaming a sheet - Inserting current date/time - Simplify · ae564e24
      Jody Goldberg authored
      Undo for
      - Renaming a sheet
      - Inserting current date/time
      - Simplify wording for translators.
      
      2000-01-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_insert_cols) : Be kinder to translators.
      	(cmd_insert_rows) : Ditto.
      	(cmd_rename_sheet) : Implement.
      	(cmd_set_date_time_{undo,redo,destroy}) : Implement.
      	(cmd_set_date_time) : Implement.
      
      	* src/workbook.c (sheet_label_text_changed_signal) : Use
      	  cmd_rename_sheet.
      	(insert_at_cursor) : Delete.
      	(insert_current_time_cmd) : Use cmd_set_date_time.
      	(insert_current_date_cmd) : Use cmd_set_date_time.
      ae564e24
  6. 08 Jan, 2000 3 commits
    • Jody Goldberg's avatar
      - Bug 5036 - Fix inconsistancies in the hack to accept formulas with a · d0c30d56
      Jody Goldberg authored
      - Bug 5036
      - Fix inconsistancies in the hack to accept formulas with a leading
        '@'.
      
      2000-01-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-util.c (gnumeric_char_start_expr_p) : new function.
      
      	* src/workbook.c (wizard_input) : Use gnumeric_char_start_expr_p.
      
      	* src/cell.c (cell_set_formula) : Add a precondition to ensure that
      	  this is an expression.
      	(cell_set_text_simple) : Use gnumeric_char_start_expr_p.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Ditto.
      
      	* src/sheet.c (sheet_set_text) : Ditto.
      d0c30d56
    • Mike Kestner's avatar
      Preselect the name of the sheet in the dialog. · ebcc021d
      Mike Kestner authored
      
      2000-01-07  Mike Kestner <mkestner@enteract.com>
      
      	* src/dialogs/dialog-simple-input.c (dialog_get_sheet_name) :
      	  Preselect the name of the sheet in the dialog.
      ebcc021d
    • Jody Goldberg's avatar
      - Patch from list to enable sheet renaming from notebook tab popup. · a0d2eecd
      Jody Goldberg authored
      - Adjust redraw and recalc to be associated with command.
      - Partial cmd wrapper for sheet renaming (unused)
      
      2000-01-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_move_range) : Recalc here until there is a
      	  command wrapper for shift and cut_paste.
      
      	* src/sheet.c (sheet_{insert,delete}_{rows,cols}) : Move recalc
      	  request into the command wrapper.
      	* src/eval.c (sheet_recalc_dependencies) : Ditto.
      
      2000-01-07  Mike Kestner <mkestner@enteract.com>
      
      	* src/workbook.c (sheet_action_rename_sheet) : Enable rename from the
      	  popup menu associated with sheet tabs.
      a0d2eecd
  7. 07 Jan, 2000 4 commits
    • Michael Meeks's avatar
      fixup dependency performance on cut / paste. · d54108df
      Michael Meeks authored
      2000-01-07  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/eval.c (sheet_recalc_dependencies): add precondition, use
      	the single dependency hash instead for more speed. Always do the
      	workbook_recalc to clearl the queue.
      	(cb_cell_get_all_depends): rename to (cb_single_get_all_depends):
      	and simplify. (cb_sheet_get_all_depends): clean slightly.
      	(search_range_deps): Use g_list_concat + g_list_copy instead.
      	(sheet_region_get_deps): clip the range to the sheet extent for vital
      	speedup.
      d54108df
    • Jody Goldberg's avatar
      Undo ins/del row/col mostly works. · 8769a02b
      Jody Goldberg authored
      A few rough edges but mostly functional.
      
      2000-01-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_ins_del_row_col_*) : Implement.
      
      	* src/cell.c (cell_set_formula_tree_simple) : Correct the docs.
      
      	* src/sheet.c (sheet_insert_cols, sheet_insert_rows,
      	  sheet_delete_cols, sheet_delete_rows) : Return flags to
      	  indicate failure.  return list of expressions and locations that
      	  were modified as a result of the change.
      
      	* src/workbook.c (workbook_expr_relocate) : Correct documentation.
      	(sheet_suspend_auto_expr, sheet_resume_auto_expr) : Delete unused functions.
      	(workbook_expr_unrelocate, workbook_expr_unrelocate_free) : New functions.
      
      	* src/eval.c (sheet_get_intersheet_deps) : No need for sheet member.
      	(sheet_region_get_deps) : No need to init sheet.  Use g_list_concat.
      	(sheet_recalc_dependencies) : All regions & cells in the sheet
      	  contribute.
      	(cb_cell_get_all_depends) : New function.
      	(cb_sheet_get_all_depends) : New function.
      8769a02b
    • Jody Goldberg's avatar
      Fix typo. · 224121de
      Jody Goldberg authored
      224121de
    • Jody Goldberg's avatar
      Fix warnings and logix problems with Ins/Del Row/Col. · 4426aa49
      Jody Goldberg authored
      2000-01-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_ins_del_row_col_undo) : Fix operator precedence.
      	(cmd_ins_del_row_col_redo) : Ditto.
      
      	* src/sheet.c (sheet_save_row_col_sizes) : Be extra careful.
      
      	* src/gnumeric-sheet.c : Add include for commands.h.
      4426aa49
  8. 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
  9. 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
  10. 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
  11. 03 Jan, 2000 4 commits
  12. 02 Jan, 2000 2 commits