Commit Graph

218 Commits

Author SHA1 Message Date
bdcd8bd859 Pull up fix for translation of filter direction drop down menu from the
2001-04-20  Kjartan Maraas  <kmaraas@gnome.org>

	* filter-rule.c: Pull up fix for translation of filter
	direction drop down menu from the branch.

svn path=/trunk/; revision=9475
2001-04-20 17:57:09 +00:00
0c90cd7dda Plug memory leaks.
* filter-colour.c, filter-datespec.c, filter-folder.c,
        filter-input.c, filter-option.c, filter-rule.c, filter-score.c,
        filter-source.c, score-rule.c (xml_decode): Plug memory leaks.

        * rule-context.c (rule_context_finalise): Implement. Free stuff.

        * filter-element.h: #include <gnome-xml/xmlmemory.h> here for xmlFree

        * filter-filter.c, filter-part.c: Remove xmlmemory.h #include

svn path=/trunk/; revision=9451
2001-04-18 18:04:13 +00:00
f74e4c3046 s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest.
2001-04-15  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: s/Is/is/ and s/Is Not/is not/ to be more
	consistant with the rest.

svn path=/trunk/; revision=9331
2001-04-15 21:14:43 +00:00
daf16dd6e7 Oops --- I forgot to add these files before my last commit.
svn path=/trunk/; revision=9305
2001-04-13 22:08:39 +00:00
0eb8afc1d0 Make the (previously unused) get-source command actually do the right
2001-04-13  Jon Trowbridge  <trow@gnu.org>

	* camel-filter-search.c (get_source): Make the (previously unused)
	get-source command actually do the right thing, properly shrouding
	any passed-in source and falling back to use the source attached
	to the mime message.


2001-04-13  Jon Trowbridge  <trow@gnu.org>

	* filtertypes.xml: Add XML specs for source account filtering.

	* filter-element.c (filter_element_new_type_name): Recognize
	type "source", construct a FilterSource.

	* filter-source.c: Added.  A FilterElement for the account e-mail
	comes from.

svn path=/trunk/; revision=9304
2001-04-13 22:08:03 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
9c7c90a74f Fix headers. Same here. Same here. Same here. Same here. Same here. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* filter-editor.c: Fix headers.
	* filter-filter.c: Same here.
	* filter-option.c: Same here.
	* filter-part.c: Same here.
	* filter-rule.c: Same here.
	* rule-editor.c: Same here.
	* score-editor.c: Same here.
	* vfolder-editor.c: Same here.
	* vfolder-rule.c: Same here.

svn path=/trunk/; revision=9182
2001-04-04 20:44:13 +00:00
0884233afc Set the newpart on the container object. (less_parts): Remove the rule tht
2001-04-02  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-filter.c (option_activate): Set the newpart on the
	container object.
	(less_parts): Remove the rule tht the user wants to remove.
	(attach_rule): Attach a new rule and it's remove button to the end
	of the table.
	(more_parts): Fix to resize the table and such.
	(get_widget): Don't have a remove action button, we are putting
	this next to the rule part now.

	* filter-rule.c (option_activate): Set the newpart on the
	container object.
	(less_parts): Remove the rule tht the user wants to remove.
	(attach_rule): Attach a new rule and it's remove button to the end
	of the table.
	(more_parts): Fix to resize the table and such.
	(get_widget): Don't have a remove action button, we are putting
	this next to the rule part now.

svn path=/trunk/; revision=9115
2001-04-03 02:22:17 +00:00
69514b2bb1 Fix headers. Remove unneccesary ones and replace with more finegrained
2001-03-30  Kjartan Maraas  <kmaraas@gnome.org>

	* *.*: Fix headers. Remove unneccesary ones and replace
	with more finegrained ones where needed.

svn path=/trunk/; revision=9028
2001-03-29 21:18:50 +00:00
93d35480d8 Oops, an unspecified date is '0', not -1.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-datespec.c (validate): Oops, an unspecified date is '0',
	not -1.

