1. 07 Feb, 2000 3 commits
  2. 06 Feb, 2000 1 commit
    • ERDI Gergo's avatar
      Added myself to the contributors list · b3e9a312
      ERDI Gergo authored
      2000-02-01  ERDI Gergo  <cactus@cactus.rulez.org>
      
      	* src/about.c (dialog_about): Added myself to the contributors list
      
      	* src/widgets/gtk-combo-box.c (gtk_combo_box_popup_hide):
      	explicitly cast function pointers to avoid a warning
      
      	* src/solver-lp.c (simplex_step_three): Default value for `min' to
      	eliminate a warning
      
      	* src/dialogs/dialog-advanced-filter.c: Included ranges.h
      	(removing an `implicit declaration' warning)
      
      	* src/commands.c: Included `dialogs.h'
      
      	* src/workbook.c (workbook_standard_toolbar_orient): Hide the zoom
      	combo box on vertical toolbars
      
      	* src/widgets/gtk-combo-text.[ch]: New widget: easy-to-use combo box
      
      2000-01-28  ERDI Gergo  <cactus@cactus.rulez.org>
      
      	* src/workbook.c (workbook_create_standard_toobar): Added a zoom
      	button to the toolbar as requested
      b3e9a312
  3. 04 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Add some config variables to the application to allow for axis dependent · d6fe542a
      Jody Goldberg authored
      zooming based on the screen display resolution (eg 110 dpi).  No GUI currently
      available.
      
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
      	  function.
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
      
      2000-02-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_col_set_internal_width) : Scale by the axis
      	  resolution adjment.
      	(sheet_row_set_internal_height) : Ditto.
      	(colrow_set_units) : Ditto.
      	(sheet_compute_col_row_new_size) : Ditto.
      
      	* src/item-bar.c (item_bar_fonts_init) : Scale by resolution.
      	(item_bar_start_resize) : Ditto.
      	(item_bar_event) : Ditto.
      
      	* src/cell.c (cell_calc_dimensions) : Adjust interface to take the
      	  cell. Scale the height test by the vertical resolution adjustment.
      
      	* src/cell-draw.c (sheet_view_get_style_font) : rename from
      	  sheet_get_style_font in preparation for view split.  Scale
      	  the font by the average of the resolutions.
      d6fe542a
  4. 02 Feb, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      Bug fix. Convert RHS values to non-negative. · 54ec394c
      Jukka-Pekka Iivonen authored
      2000-02-03  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/solver-lp.c (solver_simplex): Bug fix.  Convert RHS values
       	to non-negative.
      
      	* src/solver-lp.c: Implemented `Sensitivity Report' for Solver
       	tool.  Not complete though.
      54ec394c
  5. 01 Feb, 2000 3 commits
  6. 31 Jan, 2000 2 commits
    • Jukka-Pekka Iivonen's avatar
      Gladefied the Solver tool. Implemented `Change' (constraint) button. · 6b1a937a
      Jukka-Pekka Iivonen authored
      2000-01-31  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/dialog-solver.c, src/dialogs/solver.glade,
       	src/dialogs/Makefile.am: Gladefied the Solver tool.  Implemented
       	`Change' (constraint) button.
      
      	* src/functions/fn-math.c: Added RandExp(), RandPoisson(),
       	RandBinom(), RandNegBinom(), and RandBernoulli() functions.
      
      	* src/functions/fn-math.c, src/mathfunc.[ch]: Moved gcd to
       	mathfunc.c.
      6b1a937a
    • Jody Goldberg's avatar
      Move more of the pure view elements into WorkbookPrivate. · a038ab94
      Jody Goldberg authored
      
      2000-01-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/worksheet.h : Move more of the pure view elements into
      	  WorkbookPrivate.
      
      	* src/sheet.h : Remove include of workbook.h
      
      	* *.c : manually include workbook.h only where we need it.
      
      	* src/ranges.c (parse_range) : Move here from dialog-analysis-tools.c
      	  to avoid warnings.
      
      	* src/corba-workbook.c (Workbook_save_to) : Adjust to new calling
      	  convention.
      	* src/corba-workbook-factory.c (WorkbookFactory_read) : Ditto.
      
      	* src/parser.y : Support interbook references.
      
      	* src/item-bar.c : Ignore scroll-wheel events. Eventually the app will
      	  handle these rather than the grid.
      a038ab94
  7. 28 Jan, 2000 1 commit
    • Jon K Hellan's avatar
      Megacommit. · 333a8167
      Jon K Hellan authored
      2000-01-29  Jon K Hellan  <hellan@acm.org>
      
      	Megacommit.
      
      	The purpose of the changeset is twofold:
      
      	1. Use CommandContexts for error reporting for file read/save.
      	2. This allows us to let FileFormatOpen return 0 on success, -1 on
      	   failure, same as FileFormatSave. The convention to return NULL
      	   on success was highly ideosyncratic.
      
      	* src/file.h (FileFormatOpen, FileFormatSave, workbook_load_from,
      	workbook_import): Add CommandContext
      	(FileFormatOpen, workbook_load_from): Return int instead of char*.
      
      	* src/file.c (workbook_load_from, workbook_try_read,
      	workbook_read, workbook_import, workbook_save_as, workbook_save)
      	(file_error_message): Remove function
      	(workbook_read, workbook_load_from, workbook_save_as,
      	workbook_save): Do not display message, message, plugin does -
      	using CommandContext.
      	(workbook_load_from): Return int instead of char*.
      	(workbook_load_from, workbook_import): fo->open returns int
      	instead of char*.
      	(workbook_try_read): Remove msg paramenter
      
      	* src/workbook.c (workbook_persist_file_load,
      	workbook_persist_file_save): Use workbook_command_context_gui.
      	(file_import_cmd): ditto
      	(file_open_cmd): ditto
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_filenames_dropped): Use
      	workbook_command_context_gui. Call workbook_try_read without msg
      	argument.
      
      	* src/workbook.h (workbook_try_read, workbook_read,
      	workbook_save_as, workbook_save): Add command context
      	(workbook_try_read): Remove msg paramenter
      
      	* src/dialogs/dialog-autosave.c (dialog_autosave_callback):
      	ditto
      
      	* src/command-context.[ch] (gnumeric_error_read,
      	gnumeric_error_save): New functions.
      
      	* src/command-context-corba.c (ccc_error_read, ccc_error_save):
      	Ditto.
      	(ccc_init_class): Initialize error_read, error_save.
      
      	* src/command-context-gui.c (ccg_error_read, ccg_error_save):
      	Ditto.
      	(ccg_init_class): Initialize error_read, error_save.
      
      	* src/main.c (gnumeric_main): Make a CommandContext for use before
      	we make first workbook. Unref it when no longer needed. Call
      	plugins_init and workbook_read with CommandContext.
      
      	* src/plugin-manager.c (add_cb): Use gnumeric_error_plugin_problem.
      	(remove_cb): Ditto.
      
      	* src/plugin.c (plugin_load, plugin_unload): CommandContext
      	instead of workbook.
      	(plugins_init): Add CommandContext.
      
      	* src/plugin.c (plugin_load, plugin_unload): CommandContext
      	instead of workbook.
      	(plugin_unload): Use gnumeric_error_plugin_problem.
      	(plugin_load_plugins_in_dir, load_all_plugins, plugins_init): Add
      	CommandContext.
      
      	* src/xml-io.h:  ditto
      
      	* src/xml-io.c (gnumeric_xml_read_workbook,
      	gnumeric_xml_write_workbook):  ditto
      
      In plugins/dif:
      
      	* dif.c (dif_read_workbook, dif_write_workbook): Add
      	CommandContext.
      	(dif_read_workbook): Return 0 on success, -1 on failure.
      	 Use gnumeric_error_read to report errors.
      
      In plugins/excel:
      
      	* excel.h (ms_excel_read_workbook, ms_excel_write_workbook) Add
      	CommandContext. Return int.
      
      	* ms-excel-read.c (ms_excel_read_workbook): Add
      	CommandContext. Return 0 on success, -1 on failure. Use
      	gnumeric_error_read to display messages.
      
      	* ms-excel-write.c (write_sheet): Check max no. of rows for the
      	format.
      	(new_sheet): Return the ExcelSheet. Let caller add it to
      	wb->sheets.
      	(pre_pass): Add CommandContext.
      	(free_workbook): New function, previously in write_workbook.
      	(write_workbook): Change parameter from Workbook to ExcelWorkbook.
      	Move deallocation to free_workbook.
      	(check_sheet): New function. Check if we are able to save the
      	sheet.
      	(ms_excel_check_write): New function. Check if we are able to save
      	to the file. Do initialization previously in
      	ms_excel_write_workbook.
      	(ms_excel_write_workbook): Add CommandContext. Add state. Change
      	wb from Workbook to ExcelWorkbook. Use gnumeric_error_save to
      	report problems. Return 0 on success, -1 on failure.
      
      	* ms-excel-biff.h: Define enum for max no. of rows. Fix typo.
      
      	* boot.c (excel_load, excel_save, excel_save_98, excel_save_95):
      	Add CommandContext.
      	(excel_load): Return 0 on success, -1 on failure.
      	Use gnumeric_error_read to display messages. Remove "Opening .. "
      	message on stdout.
      	(excel_probe_write): New function. Check if we are able to save to
      	the file.
      	(excel_save): Use gnumeric_error_save to display messages.
      	Return 0 on success, -1 on failure.
      
      In plugins/ff-csv:
      
      	* csv-io.c (csv_read_workbook, csv_write_workbook,
      	csv_parse_sheet, csv_parse_field): Add CommandContext. Return 0 on
      	success, -1 on failure. Use gnumeric_error_read to report errors.
      
      In plugins/ff-stf:
      
      	* dialog-stf.h: Add CommandContext. Return int.
      
      	* dialog-stf.c (dialog_stf) : Add CommandContext. Return 0 on success,
      	-1 on failure. Use gnumeric_error_read to report errors.
      
      	* stf.c (stf_read_workbook): Ditto.
      
      In plugins/html:
      
      	* epsf.h (epsf_write_wb): Add CommandContext.
      
      	* epsf.c (epsf_write_wb): ditto.
      
      	* latex.h (html_write_wb_latex, html_write_wb_latex2e): ditto
      
      	* latex.c (html_write_wb_latex, html_write_wb_latex2e): ditto
      
      	* roff.c (html_write_wb_roff_ps, html_write_wb_roff_dvi,
      	html_write_wb_roff_pdf, html_write_wb_roff): ditto
      
      	* roff.c (html_write_wb_roff_ps, html_write_wb_roff_dvi,
      	html_write_wb_roff_pdf, html_write_wb_roff): ditto
      
      	* html.h (html_read, html_write_wb_html40, html_write_wb_html32):
      	ditto.
      	(html_read): Return int.
      
      	* html.c (html_read, html_write_wb_html40, html_write_wb_html32):
      	ditto
      	(html_read): Return 0 on success, -1 on failure. Use
      	gnumeric_error_read to report errors.
      
      In plugins/lotus-123:
      
      	* lotus.c (lotus_read): Add CommandContext. Return 0 on success,
      	-1 on failure. Use gnumeric_error_read to report errors. Close
      	file unconditionally.
      	(read_workbook): Return 0 on success, -1 on failure. Remove unused
      	panic_message variable.
      
      	* lotus.h (lotus_read): Add CommandContext. Return int.
      
      	* boot.c (lotus_load): Ditto
      
      In plugins/oleo:
      
      	* oleo.c (oleo_read): Add CommandContext. Return 0 on success,
      	-1 on failure. Use gnumeric_error_read to report errors.
      
      	* oleo.h (oleo_read): Add CommandContext. Return int.
      
      	* boot.c (oleo_load): Ditto.
      
      In plugins/plan-perfect:
      
      	* pln.c (pln_parse_sheet, pln_read_workbook): Add
      	CommandContext. Return 0 on success, -1 on failure. Use
      	gnumeric_error_read to report errors.
      
      In plugins/sc:
      
      	* sc.c (sc_read_workbook, sc_parse_sheet): Add
      	CommandContext. Return 0 on success, -1 on failure.  Use
      	gnumeric_error_read to report errors.
      
      In plugins/sylk:
      
      	* sylk.c (sylk_read_workbook, sylk_parse_sheet): Add
      	CommandContext. Return 0 on success, -1 on failure. Use
      	gnumeric_error_read to report errors.
      
      In plugins/text:
      
      	* text-io.c (text_read_workbook, text_write_workbook,
      	readTextWorkbook): Add CommandContext.
      	(text_read_workbook, readTextWorkbook): Return 0 on success, -1 on
      	failure.
      	(readTextWorkbook): Use gnumeric_error_read to report errors.
      
      In plugins/xbase:
      
      	* xbase.h (xbase_open): Add CommandContext.
      
      	* xbase.c (xbase_open): Add CommandContext. Remove progress
      	message to stdout. Use gnumeric_error_read to report errors.
      
      	* boot.c (xbase_load): Add CommandContext. Return 0 on success, -1
      	on failure.
      333a8167
  8. 27 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      - Some xml fixes - Row/col ins/del undo fix. - Mouse scroll fix, and · d99c96e7
      Jody Goldberg authored
      - Some xml fixes
      - Row/col ins/del undo fix.
      - Mouse scroll fix, and scrollbar speedup.
      
      2000-01-27  Jody Goldberg <jgoldberg@home.com>
      
      	* *.c : convert to using Workbook::current_sheet rather than
      	    workbook_get_current_sheet.
      
      	* src/workbook.c : Add a current_sheet member to Workbook.
      	Delete some old test code.
      	(do_focus_sheet) : Cancel inputs and update edit area with new cell.
      	(workbook_focus_current_sheet) : Update current_sheet.
      	(workbook_get_current_sheet) : Delete.
      
      	* src/sheet.c (sheet_cursor_{move, set}) : Delete call to
      	  gnumeric_sheet_cursor_set.
      
      	* src/sheet.c (sheet_{row,col}_add) : Use sheet_view_scrollbar_config.
      	  We should not be touching GUI directly.
      
      	* src/sheet-view.c (sheet_view_scrollbar_config) : Set the scrollbar's
      	  value as well as it max and page info.
      
      	* src/gnumeric-sheet.[ch] (gnumeric_sheet_cursor_set) : Delete.
      	  The scrollbars reflect the visible range, not the cursor cell.
      
      	* src/item-cursor.c (item_cursor_set_bounds_visibly) : Remove call to
      	  gnumeric_sheet_cursor_set.
      
      2000-01-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_workbook_write) : Do not save the current
      	  edit-text.  We don't save the current cell or the current selection
      	  so restoring the text of the ex-cursor is quite confusing.
      	(xml_workbook_read) : Restore window size.
      	(gnumeric_xml_sheet_{read,write}) : Delete unused.
      	(xml_get_range) : Utility routine.
      	(xml_read_selection_info) : Utility routine to restore the selection.
      
      	* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : Do the
      	  insert/delete even if it looks like there are no cells there.
      	  There may be styles.
      d99c96e7
  9. 26 Jan, 2000 2 commits
    • Jukka-Pekka Iivonen's avatar
      Implemented `Advanced Filter'. · a0ec6d64
      Jukka-Pekka Iivonen authored
      2000-01-27  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-advanced-filter.c, src/func.h, src/workbook.c:
      	Implemented `Advanced Filter'.
      
      	* src/mathfuns.[ch], src/analysis-tools.c, src/dialogs/dialogs.h,
       	src/dialogs/dialog-analysis-tools.c: Added the following
       	distributions for the random number generation tool:
      	- poisson
      	- binomial
      	- negative binomial
      	- exponential
      a0ec6d64
    • Jody Goldberg's avatar
      - Add mouse-wheel scrolling for Jon-Kare · 7fc4d11f
      Jody Goldberg authored
      - adjust semantics of gnumeric_run_dialog to set the parent.
      
      2000-01-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-util.c (gnumeric_dialog_run) : Handle the setting of
      	  the parent here rather than scattering it throughout the system.
      
      	* src/item-grid.c (item_grid_event) : Support mouse-wheel scrolling.
      7fc4d11f
  10. 25 Jan, 2000 3 commits
    • Jody Goldberg's avatar
      - Fix a problem with zooming caused by the new item-bar enhancements. - · 03198e1d
      Jody Goldberg authored
      
      - Fix a problem with zooming caused by the new item-bar enhancements.
      - Remove gnumeric-sheet.h from a number of places that it had no reason to be.
      - Move all of the row/col pos/offset cache into GnumericSheet.  WARNING
        I do not populate all of it yet.
      
      2000-01-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
      	  the same place and recompute the alignments for everything.
      
      	* src/item-cursor.c (item_cursor_set_bounds) : New function.
      
      	* src/gnumeric-sheet.h : Add more orthogonal structure for caching
      	  common row/col bounds and their canvas offsets.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
      	(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
      	(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.
      
      	* src/clipboard.c (clipboard_release) : It is possible to have no
      	  styles associated with a region.
      
      	* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
      	  offsets.  Use the superset in GnumericSheet.
      	 (item_grid_find_{row, col}) : Support sliding backwards.
      03198e1d
    • Jukka-Pekka Iivonen's avatar
      Implemented the `>=' and `=' constraints. Solver should be quite usable · e692b098
      Jukka-Pekka Iivonen authored
      2000-01-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/solver-lp.c: Implemented the `>=' and `=' constraints.
        	Solver should be quite usable now for LP problems assumed to be
       	non-negative.
      
      	* src/dialogs/dialog-solver.c: Related changes.
      
      	* src/dialogs/advanced-filter.glade,
       	src/dialogs/dialog-advanced-filter.c: New files added.  Not done
       	yet.
      e692b098
    • Jukka-Pekka Iivonen's avatar
      Made workbook_is_dirty() public. · ddfafec8
      Jukka-Pekka Iivonen authored
      2000-01-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/workbook.[ch]: Made workbook_is_dirty() public.
      
      	* src/dialogs/dialog-autosave.c (dialog_autosave_callback): Added
       	checking whether the workbook is changed or not before saving it.
      ddfafec8
  11. 24 Jan, 2000 4 commits
    • Jon K Hellan's avatar
      Really commit the changes I entered into the ChangeLog yesterday. · 55ef8972
      Jon K Hellan authored
      2000-01-24 Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/autocorrect.glade: Really commit the changes I
      	entered into the ChangeLog yesterday.
      
      	* ChangeLog: I jumbled the order and attributions of some entries
      	yesterday. Fix.
      55ef8972
    • Jukka-Pekka Iivonen's avatar
      New file added. · 0cc5eddd
      Jukka-Pekka Iivonen authored
      2000-01-24  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/analysis-tools.glade, src/dialogs/Makefile.am: New
       	file added.
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_data_analysis): Made
       	the main dialog of the analysis tools to use the new Glade file.
      0cc5eddd
    • jpekka's avatar
      New file added. · 1a168352
      jpekka authored
      1a168352
    • Jukka-Pekka Iivonen's avatar
      New file for Solver options. · 73e70e15
      Jukka-Pekka Iivonen authored
      2000-01-24  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/solver-options.glade, src/dialogs/Makefile.am: New
       	file for Solver options.
      
      	* src/dialogs/dialog-solver.c: Updated for the new Glade file.
        	Removed some unimplemented options.  Made the Solver options
       	unsensitive.
      
      	* src/sheet.c (sheet_new): Added setting some default parameter
       	values for the Solver tool.
      73e70e15
  12. 23 Jan, 2000 1 commit
    • Jon K Hellan's avatar
      Give "Yes" button initial keyboard focus. · 6b04ed8c
      Jon K Hellan authored
      2000-01-23  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/autosave-prompt.glade: Give "Yes"
      	button initial keyboard focus.
      
      	* src/dialogs/autosave.glade: Set initial focus to
      	first check button. Make OK the default.
      
      	* src/dialogs/dialog-autocorrect.c (dialog_autocorrect): Make
      	<Ret> in entry fields invoke default.
      	(dialog_autocorrect, exceptions_callback):
      
      	* src/dialogs/autocorrect-exceptions.glade: Set initial focus to
      	text entry field. Make OK the default. Do not show column headers
      	in clist. Remove unnecessary level of scrollwindow.
      
      	* src/dialogs/autocorrect.glade: Make OK the default. Set initial
      	focus to first check button. Define accelerators. Set widgets for
      	"replace text when typed" insensitive until feature is
      	implemented. Do not show column headers in clist.
      
      	* src/dialogs/dialog-autosave.c (dialog_autosave): Make
      	<Ret> in "minutes" fields invoke default.
      6b04ed8c
  13. 21 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      s/gnome_dialog_run(dialog)/gnumeric_dialog_run (workbook, dialog)/g · 914cec6f
      Jody Goldberg authored
      Put a wrapper in place around dialog creation.  This will eventually handle the
      setting of the parent and closing the parent application while a dialog is up.
      
      2000-01-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-printer-setup.c (do_hf_config) : Take a Workbook.
      
      	* src/gnumeric-util.c (gnumeric_dialog_run) : New function.
      	  It is a wrapper for now.  After the release of .48 we will
      	  move the parent setting here.  And handle the case where a
      	  user closes the app window while a dialog is displayed.
      
      	* src/file.c (workbook_import) : Use gnumeric_dialog_run.
      
      	* src/dialogs/dialog-{dialog-zoom.c (dialog_zoom_impl)
      		    summary.c (dialog_summary_update)
      		    solver.c (dialog_solver)
      		    solver.c (constr_add_click)
      		    solver.c (dialog_solver_options)
      		    simple-input.c (dialog_get_number, dialog_get_sheet_name)
      		    printer.c (gnumeric_printer_dialog_run)
      		    paste-special.c (dialog_paste_special)
      		    insert-cells.c (dialog_insert_cells_impl)
      		    goto-cell.c (dialog_goto_cell)
      		    goal-seek.c (dialog_found_solution, dialog_goal_seek)
      		    function-wizard.c (dialog_function_wizard)
      		    delete-cells.c (dialog_delete_cells_impl)
      		    cell-sort.c (dialog_cell_sort)
      		    cell-format.c (fmt_dialog_impl)
      		    cell-comment.c (dialog_cell_comment)
      		    autosave.c (dialog_autosave_callback, dialog_autosave)
      		    autocorrect.c (exceptions_callback)
      		    (dialog_autocorrect)} : Ditto.
      
      	* src/dialogs/dialog-analysis-tools.c
      	(dialog_{correlation_tool, covariance_tool, sampling_tool,
      	 descriptive_stat_tool, ztest_tool, ttest_paired_tool, ttest_eq_tool,
      	 ttest_neq_tool, ftest_tool, random_tool, regression_tool,
      	 average_tool, ranking_tool, anova_single_factor_tool,
      	 anova_two_factor_without_r_tool, data_analysis}) : Ditto.
      
      	* src/workbook.c (workbook_can_close) : Ditto.
      	* src/item-cursor.c (item_cursor_target_region_ok) : Ditto.
      
      	* src/sheet.c (sheet_move_range) : Avoid leaking when we paste.
      	  This information will be used when undo for pasteing a cut
      	  is ready.
      
      	* README : update requirements.
      
      	* plugins/Makefile.am : Do not compile the python plugin by
      	  default.  This will avoid complaints regarding problems with
      	  no dynamic python library until we have a solution.
      
      	* src/functions/fn-stat.c : (gnumeric_kurt, gnumeric_kurtp) : return DIV/0
      	  on error.
      914cec6f
  14. 20 Jan, 2000 1 commit
  15. 19 Jan, 2000 2 commits
    • Jon K Hellan's avatar
      Remove autosave timer. · 4fc47b74
      Jon K Hellan authored
      2000-01-19  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook.c (workbook_do_destroy): Remove autosave timer.
      
      	* src/dialogs/dialog-zoom.c (dialog_zoom_impl): Set initial focus
      	to selected radio button.
      
      	* src/dialogs/font-sel.glade.h, src/dialogs/font-sel.glade: Fix
      	typo in preview text
      
      	* src/dialogs/dialog-printer-setup.c (do_setup_main_dialog):
      	Set Initial focus for print setup dialog.
      
      	* src/workbook.c (workbook_can_close): Yes/No dialog: Give cancel
      	button initial keyboard focus.
      4fc47b74
    • JP Rosevear's avatar
      Modularize a bit more for the sort dialog. Use GLADE_FILE macro. · ce29fe57
      JP Rosevear authored
      2000-01-19  JP Rosevear  <jpr@arcavia.com>
      
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Modularize a
      	bit more for the sort dialog.  Use GLADE_FILE macro.
      	(dialog_cell_sort_ok): New function connected to the sort
      	dialog ok button.  Builds the clause data and then calls cmd_sort.
      	(dialog_cell_sort_adv): Use GLADE_FILE macro.
      	(clip_range_to_finite): New function, reduces an infinite range to
      	an appropriate finite range.
      
      	* src/commands.c (cmd_sort): New function for new command
      	organization.
      	(cmd_sort_redo): ditto
      	(cmd_sort_undo): ditto
      	(cmd_sort_destroy): ditto
      
      	* src/sort.c (sort_compare_values): The former compare_values
      	function from dialog_cell_sort.c.
      	(sort_compare_values2): Does comparisons on original order
      	for undo.
      	(sort_qsort_func): The former qsort_func function from
      	dialog_cell_sort.c.
      	(sort_qsort_func2): Quicksort function for undo.
      	(sort_range): Performs the sort.  Much the same as the
      	sort_cell_range function that was in dialog_cell_sort.c.
      	Sorts the data of a CmdSort object, creating it if necessary.
      	Takes the quicksort function to call as an argument.
      
      	* src/sort.h : New header file
      
      	* src/ranges.h: Prototype range_name.
      
      	* src/ranges.c (range_name): New function that returns a
      	const char * to "A1:B5" type range name.
      ce29fe57
  16. 18 Jan, 2000 2 commits
    • Jukka-Pekka Iivonen's avatar
      Made the exceptions of first two letter correction actually work. · 26a328af
      Jukka-Pekka Iivonen authored
      2000-01-18  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/dialog-autocorrect.c: Made the exceptions of first
       	two letter correction actually work.
      
      	* src/dialogs/autocorrect-exceptions.glade: Changed a list to a
       	columned list.
      26a328af
    • Jon K Hellan's avatar
      Set invisible to remove flicker · e4faa34c
      Jon K Hellan authored
      2000-01-18  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/autocorrect.glade, src/dialogs/autosave.glade,
      	  src/dialogs/autosave-prompt.glade,
      	  src/dialogs/autocorrect-exceptions.glade: Set invisible to
      	  remove flicker
      
      	* src/plugin-manager.c (plugin_manager_new): Give list initial
      	keyboard focus, make "add" button default.
      	(remove_cb): Select next row in list after remove
      	(plugin_manager_new): Internationalize texts.
      
      	* src/dialogs/dialog-cell-sort.c (order_box_set_default): Set
      	initial keyboard focus.
      	(dialog_cell_sort): Use gnome_dialog_close_hides to ensure dialog
      	is destroyed exactly once.
      	(dialog_cell_sort_adv): Ensure dialog is destroyed exactly once.
      	* src/dialogs/cell-sort.glade: Set initial focus for advanced sort
      	dialog.
      e4faa34c
  17. 15 Jan, 2000 1 commit
  18. 14 Jan, 2000 2 commits
    • Jody Goldberg's avatar
      - Bug fix for SUMIF - Support (but no UI) for hiding grid lines - Suppress · 4a550121
      Jody Goldberg authored
      - Bug fix for SUMIF
      - Support (but no UI) for hiding grid lines
      - Suppress some warnings in the autocorrect tool.
      
      2000-01-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-autocorrect.c (autocorrect_tool) : Suppress
      	  warnings.
      
      	* src/commands.h : Do not declare autocorrect_tool here.
      
      	* src/item-grid.c (item_grid_draw) : Add support for hiding the
      	  grid_lines.
      	* src/sheet.c (sheet_new) : Init show_grid.
      
      	* src/functions/fn-math.c (gnumeric_sumif) : Do not ignore empty cells
      	  if there is a result range that we need to stay in sync with.  Fix
      	  handling of inter-sheet references.
      4a550121
    • Jukka-Pekka Iivonen's avatar
      New tool added. Most things should work but not all have been completed. · 9639111b
      Jukka-Pekka Iivonen authored
      2000-01-14  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-autocorrect.c, src/autocorrect.glade,
       	src/autocorrect-exceptions.glade: New tool added.  Most things
       	should work but not all have been completed.
      
      	* workbook.c: Created `Data' menu and moved `Sort' into it.
        	Added `AutoCorrect' tool.
      9639111b
  19. 13 Jan, 2000 2 commits
    • Jukka-Pekka Iivonen's avatar
      Killed warnings. · daa982c4
      Jukka-Pekka Iivonen authored
      2000-01-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/workbook.c, src/dialogs/dialog-autosave.c: Killed warnings.
      daa982c4
    • Jukka-Pekka Iivonen's avatar
      Implemented ``Auto Save'' tool. · c6cea719
      Jukka-Pekka Iivonen authored
      2000-01-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/dialog-autosave.c: Implemented ``Auto Save'' tool.
      
      	* src/dialogs/autosave.glade: New file.
      
      	* src/dialogs/autosave-prompt.glade: New file.
      
      	* src/workbook.c: Added Autosave tool.
      
      	* src/workbook.h: Added autosave paramters to the Workbook struct.
      
      	* src/dialog-solver: Fixed a constraint delete bug.
      c6cea719
  20. 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
  21. 08 Jan, 2000 1 commit
  22. 05 Jan, 2000 1 commit
    • 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
  23. 03 Jan, 2000 1 commit
  24. 30 Dec, 1999 2 commits
    • 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