1. 05 Dec, 2002 1 commit
  2. 01 Nov, 2002 1 commit
  3. 23 Aug, 2001 1 commit
  4. 27 Jun, 2001 3 commits
  5. 23 Jun, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Always clear the status text. · c3babc84
      Almer S. Tigelaar authored
      2001-06-23  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/item-cursor.c (item_cursor_do_drop): Always clear
      	the status text.
      
      	* src/GNOME_Gnumeric.xml: Add missing outline menu items.
      c3babc84
  6. 22 Jun, 2001 1 commit
    • Morten Welinder's avatar
      Prefer absolute lowest y-value in cases where we have only one side of · 4a6dcac2
      Morten Welinder authored
      2001-06-22  Morten Welinder  <terra@diku.dk>
      
      	* src/goal-seek.c (update_data): Prefer absolute lowest y-value in
       	cases where we have only one side of zero.
      
      2001-06-22  Morten Welinder  <terra@diku.dk>
      
      	* fn-financial.c (gnumeric_rate, gnumeric_irr): No longer respect
       	sign of guess.  It's a nice idea, but breaks tests.
      
      
      (White-space samba in plugins/excel/ms-excel-read.c)
      4a6dcac2
  7. 21 Jun, 2001 2 commits
    • Morten Welinder's avatar
      #include <string.h> for strlen. · fbb769d8
      Morten Welinder authored
      2001-06-21  Morten Welinder  <terra@diku.dk>
      
      	* src/summary.c: #include <string.h> for strlen.
      
      	* src/search.c (calculate_replacement): Warning killer.
      
      	* src/regression.c: #include <stdlib.h> for abs.
      
      	* src/plugin-loader-module.c: #include <string.h> for strcmp.
      
      	* src/formats.c (cell_format_fraction): Avoid accidental use of
       	trigraph.
      
      	* src/complete.c: #include <stdlib.h> for abort.
      
      
      2001-06-21  Morten Welinder  <terra@diku.dk>
      
      	* fn-stat.c: #include <string.h> for memset.
      
      	* fn-lookup.c: #include <stdlib.h> for abs.
      
      	* fn-information.c (translate_table): Fix accidental use of
       	trigraph.
      	#include <stdlib.h> for abs and <string.h> for strcmp.
      
      	* fn-date.c: #include <string.h> for strcmp and <stdlib.h> for
       	abort.
      fbb769d8
    • Almer S. Tigelaar's avatar
      New, toggles borders around regions. · 9235acc4
      Almer S. Tigelaar authored
      2001-06-21  Almer S. Tigelaar  <almer@gnome.org>
      
       	* src/gnumeric-sheet.c (border_mutate): New, toggles
       	borders around regions.
      
       	(gnumeric_sheet_key_mode_sheet):
       	Make Ctrl+Backspace center on the active cell.
       	Add support for Locked scrolling with the arrow keys, home and end.
       	Add support for Ctrl+Shift ~, $, %, ^, #, @, !, & and _ shortcut keys
       	for formatting and border mutations.
      
       	* src/workbook-control-gui.c, src/GNOME_Gnumeric.xml:
       	Change keybinding of Goto Cell from Ctrl+G to F5.
       	Set keybinding of Search&Replace to F6.
       	Set keybinding of Define Names to Ctrl+F3
      9235acc4
  8. 20 Jun, 2001 5 commits
    • Almer S. Tigelaar's avatar
      Convert scaling percentage to factor. (setup_scale): Idem. (print_page): · 52939b4f
      Almer S. Tigelaar authored
      2001-06-20  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/print.c (print_page_cells): Convert scaling percentage
      	to factor.
      	(setup_scale): Idem.
      	(print_page): Idem.
      	(compute_group): Idem.
      
      2001-06-20  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-printer-setup.c (do_setup_page): No need to
      	mutate scaling to a percentage it is already a percentage.
      	(do_fetch_page): Idem.
      52939b4f
    • Almer S. Tigelaar's avatar
      Use wbcg->toplevel, not wbcg->table. This fixes copying from Gnumeric to · 2ff075d2
      Almer S. Tigelaar authored
      2001-06-20  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_claim_selection):
      	Use wbcg->toplevel, not wbcg->table. This fixes
      	copying from Gnumeric to another application.
      2ff075d2
    • Almer S. Tigelaar's avatar
      Default to scale factor 1 not 100. · 44355201
      Almer S. Tigelaar authored
      2001-06-20  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/print-info.c (print_info_new): Default to scale
      	factor 1 not 100.
      44355201
    • Jody Goldberg's avatar
      parse 12:xx am correctly. · 171fd620
      Jody Goldberg authored
      2001-06-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (compute_value) : parse 12:xx am correctly.
      171fd620
    • Jody Goldberg's avatar
      Adjust to ref semantics change. · 2d2eb8c1
      Jody Goldberg authored
      2001-06-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_search_replace_do_cell) : Adjust to ref
      	  semantics change.
      
      	* src/number-match.c (format_match) : do not add a ref to the
      	  resulting format.
      
      	* src/sheet.c (sheet_cell_set_text) : no need to unref anymore.
      	(sheet_range_set_text) : ditto.
      
      	* src/cell.c (cell_assign_value) : ref before unref.
      	(cell_eval_content) : Use a simplified assignment to avoid refing and
      	  unrefing the formats.
      	(cell_set_text) : cleanup reference handling.
      2d2eb8c1
  9. 19 Jun, 2001 4 commits
  10. 18 Jun, 2001 3 commits
    • Jody Goldberg's avatar
      all actions must be > 0. · 48492ea1
      Jody Goldberg authored
      2001-06-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (ActionType) : all actions must be > 0.
      
      2001-06-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/io-context.c (workbook_io_progress_set) : delete update based on
      	  styles.  This operation leaked and was very expensive.
      48492ea1
    • Almer S. Tigelaar's avatar
      Support for end and ctrl+end. · db3cfa87
      Almer S. Tigelaar authored
      2001-06-18  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet):
      	Support for end and ctrl+end.
      
      	* src/workbook-control-gui.c: Add accelerator for
      	formula/value toggling.
      
      	* src/GNOME_Gnumeric.xml: Add missing accelerator for
      	goto cell and new accelerator for formula/value toggling.
      db3cfa87
    • Karl Eichwalder's avatar
      Add missing exclamation mark. · 37112c5a
      Karl Eichwalder authored
      2001-06-18  Karl Eichwalder  <ke@suse.de>
      
      	* src/main.c (gnumeric_main): Add missing exclamation mark.
      37112c5a
  11. 17 Jun, 2001 1 commit
  12. 15 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      Use CellPos directly. · 90113e73
      Jody Goldberg authored
      2001-06-15  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_sheet_new) : Use CellPos directly.
      
      	* ms-formula-read.c (ms_excel_parse_formula) : some cleanup.
      
      2001-06-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_colrow_select) : don't
      	  discard input when selecting a range.
      
      	* src/xml-io.c (xml_write_range) : Add some safety.
      90113e73
  13. 14 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      use the scale info and round it correctly. (do_setup_page) : ditto. · 4a3bcd3a
      Jody Goldberg authored
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-printer-setup.c (do_fetch_page) : use the scale info and
      	  round it correctly.
      	(do_setup_page) : ditto.
      
      	* print.glade : partially enable the print scaling.
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_setup) : new routine.
      	(write_sheet_bools) : split out from here.
      
      	* ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
      	  of here into.
      	(ms_excel_read_setup) : here.  and modernize it.  Read the number of
      	  copies and the scaling if specified.
      
      2001-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (render_number) : improve rounding and cleanup.
      
      2001-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_cleanout) : call dirty here.
      	(cell_destroy) : not here.
      	(cell_set_text) : or here.
      	(cell_set_value) : or here.
      	(cell_set_expr_and_value) : or here.
      	(cell_set_expr_internal) : or here.
      
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print.c (compute_group) : add more error checking to avoid
      	  possibility of infinite loop.
      
      	* src/print-info.c (print_info_new) : init num copies.
      
      	* src/mathfunc.c (stern_brocot) : move this here from
      	* format.c : here.
      4a3bcd3a
  14. 13 Jun, 2001 1 commit
  15. 12 Jun, 2001 1 commit
    • Chyla Zbigniew's avatar
      Two extra helpers (value, workbook) + changes in count helper), removed · baace536
      Chyla Zbigniew authored
      
      * src/io-context-priv.h
      (enum GnumProgressHelperType, struct GnumProgressHelper): Two extra
      helpers (value, workbook) + changes in count helper), removed min_f and
      max_f fields.
      (struct ProgressRange): New.
      (struct _IOContext): Added progress_ranges, progress_min, progress_max.
      
      * src/io-context.h
      (enum WbProgressElements): New.
      (file_io_progress_set, memory_io_progress_set):
      Removed min_f and max_f arguments.
      (count_io_progress_set): Added step argument, removed min_f and max_f.
      (count_io_progress_update): s/value/inc.
      (io_progress_range_push, io_progress_range_pop,
      value_io_progress_set, value_io_progress_update,
      workbook_io_progress_set, workbook_io_progress_update): New.
      
      * src/io-context.c
      (io_context_init): Initialize extra fields: progress_ranges,
      progress_min, progress_max.
      (io_progress_update): Adjust the value, using current range
      <progress_min, progress_max>.
      (io_progress_range_push, io_progress_range_pop): New.
      (file_io_progress_set, memory_io_progress_set):
      Removed min_f and max_f arguments.
      (file_io_progress_update, memory_io_progress_update): Don't adjust value
      to current range, io_progress_update takes care of this.
      (count_io_progress_set): Added "step" argument, initialize extra
      struct fields: last, current, step.
      (count_io_progress_update): Take value increase as an argument, not
      value itself. Return immediately if value hasn't changed enough.
      (value_io_progress_set, value_io_progress_update,
      workbook_io_progress_set, workbook_io_progress_update): New. Two
      additional helpers, "workbook" should be very useful when saving
      workbook.
      
      * src/xml-io.h (struct _XmlParseContext): Removed element_counter.
      
      * src/xml-io.c
      (xml_read_styles, xml_sheet_read): Don't increment element_counter
      manually, just call count_io_progress_update.
      (xml_workbook_read): Pass the size of the step to
      count_io_progress_set, use io_progress_range_{push,pop}.
      (gnumeric_xml_read_workbook): Use io progress helper of type "value".
      baace536
  16. 11 Jun, 2001 2 commits
  17. 08 Jun, 2001 3 commits
    • Jody Goldberg's avatar
      avoid duplicate use of 'H' as accelerator. Ditto. · ceb7c5f2
      Jody Goldberg authored
      
      2001-06-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_menu_format_row) : avoid
      	  duplicate use of 'H' as accelerator.
      	* src/GNOME_Gnumeric.xml : Ditto.
      ceb7c5f2
    • Almer S. Tigelaar's avatar
      Use scg->gsheet. · 128860d8
      Almer S. Tigelaar authored
      2001-06-08  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/embeddable-grid.c (grid_view_activate): Use
      	scg->gsheet.
      128860d8
    • Jody Goldberg's avatar
      Add some sanity checking for safety. ditto. (sheet_redraw_cell_region) : · f2bccd97
      Jody Goldberg authored
      
      2001-06-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_set_internal) : Add some sanity
      	  checking for safety.
      	* src/sheet.c (sheet_set_edit_pos) : ditto.
      	(sheet_redraw_cell_region) : ditto.
      
      	* src/rendered-value.c (cell_get_rendered_text) : We need this for
      	  now.  There are functions that actualyl rely on the rendered text.
      f2bccd97
  18. 07 Jun, 2001 4 commits
    • Jody Goldberg's avatar
      We need this for now. There are functions that actualyl rely on the · e7082e55
      Jody Goldberg authored
      
      2001-06-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/rendered-value.c (cell_get_rendered_text) : We need this for
      	  now.  There are functions that actualyl rely on the rendered text.
      
      2001-06-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gui-file.c (gui_file_open) : There is no point showing the
      	  create/delete/rename buttons when loading.
      	(gui_file_import) : and importing.
      e7082e55
    • Almer S. Tigelaar's avatar
      Ignore empty values. (retrieve_row_tree): Idem. (key_list_get): Idem. · c4871925
      Almer S. Tigelaar authored
      2001-06-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/consolidate.c (retrieve_col_tree): Ignore
      	empty values.
      	(retrieve_row_tree): Idem.
      	(key_list_get): Idem.
      	(key_list_free): Burn.
      	(colrow_consolidate): Free the lists directly instead
      	of calling key_list_free.
      	(simple_consolidate): Add flag, we don't want
      	range merge optimizations on simple consolidations.
      	(consolidate_apply): Adjust call to simple_consolidate.
      	(cb_col_tree): Idem.
      	(cb_row_tree): Idem.
      c4871925
    • Almer S. Tigelaar's avatar
      Remove MS_ALL as flag and make it a define. · 78f154f9
      Almer S. Tigelaar authored
      2001-06-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control.h: Remove MS_ALL as flag
      	and make it a define.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update):
      	Remove MS_ALL flag handling.
      78f154f9
    • Almer S. Tigelaar's avatar
      Add MS_CONSOLIDATE. · 4297da1f
      Almer S. Tigelaar authored
      2001-06-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control.h: Add MS_CONSOLIDATE.
      
      	* src/workbook-edit.c (wbcg_edit_attach_guru): Call
      	wb_control_menu_state_update
      	(wbcg_edit_detach_guru): Idem.
      
      	* src/workbook-control-gui-priv.h: Add consolidation
      	menu item.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update): Add
      	consolidation menu item.
      	(workbook_control_gui_init): Initialize consolidation
      	menu item.
      4297da1f
  19. 06 Jun, 2001 2 commits
    • Almer S. Tigelaar's avatar
      Fix warning. · 742fd104
      Almer S. Tigelaar authored
      2001-06-06  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/stf.c (stf_read_workbook): Fix warning.
      742fd104
    • Almer S. Tigelaar's avatar
      Add new GlobalRange. · 76a1bbbc
      Almer S. Tigelaar authored
      2001-06-06  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/gnumeric.h : Add new GlobalRange.
      
      	* src/ranges.[ch] (global_range_new): Create a new globalrange.
      	(global_range_free): Free.
      	(global_range_overlap): Utility function.
      	(global_range_dup): Idem.
      
      	* src/sheet.[ch] (sheet_cell_get_value): New function.
      
      	* src/workbook-control-gui.c (cb_data_consolidate) :
      	Entry point for the data consolidation dialog.
      
      	* src/GNOME_Gnumeric.xml : Add consolidate menu item.
      
      	* src/commands.c (cmd_consolidate) : Undo/redo for consolidate.
      	(cmd_consolidate_destroy) : Idem.
      	(cmd_consolidate_redo) : Idem.
      	(cmd_consolidate_undo) : Idem.
      
      	* src/consolidate.[ch] : Consolidation low-level code.
      
      2001-06-06  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-consolidate.c : Implementation of the consolidation dialog.
      
      	* consolidate.glade : Idem.
      76a1bbbc
  20. 05 Jun, 2001 2 commits
    • Chyla Zbigniew's avatar
      New function, some code moved from gui-file.c. · 7aba8116
      Chyla Zbigniew authored
      
      * src/gnumeric-util.[ch] (gnumeric_dialog_file_selection): New
      function, some code moved from gui-file.c.
      
      * src/workbook.[ch] (workbook_get_filename): New accessor function.
      
      * src/gui-file.h
      (gui_file_open): New function.
      (gui_file_import): Removed fname argument.
      
      * src/gui-file.c
      (gui_file_import): Create and open file selector, using
      gnumeric_dialog_file_selection to display it. Use one dialog to select
      file and file format, we don't need glade file anymore. Optionally
      show all registered openers as importers.
      (gui_file_save_as): Uses gnumeric_dialog_file_selection. Take
      workbook's current saver if current_saver is NULL (previously we've
      been loosing this information), use
      gnumeric_option_menu_get_selected_index instead of playing with
      signals.
      (gui_file_open): New function, some code moved from
      dialog_query_load_file.
      (gui_file_save): Always call wb_view_preferred_size.
      (do_save_as): Take GnumFileSaver as argument.
      (cb_select, handle_ok, saver_activate, fill_save_menu,
      make_format_chooser, file_dialog_delete_event, fs_key_event,
      fs_set_filename): Removed.
      
      * src/workbook-control-gui.c
      (cb_file_new): Just call gui_file_open.
      (cb_file_import): Call gui_file_import.
      (workbook_control_gui_init): Initialize current_saver with NULL.
      7aba8116
    • Chyla Zbigniew's avatar
      Slight modification of the previous patch. · 2fc499eb
      Chyla Zbigniew authored
      
      * src/workbook.c (workbook_new): Slight modification of the previous
      patch.
      2fc499eb