aboutsummaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* Deleted Gediminas patch.Not Zed2001-05-081-0/+4
| | | | | | | | 2001-05-08 Not Zed <NotZed@Ximian.com> * filter-rule.c: Deleted Gediminas patch. svn path=/trunk/; revision=9709
* Fix for #2253 (search names not translated), mail-search i18n fixes.Gediminas Paulauskas2001-05-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * searches.xml: replace title> with _title>. Part of fix to #2253. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * mail-search.c: convert search entry to utf8. * mail-local.c: d() debugging message. * mail-send-recv.c: replace " ..." with "..." * Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * POTFILES.in: add mail/mail-search.c 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-search-bar.c (add_dropdown), (set_option): first try to translate, then if not suceeded -- convert from utf8. This handles cases when menuitem needs to be translated (it is passed as N_()), or is utf8 search title. However you cannot have a search like "Folders" -- it is translated. Part of fix for #2253. * misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED macro instead of own "Advanced ..." for consistency. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * filter-rule.c (xml_decode): allow "_title" in user rules. translate them and encode to utf8. (get_rule_part_widget): do not call gettext on part->title. It is always translated already. svn path=/trunk/; revision=9706
* Set the default size of the dialog to 600x400, which seems to be a niceJeffrey Stedfast2001-04-272-2/+12
| | | | | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set the default size of the dialog to 600x400, which seems to be a nice size that fits all the widgets into it. (rule_add): Same. svn path=/trunk/; revision=9604
* Remove UNICODE_CFLAGSDan Winship2001-04-262-1/+4
| | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS svn path=/trunk/; revision=9582
* Blah blah fix for xml1 broken utf8 encoding, and use "g" memory for allNot Zed2001-04-262-16/+36
| | | | | | | | | | 2001-04-26 Not Zed <NotZed@Ximian.com> * filter-part.c (filter_part_xml_create): Blah blah fix for xml1 broken utf8 encoding, and use "g" memory for all allocations. (filter_part_finalise): Free our data properly. svn path=/trunk/; revision=9572
* Pull up fix for translation of filter direction drop down menu from theKjartan Maraas2001-04-212-1/+12
| | | | | | | | | 2001-04-20 Kjartan Maraas <kmaraas@gnome.org> * filter-rule.c: Pull up fix for translation of filter direction drop down menu from the branch. svn path=/trunk/; revision=9475
* Plug memory leaks.Dan Winship2001-04-1914-21/+62
| | | | | | | | | | | | | | * filter-colour.c, filter-datespec.c, filter-folder.c, filter-input.c, filter-option.c, filter-rule.c, filter-score.c, filter-source.c, score-rule.c (xml_decode): Plug memory leaks. * rule-context.c (rule_context_finalise): Implement. Free stuff. * filter-element.h: #include <gnome-xml/xmlmemory.h> here for xmlFree * filter-filter.c, filter-part.c: Remove xmlmemory.h #include svn path=/trunk/; revision=9451
* s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest.Jeffrey Stedfast2001-04-163-22/+25
| | | | | | | | | 2001-04-15 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest. svn path=/trunk/; revision=9331
* Oops --- I forgot to add these files before my last commit.Jon Trowbridge2001-04-142-0/+408
| | | | svn path=/trunk/; revision=9305
* Make the (previously unused) get-source command actually do the rightJon Trowbridge2001-04-147-3/+42
| | | | | | | | | | | | | | | | | | | | | | 2001-04-13 Jon Trowbridge <trow@gnu.org> * camel-filter-search.c (get_source): Make the (previously unused) get-source command actually do the right thing, properly shrouding any passed-in source and falling back to use the source attached to the mime message. 2001-04-13 Jon Trowbridge <trow@gnu.org> * filtertypes.xml: Add XML specs for source account filtering. * filter-element.c (filter_element_new_type_name): Recognize type "source", construct a FilterSource. * filter-source.c: Added. A FilterElement for the account e-mail comes from. svn path=/trunk/; revision=9304
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-9/+0
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here. Same here. SameKjartan Maraas2001-04-0510-0/+37
| | | | | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * filter-editor.c: Fix headers. * filter-filter.c: Same here. * filter-option.c: Same here. * filter-part.c: Same here. * filter-rule.c: Same here. * rule-editor.c: Same here. * score-editor.c: Same here. * vfolder-editor.c: Same here. * vfolder-rule.c: Same here. svn path=/trunk/; revision=9182
* Set the newpart on the container object. (less_parts): Remove the rule thtJeffrey Stedfast2001-04-034-90/+125
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-02 Jeffrey Stedfast <fejj@ximian.com> * filter-filter.c (option_activate): Set the newpart on the container object. (less_parts): Remove the rule tht the user wants to remove. (attach_rule): Attach a new rule and it's remove button to the end of the table. (more_parts): Fix to resize the table and such. (get_widget): Don't have a remove action button, we are putting this next to the rule part now. * filter-rule.c (option_activate): Set the newpart on the container object. (less_parts): Remove the rule tht the user wants to remove. (attach_rule): Attach a new rule and it's remove button to the end of the table. (more_parts): Fix to resize the table and such. (get_widget): Don't have a remove action button, we are putting this next to the rule part now. svn path=/trunk/; revision=9115
* Fix headers. Remove unneccesary ones and replace with more finegrainedKjartan Maraas2001-03-3043-66/+122
| | | | | | | | | 2001-03-30 Kjartan Maraas <kmaraas@gnome.org> * *.*: Fix headers. Remove unneccesary ones and replace with more finegrained ones where needed. svn path=/trunk/; revision=9028
* Oops, an unspecified date is '0', not -1.Jeffrey Stedfast2001-03-232-1/+6
| | | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * filter-datespec.c (validate): Oops, an unspecified date is '0', not -1. svn path=/trunk/; revision=8910
* Validate the rule before closing.Jeffrey Stedfast2001-03-224-13/+24
| | | | | | | | | 2001-03-21 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (new_rule_clicked): Validate the rule before closing. svn path=/trunk/; revision=8879
* Set the editor dialog modal rather than setting the filter dialogJeffrey Stedfast2001-03-212-118/+130
| | | | | | | | | | | | | | | | | 2001-03-20 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set the editor dialog modal rather than setting the filter dialog insensitive. Also ref re->edit since we unref it when the editor closes. This should fix bug #1905. (edit_editor_clicked): No need to set the filter dialog sensitive again. (rule_add): Set the add-rule dialog modal and don't set the filter dialog insensitive. (add_editor_clicked): No need to set the filter dialog sensitive again. svn path=/trunk/; revision=8858
* Since we are now using filter-option widgets in place of system-flag, weJeffrey Stedfast2001-03-183-4/+14
| | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-option.c (build_code): Since we are now using filter-option widgets in place of system-flag, we do not need a "code" part so if there isn't a code part, don't build it. (clone): Updated to allow NULL code parts. svn path=/trunk/; revision=8789
* If the filter type is a "system-flag", use the optionlist type as typeJeffrey Stedfast2001-03-182-1/+6
| | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c (filter_element_new_type_name): If the filter type is a "system-flag", use the optionlist type as type system-flag has been removed. This should allow backward compatability. svn path=/trunk/; revision=8785
* Remove the menu that is in the glade file because we want to replace itJeffrey Stedfast2001-03-174-5/+51
| | | | | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-editor.c (filter_editor_construct): Remove the menu that is in the glade file because we want to replace it with our menu, not append items to that menu. * filtertypes.xml: Oops, missed the system-flag action-set. * vfoldertypes.xml: Update "status" ruleset. svn path=/trunk/; revision=8780
* removed these blasted filesJeffrey Stedfast2001-03-174-602/+0
| | | | svn path=/trunk/; revision=8769
* Removed filter-url.[c,h] and filter-system-flag.[c,h]Jeffrey Stedfast2001-03-175-32/+37
| | | | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed filter-url.[c,h] and filter-system-flag.[c,h] * filter-element.c (filter_element_new_type_name): Removed references to the url-type and system-flag types. * filtertypes.xml: Removed "source" type and fixed "status" to use the optionmenu. * filter-url.[c,h]: Removed. * filter-system-flag.[c,h]: Removed (just use optionmenu). svn path=/trunk/; revision=8768
* Changed the edit_filter to be a standalone window rather than a widget, soNot Zed2001-03-1514-928/+943
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * filter.glade: Changed the edit_filter to be a standalone window rather than a widget, so we can get the rule editor part out separately. Same for vfolder editor, and new score, and basic rule editors. * score-editor.c (score_editor_new): Turned back on object stuff, subclass rule-editor, and removed most of the code. * filter-editor.c (filter_editor_new): Turned into an object, subclass rule-editor, removed most of the code. Now we accept the source list during create, and plug that into the glade. * vfolder-editor.c (vfolder_editor_new): Turned back on object stuff, subclass rule-editor, and removed most of the code. * Makefile.am (libfilter_la_SOURCES): Added rule-editor.[ch]. * filter-filter.c (validate): inherit the validate function and also validate the actions part of a filterfilter. * filter-rule.c (filter_rule_validate): New method so that filter rules can validate themselves. (validate): Default implementation, validates base rules. * rule-editor.h: New generic rule editor, to be used for filter editor/vfolder editor/score editor/saved searches editor. svn path=/trunk/; revision=8729
* create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-152-1/+5
| | | | | | | | | | | | | 2001-03-14 Gediminas Paulauskas <menesis@delfi.lt> * configure.in: create doc/devel/executive-summary/Makefile * doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml anymore * filter/filter-system-flag.c: translate status flag title. svn path=/trunk/; revision=8714
* Added an "Attachments" filter option where you can filter messages thatJeffrey Stedfast2001-03-134-121/+35
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added an "Attachments" filter option where you can filter messages that have (or do not have) attachments. This does not allow you to filter based on the types of the attachments. svn path=/trunk/; revision=8652
* Make sure we have something selected first ;-)Jeffrey Stedfast2001-03-093-6/+13
| | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * vfolder-editor.c (double_click): Make sure we have something selected first ;-) * filter-editor.c (double_click): And here too. svn path=/trunk/; revision=8599
* Added option menu to vfolder editor.Not Zed2001-03-035-208/+160
| | | | | | | | | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * filter.glade: Added option menu to vfolder editor. 2001-03-02 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (get_widget): Setup the data on the base source opiton menu, and make hte option menu reflect the source. (select_source_with): Set the source type for this rule. e.g. these folders, "with ..." * filter-editor.c: Removed the N_() stuff from the source_names array, they must not be internationalised!!! svn path=/trunk/; revision=8533
* New function to clone rules.Not Zed2001-03-013-0/+21
| | | | | | | | 2001-02-28 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_clone): New function to clone rules. svn path=/trunk/; revision=8435
* IMAP subscriptions stuff.Aaron Weber2001-02-231-0/+114
| | | | | | | | 2001-02-23 Aaron Weber <aaron@helixcode.com> * C/usage-mail.sgml: IMAP subscriptions stuff. svn path=/trunk/; revision=8366
* renamed mailing list options to be more meaningful.Not Zed2001-02-233-20/+22
| | | | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * filtertypes.xml: renamed mailing list options to be more meaningful. * vfoldertypes.xml: renamed mailing list options to be more meaningful. svn path=/trunk/; revision=8357
* Added mailing list matching rules.Not Zed2001-02-234-0/+101
| | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added mailing list matching rules. * vfoldertypes.xml: Added mailing list rules. svn path=/trunk/; revision=8356
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-114-18/+7
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Translate the option title. (Noticed by Kjartan).Dan Winship2001-02-072-1/+6
| | | | | | | * filter-option.c (get_widget): Translate the option title. (Noticed by Kjartan). svn path=/trunk/; revision=8027
* Add #include <config.h> and mark some strings for translation.Kjartan Maraas2001-02-0514-3/+1638
| | | | | | | | | | | 2001-02-05 Kjartan Maraas <kmaraas@gnome.org> * filter-code.c, filter-colour.c, filter-context.c, filter-element.c, filter-input.c, filter-score.c, filter-system-flag.c, filter-url.c: Add #include <config.h> and mark some strings for translation. svn path=/trunk/; revision=7967
* Removed, now lives in camel-filter-search.*Not Zed2001-01-226-1712/+10
| | | | | | | | | | | | | | 2001-01-22 Not Zed <NotZed@Ximian.com> * filter-message-search.[ch]: Removed, now lives in camel-filter-search.* * Makefile.am (libfilter_la_SOURCES): Removed filter-driver.[ch] and filter-message-search.[ch]. * filter-driver.[ch]: Removed. now lives in camel-filter-driver.* svn path=/trunk/; revision=7703
* Set the delete bit *before* copying to the default folder.Jeffrey Stedfast2001-01-202-4/+9
| | | | | | | | | 2001-01-19 Jeffrey Stedfast <fejj@ximian.com> * filter-driver.c (filter_driver_filter_message): Set the delete bit *before* copying to the default folder. svn path=/trunk/; revision=7656
* Er, don't set the button insensitive if there is *1* action, set itJeffrey Stedfast2001-01-182-4/+15
| | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * filter-filter.c (less_parts): Er, don't set the button insensitive if there is *1* action, set it insensitive if there are less than or equal to *1* actions. Doh! (more_parts): Only set the remove button sensitive if there is more than 1 action. (get_widget): Here too. svn path=/trunk/; revision=7616
* Remove these files.Jacob Leach2001-01-172-402/+0
| | | | svn path=/trunk/; revision=7537
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-172-2/+5
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* Moved p->copied to the inner part of the loop so that in the case of aJeffrey Stedfast2001-01-132-4/+15
| | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * filter-driver.c (do_copy): Moved p->copied to the inner part of the loop so that in the case of a folder not existing, it doesn't think that the message was already copied to some place and thus not save it to the Inbox. (do_move): Same. svn path=/trunk/; revision=7478
* Changed Priority to Score.Jeffrey Stedfast2001-01-103-2/+4
| | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed Priority to Score. svn path=/trunk/; revision=7357
* Attach to the "activate" signal - this should now make it so that aJeffrey Stedfast2001-01-105-27/+65
| | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * filter-option.c (get_widget): Attach to the "activate" signal - this should now make it so that a filter-option will "remember" what a user changed. * filter-system-flag.c (get_widget): Don't reset fsf->value to the first system flag, this should already be defaulted to the appropriate flag. This should fix the problem of always defaulting to the first menu option and thus "forgetting" the user's settings. svn path=/trunk/; revision=7356
* comment out some of the system flags as we don't want to use them.Jeffrey Stedfast2001-01-042-4/+11
| | | | | | | | | | | 2001-01-04 Jeffrey Stedfast <fejj@helixcode.com> * filter-system-flag.c: comment out some of the system flags as we don't want to use them. (xml_encode): Update the printf (get_widget): Use strcmp instead of g_strcasecmp. svn path=/trunk/; revision=7244
* Little utf8 safe encoding/decoding into libxml1 brokennessLauris Kaplinski2001-01-035-12/+58
| | | | svn path=/trunk/; revision=7226
* Set the 'dirty' flag - this should fix the problem of flags not being setJeffrey Stedfast2001-01-032-2/+9
| | | | | | | | | | | 2001-01-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (do_flag): Set the 'dirty' flag - this should fix the problem of flags not being set (or, more precisely, synced). (filter_driver_filter_message): Here too. svn path=/trunk/; revision=7224
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-031-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove the client from the alarm notification system. Removed all the obsolete alarm code. * gui/event-editor.c: Removed some crufty externs left over from Gnomecal. * gui/calendar-commands.c: #include "goto.h" Removed crufty variables left over from Gnomecal. (new_calendar): Do not take a full_name parameter. (init_username): Removed function. (init_calendar): Wheeeeeeee! Removed crufty function. (quit_cmd): Removed function. * gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally FALSE because we do not use the configuration setting anyways. Sigh, all the printing code needs to be revamped. svn path=/trunk/; revision=7209
* Use e_utf8_strstrcase() instead of just strstr(). (header_starts_with):Jeffrey Stedfast2001-01-023-6/+132
| | | | | | | | | | | | | | 2000-12-21 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (header_contains): Use e_utf8_strstrcase() instead of just strstr(). (header_starts_with): Make sure that the header contents are longer than the starts-with string. * vfoldertypes.xml: Don't send \"Subject\" to body-contains. Also added matches, starts-with, and ends-with xml stuff. svn path=/trunk/; revision=7204
* Use CamelContentType rather than GMimeContentField.Dan Winship2000-12-292-7/+12
| | | | | | | * filter-message-search.c (handle_multipart, body_contains, body_regex): Use CamelContentType rather than GMimeContentField. svn path=/trunk/; revision=7187
* Merge from camel-mt-branch.Not Zed2000-12-243-4/+4
| | | | | | | | 2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152
* And here too.Not Zed2000-12-213-1/+12
| | | | | | | | | | | 2000-12-21 Not Zed <NotZed@HelixCode.com> * filter-message-search.c (filter_message_search): And here too. * filter-driver.c (filter_driver_finalise): Kind of revert an accidentally commited patch for e_sexp_unref. svn path=/trunk/; revision=7108
* God-damned friggin' WinCvs shit is so damn annoying. Why can't I just paste ↵Jeffrey Stedfast2000-12-213-3/+16
| | | | | | | | my ChangeLog entry? Ugh... Anyways, this checkin fixes bug #1007 svn path=/trunk/; revision=7107
* Oops, missed a gtk unref of the now-no-longer gtk e_sexp.Not Zed2000-12-203-20/+11
| | | | | | | | | | | | 2000-12-20 Not Zed <NotZed@HelixCode.com> * filter-message-search.c (filter_message_search): Oops, missed a gtk unref of the now-no-longer gtk e_sexp. * filter-driver.c: Remove mail_tool_lock stuff. (filter_driver_finalise): unref e_sexp properly. svn path=/trunk/; revision=7095
* Fixed some warnings.Christopher James Lahey2000-12-122-1/+6
| | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c (esb_pack_menubar): Fixed some warnings. svn path=/trunk/; revision=6940
* Added a kludge, 'is_active' which is a static variable that holds whetherJeffrey Stedfast2000-12-122-0/+12
| | | | | | | | | | | | | | 2000-12-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-folder.c (button_clicked): Added a kludge, 'is_active' which is a static variable that holds whether or not there is an active shell folder dialog up or not. * vfolder-editor.c (rule_delete): Autoselect the rule that ends up in the same position (or the one above it if the list is shorter than the position). svn path=/trunk/; revision=6927
* Autoselect the rule that ends up in the same position (or the one above itJeffrey Stedfast2000-12-122-1/+12
| | | | | | | | | | 2000-12-11 Jeffrey Stedfast <fejj@helixcode.com> * vfolder-editor.c (rule_delete): Autoselect the rule that ends up in the same position (or the one above it if the list is shorter than the position). svn path=/trunk/; revision=6926
* Don't highlight the title if it's "Untitled" because switching widgetJeffrey Stedfast2000-12-092-1/+9
| | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * filter-rule.c (get_widget): Don't highlight the title if it's "Untitled" because switching widget focus doesn't cause this selection to go away. svn path=/trunk/; revision=6870
* Mark some strings for translation.Kjartan Maraas2000-12-072-2/+6
| | | | | | | | 2000-12-06 Kjartan Maraas <kmaraas@gnome.org> * filter-editor.c: Mark some strings for translation. svn path=/trunk/; revision=6821
* Forgot to commit this with my last set of changes to the filter codeJeffrey Stedfast2000-12-061-3/+0
| | | | svn path=/trunk/; revision=6805
* Added support for the system-flag type.Jeffrey Stedfast2000-12-0210-75/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Added support for the system-flag type. * Makefile.am: Added filter-system-flag.[c,h]. * filter-system-flag.[c,h]: New type for system flags. * filtertypes.xml: Oops, looks like we were still using integers as arguments to set-flag. Change over to using strings which are safer and also change the name to set-system-flag. * filter-driver.c (do_flag): Use strings instead of integers. Instead of set-flag, the callback is now set-system-flag for less confusion. Sorry Ettore, but you'll have to change your filters. * filtertypes.xml: Added system-flags stuff. * vfoldertypes.xml: And here too. * filter-message-search.c (system_flag): New ESExp callback for filtering on system flags. svn path=/trunk/; revision=6764
* Use camel_message_info_free() instead of freeing everything by hand - isJeffrey Stedfast2000-12-012-32/+12
| | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Use camel_message_info_free() instead of freeing everything by hand - is this a new function? I don't ever recall seeing this before. Also use my new function, camel_message_info_new_from_header - ahhh... this code is now so beatiful. Okay, I'm done. svn path=/trunk/; revision=6750
* Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV forJeffrey Stedfast2000-12-012-4/+29
| | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV for the moment). svn path=/trunk/; revision=6739
* Moved the regex filter rule around - we've changed the format a bit.Jeffrey Stedfast2000-11-2811-107/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Moved the regex filter rule around - we've changed the format a bit. * filter-option.c (option_activate): Removed. (get_widget): Don't connect the activate signal. * filter-folder.c (validate): Updated. * filter-datespec.c (validate): Updated. * filter-part.c (filter_part_validate): Updated. * filter-input.c (validate): Check the filter-input type - if it's of type "regex", then check for regex validity. * filter-element.c (filter_element_validate): No longer takes a gpointer argument. (filter_element_new_type_name): Allow type "regex" and create a new filter-input with type "regex". 2000-11-24 Michael Meeks <michael@helixcode.com> * filter-message-search.c (get_full_header): impl. (header_full_regex): use it. 2000-11-23 Michael Meeks <michael@helixcode.com> * filter-message-search.c (header_full_regex): impl. svn path=/trunk/; revision=6685
* took out some no longer needed printfs.Jeffrey Stedfast2000-11-222-2/+5
| | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c: took out some no longer needed printfs. svn path=/trunk/; revision=6632
* Sync here instead. (filter_driver_filter_mbox): And here too.Jeffrey Stedfast2000-11-162-4/+21
| | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_folder): Sync here instead. (filter_driver_filter_mbox): And here too. (filter_driver_finalise): Don't sync here afterall - it's more preferable to sync right after processing. svn path=/trunk/; revision=6588
* Sync the defaultfolder.Jeffrey Stedfast2000-11-162-1/+8
| | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_finalise): Sync the defaultfolder. svn path=/trunk/; revision=6587
* Neglect any leading whitespace in the header contents.Jeffrey Stedfast2000-11-142-0/+22
| | | | | | | | | | | | 2000-11-13 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (header_matches): Neglect any leading whitespace in the header contents. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): Same. svn path=/trunk/; revision=6562
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-2/+3
| | | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder and the message hasn't been deleted... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. (filter_driver_filter_message): svn path=/trunk/; revision=6555
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-3/+10
| | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. svn path=/trunk/; revision=6554
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-1/+8
| | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... svn path=/trunk/; revision=6551
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-131-16/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Made the underline show up properly in the main menu bar.Christopher James Lahey2000-11-112-3/+28
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Made the underline show up properly in the main menu bar. svn path=/trunk/; revision=6532
* Switched from using gtk_menu_item_new_with_label for the menu header toChristopher James Lahey2000-11-102-1/+6
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Switched from using gtk_menu_item_new_with_label for the menu header to using gnome_stock_menu_item. svn path=/trunk/; revision=6530
* Fixed two spacing problems: first, changed the spacing around the end ofAnna Marie Dirks2000-11-102-2/+11
| | | | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * e-search-bar.c: Fixed two spacing problems: first, changed the spacing around the end of the text-entry widget so that the text entry is always aligned with the beginning of the scrollbar; second, trimmed down the space between the widgets in the search bar. svn path=/trunk/; revision=6522
* you shouldn't use an integer to set the flag. You should use a string, andNot Zed2000-11-073-19/+33
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-06 Not Zed <NotZed@HelixCode.com> * filter-driver.c (do_flag): you shouldn't use an integer to set the flag. You should use a string, and look it up, because the flag bits might change. (filter_driver_filter_message): Can som e one PLEASE STOP INDENTING THE CODE. Even if i have to come over the and beat it into you. YOU DONT INDENT CODE ONCE ITS BEEN CHECKED IN TO CVS, otherwise you SCREW UP THE DIFF's. Can't you please please learn this? (filter_driver_log): Fixes for api changes to mime_message. 2000-11-05 Not Zed <NotZed@HelixCode.com> * filter-message-search.c (get_sent_date): Fix for date change api. No longer need to encode/decode the date, after its been encoded/ecoded already. (get_received_date): Likewise. svn path=/trunk/; revision=6477
* Fixed the argument comment. Removed an old enum that's not used here.Christopher James Lahey2000-11-072-9/+9
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.h: Fixed the argument comment. Removed an old enum that's not used here. svn path=/trunk/; revision=6457
* Added e-search-bar.c and e-search-bar.h.Christopher James Lahey2000-11-074-0/+393
| | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-search-bar.c and e-search-bar.h. * e-search-bar.c, e-search-bar.h: Moved this from e-addressbook-search. svn path=/trunk/; revision=6454
* Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a moreJeffrey Stedfast2000-11-031-2/+2
| | | | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more user-friendly filter name in the log file. svn path=/trunk/; revision=6359
* Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a moreJeffrey Stedfast2000-11-022-1/+3
| | | | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more user-friendly filter name in the log file. svn path=/trunk/; revision=6347
* Fix for when 'desc' is NULL.Jeffrey Stedfast2000-11-022-4/+12
| | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. svn path=/trunk/; revision=6345
* Use filter_driver_log() where appropriate. (do_copy): Use the service urlJeffrey Stedfast2000-11-023-50/+106
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Use filter_driver_log() where appropriate. (do_copy): Use the service url for the path rather than the folder->full_name because that'll only get you a "/mbox" which is entirely useless. Replace occurences of report_status with filter_driver_log. (do_move): Same. (report_status): Don't use this for logging anymore, use only for reporting the status back to the caller. (filter_driver_log): Renamed from filter_driver_status_log. Now ONLY handles file logging and is for INTERNAL USE ONLY. (do_flag): Replace occurences of report_status with filter_driver_log. (do_score): Same. (do_colour): Same. (do_stop): Same. svn path=/trunk/; revision=6340
* Check to make sure the user has entered a valid date.Jeffrey Stedfast2000-11-022-189/+223
| | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-datespec.c (validate): Check to make sure the user has entered a valid date. svn path=/trunk/; revision=6324
* Updated to allow the user to select "sounds like" or "does not sound like"Jeffrey Stedfast2000-11-014-6/+149
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to select "sounds like" or "does not sound like" (uses header-soundex). * filter-message-search.c (header_matches): Oops. Should be using !g_strncasecmp. This should fix it so this filter match works right. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): New filter callback for soundex matching (yes, it's probably a bloated feature but hey, it was fun to code) svn path=/trunk/; revision=6302
* Override the default validate function to only return TRUE if a folder hasJeffrey Stedfast2000-11-013-92/+183
| | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filter-folder.c (validate): Override the default validate function to only return TRUE if a folder has been selected. * filter-editor.c (rule_add): Validate that all the rule parts and action parts are correctly filled in. (rule_edit): Same. svn path=/trunk/; revision=6300
* Updated to add an action to set message flags.Jeffrey Stedfast2000-11-017-8/+111
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to add an action to set message flags. * filter-driver.c (do_flag): New callback to set message info flags. * filter-element.c (filter_element_set_data): New convenience function to set the data on a FilterElement. * filter-url.c (get_widget): Set the sources list to point to the FilterElement data. svn path=/trunk/; revision=6298
* Do not pad around the Name hbox; its parent already has spacing. Do notFederico Mena Quintero2000-11-012-4/+11
| | | | | | | | | | | 2000-10-31 Federico Mena Quintero <federico@helixcode.com> * filter-rule.c (get_widget): Do not pad around the Name hbox; its parent already has spacing. Do not pad around the inframe's children; the inframe already has spacing. svn path=/trunk/; revision=6294
* If a regex option is selected, change the FilterElement data to TRUE elseJeffrey Stedfast2000-10-319-15/+139
| | | | | | | | | | | | | | | | | | | | | | 2000-10-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-option.c (option_activate): If a regex option is selected, change the FilterElement data to TRUE else set to FALSE. * filter-rule.c (more_parts): Validate the previously entered FilterPart before allowing the user to add a new FilterPart. * filter-part.c (filter_part_validate): New convenience function to validate an entire FilterPart expression. * filter-input.c (validate): Validate the entry text if it contains a regular expression. * filter-element.[c,h]: New virtual function to validate the contents of the FilterElement (useful for regex and sexp). (filter_element_validate): You get the idea... svn path=/trunk/; revision=6285
* Pure formatting changes, no actual code changes. Since I know I'm going toJeffrey Stedfast2000-10-316-259/+316
| | | | | | | | | | | | | | | | 2000-10-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-input.c: * filter-option.c: * filter-part.c: Pure formatting changes, no actual code changes. Since I know I'm going to get flamed for this, I'm sorry but I'll probably have to modify code in these files and it's easier if the code is quickly readable by me. * filter-rule.c (get_widget): Set the "remove" button insensitive for <= 1 instead of == 1. svn path=/trunk/; revision=6283
* Copy the message to the default folder if it wasn't marked as deleted.Jeffrey Stedfast2000-10-292-1/+6
| | | | | | | | | 2000-10-28 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Copy the message to the default folder if it wasn't marked as deleted. svn path=/trunk/; revision=6249
* Added header-starts-with, header-ends-with, and header-exists menu items.Jeffrey Stedfast2000-10-284-15/+264
| | | | | | | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added header-starts-with, header-ends-with, and header-exists menu items. * filter-message-search.c (header_starts_with): New callback to match the beginnings of headers. (header_ends_with): New callback to match the ends of headers. (header_exists): New callback to determine if a header exists which is useful when filtering out all those pesky bug-buddy emails! svn path=/trunk/; revision=6242
* Add header-matches expressions ("is" / "is not").Jeffrey Stedfast2000-10-284-0/+107
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Add header-matches expressions ("is" / "is not"). * filter-message-search.c (header_matches): New callback to match headers exactly (aka strcmp rather than strstr). svn path=/trunk/; revision=6240
* divide before multiple so that we don't overflow.Jacob "Ulysses" Berkman2000-10-282-2/+9
| | | | | | | | | 2000-10-27 Jacob "Ulysses" Berkman <jacob@helixcode.com> * filter-driver.c (filter_driver_filter_mbox): divide before multiple so that we don't overflow. svn path=/trunk/; revision=6235
* Fixed this to include EXTRA_GNOME_CFLAGS.Christopher James Lahey2000-10-272-0/+5
| | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Fixed this to include EXTRA_GNOME_CFLAGS. svn path=/trunk/; revision=6225
* Don't mark as deleted here, otherwise the message will have the DELETEDJeffrey Stedfast2000-10-272-2/+14
| | | | | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (do_move): Don't mark as deleted here, otherwise the message will have the DELETED flag set in the folder it's being moved to. (do_delete): Don't set the DELETED flag here either...we'll only set it at the very end of the filtering process. (filter_driver_filter_message): Set the DELETED flag after all processing is completed. svn path=/trunk/; revision=6221
* i still hate cvsDan Winship2000-10-272-0/+273
| | | | svn path=/trunk/; revision=6207
* i hate cvsDan Winship2000-10-272-273/+0
| | | | svn path=/trunk/; revision=6206
* Readded Source url stuff.Jeffrey Stedfast2000-10-267-0/+310
| | | | | | | | | | | | | | | 2000-10-26 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Readded Source url stuff. * filter-element.c (filter_element_new_type_name): Added url stuff back in. * filter-url.[c,h]: Back from the dead... * Makefile.am: Re-added filter-url.[c,h]. svn path=/trunk/; revision=6200
* Added option menu items to allow searching based on regular expressions.Jeffrey Stedfast2000-10-264-32/+183
| | | | | | | | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added option menu items to allow searching based on regular expressions. * filter-message-search.c (body_regex): New callback to match text in the body using regex. (body_contains): Modified to only match using strstr. (header_regex): New callback to match headers using regex. (header_contains): Modified to only match using strstr. svn path=/trunk/; revision=6177
* Take out the reference to "Source".Jeffrey Stedfast2000-10-252-20/+2
| | | | | | | | 2000-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Take out the reference to "Source". svn path=/trunk/; revision=6159
* Remove filter-url code.Jeffrey Stedfast2000-10-255-289/+11
| | | | | | | | | | | | | | 2000-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Remove filter-url code. * filter-url.[c,h]: What was I smoking? There's no good reason to filter on source urls as there are other ways to get the same effect. Thanks to both Zucchi and Miguel for helping me see this :-) svn path=/trunk/; revision=6158
* Fixed NULL in fprintf.Jeffrey Stedfast2000-10-252-2/+13
| | | | | | | | 2022-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: Fixed NULL in fprintf. svn path=/trunk/; revision=6150
* lots of i18n fixesDan Winship2000-10-2415-46/+103
| | | | svn path=/trunk/; revision=6143
* Set the remove button insensitive if there is only 1 action left.Jeffrey Stedfast2000-10-247-442/+583
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * filter-filter.c (less_parts): Set the remove button insensitive if there is only 1 action left. (more_parts): Set the remove button sensitive (since we now have 2 or more actions). (get_widget): If there is only 1 action, disable the remove button. * filter-rule.c (xml_encode): If there is a defined source, don't set it to "incoming", set it to whatever the source is! (less_parts): Set the remove button insensitive if there is only 1 criterion left. (more_parts): Set the remove button sensitive (since we now have 2 or more criterion). (get_widget): If there is no name for the filter then set it to "Untitled", highlight it, and grab the focus. If there is only 1 criterion, disable the remove button. * filter-editor.c, vfolder-editor.c: GUI fixes here and there as well as some consistancy fixes between them. * filter-driver.c (filter_driver_filter_mbox): Updated to send the source url to filter_driver_filter_message() (filter_driver_filter_folder): Updated to send the source url of the folder to filter_driver_filter_message() (filter_driver_filter_message): Now takes a source_url argument that represents the url of the folder the message is coming from (so that we may filter based upon that information). svn path=/trunk/; revision=6138
* Fixed these widgets to resize properly.Christopher James Lahey2000-10-242-6/+25
| | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * filter.glade: Fixed these widgets to resize properly. svn path=/trunk/; revision=6124
* Remove the "demand" source from the list.Jeffrey Stedfast2000-10-243-4/+11
| | | | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * filter-editor.c: Remove the "demand" source from the list. * filter.glade: Remove the "On Demand" option and replace it with an "Outgoing" option. svn path=/trunk/; revision=6123
* Fixed these widgets to resize properly.Christopher James Lahey2000-10-249-16/+31
| | | | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-part.c, filter-rule.c, rule-context.c, score-editor.c, vfolder-editor.c: Fixed these widgets to resize properly. svn path=/trunk/; revision=6117
* Added filter-url.[c,h].Jeffrey Stedfast2000-10-2110-131/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added filter-url.[c,h]. * filter-message-search.c (get_source): New callback to get the source url of the message being filtered. (filter_message_search): Now takes a source argument. * filter-element.c (filter_element_new_type_name): Added code to handle URL types. * filter-url.[c,h]: New filter object to handle URLs (ie in the case of filtering on source url). FIXME: find a way to populate the source combo box (including mail-config.h breaks the build in the addressbook - how does including mail-tools.h not break the build???) * filtertypes.xml: Added the source filter type and added the move-to action. * filter-driver.c (do_move): New callback, a "Copy" action should just copy the message to another location while a Move should both copy the message to a new location and delete it from the source location. (do_delete): Set the deleted flag on the message info. (filter_driver_filter_message): Now returns void as we don't care if it was copied or not in the caller functions. Also check the CamelMessageInfo being passed in - if the message has been marked as deleted prior to being filtered, then return immediately as we don't want to apply filter actions to deleted messages. svn path=/trunk/; revision=6094
* Start fetching at 1, not 0.Jeffrey Stedfast2000-10-202-17/+23
| | | | | | | | | 2000-10-19 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_folder): Start fetching at 1, not 0. svn path=/trunk/; revision=6060
* Report the percentage of file complete for the filter.Not Zed2000-10-1210-541/+801
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Not Zed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_filter_mbox): Report the percentage of file complete for the filter. 2000-10-10 Not Zed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_run): Why on earth does this code ref all these objects for? This is not right at all. (filter_driver_run): Changed source type to a string. (filter_driver_run): REmove the very weird exception copying stuff - just ref it instead. (do_score): (do_colour): (do_stop): (do_copy): (mark_forward): (do_delete): Removed bogus 'terminated' testing. This is NOT NEEDED HERE. It is tested after every rule/action, and termination only makes sense at that point. (filter_driver_filter_message): new funciton (renamed), filter only a message. (filter_driver_filter_mbox): Filter a whole mbox. (filter_driver_run): If we aren't given an info, create a simple one based on the message headers. (filter_driver_filter_message): Renamed from filter_driver_run(). (filter_driver_set_status_func): Set the status callback function. (filter_driver_set_default_folder): Set the default folder for filtering. (report_status): Internal function to report the status of a given event. (do_copy): Removed a pointless cache lookup - duh, we do it in open_folder anyway (infact, we do it in camel too!!). (filter_driver_filter_message): Removed pointless re-refing of arguments. Why would anyone think this could be any use at all? (filter_driver_filter_folder): New function to filter a whole folder. * filter-editor.c (rule_add): api fixes. (rule_edit): (rule_up): (rule_down): (set_sensitive): This didn't take into account the source, now it does. (select_source): Fix for api changes. Changed the rather generic 'number' argument to be 'source', and a string. (filter_editor_construct): Changed the 'number' to 'source', and set the string appropriately. Added a warning for one case where the glade file is out of sync. * score-editor.c (score_editor_construct): (rule_edit): (rule_delete): (rule_up): (rule_down): (set_sensitive): api fixes. * vfolder-editor.c (set_sensitive): Api fixes. (vfolder_editor_construct): (rule_edit): (vfolder_editor_construct): * rule-context.h (RCNextRuleFunc): Added a source argument. * rule-context.c (rule_context_next_rule): Added source argument. (rule_context_find_rule): Added source argument. (rule_context_get_rank_rule): Added source argument. (rule_context_get_rank_rule_with_source): Removed. (save): Fixed for changes to RCNextRuleFunc prototype. * filter-rule.h: Changed the source to be a string, removed the filter_source_t type. * filter-rule.c (filter_rule_set_source): New function to set the source of a rule. What idiot ran this code through indent? (filter_rule_find_list): Added a source argument. (filter_rule_next_list): Added a source argument. (get_widget): Fixed the wording. You dont remove search parts, you can only remove the last one. Why you even need to mention they are search 'criteria' is beyond me. Whoever added the scrolled window needs to be shot, its the single most awful GUI feature ever invented (ranks with the close button next to maximise). (xml_encode): Save source as a string (if present). (xml_decode): Likewise for loading & fixed a small memleak. (filter_rule_finalise): Free source. svn path=/trunk/; revision=5884
* Remove the stupid on-demand cb shit. (rule_context_load): And here too.Not Zed2000-10-093-21/+13
| | | | | | | | | 2000-10-06 Not Zed <NotZed@HelixCode.com> * rule-context.c (load): Remove the stupid on-demand cb shit. (rule_context_load): And here too. svn path=/trunk/; revision=5797
* Now takes an argument to specify the log file (or NULL if logging is notJeffrey Stedfast2000-09-283-2/+42
| | | | | | | | | 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Now takes an argument to specify the log file (or NULL if logging is not to be performed). svn path=/trunk/; revision=5605
* Change "$(prefix)/share" to "$(datadir)" in a few places. Problem noticedDan Winship2000-09-202-2/+7
| | | | | | by ade@freebsd.org svn path=/trunk/; revision=5508
* Modified to use more intuitive namingJeffrey Stedfast2000-09-198-605/+760
| | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Modified to use more intuitive naming * score-rule.c (xml_decode): Make sure the score is within our range (get_widget): Changed range to -3 to +3 * filter-score.c (get_widget): Changed range to -3 to +3 (xml_decode): Make sure the score is within our range * filter-rule.c (get_widget): Rearranged widgets. * filter-filter.c (get_widget): Rearranged widgets. * filter-editor.c (filter_editor_construct): Updated to allow for double-clicking on a rule to edit it. svn path=/trunk/; revision=5492
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1811-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Modified to only match text MIME parts in the message rather than theJeffrey Stedfast2000-09-142-36/+131
| | | | | | | | | | 2000-09-13 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (body_contains): Modified to only match text MIME parts in the message rather than the entire MIME message (header_contains): Added regex matching svn path=/trunk/; revision=5406
* Turn off debugging output.Dan Winship2000-09-123-4/+9
| | | | | | | * rule-context.c (d): * filter-datespec.c (d): Turn off debugging output. svn path=/trunk/; revision=5363
* We now use a "copied" variable to record whether a message was marked asJeffrey Stedfast2000-09-122-19/+29
| | | | | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: We now use a "copied" variable to record whether a message was marked as copied or not instead of trying to "guess" by looking at the folders hash table as that won't work at all anymore. (do_copy): Renamed as this is more appropriate now that it actually copies the message rather than marking it for copying later. Also fixed a logic error which prevented a message from being dumped into a folder if the fodler had been previously opened. svn path=/trunk/; revision=5350
* No longer takes a self_destruct argument.Jeffrey Stedfast2000-09-123-6/+10
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): No longer takes a self_destruct argument. svn path=/trunk/; revision=5348
* Don't freeze/thaw the default inbox here, let the caller freeze/thaw it.Jeffrey Stedfast2000-09-122-22/+20
| | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Don't freeze/thaw the default inbox here, let the caller freeze/thaw it. Don't destroy the folders hash table here, it's faster if we wait till the filter-driver is destroyed. (filter_driver_finalise): Destroy the folders hash table here (filter_driver_init): Initialize the folders hash table here svn path=/trunk/; revision=5346
* Changed "Header" to be "Message header" so it's not quite as confusingJeffrey Stedfast2000-09-122-1/+6
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed "Header" to be "Message header" so it's not quite as confusing (??) svn path=/trunk/; revision=5335
* just changed the ${subject} variable to ${word} as subject doesn't make a ↵Jeffrey Stedfast2000-09-121-3/+3
| | | | | | whole lot of sense when dealing with arbitrary headers :-) svn path=/trunk/; revision=5332
* Updated to allow the user to specify arbitrary headers.Jeffrey Stedfast2000-09-122-0/+26
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to specify arbitrary headers. svn path=/trunk/; revision=5330
* Fixed a logic error. Only mark filtered as TRUE if it was successfullyJeffrey Stedfast2000-09-102-5/+13
| | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Fixed a logic error. Only mark filtered as TRUE if it was successfully copied to another folder, this means don't mark true if the default inbox is NULL. svn path=/trunk/; revision=5289
* Erm, okay I misunderstood what camel_folder_[un]hook_event() did - weJeffrey Stedfast2000-09-103-2/+7
| | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Erm, okay I misunderstood what camel_folder_[un]hook_event() did - we don't even need this crap in the filter driver so lets take it completely out and let the caller handle this junk. svn path=/trunk/; revision=5287
* Updated to not emit the folder_changed signal when a message is appendedJeffrey Stedfast2000-09-102-5/+8
| | | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Updated to not emit the folder_changed signal when a message is appended to the default mailbox - lets leave that up to the caller so we don't queue up a bunch of these emits if the caller is downloading messages for example. svn path=/trunk/; revision=5285
* Added scoring xml stuffsJeffrey Stedfast2000-09-098-20/+398
| | | | | | | | | | | | | | | | | | | | | | 2000-09-08 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added scoring xml stuffs * Makefile.am: added filter-score.[c,h] * filter-score.[c,h]: New functions to handle the "score" filter type. * filter-element.c (filter_element_new_type_name): Added support for "score" type. * filter-driver.c (do_score): New ESExp callback for filter actions to set the score on a message. * filter-message-search.c (get_score): New ESExp callback for getting the score tag as an integer value. svn path=/trunk/; revision=5274
* Now takes a CamelMessageInfo argument in preparation for handling scoringJeffrey Stedfast2000-09-083-3/+8
| | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Now takes a CamelMessageInfo argument in preparation for handling scoring svn path=/trunk/; revision=5251
* Modified to return a boolean value specifying whether or not the messageJeffrey Stedfast2000-09-083-11/+26
| | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Modified to return a boolean value specifying whether or not the message was filtered into a folder other than the default. The default mailbox can now also be specified as NULL if the message shouldn't be appended to it in the case that it's not filtered into some other folder. svn path=/trunk/; revision=5249
* Rewrote - this shouldn't need to be an async functionJeffrey Stedfast2000-09-083-11/+11
| | | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5241
* Rewrote - this shouldn't need to be an async functionJeffrey Stedfast2000-09-083-116/+33
| | | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5236
* Bunch of unicode related changesLauris Kaplinski2000-09-089-19/+78
| | | | svn path=/trunk/; revision=5235
* Totally rewritten to filter a single message at a time instead ofJeffrey Stedfast2000-09-077-289/+525
| | | | | | | | | | | | 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Totally rewritten to filter a single message at a time instead of filtering a folder. * filter-message-search.c (filter_message_search): New convenience function for searching a message. svn path=/trunk/; revision=5224
* More UTF-8 handlingLauris Kaplinski2000-08-254-8/+22
| | | | svn path=/trunk/; revision=5032
* Set seltime.tm_isdst to -1, not daylight, because the current dst value isDan Winship2000-08-242-2/+7
| | | | | | | | * filter-datespec.c (cal_day_selected): Set seltime.tm_isdst to -1, not daylight, because the current dst value is not relevant to the selected date. svn path=/trunk/; revision=4991
* Automatically connect services when given a valid URL (should hopefully ↵Peter Williams2000-08-233-3/+34
| | | | | | disconnect, too); remove the old movemail folder correctly. svn path=/trunk/; revision=4965
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-0/+2
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* A bunch of small GUI fixes for the filter editor.Ettore Perazzoli2000-08-189-16/+51
| | | | svn path=/trunk/; revision=4866
* Filtering on demand! booyeah!Peter Williams2000-08-189-33/+197
| | | | svn path=/trunk/; revision=4864
* and the ChangeLog entries to go with itPeter Williams2000-08-161-0/+14
| | | | svn path=/trunk/; revision=4844
* Allow filtering / vfoldering based on time or datePeter Williams2000-08-166-0/+908
| | | | svn path=/trunk/; revision=4843
* Add filter.glade to EXTRA_DISTDan Winship2000-08-142-2/+3
| | | | svn path=/trunk/; revision=4812
* remove blank.xpm and check.xpm which no longer existDan Winship2000-08-142-2/+6
| | | | | | | * Makefile.am (EXTRA_DIST): remove blank.xpm and check.xpm which no longer exist svn path=/trunk/; revision=4807
* Use mail_tool_get_folder_name here too. (Hm... this directory reallyDan Winship2000-08-132-2/+9
| | | | | | | | | * filter-driver.c (describe_filter_mail): Use mail_tool_get_folder_name here too. (Hm... this directory really shouldn't depend on stuff in mail/, but it already did. We'll have to sort this out later.) svn path=/trunk/; revision=4788
* Remove an '#if 0' that must have been left in accidentally, so thatDan Winship2000-08-112-2/+11
| | | | | | | | | | * filter-driver.c (do_filter_mail): Remove an '#if 0' that must have been left in accidentally, so that messages which are copied to other folders will not also be copied into the Inbox. Also, #ifdef out the line that printfs the rule, because the rules are often very large. svn path=/trunk/; revision=4735
* Use proper accessor function instead of poking the structure.Not Zed2000-08-112-6/+6
| | | | | | | | | 2000-08-11 Not Zed <NotZed@HelixCode.com> * filter-driver.c (do_colour): Use proper accessor function instead of poking the structure. svn path=/trunk/; revision=4730
* ChangeLog mistake.Chris Lahey2000-08-111-2/+2
| | | | svn path=/trunk/; revision=4721
* Fixed some warnings.Christopher James Lahey2000-08-115-3/+16
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * filter-driver.c, filter-driver.h, filter-folder.c, rule-context.c, vfolder-editor.c: Fixed some warnings. svn path=/trunk/; revision=4720
* Fix the infinite movemailPeter Williams2000-08-112-0/+5
| | | | svn path=/trunk/; revision=4696
* Merge with camel-async.Peter Williams2000-08-114-101/+417
| | | | svn path=/trunk/; revision=4687
* Save the results of searches till we're done. So we dont have to goNot Zed2000-08-112-37/+48
| | | | | | | | | | | | | | 2000-08-10 Not Zed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_run): Save the results of searches till we're done. So we dont have to go strduping strings agian and again and again and again ... Remove all the unecessary strdups. (do_colour): Implement. (filter_driver_run): Change for append api change. (free_key): Removed. svn path=/trunk/; revision=4684
* (rule_context_add_rule_gui): Keep track of context so it isn't freed ↵Michael Zucci2000-08-095-4/+63
| | | | | | under us. svn path=/trunk/; revision=4645
* Make the filter dialog display only the name of the folder, not theEttore Perazzoli2000-08-042-18/+21
| | | | | | whole URI. svn path=/trunk/; revision=4516
* Oops, create a vfolder_rule when we add a new one.Not Zed2000-07-312-1/+4
| | | | | | | | | 2000-08-01 Not Zed <NotZed@HelixCode.com> * vfolder-editor.c (rule_add): Oops, create a vfolder_rule when we add a new one. svn path=/trunk/; revision=4425
* If there are no user rules, dont bomb out.Not Zed2000-07-312-25/+26
| | | | | | | | | 2000-08-01 Not Zed <NotZed@HelixCode.com> * rule-context.c (load): If there are no user rules, dont bomb out. svn path=/trunk/; revision=4424
* Set value of a simple type to a new string.Not Zed2000-07-3115-7/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-31 Not Zed <NotZed@HelixCode.com> * filter-input.c (filter_input_set_value): Set value of a simple type to a new string. * filter-option.c (filter_option_set_current): New function to set the current value of an option. * filter-rule.c (filter_rule_find_list): New function to find a rule in a list, by name. (filter_rule_set_name): Let you set the name of a rule. * rule-context.c (rule_context_find_rule): Find a rule by name. (rule_context_create_part): Helper to find and clone a part by name. * filter-folder.c (button_clicked): Fix warning. * filter.glade: Add new widgets for vfolder rule editor. * vfolder-context.c (vfolder_context_init): Changed to use vfolder rule as the rule type. * vfolder-rule.c: New class to encode extra information required for vfolder rules. svn path=/trunk/; revision=4421
* ** Almost a total rewrite of every file, except for filter-driver whichNot Zed2000-07-3053-3905/+6294
| | | | | | | | | | | 2000-07-30 Not Zed <NotZed@HelixCode.com> ** Almost a total rewrite of every file, except for filter-driver which just had minor updates. The rule format has changed. svn path=/trunk/; revision=4418
* Update for CamelFolder API changes. (delete_message and get_uids don'tDan Winship2000-07-252-3/+9
| | | | | | | | * filter-driver.c (do_delete, filter_driver_run): Update for CamelFolder API changes. (delete_message and get_uids don't take exceptions any more.) svn path=/trunk/; revision=4304
* Updated to reflect changes to camel_folder_append_message ()Jeffrey Stedfast2000-07-122-2/+10
| | | | | | | | | 2000-07-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Updated to reflect changes to camel_folder_append_message () svn path=/trunk/; revision=4104
* add a "string" typeDan Winship2000-07-109-69/+46
| | | | | | | | | | | | | | * filter-xml.[ch]: add a "string" type * filtertype.xml, vfoldertypes.xml: Use type="string" rather than "folder" for subject/body matching. * filter-arg-types.c: Update some strings for "text" input. Fix some warnings (including one that pointed out a real bug). * filter-arg.c, filter-druid.c, filter-format.c: fix warnings svn path=/trunk/; revision=4025
* Update for camel_folder_search_by_expression change (GList -> GPtrArray).Dan Winship2000-07-082-69/+85
| | | | | | | * filter-driver.c: Update for camel_folder_search_by_expression change (GList -> GPtrArray). svn path=/trunk/; revision=3959
* sync this to filtertypes.xml (to/cc thing)Dan Winship2000-07-082-8/+8
| | | | | | * vfoldertypes.xml: sync this to filtertypes.xml (to/cc thing) svn path=/trunk/; revision=3945
* remove some non-error case debugging messages.Dan Winship2000-07-066-87/+10
| | | | | | * remove some non-error case debugging messages. svn path=/trunk/; revision=3904
* Fix typos and update the "to-address" rule to match To or Cc. Fix typos.Dan Winship2000-07-063-8/+13
| | | | | | | | * filtertypes.xml: Fix typos and update the "to-address" rule to match To or Cc. * vfoldertypes.xml: Fix typos. svn path=/trunk/; revision=3889
* Add uids to the "processed" list only after succesfully doing somethingDan Winship2000-07-062-14/+22
| | | | | | | | | | * filter-driver.c (do_delete, do_copy, do_stop, filter_driver_run): Add uids to the "processed" list only after succesfully doing something with them. Fixes the problem where copying a message to a folder that didn't exist would result in it disapearing. svn path=/trunk/; revision=3887
* Get filters to work by not freeing the XML document nor the ruleset.Ettore Perazzoli2000-07-032-0/+8
| | | | | | | | This probably makes us leak, but I don't understand how the code is supposed to work so I cannot do the correct fix. At least filters (seem to) work now. svn path=/trunk/; revision=3867
* freeze the folder to avoid multiple folder_changed's (close_folder): andDan Winship2000-07-032-1/+12
| | | | | | | | * filter-driver.c (open_folder): freeze the folder to avoid multiple folder_changed's (close_folder): and thaw it. svn path=/trunk/; revision=3864
* kill filter_driver_set_session and filter_driver_set_rules and insteadDan Winship2000-07-033-58/+35
| | | | | | | | | | | | * filter-driver.c (filter_driver_new): kill filter_driver_set_session and filter_driver_set_rules and instead make filter_driver_new take the rules and a callback function it can use to turn URIs into folders. (open_folder): Use the callback function rather than calling camel directly: some URIs need special handling to turn them into stores and folders correctly, so let the mailer do that. svn path=/trunk/; revision=3859
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-022-1/+7
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Updated to reflect changes made to camel-folder.Jeffrey Stedfast2000-07-022-3/+8
| | | | | | | | | 2000-07-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: Updated to reflect changes made to camel-folder. svn path=/trunk/; revision=3846
* Add some checks for bad/nonexistant XML docs.Peter Williams2000-07-014-3/+27
| | | | svn path=/trunk/; revision=3828
* EvolutionShellClient.Ettore Perazzoli2000-06-302-90/+31
| | | | svn path=/trunk/; revision=3820
* changed Cc to CC to be the same as the other CC ruleArik Devens2000-06-302-1/+7
| | | | svn path=/trunk/; revision=3819
* added a Cc rule to vfoldersArik Devens2000-06-302-0/+11
| | | | svn path=/trunk/; revision=3812
* Changed "Filter name" to "Option value" as "Filter name" made no sense inJeffrey Stedfast2000-06-292-71/+80
| | | | | | | | | | | 2000-06-28 Jeffrey Stedfast <fejj@helixcode.com> * filter-arg-types.c (arg_string_edit_value): Changed "Filter name" to "Option value" as "Filter name" made no sense in the dialog (arg_address_edit_value): Same (arg_folder_edit_value): What do we want to return?? svn path=/trunk/; revision=3777
* When loading the description, strdup() the string in the XML tree soEttore Perazzoli2000-06-282-2/+8
| | | | | | that we don't crash when freeing the XML tree. svn path=/trunk/; revision=3761
* Fix builddir != srcdir.Ettore Perazzoli2000-06-282-0/+7
| | | | svn path=/trunk/; revision=3759
* Add the shell dir for includes (for corba interfaces).Michael Zucchi2000-06-273-11/+125
| | | | | | | | | | | | | | | | | 2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au> * Makefile.am (INCLUDES): Add the shell dir for includes (for corba interfaces). * filter-arg-types.c (impl_FolderSelectionListener_selected): Listener for folder query. Sigh. (create_listener): Create the listener object for the folder dialogue query. Uses a global for linkage to the shell object, via the mail component. (arg_folder_edit_value): Call the folder selection dialogue to edit the value, rather than a simple text widget. svn path=/trunk/; revision=3746
* Added a #include <gnome-xml/parser.h> as this was needed (since we usedJeffrey Stedfast2000-06-278-152/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Jeffrey Stedfast <fejj@helixcode.com> * filter-editor.c: Added a #include <gnome-xml/parser.h> as this was needed (since we used the xml parser...) (druid_dialogue_clicked): Do we want to use struct filter_option or do we instead want to use struct filter_optionrule as we had before? Since the function we pass the data to expects filter_option, I suspect that that is what we want. * filter-format.h (filter_description_html_write): Renamed from description_html_write in order to match function name in filter-format.c * filter-druid.c (option_name_changed): Fixed a memory leak (Free'd a filter description list). * filter-arg-types.c (arg_folder_edit_values): Free'd GList data in argin->values. * filter-driver.c (filter_driver_set_rules): Added code to free an xmlDoc and some other data. * filter-arg.h: Add prototypes for filter_arg_write_html() and filter_arg_write_text(); * filter-arg-types.c: Lets see if we can't get rid of some of these warnings... (use some casts to make warnings go away) (arg_address_edit_value): Lets make sure that ad exists before looking at member data. svn path=/trunk/; revision=3741
* Update for Camel flag handling changes.Dan Winship2000-06-172-8/+7
| | | | | | | * filter-driver.c (do_delete, filter_driver_run): Update for Camel flag handling changes. svn path=/trunk/; revision=3599
* Update for CamelFolder changes.Dan Winship2000-06-162-8/+6
| | | | | | | * filter-driver.c (open_folder, close_folder): Update for CamelFolder changes. svn path=/trunk/; revision=3582
* use stock pixmap buttonsJacob Berkman2000-06-103-26/+71
| | | | | | | | | | | 2000-06-09 Jacob Berkman <jacob@helixcode.com> * filter-editor.c (add_or_edit): use stock pixmap buttons * filter-druid.c (build_druid): remove the border on the notebook, put the html widget in a scroll frame, and add some padding svn path=/trunk/; revision=3495
* Update for folder existence/creation changes.Dan Winship2000-06-072-5/+6
| | | | | | | * filter-driver.c (open_folder): Update for folder existence/creation changes. svn path=/trunk/; revision=3454
* Free the exception and the priv struct.Christopher James Lahey2000-06-022-0/+8
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * filter-driver.c: Free the exception and the priv struct. svn path=/trunk/; revision=3387
* Search for ad in arg->values instead of text since it's a list ofChristopher James Lahey2000-06-022-1/+8
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * filter-arg-types.c (arg_address_edit_value): Search for ad in arg->values instead of text since it's a list of filter_arg_adresses. Also, free the old value in the list. svn path=/trunk/; revision=3338
* And here too.Not Zed2000-05-313-0/+34
| | | | | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * filtertypes.xml: And here too. * vfoldertypes.xml: Add body-contains and not-body-contains types. svn path=/trunk/; revision=3306
* New file - lists rules appropriate for vfolders (no actions, etc).Not Zed2000-05-285-30/+133
| | | | | | | | | | | | | | | | | 2000-05-27 Not Zed <NotZed@HelixCode.com> * vfoldertypes.xml: New file - lists rules appropriate for vfolders (no actions, etc). * Makefile.am (EXTRA_DIST): Add vfoldertypes.xml * filter-driver.c (filter_driver_expand_option): Made public from expand_filter_option. (filter_driver_rule_count): find out how many user rules are defined. (filter_driver_rule_get): Get a user rule by index. svn path=/trunk/; revision=3240
* Fix 'make dist' errors.Ross Golder2000-05-281-1/+1
| | | | svn path=/trunk/; revision=3231
* Updated for the GtkHTML API changes. Also fixed some compilerEttore Perazzoli2000-05-217-12/+27
| | | | | | warnings here and there. svn path=/trunk/; revision=3145
* update for camel_folder_get_uids changeDan Winship2000-05-192-8/+13
| | | | | | | * filter-driver.c (filter_driver_run): update for camel_folder_get_uids change svn path=/trunk/; revision=3127
* Fix some html formatting.NotZed2000-05-175-23/+49
| | | | | | | | | | | | | | | 2000-05-17 NotZed <NotZed@HelixCode.com> * filter-druid.c: Fix some html formatting. 2000-05-16 NotZed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_run): Delete all processed messages. This is probably going to slow it down a bit. (filter_driver_run): Close folders before destroying them *sigh*. (open_folder): Actually open the folder. Doh. svn path=/trunk/; revision=3101
* Initial filter rules.Michael Zucci2000-05-176-1/+131
| | | | | | | | | | | | | | * filtertypes.xml: Initial filter rules. * filter-xml.c (filter_write_optionset): Save the description also. (write_description): Routine to save description - only saves 1 node of description. * filter-arg.c (filter_arg_edit_clicked): Dont free edata here, let the destroy do it(?) svn path=/trunk/; revision=3098
* Simple driver program for testing, so i can fix all this really brokenNotZed2000-05-172-2/+30
| | | | | | | | | 2000-05-16 NotZed <NotZed@HelixCode.com> * filter-editor.c (main): Simple driver program for testing, so i can fix all this really broken code *sigh* svn path=/trunk/; revision=3097
* filename based interface. (filter_editor_save_rules): Interface to saveNotZed2000-05-163-24/+21
| | | | | | | | | | | 2000-05-15 NotZed <NotZed@HelixCode.com> * filter-editor.c (filter_editor_set_rule_files): filename based interface. (filter_editor_save_rules): Interface to save the options to a filename. svn path=/trunk/; revision=3052
* Bunch of cleanup.NotZed2000-05-164-51/+50
| | | | | | | | | | | 2000-05-15 NotZed <NotZed@HelixCode.com> * filter-xml.[ch]: Bunch of cleanup. * filter-xml.c (filter_*_file): New interfaces to read/write files directly, rather than messing with xmldoc crap. svn path=/trunk/; revision=3051
* Removed filter-driver test program, now just part of libfilter.NotZed2000-05-164-172/+417
| | | | | | | | | | | | 2000-05-15 NotZed <NotZed@HelixCode.com> * Makefile.am: Removed filter-driver test program, now just part of libfilter. * filter-driver.c: Made an object, with an api and everything, can apply a filter to a given mailbox. svn path=/trunk/; revision=3050
* Removed dist-hook section.Christopher James Lahey2000-05-103-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* ignore the .pure directoryChris Toshok2000-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Fix for api.NotZed2000-05-022-12/+5
| | | | | | | | 2000-05-01 NotZed <NotZed@HelixCode.com> * filter-driver.c (main): Fix for api. svn path=/trunk/; revision=2726
* Remove no-longer-necessary call to camel_provider_register_as_module.Dan Winship2000-05-012-1/+5
| | | | | | | * filter-driver.c (start): Remove no-longer-necessary call to camel_provider_register_as_module. svn path=/trunk/; revision=2693
* Fix compilation by using `$(GTKHTML_CFLAGS)' instead of `-IEttore Perazzoli2000-04-262-1/+5
| | | | | | $(GTKHTML_CFLAGS)'. svn path=/trunk/; revision=2606
* Removed a bunch of crappy unrequired headers.NotZed2000-04-213-7/+8
| | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * filter-driver.c: Removed a bunch of crappy unrequired headers. * Makefile.am (filter_driver_LDADD): Added libibex back again. svn path=/trunk/; revision=2534
* kill camel-logDan Winship2000-04-192-1/+4
| | | | svn path=/trunk/; revision=2487
* #include <tree.h>. people never learn.Mathieu Lacage2000-04-171-1/+1
| | | | svn path=/trunk/; revision=2465
* + * art/Makefile.am: Add tigert's contact-dlg-related images.Matthew Loper2000-04-122-1/+5
| | | | | | | | | | | | | | | | + + * addressbook/contact-editor/e-contact-editor.c (_add_images): Add + tigert's images. + + * addressbook/contact-editor/Makefile.am: add EVOLUTION_IMAGES. + + * camel-folder-pt-proxy.c (_folder_open_cb): Print warning message + for broken function. + (_folder_close_cb): Same. + + * filter-arg.c (filter_arg_edit_value): Return a value. svn path=/trunk/; revision=2408
* Plug some minor memleaks.NotZed2000-03-284-9/+58
| | | | | | | | | | | | | | | | | 2000-03-27 NotZed <NotZed@HelixCode.com> * filter-xml.c (tokenise_xmlfreeprop): Free a prop after tokenising it. (find_node_attr): Free the prop after using it. (load_desc): Ditto. I use free() because xmlFree() is nowhere to be found. (filter_load_optionset): Ditto. * filter-arg-types.c (arg_address_values_add_xml): free() xml stuff, plugs a leak. (arg_folder_values_add_xml): Ditto. svn path=/trunk/; revision=2193
* Changed to use async search api.NotZed2000-03-242-1/+19
| | | | | | | | 2000-03-22 NotZed <NotZed@HelixCode.com> * filter-driver.c (main): Changed to use async search api. svn path=/trunk/; revision=2153
* Shut up CVS.Ettore Perazzoli2000-03-101-0/+1
| | | | svn path=/trunk/; revision=2094
* Output 'and' bits between the rules.NotZed2000-03-052-0/+8
| | | | | | | | | 2000-03-04 NotZed <NotZed@HelixCode.com> * filter-druid.c (html_write_options): Output 'and' bits between the rules. svn path=/trunk/; revision=2056
* Actually implement filtering, at least, from Inbox. Copy messages toNotZed2000-03-053-95/+276
| | | | | | | | | | | | | | | 2000-03-04 NotZed <NotZed@HelixCode.com> * filter-driver.c (main): Actually implement filtering, at least, from Inbox. Copy messages to folder (in the same store only, so far), delete, and stop processing are implemented, and the logic to handle default processing. * filter-xml.c (load_optionvalue): Fix up a bug where we lost the name of the arg (ouch). * filter-xml.c: Wrapped printf's in debug macros. svn path=/trunk/; revision=2054
* Disconnect the list signal, so we dont get spurious emits during destroy.NotZed2000-03-037-41/+163
| | | | | | | | | | | | | | 2000-03-02 NotZed <NotZed@HelixCode.com> * filter-druid.c (object_destroy): Disconnect the list signal, so we dont get spurious emits during destroy. (arg_changed): Callback to update filter arg asynchronously. (arg_link_clicked): Edit the value non-modally. * filter-arg.c (filter_arg_edit_values_1): Changed to use non-modal interface. svn path=/trunk/; revision=2015
* Automakeize the `filter' directory.Ettore Perazzoli2000-03-024-32/+51
| | | | | | I wonder why we ever have non-Automake stuff in the repository at all. svn path=/trunk/; revision=2006
* Remove gui code, this will be actual filtering code.NotZed2000-03-015-263/+34
| | | | | | | | | | | | | 2000-02-29 NotZed <NotZed@HelixCode.com> * filter-driver.c (main): Remove gui code, this will be actual filtering code. * Makefile: Added filter-editor to the library. * filter-editor.c (main): Comment out, make it a proper library. svn path=/trunk/; revision=1991
* make it work with "make install"Bertrand Guiheneuf2000-02-291-0/+3
| | | | svn path=/trunk/; revision=1987
* Removed unused header.NotZed2000-02-293-3/+4
| | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * filter-druid.c: Removed unused header. svn path=/trunk/; revision=1982
* Removed references to filter-sexp.[ch].NotZed2000-02-295-1230/+27
| | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * Makefile: Removed references to filter-sexp.[ch]. * filter-sexp.[ch]: Removed some unecessary includes. Moved to e-util. Renamed callers. svn path=/trunk/; revision=1981
* chuuuut.Mathieu Lacage2000-02-261-1/+2
| | | | svn path=/trunk/; revision=1937
* Functions for memory management.NotZed2000-02-256-3/+155
| | | | | | | | | | | | | | | | | 2000-02-24 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_description_free): (filter_load_ruleset_free): (filter_load_optionset_free): Functions for memory management. * filter-arg.c (filter_arg_copy): Copy the values of one arg into another. * filter-druid.c: (option_name_changed): Update the option's description as the user enters it in. svn path=/trunk/; revision=1929
* New widget, a dialogue which uses filter-druid to present the variousNotZed2000-02-247-250/+502
| | | | | | | | | | | | 2000-02-24 NotZed <NotZed@HelixCode.com> * filter-editor.c: New widget, a dialogue which uses filter-druid to present the various editing views. * filter-druid.c: Changed to just being a notebook with no tabs, rather than a full druid (no next/prev/etc buttons). svn path=/trunk/; revision=1914
* New utility functions for working with the internal rule format.NotZed2000-02-2211-27/+1392
| | | | | | | | | | | | | | | | | | | | | | 2000-02-22 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_clone_optionrule): (filter_clone_optionrule_free): (filter_optionrule_new_from_rule): New utility functions for working with the internal rule format. * filter-arg.[ch]: Added new callbacks for editing a single value, and a new editor which shows all items in a list, and allows you to edit them via the single-edit method. This needs some cleanup for some unused/unusable virtual methods (edit_values, write_html?). * Makefile: Add the druid for build. * filter-druid.c: A 'druid' widget for editing a single filter rule. svn path=/trunk/; revision=1901
* + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.Matthew Loper2000-02-222-0/+8
| | | | | | | | | | | | + * libical/src/libicalss/.cvsignore: same. + + * tests/.cvsignore: Added test11. + + * filter/.cvsignore: New file. + + * libibex/.cvsignore: Added mkindex. svn path=/trunk/; revision=1895
* Added forgotten files.NotZed2000-02-193-0/+46
| | | | | | | | 2000-02-18 NotZed <NotZed@HelixCode.com> * blank/check.xpm: Added forgotten files. svn path=/trunk/; revision=1856
* Now have loader/save, basic gui elements (which i wantNotZed2000-02-1912-330/+955
| | | | | | | | | | to change), and uh, other stuff i forget right now. 2000-02-18 NotZed <NotZed@HelixCode.com> * Uh, more changes, lots, its still work in progress. svn path=/trunk/; revision=1851
* Initial revisionMichael Zucci2000-02-1611-0/+2847
svn path=/trunk/; revision=1786