Commit Graph

8 Commits

Author SHA1 Message Date
60dcd52057 Fixed a warning by #if 0ing out this function.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-searching-tokenizer.c (search_info_set_match_size_increase):
	Fixed a warning by #if 0ing out this function.

	* folder-browser.c, folder-browser.h (on_selection_changed):
	Update status bar in an idle call.  Fixes Ximian bug #13929.

	* mail-folder-cache.c (folder_renamed, store_folder_renamed):
	Fixed some warnings here.

svn path=/trunk/; revision=14372
2001-10-29 22:41:35 +00:00
c0cddd6d1d Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14191
2001-10-27 00:47:22 +00:00
1ff31661d8 Always explicitly clear out the SearchInfo.
2001-10-16  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (e_searching_tokenizer_begin): Always
	explicitly clear out the SearchInfo.

svn path=/trunk/; revision=13704
2001-10-16 20:56:21 +00:00
2855fe6b72 Share more state between the parent and its clones, so that our multiple
2001-10-14  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (e_searching_tokenizer_clone): Share
	more state between the parent and its clones, so that our multiple
	tokenizers don't get out of sync when we are rendering frames and
	iframes. (Bug #11638)

svn path=/trunk/; revision=13671
2001-10-14 18:32:26 +00:00
b407e779ce Bad hacker! Don't implicitly assume that utf8 characters are one byte in
2001-10-13  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (search_info_compare): Bad hacker!
	Don't implicitly assume that utf8 characters are one byte in size!
	(Bug #9520)
	(e_searching_tokenizer_begin): As long as I'm touching those code:
	don't increase the size of search matches.  I'll fix the colors
	later. (part of bug #11589)

svn path=/trunk/; revision=13667
2001-10-14 04:17:24 +00:00
1f52a5d0fa Use secondary searches here, so that we control the interference between
2001-05-14  Jon Trowbridge  <trow@ximian.com>

        * folder-browser.c (folder_browser_config_search): Use secondary
        searches here, so that we control the interference between the two
        bits of searching UI.

2001-05-13  Jon Trowbridge  <trow@ximian.com>

        * mail-search.c (mail_search_construct): Destroy the MailSearch
        dialog if the underlying MailDisplay is destroyed.  I don't like
        the way that label in the dialog with the message subject in it
        looks, so I've #ifdef-ed it out for now.  Center the Matches
        label --- it makes the dialog look more balanced, I think.
        (dialog_clicked_cb): Changed to reflect adjusted
        ESearchingTokenizer API, using primary searches.
        (toggled_case_cb): Use the primary search API.

        * e-searching-tokenizer.c: Make searching routines utf8-friendly.
        Rationalize how the match begin/end markup is handled; allow for
        begin/end markup that varies by search.  Add concept of primary and
        secondary matching, to disentangle possible interactions between
        search-bar searches and search-dialog searches.

svn path=/trunk/; revision=9789
2001-05-14 05:06:16 +00:00
daf971fbe5 Remove a snippet of debugging code I left in by mistake.
2001-05-11  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (e_searching_tokenizer_new):
	Remove a snippet of debugging code I left in by mistake.

svn path=/trunk/; revision=9761
2001-05-11 18:31:05 +00:00
59c9d146b9 Use the ESearchingTokenizer to highlight search matches for folder-level
2001-05-10  Jon Trowbridge  <trow@ximian.com>

	* folder-browser.c (folder_browser_config_search): Use the
	ESearchingTokenizer to highlight search matches for folder-level
	searches.  Still mildly broken, but it works for the simple cases.

	* mail-display.c (mail_display_new): Use our ESearchingTokenizer
	for the mail display GtkHTML widget.

	* mail-search.c (dialog_clicked_cb): Use the ESearchingTokenizer to
	highlight search matches.
	(mail_search_construct): Add a match count to the search dialog.

	* e-searching-tokenizer.c
	(e_searching_tokenizer_set_search_string): Added.  A custom HTML
	tokenizer that does highlighting of search strings.

svn path=/trunk/; revision=9754
2001-05-11 04:27:35 +00:00