2002-03-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (command_undo_sheet_delete) new utility function (for 
	  CMD_ANALYSIS_TOOL_TYPE and CMD_SHEET_REORGANIZE_TYPE)
	(CMD_ANALYSIS_TOOL) : undo/redo command for data analysis tools.
	* src/commands.h (cmd_analysis_tool) : new

2002-03-10  Jody Goldberg <jody@gnome.org>

	* Release 1.1.1

2002-03-10  Jody Goldberg <jody@gnome.org>

	* src/tools/solver/reports.c : warning suppression
	* src/tools/solver/solver.c (lp_solver_init) : ditto.

	* configure.in : bump gal version req.

2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gnm-marshalers.list : add NONE:STRING

2002-03-10  Jon K Hellan  <hellan@acm.org>

	* src/func.c (copy_hash_table_to_ptr_array): Check if function is
	FUNCTION_NAMEONLY here.
	(function_dump_defs): So that we can use the earlier version of this.

2002-03-09  Jon K Hellan  <hellan@acm.org>

	Dump function definitions from plugins, this time the easy way
	which even works.
	
	* src/func.c (copy_hash_table_to_ptr_array): Copy also when fd->help
	is NULL.
	(function_dump_defs): Load function definition before dumping name
	only function.

	* src/main.c (main): Drop force load argument to plugins_init.

	* src/plugin.[ch] (activate_plugin, plugin_db_activate_plugin_list,
	plugin_db_activate_saved_active_plugins, plugins_init): Revert to
	pre 2002-03-08 version. We apologize for the inconvenience. 
	However, error reporting by means of gnumeric_error_error_info
	remains.
	
	* src/plugin-service.[ch]
	(plugin_service_function_group_initialize): Revert to pre
	2002-03-08 version.
	(plugin_service_activate): Ditto. Except that we don't reinstate
	#ifdef PLUGIN_ALWAYS_LOAD. That branch is hopelessly bitrotted.
	
	* src/plugin.h: Drop #undef PLUGIN_ALWAYS_LOAD. 

2002-03-09  Jody Goldberg <jody@gnome.org>

	* src/func.c (func_def_load) : rename from function_def_get_full_info_if_needed
	  and remove the condition.

	* src/eval.c (link_expr_dep) : Call func_def_load if necessary to
	  check for a link function.

2002-03-09  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>

	* samples/solver/blend.mps: Added another Netlib demo.  The
	results seem to be correct now, so we are finally getting close..

2002-03-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_editline_focus_in) : if editing fails
	restore focus to the sheet.

	* src/workbook-edit.c (wbcg_edit_start) : fix typo and swapping of the
	  warnings.

2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* workbook-control-gui.c : change menu items "Re-order sheets"
	  to "Manage Sheets" and enable these items even for single sheet 
	  workbooks.
	* commands.h : add deleted_sheets argument to cmd_reorganize_sheets
	* commands.c : ditto
	
2002-03-08  Jody Goldberg <jody@gnome.org>

	* src/GNOME_Gnumeric.xml : switch Format->Workbook with
	  Format->AutoFormat
	* src/workbook-control-gui.c (workbook_menu_format) : ditto.

	* src/workbook-view.c (wb_view_is_protected) : new.

	* src/workbook-edit.c (wbcg_edit_start) : load style directly
	  don't use cell_get_style.  This enables support for protection of
	  blank cells.  Use wb_view_is_protected, and command_context_invalid.

2002-03-08  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet): don't put us in
	  edit mode if wbcg_edit_start indicates the cell is locked.
	* src/workbook-control-gui.c (cb_autosum, cb_autofunction): handle
	  case where wbcg_edit_start returns FALSE indicating that cell is
	  locked.
	* src/workbook-edit.c (wbcg_edit_start): this function now returns a
	   boolean which indicates whether the 'edit_start' attempt succeeded.
	   Check cell properties to return FALSE if the cell is locked.
	* src/workbook-edit.h (wbcg_edit_start): modify the prototype as per above.
	* src/workbook-view.c (wb_view_set_attribute, workbook_view_init):
	  Remove ARG_VIEW_* enumeration, which isn't used after Gnome2 port.
	  Add WorkbookView::is_protected attribute, and initialize it to
	  FALSE.  The update to wb_view_set_attribute is enough to get
	  xml_sax import working properly (yay, modular code!).
	* src/workbook-view.h: add 'is_protected' field to WorkbookView struct.
	  This is TRUE iff the workbook is locked.
	* src/xml-io.c (xml_write_wbv_attributes):
	  Write the new 'protected' workbook view attribute.  Two lines are
	  enough to get read/write from xml_io working.  Score one for
	  xml_sax: zero should have been sufficient.
	* src/dialogs/cell-format.glade: The 'worksheet protected' checkbox
	  shouldn't be greyed-out anymore.
	* src/dialogs/dialog-cell-format.c (cb_protection_sheet_protected_toggle,
	fmt_dialog_init_protection_page, cb_fmt_dialog_dialog_buttons):
	  connect up the 'worksheet protected' button in the
	  Format->Cells->Protection dialog.  Update worksheet object when
	  toggled and mark that the dialog's changed.
	* src/dialogs/dialog-workbook-attr.c src/dialogs/workbook-attr.glade:
	  Add Format->Worksheet->Protection dialog.

2002-03-08  Jon K Hellan  <hellan@acm.org>

	* src/command-context-stderr.c (ccs_class_init): Make gmorten happy.

	* src/command-context.h (COMMAND_CONTEXT): Fix typo.

	* src/command-context-stderr.c
	(command_context_stderr_get_status): Fix typo.

	* src/command-context-stderr.[ch]: Add.

	* src/Makefile.am: Add command-context-stderr.[ch]

	* src/main.c (main): Force load plugins before dumping function
	definitions.

	* src/plugin.[ch] (activate_plugin, plugin_db_activate_plugin_list,
	plugin_db_activate_saved_active_plugins, plugins_init): Add
	force_load parameter.
	(plugins_init): Use virtual function gnumeric_error_error_info to
	report error.

	* src/plugin-service.[ch]
	(plugin_service_function_group_initialize): Add force_load
	parameter. Get function info if force loaded.
	(plugin_service_activate): Propagate force_load parameter.
	
	* src/gnumeric.h: Declare CommandContextStderr.

	* src/func.[ch] (function_def_get_full_info_if_needed): Make
	public so that it's available when force-loading plugins.

	* src/error-info.c (error_info_print_with_offset): Print to stderr
	instead of stdout.

