Commit Graph

566 Commits

Author SHA1 Message Date
42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
0169e6a289 Hide proper widgets from filter.glade for searches 2009-06-30 18:28:05 +02:00
67159043da Use G_BEGIN_DECLS / G_END_DECLS macros. 2009-06-18 12:56:51 -04:00
9271d4e8e4 Remove a horrible hack and stuff the localizable strings into if-zero-ed block 2009-06-03 19:26:24 +02:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
16c8fefe96 Fix compiler warnings in filter. 2009-05-25 23:21:22 -04:00
634b906db0 Install filter/ headers to filter/ for Anjal's usage. 2009-05-22 17:43:57 +05:30
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
d523f10dfe Use Behdad's brilliant git.mk to generate .gitignore files. 2009-05-02 11:37:10 -04:00
c868ace2e9 Fix filter breakage after deprecated Gtk+ symbols removal
** Fix for bug #572348

	* filter/filter-option.c: (combobox_changed), (get_widget):
	* mail/em-filter-rule.c: (part_combobox_changed):
	* mail/em-filter-source-element.c: (source_changed):
	Fix breakage of filter options.
2009-04-28 16:31:45 +02:00
8a072ffc7c GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
2009-04-24 11:45:21 +02:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
e29a17618e Add cast to avoid warning.
2009-01-11  Tor Lillqvist  <tml@novell.com>

	* filter-option.c (get_dynamic_options): Add cast to avoid
	warning.


svn path=/trunk/; revision=37040
2009-01-11 20:09:36 +00:00
dab08c513e ** Bug #567244
2009-01-11  Tor Lillqvist  <tml@novell.com>

	** Bug #567244

	* filter-option.c (get_dynamic_options): For portability, use
	<gmodule.h> API instead of <dlfcn.h> API.


svn path=/trunk/; revision=37029
2009-01-10 22:21:47 +00:00
65e57aa9bd ** Fix for bug #567031
2009-01-08  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #567031

	* rule-editor.c: (rule_editor_new): Hide also label of the combo.


svn path=/trunk/; revision=37017
2009-01-08 15:55:09 +00:00
37362c7b25 ** Fix for bug #339879
2009-01-08  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #339879

	* filter/filter-code.h: (filter_code_new):
	* filter/filter-code.c: (filter_code_new), (build_code):
	* filter/rule-context.c: (new_element):
	Have two types of code expression, one "code", which adds also
	a "match-all" into the expression, and a "rawcode" without it.

	* addressbook/gui/widgets/addresstypes.xml: Use "rawcode" instead of "code"
	to have not added a "match-all" into the expression.


svn path=/trunk/; revision=37014
2009-01-08 11:09:02 +00:00
7365be40fe ** Part of fix for bug #563669
2008-12-15  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #563669

	* mail/em-account-editor.c: (emae_option_checkspin):
	* filter/filter-int.c: (get_widget):
	* calendar/gui/dialogs/recurrence-page.c: (make_ending_count_special):
	* calendar/conduits/todo/todo-conduit.c: (e_todo_gui_new):
	Use zero GtkSpinButton's PageSize, as Gtk+ requires.


svn path=/trunk/; revision=36892
2008-12-15 11:46:53 +00:00
65145381a6 ** Fix for bug #563870
2008-12-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563870

	* e-util/e-util-labels.h: (e_util_labels_get_filter_options):
	* e-util/e-util-labels.c: (e_util_labels_get_filter_options):
	New helper function to be used in FilterOption.

	* filter/Makefile.am:
	* filter/filter-label.h:
	* filter/filter-label.c: Drop, not used anywhere.
	* filter/filter-element.c:
	* filter/rule-context.c: Remove dropped include and code.

	* filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget):
	Evaluate dynamic options even on create, to have them available for
	saved searches even before the widget itself is shown.

	* mail/vfoldertypes.xml:
	* mail/filtertypes.xml:
	* mail/searchtypes.xml: Use dynamic filter option.
	* mail/message-list.c: Drop unused header include.


