1. 22 Dec, 2002 2 commits
    • Jody Goldberg's avatar
      post release version bump · 303a80ac
      Jody Goldberg authored
      
      2002-12-22  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : post release version bump
      303a80ac
    • Jody Goldberg's avatar
      use cell_set_value and simplify. · 8361da8a
      Jody Goldberg authored
      2002-12-20  Jody Goldberg <jody@gnome.org>
      
      	* src/stf-parse.c (stf_parse_sheet) : use cell_set_value and simplify.
      
      	* src/clipboard.c (paste_cell) : fix leak.
      
      2002-12-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
      	  combos.  Thats it we're done.
      
      2002-12-20  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
      	  to handle the last 1/4 of the puzzle.  The only thing missing now is
      	  exporting the combos for biff8.
      	(excel_write_DOPER) : new.
      
      2002-12-18  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
      	(write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
      	(excel_write_NAME) : support hidden names.
      	(excel_write_autofilter_names) : create pretend names for the 1st
      	 filter in each sheet.
      	(write_workbook) : use excel_write_autofilter_names to generate the
      	  next 1/4 of autofilters.
      	(excel_write_autofilter_objs) : generate simple biff7 style objects
      	  for the filter combos.
      	(excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.
      8361da8a
  2. 20 Dec, 2002 1 commit
  3. 19 Dec, 2002 2 commits
    • Morten Welinder's avatar
      Add cell_ref_handler and range_ref_handler members. · 63aa6058
      Morten Welinder authored
      2002-12-19  Morten Welinder  <terra@diku.dk>
      
      	* src/parse-util.h (GnmExprConventions): Add cell_ref_handler
      	and range_ref_handler members.
      
      	* src/expr.c (do_expr_as_string): Call cell_ref_handler and
      	range_ref_handler.
      
      	* src/parse-util.c (gnm_expr_conventions_new): Set default
      	cell_ref_handler and range_ref_handler.
      	(col_name_internal): Change to take an accumulator GString.  All
      	callers changed.
      	(row_name_internal): Ditto.
      	(rangeref_as_string): Ditto.
      	(cellref_as_string): Ditto.
      63aa6058
    • Morten Welinder's avatar
      Delete. (parse_util_init): Don't set up gnm_expr_conventions_default_1_0. · 988e54c2
      Morten Welinder authored
      2002-12-19  Morten Welinder  <terra@diku.dk>
      
      	* src/parse-util.c (gnm_expr_conventions_default_1_0): Delete.
      	(parse_util_init): Don't set up gnm_expr_conventions_default_1_0.
      	(parse_util_shutdown): Don't free it.
      988e54c2
  4. 18 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      make it public. (excel_write_prep_expressions) : just do the · 73bc73af
      Jody Goldberg authored
      
      2002-12-17  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-write.c (excel_write_prep_expr) : make it public.
      	(excel_write_prep_expressions) : just do the initialization not the
      	  dep walking.
      	(excel_formula_write_NAME_v8) : new.
      	(write_node) : handle names for biff8.
      
      	* ms-excel-write.c (excel_write_BOF) : no need to clone XL2k bug that
      	  erroneously calls XL95 XL97.
      	(excel_write_externsheets_v7) : we also export the selfref magic.
      	(excel_write_NAME) : renamed from excel_write_NAME_v7 and extended to
      	  support biff8.
      	(write_workbook) : export names for BIFF8 too.
      	(cb_check_names) : new.
      	(excel_write_state_new) : prep the expressions in names too.
      73bc73af
  5. 17 Dec, 2002 2 commits
  6. 16 Dec, 2002 4 commits
    • Morten Welinder's avatar
      cvs bombed. retry. · 2f45c412
      Morten Welinder authored
      2f45c412
    • Morten Welinder's avatar
      Don't setup error variables any more. (gnumeric_error_init): Delete. · 077928ec
      Morten Welinder authored
      2002-12-16  Morten Welinder  <terra@diku.dk>
      
      	* src/number-match.c (format_match_init): Don't setup error
      	variables any more.
      	(gnumeric_error_init): Delete.
      
      	* src/value.c (value_error_name): New function.
      
      	* src/parse-util.c (def_expr_name_handler): Use value_error_name
      	to get proper spelling of the REF error.
      
      	* src/collect.c (float_range_function, float_range_function2,
      	string_range_function): Take a GnmStdError, not a string.
      
      	* src/value.c (value_error_classify): New function.
      
      2002-12-16  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel-write.c (excel_write_map_errcode): Base on
      	value_error_classify.
      
      2002-12-16  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (validate_range_numeric_matrix): Return errors as
      	GnmStdError.  All callers changed.
      
      2002-12-16  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (database_float_range_function): Use type
      	GnmStdError for error flags.
      	(database_value_range_function): Ditto.
      077928ec
    • Morten Welinder's avatar
      Build table of translated error names. (value_shutdown): Tear it down. · 127a8eb6
      Morten Welinder authored
      2002-12-16  Morten Welinder  <terra@diku.dk>
      
      	* src/value.c (value_init): Build table of translated error names.
      	(value_shutdown): Tear it down.
      	(value_new_error_NULL, value_new_error_DIV0,
      	value_new_error_VALUE, value_new_error_REF, value_new_error_NAME,
      	value_new_error_NUM, value_new_error_NA, value_new_error_RECALC):
      	New functions.
      	* */*.c */*/*.c: Elminate most occurrences of gnumeric_err_*.
      
      	* src/libgnumeric.c (gnm_common_init): Move string initialization
      	to before values.
      	(gnm_shutdown): Similarly.
      127a8eb6
    • Jody Goldberg's avatar
      cull out unused placeholders. · a5a1331b
      Jody Goldberg authored
      
      2002-12-15  Jody Goldberg <jody@gnome.org>
      
      	* ms-container.c (ms_container_finalize) : cull out unused
      	  placeholders.
      a5a1331b
  7. 15 Dec, 2002 1 commit
    • 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
  8. 14 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      Tack on a 'shared' flag in alot of places to control the use of _REF/_AREA · 0ca78a72
      Jody Goldberg authored
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c : Tack on a 'shared' flag in alot of places to
      	control the use of _REF/_AREA vs _REFN/_AREAN
      
      	* ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
      	  MS excel 2k.
      	(vip_hash) : new.
      	(vip_equal) : new.
      	(excel_write_DV) : new.
      	(excel_write_DVAL) : new.
      	(excel_write_NAME_v7) : export names using shared formula conventions.
      	(excel_write_sheet) : export validation.
      	(write_workbook) :  add a XL9FILE flag.
      
      	* ms-excel-read.c (excel_read_DV) : several small tweaks
      	  1) string lengths are 2 bytes
      	  2) Use the option flags to enable/disable input msg and validation
      	  3) Parse expressions relative to the top left of the first range
      	  4) Parse as shared expressions
      
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/input-msg.c (gnm_input_msg_get_msg) : new.
      	(gnm_input_msg_get_title) : new.
      
      2002-12-12  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-style.c (cb_hash_to_list) : improve placement of debug
      	  info to ignore irrelevent ranges that were merged into something else.
      
      	* tools/import-foocanvas : do not install foocanvas
      
      	* src/sheet-style.c (sheet_style_get_validation_list) : new.
      	(cb_style_list_add_validation) : simple filter.
      	(cb_style_list_add_node) : generalize slightly to make the comparison
      	  routine dynamic.
      	(cb_hash_merge_horiz) : ditto.
      	(sheet_style_get_list) : adjust to the new generalized utilities.
      
      2002-12-13  Jody Goldberg <jody@gnome.org>
      
      	* dialog-cell-format.c (cb_validation_error_action_deactivate) : Use
      	  stock images directly.
      	* cell-format.glade : fix image discrepancy between menu and display
      	  of validation style error.
      0ca78a72
  9. 13 Dec, 2002 2 commits
  10. 10 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      don't fully register the magic filter name. · 167eab20
      Jody Goldberg authored
      2002-12-08  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_prepare_autofilter) : don't fully register
      	  the magic filter name.
      
      2002-12-08  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_write_sheet_filters) : filter export.
      
      	* src/workbook-control-gui.c (wbcg_finalize) : patch leak.
      
      	* src/expr-name.c (expr_name_remove) : removing a name dfrom the hash
      	  will already set the expr to NULL and unref.  No need to do it again.
      167eab20
  11. 07 Dec, 2002 1 commit
  12. 06 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      new. (dialog_auto_filter) : init the operators. · cc7d40c5
      Jody Goldberg authored
      2002-12-06  Jody Goldberg <jody@gnome.org>
      
      	* dialog-autofilter.c (init_operator) : new.
      	(dialog_auto_filter) : init the operators.
      
      2002-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/regutf8.c (gnumeric_regcomp_XL) : moved from
      	  plugins/fn-string/functions.c:search_pattern_to_regexp and turned into
      	  a wrapper.
      cc7d40c5
  13. 05 Dec, 2002 6 commits
  14. 04 Dec, 2002 1 commit
  15. 03 Dec, 2002 2 commits
    • Morten Welinder's avatar
      Increase to 4. (xml_node_set_print_unit): Just use the GnomePrintUnit · b51d582e
      Morten Welinder authored
      2002-12-03  Morten Welinder  <terra@diku.dk>
      
      	* src/xml-io.c (POINT_SIZE_PRECISION): Increase to 4.
      	(xml_node_set_print_unit): Just use the GnomePrintUnit name.
      	(xml_node_get_print_unit): Use unit_name_to_unit.
      
      	* src/print-info.c (print_unit_new, unit_name_get_short_name,
      	unit_name_get_name): Delete.
      	(unit_name_to_unit): Return a GnomePrintUnit*.  Remove unused
      	"translated" argument.  All callers changed.
      	(unit_convert): Take GnomePrintUnit* arguments.  All callers
      	changed.
      
      	* src/print-info.h (enum UnitName): Delete.
      
      
      2002-12-03  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel-read.c (excel_print_unit_init_inch): Convert to
      	GnomePrintUnit.
      	(excel_init_margins): Ditto.
      	(excel_read_SETUP): Ditto.
      	* ms-excel-write.c (excel_write_margin): Ditto.
      	(excel_write_SETUP): Ditto.
      
      
      2002-12-03  Morten Welinder  <terra@diku.dk>
      
      	* xml-sax-read.c (xml_sax_print_margins_unit): Use
      	unit_name_to_unit.
      
      
      2002-12-03  Morten Welinder  <terra@diku.dk>
      
      	* dialog-printer-setup.c (unit_selector_gnome_print_unit_to_gnm):
      	Delete.
      	(spin_button_adapt_to_unit): Take GnomePrintUnit* argument.
      b51d582e
    • Morten Welinder's avatar
      Last two args are optional. · 6784c16f
      Morten Welinder authored
      2002-12-03  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (gnumeric_nper): Last two args are optional.
      6784c16f
  16. 02 Dec, 2002 3 commits
  17. 01 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      finish. (read_DOPER) : finish. · 9966c951
      Jody Goldberg authored
      2002-11-30  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_AUTOFILTER) : finish.
      	(read_DOPER) : finish.
      
      2002-11-30  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (cb_check_name) : ignore hidden names.
      
      	* src/io-context-gtk.c (icg_error_error_info) : no need to display the
      	  splash if we ar egoing to pop up an error.  Something was screwing
      	  up and I don't feel like tracing it.
      
      	* src/expr.c (do_referenced_sheets) : fix nasty typo.
      	(gnm_expr_containts_subtotal) : new.
      
      	* src/collect.c (collect_floats) : start support for SUBTOTAL
      	* src/sheet.c (sheet_foreach_cell_in_range) : ditto.
      	* src/func.c (function_iterate_argument_values) : ditto.
      9966c951
  18. 29 Nov, 2002 3 commits
    • Jody Goldberg's avatar
      typo · 54366671
      Jody Goldberg authored
      54366671
    • Jody Goldberg's avatar
      Add include for gsf-output.h (applix_write) : tidy up the constness. · 4152a7f6
      Jody Goldberg authored
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* applix-write.c : Add include for gsf-output.h
      	(applix_write) : tidy up the constness.
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW1) : make view const
      	(excel_write_state_new) : ditto.
      
      	* ms-excel-read.c (excel_prepare_autofilter) : new.
      	(excel_read_NAME) : handle autofilters.
      
      	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
      
      	* plugins/excel/boot.c (excel_save) : make the view const not the
      	  output.
      	(excel_dsf_file_save) : ditto.
      	(excel_biff8_file_save) : ditto.
      	(excel_biff7_file_save) : ditto.
      
      2002-11-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
      	  utilities.
      
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : add auto
      	  filter.
      	(cb_auto_filter) : initial quicky implementation.
      	(cb_data_pivottable) : ditto.
      	(workbook_control_gui_init) : init the autofilter.
      
      	* src/value.c (value_equal) : new util.
      	(value_cmp) : new.
      
      	* src/style-color.c (gnumeric_color_init) : add green.
      
      	* src/stf.c : quiet a few warnings.
      
      	* src/sheet.c (sheet_new) : init filters and pivots.
      	(sheet_destroy_contents) : free the filters and pivots.
      	(sheet_range_calc_spans) : no one sets NO_DRAW so don't check for it.
      	(sheet_cell_calc_span) : ditto.
      
      	* src/sheet-view.c (sv_edit_pos_in_filter) : new.
      
      	* src/sheet-object.c (sheet_object_print) : no warning if the object
      	  does not print.
      	(sheet_object_clone) : nor is it a problem if it can not be cloned.
      
      	* src/sheet-object-widget.c (sheet_widget_button_set_label) : new.
      	(sheet_widget_checkbox_set_label) : new.
      	(cb_checkbox_config_cancel_clicked) :use sheet_widget_checkbox_set_label
      	(cb_checkbox_label_changed) : ditto.
      	(sheet_widget_radio_button_finalize) : free the label.
      	(sheet_widget_radio_button_set_label) : new.
      
      	* src/ranges.c (setup_range_from_value) : remove ugly release argument.
      	(setup_range_from_range_ref) : ditto.
      	(value_to_global_range) : take a GlobalRange as an arg.  No need to
      	  allocate the result.
      
      	* src/item-bar.c (item_bar_realize) : create a GC for filtered regions
      	(item_bar_unrealize) : free it.
      
      	* src/io-context.c (workbook_io_progress_set) : const the workbook.
      
      	* src/gnumeric.h : Add GnmFilter.
      	  Remove unused SPANCALC_NO_DRAW.
      
      	* src/file.c (gnum_file_saver_save_real) : view is const not output.
      	(gnum_file_saver_save) : ditto.
      
      	* src/file-priv.h (save) : view is const not output.  delete save to
      	  stream.
      
      	* src/consolidate.c (consolidate_set_destination) : adjust to less
      	  silly interface to setup_range_from_value.
      	(consolidate_add_source) : ditto.
      
      	* src/pixmaps/Makefile.am : add the pivottable icons
      	* src/application.c (gnumeric_application_setup_icons) : ditto.
      
      	* src/Makefile.am : add pivot table stub and auto filter
      	  implementation
      
      2002-11-28  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (sheet_names_get_available) : document.
      	(cb_get_names) honour is_hidden.
      	(expr_name_new) : init is_hidden.
      4152a7f6
    • Jody Goldberg's avatar
      Add include for gsf-output.h (applix_write) : tidy up the constness. · 6526d50a
      Jody Goldberg authored
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* applix-write.c : Add include for gsf-output.h
      	(applix_write) : tidy up the constness.
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW1) : make view const
      	(excel_write_state_new) : ditto.
      
      	* ms-excel-read.c (excel_prepare_autofilter) : new.
      	(excel_read_NAME) : handle autofilters.
      
      	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
      
      	* plugins/excel/boot.c (excel_save) : make the view const not the
      	  output.
      	(excel_dsf_file_save) : ditto.
      	(excel_biff8_file_save) : ditto.
      	(excel_biff7_file_save) : ditto.
      
      2002-11-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
      	  utilities.
      
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : add auto
      	  filter.
      	(cb_auto_filter) : initial quicky implementation.
      	(cb_data_pivottable) : ditto.
      	(workbook_control_gui_init) : init the autofilter.
      
      	* src/value.c (value_equal) : new util.
      	(value_cmp) : new.
      
      	* src/style-color.c (gnumeric_color_init) : add green.
      
      	* src/stf.c : quiet a few warnings.
      
      	* src/sheet.c (sheet_new) : init filters and pivots.
      	(sheet_destroy_contents) : free the filters and pivots.
      	(sheet_range_calc_spans) : no one sets NO_DRAW so don't check for it.
      	(sheet_cell_calc_span) : ditto.
      
      	* src/sheet-view.c (sv_edit_pos_in_filter) : new.
      
      	* src/sheet-object.c (sheet_object_print) : no warning if the object
      	  does not print.
      	(sheet_object_clone) : nor is it a problem if it can not be cloned.
      
      	* src/sheet-object-widget.c (sheet_widget_button_set_label) : new.
      	(sheet_widget_checkbox_set_label) : new.
      	(cb_checkbox_config_cancel_clicked) :use sheet_widget_checkbox_set_label
      	(cb_checkbox_label_changed) : ditto.
      	(sheet_widget_radio_button_finalize) : free the label.
      	(sheet_widget_radio_button_set_label) : new.
      
      	* src/ranges.c (setup_range_from_value) : remove ugly release argument.
      	(setup_range_from_range_ref) : ditto.
      	(value_to_global_range) : take a GlobalRange as an arg.  No need to
      	  allocate the result.
      
      	* src/item-bar.c (item_bar_realize) : create a GC for filtered regions
      	(item_bar_unrealize) : free it.
      
      	* src/io-context.c (workbook_io_progress_set) : const the workbook.
      
      	* src/gnumeric.h : Add GnmFilter.
      	  Remove unused SPANCALC_NO_DRAW.
      
      	* src/file.c (gnum_file_saver_save_real) : view is const not output.
      	(gnum_file_saver_save) : ditto.
      
      	* src/file-priv.h (save) : view is const not output.  delete save to
      	  stream.
      
      	* src/consolidate.c (consolidate_set_destination) : adjust to less
      	  silly interface to setup_range_from_value.
      	(consolidate_add_source) : ditto.
      
      	* src/pixmaps/Makefile.am : add the pivottable icons
      	* src/application.c (gnumeric_application_setup_icons) : ditto.
      
      	* src/Makefile.am : add pivot table stub and auto filter
      	  implementation
      
      2002-11-28  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (sheet_names_get_available) : document.
      	(cb_get_names) honour is_hidden.
      	(expr_name_new) : init is_hidden.
      6526d50a
  19. 28 Nov, 2002 1 commit
    • Jon Kåre Hellan's avatar
      Port to gsf output. · c1071afc
      Jon Kåre Hellan authored
      * plugins/applix/applix.h (applix_write): Port to gsf output.
      
      * plugins/applix/boot.c (applix_file_save): Ditto.
      
      * plugins/applix/applix-write.c (applix_write): Ditto.
      
      * plugins/dif/dif.c (dif_file_save): Port to gsf output.
      
      * plugins/excel/boot.c (excel_save, excel_dsf_file_save, excel_biff8_file_save)
      (excel_biff7_file_save): Receive gsf output stream from higher
      layer rather than creating and closing it here.
      
      * plugins/gnome-glossary/gnome_glossary.py (save_sheet_as_po): Port to
        gsf output.
      
      * plugins/html/html.c (html_print_encoded, html_write_cell_content)
      (html_write_one_border_style_40, html_write_border_style_40)
      (write_cell, write_row, write_sheet, html_file_save): Ditto.
      
      * plugins/html/latex.c (latex_fputs, latex_math_fputs)
      (latex2e_write_file_header, latex2e_write_table_header)
      (latex2e_print_vert_border, latex2e_write_blank_cell)
      (latex2e_write_multicolumn_cell, latex2e_print_hhline): Ditto.
      
      * plugins/html/roff.c (roff_dvi_file_save): Remove.
      
      * plugins/html/plugin.xml.in: Remove dvi via roff.
      
      * plugins/python-loader/python-loader.c
      (gnumeric_plugin_loader_python_func_file_save): Port to gsf output.
      
      * src/file-priv.h (struct _GnumFileSaverClass::save): Replace
      file_name with GsfOutput *output.
      
      * src/file.h (GnumFileSaverSaveFunc, gnum_file_saver_save): Ditto.
      
      * src/file.c:
      (gnum_file_saver_save_real, gnum_file_saver_save): Ditto.
      
      * src/plugin-service.h
      (PluginServiceFileSaverCallbacks::plugin_func_file_save): Ditto
      
      * src/plugin-service.c:
      (gnum_plugin_file_saver_save): Ditto
      
      * src/workbook-view.c: Include gsf/gsf-output-stdio.h.
      (wbv_save_to_file): New function. Creates a gsf output stream from
      file.
      (wb_view_save_as, wb_view_save): Call wbv_save_to_file rather than
      gnum_file_saver_save.
      
      * src/stf.c (stf_text_to_columns): Call
      gsf_output_memory_get_bytes with new signature.
      (stf_open_for_write): Remove.
      (stf_write_func): Use gsf_output_puts.
      (stf_write_workbook): Replace file_name with GsfOutput *output.
      Don't open and close file. Higher layer does that.
      
      * src/xml-io.c (gnumeric_xml_write_workbook): Replace file_name
      with GsfOutput *output.  Don't open and close file. Higher layer
      does that.
      c1071afc
  20. 26 Nov, 2002 1 commit
    • Morten Welinder's avatar
      Take GnmExprConventions, not a ref_parser. All callers changed. (yylex): · 07c10be7
      Morten Welinder authored
      2002-11-26  Morten Welinder  <terra@diku.dk>
      
      	* src/parser.y (gnm_expr_parse_str): Take GnmExprConventions, not
      	a ref_parser.  All callers changed.
      	(yylex): Flatten structure and use GnmExprConventions options.
      
      	* src/parse-util.h (struct _GnmExprConventions): New structure for
      	parsing info.
      	(GnmExprParseFlags): Prune lots of flags.
      
      	* src/parse-util.c (parse_util_init, parse_util_shutdown,
      	gnm_expr_conventions_new, gnm_expr_conventions_free): New
      	functions.
      	(gnm_expr_parse_str_simple): New function (was macro).
      
      	* src/libgnumeric.c (gnm_shutdown): Shut down parse_util.
      	(gnm_common_init): Init parse_util.
      
      	* src/func.c (gnm_func_placeholder_factory): New function.
      07c10be7
  21. 25 Nov, 2002 3 commits