Commit Graph

475 Commits

Author SHA1 Message Date
64cf56bef3 added the "use_filechooser" property to the GnomeFileEntry
2004-07-29  Carlos Garnacho Parro  <carlosg@gnome.org>

	* filter-file.c: added the "use_filechooser" property to the
	GnomeFileEntry

svn path=/trunk/; revision=26891
2004-08-12 20:35:31 +00:00
0730f269f0 encode entities. fixes bug #46677.
2004-06-21  Jeffrey Stedfast  <fejj@novell.com>

	* filter-input.c (xml_encode): encode entities. fixes bug #46677.

svn path=/trunk/; revision=26443
2004-06-21 18:53:07 +00:00
5f0f572bd1 Re-added - THIS IS NOT TO BE REMOVED!!!!
2004-06-18  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-errors.xml.h: Re-added - THIS IS NOT TO BE REMOVED!!!!

svn path=/trunk/; revision=26416
2004-06-18 13:24:29 +00:00
e65a333d1f Remove this generated file from CVS
2004-06-17  Rodney Dawes  <dobey@novell.com>

	* filter-errors.xml.h: Remove this generated file from CVS

svn path=/trunk/; revision=26389
2004-06-17 15:05:04 +00:00
5d5f3b88c3 ** See #59885.
2004-06-17  Not Zed  <NotZed@Ximian.com>

        ** See #59885.

        ** Moved all of the mailer specific filter stuff into mail/*.

        * filter-element.c (copy_value): implement for base types.

        * filter-element.c (filter_element_copy_value): do this as a
        virtual method.

        * filter.glade: moved the vfolder stuff to mail/

        * libfilter-i18n.h: removed, moved to mailer.

        * filter-errors.xml: moved the vfolder/filtering errors to the
        mail error file.

        * Makefile.am (EXTRA_DIST): moved *types.xml to mail.
        (INCLUDES): removed a bunch of mail dependencies.

        * filter-*.[ch], vfolder-*.[ch]: Moved all mail related filter and
        vfolder stuff to mail directory.

        * score-*.[ch]: Removed all of it.

        * vfolder-context.c (vfolder_new_element): and for vfolders.

        * filter-context.c (filter_new_element): implement for filter
        element types.

        * rule-context.c (rc_new_element): replacement for old
        filter_element_new_type_name.  only has the basics.

        * filter-part.c (filter_part_xml_create): take a rule context
        as an argument & and look up the element name off the context.

        * rule-context.c (rule_context_new_element): new virtual method to
        get an element for a given name.

        * filter-element.c (filter_element_new_type_name): removed.

svn path=/trunk/; revision=26379
2004-06-17 07:34:07 +00:00
949e7d99de give the junk test a unique name. #59567.
2004-06-08  Not Zed  <NotZed@Ximian.com>

        * filtertypes.xml: give the junk test a unique name. #59567.

svn path=/trunk/; revision=26247
2004-06-08 10:49:29 +00:00
59751421bd Require e-error-tool
2004-05-27  Rodney Dawes  <dobey@novell.com>

	* e-util/Makefile.am (dist-hook): Require e-error-tool

2004-05-27  Rodney Dawes  <dobey@novell.com>

	* */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist"

svn path=/trunk/; revision=26114
2004-05-27 18:23:57 +00:00
2efb90d0bc Removed from CVS Generated files don't belong in CVS
2004-05-26  Rodney Dawes  <dobey@novell.com>

	* libfilter-i18n.h: Removed from CVS
	Generated files don't belong in CVS

svn path=/trunk/; revision=26102
2004-05-26 15:38:56 +00:00
67d0c16f4e don't dist the error .h file
2004-05-19  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't dist the error .h file

svn path=/trunk/; revision=25979
2004-05-19 16:56:13 +00:00
7cdc173899 fix for folder selector api change, change the ok button to "Add".
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * vfolder-rule.c (source_add): fix for folder selector api change,
        change the ok button to "Add".

