1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 05:25:07 -05:00
Commit Graph

320 Commits

Author SHA1 Message Date
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
Jesse Vincent
f4bb321494 Bumped manifest to 3.508 2011-01-17 18:23:41 +00:00
Jesse Vincent
52e776b69d Bumped manifest to 3.507 2011-01-17 04:07:28 +00:00
Jesse Vincent
a0b5aaebb1 Bumped manifest to 3.506 2011-01-14 03:54:26 +00:00
Jesse Vincent
94b76ff9d1 Bumped manifest to 3.505 2011-01-13 16:31:03 +00:00
Jesse Vincent
759ba96ae4 Bumped manifest to 3.504 2011-01-13 01:25:48 +00:00
Jesse Vincent
8b094eba6c Bumped manifest to 3.503 2010-12-28 21:24:45 +00:00
Jesse Vincent
17477c6f90 Bumped manifest to 3.502 2010-12-24 23:14:41 +00:00
Jesse Vincent
a1872fee21 Bumped manifest to 3.501 2010-12-24 23:14:16 +00:00
Jesse Vincent
3dd777053c Bumped manifest to 3.501 2010-12-17 15:18:46 +00:00
Jesse Vincent
30e6af9fff bump our sequence # for the new dev channel 2010-12-17 15:18:43 +00:00
Jesse Vincent
da8831af0c Bumped manifest to 3.390 2010-12-07 23:27:48 +00:00
Jesse Vincent
3bf76bbd68 Bumped manifest to 3.320 2010-12-07 01:24:46 +00:00
Jesse Vincent
bf60129f83 Bumped manifest to 3.319 2010-12-01 06:07:00 +00:00
Jesse Vincent
f7edcd60ce Bumped manifest to 3.318 2010-11-30 01:59:40 +00:00
Jesse Vincent
3f4a26da78 Bumped manifest to 3.317 2010-11-29 02:22:09 +00:00
Jesse Vincent
3380cc8af4 Bumped manifest to 3.316 2010-11-21 05:32:10 +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
ee11aa406e Bumped manifest to ${version.name} 2010-11-18 19:42:53 +00:00
Jesse Vincent
a74643e5c1 Bumped manifest to ${version.name} 2010-11-15 01:31:45 +00:00
Jesse Vincent
914a462afd Bumped manifest to ${version.name} 2010-11-14 00:50:55 +00:00
Jesse Vincent
f56afdbf93 Bumped manifest to ${version.name} 2010-11-13 21:42:55 +00:00
Jesse Vincent
14055691a3 Merge branch 'mail-on-sd'
* mail-on-sd: (40 commits)
  Added more comments to explain how the locking mecanism works for LocalStore
  Fixed wrong method being called during experimental provider initialization (since provider isn't enabled, that didn't harm)
  Add more comments about how the various StorageProviders work and how they're enabled
  find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs
  French localization for storage related settings
  Remove unused SD card strings (replaced with storage indirection)
  Merge mail-on-sd branch from trunk
  Reset mail service on storage mount (even if no account uses the storage, to be improved)
  find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs
  Migraion -> Migration
  move the Storage location preference into preferences rather than the wizard.
  Made LocalStore log less verbose Added @Override compile checks
  Added ACTION_SHUTDOWN broadcast receiver to properly initiate shutdown sequence (not yet implemented) and cancel any scheduled Intent
  Be more consistent about which SQLiteDatabase variable is used (from instance variable to argument variable) to make code more refactoring-friendly (class is already big, code extraction should be easier if not referencing the instance variable).
  Added transaction timing logging
  Factorised storage lock/transaction handling code for regular operations.
  Use DB transactions to batch modifications (makes code more robust / could improve performances)
  Merge mail-on-sd branch from trunk
  Update issue 888 Added DB close on unmount / DB open on mount
  Update issue 888 Back to account list when underlying storage not available/unmounting in MessageView / MessageList
  ...
