1. 21 Dec, 2001 1 commit
  2. 13 Aug, 2001 1 commit
  3. 27 Jul, 2001 1 commit
  4. 12 Jul, 2001 1 commit
    • Morten Welinder's avatar
      New function. · 3c2b4775
      Morten Welinder authored
      2001-07-12  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (range_multinomial): New function.
      
      	* configure.in (evolution): Fix check, but see BUGS.
      
      2001-07-12  Morten Welinder  <terra@diku.dk>
      
      	* fn-math.c (gnumeric_multinomial): Cleanup.
      3c2b4775
  5. 14 Jun, 2001 1 commit
    • Jody Goldberg's avatar
      use the scale info and round it correctly. (do_setup_page) : ditto. · 4a3bcd3a
      Jody Goldberg authored
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-printer-setup.c (do_fetch_page) : use the scale info and
      	  round it correctly.
      	(do_setup_page) : ditto.
      
      	* print.glade : partially enable the print scaling.
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_setup) : new routine.
      	(write_sheet_bools) : split out from here.
      
      	* ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
      	  of here into.
      	(ms_excel_read_setup) : here.  and modernize it.  Read the number of
      	  copies and the scaling if specified.
      
      2001-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (render_number) : improve rounding and cleanup.
      
      2001-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_cleanout) : call dirty here.
      	(cell_destroy) : not here.
      	(cell_set_text) : or here.
      	(cell_set_value) : or here.
      	(cell_set_expr_and_value) : or here.
      	(cell_set_expr_internal) : or here.
      
      2001-06-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print.c (compute_group) : add more error checking to avoid
      	  possibility of infinite loop.
      
      	* src/print-info.c (print_info_new) : init num copies.
      
      	* src/mathfunc.c (stern_brocot) : move this here from
      	* format.c : here.
      4a3bcd3a
  6. 13 Jun, 2001 1 commit
  7. 27 Apr, 2001 1 commit
  8. 26 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Move the #define wrapper out here. · a0aaf6ad
      Jody Goldberg authored
      
      2001-04-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
      
      	* src/cell.c : prune some includes
      	(cell_default_halign) : rename to
      	* src/style.c (style_default_halign) : to simplify headers for systems
      	  that do not support fwd declarations of enums. H - cough - PUX
      a0aaf6ad
  9. 31 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      s/float_t/gnum_float/ s/int_t/gnum_int/ · 9eaf277a
      Jody Goldberg authored
      
      2001-01-30  Jody Goldberg <jgoldberg@home.com>
      
      	s/float_t/gnum_float/
      	s/int_t/gnum_int/
      
      	* src/sheet-style.c (sheet_style_get_uniform) : implement.
      
      	* src/parse-util.c (parse_text_value_or_expr) : dont loose the entered
      	  text.
      
      	* src/history.c (history_menu_insert_separator) : keep case
      	  consistent.
      	* src/workbook-control-gui.c (workbook_menu_file) : ditto.
      
      	* configure.in : update GAL req.
      	* README : ditto.
      	* gnumeric.spec.in : ditto.
      
      2001-01-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.h : decl for StyleRow.
      
      	* src/xml-io.c : Use the Child and Root aliases to ease ease
      	  transition from xml1 -> xml2.
      	(xml_sheet_create) : default name for sheets that fail to specify one.
      
      	* src/workbook.c (workbook_sheet_by_index) : improve safety.
      9eaf277a
  10. 20 Dec, 2000 1 commit
    • Morten Welinder's avatar
      New function for more user-wanted rounding behaviour. · 8d31f4c7
      Morten Welinder authored
      2000-12-20  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.c (gnumeric_add_epsilon): New function for more
       	user-wanted rounding behaviour.
      	(gnumeric_fake_floor, gnumeric_fake_ceil, gnumeric_fake_round):
       	New functions.
      
      	* src/fn-math (gnumeric_round, gnumeric_roundup,
       	gnumeric_rounddown, gnumeric_trunc, gnumeric_ceil,
       	gnumeric_floor): use fake rounding.
      8d31f4c7
  11. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  12. 28 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      new function. · 93f11589
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-sheet.c (GNUMERIC_VERSION) : new function.
      
      	* src/workbook.c (workbook_do_destroy) : No need to release the
      	  clipboard here.  The Sheet does it for us.
      
      	* src/workbook-format-toolbar.c : Add Fill to the default money
      	  format.
      
      	* src/symbol.c : The only symbols are functions.  The global table
      	  should not be world visible.
      
      	* src/sheet.c (sheet_flag_status_update_cell) : Take a CellPos.
      	(sheet_get_extent_cb) : Use Cell::pos rather than adding an
      	  indirection.
      	(cb_set_cell_content) : Use StyleFormat.
      	(sheet_cell_set_value) : Call sheet_flag_status_update_cell.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_destroy) : Prepare to clear out named expressions.
      	(colrow_move) : Handle changes in cell_relocate signature.
      	(sheet_move_range) : Ditto.
      
      	* src/sheet-autofill.c : Use StyleFormats.
      
      	* src/position.c (parse_pos_init) : Global position are permitted.
      
      	* src/parser.y : Large change.  Do not automaticlly look for function
      	  names or named expressions in the lexer.  The lexer returns STRING
      	  and QUOTED_STRING.  The parser then does the appropriate lookups to
      	  potentially convert to something else.  This allows us to have sheet
      	  names that are the same as functions.
      
      	* src/parse-util.c (cellref_name) : Add flag to optionally disable the
      	  addition of the sheet name.  This is useful when printing
      	  Sheet2!A1:A3 rather than Sheet2!A1:Sheet2!A3.
      
      	* src/number-match.c (format_create_regexp) : Handle fill formats.
      
      	* src/mstyle.c (mstyle_get_border) : Fix constness.
      
      	* src/mathfunc.c (combin, fact) : Moved these here from
      	  functions/fn-math.c
      
      	* src/main.c (gnumeric_main) : No more constants_init, or
      	  global_symbol_init.
      
      	* src/func.c () : Reorg.  Remove some dead code.  Begin adding
      	  workbook local function support, Begin adding volatile, and
      	  semi-volatile functions.  Move the use of SymbolTable internal
      	  in preparation for eliminating it.
      
      	* src/format.c (format_number) : Improve support for pound, yen, and euro.
      	  Remember to produce a number when we hit spacing.
      
      	* src/expr.c : Have ExprFunc refer directly to the FunctionDefinition
      	  We still use a SymbolTable internally, but that will be merged out
      	  later.
      
      	* src/expr-name.c : Major reorg.  Not complete.
      
      	* src/corba-sheet.c (fill_corba_value) : Adjust to changes in
      	  cellref_name signature.
      
      	* src/commands.c (cmd_set_date_time_undo) : No need to manually call
      	  update_cell_flag.  cell_remove, and cell_set_text do that for us.
      	(cmd_set_date_time_redo) : Ditto.
      	  Use StyleFormat.
      
      	* src/clipboard.c (paste_cell) : Take the ExprRewriteInfo as an
      	  argument.
      	(clipboard_paste_region) : Init the ExprRewriteInfo.  We need to do
      	  this here rather than in cell_relocate because we may be moving a
      	  region, not just a single cell, and references within the region
      	  should not be changed.
      
      	* src/cell.c (cell_relocate) : Take the relocation info as an
      	  argument.  Non NULL indicates a request to check bounds.  We can not
      	  do this at the cell level. becuase we may be moving a block rather
      	  than just a single cell, and references into the block should NOT be
      	  rewritten.
      	(cell_set_text_and_value) : Take a StyleFormat.
      	(cell_assign_value) : Ditto.
      	(cell_set_value) : Ditto.
      	(cell_set_expr_internal) : Ditto.
      	(cell_set_expr_unsafe) : Ditto.
      	(cell_set_expr) : Ditto.
      
      	* src/auto-format.c (do_af_suggest) : Expression now refers directly
      	  to functionDef.
      93f11589
  13. 25 Feb, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      Implemented Branch-And-Bound algorithm for integer programming. · aaabc07a
      Jukka-Pekka Iivonen authored
      2000-02-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/mathfunc.[ch]: Implemented Branch-And-Bound algorithm for
      	integer programming.
      
      	* src/solver-lp.c (count_dimensions): Wrote.
      	(make_solver_arrays): Wrote.
      	(make_int_array): Wrote.
      	(solver_branch_and_bound): Wrote.  Solver can now handle the
      	`Int' constraints too.
      	(solver_lp): Wrote.
      
      	* src/solver.h: Added prototype.
      
      	* src/dialogs/dialog-solver.c: Related changes.
      aaabc07a
  14. 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
  15. 07 Feb, 2000 1 commit
  16. 31 Jan, 2000 1 commit
    • Jukka-Pekka Iivonen's avatar
      Gladefied the Solver tool. Implemented `Change' (constraint) button. · 6b1a937a
      Jukka-Pekka Iivonen authored
      2000-01-31  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialogs/dialog-solver.c, src/dialogs/solver.glade,
       	src/dialogs/Makefile.am: Gladefied the Solver tool.  Implemented
       	`Change' (constraint) button.
      
      	* src/functions/fn-math.c: Added RandExp(), RandPoisson(),
       	RandBinom(), RandNegBinom(), and RandBernoulli() functions.
      
      	* src/functions/fn-math.c, src/mathfunc.[ch]: Moved gcd to
       	mathfunc.c.
      6b1a937a
  17. 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
  18. 08 Oct, 1999 1 commit
    • Jody Goldberg's avatar
      - Move some math functions from utils to mathfuncs. · 42b5114f
      Jody Goldberg authored
      - Beautify the scrollbar tooltips a bit and move some of their utility
        routines into gnumeric-utility.
      - Add width/height tooltips on col/row resize.
      - Fix bug that would loose the end of resize event when the cursor had
        not moved.
      42b5114f
  19. 07 Sep, 1999 1 commit
    • Morten Welinder's avatar
      Make up for deficient header files. · 541e823b
      Morten Welinder authored
      1999-09-07  Morten Welinder  <terra@diku.dk>
      
      	* src/mathfunc.h: Make up for deficient header files.
      
      	* src/cursors.c (create_bitmap_and_mask_from_xpm): Fix bitmap
       	loading.  This code isn't exactly elegant.
      541e823b
  20. 03 Aug, 1999 1 commit
    • Morten Welinder's avatar
      Handle integer operations more carefully with respect to overflow. · 07999d52
      Morten Welinder authored
      1999-08-02  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (eval_expr_real): Handle integer operations more
       	carefully with respect to overflow.
      
      	* src/cell.c (cell_cleanout): Don't unlink unless there is a sheet
       	to unlink from.
      
      	* src/collect.c (float_range_function2): Actually call the right
       	function.
      	(collect_floats_value): Fix type of result.
      
      	* src/mathfunc.c (range_rsq_pop, range_rsq_est): New functions.
      
      	* src/fn-stat.c (gnumeric_pearson): Simplify.
      	(gnumeric_rsq): Simplify.
      07999d52
  21. 01 Aug, 1999 1 commit
    • Morten Welinder's avatar
      Starting on the two-ranges functions... · 744b63eb
      Morten Welinder authored
      
      1999-08-01  Morten Welinder  <terra@diku.dk>
      
      	* src/fn-stat.c (gnumeric_covar, gnumeric_correl): Simplify using
       	range functions.
      
      	* src/workbook.c (file_open_cmd): Plug leak.
      
      	* src/mathfunc.c (range_covar, range_correl_pop,
       	range_correl_est): New functions.
      
      	* src/collect.c (collect_floats_value, float_range_function2): New
       	functions.
      744b63eb
  22. 13 Jul, 1999 1 commit
  23. 26 Jun, 1999 1 commit
    • Morten Welinder's avatar
      Ok, people _are_ reading this, :-) · 54be9059
      Morten Welinder authored
      1999-06-25  Morten Welinder  <terra@diku.dk>
      
      	* src/fn-eng.c (eng_functions_init): Extend impower to handle two
       	complex numbers.
      	(eng_functions_init): Prepare for besseli and besselk.  Docs
       	please.
      
      	* src/mathfunc.c (dweibull, pweibull, ppois, dpois, dexp, pexp,
       	dbinom, pbinom, qbinom, besseli, besselk): New functions.
      
      	* src/fn-stat.c: Use new mathfuncs.
      	(gnumeric_kurt): Use range function.
      	(gnumeric_kurtp): New function.
      	(gnumeric_skewp): New function.
      
      	* src/mathfunc.c (range_skew_est): Rename from range_skew.
      	(range_skew_pop): New function.
      	(range_kurtosis_m3_est): New function.
      	(range_kurtosis_m3_pop): New function.
      
      	* src/fn-math.c (gnumeric_gcd): Cleanup and fix.
      54be9059
  24. 25 Jun, 1999 1 commit
  25. 23 Jun, 1999 1 commit
  26. 28 May, 1999 1 commit
  27. 26 May, 1999 1 commit