svn path=/trunk/; revision=36863
2008-12-10 11:05:01 +00:00
14ed95aaaf ** Fix for bug #563669
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563669

	* addressbook/gui/component/ldap-config.glade:
	* addressbook/printing/e-contact-print.glade:
	* mail/mail-config.glade:
	* filter/filter.glade:
	* widgets/misc/e-send-options.glade:
	* calendar/gui/dialogs/recurrence-page.glade:
	* calendar/gui/dialogs/alarm-dialog.glade:
	* calendar/gui/dialogs/event-page.glade:
	* calendar/gui/dialogs/task-details-page.glade:
	* calendar/gui/dialogs/cal-prefs-dialog.glade:
	* calendar/gui/alarm-notify/alarm-notify.glade:
	* calendar/gui/goto-dialog.glade:
	Use zero GtkSpinButton's PageSize, as Gtk+ requires.


svn path=/trunk/; revision=36855
2008-12-09 12:53:32 +00:00
7b221ebc07 ** Fix for bug #332629
2008-12-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #332629

	* filter/filter-option.h: (struct _filter_option),
	(struct _FilterOption), (filter_option_add):
	* filter/filter-option.c: (filter_option_init), (filter_option_finalise),
	(filter_option_add), (xml_create), (get_widget), (clone):
	Be able to define optionlist with dynamically created list of options.

	* filter/filter-label.c: (fill_options): Adapt.

	* addressbook/gui/widgets/addresstypes.xml:
	* calendar/gui/caltypes.xml:
	* calendar/gui/memotypes.xml:
	* calendar/gui/tasktypes.xml:
	Use dynamically created list of categories in the option's widget.


svn path=/trunk/; revision=36836
2008-12-05 19:20:28 +00:00
bbbcb08af0 ** Fix for bug #503898
2008-10-17  Matthew Barnes  <mbarnes@redhat.com>

        ** Fix for bug #503898

        * filter-rule.c: (get_widget): s/criteria/condition/

svn path=/trunk/; revision=36637
2008-10-17 08:51:33 +00:00
e1ed13a4b3 ** Fix for bug #554566
2008-10-06  Lucian Langa <lucilanga@gnome.org>

** Fix for bug #554566

* rule-editor.c: (rule_editor_class_init), (rule_edit), (rule_top),
(rule_up), (rule_down), (rule_bottom), (cursor_changed)
(update_selected_rule): new function to update current selected
rule

svn path=/trunk/; revision=36569
2008-10-06 09:59:41 +00:00
3b318d5cbf Change License from GPL to LGPL.
svn path=/trunk/; revision=36520
2008-10-01 09:24:41 +00:00
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
dc4967ab61 License change from GPL to LGPL
svn path=/trunk/; revision=36448
2008-09-25 10:03:08 +00:00
044925165f License changes from GPL to LGPL
svn path=/trunk/; revision=36440
2008-09-24 09:12:38 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
14fa5c8a8c Change License from GPL to LGPL. 2nd batch.
More changes to come.

svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
1bad915150 License Changes
svn path=/trunk/; revision=36116
2008-08-27 10:33:22 +00:00
d420d5c626 Reviewed by Srinivasa Ragavan <sragavan@novell.com>
2008-07-30  Takao Fujiwara  <takao.fujiwara@sun.com>

	Reviewed by Srinivasa Ragavan <sragavan@novell.com>

	** Fix for bug #545303

	* filter-rule.c: (xml_decode): Add gettext in the xml string.


svn path=/trunk/; revision=35868
2008-07-30 14:17:12 +00:00
c5f7464467 ** Fix for bug #530388
2008-07-28  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #530388

	* filter-label.c: (filter_label_init), (filter_label_finalise),
	(fill_options), (filter_label_count), (filter_label_label),
	(filter_label_index): Make 'cache_lock' a rec mutex.
	* filter-label.c: (regen_label_options): Guard also regeneration
	of each tracked item with the rec lock, thus noone will touch
	'tracked_filters' GSList until we are fully done with it.


svn path=/trunk/; revision=35849
2008-07-28 07:25:28 +00:00
ea3b220f04 ** Fix for bug #243201
2008-07-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #243201

	* filter-rule.c: (xml_encode): Escape rule title so that can contain
	also XML entities in the file.


svn path=/trunk/; revision=35716
2008-07-03 09:28:26 +00:00
9d3c5b2a5b Patch from Maciej Piechotka <uzytkownik2@gmail.com>
which fixes bug 526262 - "untranslated strings in advanced search"