2010-11-13 21:40:56 +00:00
Jesse Vincent
46254bdc35 Bumped manifest to ${version.name} 2010-11-12 22:30:54 +00:00
Jesse Vincent
e004fa0029 Bumped manifest to ${version.name} 2010-11-08 02:50:04 +00:00
Jesse Vincent
a439bc7712 Bumped manifest to ${version.name} 2010-11-07 03:11:16 +00:00
Jesse Vincent
f555100966 Bumped manifest to ${version.name} 2010-11-07 03:11:04 +00:00
Jesse Vincent
ac0c2489a0 Bumped manifest to ${version.name} 2010-11-05 03:57:18 +00:00
Jesse Vincent
ff8df3e3e6 Bumped manifest to ${version.name} 2010-11-05 02:59:54 +00:00
Jesse Vincent
e1686f627a Bumped manifest to ${version.name} 2010-11-05 01:17:05 +00:00
cketti
0add1f97c0 Mark contacts as contacted when a mail is sent to them.
Fixes issue 2522
2010-10-30 20:35:49 +00:00
Jesse Vincent
0876c319e8 Bumped manifest to ${version.name} 2010-10-25 03:22:07 +00:00
Jesse Vincent
7930145a1a Bumped manifest to ${version.name} 2010-10-23 18:51:12 +00:00
Jesse Vincent
0071bd22f8 bump our build sequence number for the 3.3 dev series, so we don't have
overlaps with 3.2
2010-10-23 18:51:06 +00:00
Jesse Vincent
c283224999 Bumped manifest to ${version.name} 2010-10-23 15:20:56 +00:00
Jesse Vincent
e0d2c9e10d Bumped manifest to ${version.name} 2010-10-22 21:31:32 +00:00
cketti
6ea875d809 Use the correct package name for AccessibleEmailContentActivity in AndroidManifest.xml 2010-10-13 21:29:15 +00:00
Jesse Vincent
0b0cb5d82a Bumped manifest to ${version.name} 2010-10-11 02:57:30 +00:00
Jesse Vincent
0628539ce7 Bumped manifest to ${version.name} 2010-10-11 00:30:08 +00:00
Jesse Vincent
c2378c9f46 Marcus accidentally commented out the accessible message view 2010-10-10 19:29:10 +00:00
Jesse Vincent
6731b2ec50 Bumped manifest to ${version.name} 2010-10-09 02:46:25 +00:00
Jesse Vincent
201490c433 Bumped manifest to ${version.name} 2010-10-08 06:33:13 +00:00
Jesse Vincent
23f7d8c46a Bumped manifest to ${version.name} 2010-10-06 22:45:03 +00:00
Jesse Vincent
8ccfbe11f9 Bumped manifest to ${version.name} 2010-10-06 22:41:08 +00:00
Jesse Vincent
dd73d87665 Bumped manifest to ${version.name} 2010-10-05 06:37:12 +00:00
Jesse Vincent
2db7293a9a Bumped manifest to ${version.name} 2010-10-05 06:07:33 +00:00
Jesse Vincent
6524af5087 Bumped manifest to ${version.name} 2010-10-03 17:07:27 +00:00
Jesse Vincent
0fa741568b versionCode is going to be autogenerated from here on in. divorce it
from the versionName to avoid confusing users
2010-10-03 17:05:19 +00:00
Jesse Vincent
46ba547d94 3.111 2010-10-01 04:27:55 +00:00
Jesse Vincent
49d2618f99 3.110 2010-09-27 03:27:56 +00:00
Jesse Vincent
745ff494fb 3.109 2010-09-22 02:48:06 +00:00
Jesse Vincent
4a5ed287f4 3.108 2010-09-07 17:07:47 +00:00
Jesse Vincent
8fa1c793ea 3.107 2010-09-03 00:47:37 +00:00
Jesse Vincent
9cccd8d411 3.106 2010-08-31 03:59:03 +00:00
Jesse Vincent
9f1063b483 3.105 2010-08-30 03:05:48 +00:00
Jesse Vincent
64511ed82b 3.104 2010-08-30 02:20:40 +00:00
Jesse Vincent
6d4cc2825a 3.103 2010-08-29 18:14:41 +00:00
Marcus Wolschon
726b472330 set context before using it 2010-08-18 14:13:37 +00:00
Jesse Vincent
0b62640eac Provisional initial commit of MessagingProvider code by
stephane.lajeunesse and koxx33

We're going to try it out in the 3.1 dev series. if it ends up looking
good, it'll be in 3.2
2010-08-18 02:49:13 +00:00
Jesse Vincent
de142b7faa 3.102 2010-08-18 02:02:59 +00:00
Jesse Vincent
86dc82f916 Merge branch 'ideal-screenreader'
* ideal-screenreader:
  The IDEAL Group have joined the K-9 dogwalkers and submitted their code to be part of K-9!
  Initial import of the Ideal K-9 branch which adds support for screenreaders.
2010-08-18 02:01:10 +00:00
Jesse Vincent
5be5aaa44a K-9 does not yet work properly when installed to SD. Revert the
install-location for now, per discussion with the original committer a
few days ago.
2010-08-17 23:21:36 +00:00
Jesse Vincent
1252ffb610 3.101 2010-08-17 04:22:27 +00:00
Marcus Wolschon
a35ab06ccc allow install on SD-card (is ignored for Android <2.2) 2010-08-13 06:38:20 +00:00
Jesse Vincent
38c053fb73 2.913 2010-08-02 03:04:29 +00:00
Jesse Vincent
5bde9618e4 2.912 2010-08-02 01:29:12 +00:00
Jesse Vincent
56ecf9dbc0 2.911 2010-07-31 06:32:36 +00:00
Jesse Vincent
3fbdb0ff0e 2.910 2010-07-27 14:40:26 +00:00
Jesse Vincent
7a4d12b53b Merge from apg-integration 2010-07-27 12:10:09 +00:00
Jesse Vincent
b3ac8e86e7 2.909 2010-07-22 04:17:58 +00:00
Jesse Vincent
338919a9a0 Merge remote branch 'remotes/issue814'
* remotes/issue814:
  Changed the appearance of the ChooseAccount activity to better match the look of the account list.
  svn:eol-style set to LF (UNIX style)
  Update issue 814 Status: Started Cc: +fiouzy Reuse of res/layout/accounts_item.xml to match account list Automatically expand/scroll to Intent-presented account
  - Patch provided by fiouzy (ability to choose identity from other accounts) - Modifications in MessageCompose by cketti (use MessageReference to replace mFolder and mSourceMessageUid)
  Created branch for issue 814 (Feature to select account to send from in compose screen)
2010-07-22 03:15:28 +00:00