2002-03-08  Morten Welinder  <terra@diku.dk>

	* src/validation.c (validation_eval): Minor cleanup.
	* src/value.c (value_peek_string): Be smarter about errors.

2002-03-08  Jakub Steiner <jimmac@ximian.com>

	* src/pixmaps/Makefile.am:
	* src/pixmaps/format_money_24.png:
	* src/pixmaps/format_percent_24.png:
	* src/pixmaps/object_list_24.png:
	* src/pixmaps/object_combo_24.png: fix the filenames

2002-03-08  Jakub Steiner <jimmac@ximian.com>

	* icons/down-right.png, icons/right-down.png: pretty gnome2 icons
	* src/pixmaps/percent.png: 
	* src/pixmaps/money.png: 
	* src/pixmaps/list.png: 
	* src/pixmaps/combo.png, src/pixmaps/Makefile.am: replace xpm
	  with a PNG (removed combo.xpm)

2002-03-08  Jody Goldberg <jody@gnome.org>

	* configure.in : add sample_datasource

	* src/validation.c (validation_eval) : cleanup handling of 'int'
	and fix handling of between.

2002-03-08  Jody Goldberg <jody@gnome.org>

	* src/eval.h : Add DEPENDENT_ALWAYS_UNLINK.
	  and the as yet unused DEPENDENT_HAS_3D.

	* src/io-context.c (gnm_io_warning) : new stub.
	(gnm_io_warning_unknown_font) : ditto.
	(gnm_io_warning_unknown_function) : ditto.
	(gnm_io_warning_unsupported_feature) : ditto.

	* src/func.c (function_def_get_full_info_if_needed) :  add
	  link/unlink.

	* src/plugin-service.c
	(plugin_service_function_group_get_full_info_callback) : add
	  link/unlink.  This is a terrible interface.  Why not just make the
	  thing into the FunctionDescriptor.
	* src/plugin-loader-module.c
	(gnumeric_plugin_loader_module_func_get_full_function_info) : ditto.

2002-03-08  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_write_print_info) : handle missing paper so that
	  we can save again.

	* templates/autoformat/autoformat.3D.button.xml : fix.

	* plugins/Makefile.am (SUBDIRS) : add sample_datasource.

2002-03-07  Jody Goldberg <jody@gnome.org>

	* src/plugin-loader-module.h (ModulePluginFunctionInfo) : add
	  'link' and 'unlink'.

2002-03-07  Jody Goldberg <jody@gnome.org>

	* src/position.c (eval_pos_init*) : handle the optional dependent.

	* src/eval.c (link_expr_dep) : support the adjustment to EvalPos.
	(unlink_expr_dep) : support the adjustment to EvalPos.

	* *.c : directly include gnome-i18n.h, value.h and expr.h
	  where necessary now that they are no longer included.
	* src/func.h : here.

	* src/position.h (EvalPos) : Pass in an optional Dependent.

	* src/expr.h (FunctionEvalInfo) : remove the func_def.  Send in the
	  ExprFunc wrapper instead.  That contains the func-def if desired.

	* src/func.c (function_set_link_handlers) : differentiate signatures
	  for link & unlink.

2002-03-07  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>

	* src/analysis-tools.[ch]: Moved into src/tools.
	src/auto-correct.[ch]: Ditto.
	src/goal-seek.[ch]: Ditto.

	* src/solver.h (SolverResults): Added a few more fields to improve
	reporting.

2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* workbook.c (workbook_sheet_reorganize) : implement adding of
	  multiple sheets

2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/sheet.c (sheet_new) : initialize sheet->index_in_wb
	* src/sheet.h : new field sheet::index_in_wb
	* src/workbook-control-gui.c (wbcg_sheet_add) : replace 
	  workbook_sheet_index_get with sheet->index_in_wb
	* src/workbook-view.c (wb_view_sheet_focus) : ditto
	* src/workbook.c (workbook_sheet_index_get) : deleted
	(workbook_sheet_index_update) : new
	(workbook_sheet_attach) : replace workbook_sheet_index_get 
	  with sheet->index_in_wb, call workbook_sheet_index_update
	(workbook_sheet_detach) : ditto
	(workbook_sheet_move) : ditto
	(workbook_sheet_reorganize) : ditto
	
2002-03-06  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>

	* src/tools: New directory created for tools.

	* src/tools/solver: Moved src/solver-lp.c into here and split it
	into two files: src/tools/solver/solver.c and
	src/tools/solver/reports.c.  A _major_ rewrite.

	* src/tools/solver/lp_solve: Integrated key parts of an LGPLed
	linear programming toolkit called LP Solve 3.2.  (The whole
	package can be found from ftp://ftp.ics.ele.tue.nl/pub/lp_solve).
	Major clean up for making it to look like GNOME code.  LP Solve is
	written by Michel Berkelaar and others.  Thanks for the great
	work!
	
	* configure.in: Added src/tools/Makefile, src/tools/solver/Makefile,
	and src/tools/solver/lp_solve/Makefile.

	* src/Makefile.am: Added tools subdirectory.

	* src/mathfunc.[ch]: Removed all solver related functions.

	* src/solver.h, src/sheet.c: solver_lp_new renamed as
	solver_param_new.  solver_lp_destroy renamed as
	solver_param_destroy.

	* src/xml-io.c: Solver related changes.

	* samples/solver/production-plan.gnumeric: A Solver sample file.
	
2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_error_info_dialog_show) : remove
	  forced placement by mouse
	(gnumeric_set_transient) : remove unused code, set dialog
	  placement to GTK_WIN_POS_CENTER_ON_PARENT

2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/eval.c (link_expr_dep) : fix typo

2002-03-06  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (delete_pristine_sheets) : new
	(cmd_reorganize_sheets_undo) : delete new sheets, change calling
	  sequence of workbook_sheet_reorganize
	(cmd_reorganize_sheets_redo) : change calling
	  sequence of workbook_sheet_reorganize
	(cmd_reorganize_sheets_finalize) : clear new_sheets
	(cmd_reorganize_sheets) : handle adding of sheets, streamline 
	  selection of cmd descriptor
	* src/workbook-control-gui.c (cb_insert_sheet) : use 
	  cmd_reorganize_sheets
	* src/workbook.c (workbook_sheet_reorganize) : handle adding of sheets
	* src/workbook.h (workbook_sheet_reorganize) : add argument

