| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Changed Priority to Score.
svn path=/trunk/; revision=7357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
| |
2000-10-24 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Take out the reference to "Source".
svn path=/trunk/; revision=6159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
whole lot of sense when dealing with arbitrary headers :-)
svn path=/trunk/; revision=5332
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Updated to allow the user to specify arbitrary
headers.
svn path=/trunk/; revision=5330
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* filtertypes.xml: Fix typos and update the "to-address" rule to
match To or Cc.
* vfoldertypes.xml: Fix typos.
svn path=/trunk/; revision=3889
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
* 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
|