| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
| |
Use GObject's marshalers whenever possible.
svn path=/trunk/; revision=34324
|
|
|
|
| |
svn path=/trunk/; revision=34160
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
|
|
|
|
|
| |
2007-08-13 Ross Burton <ross@openedhand.com>
* rule-context.c:
Remove unused include.
svn path=/trunk/; revision=33997
|
|
|
|
| |
svn path=/trunk/; revision=33650
|
|
|
|
| |
svn path=/trunk/; revision=33624
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
* mail/em-migrate.c (emm_setup_initial):
* shell/e-component-registry.c (query_components):
* shell/e-shell-settings-dialog.c (load_pages):
* shell/e-shell-window-commands.c (command_quick_reference):
* tools/killev.c (main):
Use g_get_language_names() instead of gnome_i18n_get_language_list().
* e-util/e-util.c: Remove e_gettext().
* e-util/Makefile.am: Remove e-i18n.h.
svn path=/trunk/; revision=33319
|
|
|
|
|
|
|
|
|
|
| |
2005-12-17 Tor Lillqvist <tml@novell.com>
* filter-file.c
* rule-context.c: Use libedataserver's e_xml_parse_file(). Use
gstdio wrappers. Use g_file_test().
svn path=/trunk/; revision=30834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
|
|
|
|
|
|
|
|
|
|
| |
2005-05-16 Not Zed <NotZed@Ximian.com>
* moved e-error to e-util
* Makefile.am: fix error i18n extraction
svn path=/trunk/; revision=29364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mailer specific filter stuff into mail/*.
* filter-element.c (copy_value): implement for base types.
* filter-element.c (filter_element_copy_value): do this as a
virtual method.
* filter.glade: moved the vfolder stuff to mail/
* libfilter-i18n.h: removed, moved to mailer.
* filter-errors.xml: moved the vfolder/filtering errors to the
mail error file.
* Makefile.am (EXTRA_DIST): moved *types.xml to mail.
(INCLUDES): removed a bunch of mail dependencies.
* filter-*.[ch], vfolder-*.[ch]: Moved all mail related filter and
vfolder stuff to mail directory.
* score-*.[ch]: Removed all of it.
* vfolder-context.c (vfolder_new_element): and for vfolders.
* filter-context.c (filter_new_element): implement for filter
element types.
* rule-context.c (rc_new_element): replacement for old
filter_element_new_type_name. only has the basics.
* filter-part.c (filter_part_xml_create): take a rule context
as an argument & and look up the element name off the context.
* rule-context.c (rule_context_new_element): new virtual method to
get an element for a given name.
* filter-element.c (filter_element_new_type_name): removed.
svn path=/trunk/; revision=26379
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-12 Not Zed <NotZed@Ximian.com>
* filter-rule.c (xml_decode): load threading option if threading
enabled.
(xml_encode): write out threading setting.
(rule_copy): copy threading option.
(rule_eq): compare threading.
(build_code): build the match-threads stuff if set.
(fr_grouping_changed): insead of the match_all match_any activate
clalbacks.
(fr_threading_changed): handle threading option menu
* rule-context.c (rule_context_init): set capabilities flags.
* vfolder-context.c (vfolder_context_init): set capabilities flags
to include threading.
* rule-context.h: added a capabilities flag, grouping and
threading capabilities. Sort of a hack to workaround not being
able to put grouping or threading into rules.
* filter-rule.h: added an option for threading as well as
grouping.
svn path=/trunk/; revision=25877
|
|
|
|
|
|
|
|
|
|
| |
2004-04-28 Not Zed <NotZed@Ximian.com>
* filter-option.c (filter_option_add): fix a warning.
** Changed error messages to use EError.
svn path=/trunk/; revision=25651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-15 Rodney Dawes <dobey@ximian.com>
* filter-datespec.c (validate):
(button_clicked): Hide the separators on these dialogs
* filter-editor.c (filter_editor_new): Re-pack the rule_editor widget
in here, and get rid of the GtkFrame-related code
* filter-file.c (validate): Hide the separators on these dialogs
* filter-filter.c (get_widget): Get rid of the GtkFrame, and relayout
the widgets to be HIG-compliant
* filter-folder.c (validate): Hide the separator on this dialog
* filter-input.c (validate): Hide the separator on this dialog
* filter-part.c (main): Hide the separator on this dialog
* filter-rule.c (validate): Hide the separator on this dialog
(get_widget): Get rid of the GtkFrame, and relayout the widgets to be
HIG-compliant
* filter.glade: Make the widget layouts here be HIG-compliant
* rule-context.c (new_rule_response):
(rule_context_add_rule_gui): Hide the separators on these dialogs
* rule-editor.c (rule_editor_new): Get rid of the GtkFrame-related code
(add_editor_response): Hide the dialog separator here
(rule_add): Hide the dialog separator here
(edit_editor_response): Hide the dialog separator here
(rule_edit): Hide the dialog separator here
(rule_editor_construct): Remove the rule_editor repacking code
Set the dialog vbox's border width to 12
Set the mnemonic for the filter label here
Hide the dialog separator on the filter editor dialog
* vfolder-editor.c (vfolder_editor_new): Re-pack the appropriate
editor widget in here
Get rid of the GtkFrame-related code
* vfolder-rule.c (validate): Hide the dialog separators here
svn path=/trunk/; revision=25083
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 Not Zed <NotZed@Ximian.com>
* rule-context.c (revert): load from the just-loaded 'userdoc'
rather than rc->user.
(rule_context_finalise): remove user and system xmldoc files.
(load): make rc->system and rc->user locals systemdoc userdoc, and
free them immediately.
svn path=/trunk/; revision=24321
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Not Zed <NotZed@Ximian.com>
** See bug #47751.
* rule-editor.c (add_editor_response, edit_editor_response)
(rule_edit, rule_add, rule_editor_construct, editor_response):
* rule-context.c (new_rule_response, rule_context_add_rule_gui):
* filter-datespec.c (button_clicked): RESPONSE_REJECT/ACCEPT ->
RESPONSE_CANCEL/OK
svn path=/trunk/; revision=24082
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-16 Jeremy Katz <katzj@redhat.com>
* rule-context.c (rule_context_add_part_set): type should be a GType.
(rule_context_add_rule_set): Likewise.
* rule-context.h: Update prototypes. Use GType instead of int for
type in _part_set_map and _rule_set_map.
svn path=/trunk/; revision=22593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-15 Not Zed <NotZed@Ximian.com>
** See Natzilla task #47524
* filter-rule.h (FilterRule): add a system bit, for rules that
shouldn't be edited/saved.
* rule-context.c (load): check for ruleset maps in the system
file, and if they exist, load in as system rules.
(save): ignore system rules if they exist.
* searchtypes.xml: Added a search-specific types folder. Also
contains system searches that cannot be deleted.
svn path=/trunk/; revision=22581
|
|
|
|
|
|
|
|
| |
2003-06-11 Mike Kestner <mkestner@ximian.com>
* rule-context.c (load): stat the user file before parsing.
svn path=/trunk/; revision=21408
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-24 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #41578.
* rule-editor.c (rule_move): Pass re->source instead of
re->current->source to rule_context_get_rank_rule(). Also updated
to pass re->source to rule_context_rank_rule().
(rule_editor_play_undo): Updated to pass re->source to
rule_context_rank_rule().
* rule-context.c (rule_context_rank_rule): Now takes a 'source'
argument rather than using rule->source (vfolder editor lists
rules of all sources, not just same-source rules).
(revert): Pass frule->source/part->source to
rule_context_rank_rule() - might not be right but should preserve
the prior behaviour at least.
svn path=/trunk/; revision=21006
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Not Zed <NotZed@Ximian.com>
* rule-context.c (new_rule_response): use the same code as in
filter-rule to enforce unique names for all rules/vfolders.
svn path=/trunk/; revision=20332
|
|
|
|
|
|
|
|
|
| |
2003-03-11 Not Zed <NotZed@Ximian.com>
* rule-context.c (revert): go to the proper level of child node
before looking for rule sets, fix for #39165 to make 'cancel' work.
svn path=/trunk/; revision=20230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-07 Jeffrey Stedfast <fejj@ximian.com>
* filter-editor.c (filter_editor_new): Use g_object_new()
instead of gtk_type_new().
* vfolder-editor.c (vfolder_editor_new): Use g_object_new()
instead of gtk_type_new().
* score-editor.c (score_editor_new): Use g_object_new() instead of
gtk_type_new().
* rule-editor.c (rule_editor_new): Use g_object_new() instead of
gtk_type_new().
(rule_add): Use gtk_window_set_resizable() instead of the
deprecated gtk_window_set_policy().
(rule_edit): Same here.
(rule_editor_construct): Here too.
* rule-context.c (rule_context_add_rule_gui): Use
gtk_window_set_resizable() instead of the deprecated
gtk_window_set_policy().
svn path=/trunk/; revision=19847
|
|
|
|
|
|
|
|
| |
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (save): Back to using e_xml_save_file().
svn path=/trunk/; revision=19483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rule-editor.c (rule_add): Change dialog from OK/Cancel to
Cancel/OK to match HIG.
(rule_edit): Likewise.
(rule_editor_construct): Likewise.
* rule-context.c (rule_context_add_rule_gui): Change dialog from
OK/Cancel to Cancel/OK to match HIG.
* filter-datespec.c (button_clicked): Change dialog from OK/Cancel
to Cancel/OK to match HIG.
svn path=/trunk/; revision=19470
|
|
|
|
|
|
|
|
|
| |
2003-01-02 Jeffrey Stedfast <fejj@ximian.com>
Fixed to build with -DG_DISABLE_DEPRECATED and
-DGTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=19202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Not Zed <NotZed@Ximian.com>
* filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS ->
_GET_CLASS
* rule-context.c (rule_context_save): RULE_CONTEXT_CLASS ->
RULE_CONTEXT_GET_CLASS
(rule_context_revert): "
* *.[ch]: Ran fix.sh over all files.
* rule-editor.c (rule_add): widget:set_parent ->
window:set_transient_for
(editor_response): renamed from editor_clicked, handle gtk dialog
response codes.
(rule_edit): connect to response rather than clicked.
(rule_editor_construct): Setup a text column in the tree view.
Not sure if this can be handled via glade.
svn path=/trunk/; revision=18922
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-13 Not Zed <NotZed@Ximian.com>
* rule-context.c (load): Get the root node properly.
* rule-editor.c (rule_add): cast g_object_weak_ref
(rule_edit): "
* all: xml2 node change - childs->children. Also, ignore 'text'
nodes while scanning tree.
* rule-context.h: gnome-xml->libxml.
* filter-element.h: gnome-xml->libxml
svn path=/trunk/; revision=18732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c (validate): Use a GtkDialog instead of a
GnomeDialog for reporting errors.
* rule-editor.c (rule_add): Use a GtkDialog instead of
GnomeDialog.
(rule_edit): Same.
(add_editor_response): Use a GtkMessageDialog for the error
reporting instead of a GnomeDialog.
(edit_editor_response): Same.
* rule-context.c (rule_context_add_rule_gui): Use a GtkDialog
instead of a GnomeDialog.
* filter-rule.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-input.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-folder.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-file.c (validate): Use GtkDialog instead of GnomeDialog
here.
* rule-editor.c: Subclass GtkDialog instead of GnomeDialog.
* filter-datespec.c (validate): Use GtkDialog instead of
GnomeDialog.
(button_clicked): Same.
svn path=/trunk/; revision=18651
|
|
|
|
| |
svn path=/trunk/; revision=18584
|
|
|
|
| |
svn path=/trunk/; revision=18582
|
|
|
|
|
|
|
|
| |
2002-11-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c: Ported.
svn path=/trunk/; revision=18563
|
|
|
|
|
|
|
|
|
|
| |
2002-11-02 Jeffrey Stedfast <fejj@ximian.com>
* filter-context.c: Ported this too.
* rule-context.c: Ported to glib2/GObject.
svn path=/trunk/; revision=18502
|
|
|
|
|
|
|
|
| |
2002-11-02 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c: Ported to glib2/GObject.
svn path=/trunk/; revision=18501
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (save): Don't need to save temp/backup files
anymore, e_xml_save_file() now handles this for us (well, at least
the saving of temp files). I'm not sure we need a backup file
anymore now that we can depend on e_xml_save_file() to "Just Work"
svn path=/trunk/; revision=17727
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (save): Use e_xml_save_file().
(xml_doc_save): Removed this code and added it to gal so that
e-table and all other parts of evolution and so forth could use
it.
svn path=/trunk/; revision=17720
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-05 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (xml_doc_save): New internal function to replace
xmlSaveFile. Does proper error checking and so forth to ensure
that the resulting file does not ever get truncated.
(save): Cal xml_doc_save rather than xmlSaveFile. Fixes bug
#25980.
svn path=/trunk/; revision=17703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* filter-int.c (xml_encode):
(xml_decode): Handle encoding/decoding with a type name, in a
manner compatible with the score/label elemtns.
(filter_int_new_type): New constructor to create a generic 'int'
type.
* filter-score.c: Removed. Now relies on using a filter-int with
appropriate settings.
* filter-label.[ch]: Now inherits from filter-int.
* rule-context.c (rule_context_revert): New method to revert a
filter context back to a user-file's definition.
(revert): implementation.
* filter-rule.h: Added new virtual method _eq and wrapper, and
fixed all subclasses to implement it.
* filter-element.h: Added new virtual method _eq and wrapper.
Fixed all subclasses to implement it.
svn path=/trunk/; revision=17448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=14215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2001-08-15 Jeffrey Stedfast <fejj@ximian.com>
* filter.glade: Added key accelerators.
svn path=/trunk/; revision=12157
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
*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
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* filter-colour.c, filter-datespec.c, filter-folder.c,
filter-input.c, filter-option.c, filter-rule.c, filter-score.c,
filter-source.c, score-rule.c (xml_decode): Plug memory leaks.
* rule-context.c (rule_context_finalise): Implement. Free stuff.
* filter-element.h: #include <gnome-xml/xmlmemory.h> here for xmlFree
* filter-filter.c, filter-part.c: Remove xmlmemory.h #include
svn path=/trunk/; revision=9451
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Fix headers. Remove unneccesary ones and replace
with more finegrained ones where needed.
svn path=/trunk/; revision=9028
|
|
|
|
|
|
|
|
|
| |
2001-03-21 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (new_rule_clicked): Validate the rule before
closing.
svn path=/trunk/; revision=8879
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* rule-context.c (d):
* filter-datespec.c (d): Turn off debugging output.
svn path=/trunk/; revision=5363
|
|
|
|
| |
svn path=/trunk/; revision=4866
|
|
|
|
| |
svn path=/trunk/; revision=4864
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
under us.
svn path=/trunk/; revision=4645
|
|
|
|
|
|
|
|
|
| |
2000-08-01 Not Zed <NotZed@HelixCode.com>
* rule-context.c (load): If there are no user rules, dont bomb
out.
svn path=/trunk/; revision=4424
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-31 Not Zed <NotZed@HelixCode.com>
* filter-input.c (filter_input_set_value): Set value of a simple
type to a new string.
* filter-option.c (filter_option_set_current): New function to set
the current value of an option.
* filter-rule.c (filter_rule_find_list): New function to find a
rule in a list, by name.
(filter_rule_set_name): Let you set the name of a rule.
* rule-context.c (rule_context_find_rule): Find a rule by name.
(rule_context_create_part): Helper to find and clone a part by
name.
* filter-folder.c (button_clicked): Fix warning.
* filter.glade: Add new widgets for vfolder rule editor.
* vfolder-context.c (vfolder_context_init): Changed to use vfolder
rule as the rule type.
* vfolder-rule.c: New class to encode extra information required
for vfolder rules.
svn path=/trunk/; revision=4421
|
|
2000-07-30 Not Zed <NotZed@HelixCode.com>
** Almost a total rewrite of every file, except for filter-driver
which just had minor updates.
The rule format has changed.
svn path=/trunk/; revision=4418
|