1. 13 Jan, 2000 7 commits
    • Daniel Veillard's avatar
    • Jody Goldberg's avatar
      When an X app requests that a region that was cut we should be consistant · f5a62550
      Jody Goldberg authored
      and clear the region after the operation.
      f5a62550
    • Jody Goldberg's avatar
      - Remove have_selection cruft. Use application instead. · c2637d6a
      Jody Goldberg authored
      - Fix cut & paste to consistantly mark & clear X selection.
      - Add depend on gtk >= 1.2.2 in configure.in
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_clipboard_copy,
      	  application_clipboard_cut) : Use application_set_selected_sheet.
      	(application_set_selected_sheet) : New routine that manages exporting
      	  selection to X too.
      
      	* src/clipboard.c (x_selection_clear) : Something else now has the
      	  selection.  Clear ours.
      	(clipboard_export_cell_region) : Delete.
      	(find_local_workbook_with_selection) : Delete.
      	(workbook_selection_locator) : Delete.
      
      	* ./src/item-grid.c (item_grid_popup_menu) : Always enable paste,
      	  only enable paste special when we have a local cut.  This matches
      	  the behavior of the menus and toolbar.
      
      	* configure.in : Add a depend on libgtk+ >= 1.2.2 because 1.2.1
      	  did not have gtk_object_get.
      c2637d6a
    • Jody Goldberg's avatar
      Bug 5305 · 62e9b148
      Jody Goldberg authored
      2000-01-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (x_selection_handler) : Add some preconditions to
      	  make code more robust.
      
      	* src/application.c (application_clipboard_clear) : Release ownership
      	  of the selection when the clipboard is cleared.
      62e9b148
    • Jody Goldberg's avatar
      - Remove have_selection cruft. Use application instead. · 9f8fd667
      Jody Goldberg authored
      - Fix cut & paste to consistantly mark & clear X selection.
      - Add depend on gtk >= 1.2.2 in configure.in
      
      2000-01-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_clipboard_copy,
      	  application_clipboard_cut) : Use application_set_selected_sheet.
      	(application_set_selected_sheet) : New routine that manages exporting
      	  selection to X too.
      
      	* src/clipboard.c (x_selection_clear) : Something else now has the
      	  selection.  Clear ours.
      	(clipboard_export_cell_region) : Delete.
      	(find_local_workbook_with_selection) : Delete.
      	(workbook_selection_locator) : Delete.
      
      	* ./src/item-grid.c (item_grid_popup_menu) : Always enable paste,
      	  only enable paste special when we have a local cut.  This matches
      	  the behavior of the menus and toolbar.
      
      	* configure.in : Add a depend on libgtk+ >= 1.2.2 because 1.2.1
      	  did not have gtk_object_get.
      9f8fd667
    • Ariel Rios's avatar
      We are now able to handle scheme booleans. (expr_to_scm): The warnings · f35534cf
      Ariel Rios authored
      2000-01-12  Ariel Rios  <ariel@arcavia.com>
      
      	* plugin.c (scm_to_value): We are now able to handle scheme booleans.
      	(expr_to_scm): The warnings related to OPER_NAME and OPER_ARRAY were
      	eliminated.
      f35534cf
    • Jody Goldberg's avatar
      Update spec file. · 2c546825
      Jody Goldberg authored
      2c546825
  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 11 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
    • 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
      Updated configure · bda41e47
      Arturo Espinosa authored
      bda41e47
    • Arturo Espinosa's avatar
      Import the structure text import plugin · 8ea01b78
      Arturo Espinosa authored
      8ea01b78
    • Pablo Saratxaga's avatar
      updated es.po · 282c44d9
      Pablo Saratxaga authored
      282c44d9
    • 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
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 340eebca
      Yuri Syrota authored
      340eebca
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 264da01a
      Yuri Syrota authored
      264da01a
    • 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
    • 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 3 commits
    • Pablo Saratxaga's avatar
      updated es.po · 174df90b
      Pablo Saratxaga authored
      174df90b
    • Pablo Saratxaga's avatar
      updated es.po · 149d92fe
      Pablo Saratxaga authored
      149d92fe
    • 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 5 commits
    • Sergey I. Panov's avatar
      ru.po: Updated Russian translation from Valek Filippov <frob@df.ru> · 2b8f3bee
      Sergey I. Panov authored
             with minor additions from me.
             Last commit was bogus, as I commited older version :-)
      2b8f3bee
    • 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
    • Sergey I. Panov's avatar
  7. 07 Jan, 2000 6 commits
    • Michael Meeks's avatar
      remove a redundant FIXME comment. · f7e1c54d
      Michael Meeks authored
      f7e1c54d
    • 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
    • Miguel de Icaza's avatar
      Use new convention for EPV construction. · 2a523d85
      Miguel de Icaza authored
      2000-01-06  Miguel de Icaza  <miguel@gnu.org>
      
      	* vector.c (init_vector_corba_class): Use new convention for EPV
      	construction.
      
      	* layout.c (init_layout_corba_class): Use new convention for EPV
      	construction.
      
      	* graph.c (init_graph_corba_class): Use new convention for EPV
      	construction.
      2a523d85
  8. 06 Jan, 2000 6 commits