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