1. 08 May, 2009 1 commit
  2. 05 May, 2009 1 commit
  3. 03 May, 2009 2 commits
  4. 02 May, 2009 1 commit
  5. 29 Apr, 2009 3 commits
  6. 25 Apr, 2009 2 commits
  7. 17 Apr, 2009 1 commit
    • Morten Welinder's avatar
      More work on variable-sized sheets. · beda0685
      Morten Welinder authored
      * src/position.c (gnm_cellpos_init_cellref): Take extra base_sheet
      argument.  All callers changed.
      
      * src/parse-util.c (cellref_abs_col, cellref_abs_row): Eliminate
      in favour of gnm_cellpos_init_cellref.
      beda0685
  8. 03 Apr, 2009 2 commits
    • Morten Welinder's avatar
      Take sheet argument for size. All callers changed. · ea40f9e8
      Morten Welinder authored
      2009-04-03  Morten Welinder  <terra@gnome.org>
      
      	* src/ranges.c (range_make_full, range_ensure_sanity,
      	range_transpose, range_is_full, range_translate): Take sheet
      	argument for size.  All callers changed.
      
      	* src/xml-io.c (xml_node_get_range): Take sheet argument for size.
      	All caller changeds.
      
      
      svn path=/trunk/; revision=17293
      ea40f9e8
    • Morten Welinder's avatar
      Take sheet argument for size. Caller changed. · 453684c6
      Morten Welinder authored
      2009-04-03  Morten Welinder  <terra@gnome.org>
      
      	* src/ranges.c (range_make_full): Take sheet argument for size.
      	Caller changed.
      
      
      svn path=/trunk/; revision=17292
      453684c6
  9. 02 Apr, 2009 1 commit
  10. 01 Apr, 2009 1 commit
  11. 11 Feb, 2009 1 commit
  12. 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
  13. 12 Jan, 2009 1 commit
    • Morten Welinder's avatar
      Set value format properly. · 697c3c0b
      Morten Welinder authored
      2009-01-12  Morten Welinder  <terra@gnome.org>
      
      	* src/expr.c (gnm_expr_eval): Set value format properly.
      
      	* src/value.h (VALUE_FMT): Make result const and an r-value.  All
      	users changed as needed.
      	* src/number-match.h (format_match, format_match_number): Make the
      	cur_fmt argument const.
      	* src/mstyle.c (gnm_style_set_format): Make the format argument
      	const.
      	* src/parse-util.c (parse_text_value_or_expr): Make the cur_fmt
      	argument const.
      	* src/cell.c (gnm_cell_get_format): Make the result const.  All
      	callers changed as needed.
      
      
      svn path=/trunk/; revision=17066
      697c3c0b
  14. 02 Dec, 2008 1 commit
  15. 08 Sep, 2008 1 commit
    • Andreas J. Guelzow 's avatar
      remove "group by" buttons and add warnings label new · d58c0e85
      Andreas J. Guelzow authored
      2008-09-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* regression.glade: remove "group by" buttons and add
      	  warnings label
      	* dialog-analysis-tools.c (regression_tool_calc_*): new
      	(regression_tool_ok_clicked_cb): keep arrays and 
      	  determine group-by from y variable
      	(regression_tool_update_sensitivity_cb): provide reasons
      	  and also check for correct range sizes
      	(dialog_regression): enable choice to enter formulas rather than 
      	  values
      
      2008-09-07  Andreas Guelzow  <aguelzow@pyrshep.ca>
      
      	* src/expr.h (gnm_expr_new_funcall4): new
      	* src/expr.c (gnm_expr_new_funcall4): new
      
      2008-09-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* dao.h (dao_set_format): new
      	(dao_set_array_expr): new
      	(dao_get_cellref): new
      	* dao.c (dao_set_format): new
      	(dao_set_array_expr): new
      	(dao_set_cell_array_expr): use dao_set_array_expr
      	(dao_get_cellref): new
      	* analysis-tools.h (analysis_tools_error_code_t): remove
      	  analysis_tools_REG_invalid_dimensions
      	(analysis_tools_data_regression_t): switch to ftest base
      	* analysis-tools.c (analysis_tools_write_label_ftest): use
      	  cb_adjust_areas
      	(cb_cut_into_rows): ditto
      	(cb_cut_into_cols): ditto
      	(analysis_tool_regression_engine_last_check): deleted
      	(calculate_xdim): new
      	(analysis_tool_regression_engine_run): rewritten
      	(analysis_tool_regression_engine): simplify
      
      
      
      svn path=/trunk/; revision=16778
      d58c0e85
  16. 07 Sep, 2008 1 commit
    • Jody Goldberg's avatar
      split from. (sheet_set_zoom_factor) : here. (sheet_set_display_formulas) : · 612eb3f7
      Jody Goldberg authored
      2008-09-07  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_scale_changed) : split from.
      	(sheet_set_zoom_factor) : here.
      	(sheet_set_display_formulas) : used here.
      
      	* src/print-cell.c (gnm_gtk_print_cell_range) : handle the doubling of
      	  column width during 'display forumla' mode.
      
      	* src/expr.c (gnm_expr_top_is_array) : new.
      
      	* src/rendered-value.c (gnm_rendered_value_new) : Use a simpler syntax
      	  to denote arrays.  The full form used in the entry is too verboase.
      
      svn path=/trunk/; revision=16777
      612eb3f7
  17. 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
  18. 28 Jun, 2008 1 commit
  19. 19 May, 2008 1 commit
  20. 28 Apr, 2008 1 commit
  21. 28 Mar, 2008 1 commit
  22. 27 Mar, 2008 1 commit
  23. 01 Feb, 2008 2 commits
  24. 10 Dec, 2007 1 commit
  25. 16 Nov, 2007 1 commit
  26. 27 Oct, 2007 1 commit
  27. 08 Sep, 2007 1 commit
  28. 12 Aug, 2007 1 commit
    • Morten Welinder's avatar
      New function. (dependents_relocate): When needed, relocate named · 9f7713cb
      Morten Welinder authored
      2007-08-11  Morten Welinder  <terra@gnome.org>
      
              * src/dependent.c (cb_relocate_name): New function.
              (dependents_relocate): When needed, relocate named expressions.
              Fixes #123649, I hope.
      
              * src/expr.c (gnm_expr_relocate): For names, don't change when
              inserting/deleting columns/rows.
      
      
      svn path=/trunk/; revision=15751
      9f7713cb
  29. 03 Jul, 2007 1 commit
    • Jody Goldberg's avatar
      virtualize string escaping. use it here. · 0a3cc5cc
      Jody Goldberg authored
      2007-07-02  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (std_output_string) : virtualize string escaping.
      	* src/expr.c (do_expr_as_string) : use it here.
      
      svn path=/trunk/; revision=15635
      0a3cc5cc
  30. 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
  31. 28 Apr, 2007 1 commit
    • Jody Goldberg's avatar
      Fixes #433907. do not attempt to relocate a reference to something not on · 3e7f72e8
      Jody Goldberg authored
      2007-04-27  Jody Goldberg <jody@gnome.org>
      
      	Fixes #433907.
      	* src/expr.c (reloc_range) : do not attempt to relocate a reference to
      	  something not on the origin sheet.
      	(reloc_normalize_cellref) : use the ParsePos (initialized from the
      	  dep) to select the default sheet, not the origin_sheet.
      
      svn path=/trunk/; revision=15530
      3e7f72e8
  32. 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
  33. 26 Feb, 2007 1 commit
    • Morten Welinder's avatar
      Use the hash table to report leaked strings. Use slice allocator when · a8111ec6
      Morten Welinder authored
      2007-02-26  Morten Welinder  <terra@gnome.org>
      
      	* src/str.c (gnm_string_shutdown): Use the hash table to report
      	leaked strings.  Use slice allocator when available.
      
      	* src/value.c (value_shutdown): Use slice allocator when
      	available.  Keep a running count of allocations and report leaks
      	on shutdown.
      
      	* src/commands.c (cmd_copyrel): Handle non-singleton areas.
      	[#112847] Also switch to GOUndo.
      
      	* */*.c: Use <stdio.h> only when needed.
      
      
      svn path=/trunk/; revision=15433
      a8111ec6
  34. 25 Jan, 2007 1 commit