2000-06-29 Arik Devens * vfoldertypes.xml (ruleset type="match"): Added a Cc rule to vfolders. Works like To except on the Cc of a message ;-) 2000-06-28 Jeffrey Stedfast * 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?? 2000-06-27 Ettore Perazzoli * filter-xml.c (load_desc): Strdup content before assigning the value. Also, no need to check for NULL when g_strdup()ing as g_strdup() returns NULL for a NULL arg. 2000-06-27 Ettore Perazzoli * Makefile.am (INCLUDES): `-I$(top_builddir)/shell' so that it works with builddir != srcdir. [We need to #include "Evolution.h".] 2000-06-27 Michael Zucchi * 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. 2000-06-26 Jeffrey Stedfast * filter-editor.c: Added a #include 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. 2000-06-16 Dan Winship * filter-driver.c (do_delete, filter_driver_run): Update for Camel flag handling changes. 2000-06-15 Dan Winship * filter-driver.c (open_folder, close_folder): Update for CamelFolder changes. 2000-06-09 Jacob Berkman * 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 2000-06-06 Dan Winship * filter-driver.c (open_folder): Update for folder existence/creation changes. 2000-06-02 Christopher James Lahey * filter-driver.c: Free the exception and the priv struct. 2000-06-01 Christopher James Lahey * 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. 2000-05-30 Not Zed * filtertypes.xml: And here too. * vfoldertypes.xml: Add body-contains and not-body-contains types. 2000-05-27 Not Zed * 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. 2000-05-21 Ettore Perazzoli * filter-druid.c: Don't pass an empty URL to `gtk_html_begin()' anymore. * filter-arg-types.c: Updated for the new GtkHTML API which uses `GtkHTMLStream *' instead of `GtkHTMLStreamHandle'. * filter-arg.c: Likewise. * filter-arg.h: Likewise. * filter-druid.c: Likewise. * filter-format.c: Likewise. * filter-format.h: Likewise. 2000-05-18 Dan Winship * filter-driver.c (filter_driver_run): update for camel_folder_get_uids change 2000-05-17 NotZed * filter-druid.c: Fix some html formatting. 2000-05-16 NotZed * 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. * 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(?) * filter-editor.c (main): Simple driver program for testing, so i can fix all this really broken code *sigh* 2000-05-15 NotZed * filter-editor.c (filter_editor_set_rule_files): filename based interface. (filter_editor_save_rules): Interface to save the options to a filename. * filter-xml.[ch]: Bunch of cleanup. * filter-xml.c (filter_*_file): New interfaces to read/write files directly, rather than messing with xmldoc crap. * 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. 2000-05-10 Christopher James Lahey * 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. 2000-05-02 Matt Loper * Makefile.am: set G_LOG_DOMAIN. 2000-05-01 NotZed * filter-driver.c (main): Fix for api. 2000-04-30 Dan Winship * filter-driver.c (start): Remove no-longer-necessary call to camel_provider_register_as_module. 2000-04-25 Ettore Perazzoli * Makefile.am (INCLUDES): Use `$(GTKHTML_CFLAGS)'. 2000-04-20 NotZed * filter-driver.c: Removed a bunch of crappy unrequired headers. * Makefile.am (filter_driver_LDADD): Added libibex back again. 2000-04-18 Dan Winship * filter-driver.c: remove unused camel-log.h include 2000-04-12 Matt Loper * filter-arg.c (filter_arg_edit_value): Return a value. 2000-03-27 NotZed * 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. 2000-03-22 NotZed * filter-driver.c (main): Changed to use async search api. 2000-03-04 NotZed * filter-druid.c (html_write_options): Output 'and' bits between the rules. * 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. 2000-03-02 NotZed * 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. 2000-03-01 Ettore Perazzoli * Makefile.am: New file. * Makefile: Removed. I wonder why we are using plain Makefiles instead of automake Makefiles at all. 2000-02-29 NotZed * 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. 2000-02-28 NotZed * filter-druid.c: Removed unused header. * Makefile: Removed references to filter-sexp.[ch]. * filter-sexp.[ch]: Removed some unecessary includes. Moved to e-util. Renamed callers. 2000-02-24 NotZed * 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-editor.c: New widget, a dialogue which uses filter-druid to present the various editing views. (druid_dialogue_clicked): On finish, save the user's new filter definition where it came from. * filter-druid.c: Changed to just being a notebook with no tabs, rather than a full druid (no next/prev/etc buttons). (option_name_changed): Update the option's description as the user enters it in. 2000-02-22 NotZed * 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. 2000-02-21 Matt Loper * .cvsignore: New file. 2000-02-18 NotZed * blank/check.xpm: Added forgotten files. * Uh, more changes, lots, its still work in progress. 2000-02-14 NotZed * Initial import.