svn path=/trunk/; revision=8910
2001-03-23 01:35:47 +00:00
aedb33b3af Validate the rule before closing.
2001-03-21  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-context.c (new_rule_clicked): Validate the rule before
	closing.

svn path=/trunk/; revision=8879
2001-03-22 00:14:29 +00:00
88300ba1fd Set the editor dialog modal rather than setting the filter dialog
2001-03-20  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (rule_edit): Set the editor dialog modal rather
	than setting the filter dialog insensitive. Also ref re->edit
	since we unref it when the editor closes. This should fix bug
	#1905.
	(edit_editor_clicked): No need to set the filter dialog sensitive
	again.
	(rule_add): Set the add-rule dialog modal and don't set the filter
	dialog insensitive.
	(add_editor_clicked): No need to set the filter dialog sensitive
	again.

svn path=/trunk/; revision=8858
2001-03-20 23:53:23 +00:00
be6335128d Since we are now using filter-option widgets in place of system-flag, we
2001-03-17  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-option.c (build_code): Since we are now using
	filter-option widgets in place of system-flag, we do not need a
	"code" part so if there isn't a code part, don't build it.
	(clone): Updated to allow NULL code parts.

svn path=/trunk/; revision=8789
2001-03-17 23:54:01 +00:00
4c484d7536 If the filter type is a "system-flag", use the optionlist type as type
2001-03-17  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-element.c (filter_element_new_type_name): If the filter
	type is a "system-flag", use the optionlist type as type
	system-flag has been removed. This should allow backward
	compatability.

svn path=/trunk/; revision=8785
2001-03-17 20:50:06 +00:00
22190776d3 Remove the menu that is in the glade file because we want to replace it
2001-03-17  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-editor.c (filter_editor_construct): Remove the menu that
	is in the glade file because we want to replace it with our menu,
	not append items to that menu.

	* filtertypes.xml: Oops, missed the system-flag action-set.

	* vfoldertypes.xml: Update "status" ruleset.

svn path=/trunk/; revision=8780
2001-03-17 07:00:19 +00:00
ec166c601c removed these blasted files
svn path=/trunk/; revision=8769
2001-03-17 01:47:54 +00:00
988af2ce73 Removed filter-url.[c,h] and filter-system-flag.[c,h]
2001-03-16  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Removed filter-url.[c,h] and
	filter-system-flag.[c,h]

	* filter-element.c (filter_element_new_type_name): Removed
	references to the url-type and system-flag types.

	* filtertypes.xml: Removed "source" type and fixed "status" to use
	the optionmenu.

	* filter-url.[c,h]: Removed.

	* filter-system-flag.[c,h]: Removed (just use optionmenu).

svn path=/trunk/; revision=8768
2001-03-17 01:47:23 +00:00
e8fad70e9f Changed the edit_filter to be a standalone window rather than a widget, so
2001-03-15  Not Zed  <NotZed@Ximian.com>

        * filter.glade: Changed the edit_filter to be a standalone window
        rather than a widget, so we can get the rule editor part out
        separately.  Same for vfolder editor, and new score, and basic rule
        editors.

        * score-editor.c (score_editor_new): Turned back on object
        stuff, subclass rule-editor, and removed most of the code.

        * filter-editor.c (filter_editor_new): Turned into an object,
        subclass rule-editor, removed most of the code.  Now we accept the
        source list during create, and plug that into the glade.

        * vfolder-editor.c (vfolder_editor_new): Turned back on object
        stuff, subclass rule-editor, and removed most of the code.

        * Makefile.am (libfilter_la_SOURCES): Added rule-editor.[ch].

        * filter-filter.c (validate): inherit the validate function and
        also validate the actions part of a filterfilter.

        * filter-rule.c (filter_rule_validate): New method so that filter
        rules can validate themselves.
        (validate): Default implementation, validates base rules.

        * rule-editor.h: New generic rule editor, to be used for filter
        editor/vfolder editor/score editor/saved searches editor.

