1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

1744 Commits

Author SHA1 Message Date
Jesse Vincent
f9981dcf7c lift hasAttachments to LocalMessage 2010-11-27 04:02:56 +00:00
Jesse Vincent
ae7ce4de7b fix the eclipse project name 2010-11-26 03:53:18 +00:00
Jesse Vincent
1149f2d916 refactor getHeaders and removeHeaders to use a common method and an
iterator to address a Market FC:

java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.fsck.k9.mail.internet.MimeHeader.getHeader(MimeHeader.java:87)
at
com.fsck.k9.mail.internet.MimeHeader.getFirstHeader(MimeHeader.java:51)
at
com.fsck.k9.mail.internet.MimeMessage.getFirstHeader(MimeMessage.java:437)
at
com.fsck.k9.mail.internet.MimeMessage.getContentType(MimeMessage.java:130)
at
com.fsck.k9.mail.internet.MimeMessage.getMimeType(MimeMessage.java:159)
at
com.fsck.k9.mail.internet.MimeUtility.findFirstPartByMimeType(MimeUtility.java:971)
at com.fsck.k9.crypto.Apg.isEncrypted(Apg.java:464)
at
com.fsck.k9.activity.MessageView.updateDecryptLayout(MessageView.java:2702)
at
com.fsck.k9.activity.MessageView$Listener$6.run(MessageView.java:2466)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
2010-11-26 03:53:15 +00:00
Jesse Vincent
23254e8998 BatchButton area toggling should't happen from anything other than the
UiThread:

Fixes a common error from the market:

android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRoot.checkThread(ViewRoot.java:2802)
at android.view.ViewRoot.invalidateChild(ViewRoot.java:607)
at android.view.ViewRoot.invalidateChildInParent(ViewRoot.java:633)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:2505)
at android.view.View.invalidate(View.java:5139)
at android.view.View.setFlags(View.java:4502)
at android.view.View.setVisibility(View.java:3030)
at
com.fsck.k9.activity.MessageList.hideBatchButtons(MessageList.java:2883)
at
com.fsck.k9.activity.MessageList.toggleBatchButtons(MessageList.java:2906)
at com.fsck.k9.activity.MessageList.access$500(MessageList.java:77)
at
com.fsck.k9.activity.MessageList$MessageListAdapter.pruneDirtyMessages(MessageList.java:2302)
at com.fsck.k9.activity.MessageList$1.run(MessageList.java:811)
2010-11-26 03:53:10 +00:00
Marcus Wolschon
4f08820683 http://code.google.com/p/k9mail/issues/detail?id=2682
mark multiple mails as SPAM
2010-11-22 08:12:48 +00:00
Koji Arai
0206ebf809 Fixed issue 2680
Should not set empty string in auto-expand folder list.
2010-11-21 13:25:21 +00:00
Jesse Vincent
3380cc8af4 Bumped manifest to 3.316 2010-11-21 05:32:10 +00:00
Jesse Vincent
5d33bc044b when a message is seen _decrement_ the unread count, don't increment it 2010-11-21 05:31:42 +00:00
Jesse Vincent
14152a8585 Don't compare whether we're setting the delete flag with whether the
message is seen or not. (logic error)
2010-11-21 05:31:38 +00:00
Jesse Vincent
0e5b5de409 update our counts on destroy before actually destroying the message, so
we have something to call isSet on
2010-11-21 05:31:34 +00:00
Jesse Vincent
43cef54ad6 We don't cache positive DNS lokups. We shouldn't cache negative DNS lookups either 2010-11-21 02:10:59 +00:00
Koji Arai
6c3838909f Updated Japanese translation. 2010-11-20 19:44:25 +00:00
Koji Arai
884829a2e7 Newly added Japanese 2 providers. 2010-11-20 19:44:06 +00:00
Jesse Vincent
b8550c9508 Bumped manifest to 3.315 2010-11-20 05:08:49 +00:00
Jesse Vincent
5797e9f3a2 Bumped manifest to 3.315 2010-11-20 05:08:38 +00:00
Jesse Vincent
bc8e56262e Icon updates from Pierre-Luc Auclair 2010-11-20 05:08:32 +00:00
Fiouz
e8f1584c78 Fix version-name variable name spelling (was version.name) in commit-version target 2010-11-18 20:00:51 +00:00
Jesse Vincent
ee11aa406e Bumped manifest to ${version.name} 2010-11-18 19:42:53 +00:00
cketti
389502da55 Fixed account shortcuts
- Fixed NullPointerException
- Removed unnecessary stuff (originally copied from Accounts activity)
2010-11-18 09:09:57 +00:00
cketti
0560dc28d9 Don't use the application context to start the Accounts activity (because then we'd have to create a new task)
Fixes issue 2653
2010-11-18 09:08:40 +00:00
Fiouz
b9c3db8f79 "Updated res/values-de/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:33 +00:00
Fiouz
6990a0a5aa "Updated res/values-fr/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:26 +00:00
Fiouz
3483b0cd93 "Updated res/values-pl/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:20 +00:00
Fiouz
fa234d86e2 "Updated res/values-sv/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:15 +00:00
Fiouz
9a553d168e "Updated res/values-fi/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:09 +00:00
Fiouz
0039c7ad29 "Updated res/values-zh-rCN/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:07:05 +00:00
Fiouz
ce9c5fa43c "Updated res/values-it/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:59 +00:00
Fiouz
1a08951c6e "Updated res/values-fr-rCA/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:55 +00:00
Fiouz
cad7691df5 "Updated res/values-cs/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:50 +00:00
Fiouz
b5df3f3c3a "Updated res/values-ja/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:45 +00:00
Fiouz
c8137b3ea5 "Updated res/values-nl/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:41 +00:00
Fiouz
f4a6969ac9 "Updated res/values-ru/strings.xml to match r2744 (folder string identifiers changed)" 2010-11-17 22:06:36 +00:00
Fiouz
a67a2022d3 Added method name logging on transaction logging, when debug is enabled 2010-11-17 21:11:07 +00:00
Fiouz
dc16657480 Made LocalStore.destroy() transactional 2010-11-17 21:10:45 +00:00
Jesse Vincent
46300ac421 Move our "pick a folder" preferences out of the account setup wizard,
where you're unlikely to even have access to them the first time you
walk through into the "Folders" preferences.

