| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-26 Jeffrey Stedfast <fejj@ximian.com>
* filter-file.c (xml_decode): Loop over child nodes here too in
order to not be affected by libxml2 crack.
* filter-source.c (xml_decode): Fixed to disreguard libxml2 crack.
(get_widget): Use strcmp instead of e_url_equal().
svn path=/trunk/; revision=20523
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
* 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=18635
|
|
|
|
| |
svn path=/trunk/; revision=18578
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-filter.c: Ported.
* filter-source.c (get_widget): Don't use e_utf8_to_gtk_string.
* filter-option.c (xml_create): Don't use e_utf8_xml1_decode.
* filter-input.c (xml_encode): Don't use e_utf8_xml1_encode.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
* filter-file.c (xml_encode): Don't use e_utf8_xml1_encode shit.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
svn path=/trunk/; revision=18570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
* filter-element.c: Ported to GObject.
* filter-input.c: Same.
* filter-code.c: This too.
* filter-colour.c: And this.
* filter-datespec.c: You guessed it.
* filter-file.c: And again...
svn path=/trunk/; revision=18493
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
* filter-int.[c,h]: Use GtkType (I only changed this one because I
turned on debugging for a bit).
* filter-file.c (validate): Fix the strcmp logic a bit, I had it
the exact opposite of what I really wanted. Oops :-)
svn path=/trunk/; revision=17586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
* filter-file.c (validate): Do some minimalistic validation of
command-lines (ie, make sure it isn't an empty string).
* filtertypes.xml: s/shell-exec/shell/ (for the action) and pass
"/bin/sh" "-c" as the first 2 arguments. For the shell-exec
*rule*, change the name to "pipe-message" and add the "/bin/sh"
"-c" arguments too.
svn path=/trunk/; revision=17584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07-08 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Make the sound type for (play-sound ) a "file"
type rather than "string" since users will want to use a filesel
to select it most likely. Fixes bug #26921.
* filter-file.c (validate): If the type is "file" check that it is
a valid file, otheriwse if it is a command-line just ignore it for
now.
* filter-element.c (filter_element_new_type_name): A filter type
of "file" should also use the filter-file object.
svn path=/trunk/; revision=17385
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-16 Jeffrey Stedfast <fejj@ximian.com>
* vfoldertypes.xml: Added a label definition.
* filtertypes.xml: Added a label definition.
* filter-label.c: New filter widget for labels.
* filter-element.c (filter_element_new_type_name): Add support for
the new label widget.
* filter-int.c (format_sexp): Fixed a memory leak.
svn path=/trunk/; revision=16936
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|