ashley willis
321fbe614d
use the new way on internal storage, or the original way otherwise
2012-05-08 18:29:23 -05:00
ashley willis
abf2eea10e
fixed previous commit due to crashing on 2.1 devices
2012-05-07 09:22:41 -05:00
ashley willis
1b65ad8415
fixed security issue -- account databases previously world-readable and accessible to any app if UUID is known.
2012-04-26 08:03:58 -05:00
cketti
2a27f5005b
Fixed rare NullPointerException
2012-02-14 01:04:00 +01:00
cketti
4f4ef8a9e0
Restore mark as unread in message view
...
Fixes issue 3958
Fixes issue 3319
2012-01-27 08:44:55 +01:00
cketti
5b7cf15753
Reload accounts after writing imported account settings to storage
...
This makes sure that when the next account is imported it will see the
account just imported. That's necessary e.g. when going though all
accounts to find the next free account number, or when avoiding account
name conflicts.
2012-01-21 03:12:19 +01:00
cketti
45e7afc60e
Make sure an IOException is always passed through as MessagingException
...
This is important for the code handling pending actions in
MessagingController. If a non-permantent MessagingException is
encountered, the pending action is retried later.
Fixes issue 3696
2012-01-20 20:04:08 +01:00
cketti
03eefaab95
Create proper ImapStore URI when an empty path prefix is imported
...
Fixes issue 3986
2012-01-10 17:09:58 +01:00
cketti
37b26ffe84
Be more careful when deleting an account
...
Fixes issue 3954
2012-01-08 04:42:29 +01:00
Andrew Chen
512386e763
Issue 3875: Revert to the old way of determining minimum swipe distance.
2012-01-07 11:02:35 -08:00
cketti
632d704e58
Show/hide ListView footer depending on message list type
...
Fixes issue 3946
2011-12-31 02:22:31 +01:00
wongk
8f061b14ee
Fixed the parsing of response data for WebDAV requests.
2011-12-28 14:23:08 -05:00
cketti
07caf62014
Fixed creation of store URIs when a "path" was used.
2011-11-30 03:01:01 +01:00
cketti
7df4fa18c6
Fixed "managed" back button behavior in MessageView
2011-11-26 03:18:52 +01:00
cketti
d884721161
Fixed bug where "Save draft?" dialog wasn't shown
...
With Android 1.5/1.6 and "Manage back button" disabled the "Save draft?"
dialog was never shown when leaving MessageCompose.
2011-11-12 00:54:10 +01:00
cketti
a69f05c5f4
Don't call super.onBackPressed()
...
MessageView contained code that would call super.onBackPressed() if the
parent class had such a method (checked using reflection). But the
bytecode verifier prevented loading of MessageView because it contained
a (static) call to super.onBackPressed(). For this to work the method
had to be called using reflection.
I removed this code entirely since we don't do it in MessageList and
FolderList either. And all the time it worked just fine.
With that change we can re-enable support for Android 1.5-2.0.1 devices.
2011-11-09 22:35:22 +01:00
cketti
d0bc28bff7
Turn off developer mode for 4.0
2011-11-09 18:20:08 +01:00
cketti
4a7a8cc213
Merge branch 'reply-after-quote' of git://github.com/ashleywillis/k-9 into 4.0-MAINT
2011-11-09 03:18:42 +01:00
ashley willis
efe591c34d
added "mQuotedHtmlContent.setFooterInsertionPoint(bodyOffset);" because bodyOffset could refer to header or footer
2011-11-07 01:59:03 -06:00
cketti
6497ac4cf4
Default authentication type for SMTP is automatic
2011-11-07 01:58:38 +01:00
cketti
6d9463801e
Don't call promptForServerPasswords() if we already know all passwords
2011-11-07 01:45:52 +01:00
cketti
d6c03de6f5
Fixed logic bug that prevented imported accounts from being recognized
...
We have to add new account UUIDs to "accountUuids" for them to show up
in the account list.
2011-11-07 01:45:52 +01:00
cketti
e2e9f8b6a3
Fixed startActivityForResult() failing for MessageList
...
Fixes issue 3638
2011-11-07 00:07:06 +01:00
Jesse Vincent
7ca72b9d0f
Work around broken office suites by sending an explicit mime type with files we open
2011-11-06 17:00:25 -05:00
cketti
70dc27c481
Make MimeUtility.getMimeTypeForViewing() return lower case MIME types
...
MIME type matching in Android is case-sensitive. So we convert the MIME
types we read from the email to lower case.
2011-11-06 02:05:47 +01:00
cketti
88a2dd6289
Merge branch 'issue549'
...
Conflicts:
src/com/fsck/k9/Account.java
src/com/fsck/k9/mail/store/WebDavStore.java
2011-11-05 18:47:55 +01:00
Andrew Chen
4a1046a893
Merge pull request #93 from andrewgaul/cursor-close-quietly
...
Introduce and use Utility.closeQuietly(Cursor)
2011-11-04 16:20:22 -07:00
Andrew Gaul
39aa577651
Introduce and use Utility.closeQuietly(Cursor)
...
This helper is in the same spirit as IOUtils.closeQuietly.
2011-11-04 09:58:55 -07:00
Andrew Gaul
d301089f3c
Avoid string concatenation in String.format
2011-11-03 18:47:34 -07:00
cketti
5d9bf309c9
Avoid NullPointerException in services when process/service is restarted
...
See issue 3750
2011-11-03 22:10:24 +01:00
Andrew Chen
57e0abbf8f
Merge pull request #84 from andrewgaul/api7
...
Use LinkedList instead of Deque.
2011-11-03 07:41:09 -07:00
Andrew Chen
981dc6cca6
Merge pull request #92 from andrewgaul/remove-combine-uuids
...
Prefer Utility.combine over Account.combinedUuids
2011-11-03 06:41:33 -07:00
Andrew Chen
7f046e5f0a
Merge pull request #91 from andrewgaul/findbugs-stream-close
...
Improve the way we open/close streams.
2011-11-03 06:40:07 -07:00
Andrew Chen
d80e5bfbd0
Merge pull request #90 from andrewgaul/close-quietly
...
Call IOUtils.closeQuietly instead of using empty try/catch block.
2011-11-03 06:35:42 -07:00
Andrew Chen
64b299ebec
Merge pull request #89 from andrewgaul/is-empty
...
Prefer Collection.isEmpty over size
2011-11-03 06:34:15 -07:00
Andrew Chen
9e74f9ffcf
Merge pull request #88 from andrewgaul/log-throwable
...
Log Throwables instead of concatenating
2011-11-03 06:32:20 -07:00
Andrew Chen
64e2247e8f
Merge pull request #87 from andrewgaul/map-initialization
...
Optimize static map, remove unneeded inner class, and use unmodifiable map.
2011-11-03 06:31:32 -07:00
Andrew Chen
8dccc7a996
Merge pull request #86 from andrewgaul/findbugs-concatenation
...
Prefer StringBuilder.append over String.concat
2011-11-03 06:28:51 -07:00
Andrew Gaul
c2e9e4b345
Prefer Utility.combine over Account.combinedUuids
2011-11-02 22:57:06 -07:00
Andrew Gaul
b53b0d33ba
Close streams on exceptional paths
...
Addresses FindBugs complaints.
2011-11-02 22:48:37 -07:00
Andrew Gaul
b1a807a712
Call IOUtils.closeQuietly where appropriate
2011-11-02 22:22:15 -07:00
Andrew Gaul
2599bdcc75
Log Throwable instead of concatenating
2011-11-02 22:18:30 -07:00
Andrew Gaul
70b635ec30
Initialize static map optimally
...
Remove unneeded inner class, use unmodifiable map, and mark as static.
2011-11-02 22:16:12 -07:00
Andrew Gaul
cb14cd9d78
Prefer StringBuilder.append over String.concat
...
Addresses FindBugs complaints.
2011-11-02 22:10:02 -07:00
Andrew Gaul
61c850e077
Remove dead stores
...
Addresses FindBugs complaints.
2011-11-02 22:02:41 -07:00
Andrew Gaul
98d0b61890
API 7 fixes
2011-11-02 20:47:48 -07:00
Andrew Gaul
647ae0a31c
Prefer Collection.isEmpty over size
2011-11-02 20:03:07 -07:00
Andrew Chen
674c39f3d5
Merge pull request #80 from andrewachen/unify_gesturedetector
...
Make the K9Activity.GestureDetector reusable
2011-11-02 18:04:01 -07:00
Andrew Chen
1e9a40ffd2
Merge pull request #81 from aatdark/issue3814
...
Improve handling of From: Headers without parseable email addresses (fixes 3814)
2011-11-02 17:55:58 -07:00
Bernhard Redl
68cecb168e
added testcases for address#parse function,changed empty to null (conforms to existing code)
2011-11-03 01:36:57 +01:00