svn path=/trunk/; revision=35689
2008-06-27 17:23:45 +00:00
16a3b9e946 fixed copyright notices
svn path=/trunk/; revision=35664
2008-06-20 22:14:43 +00:00
4813d6259f ** Fix for bug #382783
2008-06-19  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #382783

	* filter/filter-rule.c: (do_grab_focus_cb), (more_parts), (get_widget):
	* mail/em-filter-rule.c: (do_grab_focus_cb), (more_parts), (get_widget):
	Grab focus of new rule part on adding and scroll to the bottom too.


svn path=/trunk/; revision=35654
2008-06-19 16:38:18 +00:00
f1cfc8c031 ** Fix for bug #201011
2008-06-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #201011

	* filter/filter-rule.h: (struct _FilterRule): New property 'enabled'
	to be able to disable filter rules.
	* filter/filter-rule.c: (filter_rule_init), (rule_eq), (xml_encode),
	(xml_decode), (rule_copy): Store/restore/use 'enabled' value.
	* filter/rule-editor.c: (add_editor_response), (rule_move), (set_source):
	Set the 'enabled' column properly.
	* filter/rule-editor.c: (rule_able_toggled), (rule_editor_treeview_new):
	Add column "Enabled" to the tree, but have it hidden by default, only
	those whom supports it can show it.

	* mail/em-filter-editor.c: (em_filter_editor_construct):
	Show Enabled column in the editor, because we support it here.
	* mail/mail-session.c: (main_get_filter_driver): Skip disabled rules.


