* 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
* 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
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
* 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-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-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-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-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-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-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-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-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
* 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 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-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-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-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-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-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