1. 09 Mar, 2002 7 commits
    • Andreas J. Guelzow's avatar
      use stock buttons and set title use stock buttons · 1b5e9b4d
      Andreas J. Guelzow authored
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* sheet-order.glade : use stock buttons and set title
      	* dialog-sheet-order.c : use stock buttons
      1b5e9b4d
    • Andreas J. Guelzow's avatar
      various minor modifications to make Jody happy. · 674c1b1a
      Andreas J. Guelzow authored
      2002-03-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-order.c : various minor modifications to make
      	  Jody happy.
      674c1b1a
    • Jukka-Pekka Iivonen's avatar
      Renamed `Program Report' as `Performance Report'. Added check buttons for · 22b82be8
      Jukka-Pekka Iivonen authored
      2002-03-09  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * solver.glade, dialog-solver.c: Renamed `Program Report' as
              `Performance Report'.  Added check buttons for `Program Report'
              and `Dual Program Report'.
      22b82be8
    • Jukka-Pekka Iivonen's avatar
      Plug a leak. (grab_cells): Use append instead of prepend. The order · 10ad1222
      Jukka-Pekka Iivonen authored
      2002-03-09  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * dialog-solver.c (cb_dialog_solve_clicked): Plug a leak.
              (grab_cells): Use append instead of prepend.  The order matters.
              (convert_constraint_format): Ditto.
              (revert_constraint_format): Ditto.
      10ad1222
    • Jukka-Pekka Iivonen's avatar
      Plug a leak. · 785a897c
      Jukka-Pekka Iivonen authored
      2002-03-09  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * dialog-solver.c (cb_dialog_solve_clicked): Plug a leak.
      785a897c
    • Andreas J. Guelzow's avatar
      change menu items "Re-order sheets" to "Manage Sheets" and enable these · 1d904d39
      Andreas J. Guelzow authored
      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-09  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* sheet-order.glade : change button order
      	* cell-sort.glade : ditto
      	* dialog-sheet-order.c : various minor modifications and support
      	  deletion of sheets.
      1d904d39
    • Jody Goldberg's avatar
      switch Format->Workbook with Format->AutoFormat ditto. · 73a18b0f
      Jody Goldberg authored
      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.
      73a18b0f
  2. 08 Mar, 2002 3 commits
    • Jon Kåre Hellan's avatar
      Add. · a7133935
      Jon Kåre Hellan authored
      * 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.
      
      * dialog-plugin-manager.c (cb_pm_button_activate_plugin_clicked):
      Add parameter force_load = FALSE to activate_plugin call.
      (cb_pm_button_activate_all_clicked): Add parameter force_load =
      FALSE to plugin_db_activate_plugin_list call.
      a7133935
    • Morten Welinder's avatar
      Minor cleanup. Be smarter about errors. · 8178ee82
      Morten Welinder authored
      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  Morten Welinder  <terra@diku.dk>
      
      	* analysis-tools.c (fourier_fft_inv): Eliminate.
      	(fourier_fft): Handle inverse case also.  Make n and skip
      	parameters.  Eliminate fourier_t.  Constify.
      8178ee82
    • Jukka-Pekka Iivonen's avatar
      Make the reports only if solver found a proper sollution. · fc8728df
      Jukka-Pekka Iivonen authored
      2002-03-08  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * dialog-solver.c (cb_dialog_solve_clicked): Make the reports only
              if solver found a proper sollution.
              (cb_dialog_solve_clicked): Added dialog to warn if the sensitivity
              or limits report cannot be created.
              (cb_dialog_solve_clicked): Added a check if target range or input
              range is not set.
      fc8728df
  3. 07 Mar, 2002 4 commits
    • Andreas J. Guelzow's avatar
      handle delete button (cb_toggle_deleted) : new (populate_sheet_list) : · 909564da
      Andreas J. Guelzow authored
      2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-order.c (cb_selection_changed) : handle delete button
      	(cb_toggle_deleted) : new
      	(populate_sheet_list) : handle `is_deleted' column
      	(move_cb) : ditto
      	(cb_add_clicked) : ditto
      	(cb_delete_clicked) : implement
      	(cb_ok_clicked) : ignore deleted
      909564da
    • Jody Goldberg's avatar
      revamp extensheet handling and name import. Still does not work for XL95, · 3bea628c
      Jody Goldberg authored
      
      2002-03-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c : revamp extensheet handling and name import.
      	  Still does not work for XL95, but things should be ok for >= 97.
      	  Getting closer to supporting external references.
      
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (write_externsheets) : Use unquoted.  This code
      	  needs some love.
      
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
      	  with bad input.
      	(ms_excel_read_formula) : ditto.
      
      2002-03-06  Jody Goldberg <jody@gnome.org>
      
      	* dialog-advanced-filter.c (advanced_filter) : Use eval_pos_init_sheet.
      
      	* dialog-solver.c (cb_dialog_solve_clicked) : fix leak.
      
      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.
      3bea628c
    • Jukka-Pekka Iivonen's avatar
      Moved into src/tools. src/auto-correct.[ch]: Ditto. src/goal-seek.[ch]: · cf7349c4
      Jukka-Pekka Iivonen authored
      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  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * src/tools/solver/reports.c (solver_limits_report):
      	Implemented the initial limits reporting.
              (solver_program_report): Implemented the program statistics
              reporting.
      cf7349c4
    • Andreas J. Guelzow's avatar
      implement adding of multiple sheets · b6f0942a
      Andreas J. Guelzow authored
      2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* workbook.c (workbook_sheet_reorganize) : implement adding of
      	  multiple sheets
      
      2002-03-07  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* sheet-order.glade : add buttons
      	* cell-sort.glade : reorder buttons
      	* dialog-sheet-order.c (cb_row_inserted) : deleted
      	(cb_selection_changed) : add more buttons
      	(populate_sheet_list) : remove "row_inserted" handler
      	(move_cb) : move wb_view_sheet_focus to cb_selection_changed
      	(cb_add_clicked) : new
      	(cb_duplicate_clicked) : new stub
      	(cb_delete_clicked) : new stub
      	(dialog_sheet_order) : add handlers to new buttons
      b6f0942a
  4. 06 Mar, 2002 1 commit
    • Jukka-Pekka Iivonen's avatar
      New directory created for tools. · d38098dc
      Jukka-Pekka Iivonen authored
      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.
      d38098dc
  5. 05 Mar, 2002 1 commit
    • Andreas J. Guelzow's avatar
      use textview widget · 83e8a690
      Andreas J. Guelzow authored
      2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/sheet-control-gui.c (scg_comment_display) : use
      	  textview widget
      
      2002-03-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-date.c (gnumeric_networkdays) : fix (73491)
      83e8a690
  6. 04 Mar, 2002 2 commits
    • Andreas J. Guelzow's avatar
      use cmd_set_comment (dialog_cell_comment) : use cell_has_comment_pos · 45754f39
      Andreas J. Guelzow authored
      2002-03-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-comment.c (cb_cell_comment_ok_clicked) : use
      	  cmd_set_comment
      	(dialog_cell_comment) : use cell_has_comment_pos
      
      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
      45754f39
    • Andreas J. Guelzow's avatar
      change the invocation of cmd_rename_sheet implement sheet renaming and · 87e52f21
      Andreas J. Guelzow authored
      2002-03-03  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-name.c (cb_sheet_name_ok_clicked ) : change the
      	  invocation of cmd_rename_sheet
      	* dialog-sheet-order.c : implement sheet renaming and check whether
      	  any changes are pending before submitting a command.
      
      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
      87e52f21
  7. 02 Mar, 2002 2 commits
    • Jody Goldberg's avatar
      Use the convenience routines. (formula_guru_set_rolled_state) : partial · 9bb0eb7e
      Jody Goldberg authored
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      	* dialog-formula-guru.c (cb_formula_guru_rolled_entry_changed) : Use
      	  the convenience routines.
      	(formula_guru_set_rolled_state) : partial fix.
      
      	* formula-guru.glade : fix conversion problems.
      
      2002-03-02  Jody Goldberg <jody@gnome.org>
      
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_get_text) : new util.
      	(gnm_expr_entry_parse_as_value) :  add some preconditions.
      	(gnm_expr_entry_parse_as_list) : ditto.
      	(gnm_expr_entry_is_cell_ref) :  ditto.
      	(gnm_expr_entry_global_range_name) : ditto.
      	(gnm_expr_entry_grab_focus) : ditto.
      9bb0eb7e
    • Andreas J. Guelzow's avatar
      add cell-comment.glade port to gnome2 and make guru NOTE: adding/modifying · c6ca1888
      Andreas J. Guelzow authored
      2002-03-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* Makefile.am : add cell-comment.glade
      	* dialog-cell-comment.c : port to gnome2 and make guru
      	NOTE: adding/modifying comments still does not work:
      	crash in cell_comment_destroy (apparent confusion between
      	GObject and GtkObject)
      	* cell-comment.glade : new file
      
      2002-03-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* POTFILES.in : add src/dialogs/cell-comment.glade
      c6ca1888
  8. 01 Mar, 2002 3 commits
    • Morten Welinder's avatar
      New function. · bd731a44
      Morten Welinder authored
      2002-03-01  Morten Welinder  <terra@diku.dk>
      
      	* src/complex.h (complex_scale_real): New function.
      
      	* src/analysis-tools.c (fourier_fft, fourier_fft_inv): Clean using
      	existing complex math routines.
      bd731a44
    • Andreas J. Guelzow's avatar
      add helpbutton port and reimplement as guru · 2198d355
      Andreas J. Guelzow authored
      2002-03-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/dialogs/dialog-zoom.glade : add helpbutton
      	* src/dialogs/dialog-zoom.c : port and reimplement as
      	guru
      
      2002-03-01  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c (cmd_reorganize_sheets_finalize) : fix typo
      2198d355
    • Andreas J. Guelzow's avatar
      add help button ditto deleted (location_of_iter) : new · 74f40687
      Andreas J. Guelzow authored
      2002-02-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* tabulate.glade : add help button
      	* dialog-tabulate.c (dialog_tabulate) : ditto
      	* dialog-sheet-order.c (get_selected_sheet) : deleted
      	(location_of_iter) : new
      	(cb_selection_changed) : don't affect the real sheets
      	(move_cb) : don't move the real sheets
      	(cb_close_clicked) : replaced by cb_cancel_clicked
      	(cb_ok_clicked) : new
      	(cb_sheet_order_destroy) : free old_order
      	(sheet_order_dialog) : set-up more buttons
      
      2002-02-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* commands.h (cmd_reorganize_sheets) : new
      	* commands.c : implement cmd_reorganize_sheets
      74f40687
  9. 28 Feb, 2002 8 commits
    • Andreas J. Guelzow's avatar
      implement. Was listed in gnumeric-expr-entry.h but did not exist · 1dc2f2a2
      Andreas J. Guelzow authored
      2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_is_blank) : implement. Was
      	  listed in gnumeric-expr-entry.h but did not exist
      
      2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-tabulate.c (ok_clicked) : lots of changes to use the new expr entry
      	  widget, renamed to (tabulate_ok_clicked)
      	(get_table_expr_entry) : new
      	(get_table_entry) : deleted
      	(get_table_float_entry) : new
      	(cancel_clicked) : use GtkDialog
      	(focus_on_entry) : this only works for GtkEntry
      	(single_cell) : use gnm_expr_entry_parse_as_value
      	(dialog_tabulate) : use GtkDialog
      	* tabulate.glade : placeholders don't work anymore
      
      2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gui-util.[hc] (entry_to_float_with_format_default) : new
      1dc2f2a2
    • Morten Welinder's avatar
      If the inverse has negative elements in the diagonal, assume near · 659c9d72
      Morten Welinder authored
      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.
      659c9d72
    • Andreas J. Guelzow's avatar
      add help button, change some ids rewrite as guru · d6dfd54b
      Andreas J. Guelzow authored
      2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* delete-cells.glade : add help button, change some ids
      	* dialog-delete-cells.c : rewrite as guru
      d6dfd54b
    • Jody Goldberg's avatar
      reorder slightly. (fmt_dialog_enable_widgets) : don't reorder things. We · da3d702a
      Jody Goldberg authored
      
      2002-02-28  Jody Goldberg <jody@gnome.org>
      
      	* cell-format.glade : reorder slightly.
      	(fmt_dialog_enable_widgets) : don't reorder things.  We only bother
      	  storing the interesting widget, bu there are wrappers around some of
      	  them which was breaking the reorder process.
      da3d702a
    • Andreas J. Guelzow's avatar
      add help button, change some ids rewrite as guru · ad8e592b
      Andreas J. Guelzow authored
      2002-02-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* insert-cells.glade : add help button, change some ids
      	* dialog-insert-cells.c : rewrite as guru
      
      2
      ad8e592b
    • Jody Goldberg's avatar
      split the format generation out into. (generate_format) : here. · 223870ae
      Jody Goldberg authored
      2002-02-28  Jody Goldberg <jody@gnome.org>
      
      	* dialog-cell-format.c (draw_format_preview) : split the format
      	  generation out into.
      	(generate_format) : here.
      	(cb_format_entry_changed) : don't regenerate the format.  This
                callback is called during the assignment of the format.  so we were
      	  assigning things twice.  Simplify it while we're in here.
      	(fmt_dialog_init_validation_page) : Use gnm_expr_entry_load_from_expr.
      	(validation_entry_from_expr) : delete.
      223870ae
    • Jody Goldberg's avatar
      remove a few deprecated calls · cdfc2bcd
      Jody Goldberg authored
      cdfc2bcd
    • Andreas J. Guelzow's avatar
      gnumeric-expr- entries are not gtkentries. (tool_destroy) : use · cdf2d988
      Andreas J. Guelzow authored
      2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-analysis-tools.c (error_in_entry) : gnumeric-expr-
      	  entries are not gtkentries.
      	(tool_destroy) : use g_object_unref
      	(tool_load_selection) : gnumeric-expr-entries are not
      	  gtkentries.
      	(dialog_random_tool_init) : load selection into gnumeric-
      	  expr-entry rather than gtkentry
      cdf2d988
  10. 27 Feb, 2002 6 commits
    • Andreas J. Guelzow's avatar
      don't set has_focus for a widget on an inactive notebook page · d70fe2eb
      Andreas J. Guelzow authored
      2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* autocorrect-glade : don't set has_focus for a widget on an
      	  inactive notebook page
      d70fe2eb
    • Andreas J. Guelzow's avatar
      small mistake... · 805727c6
      Andreas J. Guelzow authored
      805727c6
    • Andreas J. Guelzow's avatar
      new add format to entry_to_float (entry_to_float) : wrapper around · 8ec77411
      Andreas J. Guelzow authored
      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  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-goal-seek.c (focus_on_entry) : change argument type
      	(cb_dialog_apply_clicked) : handle new expr entry widget, use
      	  entry_to_float_with_format
      
      2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.h (gnm_expr_entry_grab_focus) : new
      	* gnumeric-expr-entry.c (gnm_expr_entry_grab_focus) : new
      8ec77411
    • Andreas J. Guelzow's avatar
      new (is_cell_ref from src/dialogs/dialog-solver.c and · e9eefb33
      Andreas J. Guelzow authored
      2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_is_cell_ref) : new (is_cell_ref
      	  from src/dialogs/dialog-solver.c and
      	  src/dialogs/dialog-consolidate.c)
      	(gnm_expr_entry_global_range_name) : new (extracted common code)
      	* gnumeric-expr-entry.h (gnm_expr_entry_is_cell_ref) : new
      	(gnm_expr_entry_global_range_name) : new
      
      2002-02-27  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-consolidate.c (is_cell_ref) replace with
      	  gnm_expr_entry_is_cell_ref
      	(cb_add_clicked) : use gnm_expr_entry_global_range_name
      	* dialog-solver.c (is_hom_row_or_col_ref) : use
      	  gnm_expr_entry_parse_as_value
      	(is_cell_ref) replace with gnm_expr_entry_is_cell_ref
      	(cb_dialog_add_clicked) : use gnm_expr_entry_parse_as_value
      	(cb_dialog_solve_clicked) : ditto
      
      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.
      e9eefb33
    • Morten Welinder's avatar
      Fix problem from R upgrade. (regression_tool): Simplify. · 754e903e
      Morten Welinder authored
      2002-02-27  Morten Welinder  <terra@diku.dk>
      
              * src/analysis-tools.c (ztest_tool): Fix problem from R upgrade.
              (regression_tool): Simplify.
      754e903e
    • Morten Welinder's avatar
      Attempt error correction in the near-singular case. (linear_regression, · f5046033
      Morten Welinder authored
      2002-02-27  Morten Welinder  <terra@diku.dk>
      
      	* 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.
      f5046033
  11. 26 Feb, 2002 2 commits
  12. 25 Feb, 2002 1 commit
    • Andreas J. Guelzow's avatar
      set flags (cb_fmt_dialog_set_focus) : remove code now in · 254d3db2
      Andreas J. Guelzow authored
      2002-02-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-format.c (fmt_dialog_init_validation_expr_entry) :
      	  set flags
      	(cb_fmt_dialog_set_focus) : remove code now in wbcg_edit_attach_guru
      	* dialog-cell-sort.c (dialog_set_focus) : deleted
      	* dialog-consolidate.c (cb_dialog_set_focus) : deleted
      	(setup_widgets) : set expr entry flags
      	* dialog-define-names.c (cb_name_guru_set_focus) : deleted
      	(name_guru_init) : set expr entry flags
      	* dialog-goal-seek.c (dialog_set_focus) : deleted
      	* dialog-printer-setup.c (cb_do_print_set_focus) : deleted
      	* dialog-search-replace.c (set_focus) : deleted
      	* dialog-search.c (set_focus) : deleted
      	* dialog-solver.c (dialog_set_focus) : deleted
      	* dialog-tabulate.c (set_focus) : deleted
      
      2002-02-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/sheet-object-widget.c (cb_scrollbar_set_focus) : remove code
      	  now handeld 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  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (gee_focus_in_event, gee_focus_out_event) :
      	  deleted
      	(gnumeric_expr_entry_new) remove ref to gee_focus_*_event
      254d3db2