svn path=/trunk/; revision=25950
2004-05-18 07:27:37 +00:00
02ed7388b9 Same.
2004-05-12  Jeffrey Stedfast  <fejj@novell.com>

	* vfolder-rule.c: Same.

	* filter-folder.c: Added a #include to fix some compile warnings.

svn path=/trunk/; revision=25880
2004-05-12 14:40:03 +00:00
1f26a903b0 load threading option if threading enabled. (xml_encode): write out
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * filter-rule.c (xml_decode): load threading option if threading
        enabled.
        (xml_encode): write out threading setting.
        (rule_copy): copy threading option.
        (rule_eq): compare threading.
        (build_code): build the match-threads stuff if set.
        (fr_grouping_changed): insead of the match_all match_any activate
        clalbacks.
        (fr_threading_changed): handle threading option menu

        * rule-context.c (rule_context_init): set capabilities flags.

        * vfolder-context.c (vfolder_context_init): set capabilities flags
        to include threading.

        * rule-context.h: added a capabilities flag, grouping and
        threading capabilities.  Sort of a hack to workaround not being
        able to put grouping or threading into rules.

        * filter-rule.h: added an option for threading as well as
        grouping.

svn path=/trunk/; revision=25877
2004-05-12 07:14:09 +00:00
443ab1ee8c fix i18n file generation rules.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (%.xml.h): fix i18n file generation rules.

        * filter-errors.xml: rename from xml.in and fix tags.

        * filter-errors.xml.h: add for translators.

svn path=/trunk/; revision=25867
2004-05-12 03:32:55 +00:00
04fd8fde17 Added the Junk status flag to the xml definition so you can vfolder on
2004-05-03  Jeffrey Stedfast  <fejj@ximian.com>

	* vfoldertypes.xml: Added the Junk status flag to the xml
	definition so you can vfolder on that.

svn path=/trunk/; revision=25755
2004-05-03 14:54:24 +00:00
8cd76b19d0 update
svn path=/trunk/; revision=25751
2004-05-03 13:59:54 +00:00
6674bdd55b fix a warning.
2004-04-28  Not Zed  <NotZed@Ximian.com>

        * filter-option.c (filter_option_add): fix a warning.

        ** Changed error messages to use EError.

svn path=/trunk/; revision=25651
2004-04-28 06:38:20 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
a4606615f6 renamed filter_label to rule_label, and removed the vfolder-editor and
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * filter.glade: renamed filter_label to rule_label, and removed
        the vfolder-editor and filter-editor windows.

        * rule-editor.c (rule_editor_new): hide the source widget.

        * vfolder-editor.c (vfolder_editor_new): hide the source widget.

        * rule-editor.c (rule_editor_new): add a label argument.

        * vfolder-editor.c (vfolder_editor_new): ditto below.

        * filter-editor.c (filter_editor_new): dont add any label here.

        * rule-editor.c (rule_editor_construct): Put the widget back in
        the dialogue box here.  Add an argument for the area label.

        ** Revert Rodney's last patch.

svn path=/trunk/; revision=25257
2004-03-31 10:05:34 +00:00
5482126d24 Use the new "filter_editor" that has been added to the glade file Remove
2004-03-30  Rodney Dawes  <dobey@ximian.com>

	* filter-editor.c (filter_editor_new): Use the new "filter_editor"
	that has been added to the glade file
	* filter.glade: Remove an unused piece of UI definition and add a
	new "filter_editor" that is the same as rule_editor, only for the
	filter editor dialogs, and change "Filter Rules" to "Search Rules"
	in the rule_editor
	* rule-editor.c (rule_editor_new): Set the child widget of the editor
	dialog appropriately

svn path=/trunk/; revision=25251
2004-03-30 22:20:39 +00:00
3d6efc8617 Fix packing of the hbox that contains the actual input widgets to expand
2004-03-29  Rodney Dawes  <dobey@ximian.com>

	* filter-filter.c (get_widget):
	* filter-rule.c (get_widget): Fix packing of the hbox that contains
	the actual input widgets to expand and fill

