1. 13 Jan, 2006 1 commit
  2. 30 Mar, 2005 1 commit
    • Jody Goldberg's avatar
      warning suppression. · d1413776
      Jody Goldberg authored
      
      2005-03-29  Jody Goldberg <jody@gnome.org>
      
      	* src/func.c (tokenized_help_new) : warning suppression.
      
      	* src/expr.c (gnm_expr_is_array) : new.
      
      2005-03-29  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_write_cell_and_position) : Take a value and
      	  expression directly rather than a Cell to allow re-use between the
      	  new clipboard data structure GnmCellCopy and GnmCell.
      
      	* src/gui-clipboard.c (text_to_cell_region) : store data directly.
      	(cellregion_to_string) : moved from clipboard.c and tweaked to support
      	  the new data structure.
      	(x_clipboard_get_cb) : no need for a pango context, we ignore variable
      	  width formats when exporting.
      
      	* src/sheet-style.c (style_list_get_style) : Use col & rol vs CellPos.
      
      	* src/clipboard.c : Simplify GnmCellCopy and remove the ancient bogus
      	  notion of keeping a copy of a full cell.
      	(contents_as_expr) : renamed from cell_get_contents_as_expr, and
      	  changed to take the expr and val directly.
      	(apply_paste_oper_to_values) : deleted and merged into.
      	(paste_cell_with_operation) : here.
      	(gnm_cell_copy_new) : new.
      	(paste_cell) : add some const.
      	(clipboard_paste_region) : const and adjust to the changes.
      	  We can test for pasting content here rather than per-cell.
      	(cb_clipboard_prepend_cell) : use gnm_cell_copy_new.
      	(cellregion_unref) : adjust to data structure change.
      	(cellregion_to_string) : moved into gui-clipboard.c.  It's not really
      	  gui specific but that is the only thing that uses it for now.
      d1413776
  3. 21 Oct, 2004 3 commits
  4. 12 Nov, 2003 2 commits
  5. 14 Oct, 2003 2 commits
    • Morten Welinder's avatar
      Add maxlines argument. All callers changed. · b3e56741
      Morten Welinder authored
      2003-10-14  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_general): Add maxlines argument.  All
      	callers changed.
      b3e56741
    • Morten Welinder's avatar
      Switch to allocating from a GStringChunk. · f8d5ebd3
      Morten Welinder authored
      2003-10-13  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_fixed_cell, stf_parse_csv_cell,
      	stf_parse_general, stf_parse_lines): Switch to allocating from a
      	GStringChunk.
      
      2003-10-13  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-preview.c (stf_preview_set_lines): Take extra
      	GStringChunk* argument.
      	(stf_preview_set_lines): Be consistent with the column maximum.
      f8d5ebd3
  6. 25 Jul, 2003 1 commit
    • Morten Welinder's avatar
      Overhaul all navigation. · 59313e91
      Morten Welinder authored
      2003-07-25  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-fixed-page.c: Overhaul all navigation.
      
      2003-07-25  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_options_fixed_splitpositions_clear):
      	Add terminator here.
      	(stf_parse_options_fixed_splitpositions_add): Insert sorted.
      	(stf_parse_options_fixed_splitpositions_remove,
      	stf_parse_options_fixed_splitpositions_count,
      	stf_parse_options_fixed_splitpositions_nth): New functions.
      59313e91
  7. 06 Jul, 2003 1 commit
    • Andreas J. Guelzow's avatar
      change dialogresult->formats to dialogresult->parseoptions->formats · 85eeec0e
      Andreas J. Guelzow authored
      2003-07-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/gui-clipboard.c: change dialogresult->formats to
      	  dialogresult->parseoptions->formats thoughout
      	* src/stf-parse.c (stf_parse_options_new): initialize formats
      	(stf_parse_options_free (stf_parse_region): rewrite
      	* src/stf-parse.h: add formats list to parseoptions
      	* src/stf.c (stf_store_results): split into stf_store_results
      	  and stf_apply_formats
      	(stf_apply_formats): new
      
      2003-07-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-stf.c: change dialogresult->formats to
      	  dialogresult->parseoptions->formats throughout
      	(stf_dialog_result_free): don't free formats
      	* dialog-stf.h: remove formats from DialogStfResult_t
      85eeec0e
  8. 28 Jun, 2003 1 commit
    • Andreas J. Guelzow's avatar
      initialize new fields (stf_parse_options_free): free new fields · 378b24fe
      Andreas J. Guelzow authored
      2003-06-28  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf-parse.c (stf_parse_options_new): initialize new fields
      	(stf_parse_options_free): free new fields
      	(stf_parse_csv_line): show all columns
      	(stf_parse_sheet): only store selected rows (and formats vary within
      	  each row!)
      	* src/stf-parse.h: add col_import_array to parse_options
      	* src/stf.c (stf_store_results): apply only the format of selected
      	  columns
      
      2003-06-28  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* dialog-stf-format-page.c (cb_col_check_clicked): new
      	(format_page_update_preview): vreate checkboxes in column
      	  headers
      	(stf_dialog_format_page_cleanup): clean up selected column list
      	(stf_dialog_format_page_init): initialize selected column list
      	* dialog-stf-preview.c (stf_preview_new): allocate lots of columns
      	  in the lazy list. (We need to fix this.)
      	(stf_preview_set_lines): show all lines
      	* dialog-stf.c (stf_dialog): copy selected column list to parseoptions
      	* dialog-stf.h: new fields in FormatInfo_t
      378b24fe
  9. 21 Jun, 2003 1 commit
    • Andreas J. Guelzow's avatar
      initialize locale (stf_parse_options_free): free locale (stf_parse_sheet): · 716771ed
      Andreas J. Guelzow authored
      2003-06-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf-parse.c (stf_parse_options_new): initialize locale
      	(stf_parse_options_free): free locale
      	(stf_parse_sheet): setup locale
      	(stf_parse_region): setup locale
      	* src/stf-parse.h : add locale to parseoptions
      	* src/stf.c (stf_store_results): setup locale
      
      2003-06-21  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-stf-format-page.c (locale_changed_cb): store locale in
      	  pagedata
      	* dialog-stf.c (stf_dialog): move locale to parseoptions
      716771ed
  10. 18 Jun, 2003 1 commit
    • Emmanuel Pacaud's avatar
      New format selector. · 4cf8d276
      Emmanuel Pacaud authored
      2003-06-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
      
      	* Makefile.am : add number-format-selector.glade
      	* cell-format.glade : remove number format page
      	* number-format-selector.glade :
      		new, based on the number format page of cell-format.glade,
      		excepted the use of a GtkOptionMenu for the format category
      		selection
      	* dialog-cell-format.c
      		(_FormatState) : remove number format related variables
      		(_FormatWidget) : removed
      		(generate_format),
      		(draw_format_preview),
      		(fillin_negative_samples),
      		(cb_decimals_changed),
      		(cb_separator_toggle),
      		(fmt_dialog_init_fmt_list),
      		(fmt_dialog_enable_widgets),
      		(cb_format_class_changed),
      		(cb_format_entry_changed),
      		(cb_format_list_select),
      		(cb_format_currency_select),
      		(cb_format_negative_form_selected),
      		(funny_currency_order : removed
      		(cb_number_format_changed) : new
      		(fmt_dialog_init_format_page) : now only add number format
      		selector widget at the first notebook page
      		(cb_fmt_dialog_dialog_destroy) : remove unref of
      		state->format.spec
      		(set_initial_focus) : use number_format_selector_set_focus to
      		give the focus to the number format page
      	* dialog-stf-format-page.c
      	 	(format_page_collist_select_row) : use
      		number_format_selector_set_style_format to set the current
      		style format of the slector widget
      		(format_page_sublist_select_row) : removed
      		(format_page_format_changed) : removed
      		(cb_number_format_changed) : new
      		(stf_dialog_format_page_init) : remove format list creation
      		code ; add initialisation of the number format selector widget
      	* dialog-stf.c
      		(stf_dialog_set_initial_keyboard_focus) : use
      		number_format_selector_set_focus
      	 	(stf_dialog_editables_enter) : use
      		number_format_selector_editable_enters
      	* dialog-stf.h : removed format list related variables
      	* dialog-stf.glade :
      		reduced the requested size of the preview area from 250 to 100
      		removed format list in the format page
      
      
      
      2003-06-15  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
      
      	* Makefile.am : added reference to widget-format-selector.[ch]
      	* widget-format-selector.[ch] :
      		new, based on the number format part of
      		src/dialogs/dialog-cell-format.c
      		(generate_format),
      		(draw_format_preview),
      		(fillin_negative_samples),
      		(cb_decimals_changed),
      		(cb_separator_toggle),
      		(fmt_dialog_init_fmt_list),
      		(fmt_dialog_enable_widgets),
      		(cb_format_class_changed),
      		(cb_format_entry_changed),
      		(cb_format_list_select),
      		(cb_format_currency_select),
      		(cb_format_negative_form_selected),
      		(funny_currency_order) : based on dialog_cell_format.c functions
      		(nfs_init) : based on previous fmt_dialog_init_format_page in
      		dialog_cell_format.c
      		(set_format_category_menu_from_style) : new
      		(nfs_destroy) : new
      		(nfs_class_init) : new
      		(number_format_selector_new),
      		(number_format_selector_set_focus),
      		(number_format_selector_set_style_format),
      		(number_format_selector_set_value),
      		(number_format_selector_set_date_conv),
      		(number_format_selector_editable_enters) : new
      4cf8d276
  11. 16 Jun, 2003 1 commit
    • Morten Welinder's avatar
      New function. · d995b503
      Morten Welinder authored
      2003-06-16  Morten Welinder  <terra@gnome.org>
      
      	* src/gutils.c (gnm_guess_encoding): New function.
      
      	* src/stf.c (stf_read_workbook_auto_csvtab): Properly decode file
      	before inspecting.  Use stf_parse_options_guess.
      
      	* src/stf-parse.c (stf_parse_options_guess): New function.
      d995b503
  12. 12 Jun, 2003 1 commit
    • Morten Welinder's avatar
      New function. (stf_parse_options_add_line_terminator, · e1d64a96
      Morten Welinder authored
      2003-06-12  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (compile_terminators): New function.
      	(stf_parse_options_add_line_terminator,
      	stf_parse_options_remove_line_terminator,
      	stf_parse_options_clear_line_terminator): Call
      	compile_terminators, fix memory ownership.
      	(stf_parse_options_new): Set terminators using
      	stf_parse_options_add_line_terminator.
      	(compare_terminator): Speed up using compiled terminators.
      
      2003-06-12  Morten Welinder  <terra@gnome.org>
      
      	* gnumeric-optionmenu.c (gnumeric_option_menu_destroy): Leak fix.
      
      	* widget-charmap-selector.c (cs_build_menu): Leak fix.
      
      2003-06-12  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-preview.c (render_get_value): Change tabs into spaces
      	here.
      	(stf_preview_set_lines): Clear the table here too.
      	(stf_preview_render): Merge into stf_preview_set_lines, then
      	remove.
      
      	* dialog-stf.h (DruidPageData_t): Add parseoptions here.  Remove
      	from all page structs.
      
      	* dialog-stf-fixed-page.c (fixed_page_update_preview): Turn off
      	trimming here.
      e1d64a96
  13. 11 Jun, 2003 3 commits
    • Morten Welinder's avatar
      Remove parselines member. · ebcefbeb
      Morten Welinder authored
      2003-06-11  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.h (StfParseOptions_t): Remove parselines member.
      
      	* src/stf-parse.c (stf_parse_get_longest_row_width): Take a
      	data_end pointer too.  Callers changed.
      	(stf_parse_general): Ditto.
      	(stf_parse_sheet): Ditto, but optional.
      	(stf_parse_region): Ditto, but optional.
      	(stf_parse_options_fixed_autodiscover): Ditto.  Remove data_lines arg.
      	(stf_parse_options_set_lines_to_parse): Delete.
      
      2003-06-11  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf.c (stf_dialog): Nul-terminate result.
      	* dialog-stf.h (DruidPageData_t): Add cur_end member.
      ebcefbeb
    • Morten Welinder's avatar
      Delete. · 06920901
      Morten Welinder authored
      2003-06-11  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_convert_to_unix): Delete.
      
      	* src/gui-clipboard.c (text_to_cell_region): Don't muck with line
      	endings.
      06920901
    • Morten Welinder's avatar
      Handle line terminators correctly. (stf_parse_get_longest_row_width): · d42e3cc9
      Morten Welinder authored
      2003-06-11  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_options_fixed_autodiscover): Handle
      	line terminators correctly.
      	(stf_parse_get_longest_row_width): Ditto.
      	(stf_parse_general): Properly skip line endings.
      	(stf_parse_lines): Add parse option argument and use standard line
      	ending parsing.  All callers changed.
      
      2003-06-11  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf.h (MainInfo_t): Add parse options member.
      
      	* dialog-stf-main-page.c (main_page_startrow_changed): Treat line
      	endings consistently.
      d42e3cc9
  14. 05 Jun, 2003 1 commit
    • Morten Welinder's avatar
      Delete. · f46fd8bb
      Morten Welinder authored
      2003-06-05  Morten Welinder  <terra@gnome.org>
      
      	* src/stf.c (stf_read_default_probe): Delete.
      
      	* src/stf-parse.c (stf_parse_get_rowcount): Delete.
      	(stf_parse_fixed_cell): Make UTF-8 safe.
      	(stf_parse_get_longest_row_width): Ditto.
      	(stf_parse_is_valid_data): Delete.
      
      2003-06-05  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-fixed-page.c (fixed_page_prepare): Set the number of
      	lines to parse.
      	* dialog-stf-csv-page.c (csv_page_prepare): Ditto.
      f46fd8bb
  15. 04 Jun, 2003 1 commit
  16. 03 Jun, 2003 1 commit
  17. 02 Jun, 2003 1 commit
    • Morten Welinder's avatar
      New function. (stf_parse_general): Switch from list <list<string>> to · b3361ef5
      Morten Welinder authored
      2003-06-02  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_general_free): New function.
      	(stf_parse_general): Switch from list <list<string>> to
      	ptrarray<ptrarray<string>>, gaining random access.  All callers
      	changed.
      
      2003-06-02  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-preview.c (stf_preview_render): Switch from list
      	<list<string>> to ptrarray<ptrarray<string>>, gaining random
      	access.  All callers changed.
      b3361ef5
  18. 12 May, 2003 1 commit
    • Andreas J. Guelzow's avatar
      return the byte length of the used terminator · 0064a1aa
      Andreas J. Guelzow authored
              * src/stf-parse.c (compare_terminator) : return the byte
                length of the used terminator
              (stf_parse_paresoptions_new): initialize the string indicator
                to our default
              (stf_parse_next_token): pass all parse options, check also for
                separators and terminators
              (stf_parse_options_csv_set_stringindicator): the string
                indicator could be a non-ascii character
              (stf_parse_csv_cell): use the type information returned by
                stf_parse_next_token
              (stf_parse_eat_separators): Don't eat null bytes.
              (stf_parse_get_rowcount): use stf_parse_next_token to avoid
                counting in-string newlines
              * src/stf-parse.h (stf_parse_next_token): pass all parse
                options
              (stf_parse_options_csv_set_stringindicator): the string
                indicator could be a non-ascii character
              * src/stf.c
      
              * dialog-stf-csv-page.c (csv_page_global_change): the string
                indicator could be multibyte
              * alog-stf-export.glade: replace Charset label to be consistent
                with import dialog
      0064a1aa
  19. 10 May, 2003 1 commit
    • Andreas J. Guelzow's avatar
      handle multibyte terminals (compare_terminator): check all terminators · be713e79
      Andreas J. Guelzow authored
      	* src/stf-parse.c (comp_term): handle multibyte terminals
      	(compare_terminator): check all terminators
      	(stf_parse_options_new): initialize terminator list
      	(stf_parse_options_free): free terminator list
      	(long_string_first): new
      	(stf_parse_options_set_line_terminator_char): deleted
      	(stf_parse_options_set_line_terminator): deleted
      	(stf_parse_options_clear_line_terminator): new
      	(stf_parse_options_add_line_terminator): new
      	(stf_parse_options_remove_line_terminator): new
      	* src/stf-parse.h: Change type of StfParseOptions_t->
      	  terminator
      	(stf_parse_options_set_line_terminator_char): deleted
      	(stf_parse_options_set_line_terminator): deleted
      	(stf_parse_options_clear_line_terminator): new
      	(stf_parse_options_add_line_terminator): new
      	(stf_parse_options_remove_line_terminator): new
      
      	* dialog-stf-csv-page.c: fix previously forgotten #include
      be713e79
  20. 07 May, 2003 1 commit
    • Andreas J. Guelzow's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=80806 · 9730dca8
      Andreas J. Guelzow authored
              * src/stf-parse.h (StfTokenType_t): new	enumeration
      	(stf_parse_options_set_line_terminator): change argument type
      	(stf_parse_options_set_line_terminator_char): new
      	(stf_parse_next_token):	new
      
              * src/stf-parse.c
              (stf_parse_options_set_line_terminator): change argument type
              (stf_parse_options_set_line_terminator_char): new
              (stf_parse_next_token): new
      	(comp_term): new inline
      	(compare_terminator):	new inline and use throughout the	file
      	(stf_parse_csv_is_separator): rewrite
      	(stf_parse_csv_cell): rewrite
      	(stf_parse_eat_separators): new
      	(stf_parse_csv_line): make utf-8 clean
      
              * src/stf.c (stf_read_workbook):	fix released memory access (thanks Morten)
      	(stf_read_workbook_auto_csvtab): make utf-8 clean and adjust guess to make
                it more likely to guess tsv rather than csv
      9730dca8
  21. 14 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      Add links for Data -> Text To Columns Data -> Import External -> From File · 3ab1a0fb
      Jody Goldberg authored
      
      2002-10-14  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c : Add links for
      	    Data -> Text To Columns
      	    Data -> Import External -> From File
      	Only partially implemented in the last hour, but these are just too
      	easy to pass up.
      
      	* src/stf.c (stf_store_results) : new, split out of.
      	(stf_read_workbook) : here.
      	(cb_get_content) : new utility.
      	(stf_text_to_columns) : new.  Only partially done.
      	  We still need a way to get the target region.
      
      	* src/stf-parse.c (stf_parse_sheet) : take a starting offset for the
      	  output, and return a boolean in place of the sheet that was passed in.
      
      	* src/sheet.c (sheet_queue_respan) : new.
      
      	* src/selection.c (selection_first_range) : start cleanup and take a
      	  CommandContext rather than a Control.
      
      	* src/gui-util.c (gnumeric_notice) : Cheat and access the private
      	  label member to set it to accept markup.
      
      	* src/commands.c (cmd_area_set_text_redo) : a nifty optimization.
      	  Just redraw all and queue respanning for the effected regions.
      
      	* src/GNOME_Gnumeric.xml : Add entries for Text to columns and
      	  External Data -> Import from File
      3ab1a0fb
  22. 18 Aug, 2002 1 commit
    • Zbigniew Chyla's avatar
      New · 2ada9578
      Zbigniew Chyla authored
      
      2002-08-15  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/gnumeric-i18n.[ch]: New
      
      	* src/Makefile.am: Added gnumeric-i18n.[ch]
      
      	* src/gutils.[ch]
      	(g_lang_score_in_lang_list, g_lang_score_is_better): Removed
      
      	* src/format-template.h
      	(FormatTemplateCategoryGroup, FormatTemplateCategory): Removed lang_score
      
      	* src/xml-io-autoft.c (gnumeric_xml_read_format_template_category):
      	Don't assign category->lang_score
      
      	* src/file-autoft.c
      	(category_compare_orig_name): Renamed to
      	category_compare_orig_name_and_dir, compare by both name and directory
      	(category_group_list_get): Don't use lang_score, get translation from
      	the first category in a group. Sorting by name and directory guarantees
      	deterministic results
      
      	* plugins/applix/applix-read.c, plugins/derivatives/options.c,
      	plugins/dif/dif.c, plugins/excel/boot.c, plugins/excel/ms-excel-read.c,
      	plugins/excel/ms-excel-write.c, plugins/excel/ms-formula-read.c,
      	plugins/excel/ms-formula-write.c, plugins/fn-complex/functions.c,
      	plugins/fn-complex/gsl-complex.c, plugins/fn-database/functions.c,
      	plugins/fn-date/functions.c, plugins/fn-eng/functions.c,
      	plugins/fn-financial/functions.c, plugins/fn-info/functions.c,
      	plugins/fn-logical/functions.c, plugins/fn-lookup/functions.c,
      	plugins/fn-math/functions.c, plugins/fn-random/functions.c,
      	plugins/fn-stat/functions.c, plugins/fn-string/functions.c
      	plugins/gb/plugin.c, plugins/gda/plugin-gda.c, plugins/guile/plugin.c,
      	plugins/guile/smob-value.c, plugins/html/html_read.c,
      	plugins/html/roff.c, plugins/lotus-123/lotus.c, plugins/mps/mps.c,
      	plugins/mps/parser.c, plugins/numtheory/numtheory.c,
      	plugins/oleo/oleo.c, plugins/plan-perfect/pln.c,
      	plugins/psiconv/psiconv-read.c, plugins/python/python.c,
      	plugins/python-loader/py-gnumeric.c,
      	plugins/python-loader/python-loader.c, plugins/qpro/qpro-read.c,
      	plugins/sample_datasource/sample_datasource.c, plugins/sc/sc.c,
      	plugins/sylk/sylk.c, plugins/uihello/uihello.c, plugins/xbase/boot.c,
      	plugins/xml_sax/xml-sax-read.c, src/bonobo-io.c, src/clipboard.c,
      	src/cmd-edit.c, src/command-context-stderr.c, src/command-context.c,
      	src/commands.c, src/corba-args.c, src/dates.c,
      	src/dialogs/dao-gui-utils.c, src/dialogs/dialog-about.c,
      	src/dialogs/dialog-advanced-filter.c,
      	src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      	src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      	src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      	src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-col-width.c,
      	src/dialogs/dialog-consolidate.c, src/dialogs/dialog-define-names.c,
      	src/dialogs/dialog-delete-cells.c, src/dialogs/dialog-formula-guru.c,
      	src/dialogs/dialog-function-select.c, src/dialogs/dialog-goal-seek.c,
      	src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      	src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-merge.c,
      	src/dialogs/dialog-paste-special.c, src/dialogs/dialog-plugin-manager.c,
      	src/dialogs/dialog-preferences.c, src/dialogs/dialog-printer-setup.c,
      	src/dialogs/dialog-random-generator.c, src/dialogs/dialog-row-height.c,
      	src/dialogs/dialog-search-replace.c, src/dialogs/dialog-search.c,
      	src/dialogs/dialog-sheet-order.c, src/dialogs/dialog-simulation.c,
      	src/dialogs/dialog-solver.c, src/dialogs/dialog-stf-export-sheet-page.c,
      	src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-fixed-page.c,
      	src/dialogs/dialog-stf-format-page.c,
      	src/dialogs/dialog-stf-main-page.c, src/dialogs/dialog-stf-preview.c,
      	src/dialogs/dialog-stf.c, src/dialogs/dialog-summary.c,
      	src/dialogs/dialog-tabulate.c, src/dialogs/dialog-workbook-attr.c,
      	src/dialogs/dialog-zoom.c, src/expr-name.c, src/expr.c,
      	src/file.c, src/format-template.c, src/format.c, src/formats.c,
      	src/func-builtin.c, src/func.c, src/gnumeric-canvas.c,
      	src/gnumeric-graph.c, src/gui-clipboard.c, src/gui-file.c,
      	src/gui-util.c, src/history.c, src/hlink.c, src/item-bar.c,
      	src/item-cursor.c, src/item-edit.c, src/libgnumeric.c,
      	src/main-application.c, src/number-match.c, src/parser.y,
      	src/plugin-loader-module.c, src/plugin-loader.c, src/plugin-service.c,
      	src/plugin-util.c, src/plugin.c, src/print-info.c, src/print.c,
      	src/search.c, src/selection.c, src/sheet-autofill.c,
      	src/sheet-control-gui.c, src/sheet-merge.c, src/sheet-object-bonobo.c,
      	src/sheet-object-container.c, src/sheet-object-graphic.c,
      	src/sheet-object-widget.c, src/sheet-object.c, src/sheet-view.c,
      	src/sheet.c, src/stf-parse.c, src/stf-parse.h, src/stf.c, src/style.c,
      	src/tools/analysis-tools.c, src/tools/auto-correct.c, src/tools/dao.c,
      	src/tools/filter.c, src/tools/random-generator.c,
      	src/tools/simulation.c, src/tools/solver/api.c,
      	src/tools/solver/reports-write.c, src/tools/solver/reports.c,
      	src/tools/solver/solver.c, src/validation.c, src/value-sheet.c,
      	src/value.c, src/widgets/gnumeric-expr-entry.c,
      	src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      	src/workbook-control-gui.c, src/workbook-control.c, src/workbook-edit.c,
      	src/workbook-format-toolbar.c, src/workbook-object-toolbar.c,
      	src/workbook-view.c, src/workbook.c, src/xml-io.c:
      	Use <gnumeric-i18n.h> everywhere
      2ada9578
  23. 12 Jul, 2002 1 commit
    • Jody Goldberg's avatar
      remove pretend feature that supported regexp. Only shell paterns are · 171e3e33
      Jody Goldberg authored
      
      2002-07-12  Jody Goldberg <jody@gnome.org>
      
      	* src/plugin-service.c (gnum_plugin_file_opener_probe) : remove
      	  pretend feature that supported regexp.  Only shell paterns are
      	  supported now.
      	(plugin_service_file_opener_read) : ditto.
      
      	* src/io-context.c (file_io_progress_set) : delete.
      	(file_io_progress_update) : ditto.
      	(memory_io_progress_set) : ditto.
      	(memory_io_progress_update) : ditto.
      
      	* src/gnumeric-gconf.c (gnm_gconf_get_horizontal_dpi) : dummy out for
      	  now until we add a cache.
      	(gnm_gconf_get_vertical_dpi) : ditto.
      
      2002-07-10  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_preparse) : stf_parse_convert_to_unix now returns the
      	  length.
      	* src/stf.c (stf_read_default_probe) : handle short files.
      
      2002-07-10  Jody Goldberg <jody@gnome.org>
      
      	* src/gui-clipboard.c (x_clipboard_to_cell_region) :
      	  stf_parse_is_valid_data now takes a length.
      	* src/stf.c (stf_read_default_probe) : ditto.
      	(stf_preparse) : ditto.
      	* src/stf-parse.c (stf_parse_is_valid_data) : Use the supplied buffer
      	  length, not a 0 terminator.
      
      2002-07-10  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : enable quatro pro plugin
      	* plugins/Makefile.am : ditto
      171e3e33
  24. 21 Dec, 2001 1 commit
  25. 24 Aug, 2001 1 commit
    • Chyla Zbigniew's avatar
      Replace mega-include <gnome.h> with something smaller. · ac93e10a
      Chyla Zbigniew authored
      * src/analysis-tools.c, src/application.c, src/bonobo-io.c,
      src/clipboard.c, src/cmd-edit.c, src/command-context.c,
      src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
      src/dates.c, src/dialogs/dialog-about.c,
      src/dialogs/dialog-advanced-filter.c,
      src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
      src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
      src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
      src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-consolidate.c,
      src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
      src/dialogs/dialog-function-wizard.c, src/dialogs/dialog-goal-seek.c,
      src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
      src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-paste-special.c,
      src/dialogs/dialog-plugin-manager.c,
      src/dialogs/dialog-printer-setup.c,
      src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
      src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
      src/dialogs/dialog-stf-export-private.h,
      src/dialogs/dialog-stf-export-sheet-page.c,
      src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
      src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
      src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
      src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
      src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
      src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
      src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
      src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
      src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
      src/main.c, src/normal-args.c, src/number-match-test.c,
      src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
      src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
      src/search.c, src/selection.c, src/sheet-autofill.c,
      src/sheet-merge.c, src/sheet-object-bonobo.c,
      src/sheet-object-container.c, src/sheet-object-graphic.c,
      src/sheet-object-item.c, src/sheet-object-widget.c,
      src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
      src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
      src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
      src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
      src/widgets/gnumeric-vscrollbar.c,
      src/widgets/widget-editable-label.c,
      src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
      src/workbook-control.c, src/workbook-format-toolbar.c,
      src/workbook-object-toolbar.c, src/workbook-private.h,
      src/xml-io-autoft.c, src/xml-io.c:
      Replace mega-include <gnome.h> with something smaller.
      ac93e10a
  26. 04 Jun, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Burn useless comments. (stf_parse_options_csv_set_separators): Change · 3b6bb3ea
      Almer S. Tigelaar authored
      2001-06-04  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/stf-parse.[ch] : Burn useless comments.
      	(stf_parse_options_csv_set_separators): Change interface.
      	(stf_parse_csv_is_separator): Adjust for interface change.
      	(stf_parse_options_new): Burn modified and old splitpositions.
      	(stf_parse_options_set_type): Constify.
      	(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_customfieldseparator): Burn.
      	(stf_parse_options_csv_set_stringindicator): Constify.
      	(stf_parse_options_csv_set_indicator_2x_is_single): Idem.
      	(stf_parse_options_csv_set_duplicates): Idem.
      	(stf_parse_options_fixed_splitpositions_add): Idem.
      	(stf_parse_csv_cell): Cosmetic changes and adjust for
      	change to stf_parse_csv_is_separator, plus use GList.
      	(stf_parse_fixed_cell): Cosmetic changes.
      	(stf_parse_fixed_line): Idem and use GList.
      	(stf_parse_general): Optimize loop and use GList's.
      	(stf_parse_get_rowcount): Cosmetic changes.
      	(stf_parse_get_colcount): Idem.
      	(stf_parse_get_longest_row_width): Idem and fix.
      	(stf_parse_get_colwidth): Idem and fix.
      	(stf_parse_convert_to_unix): Rewrite.
      	(stf_parse_is_valid_data): Idem and constify.
      	(stf_parse_options_fixed_autodiscover): Constify.
      	(stf_parse_sheet): Rewrite.
      	(stf_parse_region): Idem.
      
      	* src/gui-clipboard.c (x_selection_to_cell_region):
      	Constify return variable from stf_parse_is_valid_data.
      
      2001-06-04  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-stf-csv-page.c (csv_page_global_change): Cope for
      	changes to csv_set_separators and stf_parse_general.
      
      	* dialog-stf-format-page.c (format_page_update_preview): Idem.
      
      	* dialog-stf-fixed-page.c (fixed_page_update_preview): Idem.
      
      	* dialog-stf-preview.[ch] (stf_preview_render_row): Idem.
      	(stf_preview_format_recalc_colwidths): Idem.
      	(stf_preview_format_line): Idem.
      	(stf_preview_render): Idem.
      3b6bb3ea
  27. 03 Jun, 2001 2 commits
    • Almer S. Tigelaar's avatar
      Add support for escaped newlines and clean-up. · a1f8bb83
      Almer S. Tigelaar authored
      2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/stf.c
      	(stf_parse_csv_cell): Add support for escaped newlines and
      	clean-up.
      	(stf_parse_options_csv_set_customfieldseparator): Support
      	string separator.
      	(stf_parse_options_new): Initialize customfieldseparator.
      	(stf_parse_options_free): Free custom field separator.
      	(stf_parse_csv_is_separator): Handle new string customfield separator.
      	(stf_parse_csv_cell): Idem.
      	(stf_parse_get_colcount): Idem.
      	(stf_parse_get_colwidth): Idem.
      
      2001-06-03  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-stf.glade: Make length of customfield
      	separator infinite.
      
      	* dialog-stf-csv-page.c (csv_page_global_change):
      	Set string customseparator instead of char.
      a1f8bb83
    • 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
  28. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  29. 23 Sep, 2000 1 commit
    • Almer S. Tigelaar's avatar
      return invalid character or NULL if the data is valid. · 8aad5f3a
      Almer S. Tigelaar authored
      2000-09-23  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/stf-parse.c, src/stf-parse.h:
      	(stf_parse_is_valid_data): return invalid character
      	or NULL if the data is valid.
      
      	* src/clipboard.c:
      	(stf_read_workbook): Adjust to cope with the new
      	stf_parse_is_valid_data.
      
      	* src/stf.c:
      	(x_selection_to_cell_region): Idem.
      8aad5f3a
  30. 05 Jul, 2000 1 commit
    • Morten Welinder's avatar
      const issues. · ff44e061
      Morten Welinder authored
      2000-07-05  Morten Welinder  <terra@diku.dk>
      
      	* src/clipboard.c (x_selection_to_cell_region): Copy data and zero
       	terminate it.
      
      	* src/stf-parse.c (stf_parse_fixed_line): Kill unneeded cast.
      	(stf_parse_convert_to_unix): Unconstify.  Don't bother keeping
       	track of len.  Handle form-feeds better.
      ff44e061
  31. 04 Jul, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      Fix column mangling in fixed width import. · f1ab3f8d
      Almer. S. Tigelaar authored
      2000-07-04  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/dialogs/dialog-stf.c, src/dialogs/dialog-stf-fixed-page.c :
      	Fix column mangling in fixed width import.
      
      	* src/dialogs/dialog-stf-format-page.c :
      	Fix USB (==Ugly Selection Bug).
      
      	* src/stf-parse.c, src/stf-parse.h :
      	(stf_parse_options_fixed_autodiscover) : New!
      	Column autodiscovery for fixed width.
      
      	* src/dialogs/dialog-stf.glade :
      	Add clear and autodiscovery buttons
      
      	* src/dialogs/dialog-stf-fixed-page.c :
      	(fixed_page_autodiscover) : Autodiscovery routine.
      	(fixed_page_clear_clicked) : Clear click handler
      	(fixed_page_auto_clicked) : Autodiscovery click handler
      f1ab3f8d
  32. 27 May, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      New function. (stf_parse_csv_cell): Modified so it can trim spaces in · c20793a2
      Almer. S. Tigelaar authored
      2000-05-27  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/dialogs/stf-parse.c:
      	(stf_parse_options_set_trim_spaces): New function.
      	(stf_parse_csv_cell): Modified so it can trim spaces in
      	several ways
      	(stf_parse_fixed_cell): Ditto.
      	(stf_parse_get_longest_row_width) : Fixed small bug which
      	caused incorrect width to be returned.
      
      	* src/dialogs/dialog-stf.glade:
      	Added trim spaces option and did some general polishing.
      
      	* src/dialogs/dialog-stf.h:
      	Added new member to DruidPageData_t which indicates weather
      	the user wants to trim spaces and in which way.
      
      	* src/dialogs/dialog-stf-main-page.c:
      	(stf_dialog_main_page_init): Modified so it loads the trim optionmenu.
      	(main_page_trim_menu_deactivate): New.
      
      	* src/dialogs/dialog-stf-csv-page.c:
      	(stf_dialog_csv_page_prepare): Now sets the trim member of the parse
      	options struct.
      
      	* src/dialogs/dialog-stf-fixed-page.c:
      	(stf_dialog_fixed_page_prepare): Now sets the trim member of the
      	parse options struct.
      	(stf_dialog_fixed_page_prepare): Did not honor the from/to line
      	settings.
      	(fixed_page_remove_clicked): Added gnumeric_clist_moveto to make
      	selection visible.
      	(fixed_page_add_clicked): Ditto.
      
      	* src/dialogs/dialog-stf-format-page.c:
      	(format_page_canvas_button_press_event): Modified to use
      	gnumeric_clist_moveto
      	(format_page_collist_select_row): Ditto.
      	(format_page_format_changed): Ditto.
      	(stf_dialog_format_page_prepare): Ditto.
      
      	* src/gnumeric-util.c, src/gnumeric-util.h:
      	(gnumeric_option_menu_get_selected_index): New function, Returns
      	the selected index of a GtkOptionMenu. (Originally from
      	dialog-stf-export-format-page.c)
      
      	* src/dialogs/dialog-stf-export-format-page.c:
      	(stf_export_dialog_option_menu_index): Removed.
      	(sheet_page_separator_menu_deactivate): Modified to use the new
      	gnumeric_option_menu_get_selected_index.
      	(stf_export_dialog_format_page_result): Ditto.
      
      	* doc/stf-parser.txt:
      	Update documentation.
      c20793a2
  33. 06 Apr, 2000 1 commit