Skip to content
  • Morten Welinder's avatar
    New function. · b169366d
    Morten Welinder authored
    2002-12-15  Morten Welinder  <terra@diku.dk>
    
    	* src/expr.c (gnm_expr_as_gstring): New function.
    
    	* src/rendered-value.c (rendered_value_new): Use
    	gnm_expr_as_gstring to avoid extra copy of result.  Use
    	string_get_nocopy to avoid yet another copy.
    	(cell_get_entered_text): Use gnm_expr_as_gstring to avoid extra
    	copy of result.
    
    
    plus parts of this one:
    
    2002-12-13  Morten Welinder  <terra@diku.dk>
    
    	* src/value.c (value_get_as_gstring): New function.
    	(value_get_as_string): Use that.
    
    	* src/expr.c (do_expr_as_string): Use value_get_as_gstring.
    
    	* src/xml-io.c (gnumeric_xml_read_workbook): Grammar fix.
    
    	* src/parse-util.h (struct _GnmExprConventions): New members
     	expr_name_handler, output_sheet_name_sep, output_argument_sep,
     	output_array_col_sep, and output_translated.  Eliminate
     	use_locale_C.
    
    	* src/expr.c (do_expr_as_string): Use new expr_name_handler in
    	conventions.
    
    	* src/parse-util.c (def_expr_name_handler): New function, mostly
    	extracted from do_expr_as_string.
    	(gnm_expr_conventions_new): Attach def_expr_name_handler.
    b169366d