1. 16 Jul, 2002 1 commit
  2. 14 Jul, 2002 1 commit
    • Jody Goldberg's avatar
      fix 3d handling, and convert. · 7627f07e
      Jody Goldberg authored
      
      2002-07-13  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_foreach_cell_in_range) : fix 3d handling,
      	  and convert.
      
      	* src/sheet.c (sheet_foreach_cell_in_range) : convert from boolean to
      	  bit flags and support only_visible in addition to only existing.
      	(sheet_col_size_fit_pixels) : Only fit visible cells.
      	(sheet_row_size_fit_pixels) : ditto.
      
      2002-07-12  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (cb_max_cell_width) : leave merged cells out of the
      	  running.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=87987
      	(sheet_range_bounding_box) : nice catch, thankfully it is a new bug.
      7627f07e
  3. 08 Jul, 2002 1 commit
    • Jody Goldberg's avatar
      Add GnmHLink. · d6271c90
      Jody Goldberg authored
      
      2002-07-07  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric.h : Add GnmHLink.
      
      	* src/item-grid.c : include hlink.h
      	(item_grid_event) : a button release on an h-link activates it.
      
      	* src/Makefile.am : Add hlink.[ch]
      
      	* src/sheet.h : Lets take a break from architecture and add something
      	  simple like hyper-links.
      d6271c90
  4. 07 Jul, 2002 6 commits
    • Jukka Pekka's avatar
      Fixed. · dbb8e32c
      Jukka Pekka authored
      2002-07-07  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* functions.c (gnumeric_yield): Fixed.
      dbb8e32c
    • Jon Kåre Hellan's avatar
      Added function ISOYEAR. · 315ef49c
      Jon Kåre Hellan authored
      * plugins/fn-date/plugin.xml.in: Added function ISOYEAR.
      
      * plugins/fn-date/functions.c (gnumeric_date, datedif_opt_yd, datedif_opt_md,
      gnumeric_year, gnumeric_month, gnumeric_day, gnumeric_weekday,
      gnumeric_days360, gnumeric_eomonth, gnumeric_workday, get_serial_weekday,
       networkdays_holiday_callback, gnumeric_networkdays): Replaced deprecated
      g_date_xxx with g_data_get_xxx.
      (gnumeric_isoweeknum): Cross reference ISOYEAR in docs.
      (gnumeric_isoyear): New function implementing new spreadsheet funtion
      ISOYEAR: The year an ISO 8601 week number refers to.
      
      * plugins/fn-financial/functions.c (annual_year_basis, days_monthly_basis,
       coupnum): Replaced deprecated g_date_xxx with g_data_get_xxx.
      
      * src/datetime.c (date_init, datetime_g_to_serial,
      datetime_g_days_between, datetime_g_months_between, datetime_isoweeknum,
      datetime_weeknum, days_between_BASIS_MSRB_30_360,
      days_between_BASIS_30E_360, days_between_BASIS_30Ep_360,
      days_between_basis, coup_cd): Ditto
      
      * src/sheet-autofill.c (autofill_compute_delta): Ditto.
      315ef49c
    • jpekka's avatar
      Implemented MDURATION(). · bbe6cbad
      jpekka authored
      bbe6cbad
    • jpekka's avatar
      Implemented CUMIPMT(). · c219bf4a
      jpekka authored
      c219bf4a
    • Jukka Pekka's avatar
      Implemented. · 416a4884
      Jukka Pekka authored
      2002-07-07  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* functions (gnumeric_cumprinc): Implemented.
      
      	* sc-fin.c (GetRmz,GetZw,get_cumprinc): Added.
      416a4884
    • Jukka Pekka's avatar
      Renamed DURATION() as G_DURATION(). Wrote a new DURATION() that is XL · 20215164
      Jukka Pekka authored
      2002-07-07  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
              * functions.c (gnumeric_duration): Renamed DURATION() as
              G_DURATION().  Wrote a new DURATION() that is XL compatible.
      
              * sc-fin.c (get_duration): Added.
      20215164
  5. 06 Jul, 2002 1 commit
    • Jukka Pekka's avatar
      Implemented. Thanks for OO, read the comment in sc-fin.c. · 4715611d
      Jukka Pekka authored
      2002-07-06  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
              * functions.c (gnumeric_amordegrc, gnumeric_amorlinc,
              gnumeric_oddlprice, gnumeric_oddlyield, gnumeric_yieldmat,
              gnumeric_yielddisc): Implemented. Thanks for OO, read the comment
              in sc-fin.c.
      
              * sc-fin.[ch], Makefile.am: Added new file.
      4715611d
  6. 14 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      add drachma. · af2c5684
      Jody Goldberg authored
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* functions.c (gnumeric_euro) : add drachma.
      
      2002-06-14  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c : convert to gsf input and restructure quite a bit to
      	  be more flexible, add support for applix-5, and support
      	  hidden/locked formats.
      af2c5684
  7. 04 May, 2002 1 commit
  8. 13 Apr, 2002 1 commit
  9. 22 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      Massive rename ExprTree -> GnmExpr · 0ac8fbbf
      Jody Goldberg authored
      
      2002-03-21  Jody Goldberg <jody@gnome.org>
      
      	* Massive rename
      	ExprTree -> GnmExpr
      
      	* src/print-info.c (load_formats) : suppress some warnings.
      
      	* src/func.c (function_def_call_with_values) : use g_alloca.
      0ac8fbbf
  10. 16 Mar, 2002 1 commit
  11. 15 Mar, 2002 1 commit
  12. 07 Mar, 2002 1 commit
    • 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
  13. 05 Mar, 2002 1 commit
    • Morten Welinder's avatar
      Improve precision of %. · aa45eef9
      Morten Welinder authored
      2002-03-05  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (expr_eval_real): Improve precision of %.
      
      2002-03-05  Morten Welinder  <terra@diku.dk>
      
      	* fn-financial.c (gnumeric_euro): Improve precision.
      aa45eef9
  14. 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
  15. 20 Feb, 2002 1 commit
    • 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
  16. 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
  17. 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
  18. 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
  19. 16 Jan, 2002 1 commit
    • 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
  20. 15 Jan, 2002 1 commit
    • 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
  21. 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
  22. 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
  23. 12 Jan, 2002 1 commit
  24. 21 Dec, 2001 1 commit
  25. 20 Dec, 2001 4 commits
  26. 26 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      add OPER_SET. ditto. ditto. (expr_tree_equal) : ditto. (expr_eval_real) : · 217a63bd
      Jody Goldberg authored
      2001-11-25  Jody Goldberg <jody@gnome.org>
      
      	* src/eval.c (handle_tree_deps) : add OPER_SET.
      	* src/expr-name.c (name_refer_circular) :  ditto.
      	* src/expr.c (do_expr_tree_unref) : ditto.
      	(expr_tree_equal) : ditto.
      	(expr_eval_real) : ditto.
      	(expr_rewrite) : ditto.
      	(do_expr_tree_as_string) : ditto.
      	(expr_tree_new_funcall) : use ExprList.
      	(expr_parse_string) : delete.
      	(expr_tree_new_set) : new.
      	(expr_list_unref) : new.
      	(expr_list_equal) : new.
      	(expr_list_as_string) : new.
      
      	* src/gnumeric.h : Add ExprList and ExprSet
      
      	* src/parser.y (expr_parse_str) : renamed from gnumeric_expr_parser.
      	  Add support for multiple expressions.
      	(line) : add support for multiple expressions.
      
      	* src/ranges.c (global_range_parse) : Use expr_parse_str
      	(global_range_list_parse) : rewrite to use expr_parse_str and use the
      	  new multi-expression support in the parser.
      
      	* src/commands.c (cmd_area_set_text_redo) : Use expr_parse_str.
      	* src/xml-io.c (xml_read_style_condition_chain) : ditto.
      	(xml_cell_set_array_expr) : ditto.
      	* src/workbook-view.c (wb_view_auto_expr) : ditto.
      	* src/workbook-edit.c (wbcg_edit_finish) : ditto.
      	* src/sheet-object-widget.c (sheet_widget_checkbox_read_xml) : ditto.
      	* src/parse-util.c (parse_text_value_or_expr) : ditto.
      
      	* src/auto-format.c (do_af_suggest) : Use ExprList instead of GList
      	(do_af_suggest_list) : ditto.
      	* src/collect.c (collect_floats) : ditto.
      	(collect_floats_value) : ditto.
      	(float_range_function) : ditto.
      	* src/consolidate.c (simple_consolidate) : ditto.
      	(colrow_formula_args_build) : ditto.
      	(consolidate_apply) : ditto.
      217a63bd
  27. 19 Nov, 2001 1 commit
  28. 16 Nov, 2001 1 commit
  29. 09 Nov, 2001 1 commit
  30. 08 Nov, 2001 1 commit
  31. 06 Nov, 2001 1 commit