1. 25 May, 2018 2 commits
  2. 16 May, 2018 1 commit
    • Morten Welinder's avatar
      Editors: no per-file style setup. · c5acbad1
      Morten Welinder authored
      The Emacs replacement is something like this:
      
      (add-hook 'c-mode-hook
      	  (lambda ()
      	    (let ((filename (buffer-file-name)))
      	      (and filename
      		   (string-match "/gnumeric/" filename)
      		   (progn
      		     (c-set-style "linux"))))))
      c5acbad1
  3. 01 Jan, 2018 1 commit
  4. 30 Dec, 2017 1 commit
    • Morten Welinder's avatar
      Arrays: code cleanup. · c5c51af8
      Morten Welinder authored
      This moves us closer to making array corners and elements part of GnmExprTop
      as opposed to the current state where they are in GnmExpr, but are only
      allowed at top level.
      
      Specifically, with this commit, we now query attributes of array
      corners and elements mostly with a texpr.  Mostly.
      
      A nice side effect is that many expr-impl.h includes can be removed.  We
      have too many of those.
      c5c51af8
  5. 21 Nov, 2017 1 commit
  6. 22 Dec, 2015 1 commit
  7. 26 Oct, 2014 1 commit
    • Morten Welinder's avatar
      Standards: be C99 compliant when accessing GnmValue's type. · d660a287
      Morten Welinder authored
      There are three standards compliant ways of getting the tag field
      for a union like GnmValue.
      
      1. Via the subtype struct that the value has.  That only works (and
         is utterly pointless) when we already know the value type.
      
      2. Via another union member that is a structure having one or more
         initial members matching the actual struct type.  The silly thing
         is that this rule only applies to structs; I guess that is an
         oversight, but a fat lot of good that does us now.  In practice
         this means we should use ->v_any.type for that.
      
      3. Using the pointer-to-first-struct-member rule.
      
      To simplify matters, define VALUE_IS_ARRAY and VALUE_IS_CELLRANGE
      macros.
      d660a287
  8. 21 Mar, 2014 1 commit
  9. 05 Mar, 2014 1 commit
  10. 22 Feb, 2014 2 commits
  11. 21 Feb, 2014 1 commit
  12. 08 Dec, 2013 1 commit
  13. 16 Apr, 2013 1 commit
  14. 10 Apr, 2013 3 commits
  15. 26 Mar, 2013 1 commit
  16. 13 Mar, 2012 1 commit
  17. 09 Mar, 2012 1 commit
  18. 08 Mar, 2012 1 commit
  19. 22 May, 2011 1 commit
  20. 29 Mar, 2010 1 commit
  21. 14 Oct, 2009 1 commit
  22. 13 Oct, 2009 1 commit
  23. 12 Oct, 2009 1 commit
  24. 20 Aug, 2009 1 commit
  25. 15 Jun, 2009 1 commit
  26. 10 Jun, 2009 1 commit
  27. 08 Jun, 2009 1 commit
  28. 01 Apr, 2009 1 commit
  29. 18 Feb, 2009 1 commit
    • Morten Welinder's avatar
      Use excel_func_by_name hash table instead of linear search. · 302f95f5
      Morten Welinder authored
      2009-02-18  Morten Welinder  <terra@gnome.org>
      
      	* ms-formula-write.c (do_excel_write_prep_expr): Use
      	excel_func_by_name hash table instead of linear search.
      
      	* ms-excel-read.c (excel_read_init): Set up new hash table
      	excel_func_by_name.
      
      
      svn path=/trunk/; revision=17144
      302f95f5
  30. 11 Jan, 2009 1 commit
  31. 25 Jul, 2008 1 commit
    • Morten Welinder's avatar
      [Initial patch from Nick Lamb, see bug 69813.] · 8825eab3
      Morten Welinder authored
      2008-07-25  Morten Welinder  <terra@gnome.org>
      
      	[Initial patch from Nick Lamb, see bug 69813.]
      
      	* src/expr.h (enum GnmExprOp): Add new GNM_EXPR_OP_PAREN for
      	parentheses.
      
      	* src/parser.y: Create GNM_EXPR_OP_PAREN node.
      
      	* src/auto-format.c (do_af_suggest): Handle GNM_EXPR_OP_PAREN.
      	* src/expr.c (gnm_expr_eval): Ditto.
      
      
      svn path=/trunk/; revision=16724
      8825eab3
  32. 18 Nov, 2007 1 commit
    • Morten Welinder's avatar
      Fix error message. · 418cd2fe
      Morten Welinder authored
      2007-11-17  Morten Welinder  <terra@gnome.org>
      
      	* ms-formula-write.c (write_funcall): Fix error message.
      
      
      svn path=/trunk/; revision=16166
      418cd2fe
  33. 27 Oct, 2007 2 commits
  34. 24 Oct, 2007 1 commit
  35. 21 Mar, 2007 1 commit
    • Jody Goldberg's avatar
      keep f before v, but do not try to export an attribute of c once we have · 6480b96f
      Jody Goldberg authored
      2007-03-19  Jody Goldberg <jody@gnome.org>
      
      	* xlsx-write.c (xlsx_write_cells) : keep f before v, but do not try to
      	  export an attribute of c once we have started the f or v.
      	(xlsx_write_cells) : export array formulas.
      	(xlsx_write_cells) : export bool values a "1" "0" rather than
      	  value_get_as_string.
      
      2007-03-18  Jody Goldberg <jody@gnome.org>
      
      	* xlsx-read.c (xlsx_file_open) : Visible error if no workbook is
      	  found.
      
      	* xlsx-write.c (xlsx_write_sheet) : Define some new constants for the
      	  spreadsheet, and relationship namespaces.  Then update them to the
      	  versions used in the official 2007 release.
      	(xlsx_write_shared_strings) : ditto.
      	(xlsx_write_styles) : ditto.
      	(xlsx_write_workbook) : ditto.
      	(xlsx_write_col) : up the accuracy of width export to match XL 2007.
      	  put hidden before other flags to ease visual inspection of xml.
      	(xlsx_write_cols) : skip initial empty cols, and include the last col. 
      
      svn path=/trunk/; revision=15465
      6480b96f