Commit Graph

5683 Commits

Author SHA1 Message Date
Daniel Applebaum 27e0ec1b80 Decrement mMessageCount when an untagged EXPUNGE is received 2009-05-06 00:12:30 +00:00
Bao-Long Nguyen-Trong 5be7ee8517 . Added Z as keyboard shortcut to toggle read flag
. Removed duplicate adapter notification and hence data reload
2009-05-05 16:26:04 +00:00
Jesse Vincent 28b054c8d2 v112 2009-05-05 04:53:29 +00:00
Jesse Vincent 1d7fdbeb92 expose download status of messages. slightly grey out messages that haven't yet been downloaded fully 2009-05-05 04:51:11 +00:00
Jesse Vincent 7cdac9e721 Flip the message color background to white in the message list for better contrast 2009-05-05 04:20:41 +00:00
Daniel Applebaum aac64b03a5 Make sure not to lose an untagged EXISTS, even if it came during a
command that we didn't handle properly.
2009-05-05 04:03:56 +00:00
Jesse Vincent 4ed1c82855 Proposed fix for "unreopenable" folders bug 2009-05-05 03:15:07 +00:00
Jesse Vincent fb7882411e v111 2009-05-05 02:13:42 +00:00
Jesse Vincent d20fbc09fc Stop using a custom WebViewClient - it caused keybinding and url-opening bugs.
If anything the new version feels a bit faster
2009-05-05 02:13:02 +00:00
Jesse Vincent 7dcd346e0f MessageView shouldn't swallow keybindings 2009-05-05 01:56:41 +00:00
Daniel Applebaum 651642faeb Automatically re-synchronize the IMAP protocol. Previously, losses of
synchronization could happen if an Exception was thrown while parsing
an untagged response without using executeSimpleCommand.  For
instance, while doing a fetch.  Once synchronization was lost, later
commands would fail in surprising ways.  One manifestation of such
failures was spontaneously emptying of folders when search results
were not returned properly.  The new code makes sure to only accept OK
responses with the tag of the command, and discards the untagged
responses from previous command.
2009-05-05 00:42:05 +00:00
Jesse Vincent 7daf4ef1e6 We don't actually want to clear out the plaintext version of the message. K-9 uses that for replies 2009-05-05 00:29:15 +00:00
Jesse Vincent dec4a6371f Fix auto-open of INBOX per danapple0 2009-05-05 00:24:18 +00:00
Jesse Vincent 90df78d5e8 v110 2009-05-03 20:54:06 +00:00
Jesse Vincent 323c294250 Move our linkification and htmlification of mesages from on-display to on-sync.
There's no need to defer this work until the user is waiting for it
2009-05-03 20:52:32 +00:00
Jesse Vincent f2fa5ae2f6 FolderMessageList performance improvement from debauchedsloth++ (Partial application of his patch from Issue 285) 2009-05-03 04:39:13 +00:00
Jesse Vincent 92a8c174cc All strings updates from debauchedsloth++'s patch in Issue 285 - not all strings are in use yet 2009-05-03 04:38:04 +00:00
Jesse Vincent 2dda469255 MessageView performance improvlements by debauchedsloth++ (This includes all changes from Issue 285's MessageView.java patch) 2009-05-03 04:36:33 +00:00
Jesse Vincent 4b444b2bcf don't try to recreate the indexes on every db update as it will surely fail 2009-05-03 04:22:34 +00:00
Jesse Vincent 46eef4589d Fixed issue 160 - Applied a patch to enable K9 to respond to addtional SEND intents 2009-05-02 22:30:08 +00:00
Jesse Vincent ab82b10918 Add a few indexes to the message and folder lists 2009-05-02 22:14:45 +00:00
Jesse Vincent d185adfc27 Fix up text/plain message view to escape < and > and & when converting plain text to html for display 2009-05-02 22:06:42 +00:00
Daniel Applebaum 0ffe1621a2 Issue 394
Issue 252

394: Replace code change lost with move of DAmail MailService.java to
K-9.  Eliminate the stopSelfs.  Without the stopSelfs, the Service
remains active and the Android platform is far less likely to kill the
process, although not absolutely forbidden from doing so.  Better will
be to implement the full BroadcastReceiver methodology referred to in
Issue 394, which would allow replacing the stopSelfs, which would make
K-9 a better good citizen.

252: Fix logic for raising and canceling notifications based on number
of new unread messages and total unread messages.
2009-05-02 14:49:29 +00:00
Daniel Applebaum b603d899db Issue 395
Fix database connection leak
2009-05-02 00:37:22 +00:00
Jesse Vincent d34b8119f6 release 109 2009-04-29 13:02:15 +00:00
Daniel Applebaum 509fa8c8d3 Issue 386 2009-04-28 12:23:57 +00:00
Jesse Vincent 8f41f8a96d Google changed the manifest requirements 2009-04-25 15:27:46 +00:00
Jesse Vincent 332b152ae6 v108 2009-04-25 15:11:33 +00:00
Jesse Vincent e6ea0d725c Made text_box_light have a white background 2009-04-25 15:10:33 +00:00
Jesse Vincent 973b3f63fa Made long email addresses not ovewrite dates in vertical folder message lists. 2009-04-24 07:36:26 +00:00
Jesse Vincent 989ccad161 Fix for issue 382 - Kind of ugly for the moment, but render the folder config popup as a popup.
This makes the menus it shows not white-on-white
2009-04-24 07:35:40 +00:00
Jesse Vincent 79623b2e70 release 107 2009-04-21 11:04:43 +00:00
Jesse Vincent 636127d6fb Make the folder selector use a new K9 dialog theme so it looks like a popup rather than the whole current app context
(This wouldn't be necessary, but the builtin dialog styles are broken for light themes before cupcake)
2009-04-21 10:43:18 +00:00
Daniel Applebaum d1661ee1f5 Reset mMessageCount before executing SELECT. Only handle untagged
responses to SELECT once.
2009-04-21 05:34:57 +00:00
Daniel Applebaum f0f07c36de Issue 63
Issue 201
Issue 224
Issue 342

Handle untagged EXISTS messages at any time.  Should increase
synchronization speed and accuracy.

Handle IMAP servers that send a NIL where a literal is normally.
Avoids failure to sync when folder contains certain messages.

Throw Exception if folder message count is less than 0, avoiding
accidentally emptying a folder.
2009-04-21 04:22:02 +00:00
Jesse Vincent b0a295e1a3 Re-add the code I removed twice, now that dan explained what it works around 2009-04-20 06:27:51 +00:00
Jesse Vincent ee92878d9e Small english localization cleanups 2009-04-20 02:07:47 +00:00
Jesse Vincent 6972a58801 Temporary fix for preferences theme - make it black until we figure out how to fix the dialogs 2009-04-20 01:59:23 +00:00
Jesse Vincent 1728f9bfa9 Fixing the background color of the textbox for new-message items 2009-04-20 01:46:14 +00:00
Jesse Vincent d0d6eb5442 Set the landscape-mode text colors to something more reasonable (and really "default") in the landscape xml layout templates
Re-remove the explicit subject color hardcoding in FolderMessageList.java
2009-04-20 00:58:50 +00:00
Daniel Applebaum c00eb30524 Restore text color handling 2009-04-19 14:59:18 +00:00
Jesse Vincent 64eda5106c Switch to a light visual theme more in keeping with every other mail client on the planet.
Start to improve padding/spacing/layout
2009-04-19 09:10:32 +00:00
Jesse Vincent e24b3429dc Allow the user to continue setup, even if their server settings don't work 2009-04-19 07:20:38 +00:00
Jesse Vincent 3ea142d60d 105 2009-04-17 16:16:18 +00:00
Daniel Applebaum 47f5230bed Issue 248
Issue 192

Do not remove markers for deleted messages, even if the corresponding
remote message is not returned by the remote store.  The remote
message may not be returned simply because the query did not encompass
it on this run.  If the account's delete policy is set to "Do not
delete from server", or the delete hasn't succeeded before a folder
refresh, a message for which the deleted marker has been removed can
errorneously reappear.

This will lead to the local store eventually having a large number of
deleted message markers.  In the long term, we'll need a way to manage
and possibly automatically remove them.
2009-04-17 03:22:45 +00:00
Daniel Applebaum 4ad4216de5 Fix problems connecting to POP3 servers which lack the CAPA command. 2009-04-15 13:05:29 +00:00
Jesse Vincent 7db506e2d0 104 release engineering 2009-04-12 02:01:38 +00:00
Daniel Applebaum 03dd89b3f9 Get rid of @Overrides that cause compilation failures with Java 1.5 2009-04-12 01:51:54 +00:00
Daniel Applebaum aa4a92a541 Application of patch submitted by cnehren for Issue 356, with
generalization.
2009-04-11 15:24:22 +00:00
Daniel Applebaum 932adf5ed2 Issue 143
Merged from branch issue143 @ revision 426:

Complete replacement for SharedPreferences.  Uses SQLite database
stored in application's databases folder.

Will load from legacy preferences if DB-backed preferences are empty.

Editor conforms to atomic commit contract.
2009-04-11 14:33:54 +00:00