Commit graph

1591 commits

Author SHA1 Message Date
Wolfgang Steitz
01dfbc0779 Use sym. icons for read/unread starred/unstarred mail: Refs bgo#720771 2014-02-12 15:01:05 -08:00
Robert Schroll
0e08a819da Avoid extra empty lines in plain quoted text: Closes bgo#723815
Blank lines appear unpredictably in blockquoted text, but would
like to avoid displaying them.
2014-02-12 11:52:18 -08:00
Piotr Drąg
cdcb89b62c Updated Polish translation 2014-02-12 01:43:41 +01:00
Charles Lindsay
4552757994 Better special folder detection/creation
This looks for some translatable common names for special folders like
Sent Mail, Drafts, Spam and Trash, instead of only relying on the
server's special-use or xlist extensions.  If the server doesn't report
special-use/xlist, we look for common folder names, creating them on the
server if necessary, so we always have folders necessary for tasks like
saving drafts or sent mail.

Closes: bgo #713492
2014-02-11 15:24:01 -08:00
Piotr Drąg
fa0f91e16e Updated Polish translation 2014-02-11 14:46:56 +01:00
Charles Lindsay
7f4a80ce26 Prompt before deleting messages
Closes: bgo #713875
2014-02-10 18:02:07 -08:00
Wolfgang Steitz
7bcdd232b6 Conversation list respects selection palette: Closes bgo#723265
Now when a conversation list element is selected, the text colors
match the theme's selection colors.
2014-02-10 12:00:39 -08:00
Daniel Korostil
be70ceb7e4 Updated Ukranian 2014-02-08 14:51:46 +02:00
Marek Černocký
a7e05d4ac5 Updated Czech translation 2014-02-07 20:05:49 +01:00
Fran Diéguez
a88e443a1c Updated Galician translations 2014-02-07 02:01:17 +01:00
Robert Schroll
8e283cc6b6 Fix regex for restoring quotes in plain text construction
The character following the token is found through a look-ahead, to
avoid consuming the opening of the next token.  (There should be
newlines separating tokens, but in some poorly understood circumstances,
this doesn't happen.)  We don't use a look-behind at the beginning, so
that the second consecutive token doesn't insert a second newline
between the two.  (The first of the pair already gave us one.)

Closes: bgo #723742
2014-02-06 16:40:10 -08:00
Jim Nelson
74ec08e0bd Further fixes to the background flag watcher
The "enabled" property is no longer used, so removing.

If the flag watcher is cancelled (because the folder has been closed),
the watcher was still rescheduling another polling loop.  This patch
prevents that.
2014-02-06 12:00:26 -08:00
Мирослав Николић
2d0ec0f3cc Added Serbian translation 2014-02-05 22:05:27 +01:00
Piotr Drąg
18d2e91646 Updated Polish translation 2014-02-05 19:38:50 +01:00
Piotr Drąg
3767049d7d Updated POTFILES.in 2014-02-05 19:22:54 +01:00
Jim Nelson
dc1445d6f0 Update copyrights to 2014: Closes bgo#722381 2014-02-04 19:01:09 -08:00
Jim Nelson
28c7eba17d Can't press A or Delete to archive/trash message: Closes bgo#721789
If compiled with the GDK binding fix in Vala 0.23.2 (bgo#713240), this
patch fixes the accelerator problem.

Tip o' the hat to Charles, who pointed out the accelerators.ui file.
2014-02-04 18:42:44 -08:00
Jim Nelson
35a8a397f1 Fixed revert in last commit
Code was added, not replaced.
2014-02-04 12:08:25 -08:00
Jim Nelson
cf7a3e5815 Second half of revert of toolbar button size: Refs bgo#723578
This code must also remain, as it deals with situations where
spacers are placed before or after the linked buttons.
2014-02-04 12:00:05 -08:00
Jim Nelson
6d7489e81d Toolbar buttons too small: Closes bgo#723578
A partial revert of bgo#713837 (commit:a70d47) which was too
aggressive in removing extra space from toolbar buttons.
2014-02-04 11:18:19 -08:00
Jim Nelson
6833f1eab9 Reduce local delays when new message arrives
In particular, bug #713493 reports this, although this patch doesn't
appear to solve the problem entirely.  However, I have spotted
situations in the past where the Append replay operation caused local
operations to hang.  This is because Append was being treated as a
local operation when, in fact, it's first call is back to the server
to fetch UIDs of the new messages.  Hence, it should be treated as
a remote operation so local operations can run without delay.
2014-02-03 14:08:32 -08:00
Jim Nelson
a91854616a Allow flag watching while synchronizing folder in background
Previously, synchronizing folders caused a jump in CPU, so work was
done to minimize activity.  Optimizations to folder normalization
has reduced the CPU load, so it's okay now to allow flag watching
while the background folder is open.

This is not a substitute for an architected solution: periodic
flag synchronization with folders, not merely when changes in contents
(additions/removals) are detected, but this helps some, especially
with high-traffic folders.
2014-02-03 13:56:43 -08:00
Jim Nelson
70aafd75b8 Further work fixing connection reestablishment logic
More testing of previous changes located two other problems that
this patch fixes.

First, if a connection reestablishment was attempted but the reconnect
failed initially (common if the server is simply unavailable, i.e.
recent Gmail outage) the reestablishment logic halts.  This patch
forces another attempt.

Second, the back-off delay that used to be present in the
conversation monitor (when it handled reestablishment) was missing
in the new code.  This adds it back.
2014-02-03 13:53:48 -08:00
Jim Nelson
ab7ede3ec6 Fix bug in reestablishment logic intro'd in commit 86f1854
One bug in that commit was that only one of two the two conditionals
for entering connection reestablishment was considered when
determining if the Folder should close.  This change now uses both
conditionals.  Without this, it's possible for the remote to fail
to open due to connection error and the Folder to remain open although
reestablishment doesn't occur because there's no remote folder to
establish with.
2014-02-03 13:48:17 -08:00
Jim Nelson
182fb0a91e Better IDLE state handling
OpenMailbox.org doesn't complete transactions when the IDLE state
is entered while commands are outstanding.  One thing I've considered
for a while is only issuing IDLE when no comands are outstanding,
as in some situations the connection state "thrashes" if commands
come in back-to-back.  This commit does just that, only entering
IDLE when no commands are outstanding.
2014-02-03 13:48:17 -08:00
Jim Nelson
7f535b02ec Add LIST RETURN functionality
SPECIAL-USE does not have to return special-use flags, but the
LIST RETURN syntax can force it, which we want.
2014-02-03 13:48:17 -08:00
Yosef Or Boczko
a70d47a543 Remove unnecessary space in icon-only toolbar btns: Closes bgo#713837 2014-02-03 13:45:32 -08:00
Adolfo Jayme Barrientos
b9431a2a72 Updated Spanish translation 2014-02-03 12:03:09 +01:00
Piotr Drąg
8fce94d7bb Updated Polish translation 2014-02-02 17:56:39 +01:00
Charles Lindsay
def98d007c Bump version, add news 2014-01-30 17:51:34 -08:00
Jim Nelson
bfa6e156f2 Add "--full-file" to geary-mailer
This allows for a fully-formed RFC 822 email to be sent as a text
file w/ Geary mailer.
2014-01-30 17:04:58 -08:00
Charles Lindsay
6631ed91cb Install version-017.sql
Closes: bgo #723281
2014-01-30 10:37:08 -08:00
Yosef Or Boczko
2a02660dc0 Updated Hebrew translation 2014-01-30 13:32:18 +02:00
Charles Lindsay
3af6837e71 Add Geary.iterate to replace Collection.SingleItem
This adds a way to turn lists of items into a Geary.Iterable, which then
allows you to dump results into any kind of container.  This removes the
Collection.SingleItem class, which was no longer useful.

Closes: bgo #723208
2014-01-29 18:32:53 -08:00
Charles Lindsay
cce04b814f Add option to save sent mail
This adds the ability for Geary to push sent mail up to the account's
Sent Mail folder (if available).  There's an accompanying account option
that defaults to on (meaning: push sent mail).

The current implementation will leave messages in the Outbox (though
they won't be sent again) if they fail to be pushed to Sent Mail.  This
isn't the best solution, but it at least means you have a way of seeing
the problem and hopefully copying the data elsewhere manually if you
need to save it.

Note that Geary might not always recognize an account's Sent Mail
folder.  This is the case for any "Other" accounts that don't support
the "special use" or "xlist" IMAP extensions.  In this case, Geary will
either throw an error and leave messages in the Outbox, or erase the
message from the Outbox when it's sent, depending on the value of the
account's save sent mail option.  Better support for detecting the Sent
Mail folder in every case is coming soon.

Closes: bgo #713263
2014-01-29 18:18:31 -08:00
Wolfgang Steitz
0dcf353ac2 Fix unstarred icon's interior from selection color: Closes bgo#714426
This deals with both the star and unread icon, so both are good now.
Need to clean up the rest of the conversation list's selection probs,
bgo#723265.  Also would like to reduce the intensity of the icons,
bgo#720771.
2014-01-29 18:00:35 -08:00
Jim Nelson
86f1854edf Prevent reconnect loop from occurring
I noticed recently that when composing a draft message, if the
connection to the Drafts folder was dropped by the server, Geary
would enter a fast reconnect loop.  The problem was that, even if
Imap.Folder signals "disconnect", it's close_async() must be called.
This adds that logic to the background reestablishment code.
2014-01-29 12:08:39 -08:00
Jim Nelson
c7b56db19a Fix regression where folders were not regularly updated w/ STATUS info
Now that Imap.Folders are being preserved, need to update their
FolderProperties w/ STATUS results whenever listed.
2014-01-29 11:13:36 -08:00
Jim Nelson
0e6e97c729 Better ClientSession handling in Imap.Account
Simplifies handling connection drops, which occur more frequently
when AUTHORIZED rather than SELECTED/EXAMINED w/ IDLE.
2014-01-29 11:11:38 -08:00
Jim Nelson
1256d81dbd Fixes IMAP error causing all remote folders to be considered deleted 2014-01-29 11:06:32 -08:00
Olaf Leidinger
9197dffbd0 Fix German translation of SMTP error message: Closes bgo#723221 2014-01-29 11:03:13 -08:00
Charles Lindsay
a987318aee Fix nits in command line handling
Closes: bgo #722647
Closes: bgo #722463
2014-01-28 16:36:40 -08:00
Yosef Or Boczko
954f98887a Updated Hebrew translation 2014-01-23 11:04:30 +02:00
Fran Diéguez
6baa2ea75a Updated Galician translations 2014-01-20 23:59:56 +01:00
Wolfgang Steitz
9997d8e76b Render symbolic icons gray (like Nautilus): Refs bgo#720771
This fixes most of the problems, but the icons in the toolbar
and the Inbox icon in the sidebar are still black.
2014-01-20 11:39:52 -08:00
Jim Nelson
3ba75dac2a Unable to authenticate SMTP credentials: Closes bgo#721570
User's server was returning a status code that indicates an invalid
password, when in fact it was simply indicating that it didn't
support the AUTH type (even though it advertised it in its connect
capabilities).  This removes the error-checking by SMTP value and
simply attempts all chosed AUTH types.
2014-01-20 11:23:16 -08:00
Adolfo Jayme Barrientos
b4afcb76bb Updated Spanish translation 2014-01-20 10:06:46 +01:00
Marek Černocký
74c8728d90 Updated Czech translation 2014-01-19 16:21:09 +01:00
Jim Nelson
af10a76b1f Load local msgs and display new msgs more quickly: Closes bgo#713432
This patch is a grab-bag of fixes to get mail onto the screen faster
and report new mail waiting on the server more quickly.

In a nutshell:
  * Adds a NO_DELAY flag to Folder.open_async which indicates that
    background remote connections should initiate ASAP rather than
    wait for a local request that requires remote information.
  * Reduce creation of ImapDB.Folders (which, previously, were
    generated as though "cheap"), which means caching server
    information.  ImapDB now relies on ImapEngine to refresh that
    information on its own.
  * The background search table update is delayed to allow startup
    database tasks priority.
  * Rather than delay selection of a folder 100ms to prevent the user
    from holding down a key or clicking madly, the initial selection
    goes right through, but subsequent ones are delayed.  This may
    also help resolve bug #713468.
  * And the big one: ImapEngine.Account doesn't load local and remote
    folders in parallel at startup, but rather local first, reports
    them to the user, and then loads the remote and pairs the two.
    This gets the UI up and going much more quickly.
2014-01-17 16:34:19 -08:00
Charles Lindsay
cf8679e9b7 Get rid of unused bindings
Closes: bgo #722376
2014-01-17 14:31:15 -08:00