Commit graph

1274 commits

Author SHA1 Message Date
Brendan Long
624a7171be Content menu missing labels in composer: Closes #7322 2013-08-12 16:30:17 -07:00
Jim Nelson
0df2c1fa7c Fixes crash when removing unfulfilled during writebehind operation
Encountered this morning -- list operation had unfulfilled emails
waiting for network operations but folder normalization determined
they were missing and used a writebehind to remove them from the
operation, but the loop to remove them explodes (can't do a remove
within a foreach).  This loop solves that problem.
2013-08-12 12:52:45 -07:00
Robert Schroll
2aa63900b4 Ignore case in domain names when warning about link destinations: Closes #7327 2013-08-12 12:52:07 -07:00
Jim Nelson
ec4b4876e2 Show total message counts in folders: Closes #6982
Total and unread message count displayed in tooltip.
2013-08-09 17:30:03 -07:00
Jim Nelson
aa355f5438 Merge branch 'master' into feature/attachments 2013-08-09 16:10:44 -07:00
Jim Nelson
d472b9e4c9 Folders to load on new accounts: Closes #7238
Numerous changes to make account synchronization and email prefetcher
more efficient and not hold the database lock for so long.
2013-08-09 15:17:06 -07:00
Jim Nelson
547114f186 Conversation list loads too much mail when scrolling down: Closes #7279
Two problems: (a) determination for vector expansion was not accounting
for INCLUDING_ID flag properly, and (b) messages added to the interior of
the vector during normalization (can happen when the database has a
gap in the middle of the vector) were being treated as appended (i.e. new)
messages, causing the ConversationMonitor to load all of them.
2013-08-08 18:41:15 -07:00
Jim Nelson
c1a9d31222 Don't crash when message on remote not in local is removed
Forgot to deal with situation where a message in the remote folder
is removed that isn't stored in the local database.  In that case,
the local position will be <= 0 and should be treated as a NOP
(although still signal that the total remote_count has changed).
2013-08-07 17:08:32 -07:00
Jim Nelson
3598a08d31 Reindex search table to include inline/forwarded attachments and full body text: Closes #7283
Rather than attempt to be selective, there's enough changed here that we might as well
blow away the search index and let the indexer start afresh.  Future tweaks to the
search index might need to be more selective.
2013-08-06 18:16:34 -07:00
Jim Nelson
d531c7eef7 Merge branch 'master' into feature/attachments 2013-08-06 17:39:14 -07:00
Robert Schroll
09dd558787 Process all attachments from past forwarded email attachments: Closes #7282 2013-08-06 17:31:20 -07:00
Robert Schroll
262c25c360 Inline images style improvements: Closes #7305 2013-08-06 17:19:16 -07:00
Eric Gregory
851f8f03e9 Merge branch 'master' of ssh://yorba.org/git/geary 2013-08-06 15:43:22 -07:00
Eric Gregory
e5dc9c8bfc Closes #7201 Unread count styling 2013-08-06 15:42:42 -07:00
Jim Nelson
502bb0d24e Opening New Message window is slow: Closes #6973
Fixes a couple of performance problems (slow sorting of Contacts
being added one at a time, and multiple GtkEntryCompletions being
created when New Message is used) as well as broke out
ContactListStore so one could be created and used for the three
GtkEntryCompletions needed in the window.
2013-08-06 15:38:16 -07:00
Robert Schroll
67c4fa2cf7 Text parts shown as attachments: Closes #7300 2013-08-06 12:36:27 -07:00
Jim Nelson
54fa83d69c Merge branch 'master' into feature/attachments 2013-08-06 12:34:33 -07:00
Jim Nelson
4c607b242f Update Daily Build PPA to use Vala 0.21.1 2013-08-05 16:12:35 -07:00
Avi Levy
a5c0d75fdf Reverts change to background color for sent mail: Refs #6371 2013-08-02 17:51:43 -07:00
Jim Nelson
403dd8508e Drop Gtk.Stock: Closes #7203, Closes #7294
These changes also invalidates #7218, as we're no longer using
buttons with icons with these changes.
2013-08-02 15:28:33 -07:00
Eric Gregory
d33771787a Closes #7145 Fix for unread count issue 2013-07-31 12:10:11 -07:00
Timo Kluck
aa8f7c129c Fix display of special folders in the localized case: Closes #7239 2013-07-26 17:58:46 -07:00
Avi Levy
06bb87b737 Inline images not displayed when surrounded by text/plain sections: Closes #6942
Better document structure handling.  Now dealing with all portions of a
MIME document, not just the first, and properly inserting inline images
into the final HTML view.
2013-07-26 16:33:26 -07:00
Eric Gregory
9c658027fa Closes #7276 Search folder now loads correct messages when scrolling down 2013-07-25 18:31:19 -07:00
Eric Gregory
a2546b5231 Fixes #4644 Spinner fix, part deux 2013-07-23 15:43:56 -07:00
Robert Schroll
a1e7604a50 Don't use friendly dates for 7 days ago: Closes #7270
Display calendar date for mail sent 7 days ago rather than day of week
(i.e. today's day of week, which can be confusing).
2013-07-23 14:39:59 -07:00
Jim Nelson
902a658330 Fetch should use local-expansion, not locally-appended
I think this was lost in a merge from a while back.  This is the
correct semantics.
2013-07-23 14:30:32 -07:00
Robert Schroll
08aaeed431 Allow forwarded message attachments to be downloaded: Closes #6858
Attached forwarded messages are displayed inline (for viewing) and,
with this patch, as an attachment that can be saved by the user.
2013-07-23 14:27:31 -07:00
Jim Nelson
2259c36d8e Merge branch 'master' into feature/attachments 2013-07-23 14:17:40 -07:00
Robert Schroll
690be22006 Display attachments in attached emails: Closes #6857
Attachments in attached (not inline) forwarded emails get included in
the messages "master list" of attachments.
2013-07-23 14:15:23 -07:00
Charles Lindsay
9eaea84150 Fix typo so don't drop in-folder emails; fix #7096 2013-07-23 12:50:00 -07:00
Jim Nelson
473ad457dd Prevent looping when updating/normalizing folders: Closes #7225
With earlier implementation, it was possible for the "email-completed"
signal to be fired for emails that were already locally complete
(in particular, when flags were being updated).  This ensure the
signal is fired once and only once.
2013-07-23 12:22:07 -07:00
Jim Nelson
91317346af More progress on this problem: Refs #7238
Mass email creation is taking far longer than it should (since the
vector expansion causing it isn't writing email bodies or headers,
merely inserting a row into two tables and writing small metadata to
one of them).  This patch breaks up vector expansion more than before
and turns off SYNCHRONOUS mode.
2013-07-22 15:15:56 -07:00
Jim Nelson
01922d1e45 Merge branch 'master' into feature/attachments 2013-07-20 12:01:14 -07:00
Jim Nelson
abca79deea Various bug fixes and optimizations for slow folder/message loading: Refs #7238
Although these fixes don't close the above ticket, they do alleviate many of its
symptoms and generally seems to improve the experience.  It also fixes a couple
of nasty bugs in vector expansion and account synchronization.
2013-07-19 17:28:50 -07:00
Avi Levy
6867987074 Non-image inline attachments not shown in client: Closes #5748
This processes existing email for inline attachments and adds them
to the attachments table, doing the same for new mail as it arrives.
2013-07-19 16:28:56 -07:00
Jim Nelson
14b9343da3 Smarter account synchronization at startup: Closes #7228
Also removes one annoying debug line from my last commit.
2013-07-17 17:30:49 -07:00
Jim Nelson
da8c95c29a Remove positional listing operations from Geary.Folder: Closes #7249
This simplifies the various Folder implementations, removes one (large)
replay queue operation, makes vector expansion _much_ simpler, and
generally makes the Geary API a bit cleaner.

Because the code affected included some of the proposed fixes for
operation.  That plus the vector expansion changes may have some
affect on that ticket.
2013-07-17 16:53:34 -07:00
Jim Nelson
3270edb1fa SMTP buffers not completely written: Closes #7248
The recent fix to support dotstuffing (#7173) introduced a regression
where it was possible for incomplete SMTP buffers (i.e. the message)
to be delivered.

The SMTP layer now deals in Memory.Buffer objects, which required
some small changes to the Authentication interface.  Also, some
missing error-handling in RFC822.Message was introduced.
2013-07-16 14:59:48 -07:00
Jim Nelson
3f43d683e0 Remove assertions when converting FetchedData to Geary API objects: Closes #6682
a couple of assertions in the code could cause a similar problem, so this removes
them and replaces them with log messages.  Later code in the code path deals with
this problem in a more sane manner.

More specifically, I believe the IMAP rework deals with the problems of certain
servers returning the preview information out-of-order and in separate server data
lines properly.
2013-07-11 16:00:46 -07:00
Jim Nelson
ec3dcb8e7c SmtpOutboxEmailIdentifier needs FolderPath: Closes #7114 2013-07-11 15:51:49 -07:00
Eric Gregory
99b02890f9 Closes #7231 Adds upgrade dialog to install list 2013-07-11 15:05:37 -07:00
Eric Gregory
9068d6330b Closes #4644 Spinner fix 2013-07-11 12:50:19 -07:00
Charles Lindsay
1054b99264 Fix EmailIdentifier's equal_to; fix #7220
I had mistakenly used == to compare FolderPaths, which have their own
equal_to method.

Also, this cleans up a bit of the ConversationSet logic that wasn't
needed since EmailIdentifiers take folder_path into account in their
hash and equal_to methods.
2013-07-11 11:42:13 -07:00
Jim Nelson
1c0017b63b Improved ImapEngine.EmailPrefetcher
The prior ImapEngine.EmailPrefetcher pulled messages one at a time to
prevent hogging the connection with lots of data (when a lot of new mail is
detected).  This patch simplifies some of the preparation code and
pulls the mail down in 128K batches, meaning multiple small messages are
pulled at once, meaning quicker availability without blocking the connection
entirely.
2013-07-10 18:58:32 -07:00
Charles Lindsay
aebfadea70 Update search folder on new mail; fix #7132
Also disables the search folder when it is hidden, so we aren't doing
background I/O.
2013-07-10 16:06:08 -07:00
Robert Schroll
d07f342af3 Fixes #7176 Extra close() call 2013-07-10 11:37:13 -07:00
Eric Gregory
d3773f992e Closes #7176 Find bar assertion 2013-07-09 15:39:17 -07:00
Charles Lindsay
a9fc3adb30 Add new external email to conversations; fix #6498
This accomplishes a few things:
* Adds some signals to the Account that aggregate various Folder
  signals, so anyone can find out when mail has been appended to any
  folder, for example.
* Refactors the ConversationMonitor further.  The conversation grouping
  logic has been split out into a ConversationSet, and
  ConversationMonitor proper is now just the folder interaction.
* The new ConversationSet tracks duplicate emails better using
  Message-IDs, so if you get an email in multiple folders we can figure
  out whether we should actually add it as a new email or not.
* Using all of that, we now kick off a full-conversations update
  whenever new mail comes in on any folder, so your conversations update
  as you're looking at them when Geary sees new mail, regardless of
  folder.
2013-07-09 13:48:47 -07:00
Yosef Or Boczko
bff2070f68 Avoid conflict with Gtk.Window.close: Closes #7196
This doesn't affect Vala 0.20.1, but this will be a problem with
GTK 3.9.7 and the patch does not introduce any backward compatability
problems.
2013-07-09 12:15:23 -07:00