• Almer S. Tigelaar's avatar
    Burn. (stf_cache_options_free): Burn. (stf_cache_options_set_data): Burn. · fc1912f7
    Almer S. Tigelaar authored
    2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
    
    	* src/stf-parse.[ch] (stf_cache_options_new): Burn.
    	(stf_cache_options_free): Burn.
    	(stf_cache_options_set_data): Burn.
    	(stf_cache_options_set_range): Burn.
    	(stf_cache_options_invalidate): Burn.
    	(stf_parse_general_cached): Burn.
    	(stf_parse_options_before_modification): Burn.
    	(stf_parse_options_after_modification): Burn.
    	(stf_parse_options_set_type): Don't set modified.
    	(stf_parse_options_set_line_terminator): Idem.
    	(stf_parse_options_set_lines_to_parse): Idem.
    	(stf_parse_options_set_trim_spaces): Idem.
    	(stf_parse_options_csv_set_separators): Idem.
    	(stf_parse_options_csv_set_customfieldseparator): Idem.
    	(stf_parse_options_csv_set_stringindicator): Idem.
    	(stf_parse_options_csv_set_indicator_2x_is_single): Idem.
    	(stf_parse_options_csv_set_duplicates): Idem.
    	(stf_parse_options_valid): Remove modificationmode.
    	(stf_parse_options_new): Idem.
    	(trim_spaces_inplace): Make inline.
    	(stf_parse_csv_is_separator): Idem and move things around
    	a for some more speed.
    	(stf_parse_csv_cell): Make inline.
    	(stf_parse_fixed_cell): Idem.
    
    	* src/stf.c (stf_read_workbook): Set maximum number of
    	lines to parse to infinite.
    	(x_selection_to_cell_region): Idem.
    
    2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
    
    	* dialog-stf.c (stf_dialog_druid_page_next): Remove cacheoptions.
    
    	* dialog-stf-preview.c (stf_preview_merge_with_hash): Remove.
    	(stf_preview_hash_item_remove): Idem.
    	(stf_preview_free_row): Idem.
    	(stf_preview_free): Remove hashtable.
    	(stf_preview_new): Idem.
    	(stf_preview_render): Free the list that is passed.
    	(stf_preview_render_row): Truncate strings if they are too long.
    
    	* dialog-stf-csv-page.c (csv_page_global_change): Use
    	stf_parse_general.
    	(stf_dialog_csv_page_prepare): Remove cacheoptions.
    	(stf_dialog_csv_page_init): Idem.
    	(stf_dialog_csv_page_cleanup): Idem.
    
    	* dialog-stf-fixed-page.c (fixed_page_update_preview): Use
    	stf_parse_general.
    	(stf_dialog_fixed_page_prepare): Remove cacheoptions.
    	(stf_dialog_fixed_page_cleanup): Idem.
    	(stf_dialog_fixed_page_init): Idem.
    
    	* dialog-stf-format-page.c (format_page_update_preview): Use
    	stf_parse_general.
    	(format_page_scroll_value_changed ): Don't use cacheoptions.
    	(format_page_format_changed): Idem.
    	(stf_dialog_format_page_prepare): Idem.
    	(stf_dialog_format_page_cleanup): Remove cacheoptions.
    	(stf_dialog_format_page_init): Idem.
    fc1912f7
stf-parse.c 34.4 KB