Commit Graph

1672 Commits

Author SHA1 Message Date
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
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 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