cketti
fec6434f08
Removed unused code
2012-01-04 03:57:54 +01:00
cketti
71174417ce
Clone Message object to avoid ConcurrentModificationExceptions
...
Fixes issue 3953
2012-01-04 03:57:53 +01:00
edpeur
daeedc2222
Close resources properly
2011-12-31 17:38:41 +00:00
cketti
0aa513429a
Show/hide ListView footer depending on message list type
...
Fixes issue 3946
2011-12-31 02:24:54 +01:00
wongk
fb3cd234fa
Merge branch 'master' of github.com:k9mail/k-9
2011-12-28 14:04:37 -05:00
wongk
b2d5ea3ce2
Fixed the parsing of response data for WebDAV requests.
2011-12-28 14:03:44 -05:00
cketti
852dca4124
Removed unused import
2011-12-26 02:30:59 +01:00
András Veres-Szentkirályi
39ef1ae9a4
Removed overrides merely calling super()
2011-12-26 02:28:32 +01:00
András Veres-Szentkirályi
cea6f4468d
Removed unused private field
2011-12-26 02:28:31 +01:00
András Veres-Szentkirályi
1949067979
Removed unnecessary return statement
2011-12-26 02:28:30 +01:00
András Veres-Szentkirályi
de30c712f9
Removed duplicate import
2011-12-26 02:28:30 +01:00
András Veres-Szentkirályi
b9ea7db5da
Removed unneeded semicolons
2011-12-26 02:28:29 +01:00
cketti
6de081c5b0
Minor cleanup
2011-12-19 02:21:27 +01:00
mwolschon
696666ca5e
Issue 1303: can't send mail get "no route to host" error
2011-12-19 02:10:17 +01:00
mwolschon
2bfe1f4533
Issue 17: Hierarchical folder list / folder tree
2011-12-15 10:34:29 +01:00
cketti
61ca1a2ae2
Use internal representation for settings during the upgrade process
...
This avoids constant conversion between the string representation used
in preference storage and the internal representation.
2011-12-11 06:02:31 +01:00
cketti
345f4c2939
Code cleanup; no functional changes
2011-12-11 05:16:22 +01:00
cketti
18a58e2872
Added code to upgrade settings on import
...
This allows us to import files with an outdated content version, then
upgrade the settings to the current content version.
2011-12-11 05:16:22 +01:00
cketti
d57e684296
Extended *Settings classes to handle multiple versions
2011-12-11 05:16:22 +01:00
cketti
50058a92db
Fixed "managed" back button behavior in MessageView
2011-12-05 18:16:43 +01:00
Koji Arai
d1778e0303
mIgnoreOnStop should be set to true when call startActivityForResult()
2011-12-04 05:25:57 +09:00
cketti
63605b65b6
Add support for new auto-detect namespace setting to ImapStore
2011-12-01 06:30:47 +01:00
cketti
017033cd53
Changed UI to allow selecting the empty IMAP namespace
2011-12-01 06:05:05 +01:00
cketti
75cdbd860e
Only save IMAP path prefix in store URI if auto-detection isn't used
2011-12-01 05:58:44 +01:00
cketti
f729dd72dc
Code cleanup
2011-12-01 05:17:32 +01:00
cketti
9f41afc6e7
Use Store.createStoreUri() in AccountSetupIncoming
2011-12-01 05:10:13 +01:00
cketti
f2253a95d7
Modified ServerSettings to be able to create instances with "extras"
2011-12-01 02:57:53 +01:00
cketti
cb7b88680b
Use Store.decodeStoreUri() in AccountSetupIncoming
2011-12-01 02:28:57 +01:00
cketti
9e0ea7dd79
Extended ImapStore URI to support empty IMAP path prefix
2011-12-01 01:57:50 +01:00
cketti
d6fbeb2913
Fixed creation of store URIs when a "path" was used.
2011-11-29 21:45:52 +01:00
cketti
9350a3b1b6
Merge pull request #105 from andrewgaul/writer-string-concatenation
...
Avoid string concatenation in Writer.write
2011-11-27 16:32:25 -08:00
cketti
23c72cd181
FixedLengthInputStream - code cleanup
...
Inspired by andrewgaul
2011-11-28 01:21:50 +01:00
cketti
798d6753dd
FixedLengthInputStream - implement skip which honors mLength
...
Patch by andrewgaul
2011-11-28 01:14:49 +01:00
cketti
e145a621c7
FixedLengthInputStream - increment mCount only when read() succeeds
...
Patch by andrewgaul
2011-11-28 01:10:41 +01:00
Andrew Gaul
368bac851b
Prefer Boolean constants over Boolean.valueOf
2011-11-27 15:10:58 -08:00
Andrew Gaul
e93510b4b3
Avoid string concatenation in Writer.write
2011-11-27 13:57:11 -08:00
Andrew Gaul
057b316bcb
Avoid NPE in getOldestMessageDate
...
Caused by autounboxing a possibly null Long into a long.
2011-11-27 10:35:06 -08:00
Andrew Chen
4b548169d6
Merge pull request #82 from ashleywillis/issue-1424
...
Issue 1424: saving duplicate or similar drafts fixed.
2011-11-21 11:13:09 -08:00
Andrew Chen
6fc22283db
Merge pull request #102 from ashleywillis/pgp-fixes
...
Pgp-related fixes (issues 2152, 2900, 3673, partially 1424)
2011-11-21 07:28:16 -08:00
cketti
20eab9c812
Rewrite application/x-zip-compressed to application/zip
2011-11-21 11:49:03 +01:00
ashley willis
e9c8ec5598
Merge branch 'master' into pgp-fixes
2011-11-21 02:24:10 -06:00
ashley willis
94ba9bf71f
added comments, reworked a bit, and created warning dialog if some recipients don't have keys saved.
2011-11-21 01:59:51 -06:00
cketti
73edf5c31a
Fixed problem with back button because of custom dispatchKeyEvent()
2011-11-20 21:29:18 +01:00
ashley willis
18ad12eda7
incremented Settings.VERSION
2011-11-19 18:15:20 -06:00
ashley willis
079996ebe5
refuse to save draft marked encrypted
2011-11-19 18:05:24 -06:00
ashley willis
c49d1ecc8e
removed code from previous commit disabling of syncing drafts to be encrypted.
2011-11-19 13:34:26 -06:00
ashley willis
51c662f0d0
pgp issues 2152, 2900, and 3673. also option to disable not-yet-encrypted drafts related to issue 1424.
2011-11-19 00:49:04 -06:00
Koji Arai
d82d0a220c
Fixed Issue 3850. Revert part of the onBackPressed() magic to back from MessageView.
...
At least, this code still needed on android.os.Build.VERSION.SDK_INT == GINGERBREAD_MR1.
2011-11-17 22:52:35 +09:00
cketti
fe727f8b20
Merge pull request #98 from cketti/remove_legacy_code
...
Remove legacy code
2011-11-15 20:07:23 -08:00
cketti
4f060642ee
Merge branch 'imap_parser'
2011-11-16 04:52:05 +01:00
cketti
99163dc9b9
Removed isSizeOrExpungeResponse()
...
I don't understand what the purpose of this code was. It stopped parsing
before the end of the line was reached, thus causing problems with
parsing subsequent lines of the response.
2011-11-16 04:48:50 +01:00
cketti
8cdd283bb8
Added Javadoc comment
2011-11-16 03:59:27 +01:00
cketti
e9b0f82c11
Minor code cleanup
2011-11-16 03:23:59 +01:00
cketti
f8779095d9
Parse resp-text on command continuation requests
2011-11-16 03:17:36 +01:00
cketti
43f5cbb361
Renamed parseStatusResponse() to parseResponseText()
2011-11-16 03:11:35 +01:00
cketti
727c8564ec
Cleaned up readTokens()
2011-11-16 03:10:26 +01:00
cketti
688db057ac
Removed unused imports
2011-11-16 02:51:46 +01:00
Andrew Chen
97bfb5e229
Merge branch 'star-confirm' of https://github.com/ashleywillis/k-9 into pull-101
...
* 'star-confirm' of https://github.com/ashleywillis/k-9 :
Option to have confirmation on deleting starred messages.
incremented preferences/Settings.VERSION for new settings
2011-11-15 11:21:27 -08:00
ashley willis
6a02552b23
incremented preferences/Settings.VERSION for new settings
2011-11-15 13:01:30 -06:00
Andrew Chen
ec17cd3c38
Merge pull request #100 from ashleywillis/autoformat
...
Message Format: Automatic (plain text unless replying to an HTML message)
2011-11-15 10:13:45 -08:00
ashley willis
6694f637e3
capitalization and change of variable names.
2011-11-15 00:42:37 -06:00
ashley willis
3ffb5021e1
Option to have confirmation on deleting starred messages.
2011-11-15 00:28:41 -06:00
Jesse Vincent
a8ef6594ec
Preserve header order (with the exception of duplicate headers like
...
"received" they all show up where the first one did
2011-11-15 00:00:42 -05:00
Andrew Chen
c642b10b39
Merge pull request #99 from andrewachen/autoconfig_gmail_yahoo
...
Do a better job of auto-configuring Yahoo! and Gmail accounts
2011-11-14 18:57:38 -08:00
Andrew Chen
7ca438669e
Add theoretical support for RFC6154 SPECIAL-USE for auto-configuration.
2011-11-14 18:55:11 -08:00
Andrew Chen
95215f00b7
Kerio also supports auto-configuration; remove the gmail.com requirement to use XLIST for auto-configuration.
2011-11-14 18:27:08 -08:00
Andrew Chen
2f3565d180
Implement Gmail's XLIST IMAP command to determine Gmail-specific folders.
2011-11-14 18:15:32 -08:00
ashley willis
994f474aae
configured so setting message format to auto does not break k-9 if it is downgraded.
2011-11-14 20:12:08 -06:00
Andrew Chen
58d20a501a
Set the IMAP namespace for Gmail during auto-configuration.
2011-11-14 15:42:50 -08:00
Andrew Chen
44cc1930d5
If we auto-config a Yahoo! account, set the spam folder to be "Bulk Mail."
2011-11-14 15:42:40 -08:00
ashley willis
9201d16659
add MessageFormat.AUTO so that text/html messages are created only when necessary.
2011-11-14 17:28:45 -06:00
Andrew Chen
22e61b987e
Add javadoc for getSignatureHtml() and use StringUtil.isNullOrEmpty().
2011-11-14 14:23:29 -08:00
ashley willis
37f480c969
Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97 .
...
Option to strip signature from quoted text in replies.
Strips signature from quoted text in replies (line of /^-- $/ or html
equivalent, and everything below). Per account.
2011-11-14 14:00:15 -08:00
ashley willis
1012ad56dd
Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/96
2011-11-14 13:20:07 -08:00
cketti
be70120ee5
Use Service.onStartCommand() instead of deprecated Service.onStart()
2011-11-10 06:36:14 +01:00
cketti
8c8b3eea9e
Use Intent.ACTION_SEND_MULTIPLE instead of string constant
2011-11-10 05:44:30 +01:00
cketti
07fa0c7264
Use Build.VERSION.SDK_INT instead of parsing Build.VERSION.SDK
2011-11-10 05:39:04 +01:00
cketti
14ff4d006e
Removed onBackPressed() magic
2011-11-10 05:38:52 +01:00
cketti
85f556e6c9
Removed helper function to create AbsoluteSizeSpan objects
2011-11-10 05:38:51 +01:00
cketti
5eb2533bcb
Removed code for old contacts API (ContactsSdk3_4)
2011-11-10 05:05:06 +01:00
cketti
c5cc62b570
Removed AutoSyncHelper and use API 5 methods directly
2011-11-10 05:05:05 +01:00
Andrew Chen
a2fcb54507
Merge pull request #95 from ashleywillis/reply-after-quote
...
added "mQuotedHtmlContent.setFooterInsertionPoint(bodyOffset);"
2011-11-07 15:51:05 -08:00
Andrew Chen
ef631e21d1
Merge pull request #83 from andrewachen/messageview_save_location
...
Restore position in MessageView after rotation screen.
2011-11-07 09:57:18 -08: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
ashley willis
2b77c6e35c
moved code from onStop() to onPause() since onStop() may never be called.
2011-11-04 02:33:56 -05: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
ashley willis
7f582f5a38
added mIgnoreOnStop for when adding an attachment.
2011-11-03 15:38:53 -05:00
Andrew Chen
f6eea9f014
Move the listener logic out of the Activity and into the View.
...
Change variable naming in ToggleScrollView to meet standard.
Cache the result of computeVerticalScrollRange() in ToggleScrollView.
2011-11-03 09:14:42 -07: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