Commit Graph

5843 Commits

Author SHA1 Message Date
d515cfc332 Bug #223337 - Auto-close message-browser when replying to them 2010-10-08 12:16:53 +02:00
8f413c5b27 Bug #552121 - Drop UUENCODE inline filter 2010-10-08 10:34:40 +02:00
8cd5fd9653 MailFolderCache notifies in reverse order
Causing unread count on Drafts disappear sometimes. (Drafts, like
Outbox, uses total message count, instead of real unread count).
2010-10-07 12:43:58 +02:00
ddcbe32497 Bug #631341 - On This Computer/Inbox sub-folders lost 2010-10-07 11:45:05 +02:00
2d0af11b43 Bug #631588 - Sort by Subject doesn't work 2010-10-07 10:03:54 +02:00
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
2d5b4f53ea Bug #617953 - Hide Junk messages in Search folders 2010-10-06 11:41:01 +02:00
5268a864f2 Bug #500591 - Crash when viewing a large message 2010-10-05 14:49:35 +02:00
a2b2b88a90 Bug #630295 - Inline GPG encrypted message is not always recognized 2010-10-05 13:58:00 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
a69cbcd79a Bug 510020 - Add "Manage Subscriptions" to store context menus 2010-10-03 09:39:10 -04:00
ba0032efa8 Remove unused mail_tools_x_evolution_message_parse() 2010-10-03 09:37:36 -04:00
c6e6588fb7 Fix a reference-counting regression I introduced. 2010-10-02 16:40:50 -04:00
ec089b4a41 Rewrite the folder subscription editor.
Redesign the "Folder Subscriptions" dialog and use Camel's async API
instead of the MailMsg infrastructure to simplify the implementation.
2010-10-02 15:22:07 -04:00
dad7910a1b Fix some CamelFolderChangeInfo lifecycle issues.
Apparently MessageList eats the CamelFolderChangeInfo it gets from the
CamelFolder::changed signal.  My confidence in this patch is shaky.  The
logic is pretty messy and we could easily be leaking memory here.  Could
use some hot valgrind action.
2010-09-30 17:44:53 -04:00
e582ccff2d Remove MailAsyncEvent.
As of commit 7fa0dd78305677d14839a480fc379ebba3a6d55c, all CamelFolder
and CamelStore signals are emitted from idle callbacks.  That means we
don't have to propagate events to the main loop thread anymore, which
eliminates all remaining uses of MailAsyncEvent.
2010-09-30 14:29:28 -04:00
3eb7903828 MailFolderCache: Use an idle callback instead of MailAsyncEvent. 2010-09-30 14:25:13 -04:00
fc2c71593a Remove "type" parameter from mail_async_event_emit().
All remaining cases use MAIL_ASYNC_GUI, so remove mail_async_event_t
altogether.
2010-09-30 13:55:39 -04:00
8dd3119dad Remove MailAsyncEvent from mail-session.c.
Just use an idle callback to play a sound while filtering.
2010-09-30 13:55:39 -04:00
ae32503356 Remove MailAsyncEvent from e-mail-store.c.
Functions in e-mail-store.c are always called from the main thread.
2010-09-30 13:55:38 -04:00
75b078e997 Kill em_utils_temp_save_part().
Rewrite the last usage of it in itip-formatter.c to use EAttachments
instead.  This also allowed me to kill mail_save_part() in mail-ops.c.

I may need to reevaluate the EAttachment API at some point for all these
fringe EAttachment uses we're accumulating.  Having to asynchronously
"load" an EAttachment whose content is already in memory kinda sucks.
2010-09-30 13:55:38 -04:00
51b4ea7f40 Remove some unused bits from mail-mt.c. 2010-09-29 22:50:10 -04:00
e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
c7b1343774 Bug #629799 - Crash importing a mail with an ics attachment 2010-09-29 11:32:30 +02:00
12149572ad Bug #630700 - Crash on message send 2010-09-29 11:12:16 +02:00
5b154c6299 Bug #604080 - Predefined account SSL not propagated to UI 2010-09-29 10:56:50 +02:00
2a772badda Bug #629636 - Doesn't recognize local ESource-s 2010-09-29 10:43:04 +02:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
2e20af9240 Bug #630269 - Hang on mail operation cancel 2010-09-22 10:36:34 +02:00
2168903b23 Bug #629735 - Mail preference glitch 2010-09-21 19:11:22 +02:00
bbb5b172da Check for m->cancel != NULL in mail_msg_cancel(). 2010-09-21 09:34:25 -04:00
1fd0976706 Bug 630118 - Endless recursive loop in mail_msg_cancel() 2010-09-21 09:10:44 -04:00
b064ae4fa7 Avoid a deadlock in mail_msg_free(). 2010-09-18 17:04:53 -04:00
a98c07a569 Add a GCancellable to EActivity.
EActivity now uses a GCancellable to manage cancellations, instead of
having its own redundant cancellation API.  API changes are as follows:

  + e_activity_get_cancellable()
  + e_activity_set_cancellable()

  - e_activity_cancel()
  - e_activity_is_cancelled()
  - e_activity_get_allow_cancel()
  - e_activity_set_allow_cancel()

EActivity's "cancelled" signal remains, but only as a repeater for
GCancellable::cancelled signals.  It should not be emitted directly.

The presence of a GCancellable implies that cancellation is allowed.
EActivity does not create its own default GCancellable, it has to be
given one.

If a CamelOperation (cast as a GCancellable) is given, EActivity will
configure itself to listen for status updates from the CamelOperation
and propagate the information to its own "primary-text" and "percent"
properties.

These changes allowed me to start cleaning up some of the incredibly
convoluted logic in mail-mt.c -- in particular, mail_operation_status()
is completely gone now.  mail-mt.c is still in a transitional state --
much more significant changes coming soon.
2010-09-18 16:40:19 -04:00
afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
c7f5d54cb7 Kill the subject-thread plugin.
All this time I never realized the subject-thread plugin was nothing
more than a stupid checkbox.  The actual thread-by-subject code lives
in the core mail library.
2010-09-14 14:56:15 -04:00
95fe925630 Fix a crapload of run-time warnings.
EConfig and EMAccountEditor are very, very brittle.
2010-09-14 13:49:08 -04:00
515ad2e690 Mail preferences tweaks 2010-09-13 12:06:53 -04:00
58013b53d0 Reorganize composer preferences
Move alert checkboxes to a new "Confirmations" tab and reword the
options.  Also, split reply and forward-related options into a new
"Replies and Forwards" section.
2010-09-13 11:33:45 -04:00
2798ae38f4 mail-config.ui cleanups.
- Fix GtkVBox orientations.
- Reduce container widgets.
- Remove unused widgets.
2010-09-13 08:28:59 -04:00
64c7c97daa Teach Glade how to load an EMFolderSelectionButton. 2010-09-13 08:28:59 -04:00
e7247d6d60 Remove uninteresting mail options from Preferences.
Remove some options from Mail Preferences that aren't worth the screen
real estate they take up.  For now, the corresponding GConf keys still
remain and are honored by Evolution.  These same options were already
removed for Express mode.

Options removed are:

[ ] Mark messages as read after XXX seconds

[ ] Do not display messages when text size exceeds XXX KB

[ ] Shrink To / Cc / Bcc headers to XXX addresses

[ ] Enable Magic Spacebar

[ ] Enable Search Folders
2010-09-13 08:28:59 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
a7d4f03e4f Bug 629413 - use-after-free in bad cert dialog 2010-09-12 12:05:54 +01:00
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
d1a67bb5c5 Bug 628591 - Incorrect English message in Evolution 2010-09-10 19:03:06 -04:00