Commit Graph

67 Commits

Author SHA1 Message Date
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
4d9bc165b2 Update for camel_folder_search_by_expression change (GList -> GPtrArray).
* filter-driver.c: Update for camel_folder_search_by_expression
	change (GList -> GPtrArray).

svn path=/trunk/; revision=3959
2000-07-07 21:13:58 +00:00
d6fdf08d68 sync this to filtertypes.xml (to/cc thing)
* vfoldertypes.xml: sync this to filtertypes.xml (to/cc thing)

svn path=/trunk/; revision=3945
2000-07-07 16:08:34 +00:00
9f381f8245 remove some non-error case debugging messages.
* remove some non-error case debugging messages.

svn path=/trunk/; revision=3904
2000-07-06 01:52:51 +00:00
6cfd18ee1c Fix typos and update the "to-address" rule to match To or Cc. Fix typos.
* 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-07-05 18:01:00 +00:00
54376bf2c7 Add uids to the "processed" list only after succesfully doing something
* 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
2000-07-05 17:00:59 +00:00
38ec332283 Get filters to work by not freeing the XML document nor the ruleset.
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
2000-07-03 02:10:23 +00:00
5158267d36 freeze the folder to avoid multiple folder_changed's (close_folder): and
* filter-driver.c (open_folder): freeze the folder to avoid
	multiple folder_changed's
	(close_folder): and thaw it.

svn path=/trunk/; revision=3864
2000-07-03 01:20:28 +00:00
f1701f224d kill filter_driver_set_session and filter_driver_set_rules and instead
* 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
2000-07-02 23:18:06 +00:00
fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
57abc7f895 Updated to reflect changes made to camel-folder.
2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c: Updated to reflect changes made to
	camel-folder.

svn path=/trunk/; revision=3846
2000-07-01 17:48:50 +00:00
ac6baa408e Add some checks for bad/nonexistant XML docs.
svn path=/trunk/; revision=3828
2000-06-30 16:37:55 +00:00
55499e0ce4 EvolutionShellClient.
svn path=/trunk/; revision=3820
2000-06-30 05:36:32 +00:00
f5fa17c2d0 changed Cc to CC to be the same as the other CC rule
svn path=/trunk/; revision=3819
2000-06-30 00:41:33 +00:00
57ecb76f62 added a Cc rule to vfolders
svn path=/trunk/; revision=3812
2000-06-29 22:03:51 +00:00
7a35ab4d84 Changed "Filter name" to "Option value" as "Filter name" made no sense in
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
2000-06-28 18:43:12 +00:00
1b6ebb2f7d When loading the description, strdup() the string in the XML tree so
that we don't crash when freeing the XML tree.

svn path=/trunk/; revision=3761
2000-06-27 16:28:31 +00:00
752db1683d Fix builddir != srcdir.
svn path=/trunk/; revision=3759
2000-06-27 16:00:19 +00:00
6febc8b3a7 Add the shell dir for includes (for corba interfaces).
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
2000-06-27 03:42:34 +00:00
45dbd798ea Added a #include <gnome-xml/parser.h> as this was needed (since we used
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
2000-06-26 19:01:39 +00:00
3069f4c5d1 Update for Camel flag handling changes.
* filter-driver.c (do_delete, filter_driver_run): Update for Camel
	flag handling changes.

svn path=/trunk/; revision=3599
2000-06-16 23:10:12 +00:00
09cf0a78c4 Update for CamelFolder changes.
* filter-driver.c (open_folder, close_folder): Update for
	CamelFolder changes.

svn path=/trunk/; revision=3582
2000-06-15 22:20:58 +00:00
cd84bd7580 use stock pixmap buttons
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
2000-06-09 21:48:29 +00:00
012cc2eecb Update for folder existence/creation changes.
* filter-driver.c (open_folder): Update for folder
	existence/creation changes.

svn path=/trunk/; revision=3454
2000-06-07 00:06:43 +00:00
ac5683a1da Free the exception and the priv struct.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* filter-driver.c: Free the exception and the priv struct.

svn path=/trunk/; revision=3387
2000-06-02 08:16:25 +00:00
61de59408f Search for ad in arg->values instead of text since it's a list of
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
2000-06-01 19:24:29 +00:00
0f0ab78afd And here too.
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
2000-05-31 02:19:20 +00:00
d11f78c349 New file - lists rules appropriate for vfolders (no actions, etc).
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
2000-05-28 06:14:53 +00:00
c5cf5131ea Fix 'make dist' errors.
svn path=/trunk/; revision=3231
2000-05-27 19:08:27 +00:00
0a232b36bf Updated for the GtkHTML API changes. Also fixed some compiler
warnings here and there.

svn path=/trunk/; revision=3145
2000-05-21 09:18:20 +00:00
2e6a57075d update for camel_folder_get_uids change
* filter-driver.c (filter_driver_run): update for
	camel_folder_get_uids change

svn path=/trunk/; revision=3127
2000-05-19 00:47:48 +00:00
ba7f533031 Fix some html formatting.
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
2000-05-17 04:09:07 +00:00
30871da932 Initial filter rules.
* 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
2000-05-16 23:08:32 +00:00
28bf3e5f3d Simple driver program for testing, so i can fix all this really broken
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
2000-05-16 20:25:40 +00:00
e4720a7e38 filename based interface. (filter_editor_save_rules): Interface to save
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
2000-05-16 01:15:33 +00:00
8d95e8c29e Bunch of cleanup.
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
2000-05-16 00:52:51 +00:00
eb1d5f12ab Removed filter-driver test program, now just part of libfilter.
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
2000-05-16 00:12:03 +00:00
4a2777a279 Removed dist-hook section.
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
2000-05-10 14:47:09 +00:00
1b8139c995 ignore the .pure directory
* 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
2000-05-05 11:46:46 +00:00
855b85657d Set G_LOG_DOMAIN in following files.
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
2000-05-02 21:34:01 +00:00
722c35d2cc Fix for api.
2000-05-01  NotZed  <NotZed@HelixCode.com>

	* filter-driver.c (main): Fix for api.

svn path=/trunk/; revision=2726
2000-05-01 23:36:48 +00:00
f028bd6aeb Remove no-longer-necessary call to camel_provider_register_as_module.
* filter-driver.c (start): Remove no-longer-necessary call to
	camel_provider_register_as_module.

svn path=/trunk/; revision=2693
2000-04-30 16:12:46 +00:00
89a11f14e6 Fix compilation by using $(GTKHTML_CFLAGS)' instead of -I
$(GTKHTML_CFLAGS)'.

svn path=/trunk/; revision=2606
2000-04-25 18:03:03 +00:00
26f7fd3051 Removed a bunch of crappy unrequired headers.
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
2000-04-20 23:50:41 +00:00
fe97fa2fbb kill camel-log
svn path=/trunk/; revision=2487
2000-04-18 19:05:15 +00:00
42168d6f73 #include <tree.h>. people never learn.
svn path=/trunk/; revision=2465
2000-04-16 21:21:35 +00:00
73b0317b1f + * art/Makefile.am: Add tigert's contact-dlg-related images.
+
+	* 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
2000-04-12 13:46:10 +00:00
f4f9758510 Plug some minor memleaks.
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
2000-03-27 21:27:30 +00:00
eaaa546aca Changed to use async search api.
2000-03-22  NotZed  <NotZed@HelixCode.com>

        * filter-driver.c (main): Changed to use async search api.

svn path=/trunk/; revision=2153
2000-03-23 19:51:48 +00:00