aboutsummaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* Set the path in the entry widget.Jeffrey Stedfast2002-05-102-0/+4
| | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (get_widget): Set the path in the entry widget. svn path=/trunk/; revision=16741
* Add filter-file.[c,h] to the build.Jeffrey Stedfast2002-05-106-20/+66
| | | | | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add filter-file.[c,h] to the build. * filtertypes.xml: Add a "Command" filter rule. * filter-element.c (filter_element_new_type_name): Add support for type "command" which uses the new FilterFile widget. svn path=/trunk/; revision=16739
* New filter widgets for choosing files and/or command-line's (?). Not yetJeffrey Stedfast2002-05-103-0/+375
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.[c,h]: New filter widgets for choosing files and/or command-line's (?). Not yet hooked up or anything, just for future use. svn path=/trunk/; revision=16735
* Changed to return a GList *, a list of the names of the rules affected byNot Zed2002-05-085-42/+126
| | | | | | | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * rule-context.c (rule_context_delete_uri): Changed to return a GList *, a list of the names of the rules affected by the delete, fixed all implementors. (rule_context_rename_uri): Similarly for delete_uri, for api consistency. (rule_context_free_uri_list): Util function to free the return from above. * filter-context.c (filter_delete_uri): Actually implement it, fix for #18826, and some related bugs. svn path=/trunk/; revision=16718
* Get rid of ibex stuff, we no longer use it.Jeffrey Stedfast2002-04-272-1/+4
| | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Get rid of ibex stuff, we no longer use it. svn path=/trunk/; revision=16622
* The score "is" rule should have a value of "is" and not "less-than".Jeffrey Stedfast2002-04-192-1/+6
| | | | | | | | | 2002-04-18 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: The score "is" rule should have a value of "is" and not "less-than". svn path=/trunk/; revision=16514
* Fixed a grammer mistake, or so according to bug #23376. Whatever.Jeffrey Stedfast2002-04-133-19/+25
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Fixed a grammer mistake, or so according to bug #23376. Whatever. svn path=/trunk/; revision=16454
* Fix "Follow Up" searches by comparing to the empty string, rather than justRussell Steinthal2002-04-123-4/+16
| | | | | | looking at the string value (which isn't a boolean) (Bug #233340 svn path=/trunk/; revision=16444
* Check that there is a value to setup. Fixes #15470.Not Zed2002-04-102-1/+4
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filter-input.c (validate): Check that there is a value to setup. Fixes #15470. svn path=/trunk/; revision=16420
* This needs to return a gboolean (TRUE). (rule_edit): UsingJeffrey Stedfast2002-04-102-5/+15
| | | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (double_click): This needs to return a gboolean (TRUE). (rule_edit): Using gnome_dialog_set_parent instead of gtk_widget_set_parent_window seems to fix bug #23226. svn path=/trunk/; revision=16415
* Added closing ) for "not starts with" subject rule. Added closing ) forNot Zed2002-04-102-5/+6
| | | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. Added closing ) for all the other broken rules too ... svn path=/trunk/; revision=16408
* Added closing ) for "not starts with" subject rule.Not Zed2002-04-103-19/+24
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. svn path=/trunk/; revision=16406
* Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton.Dan Winship2002-04-056-126/+40
| | | | | | | | | | | | | | | | * filter-folder.c: Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton. Remove FilterFolder->name since it's no longer needed. * filter-context.c (filter_rename_uri): Update for removal of FilterFolder->name. * filter-element.c (filter_element_copy_value): Likewise. * vfolder-rule.c (source_add): Update for evolution_shell_client_user_select_folder API change. svn path=/trunk/; revision=16354
* Set 're' as the parent window rather than as the parent widget.Jeffrey Stedfast2002-04-023-7/+14
| | | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set 're' as the parent window rather than as the parent widget. (add_editor_clicked): Only unref the editor if it is non-NULL. svn path=/trunk/; revision=16317
* Free account_name so we don't leak. Also after getting the source uri, useJeffrey Stedfast2002-03-192-34/+72
| | | | | | | | | | | | | | | 2002-03-18 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Free account_name so we don't leak. Also after getting the source uri, use camel-url to hide unwanted stuff. (xml_decode): Use xmlFree on the buffer returned from xmlNodeGetContent rather than g_free, as I think they are incompatable. Also use camel-url here to hide any params in the decoded url (to make things compatable with what older versions may have saved). svn path=/trunk/; revision=16196
* updated i18n headerJeffrey Stedfast2002-03-071-18/+20
| | | | svn path=/trunk/; revision=15951
* Added beep and play-sound actions.Jeffrey Stedfast2002-03-072-0/+13
| | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added beep and play-sound actions. svn path=/trunk/; revision=15950
* Copy values across to new part.Not Zed2002-02-269-18/+126
| | | | | | | | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * filter-filter.c (option_activate): Copy values across to new part. * filter-rule.c (option_activate): copy values across to new part, if they are compatible. * filter-element.c (filter_element_copy_value): New function to copy values (where they can be) from one filter element to another. * filter-part.c (filter_part_copy_values): New function to copy values of a filter part. #1359. svn path=/trunk/; revision=15841
* Re-added contains and not-contains. Also added filter/vfolder rules forJeffrey Stedfast2002-02-134-2/+43
| | | | | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: * filtertypes.xml: Re-added contains and not-contains. Also added filter/vfolder rules for Flag-for-Followup. svn path=/trunk/; revision=15694
* Re-added contains and not-contains.Jeffrey Stedfast2002-02-134-1/+20
| | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Re-added contains and not-contains. svn path=/trunk/; revision=15687
* NeedsReply no longer existsJeffrey Stedfast2002-02-082-6/+0
| | | | svn path=/trunk/; revision=15600
* Same here.Jeffrey Stedfast2002-02-053-66/+9
| | | | | | | | | | | 2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Same here. * filtertypes.xml: For mlist matching, we only want "is" and "is not" because that is all we really support anyway. svn path=/trunk/; revision=15570
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-282-5/+6
| | | | svn path=/trunk/; revision=15486
* check if re->edit != NULL before trying to unref it. Fixes a segfault whenMikael Hallendal2002-01-272-1/+10
| | | | | | | | | | 2002-01-26 Mikael Hallendal <micke@codefactory.se> * rule-editor.c (add_editor_clicked): check if re->edit != NULL before trying to unref it. Fixes a segfault when closing the rule editor. svn path=/trunk/; revision=15483
* If we write "" to an xml file, we read back NULL. So if we read back NULL,Not Zed2002-01-152-4/+13
| | | | | | | | | | | 2002-01-15 Not Zed <NotZed@Ximian.com> * filter-input.c (xml_decode): If we write "" to an xml file, we read back NULL. So if we read back NULL, convert it to "". Sigh. This makes a fix for #7801, although new gui may also be required. svn path=/trunk/; revision=15326
* Get the account name because that is the string we'd like to use forJeffrey Stedfast2002-01-043-27/+40
| | | | | | | | | | | | | 2002-01-03 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Get the account name because that is the string we'd like to use for display. (get_widget): Generate the account label the same as we do for the composer's From optionmenu. (filter_source_finalize): Free the account_name. (clone): Pass along the account_name member to filter_add_source svn path=/trunk/; revision=15241
* Make the date comparisons read the same as the ones in filtertypes.xmlJeffrey Stedfast2002-01-033-36/+39
| | | | | | | | | 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Make the date comparisons read the same as the ones in filtertypes.xml svn path=/trunk/; revision=15232
* Add new action to execute a shell command.Jeffrey Stedfast2001-12-183-18/+29
| | | | | | | | 2001-12-17 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add new action to execute a shell command. svn path=/trunk/; revision=15138
* Oops... this didn't get committed before.Jon Trowbridge2001-12-101-0/+8
| | | | svn path=/trunk/; revision=14947
* Implements marking messages as "Need Reply".Jon Trowbridge2001-12-102-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements marking messages as "Need Reply". 2001-12-09 Jon Trowbridge <trow@ximian.com> * mail-need-reply.xpm: Added a really, really ugly and awful icon to symbolize "message needs a reply". * Makefile.am (EXTRA_DIST): Added mail-need-reply.xpm. 2001-12-09 Jon Trowbridge <trow@ximian.com> * camel-folder-summary.c: Add "NeedsReply" to the flag_names array for CAMEL_MESSAGE_NEEDS_REPLY. * camel-folder-summary.h: Added CAMEL_MESSAGE_NEEDS_REPLY flag. 2001-12-09 Jon Trowbridge <trow@ximian.com> * vfoldertypes.xml: Add "Needs Reply" option to different status types. * filtertypes.xml: Add "Needs Reply" option to different status types. 2001-12-09 Jon Trowbridge <trow@ximian.com> * message-list.c: #include "art/mail-need-reply.xpm". (ml_tree_value_at): Adjust magic numbers, show "Need Reply" icon if the message needs reply. (message_list_create_extras): Adjust magic numbers to add new icon. (on_click): Changed to toggle between unread, read, and need reply when the status icon is clicked. * mail-callbacks.c (mark_as_needing_reply): Added. (mark_as_not_needing_reply): Added. Add "set" value to struct post_send_data. (composer_sent_cb): Use both "flags" and "set" elements of post_send_data when setting message flags. (mail_reply): Clear "Needs Reply" flag when we actually reply to a message. * folder-browser.c: Changed flag values to be given by bit-shifting (1<<5) vs. base-ten (32). Added CAN_MARK_DOESNT_NEED_REPLY flag. Added "Mark as Needing Reply" and "Mark as Not Needing Reply" elements to context menu. (on_right_click): Hide "Mark as (Not) Needing Reply" context menu elements as appropriate. svn path=/trunk/; revision=14946
* Removed U_. Fixes #15415.Zbigniew Chyla2001-11-282-1/+5
| | | | | | | | 2001-11-15 Zbigniew Chyla <cyba@gnome.pl> * rule-editor.c (set_source): Removed U_. Fixes #15415. svn path=/trunk/; revision=14797
* Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed,Not Zed2001-11-285-27/+76
| | | | | | | | | | | | | | | | | | | | | | | | 2001-11-21 Not Zed <NotZed@Ximian.com> * rule-editor.c (rule_edit): Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed, fake a -1 click event to clean up. (rule_add): hook onto destroy of dialogue. (add_editor_destroyed): Simulate -1 click event to clean up. Fix for #15745. 2001-11-20 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (source_add): Desensitise button while we're running, and if we are destroyed, exit and do nothing when we're done. Fixes crash in #15498. * filter-folder.c (button_clicked): Ref 'ff' around dialogue showing incase we go away before it returns. Also desensitise button that invoked us while its being processed & remove 'is_active' hack. Fixes similar problems to those in #15498. svn path=/trunk/; revision=14794
* Force the user to name the filter.Jeffrey Stedfast2001-11-133-9/+35
| | | | | | | | | | 2001-11-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (validate): Force the user to name the filter. * vfolder-rule.c (validate): Force the user to name the vfolder. svn path=/trunk/; revision=14679
* Require gal 0.15.99.8Joe Shaw2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* Need to ref rule since add doesn't. This doesn't crash anymore but doesn't92001-10-292-0/+3
| | | | | | | | | | 2001-10-29 <NotZed@Ximian.com> * rule-editor.c: (rule_editor_play_undo): Need to ref rule since add doesn't. This doesn't crash anymore but doesn't seem to do everything right either. svn path=/trunk/; revision=14312
* Fixed previous fix.Michael Zucci2001-10-292-1/+2
| | | | svn path=/trunk/; revision=14311
* Some debug printf fixes for printf's that dont like null %s's.92001-10-292-2/+7
| | | | | | | | | 2001-10-29 <NotZed@Ximian.com> * rule-editor.c: Some debug printf fixes for printf's that dont like null %s's. svn path=/trunk/; revision=14309
* Fix enable undo logic.Michael Zucci2001-10-292-1/+2
| | | | | | | * rule-editor.c (rule_editor_add_undo): Fix enable undo logic. svn path=/trunk/; revision=14308
* Implement, change any folder uri's that have been renamed, to the new one.82001-10-287-8/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-28 <NotZed@Ximian.com> * filter-context.c (filter_rename_uri): Implement, change any folder uri's that have been renamed, to the new one. (filter_delete_uri): Dont actually do any work (yet). We could probably put rename_uri on every rule context/filter part/filter element, and let their methods handle it, but for now its easy enough just to handle the few cases that we have to handle manually. * rule-context.c (rule_context_delete_uri): Update a filter context for a deleted uri, e.g. folder removed. (rule_context_rename_uri): Update a filter context for a renamed uri, e.g. * filter-folder.c (filter_folder_set_value): New function to set the uri of a folder filter. * rule-editor.c (rule_move): Add undo for move. (rule_editor_add_undo): Add extra rank item. (rule_editor_play_undo): handle rank case. (rule_editor_finalise): Clean up any hanging over undo log. (editor_clicked): Only enable 'undo' if we have EVOLUTION_RULE_UNDO enabled. Code still a bit flakey. (rule_editor_construct): Only enable a cancel button if EVOLUTION_RULE_UNDO is set. (rule_editor_add_undo): Only add if undo enabled. * filter-rule.c (filter_rule_set_name): Emit a changed event if it changes. (filter_rule_set_source): Same. svn path=/trunk/; revision=14289
* Add undo for move. (rule_editor_add_undo): Add extra rank item.82001-10-286-12/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-28 <NotZed@Ximian.com> * rule-editor.c (rule_move): Add undo for move. (rule_editor_add_undo): Add extra rank item. (rule_editor_play_undo): handle rank case. (rule_editor_finalise): Clean up any hanging over undo log. (editor_clicked): Only enable 'undo' if we have EVOLUTION_RULE_UNDO enabled. Code still a bit flakey. (rule_editor_construct): Only enable a cancel button if EVOLUTION_RULE_UNDO is set. * filter-rule.c (filter_rule_set_name): Emit a changed event if it changes. (filter_rule_set_source): Same. 2001-10-26 <NotZed@Ximian.com> * rule-context.c (rule_context_find_rank_rule): Find a rule at a specific rank/source. * rule-editor.c (add_editor_clicked): Log the added object. (rule_editor_add_undo): New function to add an undo record to the rule editor. (edit_editor_clicked): Log the changed object. (rule_delete): Add undo object. (rule_editor_play_undo): Play an undo log back. svn path=/trunk/; revision=14281
* Fix the address of the FSF in the licensing comments.Ettore Perazzoli2001-10-282-2/+0
| | | | svn path=/trunk/; revision=14243
* Fixing the license text.Ettore Perazzoli2001-10-2846-517/+508
| | | | svn path=/trunk/; revision=14215
* Fixing the license text.Ettore Perazzoli2001-10-282-2/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-272-4/+4
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Desensitize the parent dialog. (rule_edit): Same. (add_editor_clicked):Jeffrey Stedfast2001-10-262-0/+13
| | | | | | | | | | | 2001-10-26 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_add): Desensitize the parent dialog. (rule_edit): Same. (add_editor_clicked): Re-sensitize it. (edit_editor_clicked): Same. svn path=/trunk/; revision=14123
* Keep track of the current editor dialog window so that on exit, we canJeffrey Stedfast2001-10-263-33/+60
| | | | | | | | | | | | | 2001-10-25 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c: Keep track of the current editor dialog window so that on exit, we can close it too. (rule_edit): Don't make the dialog modal and set it's parent window as well as don't allow more than a single editor window to be popped up. (rule_add): Same. svn path=/trunk/; revision=14122
* added a missing close parenJeffrey Stedfast2001-10-261-1/+1
| | | | svn path=/trunk/; revision=14120
* Add a changed signal. Emits if the order changes or if you add or remove a42001-10-244-10/+109
| | | | | | | | | | | | | | 2001-10-24 <NotZed@Ximian.com> * rule-context.c (rule_context_class_init): Add a changed signal. Emits if the order changes or if you add or remove a rule. (rule_context_rank_rule): Fix rank rule to properly rank based on source, not merely on list position. (rule_context_add_rule): Also emit changed signal. (rule_context_remove_rule): Same. (rule_context_rank_rule): Emit changed signal. svn path=/trunk/; revision=13978
* Translate the rule names. (Bug #13082)Jon Trowbridge2001-10-212-1/+7
| | | | | | | | | 2001-10-20 Jon Trowbridge <trow@ximian.com> * rule-editor.c (set_source): Translate the rule names. (Bug #13082) svn path=/trunk/; revision=13827
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-193-0/+8
| | | | | | | out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
* Kludge to raise the filter dialog when the folder-selection window isJeffrey Stedfast2001-10-162-1/+7
| | | | | | | | | 2001-10-15 Jeffrey Stedfast <fejj@ximian.com> * filter-folder.c (button_clicked): Kludge to raise the filter dialog when the folder-selection window is closed. svn path=/trunk/; revision=13688
* If we have no node content, dont append any value or try to decode it.52001-10-162-4/+11
| | | | | | | | | | 2001-10-15 <NotZed@Ximian.com> * filter-input.c (xml_decode): If we have no node content, dont append any value or try to decode it. Gets rid of a bunch of annoying warnings. svn path=/trunk/; revision=13677
* And again here.Jeffrey Stedfast2001-10-054-4/+13
| | | | | | | | | | | | | 2001-10-04 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c (validate): And again here. * filter-folder.c (validate): Same. * filter-datespec.c (validate): Take out the "Oops" part of the warning. svn path=/trunk/; revision=13426
* "safe" save code, first save to .#name, then rename to name if it worked,42001-10-052-5/+31
| | | | | | | | | | | | | 2001-10-04 <NotZed@Ximian.com> * rule-context.c (save): "safe" save code, first save to .#name, then rename to name if it worked, also create backups to name~. Means filters/etc wont get reset/lost if disk fills up, although relies on libxml failing properly. (new_rule_clicked): Removed warning, we do now have changed signals! svn path=/trunk/; revision=13422
* Emit changed events when we change it. (vfolder_rule_remove_source): "82001-09-292-0/+9
| | | | | | | | | | 2001-09-28 <NotZed@Ximian.com> * vfolder-rule.c (vfolder_rule_add_source): Emit changed events when we change it. (vfolder_rule_remove_source): " svn path=/trunk/; revision=13241
* Set the item label to the new rule name, not the old rule name. Fixes bugJeffrey Stedfast2001-09-292-8/+17
| | | | | | | | | 2001-09-28 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (edit_editor_clicked): Set the item label to the new rule name, not the old rule name. Fixes bug #11168. svn path=/trunk/; revision=13224
* Use g_strdup for the uri, not the xml memory.72001-09-284-1586/+12
| | | | | | | | | | | | 2001-09-27 <NotZed@Ximian.com> * vfolder-rule.c (xml_decode): Use g_strdup for the uri, not the xml memory. * filter-driver.c, filter-message-search.c: Removed, again, how did they come back??? svn path=/trunk/; revision=13208
* Emit changed events.32001-09-156-7/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-13 <NotZed@Ximian.com> * filter-filter.c (filter_filter_add_action): (filter_filter_remove_action): (filter_filter_replace_action): Emit changed events. * filter-rule.c (filter_rule_xml_decode): Emiot a rule changed event. (filter_rule_copy): Emit a changed event. (filter_rule_replace_part): " (filter_rule_add_part): " (filter_rule_remove_part): " (filter_rule_xml_decode): Freeze around decoding, so we only emit changed when done. (filter_rule_emit_changed): New function to emit changed events if not frozen. 2001-09-13 <NotZed@Ximian.com> * rule-context.c (rule_context_class_init): Added a 'rule_added' and 'rule_removed' signal. (rule_context_load): Set a (private) frozen flag while we're loading. (rule_context_add_rule): Emit a rule_added signal if we're not frozen. (rule_context_remove_rule): Emit a rule_removed signal if we're not frozen. svn path=/trunk/; revision=12855
* Clone the current rule before editing it so that changes can be undone.Jeffrey Stedfast2001-09-137-30/+150
| | | | | | | | | | | | | | | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Clone the current rule before editing it so that changes can be undone. (edit_editor_clicked): If the user hit OK, replace the original rule with the new one. * vfolder-rule.c (vfolder_rule_finalise): Free the sources list. (rule_copy): Implemented. * filter-filter.c (rule_copy): Implemented. * filter-rule.c (filter_rule_copy): New convenience function to copy one rule "into" another. (rule_copy): Default implementation. (filter_rule_clone): Use filter_rule_copy() internally to get rid of the nastiness/slowness of xml encoding and then decoding. svn path=/trunk/; revision=12787
* Remove the match-all from the not body-contains, so we can use the new22001-09-132-1/+6
| | | | | | | | | 2001-09-12 <NotZed@Ximian.com> * vfoldertypes.xml: Remove the match-all from the not body-contains, so we can use the new vector not function. svn path=/trunk/; revision=12780
* Encode the score as an integer string, not as a string of integers. #5098.02001-09-112-4/+6
| | | | | | | | | 2001-09-10 <NotZed@Ximian.com> * filter-score.c (format_sexp): Encode the score as an integer string, not as a string of integers. #5098. svn path=/trunk/; revision=12761
* Allow the dialog's title to be translated.Jeffrey Stedfast2001-09-112-1/+6
| | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * filter-datespec.c (button_clicked): Allow the dialog's title to be translated. svn path=/trunk/; revision=12748
* #include <sys/types.h> for regex_t on freebsd.Chris Toshok2001-08-202-0/+5
| | | | | | | | 2001-08-19 Chris Toshok <toshok@ximian.com> * filter-input.c: #include <sys/types.h> for regex_t on freebsd. svn path=/trunk/; revision=12229
* Added key accelerators.Jeffrey Stedfast2001-08-183-30/+52
| | | | | | | | 2001-08-15 Jeffrey Stedfast <fejj@ximian.com> * filter.glade: Added key accelerators. svn path=/trunk/; revision=12157
* in default_user:Peter Williams2001-08-152-1/+6
| | | | | | | | | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * searches.xml: Rename <title> to <_title> so that these fields can be translated. in filter: 2001-08-14 Peter Williams <peterw@ximian.com> * filter-rule.c (xml_decode): Match either "title" or "_title" to allow for translations of the title (provided in the default files) svn path=/trunk/; revision=12034
* New function. Convert a time_t to a gchar * (with i18n) (describe_button):Peter Williams2001-08-142-2/+17
| | | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * filter-datespec.c (format_time): New function. Convert a time_t to a gchar * (with i18n) (describe_button): Use format_time instead of ctime. svn path=/trunk/; revision=11942
* Add a gettext around our static strings.Peter Williams2001-08-132-1/+6
| | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * filter-datespec.c (make_span_editor): Add a gettext around our static strings. svn path=/trunk/; revision=11939
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-111-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* Make this compile again.Peter Williams2001-08-102-3/+7
| | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * rule-context.c (rule_context_add_rule_gui): Make this compile again. svn path=/trunk/; revision=11877
* No need to gtk_widget_show() the gnome dialog widget twice...Jeffrey Stedfast2001-08-103-146/+158
| | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (rule_context_add_rule_gui): No need to gtk_widget_show() the gnome dialog widget twice... * vfolder-rule.c (get_widget): Unref the glade_xml gui object before returning. svn path=/trunk/; revision=11870
* don't mix g_free and xmlAlloc (xml_decode): don't mix g_free and xmlAllocRadek Doulik2001-08-095-9/+29
| | | | | | | | | | | | | | | | | | | 2001-08-08 Radek Doulik <rodo@ximian.com> * filter-folder.c (button_clicked): don't mix g_free and xmlAlloc (xml_decode): don't mix g_free and xmlAlloc * filter-code.c (filter_code_init): use xmlStrdup instead of g_strdup * filter-input.c (filter_input_new_type_name): use xmlStrdup instead of g_strdup (filter_input_finalise): don't mix g_free and xmlAlloc * filter-option.c (clone): use xmlStrdup instead of g_strdup (free_option): don't mix g_free and xmlAlloc svn path=/trunk/; revision=11795
* use xmlStrdup rather than g_strdupRadek Doulik2001-08-083-2/+9
| | | | | | | | | | | 2001-08-08 Radek Doulik <rodo@ximian.com> * filter-source.c (clone): use xmlStrdup rather than g_strdup * filter-element.c (filter_element_finalise): don't mix g_free and xmlAlloc svn path=/trunk/; revision=11788
* Properly free the list of parts, and the private data.Not Zed2001-08-087-37/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-07 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_finalise): Properly free the list of parts, and the private data. (FilterRulePrivate): Remove unused 'parts' member. * filter-option.c (free_option): For freeing options. (filter_option_finalise): Free options list. * filter-element.c (filter_element_finalise): free name. * filter-input.c (filter_input_finalise): Free type and values list. * filter-context.c (filter_context_finalise): Free the actions. * rule-context.c (rule_context_finalise): Remove the totally weird arsed *_set_list free code. (free_part_set): (free_rule_set): Use this to free stuff using g_list_foreach. (rule_context_finalise): Free the error string. (rule_context_finalise): Free the rules and parts. svn path=/trunk/; revision=11774
* Reverted my previous change, I fixed the filter code to handle this theJeffrey Stedfast2001-08-082-0/+33
| | | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Reverted my previous change, I fixed the filter code to handle this the way danw said to handle it in bug #5886 now. svn path=/trunk/; revision=11739
* Removed the "is" and "is not" rules from the xml file for address matchingJeffrey Stedfast2001-08-082-27/+5
| | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Removed the "is" and "is not" rules from the xml file for address matching because users are easily confused. svn path=/trunk/; revision=11737
* Do an evil kludgy hack so that the Rule Name entry widget gets focusedJeffrey Stedfast2001-08-042-3/+14
| | | | | | | | | | 2001-08-03 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Do an evil kludgy hack so that the Rule Name entry widget gets focused when the filter editor is shown. svn path=/trunk/; revision=11626
* Wrap some debug printf's with d().Jeffrey Stedfast2001-08-034-93/+98
| | | | | | | | | | | 2001-08-02 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c: Wrap some debug printf's with d(). * rule-context.h: Removed prototype for rule_context_delete_rule() since the function doesn't exist. svn path=/trunk/; revision=11600
* Sync for the release.Ettore Perazzoli2001-08-011-1/+0
| | | | svn path=/trunk/; revision=11530
* Added a validate function that checks to make sure that vfolders that haveJon Trowbridge2001-07-243-0/+40
| | | | | | | | | | | | | 2001-07-23 Jon Trowbridge <trow@ximian.com> * vfolder-rule.c (validate): Added a validate function that checks to make sure that vfolders that have "specific folders" as their source actually have a non-empty list of source folders selected. (Bug #4937) (get_widget): If fr->source is NULL for some reason, bring it into sync with the default in the option menu. svn path=/trunk/; revision=11336
* Change the butt-ugly UI to a saner (and just as flexible) one. Instead ofPeter Williams2001-07-242-98/+114
| | | | | | | | | | | | | | | | | | 2001-07-23 Peter Williams <peterw@ximian.com> * filter-datespec.c (make_span_editor): Change the butt-ugly UI to a saner (and just as flexible) one. Instead of all those spinbuttons, just have one and let the user select the time unit. (omenu_item_activated): New function. When the user changes the time unit, convert it from the old number. Pretty. (adj_value_changed): This function is now simpler. (set_adjustments): Also modified for new UI model. (button_clicked): Set the selected_type before calling the callback. (FilterDatespecPrivate): Members change a bit. (filter_datespec_init): No longer need to allocation spinbuttons (filter_datespec_finalise): No longer need to free spinbuttons. svn path=/trunk/; revision=11312
* Removed the "Forward To" filter action.Jeffrey Stedfast2001-07-213-45/+44
| | | | | | | | 2001-07-20 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Removed the "Forward To" filter action. svn path=/trunk/; revision=11278
* Return -1 if we don't find it? This is what most of the code expected butJeffrey Stedfast2001-07-193-31/+41
| | | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (rule_context_get_rank_rule): Return -1 if we don't find it? This is what most of the code expected but not what we were returning on fail. svn path=/trunk/; revision=11206
* Marked string for translation.Chyla Zbigniew2001-07-132-1/+5
| | | | | | * filter-datespec.c (stringify_agoness): Marked string for translation. svn path=/trunk/; revision=11060
* Users should not be able to filter on "Status is Deleted" since we don'tJeffrey Stedfast2001-07-133-21/+23
| | | | | | | | | 2001-07-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Users should not be able to filter on "Status is Deleted" since we don't allow that in the filter driver code. svn path=/trunk/; revision=11049
* Copied the "Attachments" rule part over from filtertypes.xml, would be aJason Leach2001-07-112-0/+26
| | | | | | | | | | | | 2001-07-11 Jason Leach <jleach@ximian.com> * vfoldertypes.xml: Copied the "Attachments" rule part over from filtertypes.xml, would be a powerful feature for vfolders (see all the patches across all folders, or all the attachments you've sent, without having to duplicate potentially big files, blah blah, bug #1155). svn path=/trunk/; revision=10996
* Put a match-all around the not-body-contains to make it work per-message.Peter Williams2001-07-113-2/+9
| | | | | | | | | | | 2001-07-10 Peter Williams <peterw@ximian.com> * vfoldertypes.xml: Put a match-all around the not-body-contains to make it work per-message. * filtertypes.xml: Same. svn path=/trunk/; revision=10962
* Set the focus on the title of the filter rule.Jeffrey Stedfast2001-07-102-6/+13
| | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Set the focus on the title of the filter rule. svn path=/trunk/; revision=10921
* 2001-07-09 Anna Marie DirksAnna Dirks2001-07-102-0/+6
| | | | | | | | *rule-context.c (rule_context_add_rule_gui): Increased the size of the "Add Filter Rule" dialog to 600 x 400, so that no resizing is necessary to use the dialog. svn path=/trunk/; revision=10914
* Bonobo-conf-ified. Removed /home/trow hard-wiring. :) (xml_encode): EncodeJon Trowbridge2001-07-094-73/+94
| | | | | | | | | | | | | 2001-07-09 Jon Trowbridge <trow@ximian.com> * filter-source.c (filter_source_get_sources): Bonobo-conf-ified. Removed /home/trow hard-wiring. :) (xml_encode): Encode things properly. (xml_decode): Decode things properly. (get_widget): Ignore accounts w/o source URLs. (clone): Set the ->name in our copy. svn path=/trunk/; revision=10903
* Select the most appropriate filter rule.Jeffrey Stedfast2001-07-063-2/+12
| | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_delete): Select the most appropriate filter rule. svn path=/trunk/; revision=10836
* oops, forgot to commit ChangeLogJeffrey Stedfast2001-07-061-6/+9
| | | | svn path=/trunk/; revision=10833
* Fix bug #4043: s/colour/colorJeffrey Stedfast2001-07-062-1/+5
| | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Fix bug #4043: s/colour/color svn path=/trunk/; revision=10832
* Prevent crashing while we work this out.Peter Williams2001-07-043-2/+15
| | | | | | | | | | | | 001-07-03 Peter Williams <peterw@ximian.com> * filter-source.c (get_widget): Prevent crashing while we work this out. * filter-rule.c (get_widget): Don't try to gtk_widget_grab_default with a widget that can't be the default. Altough it should be able to.... svn path=/trunk/; revision=10771
* Added an integer type for filtering values. used for size.Sam Creasey2001-07-037-0/+321
| | | | | | | | | | | | 2001-07-02 Sam Creasey <sammy@oh.verio.com> * filter-int.c: Added an integer type for filtering values. used for size. * Makefile.am (SOURCES): added filter-int.c, filter-int.h * filtertypes.xml: added a part entry for size based filters svn path=/trunk/; revision=10717
* Changed "Add criterion" button to have normal button relief in response toAnna Marie Dirks2001-07-033-2/+10
| | | | | | | | | | | | | 2001-07-02 Anna Marie Dirks <anna@ximian.com> * filter-rule.c (get_widget): Changed "Add criterion" button to have normal button relief in response to complaints of it not appearing clickable. * filter-filter.c: Changed "Add action" button to have normal button relief in response to complaints of it not appearing clickable. svn path=/trunk/; revision=10705
* Set the filter-rule dialog to be user-resizable.Jeffrey Stedfast2001-06-303-28/+44
| | | | | | | | | 2001-06-29 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_editor_construct): Set the filter-rule dialog to be user-resizable. svn path=/trunk/; revision=10607
* Make "Move" the default action.Jeffrey Stedfast2001-06-282-5/+9
| | | | | | | | 2001-06-27 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Make "Move" the default action. svn path=/trunk/; revision=10533
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-2339-44/+44
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Deleted Gediminas patch.Not Zed2001-05-081-0/+4
| | | | | | | | 2001-05-08 Not Zed <NotZed@Ximian.com> * filter-rule.c: Deleted Gediminas patch. svn path=/trunk/; revision=9709
* Fix for #2253 (search names not translated), mail-search i18n fixes.Gediminas Paulauskas2001-05-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * searches.xml: replace title> with _title>. Part of fix to #2253. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * mail-search.c: convert search entry to utf8. * mail-local.c: d() debugging message. * mail-send-recv.c: replace " ..." with "..." * Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * POTFILES.in: add mail/mail-search.c 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-search-bar.c (add_dropdown), (set_option): first try to translate, then if not suceeded -- convert from utf8. This handles cases when menuitem needs to be translated (it is passed as N_()), or is utf8 search title. However you cannot have a search like "Folders" -- it is translated. Part of fix for #2253. * misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED macro instead of own "Advanced ..." for consistency. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * filter-rule.c (xml_decode): allow "_title" in user rules. translate them and encode to utf8. (get_rule_part_widget): do not call gettext on part->title. It is always translated already. svn path=/trunk/; revision=9706
* Set the default size of the dialog to 600x400, which seems to be a niceJeffrey Stedfast2001-04-272-2/+12
| | | | | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set the default size of the dialog to 600x400, which seems to be a nice size that fits all the widgets into it. (rule_add): Same. svn path=/trunk/; revision=9604
* Remove UNICODE_CFLAGSDan Winship2001-04-262-1/+4
| | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS svn path=/trunk/; revision=9582
* Blah blah fix for xml1 broken utf8 encoding, and use "g" memory for allNot Zed2001-04-262-16/+36
| | | | | | | | | | 2001-04-26 Not Zed <NotZed@Ximian.com> * filter-part.c (filter_part_xml_create): Blah blah fix for xml1 broken utf8 encoding, and use "g" memory for all allocations. (filter_part_finalise): Free our data properly. svn path=/trunk/; revision=9572
* Pull up fix for translation of filter direction drop down menu from theKjartan Maraas2001-04-212-1/+12
| | | | | | | | | 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
* Plug memory leaks.Dan Winship2001-04-1914-21/+62
| | | | | | | | | | | | | | * 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
* s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest.Jeffrey Stedfast2001-04-163-22/+25
| | | | | | | | | 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
* Oops --- I forgot to add these files before my last commit.Jon Trowbridge2001-04-142-0/+408
| | | | svn path=/trunk/; revision=9305
* Make the (previously unused) get-source command actually do the rightJon Trowbridge2001-04-147-3/+42
| | | | | | | | | | | | | | | | | | | | | | 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
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-9/+0
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here. Same here. SameKjartan Maraas2001-04-0510-0/+37
| | | | | | | | | | | | | | | | 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
* Set the newpart on the container object. (less_parts): Remove the rule thtJeffrey Stedfast2001-04-034-90/+125
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix headers. Remove unneccesary ones and replace with more finegrainedKjartan Maraas2001-03-3043-66/+122
| | | | | | | | | 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
* Oops, an unspecified date is '0', not -1.Jeffrey Stedfast2001-03-232-1/+6
| | | | | | | | | 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
* Validate the rule before closing.Jeffrey Stedfast2001-03-224-13/+24
| | | | | | | | | 2001-03-21 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (new_rule_clicked): Validate the rule before closing. svn path=/trunk/; revision=8879
* Set the editor dialog modal rather than setting the filter dialogJeffrey Stedfast2001-03-212-118/+130
| | | | | | | | | | | | | | | | | 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
* Since we are now using filter-option widgets in place of system-flag, weJeffrey Stedfast2001-03-183-4/+14
| | | | | | | | | | | 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
* If the filter type is a "system-flag", use the optionlist type as typeJeffrey Stedfast2001-03-182-1/+6
| | | | | | | | | | | 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
* Remove the menu that is in the glade file because we want to replace itJeffrey Stedfast2001-03-174-5/+51
| | | | | | | | | | | | | | 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
* removed these blasted filesJeffrey Stedfast2001-03-174-602/+0
| | | | svn path=/trunk/; revision=8769
* Removed filter-url.[c,h] and filter-system-flag.[c,h]Jeffrey Stedfast2001-03-175-32/+37
| | | | | | | | | | | | | | | | | | | 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
* Changed the edit_filter to be a standalone window rather than a widget, soNot Zed2001-03-1514-928/+943
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-152-1/+5
| | | | | | | | | | | | | 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
* Added an "Attachments" filter option where you can filter messages thatJeffrey Stedfast2001-03-134-121/+35
| | | | | | | | | | | 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
* Make sure we have something selected first ;-)Jeffrey Stedfast2001-03-093-6/+13
| | | | | | | | | | | 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
* Added option menu to vfolder editor.Not Zed2001-03-035-208/+160
| | | | | | | | | | | | | | | | | | 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
* New function to clone rules.Not Zed2001-03-013-0/+21
| | | | | | | | 2001-02-28 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_clone): New function to clone rules. svn path=/trunk/; revision=8435
* IMAP subscriptions stuff.Aaron Weber2001-02-231-0/+114
| | | | | | | | 2001-02-23 Aaron Weber <aaron@helixcode.com> * C/usage-mail.sgml: IMAP subscriptions stuff. svn path=/trunk/; revision=8366
* renamed mailing list options to be more meaningful.Not Zed2001-02-233-20/+22
| | | | | | | | | | | | 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
* Added mailing list matching rules.Not Zed2001-02-234-0/+101
| | | | | | | | | | 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
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-114-18/+7
| | | | | | | | | | | | | | | | | 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
* Translate the option title. (Noticed by Kjartan).Dan Winship2001-02-072-1/+6
| | | | | | | * filter-option.c (get_widget): Translate the option title. (Noticed by Kjartan). svn path=/trunk/; revision=8027
* Add #include <config.h> and mark some strings for translation.Kjartan Maraas2001-02-0514-3/+1638
| | | | | | | | | | | 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
* Removed, now lives in camel-filter-search.*Not Zed2001-01-226-1712/+10
| | | | | | | | | | | | | | 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
* Set the delete bit *before* copying to the default folder.Jeffrey Stedfast2001-01-202-4/+9
| | | | | | | | | 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
* Er, don't set the button insensitive if there is *1* action, set itJeffrey Stedfast2001-01-182-4/+15
| | | | | | | | | | | | | 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
* Remove these files.Jacob Leach2001-01-172-402/+0
| | | | svn path=/trunk/; revision=7537
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-172-2/+5
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* Moved p->copied to the inner part of the loop so that in the case of aJeffrey Stedfast2001-01-132-4/+15
| | | | | | | | | | | | 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
* Changed Priority to Score.Jeffrey Stedfast2001-01-103-2/+4
| | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed Priority to Score. svn path=/trunk/; revision=7357
* Attach to the "activate" signal - this should now make it so that aJeffrey Stedfast2001-01-105-27/+65
| | | | | | | | | | | | | | | 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
* comment out some of the system flags as we don't want to use them.Jeffrey Stedfast2001-01-042-4/+11
| | | | | | | | | | | 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
* Little utf8 safe encoding/decoding into libxml1 brokennessLauris Kaplinski2001-01-035-12/+58
| | | | svn path=/trunk/; revision=7226
* Set the 'dirty' flag - this should fix the problem of flags not being setJeffrey Stedfast2001-01-032-2/+9
| | | | | | | | | | | 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
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-031-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Use e_utf8_strstrcase() instead of just strstr(). (header_starts_with):Jeffrey Stedfast2001-01-023-6/+132
| | | | | | | | | | | | | | 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
* Use CamelContentType rather than GMimeContentField.Dan Winship2000-12-292-7/+12
| | | | | | | * filter-message-search.c (handle_multipart, body_contains, body_regex): Use CamelContentType rather than GMimeContentField. svn path=/trunk/; revision=7187
* Merge from camel-mt-branch.Not Zed2000-12-243-4/+4
| | | | | | | | 2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152
* And here too.Not Zed2000-12-213-1/+12
| | | | | | | | | | | 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
* God-damned friggin' WinCvs shit is so damn annoying. Why can't I just paste ↵Jeffrey Stedfast2000-12-213-3/+16
| | | | | | | | my ChangeLog entry? Ugh... Anyways, this checkin fixes bug #1007 svn path=/trunk/; revision=7107
* Oops, missed a gtk unref of the now-no-longer gtk e_sexp.Not Zed2000-12-203-20/+11
| | | | | | | | | | | | 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
* Fixed some warnings.Christopher James Lahey2000-12-122-1/+6
| | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c (esb_pack_menubar): Fixed some warnings. svn path=/trunk/; revision=6940
* Added a kludge, 'is_active' which is a static variable that holds whetherJeffrey Stedfast2000-12-122-0/+12
| | | | | | | | | | | | | | 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
* Autoselect the rule that ends up in the same position (or the one above itJeffrey Stedfast2000-12-122-1/+12
| | | | | | | | | | 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
* Don't highlight the title if it's "Untitled" because switching widgetJeffrey Stedfast2000-12-092-1/+9
| | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * filter-rule.c (get_widget): Don't highlight the title if it's "Untitled" because switching widget focus doesn't cause this selection to go away. svn path=/trunk/; revision=6870
* Mark some strings for translation.Kjartan Maraas2000-12-072-2/+6
| | | | | | | | 2000-12-06 Kjartan Maraas <kmaraas@gnome.org> * filter-editor.c: Mark some strings for translation. svn path=/trunk/; revision=6821
* Forgot to commit this with my last set of changes to the filter codeJeffrey Stedfast2000-12-061-3/+0
| | | | svn path=/trunk/; revision=6805
* Added support for the system-flag type.Jeffrey Stedfast2000-12-0210-75/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Added support for the system-flag type. * Makefile.am: Added filter-system-flag.[c,h]. * filter-system-flag.[c,h]: New type for system flags. * filtertypes.xml: Oops, looks like we were still using integers as arguments to set-flag. Change over to using strings which are safer and also change the name to set-system-flag. * filter-driver.c (do_flag): Use strings instead of integers. Instead of set-flag, the callback is now set-system-flag for less confusion. Sorry Ettore, but you'll have to change your filters. * filtertypes.xml: Added system-flags stuff. * vfoldertypes.xml: And here too. * filter-message-search.c (system_flag): New ESExp callback for filtering on system flags. svn path=/trunk/; revision=6764
* Use camel_message_info_free() instead of freeing everything by hand - isJeffrey Stedfast2000-12-012-32/+12
| | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Use camel_message_info_free() instead of freeing everything by hand - is this a new function? I don't ever recall seeing this before. Also use my new function, camel_message_info_new_from_header - ahhh... this code is now so beatiful. Okay, I'm done. svn path=/trunk/; revision=6750
* Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV forJeffrey Stedfast2000-12-012-4/+29
| | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV for the moment). svn path=/trunk/; revision=6739
* Moved the regex filter rule around - we've changed the format a bit.Jeffrey Stedfast2000-11-2811-107/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Moved the regex filter rule around - we've changed the format a bit. * filter-option.c (option_activate): Removed. (get_widget): Don't connect the activate signal. * filter-folder.c (validate): Updated. * filter-datespec.c (validate): Updated. * filter-part.c (filter_part_validate): Updated. * filter-input.c (validate): Check the filter-input type - if it's of type "regex", then check for regex validity. * filter-element.c (filter_element_validate): No longer takes a gpointer argument. (filter_element_new_type_name): Allow type "regex" and create a new filter-input with type "regex". 2000-11-24 Michael Meeks <michael@helixcode.com> * filter-message-search.c (get_full_header): impl. (header_full_regex): use it. 2000-11-23 Michael Meeks <michael@helixcode.com> * filter-message-search.c (header_full_regex): impl. svn path=/trunk/; revision=6685
* took out some no longer needed printfs.Jeffrey Stedfast2000-11-222-2/+5
| | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c: took out some no longer needed printfs. svn path=/trunk/; revision=6632
* Sync here instead. (filter_driver_filter_mbox): And here too.Jeffrey Stedfast2000-11-162-4/+21
| | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_folder): Sync here instead. (filter_driver_filter_mbox): And here too. (filter_driver_finalise): Don't sync here afterall - it's more preferable to sync right after processing. svn path=/trunk/; revision=6588
* Sync the defaultfolder.Jeffrey Stedfast2000-11-162-1/+8
| | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_finalise): Sync the defaultfolder. svn path=/trunk/; revision=6587
* Neglect any leading whitespace in the header contents.Jeffrey Stedfast2000-11-142-0/+22
| | | | | | | | | | | | 2000-11-13 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (header_matches): Neglect any leading whitespace in the header contents. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): Same. svn path=/trunk/; revision=6562
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-2/+3
| | | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder and the message hasn't been deleted... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. (filter_driver_filter_message): svn path=/trunk/; revision=6555
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-3/+10
| | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. svn path=/trunk/; revision=6554
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-1/+8
| | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... svn path=/trunk/; revision=6551
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-131-16/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Made the underline show up properly in the main menu bar.Christopher James Lahey2000-11-112-3/+28
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Made the underline show up properly in the main menu bar. svn path=/trunk/; revision=6532
* Switched from using gtk_menu_item_new_with_label for the menu header toChristopher James Lahey2000-11-102-1/+6
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Switched from using gtk_menu_item_new_with_label for the menu header to using gnome_stock_menu_item. svn path=/trunk/; revision=6530
* Fixed two spacing problems: first, changed the spacing around the end ofAnna Marie Dirks2000-11-102-2/+11
| | | | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * e-search-bar.c: Fixed two spacing problems: first, changed the spacing around the end of the text-entry widget so that the text entry is always aligned with the beginning of the scrollbar; second, trimmed down the space between the widgets in the search bar. svn path=/trunk/; revision=6522
* you shouldn't use an integer to set the flag. You should use a string, andNot Zed2000-11-073-19/+33
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-06 Not Zed <NotZed@HelixCode.com> * filter-driver.c (do_flag): you shouldn't use an integer to set the flag. You should use a string, and look it up, because the flag bits might change. (filter_driver_filter_message): Can som e one PLEASE STOP INDENTING THE CODE. Even if i have to come over the and beat it into you. YOU DONT INDENT CODE ONCE ITS BEEN CHECKED IN TO CVS, otherwise you SCREW UP THE DIFF's. Can't you please please learn this? (filter_driver_log): Fixes for api changes to mime_message. 2000-11-05 Not Zed <NotZed@HelixCode.com> * filter-message-search.c (get_sent_date): Fix for date change api. No longer need to encode/decode the date, after its been encoded/ecoded already. (get_received_date): Likewise. svn path=/trunk/; revision=6477
* Fixed the argument comment. Removed an old enum that's not used here.Christopher James Lahey2000-11-072-9/+9
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.h: Fixed the argument comment. Removed an old enum that's not used here. svn path=/trunk/; revision=6457
* Added e-search-bar.c and e-search-bar.h.Christopher James Lahey2000-11-074-0/+393
| | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-search-bar.c and e-search-bar.h. * e-search-bar.c, e-search-bar.h: Moved this from e-addressbook-search. svn path=/trunk/; revision=6454
* Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a moreJeffrey Stedfast2000-11-031-2/+2
| | | | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more user-friendly filter name in the log file. svn path=/trunk/; revision=6359
* Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a moreJeffrey Stedfast2000-11-022-1/+3
| | | | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. (filter_driver_filter_message): Use a more user-friendly filter name in the log file. svn path=/trunk/; revision=6347
* Fix for when 'desc' is NULL.Jeffrey Stedfast2000-11-022-4/+12
| | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_log): Fix for when 'desc' is NULL. svn path=/trunk/; revision=6345
* Use filter_driver_log() where appropriate. (do_copy): Use the service urlJeffrey Stedfast2000-11-023-50/+106
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Use filter_driver_log() where appropriate. (do_copy): Use the service url for the path rather than the folder->full_name because that'll only get you a "/mbox" which is entirely useless. Replace occurences of report_status with filter_driver_log. (do_move): Same. (report_status): Don't use this for logging anymore, use only for reporting the status back to the caller. (filter_driver_log): Renamed from filter_driver_status_log. Now ONLY handles file logging and is for INTERNAL USE ONLY. (do_flag): Replace occurences of report_status with filter_driver_log. (do_score): Same. (do_colour): Same. (do_stop): Same. svn path=/trunk/; revision=6340
* Check to make sure the user has entered a valid date.Jeffrey Stedfast2000-11-022-189/+223
| | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-datespec.c (validate): Check to make sure the user has entered a valid date. svn path=/trunk/; revision=6324
* Updated to allow the user to select "sounds like" or "does not sound like"Jeffrey Stedfast2000-11-014-6/+149
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to select "sounds like" or "does not sound like" (uses header-soundex). * filter-message-search.c (header_matches): Oops. Should be using !g_strncasecmp. This should fix it so this filter match works right. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): New filter callback for soundex matching (yes, it's probably a bloated feature but hey, it was fun to code) svn path=/trunk/; revision=6302
* Override the default validate function to only return TRUE if a folder hasJeffrey Stedfast2000-11-013-92/+183
| | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filter-folder.c (validate): Override the default validate function to only return TRUE if a folder has been selected. * filter-editor.c (rule_add): Validate that all the rule parts and action parts are correctly filled in. (rule_edit): Same. svn path=/trunk/; revision=6300
* Updated to add an action to set message flags.Jeffrey Stedfast2000-11-017-8/+111
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to add an action to set message flags. * filter-driver.c (do_flag): New callback to set message info flags. * filter-element.c (filter_element_set_data): New convenience function to set the data on a FilterElement. * filter-url.c (get_widget): Set the sources list to point to the FilterElement data. svn path=/trunk/; revision=6298
* Do not pad around the Name hbox; its parent already has spacing. Do notFederico Mena Quintero2000-11-012-4/+11
| | | | | | | | | | | 2000-10-31 Federico Mena Quintero <federico@helixcode.com> * filter-rule.c (get_widget): Do not pad around the Name hbox; its parent already has spacing. Do not pad around the inframe's children; the inframe already has spacing. svn path=/trunk/; revision=6294
* If a regex option is selected, change the FilterElement data to TRUE elseJeffrey Stedfast2000-10-319-15/+139
| | | | | | | | | | | | | | | | | | | | | | 2000-10-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-option.c (option_activate): If a regex option is selected, change the FilterElement data to TRUE else set to FALSE. * filter-rule.c (more_parts): Validate the previously entered FilterPart before allowing the user to add a new FilterPart. * filter-part.c (filter_part_validate): New convenience function to validate an entire FilterPart expression. * filter-input.c (validate): Validate the entry text if it contains a regular expression. * filter-element.[c,h]: New virtual function to validate the contents of the FilterElement (useful for regex and sexp). (filter_element_validate): You get the idea... svn path=/trunk/; revision=6285
* Pure formatting changes, no actual code changes. Since I know I'm going toJeffrey Stedfast2000-10-316-259/+316
| | | | | | | | | | | | | | | | 2000-10-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-input.c: * filter-option.c: * filter-part.c: Pure formatting changes, no actual code changes. Since I know I'm going to get flamed for this, I'm sorry but I'll probably have to modify code in these files and it's easier if the code is quickly readable by me. * filter-rule.c (get_widget): Set the "remove" button insensitive for <= 1 instead of == 1. svn path=/trunk/; revision=6283
* Copy the message to the default folder if it wasn't marked as deleted.Jeffrey Stedfast2000-10-292-1/+6
| | | | | | | | | 2000-10-28 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Copy the message to the default folder if it wasn't marked as deleted. svn path=/trunk/; revision=6249
* Added header-starts-with, header-ends-with, and header-exists menu items.Jeffrey Stedfast2000-10-284-15/+264
| | | | | | | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added header-starts-with, header-ends-with, and header-exists menu items. * filter-message-search.c (header_starts_with): New callback to match the beginnings of headers. (header_ends_with): New callback to match the ends of headers. (header_exists): New callback to determine if a header exists which is useful when filtering out all those pesky bug-buddy emails! svn path=/trunk/; revision=6242
* Add header-matches expressions ("is" / "is not").Jeffrey Stedfast2000-10-284-0/+107
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Add header-matches expressions ("is" / "is not"). * filter-message-search.c (header_matches): New callback to match headers exactly (aka strcmp rather than strstr). svn path=/trunk/; revision=6240
* divide before multiple so that we don't overflow.Jacob "Ulysses" Berkman2000-10-282-2/+9
| | | | | | | | | 2000-10-27 Jacob "Ulysses" Berkman <jacob@helixcode.com> * filter-driver.c (filter_driver_filter_mbox): divide before multiple so that we don't overflow. svn path=/trunk/; revision=6235
* Fixed this to include EXTRA_GNOME_CFLAGS.Christopher James Lahey2000-10-272-0/+5
| | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Fixed this to include EXTRA_GNOME_CFLAGS. svn path=/trunk/; revision=6225
* Don't mark as deleted here, otherwise the message will have the DELETEDJeffrey Stedfast2000-10-272-2/+14
| | | | | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (do_move): Don't mark as deleted here, otherwise the message will have the DELETED flag set in the folder it's being moved to. (do_delete): Don't set the DELETED flag here either...we'll only set it at the very end of the filtering process. (filter_driver_filter_message): Set the DELETED flag after all processing is completed. svn path=/trunk/; revision=6221
* i still hate cvsDan Winship2000-10-272-0/+273
| | | | svn path=/trunk/; revision=6207
* i hate cvsDan Winship2000-10-272-273/+0
| | | | svn path=/trunk/; revision=6206
* Readded Source url stuff.Jeffrey Stedfast2000-10-267-0/+310
| | | | | | | | | | | | | | | 2000-10-26 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Readded Source url stuff. * filter-element.c (filter_element_new_type_name): Added url stuff back in. * filter-url.[c,h]: Back from the dead... * Makefile.am: Re-added filter-url.[c,h]. svn path=/trunk/; revision=6200
* Added option menu items to allow searching based on regular expressions.Jeffrey Stedfast2000-10-264-32/+183
| | | | | | | | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added option menu items to allow searching based on regular expressions. * filter-message-search.c (body_regex): New callback to match text in the body using regex. (body_contains): Modified to only match using strstr. (header_regex): New callback to match headers using regex. (header_contains): Modified to only match using strstr. svn path=/trunk/; revision=6177
* Take out the reference to "Source".Jeffrey Stedfast2000-10-252-20/+2
| | | | | | | | 2000-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Take out the reference to "Source". svn path=/trunk/; revision=6159
* Remove filter-url code.Jeffrey Stedfast2000-10-255-289/+11
| | | | | | | | | | | | | | 2000-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Remove filter-url code. * filter-url.[c,h]: What was I smoking? There's no good reason to filter on source urls as there are other ways to get the same effect. Thanks to both Zucchi and Miguel for helping me see this :-) svn path=/trunk/; revision=6158
* Fixed NULL in fprintf.Jeffrey Stedfast2000-10-252-2/+13
| | | | | | | | 2022-10-24 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: Fixed NULL in fprintf. svn path=/trunk/; revision=6150
* lots of i18n fixesDan Winship2000-10-2415-46/+103
| | | | svn path=/trunk/; revision=6143
* Set the remove button insensitive if there is only 1 action left.Jeffrey Stedfast2000-10-247-442/+583
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * filter-filter.c (less_parts): Set the remove button insensitive if there is only 1 action left. (more_parts): Set the remove button sensitive (since we now have 2 or more actions). (get_widget): If there is only 1 action, disable the remove button. * filter-rule.c (xml_encode): If there is a defined source, don't set it to "incoming", set it to whatever the source is! (less_parts): Set the remove button insensitive if there is only 1 criterion left. (more_parts): Set the remove button sensitive (since we now have 2 or more criterion). (get_widget): If there is no name for the filter then set it to "Untitled", highlight it, and grab the focus. If there is only 1 criterion, disable the remove button. * filter-editor.c, vfolder-editor.c: GUI fixes here and there as well as some consistancy fixes between them. * filter-driver.c (filter_driver_filter_mbox): Updated to send the source url to filter_driver_filter_message() (filter_driver_filter_folder): Updated to send the source url of the folder to filter_driver_filter_message() (filter_driver_filter_message): Now takes a source_url argument that represents the url of the folder the message is coming from (so that we may filter based upon that information). svn path=/trunk/; revision=6138
* Fixed these widgets to resize properly.Christopher James Lahey2000-10-242-6/+25
| | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * filter.glade: Fixed these widgets to resize properly. svn path=/trunk/; revision=6124
* Remove the "demand" source from the list.Jeffrey Stedfast2000-10-243-4/+11
| | | | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * filter-editor.c: Remove the "demand" source from the list. * filter.glade: Remove the "On Demand" option and replace it with an "Outgoing" option. svn path=/trunk/; revision=6123
* Fixed these widgets to resize properly.Christopher James Lahey2000-10-249-16/+31
| | | | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-part.c, filter-rule.c, rule-context.c, score-editor.c, vfolder-editor.c: Fixed these widgets to resize properly. svn path=/trunk/; revision=6117
* Added filter-url.[c,h].Jeffrey Stedfast2000-10-2110-131/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added filter-url.[c,h]. * filter-message-search.c (get_source): New callback to get the source url of the message being filtered. (filter_message_search): Now takes a source argument. * filter-element.c (filter_element_new_type_name): Added code to handle URL types. * filter-url.[c,h]: New filter object to handle URLs (ie in the case of filtering on source url). FIXME: find a way to populate the source combo box (including mail-config.h breaks the build in the addressbook - how does including mail-tools.h not break the build???) * filtertypes.xml: Added the source filter type and added the move-to action. * filter-driver.c (do_move): New callback, a "Copy" action should just copy the message to another location while a Move should both copy the message to a new location and delete it from the source location. (do_delete): Set the deleted flag on the message info. (filter_driver_filter_message): Now returns void as we don't care if it was copied or not in the caller functions. Also check the CamelMessageInfo being passed in - if the message has been marked as deleted prior to being filtered, then return immediately as we don't want to apply filter actions to deleted messages. svn path=/trunk/; revision=6094
* Start fetching at 1, not 0.Jeffrey Stedfast2000-10-202-17/+23
| | | | | | | | | 2000-10-19 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_folder): Start fetching at 1, not 0. svn path=/trunk/; revision=6060
* Report the percentage of file complete for the filter.Not Zed2000-10-1210-541/+801
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Not Zed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_filter_mbox): Report the percentage of file complete for the filter. 2000-10-10 Not Zed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_run): Why on earth does this code ref all these objects for? This is not right at all. (filter_driver_run): Changed source type to a string. (filter_driver_run): REmove the very weird exception copying stuff - just ref it instead. (do_score): (do_colour): (do_stop): (do_copy): (mark_forward): (do_delete): Removed bogus 'terminated' testing. This is NOT NEEDED HERE. It is tested after every rule/action, and termination only makes sense at that point. (filter_driver_filter_message): new funciton (renamed), filter only a message. (filter_driver_filter_mbox): Filter a whole mbox. (filter_driver_run): If we aren't given an info, create a simple one based on the message headers. (filter_driver_filter_message): Renamed from filter_driver_run(). (filter_driver_set_status_func): Set the status callback function. (filter_driver_set_default_folder): Set the default folder for filtering. (report_status): Internal function to report the status of a given event. (do_copy): Removed a pointless cache lookup - duh, we do it in open_folder anyway (infact, we do it in camel too!!). (filter_driver_filter_message): Removed pointless re-refing of arguments. Why would anyone think this could be any use at all? (filter_driver_filter_folder): New function to filter a whole folder. * filter-editor.c (rule_add): api fixes. (rule_edit): (rule_up): (rule_down): (set_sensitive): This didn't take into account the source, now it does. (select_source): Fix for api changes. Changed the rather generic 'number' argument to be 'source', and a string. (filter_editor_construct): Changed the 'number' to 'source', and set the string appropriately. Added a warning for one case where the glade file is out of sync. * score-editor.c (score_editor_construct): (rule_edit): (rule_delete): (rule_up): (rule_down): (set_sensitive): api fixes. * vfolder-editor.c (set_sensitive): Api fixes. (vfolder_editor_construct): (rule_edit): (vfolder_editor_construct): * rule-context.h (RCNextRuleFunc): Added a source argument. * rule-context.c (rule_context_next_rule): Added source argument. (rule_context_find_rule): Added source argument. (rule_context_get_rank_rule): Added source argument. (rule_context_get_rank_rule_with_source): Removed. (save): Fixed for changes to RCNextRuleFunc prototype. * filter-rule.h: Changed the source to be a string, removed the filter_source_t type. * filter-rule.c (filter_rule_set_source): New function to set the source of a rule. What idiot ran this code through indent? (filter_rule_find_list): Added a source argument. (filter_rule_next_list): Added a source argument. (get_widget): Fixed the wording. You dont remove search parts, you can only remove the last one. Why you even need to mention they are search 'criteria' is beyond me. Whoever added the scrolled window needs to be shot, its the single most awful GUI feature ever invented (ranks with the close button next to maximise). (xml_encode): Save source as a string (if present). (xml_decode): Likewise for loading & fixed a small memleak. (filter_rule_finalise): Free source. svn path=/trunk/; revision=5884
* Remove the stupid on-demand cb shit. (rule_context_load): And here too.Not Zed2000-10-093-21/+13
| | | | | | | | | 2000-10-06 Not Zed <NotZed@HelixCode.com> * rule-context.c (load): Remove the stupid on-demand cb shit. (rule_context_load): And here too. svn path=/trunk/; revision=5797
* Now takes an argument to specify the log file (or NULL if logging is notJeffrey Stedfast2000-09-283-2/+42
| | | | | | | | | 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Now takes an argument to specify the log file (or NULL if logging is not to be performed). svn path=/trunk/; revision=5605
* Change "$(prefix)/share" to "$(datadir)" in a few places. Problem noticedDan Winship2000-09-202-2/+7
| | | | | | by ade@freebsd.org svn path=/trunk/; revision=5508
* Modified to use more intuitive namingJeffrey Stedfast2000-09-198-605/+760
| | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Modified to use more intuitive naming * score-rule.c (xml_decode): Make sure the score is within our range (get_widget): Changed range to -3 to +3 * filter-score.c (get_widget): Changed range to -3 to +3 (xml_decode): Make sure the score is within our range * filter-rule.c (get_widget): Rearranged widgets. * filter-filter.c (get_widget): Rearranged widgets. * filter-editor.c (filter_editor_construct): Updated to allow for double-clicking on a rule to edit it. svn path=/trunk/; revision=5492
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1811-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Modified to only match text MIME parts in the message rather than theJeffrey Stedfast2000-09-142-36/+131
| | | | | | | | | | 2000-09-13 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (body_contains): Modified to only match text MIME parts in the message rather than the entire MIME message (header_contains): Added regex matching svn path=/trunk/; revision=5406
* Turn off debugging output.Dan Winship2000-09-123-4/+9
| | | | | | | * rule-context.c (d): * filter-datespec.c (d): Turn off debugging output. svn path=/trunk/; revision=5363
* We now use a "copied" variable to record whether a message was marked asJeffrey Stedfast2000-09-122-19/+29
| | | | | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: We now use a "copied" variable to record whether a message was marked as copied or not instead of trying to "guess" by looking at the folders hash table as that won't work at all anymore. (do_copy): Renamed as this is more appropriate now that it actually copies the message rather than marking it for copying later. Also fixed a logic error which prevented a message from being dumped into a folder if the fodler had been previously opened. svn path=/trunk/; revision=5350
* No longer takes a self_destruct argument.Jeffrey Stedfast2000-09-123-6/+10
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): No longer takes a self_destruct argument. svn path=/trunk/; revision=5348
* Don't freeze/thaw the default inbox here, let the caller freeze/thaw it.Jeffrey Stedfast2000-09-122-22/+20
| | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Don't freeze/thaw the default inbox here, let the caller freeze/thaw it. Don't destroy the folders hash table here, it's faster if we wait till the filter-driver is destroyed. (filter_driver_finalise): Destroy the folders hash table here (filter_driver_init): Initialize the folders hash table here svn path=/trunk/; revision=5346
* Changed "Header" to be "Message header" so it's not quite as confusingJeffrey Stedfast2000-09-122-1/+6
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed "Header" to be "Message header" so it's not quite as confusing (??) svn path=/trunk/; revision=5335
* just changed the ${subject} variable to ${word} as subject doesn't make a ↵Jeffrey Stedfast2000-09-121-3/+3
| | | | | | whole lot of sense when dealing with arbitrary headers :-) svn path=/trunk/; revision=5332
* Updated to allow the user to specify arbitrary headers.Jeffrey Stedfast2000-09-122-0/+26
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to specify arbitrary headers. svn path=/trunk/; revision=5330
* Fixed a logic error. Only mark filtered as TRUE if it was successfullyJeffrey Stedfast2000-09-102-5/+13
| | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Fixed a logic error. Only mark filtered as TRUE if it was successfully copied to another folder, this means don't mark true if the default inbox is NULL. svn path=/trunk/; revision=5289
* Erm, okay I misunderstood what camel_folder_[un]hook_event() did - weJeffrey Stedfast2000-09-103-2/+7
| | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Erm, okay I misunderstood what camel_folder_[un]hook_event() did - we don't even need this crap in the filter driver so lets take it completely out and let the caller handle this junk. svn path=/trunk/; revision=5287
* Updated to not emit the folder_changed signal when a message is appendedJeffrey Stedfast2000-09-102-5/+8
| | | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Updated to not emit the folder_changed signal when a message is appended to the default mailbox - lets leave that up to the caller so we don't queue up a bunch of these emits if the caller is downloading messages for example. svn path=/trunk/; revision=5285
* Added scoring xml stuffsJeffrey Stedfast2000-09-098-20/+398
| | | | | | | | | | | | | | | | | | | | | | 2000-09-08 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added scoring xml stuffs * Makefile.am: added filter-score.[c,h] * filter-score.[c,h]: New functions to handle the "score" filter type. * filter-element.c (filter_element_new_type_name): Added support for "score" type. * filter-driver.c (do_score): New ESExp callback for filter actions to set the score on a message. * filter-message-search.c (get_score): New ESExp callback for getting the score tag as an integer value. svn path=/trunk/; revision=5274
* Now takes a CamelMessageInfo argument in preparation for handling scoringJeffrey Stedfast2000-09-083-3/+8
| | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Now takes a CamelMessageInfo argument in preparation for handling scoring svn path=/trunk/; revision=5251
* Modified to return a boolean value specifying whether or not the messageJeffrey Stedfast2000-09-083-11/+26
| | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Modified to return a boolean value specifying whether or not the message was filtered into a folder other than the default. The default mailbox can now also be specified as NULL if the message shouldn't be appended to it in the case that it's not filtered into some other folder. svn path=/trunk/; revision=5249
* Rewrote - this shouldn't need to be an async functionJeffrey Stedfast2000-09-083-11/+11
| | | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5241
* Rewrote - this shouldn't need to be an async functionJeffrey Stedfast2000-09-083-116/+33
| | | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5236
* Bunch of unicode related changesLauris Kaplinski2000-09-089-19/+78
| | | | svn path=/trunk/; revision=5235
* Totally rewritten to filter a single message at a time instead ofJeffrey Stedfast2000-09-077-289/+525
| | | | | | | | | | | | 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Totally rewritten to filter a single message at a time instead of filtering a folder. * filter-message-search.c (filter_message_search): New convenience function for searching a message. svn path=/trunk/; revision=5224
* More UTF-8 handlingLauris Kaplinski2000-08-254-8/+22
| | | | svn path=/trunk/; revision=5032
* Set seltime.tm_isdst to -1, not daylight, because the current dst value isDan Winship2000-08-242-2/+7
| | | | | | | | * 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
* Automatically connect services when given a valid URL (should hopefully ↵Peter Williams2000-08-233-3/+34
| | | | | | disconnect, too); remove the old movemail folder correctly. svn path=/trunk/; revision=4965
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-0/+2
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* A bunch of small GUI fixes for the filter editor.Ettore Perazzoli2000-08-189-16/+51
| | | | svn path=/trunk/; revision=4866
* Filtering on demand! booyeah!Peter Williams2000-08-189-33/+197
| | | | svn path=/trunk/; revision=4864
* and the ChangeLog entries to go with itPeter Williams2000-08-161-0/+14
| | | | svn path=/trunk/; revision=4844
* Allow filtering / vfoldering based on time or datePeter Williams2000-08-166-0/+908
| | | | svn path=/trunk/; revision=4843
* Add filter.glade to EXTRA_DISTDan Winship2000-08-142-2/+3
| | | | svn path=/trunk/; revision=4812
* remove blank.xpm and check.xpm which no longer existDan Winship2000-08-142-2/+6
| | | | | | | * Makefile.am (EXTRA_DIST): remove blank.xpm and check.xpm which no longer exist svn path=/trunk/; revision=4807
* Use mail_tool_get_folder_name here too. (Hm... this directory reallyDan Winship2000-08-132-2/+9
| | | | | | | | | * 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
* Remove an '#if 0' that must have been left in accidentally, so thatDan Winship2000-08-112-2/+11
| | | | | | | | | | * 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
* Use proper accessor function instead of poking the structure.Not Zed2000-08-112-6/+6
| | | | | | | | | 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
* ChangeLog mistake.Chris Lahey2000-08-111-2/+2
| | | | svn path=/trunk/; revision=4721
* Fixed some warnings.Christopher James Lahey2000-08-115-3/+16
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * filter-driver.c, filter-driver.h, filter-folder.c, rule-context.c, vfolder-editor.c: Fixed some warnings. svn path=/trunk/; revision=4720
* Fix the infinite movemailPeter Williams2000-08-112-0/+5
| | | | svn path=/trunk/; revision=4696
* Merge with camel-async.Peter Williams2000-08-114-101/+417
| | | | svn path=/trunk/; revision=4687
* Save the results of searches till we're done. So we dont have to goNot Zed2000-08-112-37/+48
| | | | | | | | | | | | | | 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
* (rule_context_add_rule_gui): Keep track of context so it isn't freed ↵Michael Zucci2000-08-095-4/+63
| | | | | | under us. svn path=/trunk/; revision=4645
* Make the filter dialog display only the name of the folder, not theEttore Perazzoli2000-08-042-18/+21
| | | | | | whole URI. svn path=/trunk/; revision=4516
* Oops, create a vfolder_rule when we add a new one.Not Zed2000-07-312-1/+4
| | | | | | | | | 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