2002-03-05  Jody Goldberg <jody@gnome.org>

	* src/eval.c (link_single_dep) : flag inter-{sheet,book} references.
	(link_cellrange_dep) : ditto.
	(link_expr_dep) : collect the flags.
	(dependent_link) : and assign them here.
	(dependent_unlink_sheet) : delete and merge into.
	(do_deps_destroy) : here.  And use the new inter-{sheet,book} flags to
	  avoid removing internal links.

	* src/sheet.c (sheet_destroy_contents) : depends are now handled
	  outside this routine add a precondition.

	* src/main.c : delete style_debugging.

	* src/clipboard.c (clipboard_copy_range) : suppress warning.

2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (workbook_close_if_user_permits) :
	  use gtk_message_dialog_new/gnumeric_dialog_run

2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/sheet-control-gui.c (scg_comment_display) : put
	  a frame around the pop-up

2002-03-05  Morten Welinder  <terra@diku.dk>

	* src/expr.c (expr_eval_real): Improve precision of %.

2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/sheet-control-gui.c (scg_comment_display) : use 
	  textview widget

2002-03-05  Morten Welinder  <terra@diku.dk>

	* src/workbook-edit.c (auto_complete_matches): Plug leak.

	* src/gutils.c (erfgnum, erfcgnum, yngnum): Ground work for later.

	* src/mathfunc.c (gpow10): Fix precision for large negative
	exponents.
	(gpow2): Fix for negative exponents.

2002-03-05  Jody Goldberg <jody@gnome.org>

	* src/eval.c : split add/drop into distinct functions and use
	  link/unlink consistently.

2002-03-05  Morten Welinder  <terra@diku.dk>

	* src/validation.c (validation_eval): Make int-check saner.
	Fix translated string.

	* src/analysis-tools.c (fourier_fft_inv, fourier_fft): Improve
	precision.

	* src/mathfunc.h (M_LN2gnum, M_LN10gnum, M_PIgnum, M_PI_2gnum,
	M_LN2gnum, M_LN10gnum, M_SQRT2gnum): Provide high-precision
	constants.