svn path=/trunk/; revision=8729
2001-03-15 06:55:22 +00:00
1e9f8b5d12 create doc/devel/executive-summary/Makefile
2001-03-14  Gediminas Paulauskas <menesis@delfi.lt>

	* configure.in: create doc/devel/executive-summary/Makefile

	* doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml
	anymore

	* filter/filter-system-flag.c: translate status flag title.

svn path=/trunk/; revision=8714
2001-03-14 22:50:55 +00:00
c8d3373a5d Added an "Attachments" filter option where you can filter messages that
2001-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: Added an "Attachments" filter option where you
	can filter messages that have (or do not have) attachments. This
	does not allow you to filter based on the types of the
	attachments.

svn path=/trunk/; revision=8652
2001-03-12 22:58:02 +00:00
61066010dc Make sure we have something selected first ;-)
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-editor.c (double_click): Make sure we have something
	selected first ;-)

	* filter-editor.c (double_click): And here too.

svn path=/trunk/; revision=8599
2001-03-08 21:20:05 +00:00
7c3a6662fe Added option menu to vfolder editor.
2001-03-03  Not Zed  <NotZed@Ximian.com>

        * filter.glade: Added option menu to vfolder editor.

2001-03-02  Not Zed  <NotZed@Ximian.com>

        * vfolder-rule.c (get_widget): Setup the data on the base source
        opiton menu, and make hte option menu reflect the source.
        (select_source_with): Set the source type for this
        rule. e.g. these folders, "with ..."

        * filter-editor.c: Removed the N_() stuff from the source_names
        array, they must not be internationalised!!!

svn path=/trunk/; revision=8533
2001-03-02 23:38:12 +00:00
1b995212bd New function to clone rules.
2001-02-28  Not Zed  <NotZed@Ximian.com>

        * filter-rule.c (filter_rule_clone): New function to clone rules.

svn path=/trunk/; revision=8435
2001-03-01 00:52:51 +00:00
c06709a575 IMAP subscriptions stuff.
2001-02-23  Aaron Weber  <aaron@helixcode.com>

	* C/usage-mail.sgml: IMAP subscriptions stuff.

svn path=/trunk/; revision=8366
2001-02-23 11:26:21 +00:00
e761e875b2 renamed mailing list options to be more meaningful.
2001-02-23  Not Zed  <NotZed@Ximian.com>

	* filtertypes.xml:
	renamed mailing list options to be more meaningful.

	* vfoldertypes.xml:
	renamed mailing list options to be more meaningful.

svn path=/trunk/; revision=8357
2001-02-23 00:29:13 +00:00
f35cb5cffe Added mailing list matching rules.
2001-02-23  Not Zed  <NotZed@Ximian.com>

        * filtertypes.xml: Added mailing list matching rules.

        * vfoldertypes.xml: Added mailing list rules.

svn path=/trunk/; revision=8356
2001-02-22 23:33:15 +00:00
ac9abd5e60 Getting almost full and proper use of xml-i18n-tools.
Removed all files where glade writes strings.
Changed Makefile.am to not distribute them.
Changed all glade files to not write strings to those files.

Removed *.desktop and evolution.keys files, because they are generated.
Added them to .cvsignore
Added *.desktop.in evolution.keys.in files without transalted strings.
Added all existing entries from desktop files to po files.
Changed Makefile.am to distribute only .in files, and merge translations into
desktop files.

Removed obsolete files from po/ dir

svn path=/trunk/; revision=8164
2001-02-11 02:56:16 +00:00
5b9803f8c8 Translate the option title. (Noticed by Kjartan).
* filter-option.c (get_widget): Translate the option title.
	(Noticed by Kjartan).

