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

2490 Commits

Author SHA1 Message Date
cketti
1bdf7095a7 Delete the old localized outbox. Fixes the "two outboxes" problem.
Rename the "new" hardcoded outbox to "K9MAIL_INTERNAL_OUTBOX". This
is done to avoid collisions with folders named "OUTBOX" in a remote
store. See
https://groups.google.com/group/k-9-mail/browse_thread/thread/cbb1c77abba84695

Fixes issue 3411
2011-06-17 06:17:01 +02:00
cketti
eb68df9070 Updated german translation 2011-06-17 04:34:26 +02:00
cketti
b4dbfd1db4 Changed german translation 2011-06-17 04:17:32 +02:00
cketti
222cd43c80 Some code cleanup. No functional changes. 2011-06-17 04:13:32 +02:00
Marcus Wolschon
5eec09d37a Merge branch 'refs/heads/master' of git@github.com:k9mail/k-9.git 2011-06-14 15:23:20 +02:00
Marcus Wolschon
b8f04b8a4f typo 2011-06-14 15:22:45 +02:00
Jesse Vincent
a558466c36 ant astyle 2011-06-13 19:49:06 -04:00
Fiouz
c9c22bd500 Improve French translation wording 2011-06-11 23:48:02 +02:00
Fiouz
05cf4522ff Adjust translations for the spam confirmation pluralization
Make dialog_confirm_spam_message a plurals string key only to match 72870174ce.
The actual pluralization still has to be done.
2011-06-11 07:10:22 +02: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
27e996b5f7 Don't force Eclipse settings on users
Ant target to setup the Eclipse .settings directory with predefined settings
2011-06-10 20:25:40 +02:00
Jesse Vincent
379a8dfa9e It turns out that 79a96952f2 has caused a
lot of messages to be unreadable in K-9 3.8.  (see mailing list
threads)
2011-06-09 21:54:22 -04: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
Jan Berkel
632d7d8305 Point app_revision_url to updated URL and remove duplicates 2011-06-08 12:58:37 +02:00
Fiouz
5ee63c47fe Implemented BACK handling for MessageView
Implemented because MessageList is now in singleInstance launchMode so
the default behavior may not match user options.
2011-06-08 08:42:40 +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
Fiouz
a333d7703b Eclipse cleanup + import settings
Import ordering set to match Android code style (android, com, junit,
net, org, java, javax), but I doubt any file in the project obeys to
this...
http://source.android.com/source/code-style.html#order-import-statements
2011-06-07 20:18:11 +02:00
Fiouz
f38e70adf6 Eclipse code style settings
Includes:
- compiler warnings (more warnings than the default Java settings)
- variable prefixes
- formatter rules

Compiler warnings is stricter regarding bad practices (even for things
like auto-boxing).

Chances are that those formatter settings match almost no existing
files as I just adjusted my settings to match Android coding standard.
2011-06-07 20:14:18 +02:00
Fiouz
4832b8abda Eclipse settings: UTF-8 encoding 2011-06-07 20:03:41 +02:00
Fiouz
5b5b35b902 MessageList: Switch subject to marquee ellipsis for landscape layout
Replicate the ellipsis change for the regular layout made on commit
90ef6781d4
2011-06-07 01:37:22 +02:00
Fiouz
9b0ce3c75a Remove no longer used references on confirmation dialog disapproval 2011-06-07 01:25:38 +02:00
Fiouz
fc4dd077e4 Don't attempt to configure a dismissed dialog during Android activity
reloading

As part of automatic activity reloading following a configuration
change, Android invokes Activity#onPrepareDialog() even for dismissed
dialogs. Consequently, one can't make the assumption that this method
is only invoked by explicit calls to Activity#showDialog() from our
code.

The actual problem here was the mActiveMessages member being null
at such times.
2011-06-07 01:15:04 +02:00
Fiouz
153c665084 Update French (+ French Canadian specific parts) translation 2011-06-05 20:36:57 +02:00
Fiouz
72870174ce Pluralize the "Move to spam" confirmation dialog since code paths were
unified in MessageList and multi-selection is now subject to this
dialog.
2011-06-05 01:35:11 +02:00
Fiouz
de7b75a1df Properly keep selection in case of a
configuration change (orientation, keyboard, etc.) during user
interaction (e.g. a dialog)
2011-06-05 01:16:34 +02:00
Fiouz
5366a07f28 Add @Override compiler check 2011-06-04 23:55:48 +02:00
Fiouz
190d028669 Javadoc fix 2011-06-04 23:17:47 +02:00
Fiouz
821a00e727 MessageList refactoring to remove duplicate code paths.
Message operations should be more consistent now, regardless of how
the messages are selected (long click, checkbox+Menu, future group selection).

