1. 17 May, 2000 1 commit
    • Jody Goldberg's avatar
      Fix more memory errors. · 98e8cf26
      Jody Goldberg authored
          creating rows/cols when resizing empties.
      
      2000-05-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c
      	(sheet_{col,row}_size_fit_pixels) : Return 0 if there are no cells.
      
      	* src/summary.c (summary_item_as_text) : Be careful to strdup all strings.
      	(g_str_case_equal) : Delete duplicate.
      	(g_str_case_hash) : Delete duplicate.
      	(summary_info_new) : Use gnumeric_strcase_hash & gnumeric_strcase_equal.
      
      	* src/workbook-cmd-format.c (workbook_cmd_format_{column,row}_auto_fit) :
      	  Only mark the sheet as dirty if something was changed.
      
      	* src/stf.c (stf_read_workbook) :  Bring up to date.
      
      	* src/xml-io.c (xml_write_attributes) : Do not use freed memory.
      
      	* src/item-bar.c (item_bar_event) : Autosizing an empty row/col
      	  returns 0.
      98e8cf26
  2. 20 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Reorg cell contents and assignment. · bedb925b
      Jody Goldberg authored
      Fixs lots of usability details.
      
      2000-04-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c : Use the edit_pos as the example
      	  not the top left corner.
      
      	* src/functions/fn-stat.c (gnumeric_ftest) : Use eval_pos_cellref
      	  to help localize the strangeness.
      	(gnumeric_ttest) : Ditto.
      
      	* src/xml-io.c (xml_write_cell_and_position) : If this is an array
      	  expression and we are the top left then add attributes to indicate
      	  size of array.  Ignore the rest of the array.
      	(xml_not_used_old_array_spec) : New routinr to handle the old array format.
      	(xml_cell_set_array_expr) : store an array.
      	(xml_read_cell) : Handle the old and the new array formats.
      
      	* src/workbook.c (workbook_close_if_user_permits) : Accept input
      	  first.
      	(wb_edit_key_pressed) : Handle array formulas here.
      	(workbook_detach_sheet) : Do not recalc all if we are exiting.
      	(workbook_start_editing_at_cursor) : When we start editing an
      	  array formula display just the formula not all the extra {}()[][] crap.
      
      	* src/sheet.c (SheetPrivate) : Add a recompute_spans flag.
      	(sheet_calc_spans) : New routine.
      	(sheet_cell_calc_span) : New routine.
      	(sheet_range_calc_spans) : Renamed and extended from
      	  sheet_cells_update.
      	(sheet_update) : Use sheet_calc_spans when necessary.
      	  Update the location region when the edit_pos changes.
      	(cb_recalc_spans_in_col) : Renamed from cb_collect_cells_in_col.
      	  Recalcs spans directly, no need to collect first.
      	(cb_set_cell_content) : New routine to set expr, or expr_and_value.
      	(sheet_range_set_text) : Use cb_set_cell_content, and remember
      	  chosen format with the cell rather than overriding the assigned
      	  format.
      	(sheet_cell_set_text) : Renamed from sheet_set_text.  Be more specific
      	  about how spans, rendering and the rest are handled.
      	(sheet_cell_set_expr) : New routine.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_load_cell_val) : When displaying an array formula add {%s}()[][].
      	(sheet_redraw_cell_region) : Honour spans when redrawing.
      	(sheet_redraw_partial_row) : New routine.
      	(sheet_redraw_cell) : Ditto.
      	(sheet_is_cell_array) : Use cell_is_array.
      	(sheet_range_splits_array) : Renamed from sheet_check_for_partial_array.
      	(sheet_cell_add_to_hash) :  Do not touch spans at this point.
      	(sheet_cell_insert) : Rename from sheet_cell_add made recalc span
      	  optional.
      	(sheet_cell_new) : New routine that does not touch spans.
      	(sheet_cell_remove) : Made redraw optional.
      	(cb_clear_cell_comments) : Remove the cell if there is no comment.
      	(sheet_clear_region) : Remove the cell if there are no comments or
      	  contents.  Flag an update of the status region.
      
      	* src/sheet-view.c (cb_colrow_resize) : New function.
      	(sheet_view_col_size_changed) : Resize all rows, irrespective of
      	(sheet_view_row_size_changed) : existing cells.
      	(sheet_view_redraw_cell_region) : This no longer honours spans.
      
      	* src/sheet-style.c (sheet_style_attach) : Removed call to redraw.
      	sheet_cells_update : rename to sheet_range_calc_spans and move to
      	  sheet.c.
      
      	* src/sheet-autofill.c (autofill_cell) : Use sheet_cell_set_value
      	  rather than set_text.
      
      	* src/selection.c (sheet_selection_changed_hook) : Delete.
      	(sheet_selection_extend_to) : Update the status region to display the
      	  new size.
      	(sheet_selection_cut) : Use sheet_range_splits_array.
      	(selection_check_for_array) : New routine.
      
      	* src/parser.y : Remove icky array formula parsing that conflicted
      	  with array entries.
      
      	* src/number-match.c (format_match) : Return a Value * rather than a
      	  double.
      
      	* src/mstyle.c (mstyle_set_font_size) : Do not allow font sizes < 1.
      
      	* src/main.c (gnumeric_main) : Do NOT create an empty workbook
      	  then delete it if things are successfully loaded.  This causes
      	  a global recalc.  Instead add a flag to disable exit when the
      	  number of workbooks go to zero.  Then only enable the flag AFTER
      	  we have attempted to load the initial workbooks.
      
      	* src/item-grid.c (item_grid_event) : Update the status_region when
      	  button-1 is release.  It should display the edit_pos.
      
      	* src/gutils.c : Move cell_name, col_name, col_from_name,
      	  parse_cell_name, parse_cell_name_or_range and parse_cell_name_list,
      	  to parse-util.c.
      
      	* src/gnumeric.h  : Add RenderedValue.
      
      	* src/gnumeric-util.c (gnumeric_char_start_expr_p) : Move
      	  to parse-util.c
      
      	* src/file.c (workbook_read) : Remove freese thaw usage.
      	  Move call to update AFTER mark clean.
      
      	* src/expr.c (eval_pos_init) : Take a cellpos.
      	(parse_pos_evalpos) : New routine.
      	(eval_pos_cellref) : There is some questionable code scattered in the
      	  functions.  This routing localizes the odd bits for correction.
      
      	* src/eval.c (cell_eval_content) : Use sheet_redraw_cell,
      	  and rendered_value_calc_size.
      	(cell_get_dependencies) : Improve constness.
      
      	* src/corba-sheet.c : Remove the freeze thaw operations.
      	(Sheet_cell_set_formula) : Deleted.
      	(Sheet_range_set_formula) : Delete.
      
      	* src/commands.c : Adjust so that registration of command auto
      	  calls redo.  Add misc checks for splitting arrays.
      
      	* src/clipboard.h : Move the CellCopy types here from cell.h
      
      	* src/clipboard.c (paste_cell) : Use cell_has_expr.
      	  Don't insert the new cell till after its contents are assigned.
      
      	* src/cellspan.c (cell_register_span) : Improve constness.
      	(cell_unregister_span) : Ditto.
      	(row_cell_get_displayed_at) : Delete.
      	(cell_calc_span) : Moved here from cell.c
      
      	* src/dialogs/dialog-stf.glade : Adjust the header background colour
      	  to match the purdy new icon.  Add the icon.
      
      	* src/cell-draw.c : Use the rendered_value routines.
      	  Improve constness.
      
      	* src/analysis-tools.c (set_cell) : Use sheet_cell_fetch.
      
      	*.*
      	    cell_set_* -> sheet_cell_set_
      	    cell_set_*_simple -> cell_set_
      	    Cell::{row,col} -> Cell::{row,col}_info
      	    cell_get_text -> cell_get_entered_text
      	    cell_get_content -> cell_get_entered_text
      	    cell_name -> cell_coord_name
      	    cell_get_formatted_val -> cell_get_rendered_text
      	    cell_get_content -> cell_get_entered_text
      
      	* src/cell.c :
      	(cell_dirty) : Renamed from cell_modified.  Use
      	  sheet_set_dirty.
      	(cell_formula_changed) : Make the queuing of the recalc optional.
      	(cell_cleanout) : Handle union of expression and entered_text,
      	  and remove the rendered value.
      	(cell_copy) : Ditto.
      	(cell_destroy) : handle cell_modified -> cell_dirty.
      	(cell_set_text) : Use parse_text_value_or_expr and store the prefered
      	  format.
      	(cell_set_text_and_value) : New routine.
      	(cell_assign_value) : New routine.
      	(cell_set_value) : Support formats.
      	(cell_set_expr_and_value) : New routine.
      	(cell_set_expr_internal) : Split from cell_set_expr.
      	(cell_set_expr) : Divide to allow for not queuing a recalc.
      	(cell_set_array_formula) : Use cell_set_expr_internal.
      	(cell_is_array) : New utility.
      	(cell_is_partial_array) : New utility.
      	(cell_has_expr) : New utility.
      	(cell_render_value) : Use rendered_value_*.
      	Move all comment routines into cell-comment.[ch].
      
      	* idl/Gnumeric.idl : Remove cell_set_formula, and range_set_formula.
      	  These were identical to set_text.  Made Workbook embeddable.
      bedb925b
  3. 10 Apr, 2000 1 commit
    • Miguel de Icaza's avatar
      Do not destroy the context here, as it is dereferenced later in the · 30aba440
      Miguel de Icaza authored
      
      
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* main.c (button_cancel): Do not destroy the context here, as it
      	is dereferenced later in the mainloop.
      
      2000-04-10  Miguel de Icaza  <miguel@gnu.org>
      
      	* Lots of files: replaces utils.h for gutils.h
      
      	* renamed utils.h to gutils.h to avoid the compilation problem on
      	some Unices (yes, fixing the Makefile would have done it, but
      	utils.h was still a lame name;  Of course gutils.h is not any
      	better, but it is now done).
      
      2000-04-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cellspan.c (span_remove): Pretify code.
      30aba440
  4. 07 Apr, 2000 1 commit
    • Jon K Hellan's avatar
      Replace member name with name_quoted and name_unquoted. In name_quoted, · 699e8bf7
      Jon K Hellan authored
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
              * src/sheet.h (struct _Sheet): Replace member name with
      	name_quoted and name_unquoted. In name_quoted, names with spaces
      	or quote characters are protected with quotes.
      
      	* src/analysis-tools.c (prepare_output): Use
      	workbook_sheet_get_free_name to ensure that we don't create more
      	than one sheet with the same name.
      
      	* src/eval.c (dump_cell_list, sheet_dump_dependencies): Dump
      	sheet->name_unquoted instead of sheet->name.
      
      	* src/expr-name.c (name_sheet_title): Make value from
      	sheet->name_quoted instead of sheet->name. FIXME: Is this correct?
      
      	* src/gnumeric-sheet.c (selection_insert_selection_string): Make
      	selection string from sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/print-info.c (render_tab): Render sheet->name_unquoted
      	instead of sheet->name.
      
      	* src/print-preview.c (create_toplevel): Use sheet->name_unquoted
      	instead of sheet->name in window title.
      
      	* src/selection.c (sheet_selection_to_string, range_to_string):
      	Make reference string from sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/sheet.[ch] (sheet_quote_name): Rename to
      	sheet_name_quote. Take name_unquoted parameter, not a sheet.
      
      	* src/sheet.c (sheet_rename, sheet_new): Set both
      	sheet->name_quoted and sheet->name_unquoted.
      	(sheet_destroy): Free both sheet->name_quoted and
      	name_unquoted.
      	(cellref_name): Make reference from sheet->name_quoted instead of
      	quoting sheet->name here.
      
      	* src/test.c (thrash_sheet): Use sheet->name_unquoted instead of
      	sheet->name in debug output.
      
      	* src/value-sheet.c (value_dump): Dump sheet->name_quoted instead
      	of quoting sheet->name here.
      	(encode_cellref): Use sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/workbook.[ch] (workbook_sheet_get_free_name): Make it more
      	generally useful: Add "base" and "always_suffix" parameters. The
      	caller should now select the base to make the name from
      	(e.g. "Sheet"), and specify whether or not a suffix should be
      	added when the name "base" is not in use.
      
      	* src/workbook.c (insert_sheet_cmd): Use new signature of
      	workbook_sheet_get_free_name.
      	(workbook_rename_sheet): Insert unquoted name in hash table.
      	(sheet_label_text_changed_signal): Remove test for quote
      	characters in sheet name.
      	(sheet_action_delete_sheet): Prompt with name_unquoted instead of
      	name.
      	(sheet_action_rename_sheet, workbook_attach_sheet): Use
      	name_unquoted instead on name.
      	(workbook_detach_sheet): Use sheet->name_unquoted as hash key
      	instead of sheet->name.
      
      	* src/workbook-cmd-format.c
      	(workbook_cmd_format_sheet_change_name): Use name_unquoted instead
      	on name.
      
      	* src/xml-io.c (xml_sheet_write): Output sheet->name_unquoted
      	instead of sheet->name.
      
      	* src/dialogs/dialog-sheet-order.c (dialog_sheet_order_impl): Make
      	list header passive.
      	(add_to_sheet_clist, delete_cb): Substitute sheet->name_unquoted
      	for sheet->name.
      
      	* src/dialogs/dialog-zoom.c (dialog_zoom_impl): Ditto.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* graphic-context.c (graphic_wizard_guess_series): Substitute
      	sheet->name_quoted for sheet->name.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
      	ms_excel_read_sheet):  Use
      	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
      	output.
      	(ms_excel_read_workbook): Remove unused variable to silence
      	warning.
      
      	* ms-excel-write.c (write_externsheets): Output
      	gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
      	this correct?
      	(write_sheet): Use gnum_sheet->name_unquoted instead of
      	gnum_sheet->name in debug output.
      	(write_workbook): Output gnum_sheet->name_unquoted instead of
      	gnum_sheet->name.
      
      	* ms-formula-read.c (ms_excel_parse_formula): Use
      	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
      	output.
      
      	* ms-obj.c (object_anchor_to_position): Ditto.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* html.c (html_write_wb_html32, html_write_wb_html40): Output
      	sheet->name_unquoted instead of sheet->name.
      	(html_read): Gettextize sheet name template.
      
      	* latex.c (html_write_wb_latex, html_write_wb_latex2e):  Output
      	sheet->name_unquoted instead of sheet->name.
      
      	* roff.c (write_wb_roff): Ditto
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* lotus.c (attach_sheet): Remove \n from sheet name. Gettextize
      	sheet name template.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* oleo.c (attach_sheet): Remove \n from sheet name. Gettextize
      	sheet name template.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* pln.c (pln_read_workbook): Use workbook_set_saveinfo instead of
      	workbook_set_filename.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* text-io.c (writeTextSheet): Output sheet->name_unquoted instead of
      	sheet->name.
      	(readTextWorkbook): Ungettextize name of sheet to
      	create. text_parse_file is supposed to rename it.
      699e8bf7
  5. 22 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Fix span bugs. · 99ec14fe
      Jody Goldberg authored
      2000-03-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_reposition_comments) : Merged from
      	  sheet_reposition_comments_from_row and
      	  sheet_reposition_comments_from_col.
      
      	(sheet_update) : New function.  Use the new update flags from
      	  SheetPrivate that are set in the col/row resize functions
      	  to do delayed resizing and updates.  This allows the resizing to be
      	  batched for an entire logical operation.
      	(sheet_{col,row}_set_size_pixels) : Set the update flags.
      
      	* src/workbook-cmd-format.c (workbook_cmd_format_{row,column}_auto_fit) : No need to
      	  worry about redraws.  Use sheet_update.
      	(workbook_cmd_format_{row_height,column_width}) : Ditto.
      
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : No need to
      	  recalculate the spans,  Use the pre-calculated versions.
      	(sheet_view_col_size_changed) : Use sheet_update.
      	(sheet_view_row_size_changed) : Ditto.
      
      	* src/sheet-style.c (re_dimension_cells_cb) : Use cell_calc_dimensions.
      	(sheet_cells_update) : No need to redraw per cell and guess the bound.
      	  It is simpler and more correct to calc dimension per cell, and
      	  redraw the region BEFORE and AFTER to handle spans.
      
      	* src/cell.[ch] (cell_style_changed) : Delete.
      
      	* src/cell-draw.c (cell_draw) : continue syncing with print code.
      	  Be even more careful in the possible presence of style bugs.
      	* src/item-grid.c (item_grid_draw) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      
      	* src/analysis-tools.c (correlation_tool) : Use sheet_update.
      	(covariance_tool) : Ditto.
      	(ttest_paired_tool) : Ditto.
      	(ttest_eq_var_tool) : Ditto.
      	(ttest_neq_var_tool) : Ditto.
      	(ftest_tool) : Ditto.
      
      2000-03-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-private.h : Add status flags to accumulate state changes
      	  for later redraw.
      
      	* src/commands.c (cmd_format_redo) : Use sheet_update
      	  in case the row/col sizes changed due to font size changes.
      	(cmd_format_undo) : Ditto.
      
      	* src/widgets/gtk-combo-box.c (cb_state_change) : Only pseudo-prelight
      	  the display when over the arrow, not vice versa.
      	(gtk_combo_box_init) : Ditto.
      	(gtk_combo_box_set_display) : Ditto.
      
      	* src/sheet.c (sheet_row_get_distance_pts) : Enable reversed indicies.
      	(sheet_col_get_distance_pts) : Ditto.
      
      	* src/plugin.c (plugin_load) : Add more version checking to ensure
      	  that very old plugins that do not check their versions can not be
      	  loaded.
      
      2000-03-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : When
      	  forcing a scroll do a hard reset of the visible ranges.
      	(gnumeric_sheet_compute_visible_ranges) : Ditto.
      	(gnumeric_sheet_set_top_row) : Remove extraneous scroll.
      	(gnumeric_sheet_set_left_col) : Remove extraneous scroll.
      99ec14fe
  6. 20 Feb, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      Implemented Affine Scaling algorithm for the Solver tool. · 5c980847
      Jukka-Pekka Iivonen authored
      2000-02-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/mathfunc.c: Implemented Affine Scaling algorithm for the
      	Solver tool.
      
      	* src/solver-lp.c: Switched the solver to use the affine scaling
      	instead of the simplex.  Beautified the generated reports.
      
      	* src/solver.h: Renamed some of the Solver constants.
      
      	* src/analysis-tools.h: New file.  Moved stuff from
      	src/dialog/dialogs.h.
      5c980847
  7. 18 Feb, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      Implemented Glade dialogs for T-Test tools. · 101d8550
      Jukka-Pekka Iivonen authored
      2000-02-18  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/analysis-tools.glade,
       	src/dialogs/dialog-analysis-tools.c: Implemented Glade dialogs for
       	T-Test tools.
      
      	* src/dialogs/dialog-autosave.c: Fixed a few bugs in
       	dialog_autosave (cancel caused segmentation fault at the next
       	run).  Made the prompt button unsensitive if the autosave is
       	turned off.
      
      	* src/analysis-tools.c: Made the titles to be printed in italic
       	style for Correlation, Covariance, F-Test, and T-Test tools.  In
       	addition, the columns are autosized.
      101d8550
  8. 16 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      More header cleanup. Remove value.h and sheet.h from expr.h. Remove · c73b937c
      Jody Goldberg authored
      
      2000-02-15  Jody Goldberg <jgoldberg@home.com>
      
      	* *.[ch] : More header cleanup.  Remove value.h and sheet.h
      	  from expr.h.  Remove sheet.h from cell.h.
      
      2000-02-16  Dom Lachowicz <dominicl@seas.upenn.edu>
      
      	* src/plugin-manager.c : Move functionality.
      	* src/dialogs/dialog-plugin-manager.c : here.  and move to libglade.
      
      	* src/workbook.c (plugins_cmd) : Use dialog_plugin_manager instead
      	  of plugin_manager_new.
      c73b937c
  9. 14 Feb, 2000 1 commit
  10. 07 Feb, 2000 1 commit
    • Miguel de Icaza's avatar
      Tag strings for internationalization. ditto. · 8df7e26a
      Miguel de Icaza authored
      2000-02-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/solver-lp.c: Tag strings for internationalization.
      	* src/analysis-tools.c: ditto.
      
      	* src/workbook.c (dialog_autosave_callback): Moved autosave code
      	here.
      	(workbook_autosave_cancel): Cancels autosaving.
      	(workbook_autosave_set):
      8df7e26a
  11. 31 Jan, 2000 1 commit
    • 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
  12. 26 Jan, 2000 1 commit
    • 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
  13. 25 Jan, 2000 1 commit
    • 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
  14. 17 Dec, 1999 1 commit
    • Morten Welinder's avatar
      White-space mania. · e47470a4
      Morten Welinder authored
      1999-12-17  Morten Welinder  <terra@diku.dk>
      
      	* src/functions/fn-stat.c: White-space mania.
      
      1999-12-16  Andrew Chatham  <andrew.chatham@duke.edu>
      
      	* src/regression.h: Better comments for parts of extra_stat
      	* src/regression.c (linear_solve): Fixed adjusted R^2 bug (hopefully).
      	* src/functions/fn-stat.c (gnumeric_linest, gnumeric_logest) Added
      	beginning support for 3+ dimensional regressions in linest and logest.
      	* src/analysis-tools.c (regression_tool) Documented Excel bugs with
      	no-intercept regressions that I didn't/can't mimic.
      e47470a4
  15. 14 Dec, 1999 1 commit
    • Morten Welinder's avatar
      Mark strings for translation. · cabe9790
      Morten Welinder authored
      1999-12-14  Morten Welinder  <terra@diku.dk>
      
      	* src/dialogs/dialog-analysis-tools.c (dialog_regression_tool):
       	Mark strings for translation.
      
      	* src/regression.c (ALLOC_MATRIX, FREE_MATRIX): New macros.
      	(linear_solve): Use them.
      	(general_linear_regression): Ditto.
      
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Unconst.
      
      1999-12-14  Andrew Chatham <andrew.chatham@duke.edu>
      
      	* src/regression.c (general_linear_regression): Now uses LUP
      	decomposition and provides more statistics
      	* src/analysis-tools.c (regression_tool)
      	* src/dialogs/tools.h
      	* src/dialogs/dialog-analysis-tools.c (dialog_regression_tool):
      	Regression tool works with multidimensional data, outputs more
      	statistics.
      cabe9790
  16. 09 Nov, 1999 1 commit
  17. 23 Sep, 1999 1 commit
  18. 19 Sep, 1999 1 commit
    • Morten Welinder's avatar
      Plug leak. (descriptive_stat_tool): Plug leak. (correlation_tool): Plug · a4c835e7
      Morten Welinder authored
      1999-09-19  Morten Welinder  <terra@diku.dk>
      
      	* src/analysis-tools.c (covariance_tool): Plug leak.
      	(descriptive_stat_tool): Plug leak.
      	(correlation_tool): Plug leak.
      	(ranking_tool): Plug leak.
      	(anova_single_factor_tool): Plug leak.
      	(sampling_tool): Don't read past array.
      
      	* src/sheet.c (sheet_destroy): Plug leak.
      
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Plug leak.
      a4c835e7
  19. 09 Sep, 1999 1 commit
  20. 13 Jul, 1999 1 commit
    • Jukka-Pekka Iivonen's avatar
      Implemented Anova, single factor tool. · 2fa1a075
      Jukka-Pekka Iivonen authored
      1999-07-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Implemented
       	Anova, single factor tool.
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Implemented
       	Anova, two-factor without replication tool.
      2fa1a075
  21. 12 Jul, 1999 2 commits
    • Jukka-Pekka Iivonen's avatar
      Small fixes and additions. · 283d36b4
      Jukka-Pekka Iivonen authored
      1999-07-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* doc/C/analysis-tools.sgml: Small fixes and additions.
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Added
       	Bernoulli distribution to the Random Number Generation tool.
      
      	* src/analysis-tools.c: Finished Rank and Percentile tool.
      
      	* src/analysis-tools.c: Fixed ``F/z/t Critical'' values of the
       	F-Test, t-Test, and z-Test Tools.
      283d36b4
    • Jukka-Pekka Iivonen's avatar
      Made ``Labels in the first row'' option to actually work. Killed some · 7fe21c6a
      Jukka-Pekka Iivonen authored
      1999-07-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Made ``Labels
       	in the first row'' option to actually work.  Killed some warnings
       	and bugs related to outputs too.
      7fe21c6a
  22. 09 Jul, 1999 2 commits
    • Miguel de Icaza's avatar
      Changed prototype of int_compare to eliminate a warning. · 7375da4f
      Miguel de Icaza authored
      1999-07-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/analysis-tools.c: Changed prototype of int_compare to
      	eliminate a warning.
      
      	Removed unused variables.
      
      	* src/cell.c: #inlcude gnumeric-util to eliminate warning.
      
      	* src/fn-financial.c: Fixed all the help strings to get the
      	SEELASO correctly done
      
      	* src/style.c: Zoom factor 1.0 is a reminder to me, not a warning.
      7375da4f
    • Jukka-Pekka Iivonen's avatar
      Added an option to all tools to print the results to a new workbook. · 3e23b872
      Jukka-Pekka Iivonen authored
      1999-07-09  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Added an
       	option to all tools to print the results to a new workbook.
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Added Moving
       	Average and Rank and Percentile tools.
      3e23b872
  23. 08 Jul, 1999 1 commit
    • Jukka-Pekka Iivonen's avatar
      New file. Added documentation for the following analysis tools: · b9bef605
      Jukka-Pekka Iivonen authored
      1999-07-08  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* doc/C/analysis-tools.sgml: New file. Added documentation for the
       	following analysis tools: Correlation, Covariance, Descriptive
       	Statistics, Random Number Generation, Sampling, and F-Test.
      
      	* src/dialog-analysis-tools.c: Added some default parameters for
       	the random number generation tool.
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Started the
       	implementation of regression tool.  Feel free to fill in the rest
       	of the calculations if you are familiar with the regression
       	statistics.
      b9bef605
  24. 07 Jul, 1999 1 commit
    • Jukka-Pekka Iivonen's avatar
      Cleaned up `groupped by' radio button code. Added `Labels in First Row' · cdc39c09
      Jukka-Pekka Iivonen authored
      1999-07-07  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-analysis-tools.c: Cleaned up `groupped by' radio
       	button code.  Added `Labels in First Row' check buttons for all
       	tools.  Made the tool list inside of a scrolled window.
      
      	* src/dialog-analysis-tools.c, src/analysis-tools.c: Implemented
       	`Random Number Generation' tool with the following distributions:
       	Discrete, Normal, and Uniform.
      cdc39c09
  25. 06 Jul, 1999 4 commits
  26. 05 Jul, 1999 3 commits
  27. 02 Jul, 1999 1 commit
    • Jukka-Pekka Iivonen's avatar
      New file for data analysis tools. Currently only correlation and · 496e868a
      Jukka-Pekka Iivonen authored
      1999-07-02  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/anaysis-tools.c: New file for data analysis tools.
        	Currently only correlation and covariance tools implemented.
      
      	* src/dialog-analysis-tools.c: New file.
      
      	* src/dialogs.h: Added some definitions for data analysis tools.
      
      	* src/workbook.c: Added data analysis menu entry.
      496e868a