Commit Graph

1008 Commits

Author SHA1 Message Date
Daniel Applebaum 7a0eab967e Merged from:
1722 | danapple0 | 2010-05-22 12:34:16 -0500 (Sat, 22 May 2010) | 3 lines
Changed paths:
   M /k9mail/trunk/src/com/fsck/k9/mail/store/ImapStore.java

Make sure prefix is fetched before any call to getCombinedPrefix.
2010-05-22 17:44:54 +00:00
Daniel Applebaum a3238417e7 Fixes Issue 1653
Merged from:
1718 | danapple0 | 2010-05-22 09:28:04 -0500 (Sat, 22 May 2010) | 5 lines

Fixes Issue 1653

All set the display class, whether or not in push mode.
2010-05-22 15:10:20 +00:00
Daniel Applebaum 4475bcd3ea Merged from:
1707 | danapple0 | 2010-05-19 21:33:44 -0500 (Wed, 19 May 2010) | 7 lines
Changed paths:
   M /k9mail/trunk/src/com/fsck/k9/mail/store/ImapStore.java

After discussion with cketti, reinstate using LIST to find the path
delimeter, but only if the server does not support NAMESPACE.  Since
we've encountered non-compliant servers that freak out at the LIST
command, enclose in a try/catch structure so that failures do not
totally prevent IMAP communication.
2010-05-22 15:00:38 +00:00
cketti 2a802fbb80 Backported fix for issue 1555 (Correctly encode attachment filenames with non-ASCII characters). 2010-05-12 23:42:22 +00:00
Jesse Vincent 9c07f5bccd 2.600 2010-05-09 19:49:40 +00:00
cketti f094dee0c5 Back-porting the black background on finger swipe fix (issue 1004) 2010-05-05 10:33:32 +00:00
Daniel Applebaum 8c59a7c787 Merged from:
1584 | danapple0 | 2010-04-19 22:22:43 -0500 (Mon, 19 Apr 2010) | 5 lines
Changed paths:
   M /k9mail/trunk/src/com/fsck/k9/service/CoreService.java

Fixes Issue 1441

Shutdown threadPool when Service is destroyed.
2010-04-20 03:23:55 +00:00
Jesse Vincent 2464242c5e bump version to 2.591 2010-04-19 21:55:50 +00:00
Daniel Applebaum 7938bf7caa Merged from:
1561 | danapple0 | 2010-04-14 08:02:04 -0500 (Wed, 14 Apr 2010) | 6 lines
Changed paths:
   M /k9mail/trunk/src/com/fsck/k9/MessagingController.java

Fixes Issue 1130
Fixes Issue 1308

Some IMAP servers seem not to provide an INTERNALDATE response.
2010-04-14 13:07:07 +00:00
cketti 94235a69ad Merged r1558 (email address validation) and r1559 (NullPointerException in AccountSetupBasics) to 2.6-MAINT branch 2010-04-08 12:12:48 +00:00
Daniel Applebaum 7bd162c932 Merged from:
1552 | danapple0 | 2010-04-05 21:35:42 -0500 (Mon, 05 Apr 2010) | 4 lines
Changed paths:
   M /k9mail/trunk/src/com/fsck/k9/MessagingController.java

Protect against a NullPointerException that happened once, but should
never have happened.
2010-04-06 02:36:51 +00:00
Jesse Vincent ee1408b4b5 2.590 - the first build leading up to 2.600 2010-04-06 00:54:18 +00:00
Jesse Vincent 70b132d80a Create branch 2.6-MAINT 2010-04-06 00:52:13 +00:00
cketti 0a4577c930 Added code to only return newly created Account objects once they have been saved to the database (or are requested by UUID). This will allow the account creation process to be aborted without the application crashing (see issue 1375).
I don't particularly like this fix and hope to find a more elegant solution to this problem.

Kind of fixes issue 1375
2010-04-03 23:44:26 +00:00
cketti f911b0e436 Added support for the Android 1.6 intent android.intent.action.SEND_MULTIPLE in a way that should work on older devices too. Worked fine in the Android 1.5 emulator.
Fixes issue 1210
2010-04-02 01:43:56 +00:00
Daniel Applebaum 5d18781156 Fixes Issue 1343
Fixes Issue 1126