2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/clipboard.c (clipboard_paste_region) : preserve comments
	  when pasting content
	* src/clipboard.h : exclude comments from PASTE_DEFAULT
	* src/sheet-control-gui.c : Add `Add/modify comments' item to
	  cell context menu
	* src/sheet.h : CLEAR_COMMENTS and CLEAR_MERGES should be distinct.
	* src/workbook-control-gui.c : correct spelling

2002-03-05  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_cell_remove_from_hash) : only unlink if it is
	  linked.
	(sheet_cell_destroy) : simplify slightly.
	(cb_remove_allcells) : just destroy them, no need to remove from hash.
	(sheet_destroy_contents) : ditto.

	* src/eval.c (UNLINK_DEP) : delete.
	(dependent_unlink) : simplify.
	(dependent_unlink_sheet) : clean up and don't bother to unlink from
	  deps list.

	* src/cell.c : s/CELL_BEING_ITERATED/DEPENDENT_BEING_ITERATED/

2002-03-04  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/clipboard.c (clipboard_copy_range, clipboard_prepend_cell
	  clipboard_prepend_comment) : check existing cells and all
	  comments.
	* sheet-object-cell-comment.c (cell_comment_event) : handle
	  double click by opening dialog (slightly modified patch by
	  Wayne Schuster)

2002-03-04  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/clipboard.h : PASTE_ALL_TYPES should include comments

2002-03-04  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/clipboard.c (paste_cell) : paste comment
	(clipboard_prepend_cell) : store comment info
	(clipboard_copy_range) : check all cells
	* src/clipboard.h : add comment field to CellCopy
	* src/commands.c (cmd_clear_undo) : handle comments
	(cmd_clear_selection) : ditto
	
2002-03-04  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* commands.h (cmd_set_comment) : new
	* commands.c (cmd_set_comment_apply, set_comment_undo, 
	  cmd_set_comment_redo, cmd_set_comment_finalize, cmd_set_comment) :
	  new

2002-03-04  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (dexp): Add give_log arg and use R's version.
	All callers changed.

	* src/analysis-tools.c (destroy_data_set_list): Plug leak.

2002-03-04  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_cell_insert) : make it clear that this routine
	  does not link the expression or register the dependencies.
	(sheet_cell_remove_from_hash) : document state changes and use
	  dependend_unlink.
	(cb_remove_allcells) : cell_destroy will unlink.
	(cb_collect_cell) : be clear that the results are unlinked.
	(colrow_move) : some docs.
	(sheet_move_range) : simplify now that the collected cells are
	  unlinked rather than just having their depends dropped.

	* src/eval.c (cell_add_dependencies) : delete.
	(cell_drop_dependencies) : delete.

	* src/style.c (style_font_new_simple) : If we can't find a font check
	  a map to see if we know of something similar.
	(get_substitute_font) : moved here from the XL importer.

2002-03-03  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_rename_sheet,...) : now a wrapper around 
	  cmd_reorganize_sheets.
	(cmd_reorganize_sheets_apply) : moved into workbook.c as
	  workbook_sheet_reorganize
	(cmd_reorganize_sheets,...) : implement sheet renaming
	* src/commands.h : add an argument to cmd_rename_sheet
	* src/workbook-control-gui.c (cb_sheet_label_changed) : 
	  change invocation of cmd_rename_sheet
	* src/workbook.c (workbook_sheet_rename) replaced by
	  workbook_sheet_reorganize
	* src/workbook.h: ditto

2002-03-02  Jody Goldberg <jody@gnome.org>

	* src/eval.c (handle_tree_deps) : Use hooks for per dependent
	  link/unlink for each function.

2002-03-02  Jody Goldberg <jody@gnome.org>

	* src/global-gnome-font.c : Use string chunk.

	* src/sheet-object-cell-comment.c :  This is a GObject now.
	(comment_get_points) : fix x offset.

2002-03-01  Morten Welinder  <terra@diku.dk>

	* src/workbook-control-gui.c: Add dots to "Sort" entry.

	* src/complex.h (complex_scale_real): New function.

	* src/analysis-tools.c (fourier_fft, fourier_fft_inv): Clean using
	existing complex math routines.

2002-03-01  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_reorganize_sheets_finalize) : fix typo

2002-03-01  Morten Welinder  <terra@diku.dk>

	* src/commands.c (cmd_reorganize_free_names): Remove.
	(cmd_reorganize_sheets_finalize): Simplify.

	* src/analysis-tools.c (regression_tool): Fix P values.

	* src/regression.c (general_linear_regression): Fix ->var in the
	trivial n==xdim case.

2002-02-29  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* commands.h (cmd_reorganize_sheets) : new
	* commands.c : implement cmd_reorganize_sheets

2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (wbcg_validation_msg) : delete
	  dialog and fix sense of test

2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.[hc] (entry_to_float_with_format_default) : new

2002-02-28  Morten Welinder  <terra@diku.dk>

	* src/regression.c (linear_solve): Move rescaling from here...
	(LUPDecomp): ...to here so we save a copy.
	(general_linear_regression): Allocate the permutation matrix with
	the proper size.  (The old size was too big, so no-one really got
	hurt.)

	* src/rangefunc.c (range_minabs, range_maxabs): New functions.

	* src/regression.c (rescale): Don't include "b" in determining the
	scale.  Use range_maxabs.

2002-02-28  Morten Welinder  <terra@diku.dk>

	* src/regression.c (general_linear_regression): If the inverse has
	negative elements in the diagonal, assume near singularity.
	(linear_solve): Rescale matrix and target.  Rip out the error
	correction attempt.
	(rescale): New function.
	(LUPDecomp, backsolve): Remove col/row confusion.

2002-02-28  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (workbook_control_gui_init) : fix
	  reordering of ins col/row in non-bonobo case.

2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (delete_sheet_if_possible) : 
	  use gnumeric_dialog_question_yes_no 
	
2002-02-28  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_set_expr) : always relink.

	* src/eval.c (handle_tree_deps) : ignore inactive names.

2002-02-27  Jody Goldberg <jody@gnome.org>

	* src/global-gnome-font.c (global_gnome_font_init) : fix leak.

	* src/style.c (style_font_new_simple) : fix leak.

2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.h (entry_to_float_with_format) : new
	* src/gui-util.c (entry_to_float_with_format) : add format to 
	  entry_to_float
	(entry_to_float) : wrapper around entry_to_float_with_format
	
2002-02-27  Morten Welinder  <terra@diku.dk>

	* src/analysis-tools.c: Use new lower-tail flag for R's q*
 	routines.
	(new_data_set): Plug leak.

2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/value.c (value_get_as_string) : case VALUE_CELLRANGE can be
	  for absolute and A1-rel references. Use global_range_name.

2002-02-27  Morten Welinder  <terra@diku.dk>

	* src/analysis-tools.c (ztest_tool): Fix problem from R upgrade.
	(regression_tool): Simplify.

	* src/regression.c (linear_solve): Attempt error correction in the
 	near-singular case.
	(linear_regression, exponential_regression): Change return type to
 	an enum.  All callers changed.
	(LUPDecomp): Attempt to detect near-singularity.

2002-02-26  Morten Welinder  <terra@diku.dk>

	* src/regression.c (linear_regression, exponential_regression):
	Add safety check.

	* plugins/*/*.xml.in: just use the .la file for module_file.

	* plugins/*/Makefile.am: don't hack the .xml file any more.

	* src/mathfunc.c: Make various helper functions static.

	* src/format-template.h: prototype the template member functions.

2002-02-26  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_read_cell) : xmlNodeGetContent always returns a
	  value now.  That simplifies comments and complicates content.
	(xml_cellregion_read) : ditto.

2002-02-25  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_progress_message_set) : port to
	  gnome2.

	* src/print-cell.c (print_show_iso8859_1) : delete.

	* src/gui-file.c (gui_file_open) : someportability tweaks.

	* icons/Makefile.am : move the icons here.

	* src/history.c (history_menu_item_create) : constness.
	* src/formats.c (currency_date_format_init) : constness.
	* src/solver.h : some constness.
	* src/workbook-control-gui.c (cb_select_auto_expr) : constness.
	(workbook_control_gui_init) : some fixes for the bonobo build.

2002-02-25  Morten Welinder  <terra@diku.dk>

	* src/format-template.h: prototype the template member functions.

	* src/mathfunc.c: Switch to R-1.4.0 sources.  Deal with signature
	changes everywhere.

2002-02-25  Morten Welinder  <terra@diku.dk>

	* configure.in: Test if we must prototype strtold.  Test for
	log1pl.

2002-02-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/sheet-object-widget.c (cb_scrollbar_set_focus) : remove code
	  now held in wbcg_edit_attach_guru
	(cb_checkbox_set_focus) : ditto
	(sheet_widget_scrollbar_user_config) : rearrange signal callbacks
	(sheet_widget_checkbox_user_config) : ditto
	
2002-02-25  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (xml_cellregion_write) : specify the encoding, and
	  enable formatting.
	(gnumeric_xml_write_workbook) : ditto.

2002-02-25  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (random_01): Reduce the number of system calls
	and get more precision for the general gnum_float case.

	* src/mathfunc.c (random_*): use gnum_float, not double.  (Since
	many underlying functions are still double-based, not all these
	will have precision beyond double.)

	* src/solver-lp.c: Constify.  Plug a few leaks.

	* src/sheet.h (struct _Sheet): Make solver_parameters a pointer.
	Deal with this everywhere.

2002-02-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : delete tool_set_focus
	* src/workbook-edit.c (guru_set_focus) : new, formerly tool_set_focus
	  in src/dialogs/dialog-analysis-tools.c
	(wbcg_edit_attach_guru) : attach guru_set_focus to set_focus widget

2002-02-25  Morten Welinder  <terra@diku.dk>

	* configure.in (atan2l, sinhl, coshl, tanhl, asinhl, acoshl,
	atanhl, erfl, erfcl, ynl, isnanl, finitel, hypotl): Add checks for these.
	* src/numbers.h: supply right version of above.  Use everywhere.

2002-02-25  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-image.h: Declare typedef ObjectImage.

	* src/sheet-object-image.c (struct _SheetObjectImage): Add
	cropping parameters.
	(sheet_object_image_new): Initialize cropping parameters.
	(sheet_object_image_set_crop): New function. Set cropping
	parameters.
	(soi_get_cropped_pixbuf): New function. Get the cropped image from
	pixbuf.
	(soi_get_pixbuf): Do cropping by calling soi_get_cropped_pixbuf.
	(sheet_object_image_init): Initialize cropping parameters.

2002-02-24  Almer S. Tigelaar  <almer@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=72416
	http://bugzilla.gnome.org/show_bug.cgi?id=71783
	* src/stf-export.c (stf_export_cell):
	Honor the 'never' quote setting and fix a subtle
	bug that caused the quoting character always be	"

2002-02-22  Morten Welinder  <terra@diku.dk>

	* src/numbers.h (floorgnum, ceilgnum, powgnum, expgnum, loggnum,
	log10gnum, singnum, cosgnum, tangnum, asingnum, acosgnum,
	atangnum): Supply these.  Use everywhere.

	* configure.in: Check for the above.

2002-02-22  Morten Welinder  <terra@diku.dk>

	* configure.in: Check for ldexpl and frexpl.

	* src/mathfunc.c (gpow2): New function.
	(gnumeric_add_epsilon, gnumeric_sub_epsilon, gnumeric_fake_floor,
	gnumeric_fake_ceil, gnumeric_fake_round, gnumeric_fake_trunc):
	Make these gnum_float typed.

	* src/numbers.h (frexpgnum, ldexpgnum): New stuff.

2002-02-21  Morten Welinder  <terra@diku.dk>

	* src/numbers.h: Define prototypes for strtognum, modfgnum, and
	gnumabs here when needed.

	* src/workbook-control-gui.c (wbcg_validation_msg): Constify.

	* src/cell.c (cell_is_zero): Use gnum_float.

	* src/regression.c (LUPDecomp): Use gnumabs.
	* src/solver-lp.c (solver_answer_report): Ditto.
	* src/value.c (value_diff): Ditto.
	* src/goal-seek.c: Ditto.
	* src/rangefunc.c (range_avedev): Ditto.

	* src/validation.c (validation_eval): Use gnum_float, modfgnum,
	and gnumabs.

	* src/numbers.h (GNUM_MANT_DIG, GNUM_MAX_EXP, gnumabs): New stuff.

2002-02-21  Morten Welinder <terra@diku.dk>

	* src/solver-lp.c (callback): Fix formats.

	* src/plugin-loader-module.h (ModulePluginFunctionInfo): Constify.
	* src/plugin-loader-module.c (gnumeric_plugin_loader_module_func_get_full_function_info): Constify.
	* src/func.c (function_def_get_full_info_if_needed): Constify.

2002-02-20  Jody Goldberg <jody@gnome.org>

	* src/workbook.h : some house cleaning.

	* src/workbook.c (workbook_is_pristine) : remove stuf for
	  external_dependents.  No use having fogotten stubs hanging around.

	* src/workbook-control-gui.c (cb_insert_component) : look for
	  ControlFactories.
	(cb_insert_shaped_component) : look for CanvasComponentFactories.

	* src/commands.h : remove include for gtkobject.

	* idl/GNOME_Gnumeric_Graph.idl : We a ControlFactory now, not an
	  Embeddable.

2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (display): Fix format.
	* src/analysis-tools.c (confidence_level): Ditto.
	(regression_tool): Ditto.
	* src/format.c (fmt_general_int): Ditto.

	* configure.in (set_mode_warnings): Add -Wformat also.

2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/func.c (fn_def_new, function_add_args, function_add_nodes):
 	Constify.

2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/parser.y (yyerror): Constify.

	* src/xml-io.c (xml_node_set_print_unit): Constify.
	(xml_read_print_repeat_range): Constify.

	* src/summary.c (summary_item_name): Constify.

	* src/print-info.c (predefined_formats, render_ops): Constify.

2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/expr-name.c (builtins): Constify.

	* src/complex.c (complex_to_string): Constify.

	* src/commands.c (cmd_set_text): Constify.
	(cmd_area_set_text): Constify.

	* src/mstyle.c (mstyle_to_string): Missing g_strdup added for
 	sanity check, just in case.
	* src/summary.c (summary_item_as_text): Ditto.
	* src/value.c (value_get_as_string): Ditto.

	* configure.in (CFLAGS): Add -Wwrite-strings, if possible.

	* src/gui-util.c (gnumeric_dialog_raise_if_exists): Constify.

2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c (regression_tool) : use only values
	  from extra_stat (renamed to regression_stat)
	* src/regression.c (general_linear_regression) : calculate more 
	  regression_stat
	(regression_stat_new) : new
	(regression_stat_destroy) : new
	* src/regression.h : add fields to regression_stat_t and add 
	  declarations of regression_stat_new and regression_stat_destroy

2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/format.c (format_value): Missing g_strdup added for sanity
 	check, just in case.

	* src/datetime.c (coup_cd): Cleanup using
 	g_date_get_days_in_month.

2002-02-19  Morten Welinder  <terra@diku.dk>

	* src/numbers.h (modfgnum, strtgnum, GNUM_FORMAT_[eEfg],
 	GNUM_DIG): New stuff.

  	* .../*.[cy]: All relevant strtod changed to strtognum; modf to
 	modfgnum; DBL_DIG to GNUM_DIG; formats changed to use
 	GNUM_FORMAT_...

	* src/gutils.c (strtognum): If needed, define a version here.

	* src/complex.c (complex_to_string): Use right format for
 	imaginary part.

	* configure.in: Add support for --with-long-double.

	* acconfig.h: Add WITH_LONG_DOUBLE.

2002-02-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=69362
	* src/auto-correct.c (autocorrect_tool) : only upper case things if
	  they are at the start of a word.

2002-02-19  Morten Welinder  <terra@diku.dk>

	* src/format.c: Use gnum_float instead of double.

	* src/mathfunc.c (random_01): Use /dev/urandom when available.

	* src/sheet-autofill.c (autofill_cell): Use gnum_float instead of
	double.
	* src/expr.c (expr_eval_real): Ditto.
	* src/datetime.c (datetime_timet_to_serial_raw): Ditto.

	* src/format.c (format_compile): Fix isdigit usage.

	* src/value.c (value_diff): Return a gnum_float, not a double.

2002-02-19  Jody Goldberg <jody@gnome.org>

	* src/global-gnome-font.c (global_gnome_font_init) : get font list
	  from pango.
	(global_gnome_font_shutdown) : and free it here.

2002-02-18  Jody Goldberg <jody@gnome.org>

	* configure.in  : post release bump.

2002-02-18  Jody Goldberg <jody@gnome.org>

	* Release 1.1.0

2002-02-18  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_scroll_wheel_support) : fix
	  scrollwheel support.
	(workbook_control_gui_init) : use the new 'scroll-event' handler.

2002-02-17  Jody Goldberg <jody@gnome.org>

	* plugins/excel/ms-escher.c (ms_escher_read_OPT) : add support for
	  blip cropping.

2002-02-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.c (soi_get_pixbuf) : move things here.
	(sheet_object_image_new_view) : and use it here.
	(sheet_object_image_print) : and here.

2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.{ch} : new.

	* src/sheet-object.c (sheet_object_new_view) : use a weak_ref.

	* src/sheet-control-gui.c (scg_object_register) : more safety
	  and use a weak_ref.

	* src/sheet-object-graphic.c : More GObject-ification.

2002-02-15  Morten Welinder  <terra@diku.dk>

	* src/regression.c (LUPDecomp): Use fabs, not abs.
	* src/validation.c (validation_eval): Ditto.

2002-02-15  Morten Welinder  <terra@diku.dk>

	* src/regression.c (general_linear_regression): Cleanup using
	range functions.

2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
	  g_signal-ification.  g_signal_handlers_disconnect_by_func just hides
	  the problem.  The real issue is that we are disconnecting twice.

	* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.

2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
	  canvas bug is fixed.

	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
	(cb_vscrollbar_adjust_bounds) : new.

	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
	(gnumeric_init_help_button) : new.

	* src/gnumeric-canvas.h : Move declaration of
	  GnumericCanvasSlideHandler here.

	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
	  not the GnumericExprEntry wrapper.
	(gnm_canvas_key_mode_sheet) : ditto.

	* src/formats.c (cell_format_classify) : handle general.

	* src/file-priv.h : Inherit from GObject.

	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
	  here to avoid potential reference problems.

	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
	(cmd_autoformat) : const.

	* src/cell.c (cell_relocate) : const.
	* src/clipboard.c (paste_cell_with_operation) : const.
	(paste_cell) : ditto.

	* src/application.c (application_init) : add jimmac's expr-entry icon.

	* src/Makefile.am : distribute the marshaller.list

	s/GtkType/GType/
	s/GtkSignalFunc/GCallback/
	s/gtk_signal_connect/g_signal_connect/  + reformating.
	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/

2002-02-11  Jody Goldberg <jody@gnome.org>

	* src/stf.c (stf_init) : Make the names of the text import/export
	  clearer.

2002-02-12  Morten Welinder  <terra@diku.dk>

	* src/io-context.c (value_io_progress_update): Correct assertion.

	* src/io-context.c (file_io_progress_update,
	memory_io_progress_update, value_io_progress_update,
	count_io_progress_update, workbook_io_progress_update): Use test,
	not assignment.

	* src/stf-parse.c (trim_spaces_inplace): Fix isspace usage.
	(stf_parse_is_valid_data): Ditto.
	* src/sheet.c (sheet_name_quote): Ditto.

2002-02-11  Jon K Hellan  <hellan@acm.org>

	Support per-sheet grid color. Needed for correct XL import.

	* src/style-color.[ch] (color_equal): Rename to style_color_equal
	and export.

	* src/style-border.[ch] (style_border_none_set_color): New
	function. Update the grid color (color of style border none) to
	the given color.

	* src/sheet-style.[ch] (sheet_style_update_grid_color): New
	function. Update the grid color to fit the given sheet.

	* src/item-grid.c (item_grid_draw): Call
	sheet_style_update_grid_color before rendering.

	* src/print-cell.c (print_cell_range): Ditto

	* src/preview-grid.c (preview_grid_draw): Call
	style_border_none_update_color before rendering.

2002-02-11  Jody Goldberg <jody@gnome.org>

	* src/item-bar.c (item_bar_realize) : Use the standard cursor.

2002-02-08  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_get_entry) : Use
	  gnumeric_expr_entry_get_entry.
	(wbcg_edit_attach_guru) : wbcg_get_entry.
	(wbcg_edit_detach_guru) : ditto.

	* src/workbook-control-gui.c : include datetime.h
	(workbook_setup_edit_area) : pack the ecpr-entry, not the contained
	entry.
	(wbcg_validation_msg) : warning suppression.

	* src/validation.c (validation_eval) : suppress warning.

	* src/sheet-autofill.c (str_contains) : delete.

	* src/number-match.c (format_match) : remove unused variable.

	* src/item-edit.c (item_edit_set_arg) : wbcg_get_entry signature change.

	* src/format-template.c (format_template_member_set_row_info) : delete.
	(format_template_member_set_col_info) : ditto.

	* src/commands.c (cmd_autoformat) : revert previous attempt at
	  constness.  It seems the templates are also used as acumulators
	  during application.  I don't think it is a great design choice,
	  but we'll live with it.

	* src/application.c (application_init) : add Jacub's expr entry.

2002-02-10  Chema Celorio  <chema@celorio.com>

	* configure.in: remove GNOME_COMMON_INIT
	[http://developer.gnome.org/dotplan/porting/ar01s05.html]

2002-02-08  Jon K Hellan  <hellan@acm.org>

	* src/mstyle.c (link_border_colors): Return from the right place.

	* src/style-color.c (style_color_new_uninterned): Create with
	refcount 1.
	(style_color_new): Only increment refcount if using cached color.

	* src/sheet.c (sheet_duplicate): Clone auto pattern color

	* src/sheet-style.c (sheet_style_init): Move auto_pattern_color
	initialization forward. sheet_style_get_auto_pattern_color is
	called from sheet_style_find below.
	(sheet_style_set_auto_pattern_color): Tag it as an auto
	color. Unref the input color.

	* src/sheet-style.[ch]: (sheet_style_get_auto_pattern_color): constify.

	* src/mstyle.c (link_pattern_color): New function.  Replace auto
	pattern color in style with sheet's auto pattern color.
	(link_border_colors): New function. Replace auto border colors in
	style with sheet's auto pattern color.
	(mstyle_link_sheet): Use target sheet's auto pattern color by
	calling link_xxxx_color functions.
	(mstyle_set_border): Fix typo.

2002-02-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c (anova_single_factor_tool) : be more
	  careful with precision.

2002-02-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/rangefunc.c (range_sum) : improve precision through 2 pass
	  algorithm
	(range_sumsq) : ditto

2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/auto-format.c (auto_style_format_suggest) : it is now the
	  primitive.

2002-02-06  Michael Meeks  <michael@ximian.com>

	* src/workbook.c (workbook_bonobo_setup): don't
	setup the item container.

	* src/gnumeric-graph.c: porting action.
	(bonobo_activation_exception_id): kill.

	* src/corba-args.c (gnumeric_arg_parse): upd.

	* src/bonobo-io.c: porting action.

	* src/sheet-object-bonobo.c: porting action.

2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : changes to the
	classification interface.  It will continue to evolve.

	* src/formats.c (cell_format_classify) : change the signature.  In the
	  future this should really be split.  This routine is
	  1) stupid
	  2) wrong
	  It is really only useful in the context of the format dialog.
	  however, our desire to call it elsewhere indicates what the new
	  format engine should make easiliy accessible.

	* src/expr.c (expr_eval_real) : quick and easy support for autoformat
	  style formating for percent operator.  Just a quick test to see how
	  hard it would be, and it wasn't.

	* src/auto-format.c : Convert to StyleFormat.  Nothing actually uses
	  this anymore but I have not merged its logic into the eval structure
	  yet.

	* src/format-template.c (format_template_check_valid) : warning
	  suppression.

	* src/format.c (style_format_general) : new.
	(style_format_default_date) : new.
	(style_format_default_time) : new.
	(style_format_default_percentage) : new.
	(style_format_default_money) : new.

	* src/cell.c (cell_get_format) : finish the conversion.

2002-02-05  Jon K Hellan  <hellan@acm.org>

	* src/style-color.c (style_color_new_uninterned): New
	function. Factored out of style_color_new. Creates color
	unconditionally, without using the hash table.
	(style_color_new): Factor out style_color_new_uninterned.
	(style_color_new_i8): New function. Create a style color from 8
	bit rgb values by cloning to 16 bits.
	(style_color_auto_font): New function. Returns an uninterned black
	to represent Excel auto font color.
	(style_color_auto_back): New function. Returns an uninterned white
	to represent Excel auto background color.
	(style_color_auto_pattern): New function. Returns an uninterned black
	to represent Excel auto pattern color.
	(color_equal): Include is_auto flag in comparison.
	(color_hash): Include is_auto flag in hash function.

	* src/style-color.h (style_color_new_i8, style_color_auto_font,
	style_color_auto_back, style_color_auto_pattern): Declare

	* src/sheet-style.c (struct _SheetStyleData): Add
	auto_pattern_color.
	(sheet_style_init): Initialize auto_pattern_color.
	(sheet_style_shutdown): Unref auto_pattern_color.
	(sheet_style_set_auto_pattern_color): New function. Set the auto
	pattern color for this sheet.
	(sheet_style_get_auto_pattern_color): New function. Get the auto
	pattern color for this sheet.

	* src/sheet-style.h (sheet_style_set_auto_pattern_color,
	sheet_style_get_auto_pattern_color): Declare.

2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_insert_current_date) : don't actually
	  store the value, just start editing with it.
	(cb_insert_current_time) : ditto.

2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_new_*) : init Value*::fmt
	(value_duplicate) : ref the fmt too.
	(value_set_fmt) : new.

	* src/cell.c (cell_cleanout) : no more format.
	(cell_copy) : ditto.
	(cell_set_text) : ditto.
	(cell_set_expr_internal) : ditto.
	(cell_set_expr_unsafe) : ditto.
	(cell_get_format) : ditto.

	Change all callers.
	* src/sheet.c (sheet_cell_set_value) : remove format assingment.
	* src/cell.c (cell_set_expr_and_value) : remove format assignment.
	(cell_assign_value) : ditto.
	(cell_set_value) : ditto.
	(cell_set_expr) : ditto.
	* src/parser.y (expr_parse_str) : remove arg to return the suggested
	  format.  That will be handled at run time.
	* src/number-match.c (format_match) : remove arg to return the parse
	  formula.  Store it in the value instead.

2002-02-02  Jody Goldberg <jody@gnome.org>

	* src/main.c (main) : disable the removal of Shift as an accelerator
	  fixes the double movement in treeviews strangeness.

	* src/workbook-control-gui.c : reorganize the insert menu.
	* src/GNOME_Gnumeric.xml : ditto.

2002-02-01  Jody Goldberg <jody@gnome.org>

	* src/xml-io-autoft.c : port to libxml2 and begin merging into
	* src/format-template.c : here.

2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_question_yes_no) : port to gnome2

2002-02-01  Jody Goldberg <jody@gnome.org>

	* configure.in : cleanup the includes a bit and make the libole2
	  requirement specific to the XL plugin.  Tidy up the gda, and gb
	  tests to be consistent and more informative.

	* src/main.c : remove ole debug flag.

	* src/gnumeric-graph.c (gnm_graph_new) : return a GObject
	  makes it easier to handle NULL.

2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : add `warning' to GENERIC_TOOL_STATE
	  and some clean-up

