1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 15:05:03 -05:00
Commit Graph

291 Commits

Author SHA1 Message Date
Jesse Vincent
ff352343c2 Bumped manifest to 3.990 2011-11-10 21:38:30 -05: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
Jesse Vincent
d2ab1f8d5c Bumped manifest to 3.913 2011-11-06 21:00:59 -05:00
Jesse Vincent
2a8f353fe9 Bumped manifest to 3.912 2011-11-06 18:11:36 -05:00
cketti
e2e9f8b6a3 Fixed startActivityForResult() failing for MessageList
Fixes issue 3638
2011-11-07 00:07:06 +01:00
Jesse Vincent
f677781bce Bumped manifest to 3.911 2011-11-06 18:04:36 -05: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
Jesse Vincent
976761e0e5 Bumped manifest to 3.910 2011-11-02 21:05:24 -04:00
Jesse Vincent
c26ad2c4fd Bumped manifest to 3.909 2011-10-29 11:43:12 -04:00
cketti
807907cb9e Merge branch 'master' into issue549
Conflicts:
	res/values/strings.xml
	src/com/fsck/k9/service/MailService.java
2011-10-29 05:22:07 +02:00
Jesse Vincent
0c40736f26 Bumped manifest to 3.908 2011-10-27 14:24:11 -04:00
cketti
115742a2a9 Change launchMode of Accounts activity
startActivityForResult() doesn't work if the launchMode is
"singleInstance". But we need this when selecting a file to import the
settings from.
2011-10-14 21:24:46 +02:00
cketti
fc8d2e9979 Merge branch 'master' into issue549
Conflicts:
	res/menu/accounts_context.xml
	res/menu/accounts_option.xml
	res/values/strings.xml
	src/com/fsck/k9/Account.java
	src/com/fsck/k9/activity/Accounts.java
	src/com/fsck/k9/activity/AsyncUIProcessor.java
	src/com/fsck/k9/activity/FolderList.java
	src/com/fsck/k9/activity/ImportListener.java
	src/com/fsck/k9/activity/K9Activity.java
	src/com/fsck/k9/activity/K9ListActivity.java
	src/com/fsck/k9/activity/MessageView.java
	src/com/fsck/k9/mail/store/ImapStore.java
	src/com/fsck/k9/mail/store/Pop3Store.java
	src/com/fsck/k9/mail/store/WebDavStore.java
	src/com/fsck/k9/mail/transport/SmtpTransport.java
2011-10-14 20:33:25 +02:00
Jesse Vincent
feee0c64f7 Bumped manifest to 3.907 2011-09-29 00:19:28 -04:00
Jesse Vincent
ee132e92d1 3.9 no longer targets 1.6. Bumped to the oldest 2.x sdk level that
google still lets us build against.  Thanks and apologies to Joey Jones
for finding the pre-existing incompatibility that pushed me to make the
build change we've been promising for so long
2011-08-08 01:01:15 -04:00
Jesse Vincent
b89704900a Bumped manifest to 3.906 2011-07-25 01:55:03 -04:00
Jesse Vincent
00f2038b61 Bumped manifest to 3.905 2011-07-23 18:47:41 -04:00
Jesse Vincent
e31964db0a 3.904 2011-07-20 18:05:37 -04:00
Jesse Vincent
9c5ccd3b82 Bumped manifest to 3.902 2011-07-02 15:41:20 -04:00
Jesse Vincent
378002c62a Bumped manifest to 3.901 2011-06-20 12:52:47 -07:00
Fiouz
1709cda540 Exclude global preferences from multitasking
Make global preferences activity live in its own task and exclude it from recent-navigation using long-press HOME
2011-06-10 23:34:21 +02:00
Fiouz
b02a61c406 Don't keep the folder choice activity in navigation history
This let the user go back to the 'main' activity he was in before attempting a folder choice (instead of the folder choice activity itself which could be confusing) when using long-press HOME from another application
2011-06-10 22:49:07 +02:00
Fiouz
c416f02d52 Improve BACK button handling for MessageView
Remove memory leak from referencing MessageView context from the
Intent that is created to go back to MessageList. MessageView is no
longer hardcoded to go back to MessageList, it instead uses an Intent
given at creation to get back to the originating Activity.

Try our best to restore the MessageList in its previous state when
"Manage BACK button" option is enabled:
Since MessageList lives in its own task, we look for the previous
active task and check whether its top activity matches it. If it does,
we just finish MessageView and Android will automatically restore the
previous task. If it doesn't, we launch the originating Intent (and
MessageList state will be lost).

If option is off, we get the regular Android behavior: got back to the
previous screen, whenever it's the MessageList or another application
if the user long-pressed HOME.

The consequence of this is the need for a new permission in order to
check the previous active task: android.permission.GET_TASKS
2011-06-08 22:53:23 +02:00
Fiouz
7aae044705 Try not to always return to MessageList
Switched MessageList from singleTask to singleInstance launchMode
http://stackoverflow.com/questions/2417468/android-bug-in-launchmode-singletask-activity-stack-not-preserved

This makes launched activities to initiate a new task, they have to
handle the BACK key if user has the option enabled. On the other hand,
K-9 still keeps a single instance of MessageList (as opposed to using
the default launch mode which would allow multiple instances -
potential increased memory usage).