svn path=/trunk/; revision=25235
2004-03-29 22:25:15 +00:00
28e3d6dc45 return the added option. (clone): make sure we set the current option
2004-03-26  Not Zed  <NotZed@Ximian.com>

        * filter-option.c (filter_option_add): return the added option.
        (clone): make sure we set the current option properly on the new
        copy.  See #56028.

        * filtertypes.xml: s/pipe to shell command/pipe to program/
        s/shell command/run program/, cleans up the UI a lot.

svn path=/trunk/; revision=25194
2004-03-26 05:10:04 +00:00
d25eaf6759 Use ngettext for handling plurals in filter-datespec. Partial fix for #53464).
svn path=/trunk/; revision=25135
2004-03-20 05:01:24 +00:00
fe91f0837c Don't ref the newly cloned rule (fix to previous patch).
2004-03-16  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-rule.c (rule_copy): Don't ref the newly cloned rule (fix
	to previous patch).

svn path=/trunk/; revision=25089
2004-03-16 16:08:03 +00:00
6d69af6450 When copying a FilterPart of a rule, we need copy the data of parts
2004-03-14  Bill Zhu  <bill.zhu@sun.com>

	* filter-rule.c (rule_copy): When copying a FilterPart of a rule, we
	need copy the data of parts together but not only copy the pointer.

svn path=/trunk/; revision=25086
2004-03-16 07:46:05 +00:00
9daff943a7 Credit William Jon McCann for original filter HIG patch (forgot to)
svn path=/trunk/; revision=25084
2004-03-15 20:52:01 +00:00
4080a5356c Hide the separators on these dialogs Re-pack the rule_editor widget in
2004-04-15  Rodney Dawes  <dobey@ximian.com>

	* filter-datespec.c (validate):
	(button_clicked): Hide the separators on these dialogs
	* filter-editor.c (filter_editor_new): Re-pack the rule_editor widget
	in here, and get rid of the GtkFrame-related code
	* filter-file.c (validate): Hide the separators on these dialogs
	* filter-filter.c (get_widget): Get rid of the GtkFrame, and relayout
	the widgets to be HIG-compliant
	* filter-folder.c (validate): Hide the separator on this dialog
	* filter-input.c (validate): Hide the separator on this dialog
	* filter-part.c (main): Hide the separator on this dialog
	* filter-rule.c (validate): Hide the separator on this dialog
	(get_widget): Get rid of the GtkFrame, and relayout the widgets to be
	HIG-compliant
	* filter.glade: Make the widget layouts here be HIG-compliant
	* rule-context.c (new_rule_response):
	(rule_context_add_rule_gui): Hide the separators on these dialogs
	* rule-editor.c (rule_editor_new): Get rid of the GtkFrame-related code
	(add_editor_response): Hide the dialog separator here
	(rule_add): Hide the dialog separator here
	(edit_editor_response): Hide the dialog separator here
	(rule_edit): Hide the dialog separator here
	(rule_editor_construct): Remove the rule_editor repacking code
	Set the dialog vbox's border width to 12
	Set the mnemonic for the filter label here
	Hide the dialog separator on the filter editor dialog
	* vfolder-editor.c (vfolder_editor_new): Re-pack the appropriate
	editor widget in here
	Get rid of the GtkFrame-related code
	* vfolder-rule.c (validate): Hide the dialog separators here

svn path=/trunk/; revision=25083
2004-03-15 20:37:48 +00:00
7418c7f7e1 After setting the new selected iter, call cursor_changed() so we can
2004-02-20  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (rule_delete): After setting the new selected
	iter, call cursor_changed() so we can update state. Fixes bug
	#54205.

