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
2005-07-21 Not Zed <NotZed@Ximian.com>
* em-account-editor.c (emae_option_entry): if we get a null
default, then set "" on the entry.
(emae_option_entry): set the default value on the url if it
doesn't exist already.
2005-07-20 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (refresh_folders_desc, refresh_folders_get)
(refresh_folders_got, refresh_folders_free, get_folders)
(receive_update_got_folderinfo, receive_update_got_store): refresh
all the folders manually and directly.
* mail-folder-cache.c (setup_folder): propagate even -1 unread
counts, they get ignored later.
* em-composer-utils.c (emu_handle_receipt_message)
(em_utils_handle_receipt): use getmessagex too, so we can always
clear any error.
* em-folder-view.c (emfv_message_selected_timeout)
(emfv_list_done_message_selected): use getmessagex and do
something meaninful with the error.
* mail-ops.c (mail_get_messagex): added new get message which
returns an exception.
2005-07-19 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): dont get the service
connected, it will connect if it needs to.
* mail-ops.c (get_folderinfo_get): * em-folder-utils.c
(emft_copy_folders__copy)
(emfu_delete_folders): * em-folder-tree.c
(emft_get_folder_info__get): Always request subscribed folders, if
the backend doesn't implement it it will ignore it.
2005-07-13 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (mail_autoreceive_init, auto_online): listen to
session online events, and if we are online, trigger an
auto-receive of all auto-check accounts.
2005-07-11 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (auto_account_commit): force an update
immediately if we're setting up the timeout to start with.
* em-folder-tree-model.c (em_folder_tree_model_set_unread_count):
noop if the unread count < 0.
(em_folder_tree_model_set_folder_info): only set the unread count
if we actually have one.
* em-folder-tree.c (emft_tree_row_expanded): get the folder list
'fast'.
* mail-ops.c (get_folderinfo_get): get the folder list 'fast'.
svn path=/trunk/; revision=29822
2005-06-23 Kaushal Kumar <kakumar@novell.com>
* e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
addressbook/gui/search/Makefile.am,
plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.
Updated the include paths to use misc instead of widgets/misc.
svn path=/trunk/; revision=29574
2005-01-27 Rodney Dawes <dobey@novell.com>
* mail-send-recv.c (build_dialog): Fix the dialog to have borders
that are HIG-compliant and fix up the spacing and padding of the
internal widgets to do the right thing to be HIG compliant
svn path=/trunk/; revision=28587
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mail specific filtering stuff from filter/* to
here. Renamed appropriately into em* space, etc.
* em-filter-folder-element.c (emff_copy_value): implement for folders.
* em-vfolder-rule.c (get_widget): read the vfolder glade from
mail-config.glade.
* mail-config.glade: moved the vfolder source selector here.
* em-search-context.c: new mail search specific rule context.
* mail-component.c (setup_search_context): use the new
em_search_context.
* vfolder-rule.c (validate): change error to mail context.
* filter-folder.c (validate): change error to mail context.
* Makefile.am (em-filter-i18n.h): added rule for i18n of mail
filter type stuff.
(libevolution_mail_la_SOURCES): added in the filter and vfolder
rule stuff specific to mail.
** See #59885.
* em-format-html-quote.[ch]: remove and remove from build, not
used.
* Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
evolutionsmime.
* mail-component-factory.c (factory): there is no mail_config
anymore.
svn path=/trunk/; revision=26380
2004-05-20 Not Zed <NotZed@Ximian.com>
** See #58693.
* mail-send-recv.c (mail_autoreceive_setup): add bounds checking
so sloppy ui work wont break it again.
* mail-config.glade: put the minimum for autocheck back to 1
minute. Naughty jeff.
2004-05-19 Not Zed <NotZed@Ximian.com>
* mail-ops.c (send_queue_send): set seen when we set deleted. ?
#56549.
svn path=/trunk/; revision=26002