This is a backport of the modifications made on the issue258 branch,
without the threading specific features (no new feature introduced).
2011-06-04 23:01:34 +02:00
Fiouz
5d85b7a508 Added .gitignore file to prevent adding local.properties, bin/ and gen/ to git tracking
User specific exclusions can be added to .git/info/exclude
2011-06-02 21:17:55 +02:00
Fiouz
40546edcf7 Remove local.properties, new default projection column introduced by merge d3cf49a5e4 2011-06-02 20:30:10 +02:00
Fiouz
d3cf49a5e4 Merge remote-tracking branch 'refs/remotes/unread/master' into unread 2011-06-02 20:20:56 +02:00
João Pedro Taveira
feea44c7d5 Update from upstream 2011-06-02 15:13:08 +01:00
João Pedro Taveira
503b88e2fd Merge remote branch 'k-9/master' 2011-06-02 14:39:58 +01:00
Jesse Vincent
31adcd2ed8 Revert "http://code.google.com/p/k9mail/issues/detail?id=3408&sort=-id&colspec=ID%20Product%20Type%20Status%20Priority%20Milestone%20Owner%20Summary"
This reverts commit 0c2e06133c.

The patch would cause an extra SMTP connection on _any_ meesage with
attachments. Marcus is headed away on holiday and asked me to revert it
for him (after I asked him to revert it) - With luck, we'll talk through
a design to work around this issue on the list

Conflicts:

	src/com/fsck/k9/mail/transport/SmtpTransport.java
2011-06-02 09:35:03 -04:00
Jesse Vincent
3d583da450 ant astyle 2011-06-01 16:03:56 -04:00
Marcus Wolschon
0c2e06133c http://code.google.com/p/k9mail/issues/detail?id=3408&sort=-id&colspec=ID%20Product%20Type%20Status%20Priority%20Milestone%20Owner%20Summary
Issue 3408: 	SMTP timeouts while calculating message size
2011-06-01 09:13:16 +02:00
Marcus Wolschon
0b6f0a09bb http://code.google.com/p/k9mail/issues/detail?id=3407&sort=-id&colspec=ID%20Product%20Type%20Status%20Priority%20Milestone%20Owner%20Summary
Issue 3407: 	Handling of SMTP 5xx error codes unclean

fix part one: 5xx error codes are detected in SMTP-code and reported as permanent failures.
2011-06-01 09:07:05 +02:00
Andrew Gaul
2fd9bd5a03 Cleanup Utility.combine()
Fix spelling mistakes, simplify adding separators, use unsynchronized
StringBuilder, and fix Javadoc.
2011-05-31 15:11:36 +02:00
cketti
c5342472f2 Load AbsoluteSizeSpan(int,boolean) constructor via reflection
This will allow us to run on Android 1.5/1.6 devices.
2011-05-26 23:43:35 -04:00
Jesse Vincent
a9b28d62d7 Fix a NPE 2011-05-26 22:59:50 -04:00
cketti
30d31c7074 Explicitly use Locale.US when dealing with dates in message headers 2011-05-26 04:32:26 +02:00
cketti
de4abf87cb Respect "move/copy destination folders" setting in ChooseFolder
Fixes issue 2664
2011-05-26 04:11:09 +02:00
Jesse Vincent
6249758ae8 Merge pull request #36 from sunglim/ko_trans
Korean Language minor update
2011-05-25 08:57:08 -07:00
sunglim
20bff4b249 Korean Language minor update 2011-05-26 00:10:45 +09:00
Jesse Vincent
92239739b0 microoptimize peekableInputStream's peek method to not do an extra
method dispatch and boolean check on every peek.
2011-05-24 21:35:18 -04:00
Jesse Vincent
29117ae7a6 Switch a StringBuffer to StringBuilder, which replaced it 2011-05-24 21:21:03 -04:00
Jesse Vincent
8bf400d2ee Correct typo from dutch translation update 2011-05-24 16:19:29 -04:00
Jesse Vincent
a5aa067b80 Merge pull request #35 from Frank071/patch-1
Dutch Translation merge.
2011-05-24 13:16:01 -07:00
Andrew Chen
b05af904ef Update .iml for IntelliJ IDEA 10.5 (Android SDK is now the platform SDK); remove unused compile only libs. 2011-05-24 12:43:32 -07:00