svn path=/trunk/; revision=24823
2004-02-20 20:34:24 +00:00
917375e4d4 ** See bug #54338.
2004-02-20  Not Zed  <NotZed@Ximian.com>

        ** See bug #54338.

        * vfolder-rule.c: instead of overriding the filter-rule's 'source'
        attribute for 'with sources', add a 'with' enum.
        (xml_decode): handle loading old-format files, as well as new
        ones, where the with is a prop on the sources xml.
        (xml_encode): set 'with' on save.
        (rule_copy): copy across with value.
        (get_widget): just hook onto option menu changed, dont bother
        setting up any per-item callbacks.
        (select_source_with_changed): callback to monitor source 'with'
        type.

svn path=/trunk/; revision=24815
2004-02-20 09:26:17 +00:00
d83995108d implement, since we dont store the min/max values in the xml output, we
2004-02-17  Not Zed  <NotZed@Ximian.com>

        * filter-int.c (int_clone): implement, since we dont store the
        min/max values in the xml output, we lose it otherwise.  Bug
        #54155.

svn path=/trunk/; revision=24757
2004-02-17 07:01:13 +00:00
08df2dcd19 Default to an empty string for the value. (xml_decode): Remove old values
2004-02-06  Hans Petter Jansson  <hpj@ximian.com>

	* filter-input.c (filter_input_init): Default to an empty string
	for the value.
	(xml_decode): Remove old values before decoding the new ones.

svn path=/trunk/; revision=24660
2004-02-06 21:00:47 +00:00
234e62851e add widgets/misc
* Makefile.am (INCLUDES): add widgets/misc

svn path=/trunk/; revision=24587
2004-02-03 17:32:18 +00:00
088cda970e autogenerated file out of sync in CVS
svn path=/trunk/; revision=24379
2004-01-23 14:42:42 +00:00
1d92e96ba8 load from the just-loaded 'userdoc' rather than rc->user.
2004-01-20  Not Zed  <NotZed@Ximian.com>

        * rule-context.c (revert): load from the just-loaded 'userdoc'
        rather than rc->user.
        (rule_context_finalise): remove user and system xmldoc files.
        (load): make rc->system and rc->user locals systemdoc userdoc, and
        free them immediately.

svn path=/trunk/; revision=24321
2004-01-20 04:29:32 +00:00
21d0e891e2 ** See bug #52467.
2004-01-16  Not Zed  <NotZed@Ximian.com>

        ** See bug #52467.

        * vfolder-rule.c (vfr_folder_response): convert the uri to an
        evolution uri, rather than a camel one, for storage.  And remove
        double-calls to geT_selected_uri.
        (format_source): treat uri as an evolution uri and convert to a
        camel one to get something meaningful out of it.

svn path=/trunk/; revision=24265
2004-01-16 07:00:22 +00:00
77aa60234c s/spam/junk, added junk test rule, it must be lost while porting to 1.5
2004-01-15  Radek Doulik  <rodo@ximian.com>

	* filtertypes.xml: s/spam/junk, added junk test rule, it must be
	lost while porting to 1.5

svn path=/trunk/; revision=24240
2004-01-15 15:06:31 +00:00
56ff628281 ** See bug #47751.
2003-08-20  Not Zed  <NotZed@Ximian.com>

        ** See bug #47751.

        * rule-editor.c (add_editor_response, edit_editor_response)
        (rule_edit, rule_add, rule_editor_construct, editor_response):
        * rule-context.c (new_rule_response, rule_context_add_rule_gui):
        * filter-datespec.c (button_clicked): RESPONSE_REJECT/ACCEPT ->
        RESPONSE_CANCEL/OK

svn path=/trunk/; revision=24082
2004-01-07 00:29:28 +00:00
9f2fcb717f call peek instead of get as the function was renamed
2003-12-23  JP Rosevear <jpr@ximian.com>

	* vfolder-rule.c (source_add): call peek instead of get as the
	function was renamed

svn path=/trunk/; revision=24006
2003-12-23 14:36:34 +00:00
f6b7ede5b1 Remove hard coded disable deprecated flags
2003-12-06  JP Rosevear <jpr@ximian.com>

	* */Makefile.am: Remove hard coded disable deprecated flags