See Issue 2467
2011-06-08 08:41:47 +02:00
cketti
969e2d93fd Don't use the "owner name" as default value for the email name
Get rid of Contacts.getOwnerName() and associated permissions.

Fixes issue 3331
2011-05-14 04:53:17 +02:00
Jesse Vincent
42bfd7d529 Bumped manifest to 3.900 2011-05-05 23:12:18 -04:00
Jesse Vincent
824c8c89bb 3.900 version bumping 2011-05-05 23:10:33 -04:00
Jesse Vincent
d5ca4f107a Bumped manifest to 3.711 2011-04-30 08:17:25 +08:00
Jesse Vincent
c891a5f00b Bumped manifest to 3.710 2011-04-12 21:49:31 +10:00
Jesse Vincent
75fdfc2dce Bumped manifest to 3.709 2011-04-08 13:53:18 +10:00
Jesse Vincent
8b3648f88c Bumped manifest to 3.708 2011-03-29 12:25:07 +08:00
Jesse Vincent
d1fa878c77 Bumped manifest to 3.707 2011-03-24 10:56:33 +11:00
danapple
107408c0d9 K-9 Mail now opens the Accounts Activity when started with an Intent
with an enclosed URI with a content type of application/x-k9settings.
This allows a user to bootstrap K-9 Mail configuration by email a
settings file from one device to another, perhaps using a GMail
account on the receiving end.
2011-03-01 22:34:41 -06:00
cketti
203dab5c64 Revert changes for issue 549 (import/export settings).
The feature will be polished in branch "issue549".
2011-02-28 22:55:34 +01:00
danapple
932d178679 Merge branch 'issue549'
Conflicts:
	src/com/fsck/k9/Account.java
	src/com/fsck/k9/K9.java
	src/com/fsck/k9/Preferences.java
	src/com/fsck/k9/activity/Accounts.java
	src/com/fsck/k9/activity/ActivityListener.java
	src/com/fsck/k9/activity/ChooseFolder.java
	src/com/fsck/k9/activity/FolderInfoHolder.java
	src/com/fsck/k9/activity/FolderList.java
	src/com/fsck/k9/activity/K9Activity.java
	src/com/fsck/k9/activity/K9ListActivity.java
	src/com/fsck/k9/activity/MessageList.java
	src/com/fsck/k9/activity/MessageReference.java
	src/com/fsck/k9/activity/MessageView.java
	src/com/fsck/k9/activity/setup/AccountSettings.java
	src/com/fsck/k9/controller/MessagingController.java
	src/com/fsck/k9/crypto/Apg.java
	src/com/fsck/k9/helper/DateFormatter.java
	src/com/fsck/k9/helper/DomainNameChecker.java
	src/com/fsck/k9/mail/Address.java
	src/com/fsck/k9/mail/internet/MimeHeader.java
	src/com/fsck/k9/mail/internet/MimeMessage.java
	src/com/fsck/k9/mail/internet/MimeUtility.java
	src/com/fsck/k9/mail/store/ImapStore.java
	src/com/fsck/k9/mail/store/LocalStore.java
	src/com/fsck/k9/mail/store/WebDavStore.java
	src/com/fsck/k9/mail/transport/SmtpTransport.java
	src/com/fsck/k9/view/AttachmentView.java
2011-02-27 13:09:38 -06:00
danapple
6dc94fb78e First mostly working copy of export/import. Committing while I sort
out how to use git.
2011-02-26 11:31:56 -06:00
Jesse Vincent
1455b8fbb8 Bumped manifest to 3.706 2011-02-20 23:02:00 -05:00
Jesse Vincent
2ec5a712a2 Bumped manifest to 3.705 2011-02-19 15:25:53 -05:00
Jesse Vincent
d1d7b5fb70 Bumped manifest to 3.704 2011-02-15 19:33:47 -05:00
Jesse Vincent
07ccd86b66 Bumped manifest to 3.704 2011-02-15 19:33:43 -05:00
Jesse Vincent
e96329eb2b Bumped manifest to 3.703 2011-02-13 14:30:37 -05:00
Jesse Vincent
c4e5196584 Bumped manifest to 3.702 2011-02-10 14:19:07 -05:00
Jesse Vincent
6222e9b23d Bumped manifest to 3.701 2011-02-05 21:46:21 -05:00
Jesse Vincent
98d8ba51a0 Initial commit in our new home. Just bumping a version 2011-02-04 23:33:34 -05:00
Jesse Vincent
dfda1b60a3 bump trunk's machine version to the next series 2011-01-29 19:37:27 +00:00
Jesse Vincent
e9cb07422b Bumped manifest to 3.512 2011-01-29 16:46:21 +00:00
Jesse Vincent
45b5b11904 Bumped manifest to 3.511 2011-01-25 04:01:16 +00:00
Jesse Vincent
034f83e522 Bumped manifest to 3.510 2011-01-24 03:28:00 +00:00
Jesse Vincent
d3e519cc7a Bumped manifest to 3.509 2011-01-20 03:03:36 +00:00
Jesse Vincent
af0175cb21 unbreak accessiblewebview 2011-01-19 23:05:06 +00:00