2002-01-31  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_focus_cur_scg) : warning
	  suppression.
	(sheet_control_gui_new) : enable partial scrollbar support.

	* src/workbook-control.c (wb_control_parse_and_jump) : make defined
	  names absolute.

2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/dialogs/dialog-autoformat.c (templates_load) : changes to
	  category_group_get_templates_list.

	* src/xml-io-autoft.c (gnumeric_xml_write_format_template) : take a
	  context not a control to clarify things.
	(gnumeric_xml_read_format_template) : ditto.

	* src/workbook.c (workbook_persist_file_save) : changes to
	  wb_view_save_as.

	* src/io-context.c (io_context_destroy) : impl is a command context now.
	(gnumeric_io_context_new) : weaken requirements so that all we need is
	  a command context.  Not strictly necessary, but makes it less likely
	  that people will get confused.

	* src/workbook-view.c (wb_view_save_as) : Take a command context not a
	  workbook control to avoid confusing what we are saving.
	(wb_view_save) : ditto.
	(wb_view_selection_desc) : Implement using an explicit control.
	(wb_view_open_custom) : add a missing precondition.
	* src/gui-file.c (do_save_as) : changes to wb_view_save_as.
	(gui_file_save_to_stream) :  changes to gnumeric_io_context_new.

	* src/file-autoft.c (category_get_templates_list) : take a command
	context, not a workbookcontrol.
	(category_group_get_templates_list) : ditto.
	* src/format-template.c (format_template_new) : ditto.
	(format_template_new_from_file) : ditto.