svn path=/trunk/; revision=8027
2001-02-06 22:14:17 +00:00
4afe7dc770 Add #include <config.h> and mark some strings for translation.
2001-02-05  Kjartan Maraas  <kmaraas@gnome.org>

	* filter-code.c, filter-colour.c, filter-context.c,
	filter-element.c, filter-input.c, filter-score.c,
	filter-system-flag.c, filter-url.c: Add #include <config.h>
	and mark some strings for translation.

svn path=/trunk/; revision=7967
2001-02-05 13:57:00 +00:00
929f00f067 Removed, now lives in camel-filter-search.*
2001-01-22  Not Zed  <NotZed@Ximian.com>

        * filter-message-search.[ch]: Removed, now lives in
        camel-filter-search.*

        * Makefile.am (libfilter_la_SOURCES): Removed filter-driver.[ch]
        and filter-message-search.[ch].

        * filter-driver.[ch]: Removed.  now lives in camel-filter-driver.*

svn path=/trunk/; revision=7703
2001-01-22 11:45:59 +00:00
cbbf537929 Set the delete bit *before* copying to the default folder.
2001-01-19  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-driver.c (filter_driver_filter_message): Set the delete
	bit *before* copying to the default folder.

svn path=/trunk/; revision=7656
2001-01-19 21:24:37 +00:00
04656c360e Er, don't set the button insensitive if there is *1* action, set it
2001-01-18  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-filter.c (less_parts): Er, don't set the button
	insensitive if there is *1* action, set it insensitive if there
	are less than or equal to *1* actions. Doh!
	(more_parts): Only set the remove button sensitive if there is
	more than 1 action.
	(get_widget): Here too.

svn path=/trunk/; revision=7616
2001-01-18 06:34:27 +00:00
fba80ed5d8 Remove these files.
svn path=/trunk/; revision=7537
2001-01-16 17:51:41 +00:00
7878a71545 Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.
Moved ESearchBar from filter/ to widgets/misc/, a more appropriate
 home.  Bug #1060.

svn path=/trunk/; revision=7536
2001-01-16 17:50:44 +00:00
55b639a2c4 Moved p->copied to the inner part of the loop so that in the case of a
2001-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-driver.c (do_copy): Moved p->copied to the inner part of
	the loop so that in the case of a folder not existing, it doesn't
	think that the message was already copied to some place and thus
	not save it to the Inbox.
	(do_move): Same.

svn path=/trunk/; revision=7478
2001-01-13 07:44:17 +00:00
a33cf67ac0 Changed Priority to Score.
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* filtertypes.xml: Changed Priority to Score.

svn path=/trunk/; revision=7357
2001-01-10 06:09:54 +00:00
f54327b748 Attach to the "activate" signal - this should now make it so that a
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-option.c (get_widget): Attach to the "activate" signal -
	this should now make it so that a filter-option will "remember"
	what a user changed.

	* filter-system-flag.c (get_widget): Don't reset fsf->value to the
	first system flag, this should already be defaulted to the
	appropriate flag. This should fix the problem of always defaulting
	to the first menu option and thus "forgetting" the user's settings.

svn path=/trunk/; revision=7356
2001-01-10 05:44:23 +00:00
66b0d503f5 comment out some of the system flags as we don't want to use them.
2001-01-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-system-flag.c: comment out some of the system flags as we
	don't want to use them.
	(xml_encode): Update the printf
	(get_widget): Use strcmp instead of g_strcasecmp.

svn path=/trunk/; revision=7244
2001-01-04 06:52:22 +00:00
2934ba8dca Little utf8 safe encoding/decoding into libxml1 brokenness
svn path=/trunk/; revision=7226
2001-01-03 03:12:18 +00:00
71bf4380a1 Set the 'dirty' flag - this should fix the problem of flags not being set
2001-01-02  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (do_flag): Set the 'dirty' flag - this should
	fix the problem of flags not being set (or, more precisely,
	synced).
	(filter_driver_filter_message): Here too.

