| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=4843
|
|
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
|