svn path=/trunk/; revision=35620
2008-06-09 10:50:54 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
	   GTK_DISABLE_SINGLE_INCLUDES defined.  (#536637)


svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
2e763ace9a gtk_window_set_policy -> gtk_window_set_resizable + other cleanups.
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* filter-part.c: (main): gtk_window_set_policy ->
	gtk_window_set_resizable + other cleanups.

svn path=/trunk/; revision=35590
2008-06-03 20:00:15 +00:00
e99e12428d ** Fixes bug #534360
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #534360

	Migrate from deprecated GtkObject symbols to GObject equivalents.
	Touches over 150 files in all components; too many to list.


svn path=/trunk/; revision=35526
2008-05-22 17:27:48 +00:00
dd7bad0741 ** Fix for bug #211353
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* po/POTFILES.in: Added new file e-util/e-util-labels.c

	* mail/filtertypes.xml:
	* mail/vfoldertypes.xml:
	* mail/em-folder-view.c:
	* mail/em-folder-browser.c:
	* mail/em-mailer-prefs.h:
	* mail/em-mailer-prefs.c:
	* mail/mail-config.h:
	* mail/mail-config.c:
	* mail/mail-config.glade:
	* mail/message-list.c:
	Label tags are now generated based on label name when creating, except
	of first 5 labels. New menu option "New Label" in popup menu over
	message list and editing of labels has been changed in Preferences.
	Also renaming tab in Preferences for "Labels", not "Colors", and the
	tab label too.
	mail-config-label... functions was moved to e-util/e-util-labels.c/.h.
	* mail/message-list.etspec: Normalized columns has been moved by one
	when label column has been added.

	* filter/filter-option.h:
	* filter/filter-option.c: (filter_option_get_current),
	(filter_option_remove_all): New functions to be able to refill options
	even after initialization of the filter element.
	* filter/filter-label.c: Added support to notify changes on labels in runtime
	and use actual labels.

	* e-util/Makefile.am:
	* e-util/e-util-labels.h:
	* e-util/e-util-labels.c: New files to work with labels.


svn path=/trunk/; revision=34788
2008-01-10 11:19:37 +00:00
4fcb268547 Removing cyclic dependency caused by mail_config_get_labels.
2007-12-17  Srinivasa Ragavan  <sragavan@novell.com>

	* filter-label.c: (filter_label_count), (filter_label_label),
	(filter_label_index), (xml_create): Removing cyclic dependency caused 
	by mail_config_get_labels.



svn path=/trunk/; revision=34717
2007-12-17 08:35:36 +00:00
2093e31002 ** Fix for bug #211353
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* message-list.etspec:
	* message-list.h:
	* message-list.c: Added new column to show labels.
	* filtertypes.xml:
	* vfoldertypes.xml:
	Code for label filters/search folders has been changed.
	* mail-config.glade:
	* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
	(emfv_popup_label_clear), (emfv_popup_label_set),
	(emfv_popup_labels_get_state_for_tag), (emfv_popup):
	Labels popup submenu is now shown with checkboxes so one can set
	more than one label to the message and unset only one label from
	message. There has been added new function, because of this.
	* mail-config.h:
	* mail-config.c: New "interface" functions to work with labels.
	* em-mailer-prefs.h:
	* em-mailer-prefs.c: Editing labels in tree.
	* em-folder-browser.c:
	Labels in show menu reflect changes in preferences.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* filter-label.c: Use global label's setup, not its own copy.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-popup.h:
	* e-popup.c: (ep_build_tree):
	Toggles can be in inconsistent state now, and can also contain
	an image, which is a pointer to GtkImage widget.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-search-bar.c: (e_search_bar_get_viewitem_id):
	Return -1 if no viewmenu is setup yet.


svn path=/trunk/; revision=34715
2007-12-17 05:40:53 +00:00
800c99fd15 Patch from Bob Mauchin <zebob.m@pengzone.org>: Fix for bug #438769 (UI: Changed label from 'Search name' to 'Rule name' in the add-new-message-filter dialog)
svn path=/trunk/; revision=34666
2007-12-07 15:27:18 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
ac2923d34b Warning fixes: - NULL vs 0 - ANSIfication of declarations - mixing code
2007-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* filter-datespec.c: (set_values):
	* filter-rule.c: (filter_rule_get_type), (filter_rule_new),
	(rule_copy):
	* rule-editor.c: (editor_response), (rule_delete), (rule_move):

	Warning fixes:
	- NULL vs 0
	- ANSIfication of declarations
	- mixing code and declarations

svn path=/trunk/; revision=34429
2007-10-26 08:07:25 +00:00
e8a9d068a1 ** Fix for bug #323977
2007-10-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #323977

	* filter/filter-rule.c: (get_widget):
	Use "Add Filter Criteria" instead of plain "Add" for button label.
	* mail/em-filter-rule.c: (get_widget):
	Use "Add Action" instead of plain "Add" for button label.


svn path=/trunk/; revision=34376
2007-10-11 15:18:24 +00:00
b32649a94c ** Fixes bug #437579
2007-10-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #437579

	* addressbook/conduit/address-conduit.c:
	* addressbook/gui/component/addressbook-config.c:
	* addressbook/gui/contact-editor/e-contact-editor.c:
	* addressbook/gui/widgets/eab-gui-util.c:
	* calendar/conduits/calendar/calendar-conduit.c:
	* calendar/conduits/memo/memo-conduit.c:
	* calendar/conduits/todo/todo-conduit.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/dialogs/memo-page.c:
	* calendar/gui/dialogs/task-page.c:
	* calendar/gui/e-day-view-layout.c:
	* calendar/gui/e-day-view-layout.h:
	* calendar/gui/print.c:
	* e-util/e-pilot-map.c:
	* e-util/e-plugin.c:
	* e-util/e-profile-event.c:
	* e-util/e-signature.c:
	* filter/filter-file.c:
	* mail/e-searching-tokenizer.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html.c:
	* mail/em-format-view.c:
	* mail/em-format.c:
	* mail/em-mailer-prefs.c:
	* mail/em-mailer-prefs.h:
	* mail/mail-session.c:
	* mail/mail-session.h:
	* mail/mail-vfolder.c:
	* mail/message-list.c:
	* plugins/bbdb/bbdb.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/calendar-http/calendar-http.c:
	* plugins/exchange-operations/exchange-user-dialog.c:
	* plugins/face/face.c:
	* shell/e-shell-window.c:
	* shell/e-shell.c:
	* smime/lib/e-cert-db.c:
	* tools/killev.c:
	* widgets/misc/e-cursors.c:
	* widgets/misc/e-spinner.c:
	* widgets/misc/e-unicode.c:
	* widgets/table/e-table-field-chooser-item.c:
	* widgets/table/e-table-header-item.c:
	* widgets/table/e-table-header-item.h:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table.c:
	* widgets/text/e-text.c:
	Fix various compiler warnings.  Patch from Milan Crha.


svn path=/trunk/; revision=34368
2007-10-10 04:54:36 +00:00