Apply skisters2's patch for the POP notifications.  Also, add another
setRingNotified at the beginning of each poll to make sure the account
is in the right state.
2010-03-30 02:58:21 +00:00
cketti 0e45438234 Updated german translation. Thanks to henning.stummer
Fixes issue 1253 (again)
2010-03-27 14:10:40 +00:00
cketti 648bec3efc Include support for another bad date format in the IMAP response parser.
Fixes issue 1295
2010-03-25 15:21:05 +00:00
cketti 50cd60787f Don't convert MIME content-type headers to lower case as this seems to cause problems.
Thanks to xingwang.xu for the analysis.

Fixes issue 1289
2010-03-25 14:39:07 +00:00
cketti d595033fa8 Work-around for a buggy POP3 server software that places "+OK" in front of every line of the unique-id listing (UIDL response).
Fixes issue 1237
2010-03-25 13:42:48 +00:00
cketti 938317e700 Get rid of the "Did not get proper search result" message. This helps with buggy IMAP servers that don't return an untagged SEARCH response if nothing was found. Other untagged responses are simply ignored.
Fixes Issue 907
2010-03-25 01:24:21 +00:00
Jesse Vincent 1516127b09 fixups to our upload step 2010-03-24 01:21:09 +00:00
Jesse Vincent f441e299b6 2.515 2010-03-24 01:12:06 +00:00
Jesse Vincent a923d066d4 Revert "Fix for issue 1138: New emails after the first do not play new mail ringtone until notifications are cleared by skister2"
(Temporary revert until an NPE is dealt with)

This reverts commit 4bf862a827a456ffed20be707387b9ca4f2b721f.
2010-03-24 01:11:58 +00:00
Jesse Vincent f349af5129 trying to get us back to "stock" build infrastructure 2010-03-24 01:11:49 +00:00
Jesse Vincent 9ca8e100e7 2.514 2010-03-23 03:19:28 +00:00
Jesse Vincent 9c9eb60993 Experimentally bump us up to the 2.0.1 SDK to use cketti's new code for addresses.
I'd bet 50% that we need to revert this in the end, but I wanted to get
a build out
2010-03-23 03:19:22 +00:00
Jesse Vincent 8ca034c3db Patch for issue 946: Only able to get contacts from a primary google
account by cketti
2010-03-23 03:19:12 +00:00
Jesse Vincent 85b65ca272 r2513 2010-03-23 02:41:54 +00:00
Jesse Vincent 50d1d7e7aa Fix for issue 1138: New emails after the first do not play new mail ringtone until notifications are cleared by skister2 2010-03-23 02:41:45 +00:00
Daniel Applebaum 6a984b3aee Incorporate Vincent Lum's ShowFolders2-48.png as the icon for the
"Folders" option menu in the Folder List.
2010-03-18 12:06:08 +00:00
Daniel Applebaum fa73f71e95 Fixes Issue 790
Tolerate malformed UIDL response.  Thanks to @bengnc for thorough
analysis in Issue 790.
2010-03-18 03:43:39 +00:00
Daniel Applebaum 76f33ba5ff Fixes Issue 1330
Flush the output stream so that small messages have bodies.  (And
presumably so that the entirety of big messages are sent.)
2010-03-18 03:23:45 +00:00
Daniel Applebaum ec9f395498 Fixes Issue 1090
Don't try to fetch content while reporting errors.

Generate unique URL for each upload.
2010-03-18 02:50:05 +00:00
Daniel Applebaum 24d96c36da Fixes Issue 1284
Remove notifications for removed accounts
2010-03-13 05:00:01 +00:00
Daniel Applebaum 8ae83fa488 Fixes Issue 1286 2010-03-13 04:53:30 +00:00
Daniel Applebaum bbedf7b9e0 Fixes Issue 1314 2010-03-13 04:49:15 +00:00
Jesse Vincent 983c171357 2.512 2010-03-09 11:29:10 +00:00
Daniel Applebaum 9d5803b174 Fixes Issue 981
Allow user to turn off gesture-based control.

