aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-druid.c
Commit message (Collapse)AuthorAgeFilesLines
* ** Almost a total rewrite of every file, except for filter-driver whichNot Zed2000-07-301-728/+0
| | | | | | | | | | | 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
* add a "string" typeDan Winship2000-07-101-2/+2
| | | | | | | | | | | | | | * filter-xml.[ch]: add a "string" type * filtertype.xml, vfoldertypes.xml: Use type="string" rather than "folder" for subject/body matching. * filter-arg-types.c: Update some strings for "text" input. Fix some warnings (including one that pointed out a real bug). * filter-arg.c, filter-druid.c, filter-format.c: fix warnings svn path=/trunk/; revision=4025
* remove some non-error case debugging messages.Dan Winship2000-07-061-22/+0
| | | | | | * remove some non-error case debugging messages. svn path=/trunk/; revision=3904
* Added a #include <gnome-xml/parser.h> as this was needed (since we usedJeffrey Stedfast2000-06-271-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Jeffrey Stedfast <fejj@helixcode.com> * filter-editor.c: Added a #include <gnome-xml/parser.h> as this was needed (since we used the xml parser...) (druid_dialogue_clicked): Do we want to use struct filter_option or do we instead want to use struct filter_optionrule as we had before? Since the function we pass the data to expects filter_option, I suspect that that is what we want. * filter-format.h (filter_description_html_write): Renamed from description_html_write in order to match function name in filter-format.c * filter-druid.c (option_name_changed): Fixed a memory leak (Free'd a filter description list). * filter-arg-types.c (arg_folder_edit_values): Free'd GList data in argin->values. * filter-driver.c (filter_driver_set_rules): Added code to free an xmlDoc and some other data. * filter-arg.h: Add prototypes for filter_arg_write_html() and filter_arg_write_text(); * filter-arg-types.c: Lets see if we can't get rid of some of these warnings... (use some casts to make warnings go away) (arg_address_edit_value): Lets make sure that ad exists before looking at member data. svn path=/trunk/; revision=3741
* use stock pixmap buttonsJacob Berkman2000-06-101-21/+36
| | | | | | | | | | | 2000-06-09 Jacob Berkman <jacob@helixcode.com> * filter-editor.c (add_or_edit): use stock pixmap buttons * filter-druid.c (build_druid): remove the border on the notebook, put the html widget in a scroll frame, and add some padding svn path=/trunk/; revision=3495
* Updated for the GtkHTML API changes. Also fixed some compilerEttore Perazzoli2000-05-211-2/+3
| | | | | | warnings here and there. svn path=/trunk/; revision=3145
* Fix some html formatting.NotZed2000-05-171-3/+3
| | | | | | | | | | | | | | | 2000-05-17 NotZed <NotZed@HelixCode.com> * filter-druid.c: Fix some html formatting. 2000-05-16 NotZed <NotZed@HelixCode.com> * filter-driver.c (filter_driver_run): Delete all processed messages. This is probably going to slow it down a bit. (filter_driver_run): Close folders before destroying them *sigh*. (open_folder): Actually open the folder. Doh. svn path=/trunk/; revision=3101
* Output 'and' bits between the rules.NotZed2000-03-051-0/+5
| | | | | | | | | 2000-03-04 NotZed <NotZed@HelixCode.com> * filter-druid.c (html_write_options): Output 'and' bits between the rules. svn path=/trunk/; revision=2056
* Disconnect the list signal, so we dont get spurious emits during destroy.NotZed2000-03-031-16/+26
| | | | | | | | | | | | | | 2000-03-02 NotZed <NotZed@HelixCode.com> * filter-druid.c (object_destroy): Disconnect the list signal, so we dont get spurious emits during destroy. (arg_changed): Callback to update filter arg asynchronously. (arg_link_clicked): Edit the value non-modally. * filter-arg.c (filter_arg_edit_values_1): Changed to use non-modal interface. svn path=/trunk/; revision=2015
* Removed unused header.NotZed2000-02-291-1/+0
| | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * filter-druid.c: Removed unused header. svn path=/trunk/; revision=1982
* Functions for memory management.NotZed2000-02-251-1/+33
| | | | | | | | | | | | | | | | | 2000-02-24 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_description_free): (filter_load_ruleset_free): (filter_load_optionset_free): Functions for memory management. * filter-arg.c (filter_arg_copy): Copy the values of one arg into another. * filter-druid.c: (option_name_changed): Update the option's description as the user enters it in. svn path=/trunk/; revision=1929
* New widget, a dialogue which uses filter-druid to present the variousNotZed2000-02-241-244/+85
| | | | | | | | | | | | 2000-02-24 NotZed <NotZed@HelixCode.com> * filter-editor.c: New widget, a dialogue which uses filter-druid to present the various editing views. * filter-druid.c: Changed to just being a notebook with no tabs, rather than a full druid (no next/prev/etc buttons). svn path=/trunk/; revision=1914
* New utility functions for working with the internal rule format.NotZed2000-02-221-0/+848
2000-02-22 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_clone_optionrule): (filter_clone_optionrule_free): (filter_optionrule_new_from_rule): New utility functions for working with the internal rule format. * filter-arg.[ch]: Added new callbacks for editing a single value, and a new editor which shows all items in a list, and allows you to edit them via the single-edit method. This needs some cleanup for some unused/unusable virtual methods (edit_values, write_html?). * Makefile: Add the druid for build. * filter-druid.c: A 'druid' widget for editing a single filter rule. svn path=/trunk/; revision=1901