Fix as many cases that relied on it as I could find, but there may be
more cases out there. They should be fixed too. Passing a NULL parent
window to e_error_new() is illegal and will emit a runtime warning.
- Collect all shell modules into a new top-level 'modules' directory:
$(top_srcdir)/modules/addressbook
$(top_srcdir)/modules/calendar
$(top_srcdir)/modules/mail
Nothing is allowed to link to these, not plugins nor other modules.
THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.
- Mimic the libevolution-mail-shared library from master (except drop
the "shared" suffix) and have libevolution-mail-importers and all
mail-related plugins link to it.
- Discard the a11y subdirectories and have the files live alongside
their counterpart widgets.
This reduces the dependency of the composer on the mail module, which is
currently a circular dependency.
svn path=/branches/kill-bonobo/; revision=37135
2008-10-17 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #555276
* mail/mail-vfolder.c: Don't load a vfolder as a sub folder.
svn path=/trunk/; revision=36639
2008-09-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #534039
* mail-vfolder.c: (vfolder_load_storage): Load store to mail component
first, to have all notifications registered in time of adding rules.
* mail-folder-cache.c: (real_flush_updates): Dropped unnecessary and
offending code causing infinite loops when deleting search folder.
svn path=/trunk/; revision=36304
2008-06-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #534039
* em-folder-tree-model.h: (em_folder_tree_model_signal_block):
* em-folder-tree-model.c: (em_folder_tree_model_signal_block):
Removed obsolete function.
* mail-vfolder.c: (vfolder_load_storage):
Add storage to the tree model when everything is loaded, thus
everything will be shown when enabling the Search Folders on demand.
Also ensure the Search Folders to be enabled next start.
* mail-vfolder.c: (mail_vfolder_add_uri), (mail_vfolder_delete_uri):
Track folders even when Search Folders disabled, to have them
known when enabling Search Folders on demand.
svn path=/trunk/; revision=35658
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-01-24 Milan Crha <mcrha@redhat.com>
** Part of bug #511488
* mail/mail-vfolder.h:
* mail/mail-vfolder.c: (vfolder_loaded): Function dropped.
* mail/mail-vfolder.c: (vfolder_load_storage): Allow to call this function
more than once, but do load the storage only once.
* mail/em-folder-utils.c: (emfu_popup_new_folder_response):
* mail/mail-vfolder.c: (vfolder_edit), (vfolder_gui_add_rule),
(vfolder_gui_add_from_message), (vfolder_gui_add_from_address):
* mail/em-folder-browser.c: (emfb_search_menu_activated):
* mail/em-folder-view.c: (emp_uri_popup_vfolder_sender),
(emp_uri_popup_vfolder_recipient), (vfolder_type_current):
Ensure vfolder is running.
* plugins/groupwise-features/share-folder-common.c: (users_dialog_response):
The logic to check if vfolder is running has been changed, so reflect it here too.
svn path=/trunk/; revision=34878
2008-01-16 Milan Crha <mcrha@redhat.com>
** Fix for bug #509697
* mail-vfolder.c: (vfolder_edit):
Ensure search folders are running before calling anything from this.
svn path=/trunk/; revision=34838
2008-01-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #300336
* plugins/groupwise-features/share-folder-common.c: (users_dialog_response):
Ensure vfolder is running.
* mail/mail-vfolder.h: (vfolder_loaded):
* mail/mail-vfolder.c: (vfolder_loaded): New helper function.
* mail/em-folder-utils.c: (emfu_popup_new_folder_response):
* mail/mail-vfolder.c: (vfolder_gui_add_rule),
(vfolder_gui_add_from_message), (vfolder_gui_add_from_address):
* mail/em-folder-browser.c: (emfb_search_menu_activated):
* mail/em-folder-view.c: (emp_uri_popup_vfolder_sender),
(emp_uri_popup_vfolder_recipient), (vfolder_type_current):
Ensure vfolder is running.
* mail/mail-component.c: (mc_startup): Do not start vfolder when
disabled by option '/apps/evolution/mail/display/enable_vfolders'.
* mail/evolution-mail.schemas.in: Added schema for new option.
* mail/mail-config.glade:
* mail/em-mailer-prefs.h:
* mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option.
Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then.
svn path=/trunk/; revision=34775
2007-12-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #362638
* calendar/gui/alarm-notify/alarm-notify.c:
* calendar/gui/alarm-notify/alarm-notify.h:
* calendar/gui/alarm-notify/alarm-queue.c:
Rewrite message passing to use GThreadPool instead of EThread.
* mail/mail-mt.h:
Overhaul the message passing API:
- Define a MailMsg type as the base message struct.
- Define types for the various callback functions.
- Add a priority value to each message (not yet used).
- Add a reference count to each message.
- Define a MailMsgInfo type for the virtual function table.
- Record the size of message sub-types in MailMsgInfo.
- New/changed functions:
mail_msg_new() - Easier to use.
mail_msg_ref() - Increase reference count.
mail_msg_unref() - Decrease reference count.
mail_msg_main_loop_push() }
mail_msg_unordered_push() } Submit MailMsgs to various
mail_msg_fast_ordered_push() } message-processing threads.
mail_msg_slow_ordered_push() }
* mail/mail-mt.c (mail_msg_new):
Use GSlice for memory allocation.
* mail/mail-mt.c (mail_msg_ref), (mail_msg_unref):
New functions increment/decrement a MailMsg's reference count.
* mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove):
Convert the 'cancel_hook_list' from an EDList to a GHookList and
modify the API accordingly.
* mail/mail-mt.c:
Use GThreadPools instead of EThreads.
Use GAsyncQueues instead of EMsgPorts.
* mail/em-composer-utils.c:
* mail/em-folder-browser.c:
* mail/em-folder-properties.c:
* mail/em-folder-tree.c:
* mail/em-folder-utils.c:
* mail/em-folder-view.c:
* mail/em-format-html-print.c:
* mail/em-format-html.c:
* mail/em-subscribe-editor.c:
* mail/em-sync-stream.c:
* mail/importers/elm-importer.c:
* mail/importers/mail-importer.c:
* mail/importers/pine-importer.c:
* mail/mail-component.c:
* mail/mail-folder-cache.c:
* mail/mail-mt.c:
* mail/mail-ops.c:
* mail/mail-ops.h:
* mail/mail-send-recv.c:
* mail/mail-session.c:
* mail/mail-vfolder.c:
* mail/message-list.c:
* plugins/folder-unsubscribe/folder-unsubscribe.c:
* plugins/groupwise-features/share-folder-common.c:
* plugins/exchange-operations/exchange-folder.c:
* plugins/mark-all-read/mark-all-read.c:
* plugins/mailing-list-actions/mailing-list-actions.c:
* plugins/itip-formatter/itip-formatter.c:
* plugins/save-attachments/save-attachments.c:
Use the new MailMsg API for messages.
svn path=/trunk/; revision=34730
2006-06-30 Harish Krishnaswamy <kharish@novell.com>
Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.
svn path=/trunk/; revision=32207
2006-02-20 Parthasarathi Susarla <sparthasarathi@novell.com>
** Fixes bug 33139
* mail-vfolder.c: (mail_vfolder_shutdown):
assign 'vfolder_hash' to NULL after destroying.
Committed Patch on behalf of Joe Marcus Clarke (marcus@freebsd.org)
svn path=/trunk/; revision=31544
2005-12-17 Tor Lillqvist <tml@novell.com>
* mail-vfolder.c: Harmonize #include order and syntax. Use
pthread_equal() to compare pthread_t values.
* mail-vfolder.c: Use gstdio wrappers. Construct XML file pathname
at run-time.
svn path=/trunk/; revision=30840
2005-08-07 Rodney Dawes <dobey@novell.com>
* em-folder-browser.c (emfb_search_items):
* em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state):
* em-folder-tree.c (emft_drop_target):
* em-folder-view.c (emfv_popup_items, emfv_uri_popups):
* em-utils.c:
* em-vfolder-editor.c (em_vfolder_editor_new):
* em-vfolder-rule.c (em_vfolder_editor_sourcelist_new):
* mail-dialogs.glade:
* mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do):
(vfolder_adduri_desc, vfolder_load_storage, vfolder_edit):
(vfolder_edit_rule, vfolder_gui_add_rule):
* mail.error.xml:
Change instances of "vfolder" that appear in the UI to use the term
"Search Folder" instead
Update some comments to use the term "Search Folder" instead of vfolder
svn path=/trunk/; revision=30024
2005-07-29 Not Zed <NotZed@Ximian.com>
** See bug #300607.
* mail-vfolder.c (store_folder_renamed_rec, store_folder_renamed):
rename all folders in the folder tree renamed.
svn path=/trunk/; revision=29943
2005-05-16 Not Zed <NotZed@Ximian.com>
* mail-vfolder.h:
* mail-autofilter.h: forward-reference structures
* *.h: Make installed headers includable from mail/
* Makefile.am (mailinclude_HEADERS): install various mail headers
as first cut at public plugin api.
svn path=/trunk/; revision=29371