Also, consolidate so that gestures could be used by other subclasses
of K9Activity.  Probably should be made usable to K9ListActivity, too,
by making MyGestureDetector its own class and make it used by
K9Activity and K9ListActivity, and have the Activities implement a
callback interface for onNext and onPrevious.
2010-03-07 23:43:27 +00:00
Daniel Applebaum f0808fb3e0 Fixes Issue 1291
Provides for the user to elect to have certain folders displayed first
in the FolderList.  Folders so elected are displayed in alphabetical
order first, then folders not so elected are displayed alphabetical
order.

No special handling is done for Inbox any more, except that it is in
"top group" by default, to preserve current behavior until the user
changes the settings.
2010-03-07 17:02:21 +00:00
Daniel Applebaum df4c768fea Remove SD card strings, as the compiler complains that there is no
default localization.
2010-03-07 16:57:19 +00:00
Daniel Applebaum 2212236418 Should have been committed with r1491 for Issue 1224 2010-03-07 00:39:26 +00:00
Daniel Applebaum ecc10e572f Fixes Issue 1224
Implement DEFLATE compression for IMAP communication, enabled by
default.  User can disable compression for Wi-Fi, Mobile, or Other
networks, if it causes problems or if uncompressed communication is
faster, which is possible on Wi-Fi and wired networks, especially.

"Other" is to allow for the Android platform to introduce new
networking types without having to immediately change K-9 Mail.
However, as those arise, new network types should be added as explicit
types in K-9 Mail.
2010-03-07 00:30:40 +00:00
Daniel Applebaum c0e4220b82 Fixes Issue 1116
Fixes Issue 1278
Fixes Issue 119
Fixes Issue 1077
Fixes Issue 1238

Worked performed by danapple0 and cketti in
https://k9mail.googlecode.com/svn/k9mail/branches/issue1116

Add support for most batch ops (except move and copy) in search
results.  Add support for batch move and copy on real folders.

Increase efficiency of bulk IMAP moves and copies by doing as multiple
UID operations.

Eliminated serialization of Account objects.

Provide up-references in useful places to make all future code cleaner
and more efficient.

Fixed a bunch of draft handling

Merged from issue1116 branch, except for Account.java, which was
copied wholesale.  Account.java was manually merged in issue1116
branch at r1489

svn merge -r 1459:1489 https://k9mail.googlecode.com/svn/k9mail/branches/issue1116 .
cp ../issue1116/src/com/fsck/k9/Account.java src/com/fsck/k9/Account.java
2010-03-04 04:00:30 +00:00
Jesse Vincent 9e855c9ebd 2.511 2010-03-02 08:02:46 +00:00
cketti 6fb59467b7 Changed SmtpTransport.writeLine() to only use one OutputStream.write() call. Apparently some servers got the "be liberal in what you accept from others" part of the robustness principle wrong. When we used multiple calls in writeLine() (command + CR + LF) a separate TCP packet was send each time. It appears that those broken servers accepted the DATA command after DATA + CR and interpreted the LF as part of the actual data. This caused our headers to become part of the body because that LF was interpreted as the empty line that separates headers and body.
As a side effect of this fix sending mail could be slightly faster now due to less packets being sent.

Big thanks to Kevin Newland of Michigan Technological University for organizing a test account.

Fixes issue 799
2010-03-02 02:48:52 +00:00
Daniel Applebaum 97c7bf1d65 Hopeful (but untested code) to get updated capabilities after
successful CRAM-MD5 authentication.
2010-02-27 17:48:00 +00:00
Daniel Applebaum f6e7d5d4c0 Fixes Issue 1252
Handle CAPABILITY response in following cases:
1) When sent as part of the banner, no longer sends explicit
CAPABILITY command

2) When sent as an UNTAGGED response to LOGIN, updates stored
   capabilities.

3) When sent as part of the TAGGED response to LOGIN, updates stored
   capabilities.

Due to odd implementation of the CRAM-MD5 authentication, the
capability updates will not happen as part of the CRAM-MD5
authentication.
2010-02-27 17:34:38 +00:00
Robert Jacob 8eb8e392ca Issue 1253
Updated german localization with new strings.
2010-02-24 22:50:33 +00:00
Robert Jacob 583d827c60 Don't let eclipse build the .svn directories. 2010-02-21 15:25:16 +00:00