1. 03 Aug, 2011 1 commit
  2. 30 Jul, 2011 1 commit
  3. 23 May, 2011 1 commit
  4. 22 May, 2011 1 commit
  5. 20 May, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      Handle [#REF!] and friends on ODF import. [#650640] · cd4a5fc5
      Andreas J. Guelzow authored
      2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-read.c (oo_cellref_parse): return invalid_sheet when
      	encountering #REF!, check for this return value in all callers
      	(oo_rangeref_parse): check for invalid_sheet, check for this return
      	value in all callers
      	(oo_expr_rangeref_parse): check for [#REF!]
      
      2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/sheet.h (invalid_sheet): new
      	* src/sheet.c (invalid_sheet): initialize
      	* src/parser.y (yylex): convs->input.range_ref might return
      	invalid_sheet
      cd4a5fc5
  6. 18 May, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      From ODF also import named expressions with illegal name. [#650125] · 130565c6
      Andreas J. Guelzow authored
      2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/parse-util.h (_GnmConventions): add name_validate field
      	* src/parse-util.c (gnm_conventions_new_full): initialize name_validate
      	* src/parser.y (parser_simple_val_or_name): use
      	state->convs->input.name_validate
      
      2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-read.c (odf_fix_expr_names): new stub
      	(odf_expr_name_validate): new
      	(oo_conventions_new): connect odf_expr_name_validate
      	(openoffice_file_open): connect odf_fix_expr_names
      130565c6
  7. 10 May, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      ODF 1.2 import fix [#649906] · 1ee8b864
      Andreas J. Guelzow authored
      2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-write.c (odf_string_handler): add comment
      	* openoffice-read.c (odf_strunescape): new
      	(oo_conventions_new): connect odf_strunescape
      
      2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/parse-util.h (_GnmConventions): add input.string
      	* src/parse-util.c (std_string_parser): new
      	(gnm_conventions_new_full): connect std_string_parser
      	* src/parser.y (yylex): use state->convs->input.string
      1ee8b864
  8. 22 Mar, 2011 1 commit
  9. 18 Mar, 2011 1 commit
  10. 27 Oct, 2010 1 commit
  11. 13 Jul, 2010 1 commit
    • Andreas J. Guelzow 's avatar
      Improve function tooltips. [#623322] · 9ea964ac
      Andreas J. Guelzow authored
      2010-07-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* gnumeric-expr-entry.c (gee_dump_lexer): new
      	(gee_check_tooltip): rewrite using gnm_expr_lex_all
      
      2010-07-13  Morten Welinder  <terra@gnome.org>
      
      	* src/parse-util.h (gnm_expr_lex_all): new
      	(GnmLexerItem): new type
      	* src/parser.y (setup_state): new (code from gnm_expr_parse_str)
      	(gnm_expr_lex_all): new
      	(gnm_expr_parse_str): use setup_state
      9ea964ac
  12. 14 Jun, 2010 1 commit
  13. 08 Dec, 2009 1 commit
    • Jody Goldberg's avatar
      commit bfb4ae33fb9fceb10478d87996b80d4a1689bba9 · 252ca3b8
      Jody Goldberg authored
      Author: Jody Goldberg <jody@gnome.org>
      Date:   Fri Dec 4 06:31:03 2009 -0500
      
          [win32] package updates
      
          - poppler to 0.12.2
          - drop gnomedb which is subsumed into gda
          - update gda to 4.1.3
          - update to pcre 8.0
          - restore GOFFICE_VERSION
          - add tok_ prefix to parser tokens with simple names that might be used in other headers (AND, NOT)
          - move to newer versions gtk/glib
      252ca3b8
  14. 18 Nov, 2009 1 commit
  15. 15 Jun, 2009 1 commit
  16. 11 Jun, 2009 1 commit
  17. 10 Jun, 2009 3 commits
  18. 08 Jun, 2009 1 commit
  19. 12 May, 2009 1 commit
  20. 02 May, 2009 1 commit
  21. 28 Apr, 2009 2 commits
  22. 01 Apr, 2009 1 commit
  23. 31 Jan, 2009 1 commit
    • Morten Welinder's avatar
      Use gnm_expr_new_range_ctor, not build_binop. · 54534f74
      Morten Welinder authored
      2009-01-31  Morten Welinder  <terra@gnome.org>
      
      	* src/parser.y (build_range_ctor): Use gnm_expr_new_range_ctor,
      	not build_binop.
      
      	* src/expr.c (gnm_expr_new_range_ctor): New function.
      
      
      svn path=/trunk/; revision=17120
      54534f74
  24. 11 Dec, 2008 1 commit
  25. 02 Dec, 2008 1 commit
  26. 17 Oct, 2008 1 commit
  27. 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
  28. 21 May, 2008 2 commits
    • Morten Welinder's avatar
      Always NULL ->cell_iter. · e85ac992
      Morten Welinder authored
      2008-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/value-sheet.c (value_area_foreach): Always NULL ->cell_iter.
      
      2008-05-21  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_countblank): Use value_area_* functions.
      	Fixes #534204.
      
      
      svn path=/trunk/; revision=16595
      e85ac992
    • Morten Welinder's avatar
      Further parser fixes. Clarify the error handling rules. Fixes #534131. · ed175764
      Morten Welinder authored
      2008-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/parser.y: Further parser fixes.  Clarify the error handling
      	rules.  Fixes #534131.
      
      
      svn path=/trunk/; revision=16593
      ed175764
  29. 20 May, 2008 1 commit
    • Morten Welinder's avatar
      Propagate errors. Fixes #533951. · 84883996
      Morten Welinder authored
      2008-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/parser.y (fold_positive_constant, fold_negative_constant,
      	build_unary_op, build_binop, build_logical, build_not,
      	build_intersect, build_set): Propagate errors.  Fixes #533951.
      
      
      svn path=/trunk/; revision=16587
      84883996
  30. 28 Oct, 2007 1 commit
    • Jody Goldberg's avatar
      finish. And use the new cmd_create_data_table. · 123f215d
      Jody Goldberg authored
          2007-10-27  Jody Goldberg <jody@gnome.org>
      
          	* dialog-data-table.c (dialog_data_table) : finish.  And use the new
          	  cmd_create_data_table.
      
          2007-10-27  Jody Goldberg <jody@gnome.org>
      
          	* gnumeric-expr-entry.c : Move from
          	  ABS_COL/ABS_ROW -> FORCE_ABS/FORCE_REL
          	  All callers changed.
      
          2007-10-27  Jody Goldberg <jody@gnome.org>
      
          	* src/commands.c (cmd_create_data_table) : New.  Wrapper to set_area
          	  that creates a data table with undo capabilities.
      
          	* src/func-builtin.c (gnumeric_table) : clear the val point in a cell
          	  before destroying it because the value was a temporary and has
          	  already been released.  Cache and restore the x_iter value to avoid
          	  leaving the last calculated value in the cell after evaluating for
          	  TABLE(,ADDR)
      
          	* src/parser.y : convert from distinct gboolean flags to using a
          	  simple bit mask.  Switch from distinct ABS_COL/ABS_ROW to ABS and
          	  REL.  There was no need to split COL vs ROW, but there was a need
          	  [Data->Table] to force relative (XL requires rel refs).
      
      svn path=/trunk/; revision=16026
      123f215d
  31. 19 Jul, 2007 1 commit
  32. 16 Jun, 2007 1 commit
    • Jody Goldberg's avatar
      release the page breaks. (print_info_load_defaults) : init them. · 929b86a9
      Jody Goldberg authored
      2007-06-15  Jody Goldberg <jody@gnome.org>
      
      	* src/print-info.c (print_info_free) : release the page breaks.
      	(print_info_load_defaults) : init them.
      	(print_info_dup) : dup them.
      	(print_info_set_breaks) : new.
      	(gnm_page_breaks_new) : new.
      	(gnm_page_breaks_dup) : new.
      	(gnm_page_breaks_free) : new.
      	(gnm_page_breaks_append_break) : new.
      
      	* src/print-info.h (GnmPageBreakType) : new.
      	(GnmPageBreak) : new.
      
      	* src/parse-util.c (gnm_expr_parse_str_simple) : rename arg to be more
      	  consistent.
      
      2007-06-15  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_expr_parse_str) : make this a real function
      	  and centralize the error handling.
      	(oo_cell_start) : simplify expr parse error handling.
      	(oo_named_expr) : ditto.
      	(od_plot_area) : ditto.
      	(oo_table_start) : apply the table style.
      	(oo_col_start) : make the col/row style smarter in prep for page breaks.
      	(oo_row_start) : ditto.
      	(oo_style) : handle table styles.
      	(oo_style_end) : ditto.
      	(oo_style_prop) : ditto.
      	(oo_page_break_type) : new.
      	(oo_style_prop_col_row) : merge oo_style_prop_row and
      	  oo_style_prop_col and add support for page breaks.
      	(oo_style_prop_table) : new.
      	(openoffice_file_open) : init the table styles.
      
      	* openoffice-write.c (odf_write_table_style) : new.
      	(table_style_name) : new.
      	(odf_write_table_styles) : generate the styles based on the sheets.
      	(odf_write_content) : write a style appropriate for the sheet.
      
      2007-06-16  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_PAGE_BREAK) : new.
      	(excel_read_sheet) : called from here.
      
      	* ms-excel-write.c (excel_write_PAGE_BREAK) : new.
      	(write_sheet_head) : called from here.
      
      	* xlsx-read.c (xlsx_CT_PageBreak) : new.
      	(xlsx_CT_PageBreaks_begin) : new.
      	(xlsx_CT_PageBreaks_end) : new.
      
      	* xlsx-write.c (xlsx_write_breaks) : new.
      	(xlsx_write_print_info) : called from here.
      
      svn path=/trunk/; revision=15605
      929b86a9
  33. 30 Apr, 2007 1 commit
    • Jody Goldberg's avatar
      Begin generalizing the conventions to properly support ODF-1.2 output. · b5c0ac51
      Jody Goldberg authored
      2007-04-29  Jody Goldberg <jody@gnome.org>
      
      	Begin generalizing the conventions to properly support ODF-1.2 output.
      	s/GnmExprConventions/GnmConventions/
      	s/gnm_expr_conventions_new_full/gnm_conventions_new_full/
      	s/gnm_expr_conventions_new/gnm_conventions_new/
      	s/gnm_expr_conventions_free/gnm_conventions_free/
      	s/gnm_expr_conventions_default/gnm_conventions_default/
      	s/gnm_expr_conventions_r1c1/gnm_conventions_xls_r1c1/
      
      	* src/parse-util.c (cellref_as_string) : Take the new
      	  'GnmConventionsOut' to combine the various args.
      	(rangeref_as_string) : ditto.
      	(gnm_1_0_rangeref_as_string) : ditto.
      	(std_expr_name_handler) : ditto.
      
      svn path=/trunk/; revision=15531
      b5c0ac51
  34. 05 Mar, 2007 1 commit
    • Jody Goldberg's avatar
      patch logic. · 0eed16d6
      Jody Goldberg authored
      2007-03-04  Jody Goldberg <jody@gnome.org>
      
      	* src/func-builtin.c (gnumeric_table) : patch logic.
      
      2007-03-04  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (gnm_expr_conventions_new_full) : Start
      	  homogenizing the structure so that parsing and formating use shared
      	  gunichar, rather than a semi-random collection of booleans on
      	  import and char * on export.
      	  - ::name_parser renamed ::input.name
      	  - ::unknown_function_handler replaced by ::input.func which is
      	      called for all functions not just unknown.
      	  - ::function_rewriter_hash deleted.  This was not 64bit clean
      	  - ::output_sheet_name_sep => a gunichar and renamed ::sheet_name_sep.
      	  - ::cell_ref_handler => ::output.cell_ref
      	  - ::range_ref_handler => ::output.range_ref
      	  - ::sheet_name_quote => ::output.sheet_name_quote
      
      	(cellref_as_string) : ditto.
      	(std_expr_name_handler) : ditto.
      	(std_func_map) : new.
      
      	* src/xml-sax-write.c (xml_io_conventions) : adapt to changes.
      	* src/xml-io.c (xml_io_conventions) : ditto.
      	* src/value.c (value_get_as_gstring) : ditto.
      	* src/expr.c (do_expr_as_string) : ditto.
      
      	* src/parser.y : s/SEPARATOR/ARG_SEP/
      	Remove the ARRAY_START_COMMA and ARRAY_START_BSLASH tokens
      	Remove the duplicate comma/bslash productions for arrays.
      	Use an 'in_array' flag in the state to allow the lexer to
      	differentiate an ARG_SEP from an ARRAY_COL_SEP and an ARRAY_ROW_SEP.
      
      	* src/sheet-object-graph.c (gnm_sog_get_object_target_list) : compiler
      	  warnings.
      
      	* src/func.c (gnm_func_placeholder_factory) : delete.
      
      2007-03-05  Jody Goldberg <jody@gnome.org>
      
      	* xlsx-utils.c (xlsx_cellref_as_string) : no need to use the
      	  convention for the sheet_sep, hard code it.
      	(xlsx_rangeref_as_string) : ditto.
      	(xlsx_expr_conv_new) : adapt to changes.
      
      2007-01-11  Jody Goldberg <jody@gnome.org>
      
      	* ms-escher.c (ms_escher_read_OPT_bools) : improve debug stream.
      	(ms_escher_read_OPT) : add a few more properties based on the results
      	  of the test file that fills in as many properties as I could find
      	  samples/excel/objs.xls.
      	(ms_escher_sp_new) : new. unused as yet.
      	(ms_escher_sp_free) : ditto.
      	(ms_escher_sp_len) : ditto.
      	(ms_escher_sp_add_OPT) : ditto.
      	(ms_escher_sp_set_anchor) : ditto.
      	(ms_escher_sp_write) : ditto.
      
      	* ms-obj.c (ms_obj_read_biff8_obj) : do not generate a warning for
      	  combos with no link, or the special autofilter combos.
      	(ms_obj_read_biff8_obj) : include the id in the debug spew.
      	(ms_obj_read_biff8_obj) : Do not warn about unknown flags that we know
      	  are unknown :-)
      	(ms_objv8_write_note) : new basic stub.
      
      	* ms-excel-write.c (excel_write_textbox_v8) : cheap hack to handle
      	  comments somewhat at an invented anchor.
      	(cb_NOTE_v8) : new.
      	(excel_write_objs_v8) : keep track of the number of comments too.
      	(excel_sheet_new) : count comments too.  General tidyup in prep for
      	  moving to generated escher.
      
      2007-03-05  Jody Goldberg <jody@gnome.org>
      
      	* sc.c (sc_func_map_in) : adapt to change in ExprConv
      
      2007-03-04  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (odf_func_map_in) : adapt to the new mechanism of
      	  function renaming.
      	(oo_conventions) : handle inline arrays.
      
      2007-03-04  Jody Goldberg <jody@gnome.org>
      
      	* oleo.c (oleo_conventions) : adapt to new conventions.
      
      svn path=/trunk/; revision=15444
      0eed16d6
  35. 25 Jan, 2007 1 commit
  36. 24 Jan, 2007 1 commit