Commit Graph

115 Commits

Author SHA1 Message Date
d0d1c0e3d9 Remove the stupid on-demand cb shit. (rule_context_load): And here too.
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
2000-10-09 12:48:38 +00:00
6f2839b4d1 Now takes an argument to specify the log file (or NULL if logging is not
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
2000-09-27 22:20:05 +00:00
ca7f26e7bd Change "$(prefix)/share" to "$(datadir)" in a few places. Problem noticed
by ade@freebsd.org

svn path=/trunk/; revision=5508
2000-09-19 19:47:12 +00:00
635f31e410 Modified to use more intuitive naming
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-18 20:49:51 +00:00
37d47c916d Added check for gnome-app-lib. Removed directories that have been moved to
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
2000-09-18 03:43:20 +00:00
a801b3b691 Modified to only match text MIME parts in the message rather than the
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
2000-09-13 19:05:43 +00:00
327d984447 Turn off debugging output.
* rule-context.c (d):
	* filter-datespec.c (d): Turn off debugging output.

svn path=/trunk/; revision=5363
2000-09-12 14:31:57 +00:00
f02e97d1f2 We now use a "copied" variable to record whether a message was marked as
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
2000-09-11 23:29:34 +00:00
a24f5d36ac No longer takes a self_destruct argument.
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
2000-09-11 21:38:50 +00:00
e98f2565b3 Don't freeze/thaw the default inbox here, let the caller freeze/thaw it.
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
2000-09-11 20:56:47 +00:00
6540548989 Changed "Header" to be "Message header" so it's not quite as confusing
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
2000-09-11 18:30:09 +00:00
ae80da9aba just changed the ${subject} variable to ${word} as subject doesn't make a whole lot of sense when dealing with arbitrary headers :-)
svn path=/trunk/; revision=5332
2000-09-11 18:25:45 +00:00
b9b9c38244 Updated to allow the user to specify arbitrary headers.
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-11 18:13:42 +00:00
b03c714acf Fixed a logic error. Only mark filtered as TRUE if it was successfully
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
2000-09-09 18:02:34 +00:00
30d436a9ec Erm, okay I misunderstood what camel_folder_[un]hook_event() did - we
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
2000-09-09 17:35:28 +00:00
a528ec34ef Updated to not emit the folder_changed signal when a message is appended
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
2000-09-09 16:55:18 +00:00
f9d0db03fa Added scoring xml stuffs
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-08 20:36:14 +00:00
2614993326 Now takes a CamelMessageInfo argument in preparation for handling scoring
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
2000-09-08 03:57:14 +00:00
d7077dc774 Modified to return a boolean value specifying whether or not the message
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
2000-09-07 22:13:41 +00:00
58eb7bf31c Rewrote - this shouldn't need to be an async function
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
2000-09-07 20:38:32 +00:00
e6dd871ad7 Rewrote - this shouldn't need to be an async function
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
2000-09-07 18:34:15 +00:00
0db696fa42 Bunch of unicode related changes
svn path=/trunk/; revision=5235
2000-09-07 18:30:30 +00:00
534b71582b Totally rewritten to filter a single message at a time instead of
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
2000-09-07 02:58:59 +00:00
81f994a359 More UTF-8 handling
svn path=/trunk/; revision=5032
2000-08-25 04:31:13 +00:00
703511b4a8 Set seltime.tm_isdst to -1, not daylight, because the current dst value is
* 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
2000-08-23 22:32:17 +00:00
130bb0e571 Automatically connect services when given a valid URL (should hopefully disconnect, too); remove the old movemail folder correctly.
svn path=/trunk/; revision=4965
2000-08-22 20:09:11 +00:00
44d8831822 many fixes to make it compile with strange prefixes...
neither mail nor the calendar components work though...
evil stuff.

svn path=/trunk/; revision=4892
2000-08-20 19:32:56 +00:00
5ee91c7383 A bunch of small GUI fixes for the filter editor.
svn path=/trunk/; revision=4866
2000-08-17 17:51:49 +00:00
7cf30eb792 Filtering on demand! booyeah!
svn path=/trunk/; revision=4864
2000-08-17 17:42:21 +00:00
8e32b41a50 and the ChangeLog entries to go with it
svn path=/trunk/; revision=4844
2000-08-15 18:24:06 +00:00
7a12fa1fe2 Allow filtering / vfoldering based on time or date
svn path=/trunk/; revision=4843
2000-08-15 18:16:39 +00:00
c6d2fa9232 Add filter.glade to EXTRA_DIST
svn path=/trunk/; revision=4812
2000-08-13 21:55:58 +00:00
c09e51955e remove blank.xpm and check.xpm which no longer exist
* Makefile.am (EXTRA_DIST): remove blank.xpm and check.xpm which
	no longer exist

svn path=/trunk/; revision=4807
2000-08-13 21:15:38 +00:00
85184f711c Use mail_tool_get_folder_name here too. (Hm... this directory really
* 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
2000-08-12 23:10:13 +00:00
2a7ffa8cf1 Remove an '#if 0' that must have been left in accidentally, so that
* 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
2000-08-11 15:44:33 +00:00
f0b6de3f0f Use proper accessor function instead of poking the structure.
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
2000-08-11 07:47:47 +00:00
bef4579009 ChangeLog mistake.
svn path=/trunk/; revision=4721
2000-08-11 03:38:38 +00:00
e55f9a0e49 Fixed some warnings.
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
2000-08-11 03:37:50 +00:00
1ecabb0dc4 Fix the infinite movemail
svn path=/trunk/; revision=4696
2000-08-10 18:46:39 +00:00
8cb514d6dd Merge with camel-async.
svn path=/trunk/; revision=4687
2000-08-10 17:30:50 +00:00
0c8f290865 Save the results of searches till we're done. So we dont have to go
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
2000-08-10 16:36:25 +00:00
2f6003c9ed (rule_context_add_rule_gui): Keep track of context so it isn't freed under us.
svn path=/trunk/; revision=4645
2000-08-09 06:48:39 +00:00
b83eccac16 Make the filter dialog display only the name of the folder, not the
whole URI.

svn path=/trunk/; revision=4516
2000-08-03 20:53:14 +00:00
7286f1484f Oops, create a vfolder_rule when we add a new one.
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
2000-07-31 15:40:40 +00:00
dc63c5e222 If there are no user rules, dont bomb out.
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
2000-07-31 15:38:13 +00:00
9ddabfee03 Set value of a simple type to a new string.
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
2000-07-31 15:03:23 +00:00
a44d1c188b ** Almost a total rewrite of every file, except for filter-driver which
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
2000-07-30 03:23:41 +00:00
8c845a7e32 Update for CamelFolder API changes. (delete_message and get_uids don't
* 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
2000-07-25 02:43:23 +00:00
08b0dbea5a Updated to reflect changes to camel_folder_append_message ()
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
2000-07-12 03:09:27 +00:00
7ffeca2735 add a "string" type
* 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
2000-07-09 23:24:02 +00:00