Daniel Applebaum
8eeebc593a
Handle thread interruptions better and fix some race conditions.
2010-05-22 17:35:05 +00:00
Daniel Applebaum
24b178773f
Make sure prefix is fetched before any call to getCombinedPrefix.
2010-05-22 17:34:16 +00:00
Daniel Applebaum
493cdc4f5d
Correct push restart logic
2010-05-22 15:08:27 +00:00
Daniel Applebaum
6c814fb5e7
Fixes Issue 1653
...
All set the display class, whether or not in push mode.
2010-05-22 14:28:04 +00:00
Daniel Applebaum
7ca2086c73
Fixes Issue 1652
...
Fixes Issue 1644
Grab correct color from preferences storage for LED.
Also, remove LED and chip colors on account deletion.
2010-05-22 14:07:02 +00:00
cketti
5627117ddf
Use 997 as maximum line length for References header. See http://code.google.com/p/k9mail/source/detail?r=1714 for details.
2010-05-21 16:37:45 +00:00
cketti
c5486469c2
- Add menu item to show additional headers in the message view
...
- Add option to save all headers locally (incoming server settings)
Applied patch provided by timmlinder with small modifications.
Fixes issue 43
2010-05-21 15:34:29 +00:00
cketti
c29722a56c
Make sure the References header doesn't exceed 998 characters and the value won't get Q-encoded. Thanks to fiouzy for providing the patch.
...
Fixes issue 1559
2010-05-21 12:20:32 +00:00
Daniel Applebaum
6afb8c8506
Make sure to compare capabilities using upper case.
2010-05-20 11:55:42 +00:00
Daniel Applebaum
f318fc159b
Fixes Issue 1641
...
Populate text and subject when handling ACTION_SENDTO
2010-05-20 11:08:40 +00:00
Daniel Applebaum
59f22d8e7e
Save capabilities in upper case so we handle them case-insensitively,
...
too. Make sure all CAPABILITY-detection constants are written in
upper case.
2010-05-20 04:19:15 +00:00
Daniel Applebaum
d873ecbe7a
From cketti's reminder: check untagged response with equalsIgnoreCase.
...
Also, reset mCombinedPrefix when the delimeter is discovered.
2010-05-20 04:13:49 +00:00
Daniel Applebaum
af55c6f48b
We don't need to log the content of the map each time we add to it.
2010-05-20 03:38:16 +00:00
Daniel Applebaum
44da2e1fe6
After discussion with cketti, reinstate using LIST to find the path
...
delimeter, but only if the server does not support NAMESPACE. Since
we've encountered non-compliant servers that freak out at the LIST
command, enclose in a try/catch structure so that failures do not
totally prevent IMAP communication.
2010-05-20 02:33:44 +00:00
cketti
ac3fbf7259
Remove now empty android package.
2010-05-19 19:19:16 +00:00
cketti
6e3183f54f
Moved classes Regex and DomainNameChecker from android (package) namespace to K-9 namespace. This way we're protected from modifications to these classes in future Android versions.
2010-05-19 19:16:36 +00:00
cketti
b5a6a28f19
Fixed some more warnings:
...
- Removed unused imports
- Removed unnecessary @SuppressWarnings("deprecation") annotations
- Added @SuppressWarnings("deprecation") to API 1-3 code that's now (API 5) deprecated
- Added missing @Override annotation
2010-05-19 18:44:22 +00:00
cketti
26bd72573e
Removed unused imports.
2010-05-19 18:32:30 +00:00
cketti
077fc78d88
Removed now empty package "codec".
2010-05-19 18:21:40 +00:00
cketti
58b8479612
Code refactoring:
...
- Created "controller" and "mail.filter" package
- Moved a lot of classes to new/other packages
- Removed unused classes: NoSuchProviderException, MessageDateComparator
2010-05-19 18:17:06 +00:00
cketti
22ce159fe6
Merge imap-parser branch.
...
Fixes issue 1547.
2010-05-19 13:31:48 +00:00
Daniel Applebaum
0e3f9a9db4
Synchronize access to encapsulated WakeLock
2010-05-17 02:33:19 +00:00
Daniel Applebaum
f8994f6491
Turn off tracing by default.
...
Lower log level.
2010-05-17 01:04:42 +00:00
Daniel Applebaum
9cf42ef913
Provide for tracking all WakeLock usage.
...
Simplify WakeLocks use by pushing.
Correct fault in IMAP IDLE WakeLock usage. The ThreadLocal in
MessagingControllerPushReceiver meant that the WakeLock acquired when
the DONE was sent was not being released when entering back into IDLE
state.
Consolidate the account notification so that all Activities use the
methods in MessagingController.
2010-05-17 00:30:32 +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
a59ade4fdd
When no messages are selected yet, "Select all" is the only valid batch
...
option. Instead of forcing the user through a submenu, show "Select all"
instead of the submenu
2010-05-15 21:03:44 +00:00
Jesse Vincent
ea6bb0000e
Let users pick LED Notification colors different from their account chip colors
2010-05-15 20:35:59 +00:00
Jesse Vincent
384803076d
When instantiating an account, set the default color to something
...
random, rather than blank, so that new accounts don't endup without
colors.
2010-05-15 20:35:47 +00:00
Jesse Vincent
f799be05c9
Account.java had developed dos line-endings. :/
2010-05-15 20:35:39 +00:00
Jesse Vincent
ecebdf18cd
find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs --unpad=paren
2010-05-15 19:46:16 +00:00
Daniel Applebaum
b51bce6ebf
Fixes Issue 1551
...
Fixes Issue 1577
Issue 1551:
Some IMAP servers send untagged EXPUNGEs to IDLEing
clients without ever haven't sent an untagged FETCH. The untagged
EXPUNGEs are harder to deal with because they don't have a UID. So,
if the user has elected to have the IDLE connection start with a poll,
we can maintain a map of message sequence numbers to UIDs that we can
use to figure out which message to delete. To mitigate the risk of
the map falling out of date, we do a UID SEARCH UID before removing
the local copy of the message, just to make sure the message is really
gone from the server. If we detect an error, do another poll to
resync the map.
Issue 1577:
Restore the removal of notifications for an account when the account's
unread message count goes to 0.
2010-05-15 19:35:07 +00:00
Daniel Applebaum
1502660826
Fixes Issue 1561
...
The user can elect to have opening a Notification open a
account-specific search for unread messages.
2010-05-12 05:35:08 +00:00
Daniel Applebaum
8b92bc3836
Fixes Issue 1474
...
Fixes Issue 1562
Issue 1474:
Provide new facility to totally wipe all data for an account but leave
settings intact. This is useful because sometimes storage is so full
that SQLite cannot perform the usual VACUUM or message deletion.
Add confirmation dialogs to destructive Clear and Recreate operations.
Remove destructive Clear from FolderList so as not to have to
duplicate the confirmation dialogs.
Issue 1562:
Suppress notifications when new messages arrive in Trash, Sent or
Drafts special folders.
2010-05-12 04:17:52 +00:00
Jesse Vincent
337d785cd2
2.706
2010-05-12 03:06:48 +00:00
Jesse Vincent
e77729cb2d
First pass at getting a blinky LED that's the account's color
2010-05-12 03:06:11 +00:00
Jesse Vincent
093d65513a
Clickable folder icons in account lists to get to folder lists, even if
...
there's an auto-open folder
2010-05-12 02:52:10 +00:00
Jesse Vincent
ba021597c4
astyle
2010-05-12 02:51:59 +00:00
Jesse Vincent
1bf1643987
Move Account and Folder settings into a submenu. give access to global
...
preferences from there, too. - many users never leave their inboxes
making it hard to get up to Settigns
2010-05-12 01:18:12 +00:00
Jesse Vincent
defaf7bbbf
fix the heights of the multi-act buttons to not be inconsistent
2010-05-11 23:58:02 +00:00
cketti
2121ebc012
Correctly encode attachment filenames with non-ASCII characters. Thanks to jca02266 who provided the base patch.
...
Fixes issue 1555
2010-05-11 15:05:50 +00:00
Daniel Applebaum
d5b128e8cf
Specify that our notifications use the Notification audio stream.
2010-05-11 04:13:23 +00:00
cketti
6a5b3b8a7f
Reverted lower minHeight for account and folder list as requested by jessev.
2010-05-11 00:17:32 +00:00
cketti
d938a7807e
Set minHeight of accounts and folder list to the height of star/envelope instead of listPreferredItemHeight. This way there's no jumping when message counts are returned from the database (see r1664) and the list item height is mostly defined by the font size.
2010-05-10 23:16:54 +00:00
cketti
f092a1eb5e
Applied patch by timmlinder (see issue 1253). Updates german translation and adds strings for the new account color picker.
2010-05-10 22:42:29 +00:00
cketti
6a40fd1f46
Helper classes to get the state of the Android auto-sync setting. Implementation differs for SDK 1.5, SDK 1.6 and SDK 2.0+. See issue 1482 for more details.
2010-05-10 20:15:41 +00:00
Jesse Vincent
2733254832
We shouldn't be setting a minimum item height in the message view.
2010-05-10 20:08:31 +00:00
Jesse Vincent
77cec02a8f
2.705
2010-05-10 20:08:26 +00:00
cketti
37b42f58a6
Fix error handling code in DB upgrade.
2010-05-10 00:14:26 +00:00
Jesse Vincent
9a816fc2f4
list items stop jumping out from under fingers as counts are returned from the database were
...
leading to a really bad user experience.
This change sets up min-item-heights per discussion with cketti to stop
that.
2010-05-09 20:08:11 +00:00
Daniel Applebaum
6562d43f56
Cleanup logic for controlling visibility of email field for each
...
account.
2010-05-09 15:50:58 +00:00