2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : include type definitions and function
	  prototypes previously in src/dialogs/dialog-analysis-tools.c
	* src/analysis-tools.c (autofit_columns) : make non-static
	* src/func-util.h (parse_database_criteria) : new

2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/application.c : merge in the new object icons from jimmac.
	* src/pixmaps/Makefile.am : ditto.
	* src/workbook-control-gui.c : ditto.
	* src/GNOME_Gnumeric.xml : ditto.
	s/^/Object/
	s/Rect/Rectangle/
	s/Oval/Ellipse/
	s/Checkbutton/Checkbox/

	* src/gui-util.c (gnumeric_error_info_dialog_show) : center error
	  dialog on the mouse.

2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_notebook_switch_page) : fix changing
	  sheets.

2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
	  hard code relief.
	* src/workbook-control-gui.c (workbook_create_standard_toolbar) :
	  ditto.

2002-01-29  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (sheet_action_rename_sheet) : move most
	  code into dialog_sheet_name and friends
	(cb_sheet_change_name) : ditto, also rename to cb_sheet_name

2002-01-28 Joshua R. Odom <jrodom@stic.net>

	* src/application.c : clean up the file names to match the code.
	* src/pixmaps/Makefile.am : ditto.

2002-01-28  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_sheet_move) : flag if the move did
	  anything.

	* src/workbook-object-toolbar.c :  adjust to the new creation format.

	* src/workbook-edit.c (wbcg_edit_has_guru) : return the actual guru.

	* src/workbook-control-gui.c : Explicitly use the STOCK items rather
	  than just the stock icon names.  This enables the accelerators too.

	* src/sheet-object-widget.c : cleanup.
	  Use _init functions, no need to create a silly _new wrapper that calls
	  construct.  Remove unused Sheet arguments.

	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : new.
	(gnm_canvas_key_mode_sheet) : be more careful about what how to handle
	  keys when there is a guru up.

	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
	  create the table.

