aboutsummaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* 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