1. 02 Aug, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      Use formatting attributes whenever we format numbers. [#584380][#651561] · 08425f65
      Andreas J. Guelzow authored
      2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* configure.in: Disable GTK depreciation check
      	* src/cell-draw.c (cell_calc_layout): use gnm_rendered_value_get_color
      	* src/cell.c (gnm_cell_get_render_color): ditto
      	* src/gnm-format.c (gnm_format_layout): drop argument and change all
      	callers
      	(format_value_gstring): ditto
      	(format_value): ditto
      	(format_value_layout): new
      	* src/gnm-format.h (gnm_format_layout): drop argument and change all
      	callers
      	(format_value_gstring): ditto
      	(format_value): ditto
      	(format_value_layout): new
      	* src/rendered-value.c (gnm_rendered_value_new): include foreground
      	color in attributes list
      	(colour_selector_cb): new
      	(colour_from_layout): new
      	* src/widgets/gnm-format-sel.c (cb_generate_preview): use attributes
      	* src/workbook-view.c (wb_view_auto_expr_recalc): use
      	format_value_layout
      08425f65
  2. 15 Jun, 2010 1 commit
  3. 23 Dec, 2009 1 commit
  4. 05 Sep, 2009 1 commit
  5. 22 Aug, 2009 1 commit
  6. 19 Aug, 2009 1 commit
  7. 10 Jun, 2009 1 commit
  8. 08 Jun, 2009 1 commit
  9. 15 Dec, 2008 2 commits
    • Morten Welinder's avatar
      New function. (datetime_value_to_serial_raw): Err on negative date numbers · daf4200f
      Morten Welinder authored
      2008-12-15  Morten Welinder  <terra@gnome.org>
      
      	* src/gnm-datetime.c (gnm_datetime_allow_negative): New function.
      	(datetime_value_to_serial_raw): Err on negative date numbers
      	unless goffice supports them.
      
      2008-12-15  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_unix2date): check for overflow.
      	(float_to_secs): Handle negative values.  Range check arguments.
      
      
      svn path=/trunk/; revision=17024
      daf4200f
    • Morten Welinder's avatar
      check for overflow. · df190e55
      Morten Welinder authored
      2008-12-15  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_unix2date): check for overflow.
      
      
      svn path=/trunk/; revision=17023
      df190e55
  10. 14 Dec, 2008 1 commit
    • Morten Welinder's avatar
      Handle overflow. (datetime_value_to_g): Use G_MAXINT for errors. · 2c5eb788
      Morten Welinder authored
      2008-12-14  Morten Welinder  <terra@gnome.org>
      
      	* src/gnm-datetime.c (datetime_value_to_serial): Handle overflow.
      	(datetime_value_to_g): Use G_MAXINT for errors.
      	(datetime_value_to_serial_raw): Make static.  Return G_MAXINT for
      	errors.
      	Fixes #564502.
      
      
      svn path=/trunk/; revision=17013
      2c5eb788
  11. 29 Jun, 2008 1 commit
  12. 27 Jun, 2008 1 commit
    • Morten Welinder's avatar
      New functions. · 07f3acad
      Morten Welinder authored
      2008-06-27  Morten Welinder  <terra@gnome.org>
      
      	* src/gnm-datetime.c (gnm_date_add_days, gnm_date_add_months): New
      	functions.
      
      	* src/sheet-autofill.c (afm_compute): Simplify using
      	gnm_date_add_months.
      
      2008-06-27  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_date, datedif_opt_md, gnumeric_edate,
      	gnumeric_eomonth): Simplify using gnm_date_add_months and
      	gnm_date_add_days.
      
      2008-06-27  Morten Welinder  <terra@gnome.org>
      
      	* fill-series.c (do_row_filling_wday, do_column_filling_wday):
      	Simplify using gnm_date_add_days.
      	(do_row_filling_month, do_column_filling_month): Simplify using
      	gnm_date_add_months.
      
      
      svn path=/trunk/; revision=16675
      07f3acad
  13. 23 Jun, 2008 1 commit
  14. 08 Sep, 2007 1 commit
  15. 29 Mar, 2006 1 commit
  16. 23 Mar, 2006 1 commit
    • Morten Welinder's avatar
      Check validity of date. · a398fb6b
      Morten Welinder authored
      2006-03-23  Morten Welinder  <terra@gnome.org>
      
      	* src/gnm-datetime.c (datetime_value_to_g): Check validity of
      	date.
      
      2006-03-23  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_workday): Implement a fairly decent
      	version of this.
      	(gnumeric_edate, gnumeric_eomonth): Improve compatibility.
      a398fb6b
  17. 25 Jan, 2006 1 commit
    • Morten Welinder's avatar
      Kill. · 027481c9
      Morten Welinder authored
      2006-01-24  Morten Welinder  <terra@gnome.org>
      
      	* src/gnm-datetime.c (datetime_value_to_seconds): Kill.
      
      2006-01-21  Morten Welinder  <terra@gnome.org>
      
      	* src/parse-util.h (struct _GnmExprConventions): Replace
      	ignore_spaces by new intersection_char member.  All users fixed.
      
      	* src/parser.y (yylex): Handle RANGE_INTERSECTION as symbolic
      	token by translating space or whatever to that.
      
      	* src/parse-util.c (gnm_expr_conventions_new): Default
      	intersection char is space.
      
      	* src/expr.c (do_expr_as_string): Append the right intersection
      	operator.
      
      2006-01-22  Morten Welinder  <terra@gnome.org>
      
      	* openoffice-read.c: Stub for table:named-range.
      
      2006-01-24  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_second, gnumeric_minute, gnumeric_hour):
      	Improve Excel compatibility.
      027481c9
  18. 08 Aug, 2005 1 commit
  19. 08 Feb, 2005 1 commit