1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-11 03:55:04 -05:00
Commit Graph

493 Commits

Author SHA1 Message Date
Bao-Long Nguyen-Trong
724c0aed31 Minor optiomization to help with the OutOfMemoryError pbs we have been getting 2009-05-12 05:31:21 +00:00
Bao-Long Nguyen-Trong
6caccc4ead . Rolled back some code from r505 that are not usefull. The code that really prevents the double message in POP3 is when we set the X_DOWNLOADED_FULL in the POP3 folder class 2009-05-11 23:31:59 +00:00
Bao-Long Nguyen-Trong
5ab77dcd64 Refactored message loading for view
--> Perfomance improvement: the code was doing duplicates calls to the server to set SEEN flag and duplicate access to the db.
2009-05-11 04:39:03 +00:00
Bao-Long Nguyen-Trong
7d98ed60ad Reverted signature formatting code that was not meant to be committed 2009-05-10 13:55:28 +00:00
Bao-Long Nguyen-Trong
bb8629abe8 . Potential fix for issue 404: now doing all HTMLization in one pass to minimize the amount of String objects 2009-05-10 07:05:24 +00:00
Bao-Long Nguyen-Trong
5b0dee8cc0 . Large messages are now only retrieved once for POP3 servers that don't support the TOP command 2009-05-10 05:47:26 +00:00
Bao-Long Nguyen-Trong
e844f4ab0c Fixed issue 191 2009-05-10 05:39:47 +00:00
Daniel Applebaum
97a4f97b64 Issue 234
Fix POP3 deletes.  Verizon uses - in their POP3 UIDs, and K9 was
assuming that only Local UIDs have -.  Removed that assumption.  Also,
after issuing DELE on POP3 connection, need to also issue a QUIT.  The
delete code in MessagingController now closes the folder after
deleting a message, which will slow down IMAP deletes, but also
conserve connections, so is probably a net benefit.
2009-05-09 15:22:36 +00:00
Jesse Vincent
718e27dab9 WebDavStore updates to fix authentication issues - based on design and counselling from ismarc31 2009-05-07 03:17:26 +00:00
Daniel Applebaum
96c98e3070 Reformat executeSimpleCommand 2009-05-06 00:16:47 +00:00
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