2008-10-22 Matthew Barnes <mbarnes@redhat.com>
* mail-send-recv.c:
* mail-send-recv.h:
Just some minor code polishing.
svn path=/trunk/; revision=36676
2008-09-30 Philip Withnall <philip@tecnocode.co.uk>
** Fix for bug #545045
* mail-send-recv.c (build_dialog): Don't show SMTP in the
Send/Receive dialogue if there are no unsent mails.
svn path=/trunk/; revision=36505
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-05-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #317755
* mail-send-recv.c: (refresh_folders_exec):
* mail-ops.c: (refresh_folder_desc):
Also sync with a server when refreshing folder.
* evolution-mail.schemas.in:
* mail-config.h: (mail_config_get_sync_timeout):
* mail-config.c: (mail_config_get_sync_timeout):
Use int value of /apps/evolution/mail/sync_interval where is set
how often propagate local changes to server.
* mail-component.c: (struct _MailComponentPrivate), (impl_dispose),
(mc_sync_store_done), (mc_sync_store), (call_mail_sync),
(mail_component_init): Upload local changes to server on some interval.
* mail-component.c: (impl_quit):
Do not quit until we are done with mail sync.
svn path=/trunk/; revision=35552
2008-04-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #494171
* mail/mail-send-recv.c (build_dialog):
Make the "Send & Receive Mail" window dimensions persistent.
* mail/evolution-mail.schemas.in:
Add keys for storing "Send & Receive Mail" window dimensions:
/apps/evolution/mail/send_recv_height
/apps/evolution/mail/send_recv_maximized
/apps/evolution/mail/send_recv_width
Note the "maximized" key is required by GConfBridge but is not
actually used since the window cannot be maximized.
svn path=/trunk/; revision=35400
2008-02-22 Milan Crha <mcrha@redhat.com>
** Fix for bug #512776
* Changes below prevents deadlock on start or send/receive.
* mail-send-recv.c: (struct _refresh_folders_msg),
(refresh_folders_exec), (refresh_folders_free),
(receive_update_got_folderinfo): Do not look for active folders in
main thread, rather do it in other thread and free folder info later.
* mail-ops.h: (mail_get_folderinfo):
* mail-ops.c: (struct _get_folderinfo_msg), (get_folderinfo_done),
(get_folderinfo_free), (mail_get_folderinfo):
* mail-folder-cache.h: (mail_note_store):
* mail-folder-cache.c: (struct _update_data), (update_folders),
(mail_note_store):
* mail-component.c: (mc_add_store_done):
The 'done' function returns if we can free folder info or not.
svn path=/trunk/; revision=35071
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
2007-12-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #336074
* mail-send-recv.c: (get_folders):
Determine whether refresh folder from the store based on result of new
store's function 'camel_store_can_refresh_folder'.
Note: Be sure you updated evolution-data-server (revision 8288) and evolution-exchange too
svn path=/trunk/; revision=34688
2007-12-03 Denis Washington <denisw@svn.gnome.org>
** Fix for bug #363644
* mail-send-recv.c:
Added a 6px padding around the scrolled window so that
it's border doesn't look like a separator on the bottom.
svn path=/trunk/; revision=34630
2007-06-02 Ross Burton <ross@openedhand.com>
* mail-send-recv.c:
Pass a CamelException when refreshing folders, removing the spew
of warnings (#439957).
svn path=/trunk/; revision=33620
2007-05-25 Matthew Barnes <mbarnes@redhat.com>
* mail/mail-send-recv.c:
Revert the dialog_map() solution and use ellipsized labels.
Also, only the label column in the GtkTable should expand and fill,
and never show a horizontal scrollbar. (#335241)
svn path=/trunk/; revision=33576
2007-04-05 Matthew Barnes <mbarnes@redhat.com>
* mail/mail-send-recv.c (refresh_folders_get):
Provide a CamelException to camel_folder_refresh_info().
svn path=/trunk/; revision=33390
2006-12-18 Sankar P <psankar@novell.com>
* mail-send-recv.c: (get_folders):
Do not check for mails in all folders, for Exchange.
Will be more than useful when you have a lot of folders.
svn path=/trunk/; revision=33081
2006-02-13 Rohini S <srohini@novell.com>
** Fixes bug #221270.
* mail-send-recv.c: (build_dialog):
Removed white space before : when displaying account information in
Send/Receive dialog.
(committed by andre, heading a string freeze ;-)
svn path=/trunk/; revision=31506
2005-12-05 Shi Pu <shi.pu@sun.com>
See bug ** 323253
* mail-send-recv.c: (format_url):
If url->host is NULL or it is emtpy,
don't print it out in send & receive dialog.
svn path=/trunk/; revision=30727
2005-11-23 Parthasarathi Susarla <sparthasarathi@novell.com>
** See bug #315987
* em-composer-utils.c:
(em_utils_composer_send_cb): Send only if account is enabled
(em_utils_composer_save_draft_cb): Save message to server
folder only if the account is enabled, else save it locally
(generate_account_hash): Add default account into the account hash
only if the account none of the account is enabled.
(guess_account): use only enabled account
* mail.error.xml: Add error message for send-no-account-enabled
svn path=/trunk/; revision=30646
2005-08-15 Christian Kellner <gicmo@gnome.org>
* mail-send-recv.c: (get_folders): Honour the check_all
flag for the scalix provider.
Fixes bug #313582.
svn path=/trunk/; revision=30125
2005-07-27 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (get_folders): hack to make it honour the
'refresh only inbox' imap/groupwise setting.
svn path=/trunk/; revision=29896