At the same time, move toward using a list preference widget, rather
than a custom activity.
2010-11-17 03:43:02 +00:00
Jesse Vincent
b6ccba9c7d When getting a list of folders out of the database, ask for it in
asciibetical order, rather than random order
2010-11-17 03:42:14 +00:00
Jesse Vincent
7291486ca0 No longer delete the Outbox every time it's empty - it makes it somewhat
more difficult to work with. If we want to hide it when it's empty,
that's fine. but it's not necessary to delete it.
2010-11-17 03:41:37 +00:00
Jesse Vincent
a74643e5c1 Bumped manifest to ${version.name} 2010-11-15 01:31:45 +00:00
Jesse Vincent
80e4de6db4 fix a deleted message count logic error 2010-11-15 01:31:20 +00:00
Jesse Vincent
4f4fe87d5f Minor refactoring of flag setting code 2010-11-15 01:31:16 +00:00
Jesse Vincent
36714d3b4a astyle 2010-11-15 01:31:11 +00:00
Fiouz
f9d828a62c Improved some comments 2010-11-14 23:21:48 +00:00
Jesse Vincent
db2b177a79 Relabeled the "Choose Identity" menu item in message compose to be a bit
more obvious to end users.

Split out the "choose identity" icon from the "cc" icon, though they're
still the same image, at least they're logically separate
2010-11-14 15:36:52 +00:00
Jesse Vincent
620b6f3907 providers.xml update from Froyo AOSP 2010-11-14 15:20:54 +00:00
Jesse Vincent
730febf6b9 fixing the name of the sort icon for hdpi 2010-11-14 13:38:15 +00:00
Jesse Vincent
1f80b7c723 New hdpi icons from plauclair 2010-11-14 03:39:32 +00:00
cketti
58ca9fe740 Changed external intent (e.g. Intent.ACTION_SEND_TO) handling code in MessageCompose
- extracted handling of external intents to a new method
- only allow mailto URI for ACTION_VIEW and ACTION_SENDTO (as documented by AOSP)
- allow additional recipients via "to" parameter in mailto URI
- removed check for allowed MIME type when adding attachments since we're accepting all MIME types anyway
- show CC and BCC text fields when one of those recipient types was set by the intent
- use MIME type specified in intent for attachments (if present and doesn't contain a "*")
2010-11-14 02:27:42 +00:00
Jesse Vincent
914a462afd Bumped manifest to ${version.name} 2010-11-14 00:50:55 +00:00
Jesse Vincent
675651286b Added the ability to completely wipe the localy cached messages of a syncced folder. 2010-11-14 00:49:25 +00:00
Jesse Vincent
32ea04a5b3 kill a temporary variable 2010-11-14 00:49:21 +00:00