1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-01 08:05:08 -04:00
Commit Graph

380 Commits

Author SHA1 Message Date
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
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
Jesse Vincent
7a83fda98c 2.908 2010-07-19 06:14:09 +00:00
Jesse Vincent
7649c598a9 2.907 2010-07-19 01:58:00 +00:00
Jesse Vincent
f52e8061b8 2.906 2010-07-15 03:48:24 +00:00
Jesse Vincent
6c84476328 2.905 2010-07-13 23:59:19 +00:00
Jesse Vincent
7b63c8091c 2.904 2010-07-11 19:41:50 +00:00
Thialfihar
67b23fc797 added a setting for language, overriding the system locale settings
Update issue 1290
2010-07-09 00:27:47 +00:00
Jesse Vincent
f74e7dd249 2.903 2010-07-08 16:35:41 +00:00
Thialfihar
76df04e949 make shortcuts honour the account setting for the startup folder even if changed after shortcut creation, based on cketti's patch, refs issue 1025 2010-07-07 18:31:16 +00:00
Thialfihar
00a8f948eb added launcher shortcuts to accounts, refs issue 1025 2010-07-07 16:17:13 +00:00
Jesse Vincent
5478ded371 2.902 2010-07-05 10:57:00 +00:00
Jesse Vincent
5c3f366661 2.901 2010-07-03 21:35:35 +00:00
Jesse Vincent
ed9eddbc3e 2.900 2010-06-22 22:01:00 +00:00
Jesse Vincent
2c332885c7 2.711 2010-06-08 02:38:09 +00:00
Jesse Vincent
15c1a319cb 2.710 2010-06-06 22:29:04 +00:00
Jesse Vincent
b43126c69f 2.709 2010-06-03 20:06:18 +00:00
Jesse Vincent
0d649da82f 2.708 2010-05-24 15:44:20 +00:00
Jesse Vincent
89bd7b4d78 2.707 2010-05-24 15:44:14 +00:00
Daniel Applebaum
71c43b9634 Fixes Issue 1482
Utilize cketti's AutoSyncHelper in order to provide a way to make K-9
Mail obey the global Auto-sync setting.  K-9 Mail doesn't obey the
Auto-sync setting by default because K-9 Mail isn't listed as one of
the listed applications.
2010-05-15 21:26:15 +00:00
Jesse Vincent
337d785cd2 2.706 2010-05-12 03:06:48 +00:00
Jesse Vincent
77cec02a8f 2.705 2010-05-10 20:08:26 +00:00
cketti
331a6ca99b - Always use light theme for the message view since we don't change the colors of the WebView (i.e. it always uses black text on a white background).
- Always display the date in the message view
2010-05-02 00:10:55 +00:00
Jesse Vincent
2775795abe 2.704 2010-04-29 01:33:28 +00:00
Jesse Vincent
35a73ea0b0 2.703 2010-04-24 08:43:03 +00:00
Jesse Vincent
d2cec31d83 2.702 2010-04-20 22:36:51 +00:00
cketti
f8695f9a61 Added preference screen to pick font sizes for all important information in account list, folder list, message list and message view.
Fixes issue 7
2010-04-20 16:37:03 +00:00
Jesse Vincent
1afd99e6c8 2.701 2010-04-19 21:58:17 +00:00
cketti
f911b0e436 Added support for the Android 1.6 intent android.intent.action.SEND_MULTIPLE in a way that should work on older devices too. Worked fine in the Android 1.5 emulator.
Fixes issue 1210
2010-04-02 01:43:56 +00:00
Jesse Vincent
f441e299b6 2.515 2010-03-24 01:12:06 +00:00
Jesse Vincent
f349af5129 trying to get us back to "stock" build infrastructure 2010-03-24 01:11:49 +00:00
Jesse Vincent
9ca8e100e7 2.514 2010-03-23 03:19:28 +00:00
Jesse Vincent
9c9eb60993 Experimentally bump us up to the 2.0.1 SDK to use cketti's new code for addresses.
I'd bet 50% that we need to revert this in the end, but I wanted to get
a build out
2010-03-23 03:19:22 +00:00
Jesse Vincent
8ca034c3db Patch for issue 946: Only able to get contacts from a primary google
account by cketti
2010-03-23 03:19:12 +00:00
Jesse Vincent
85b65ca272 r2513 2010-03-23 02:41:54 +00:00
Jesse Vincent
983c171357 2.512 2010-03-09 11:29:10 +00:00
Jesse Vincent
9e855c9ebd 2.511 2010-03-02 08:02:46 +00:00
Robert Jacob
366eda13f7 - Fixed project setup for Eclipse
- Removed Debug activity from manifest (activity class doesn't exist)
2010-02-21 15:19:11 +00:00
Jesse Vincent
7459f6cd26 2510 2010-02-16 00:25:14 +00:00
Jesse Vincent
e6cabe4a82 2.509 2010-02-14 17:29:52 +00:00
Jesse Vincent
31459fa70a 2.508 2010-02-14 17:29:46 +00:00
cketti
ab4e2ca2ec Commented out enhancements introduced in r1443 so we don't loose Android 1.5 support. 2010-02-13 19:35:47 +00:00