svn path=/trunk/; revision=23658
2003-12-06 18:08:00 +00:00
4c1234f546 added FILTER_SOURCE_JUNKTEST - perform only junktest on incoming mail
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* filter-rule.h: added FILTER_SOURCE_JUNKTEST - perform only
	junktest on incoming mail

svn path=/trunk/; revision=23628
2003-12-04 14:10:52 +00:00
884b9e0598 turn on deprecated gtk stuff
2003-11-26  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: turn on deprecated gtk stuff

svn path=/trunk/; revision=23493
2003-11-26 15:30:12 +00:00
6ac2fee6bc #include "em-folder-tree.h"
2003-11-17  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c: #include "em-folder-tree.h"

svn path=/trunk/; revision=23382
2003-11-17 05:58:21 +00:00
41348bb945 fix for folder selector api changes. (vfr_folder_response): handle the
2003-11-17  Not Zed  <NotZed@Ximian.com>

        * vfolder-rule.c (source_add): fix for folder selector api changes.
        (vfr_folder_response): handle the dialog response.

svn path=/trunk/; revision=23380
2003-11-17 05:43:39 +00:00
8e1251fa17 merged spam filtering branch
svn path=/trunk/; revision=23302
2003-11-12 21:13:05 +00:00
0e89f43c02 Remove Viewports around the treeviews, since they already have a scrolled
* filter.glade: Remove Viewports around the treeviews, since they
already have a scrolled window around them and the viewports cause
a double bevel to appear.

* rule-editor.c (rule_editor_treeview_new): Make the scrolled
window have a GTK_SHADOW_IN shadow.
* vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise

svn path=/trunk/; revision=22997
2003-10-22 19:26:40 +00:00
21743ac2cf Merge new-ui-branch into the trunk.
svn path=/trunk/; revision=22966
2003-10-21 18:51:30 +00:00
5d47e3740b Listen to the "value-changed" signal rather than the "changed" signal.
2003-09-22  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-int.c (get_widget): Listen to the "value-changed" signal
	rather than the "changed" signal. Fixes bug #48166.

svn path=/trunk/; revision=22646
2003-09-22 18:40:41 +00:00
e8c9e32de8 type should be a GType. (rule_context_add_rule_set): Likewise. Update
2003-09-16  Jeremy Katz  <katzj@redhat.com>

	* rule-context.c (rule_context_add_part_set): type should be a GType.
	(rule_context_add_rule_set): Likewise.
	* rule-context.h: Update prototypes.  Use GType instead of int for
	type in _part_set_map and _rule_set_map.

svn path=/trunk/; revision=22593
2003-09-16 21:15:38 +00:00
e62d27cf3c forgot to commit. new search types xml file.
svn path=/trunk/; revision=22586
2003-09-16 16:13:07 +00:00
99274a9570 ** See Natzilla task #47524
2003-09-15  Not Zed  <NotZed@Ximian.com>

        ** See Natzilla task #47524

        * filter-rule.h (FilterRule): add a system bit, for rules that
        shouldn't be edited/saved.

        * rule-context.c (load): check for ruleset maps in the system
        file, and if they exist, load in as system rules.
        (save): ignore system rules if they exist.

        * searchtypes.xml: Added a search-specific types folder.  Also
        contains system searches that cannot be deleted.

svn path=/trunk/; revision=22581
2003-09-15 22:43:15 +00:00
9c6056e601 ** See bug #42636.
2003-08-05  Not Zed  <NotZed@Ximian.com>

        ** See bug #42636.

        * vfoldertypes.xml: Fix some of the subject rules, they were
        missing matching ')'s.

2003-08-01  Not Zed  <NotZed@Ximian.com>

        ** See bug #47208.

        * filter-code.c (build_code): wrap the expression in a match-all
        so boolean expressions work properly for folder searches.

svn path=/trunk/; revision=22090
2003-08-05 21:12:14 +00:00