2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : cleanup the generated files.

2002-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/consolidate.c (consolidate_set_destination) : accept
	  value instead of range
	(consolidate_add_source) : ditto
	* src/consolidate.h (consolidate_set_destination) : change
	  parameters
	(consolidate_add_source) : ditto

2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install .desktop file into prefix/share/applications,
	the new location for .desktop files in GNOME 2.

	* gnumeric.desktop.in:

	Add appropriate categories fields.

	Add a functional description to match the GNOME 2
	HIG.

2002-01-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui_util.c (gnumeric_destroy_dialog) : new callback
	(gnumeric_notice_nonmodal) : save dialog ptr in reference
	* src/gui_util.h (gnumeric_notice_nonmodal) : change
	  parameters and return value

2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c :
	  remove Menu_ prefix from pixmap names.

2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_notice_nonmodal) : non-modal version of
	  gnumeric_notice
	(gnumeric_dialog_run) : remove warning
	* src/gui-util.h (gnumeric_notice_nonmodal) : new

2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (entry_to_float) :
	  moved here from dialogs/dialog-analysis-tools.c
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto

	* src/gui-util.h (entry_to_float) new function (used to be static)
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto

2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* item-grid.c (item_grid_event) : don't scroll at end of formula
	  range selection (http://bugzilla.gnome.org/show_bug.cgi?id=63485)

2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_run) : use GTK functions
	(gnumeric_notice) : create GTK_Message_Dialog
	* src/gui-util.h (gnumeric_notice) : change type of second argument
	* src/gui-file.c : fix all calls to gnumeric_notice
	* src/print.c : ditto
	* src/style.c : ditto
	* src/workbook-cmd-format.c : ditto
	* src/workbook-control-gui.c : ditto

