1. 25 Feb, 2002 1 commit
  2. 22 Feb, 2002 1 commit
    • Morten Welinder's avatar
      Supply these. Use everywhere. · 394ac408
      Morten Welinder authored
      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.
      394ac408
  3. 21 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Constify. · 653bc803
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* 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.
      653bc803
    • Jody Goldberg's avatar
      some house cleaning. · a9c2dd34
      Jody Goldberg authored
      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.
      a9c2dd34
  4. 20 Feb, 2002 3 commits
    • Morten Welinder's avatar
      Constify. · bfa95c6a
      Morten Welinder authored
      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>
      
              * fn-*.c: Constify all help texts.
      bfa95c6a
    • Andreas J. Guelzow's avatar
      change all occurrences of extra_stat.df to extra_stat.df_resid · 01142b35
      Andreas J. Guelzow authored
      2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn_stat.c : change all occurrences of extra_stat.df to
      	  extra_stat.df_resid
      
      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
      01142b35
    • Morten Welinder's avatar
      New stuff. · 8320f8c8
      Morten Welinder authored
      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.
      8320f8c8
  5. 19 Feb, 2002 2 commits
  6. 18 Feb, 2002 1 commit
  7. 17 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      use cell_is_blank. (parse_database_criteria) : ditto. · 5b07ce50
      Jody Goldberg authored
      2002-02-17  Jody Goldberg <jody@gnome.org>
      
      	* fn-database.c (parse_criteria_range) : use cell_is_blank.
      	(parse_database_criteria) : ditto.
      	(find_cells_that_match) : ditto.
      	(find_rows_that_match) : ditto.
      	(gnumeric_getpivotdata) : ditto.
      
      2002-02-17  Jody Goldberg <jody@gnome.org>
      
      	* plugins/excel/ms-escher.c (ms_escher_read_OPT) : add support for
      	  blip cropping.
      5b07ce50
  8. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      
      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.
      f84a08c5
  9. 07 Feb, 2002 2 commits
  10. 06 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      changes to the classification interface. It will continue to evolve. · eee2e6a6
      Jody Goldberg authored
      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.
      eee2e6a6
  11. 04 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      don't actually store the value, just start editing with it. · 167c36d3
      Jody Goldberg authored
      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.
      167c36d3
  12. 31 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      port to gnome2 and redesign change in-place-output handling and duplicate · 3294cf93
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* advanced-filter.glade : port to gnome2 and redesign
      	* dialog-advanced-filter.c (filter) : change in-place-output
      	  handling and duplicate values rather than copying strings
      	(advanced_filter) : use parse_database_criteria, prepare_output
      	  after determining validity of input.
      	(in_place_toggled) : deleted
      	(copy_to_toggled) : deleted
      	(new_sheet_toggled) : deleted
      	(new_workbook_toggled) : deleted
      	(dialog_help_cb) : deleted
      	(advanced_filter_update_sensitivity_cb) : new callback
      	(advanced_filter_ok_clicked_cb) : new callback
      	(dialog_advanced_filter_init) : new procedure (create guru)
      	(dialog_advanced_filter) : rewrite as guru
      	* dialog-analysis-tools.c : move various definitions to
      	  src/analysis-tools.h
      	(gnumeric_expr_entry_parse_to_value) : make non-static
      	(error_in_entry) : make non-static
      	(parse_output) : make non-static
      	(tool_destroy) : make non-static
      	(tool_set_focus) : make non-static
      	(dialog_tool_init_outputs) : make non-static
      	(dialog_tool_init_buttons) : make non-static
      	(tool_load_selection) : make non-static
      
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-database.c (parse_database_criteria) : make non-static
      
      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
      3294cf93
  13. 25 Jan, 2002 1 commit
  14. 22 Jan, 2002 1 commit
  15. 19 Jan, 2002 2 commits
    • Jon Kåre Hellan's avatar
      New function to free GDate. Can be called with NULL without complaining. · fed27e9b
      Jon Kåre Hellan authored
      * src/datetime.c (datetime_g_free): New function to free
      GDate. Can be called with NULL without complaining.
      (coupdays, coupdaybs, coupdaysnc):
      
      * src/sheet-autofill.c (autofill_compute_delta, autofill_cell):
      Use datetime_g_free instead of g_date_free.
      
      * src/functions/fn-financial.c (days_monthly_basis, func_coup)
      (gnumeric_accrint, gnumeric_price, gnumeric_yield)
      (gnumeric_oddfprice): Use datetime_g_free instead of g_date_free.
      
      * src/functions/fn-date.c (gnumeric_datedif, gnumeric_edate,
      gnumeric_edate) (gnumeric_edate, gnumeric_days360, get_serial_weekday)
      (networkdays_holiday_callback): Ditto.
      fed27e9b
    • Neil Booth's avatar
      New. (gnumeric_accrint, gnumeric_accrintm, gnumeric_intrate, · 835d5a14
      Neil Booth authored
      2002-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
      
      	* functions/fn-financial.c (is_valid_basis, is_valid_freq): New.
      	(gnumeric_accrint, gnumeric_accrintm, gnumeric_intrate,
      	gnumeric_received, gnumeric_pricedisc, gnumeric_pricemat,
      	gnumeric_disc, gnumeric_price, gnumeric_yield,
      	gnumeric_oddfprice): Use them.
      835d5a14
  16. 18 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      removed (days_between_BASIS_MSRB_30_360) : new, calculate delta for · da03a770
      Andreas J. Guelzow authored
      2002-01-18  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c (adjust_dates_basis) : removed
      	(days_between_BASIS_MSRB_30_360) : new, calculate delta for
      	  BASIS_MSRB_30_360
      	(days_between_BASIS_30E_360) : new, calculate delta for BASIS_30E_360
      	(days_between_BASIS_30Ep_360) : new, calculate delta for
      	  BASIS_30Ep_360
      	(days_between_basis) : replaces days_between_dep_basis, extremely
      	  simplified
      	(coup_cd_xl) : removed
      	(coupdays) : delete attempt to be XL compatible
      	(coupdaybs) : delete attempt to be XL compatible
      	(coupdaysnc) : delete attempt to be XL compatible
      	* src/datetime.h : change basis_t enumeration slightly and change
      	  arguments for days_between_basis, coup_cd, coupdays, coupdaybs
      	  and coupdaysnc
      
      2002-01-18  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c : change arguments to coupdaybs, coupdaysnc,
      	  coupdays and coupnum
      	(coupnum) : simplify
      	(couppcd, coupncd) : ignore XL
      	(func_coup_cd) change to func_coup wrapping more functions
      	(gnumeric_coupdaybs) : change into wrapper around func_coup_cd
      	(gnumeric_coupdays) : ditto
      	(gnumeric_coupdaysnc) : ditto
      	(gnumeric_coupncd) : ditto
      	(gnumeric_couppcd) : ditto
      	(gnumeric_coupnum) : ditto
      	(finance_functions_init) : add another optional argument to
      	  gnumeric_coupnum
      da03a770
  17. 17 Jan, 2002 1 commit
  18. 16 Jan, 2002 2 commits
    • Jon K Hellan's avatar
      Return string as documented, not float. · 3aff8b30
      Jon K Hellan authored
      2002-01-16  Jon K Hellan  <hellan@acm.org>
      
      	* fn-sheet.c (gnumeric_version): Return string as documented, not
      	float.
      3aff8b30
    • Andreas J. Guelzow's avatar
      change oem to eom, don't release null maturity or settlement. Implement · 234c66fa
      Andreas J. Guelzow authored
      2002-01-16  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c : change oem to eom, don't release null maturity
      	  or settlement. Implement `xl' selector
      	(coupdaybs) : fix documentation
      	(coupncd) : fix documentation
      	(couppcd) : fix documentation
      	(coupdayscd) : fix documentation
      	(coupdays) :  fix documentation
      
      2002-01-16  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c : change oem to eom
      	(days_between_dep_basis) : fix basis == 0, add `in_order' flag
      	(adjust_dates_basis) : fix basis == 0
      	(coupdays) : fix basis == 2, 3 and partially fix to
      	  basis == 1
      234c66fa
  19. 15 Jan, 2002 2 commits
    • Jody Goldberg's avatar
      Release 1.0.2 · 8421ff1e
      Jody Goldberg authored
      8421ff1e
    • Andreas J. Guelzow's avatar
      Change parameters in calls to coupdaysnc, coupdaybs and coupdays. · 8213cf77
      Andreas J. Guelzow authored
      2002-01-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c : Change parameters in calls to coupdaysnc,
      	coupdaybs and coupdays.
      	(func_coup_cd) : extract common code from
      	  gnumeric_coupncd and gnumeric_couppcd (proposed by Neil Booth)
      	(gnumeric_coupncd) : change into wrapper for func_coup_cd
      	(gnumeric_couppcd) : change into wrapper for func_coup_cd
      
      2002-01-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c (coup_cd_xl) : new function (XL compatible
      	  implementation of coup_cd.
      	(coupdays) : add xl boolean parameter, call coup_cd or coup_cd_xl
      	  depending on xl.
      	(coupdaybs) : ditto
      	(coupdaysnc) : ditto
      	* src/datetime.h (coupdays) : add xl boolean parameter
      	(coupdaybs) : ditto
      	(coupdaysnc) : ditto
      8213cf77
  20. 14 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      rewrite and move to datetime.c (coupdaybs) : rewrite and move to · 99b0121d
      Andreas J. Guelzow authored
      2002-01-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c (coupdays) : rewrite  and move to datetime.c
      	(coupdaybs) : rewrite and move to datetime.c
      	(days_between_dep_basis) : fix small error and move to datetime.c
      	(adjust_dates_basis) : move to datetime.c
      	(coupncd) : move to datetime.c
      	(couppcd) : move to datetime.c
      	(gnumeric_coupdaybs) : add optional OEM argument
      	(gnumeric_coupdays) : add optional OEM argument
      	(finance_functions_init) : add optional OEM arguments to
      	  gnumeric_coupdaybs and gnumeric_coupdays
      
      2002-01-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c (coupdays) : moved from src/functions/fn-financial.c
      	(coupdaybs) : ditto
      	(days_between_dep_basis) : ditto
      	(adjust_dates_basis) : ditto
      	(coupncd) : ditto
      	(couppcd) : ditto
      	* src/datetime.h (coupdays) : moved from src/functions/fn-financial.c
      	(coupdaybs) : ditto
      	(days_between_dep_basis) : ditto
      	(adjust_dates_basis) : ditto
      	(coupncd) : ditto
      	(couppcd) : ditto
      99b0121d
  21. 13 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      replace with coup_cd (gnumeric_couppcd) : add optional OEM argument · 8ba06bd6
      Andreas J. Guelzow authored
      2002-01-13  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c (coupncd, couppcd) : replace with coup_cd
      	(gnumeric_couppcd) : add optional OEM argument
      	(gnumeric_coupdayscd) : add optional OEM argument
      	(finance_functions_init) : add optional OEM arguments to
      	  couppcd and coupdayscd
      	(coupdayscd) : rewrite
      	(adjust_dates_basis) : new utility procedure
      	(days_between_dep_basis) : new utility procedure
      8ba06bd6
  22. 12 Jan, 2002 1 commit
  23. 10 Jan, 2002 1 commit
    • Jon K Hellan's avatar
      New function. Return the ISO 8601 week number of date. (gnumeric_weeknum): · 90b63e8f
      Jon K Hellan authored
      2002-01-10  Jon K Hellan  <hellan@acm.org>
      
      	* src/functions/fn-date.c (gnumeric_isoweeknum): New
      	function. Return the ISO 8601 week number of date.
      	(gnumeric_weeknum): New function. Return week number of date
      	according to method.  (date_functions_init): Include them in
      	table.
      
      	* src/datetime.c (datetime_isoweeknum): Added. Return the ISO 8601
      	week number of date.
      	(datetime_weeknum): Added. Return week number of date according to
      	method.
      
      	* src/datetime.h: define week numbering methods. Declare
      	datetime_isoweeknum and datetime_weeknum.
      90b63e8f
  24. 08 Jan, 2002 2 commits
  25. 06 Jan, 2002 1 commit
  26. 04 Jan, 2002 6 commits