svn path=/trunk/; revision=7224
2001-01-03 01:48:59 +00:00
b3e4ed6da6 Unconditionally remove the client from the alarm notification system.
2001-01-01  Federico Mena Quintero  <federico@helixcode.com>

	* gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove
	the client from the alarm notification system.
	Removed all the obsolete alarm code.

	* gui/event-editor.c: Removed some crufty externs left over from
	Gnomecal.

	* gui/calendar-commands.c: #include "goto.h"
	Removed crufty variables left over from Gnomecal.
	(new_calendar): Do not take a full_name parameter.
	(init_username): Removed function.
	(init_calendar): Wheeeeeeee!  Removed crufty function.
	(quit_cmd): Removed function.

	* gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally
	FALSE because we do not use the configuration setting anyways.
	Sigh, all the printing code needs to be revamped.

svn path=/trunk/; revision=7209
2001-01-02 16:35:57 +00:00
f561a84cde Use e_utf8_strstrcase() instead of just strstr(). (header_starts_with):
2000-12-21  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-message-search.c (header_contains): Use
	e_utf8_strstrcase() instead of just strstr().
	(header_starts_with): Make sure that the header contents are
	longer than the starts-with string.

	* vfoldertypes.xml: Don't send \"Subject\" to body-contains.
	Also added matches, starts-with, and ends-with xml stuff.

svn path=/trunk/; revision=7204
2001-01-01 23:05:35 +00:00
22876b6aa8 Use CamelContentType rather than GMimeContentField.
* filter-message-search.c (handle_multipart, body_contains,
	body_regex): Use CamelContentType rather than GMimeContentField.

svn path=/trunk/; revision=7187
2000-12-28 19:28:53 +00:00
5674966eeb Merge from camel-mt-branch.
2000-12-24  Not Zed  <NotZed@HelixCode.com>

        * Merge from camel-mt-branch.

svn path=/trunk/; revision=7152
2000-12-24 00:58:02 +00:00
ea3c12a894 And here too.
2000-12-21  Not Zed  <NotZed@HelixCode.com>

        * filter-message-search.c (filter_message_search): And here too.

        * filter-driver.c (filter_driver_finalise): Kind of revert an
        accidentally commited patch for e_sexp_unref.

svn path=/trunk/; revision=7108
2000-12-20 22:45:44 +00:00
53e5cb89a5 God-damned friggin' WinCvs shit is so damn annoying. Why can't I just paste my ChangeLog entry? Ugh...
Anyways, this checkin fixes bug #1007

svn path=/trunk/; revision=7107
2000-12-20 21:58:16 +00:00
5f0ad1fc11 Oops, missed a gtk unref of the now-no-longer gtk e_sexp.
2000-12-20  Not Zed  <NotZed@HelixCode.com>

        * filter-message-search.c (filter_message_search): Oops, missed a
        gtk unref of the now-no-longer gtk e_sexp.

        * filter-driver.c: Remove mail_tool_lock stuff.
        (filter_driver_finalise): unref e_sexp properly.

svn path=/trunk/; revision=7095
2000-12-20 01:33:47 +00:00
7f1a408cd3 Fixed some warnings.
2000-12-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-search-bar.c (esb_pack_menubar): Fixed some warnings.

svn path=/trunk/; revision=6940
2000-12-12 07:38:26 +00:00
96cf97e4de Added a kludge, 'is_active' which is a static variable that holds whether
2000-12-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-folder.c (button_clicked): Added a kludge, 'is_active'
	which is a static variable that holds whether or not there is an
	active shell folder dialog up or not.

	* vfolder-editor.c (rule_delete): Autoselect the rule that ends up
	in the same position (or the one above it if the list is shorter
	than the position).

svn path=/trunk/; revision=6927
2000-12-12 00:17:11 +00:00
6287bb1af4 Autoselect the rule that ends up in the same position (or the one above it
2000-12-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* vfolder-editor.c (rule_delete): Autoselect the rule that ends up
	in the same position (or the one above it if the list is shorter
	than the position).

svn path=/trunk/; revision=6926
2000-12-11 23:55:26 +00:00