2002-01-25  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.

	* src/gui-util.c (gnumeric_popup_menu) : sink the menus.

	* src/main.c (main) : lock the encoding to be utf-8.

	* src/eval.c : enable the micro hash by default.

	* src/expr.c (cellref_relocate) : simplify and remove the force
	  arguments.  Flag invalidations from inside vs to inside. From takes
	  precendence.
	(cellref_shift) : new.
	(cellrange_relocate) : simplfy and try a different tack on how to
	  handle corners with different sets of relocation needs.

	* src/commands.c (cmd_paste_cut_undo) : pass NULL for the
	  reloc_storage to disable invalidation.

	* src/sheet.c (sheet_move_range) : document.
	  Make the reloc_storage optional.  If it is not specified do NOT
	  invalidate references to the dst region that are being
	  invalidated.  Since this routine is only used for cut redo/undo
	  and undo really should not be invalidating we use that as a flag.

2002-01-25  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : register the marshaller as BUILT sources.

2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/cell.h (cell_get_render_color) : new
	* src/rendered-value.c (cell_get_render_color) : new

2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/ranges.h (global_range_name) : new
	* src/ranges.c (global_range_name) : new

2002-01-24  Jody Goldberg <jody@gnome.org>

	* configure.in : explicitly disable guile, psiconv, and bonobo for now.
	Add a warning.

	* src/Makefile.am : Apparently the sources list is order dependent.
	  Put the built sources at the top.

2002-01-24  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: fixed libgda detection for GNOME 2.

2002-01-23  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gnumeric_textview_get_text) : new utility.
	(gnumeric_textview_set_text) : ditto.

	* src/history.c : tidy up a mite.

	* src/gui-util.c : Some initial conversions to gnome2.  Needs work.

	* src/gui-file.c (can_try_save_to) : Use the new glib2 file utilities.

	* src/gnumeric.h : remove the gnome-1.4 compatibility shims.

	* src/gnumeric-pane.c (gnumeric_pane_realized) : renamed to be
	  consistent.

	* src/gnumeric-graph.c (bonobo_activation_exception_id) : renamed from
	  oaf_exception_id.
	(gnm_graph_setup) : begin conversion to bonobo-activation.

	* src/gnumeric-canvas.c : disable the IM support for now.

	* src/formats.c (currency_symbols) : pound, yen, euro -> utf8.

	* src/format.c : no need for portability.h
	* src/func.c : ditto.

	* src/file.c (gnum_file_saver_setup) : disable mime for now.

	* src/command-context.c : Inherit directly from GObject.
	* src/commands.c : ditto.
	* src/complete-sheet.c : ditto.
	* src/complete.c : ditto.

	* src/application.c : convert to new stock icon management.

	* src/Makefile.am : remove portability.h.
	  Add pixmaps subdir.
	  Build marshallers.

	* Makefile.am : Convert to intltool.
	* acconfig.h : Convert to gnome2 gettext format.
	* .cvsignore : Convert to intltool, and remove the Conf file.
	* src/.cvsignore : Update.
	* autogen.sh : Convert to gnome2.
	* configure.in : Rough conversion to gnome2.  We'll need to re-enable
	  the plugins.

	* idl/GNOME_Gnumeric.idl : Delete an unused interface.
	* idl/Makefile.am (dist) : update.

	* plugins/Makefile.am :  Use WITH_GUILE rather than just GUILE to be
	  consistent.
	* plugins/*/Makefile.am : Convert to intltool.

2002-01-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : Use
	  list_prepend, and reverse in palce of append.

2001-01-22  Kevin Breit <mrproper@ximian.com>

	* Makefile.am: Added omf-install/
	* omf-install: Added directory for OMF stuff
	* omf-install/Makefile.am: Copied that in

2002-01-22  Rodrigo Moya <rodrigo@gnome-db.org>

	* README:
	* configure.in: increased minimum libgda versions
