Jesse Vincent
4a558c5ac5
Revert the active part of "Update issue 848"
...
This reverts commit 9fc94115adb58dcd8a64227a93d0e6e707d7752d.
It turns out that disabling the "View attachment" button (rather than
giving a useful error message telling the user what mime type the app
needs to support) was confusing to users.
2011-01-28 03:33:49 +00:00
Andrew Chen
840fa7bf40
Replace concatenation in StringBuilder with append.
2011-01-25 04:25:27 +00:00
Andrew Chen
ba1709770e
Issue 854 - Fix reply after quote in HTML mode.
2011-01-25 03:56:19 +00:00
cketti
e5b172b7bb
Fix warnings
2011-01-25 02:36:08 +00:00
cketti
737edf369b
Use new contacts API on Android 2.0, 2.0.1, and 2.1 devices with additional code to match by phonetic names.
...
Fixes issue 2906
2011-01-25 02:34:02 +00:00
cketti
de9f04ea0d
Avoid IllegalArgumentException - Only fetch display name in getOwnerName()
2011-01-25 02:29:31 +00:00
cketti
57be868668
Added some comments
2011-01-25 01:32:31 +00:00
Marcus Wolschon
ba24fdc742
update issue 2744
...
try all addresses of a host.
(Fix is required for proper operation in IPv4-only/IPv6-only networks
for IPv4/IPv6 dual-stack mail-hosts)
2011-01-24 15:09:36 +00:00
Jesse Vincent
04e4dcb187
code reindenting
2011-01-24 03:27:26 +00:00
Jesse Vincent
59b3c1ba89
Extract out the list of folder columns
2011-01-24 03:27:19 +00:00
Jesse Vincent
22f422ea29
Use a heuristic to try to avoid notifying POP3 users about older mail
...
messages
2011-01-24 03:27:14 +00:00
Jesse Vincent
7858f72c53
Remove commented out code. that's what a version control system is for
2011-01-24 03:27:08 +00:00
Jesse Vincent
3444bb4134
Remove some duplicate code in the pop3 implementation
2011-01-24 03:26:57 +00:00
cketti
6a2233cdd0
Removed unnecessary imports
2011-01-23 13:59:15 +00:00
Jesse Vincent
24d03ce662
Deal with potential NPEs if folders aren't set up, as happens on new
...
accounts
2011-01-23 02:26:14 +00:00
Jesse Vincent
098851684f
astyle
2011-01-23 00:56:01 +00:00
Jesse Vincent
c06643bd47
Add a preference to allow users to always show email addresses instead
...
of the "friendly" parts of email addresses.
2011-01-23 00:55:46 +00:00
Jesse Vincent
a234c39722
astyle
2011-01-19 21:33:23 +00:00
Jesse Vincent
8329a0287b
Upgrade to mime4j. "0.7" branch as of
...
http://svn.apache.org/repos/asf/james/mime4j/trunk@1058339
2011-01-19 21:32:09 +00:00
cketti
f5bb836087
Fix code that was broken when fixing warnings.
2011-01-19 21:00:28 +00:00
Andrew Chen
b1d8e49d72
Be a little more graceful when scrolling horizontally in a (vertical) scroll view.
...
Not quite to the point of diagonal scrolling, but hopefully closer.
2011-01-19 17:05:56 +00:00
cketti
bcb1131cb5
Don't rely on FolderClass implementation details outside of FolderClass
2011-01-19 01:50:28 +00:00
cketti
22834d6998
Removed unnecessary null pointer checks
2011-01-19 01:30:13 +00:00
cketti
4e11c17ff5
Removed unnecessary type cast
2011-01-19 01:28:27 +00:00
cketti
7119c7165f
Removed unnecessary type casts
2011-01-19 01:21:27 +00:00
cketti
14a20843e3
Get rid of two potential null pointer access warnings
2011-01-19 00:57:12 +00:00
cketti
365b106753
Fixed warnings about unchecked casts by extracting the code to methods and using the @SuppressWarnings annotation on them.
2011-01-19 00:36:15 +00:00
cketti
d48ec4892a
Added missing annotation
2011-01-19 00:33:19 +00:00
cketti
a9cee7a6ad
Rewrote code to get rid of return statement in finally block (which generated a warning).
2011-01-19 00:23:56 +00:00
cketti
72d2d24cec
Fixed potential null pointer access
2011-01-19 00:13:58 +00:00
cketti
8f2623e33c
Rewrote code to be easier to read and not raise a potential null pointer warning by Eclipse.
2011-01-19 00:10:36 +00:00
cketti
6a9a5f6b1f
Added a null pointer check to make the static analysis component of Eclipse happy
2011-01-19 00:00:58 +00:00
cketti
8279092070
Fixed lots of warnings (unused imports/variables, missing annotations, etc.)
2011-01-18 23:54:49 +00:00
cketti
a40ec8fa98
Removed unused variables and imports.
2011-01-18 23:37:37 +00:00
Marcus Wolschon
60ea4c6ce7
Update issue 2479
...
possible fix for "The content of the adapter has changed but ListView did not receive a notification."
2011-01-18 15:34:41 +00:00
Jesse Vincent
951dbcbd33
Set up some reasonableish defaults when creating folders
2011-01-18 00:04:24 +00:00
Jesse Vincent
65e89afc40
remove a duplicate codepath for folder insert
2011-01-18 00:04:17 +00:00
Jesse Vincent
d59600653c
astyle
2011-01-18 00:04:11 +00:00
Jesse Vincent
bd66315375
Visual cleanup of messageview. Clean up of icon display codepaths
2011-01-17 17:25:00 +00:00
Marcus Wolschon
fc4b64c559
Update issue 848
...
"view" only enabled for attachments if there is an actual
application on the phone to view this kind of file.
2011-01-17 10:41:48 +00:00
Marcus Wolschon
30767c3bd9
Fixed NullPointerExceptions
2011-01-17 10:28:58 +00:00
Jesse Vincent
6504d592ea
Try harder not to use "special folders" as count sources
2011-01-17 04:06:34 +00:00
Jesse Vincent
890564b926
Missed a case for stats computation
2011-01-17 03:22:30 +00:00
Jesse Vincent
30fed01784
Replace the expensive part of Account.getStats() that loaded all folders
...
and iterated through them with a SQL query.
2011-01-16 21:33:58 +00:00
Jesse Vincent
5a5541b400
Don't notify for new mail in a designated spam folder
2011-01-16 21:33:54 +00:00
Jesse Vincent
734cbf856d
Simplify the logic for "should I search this folder" using our new
...
helper
2011-01-16 21:33:50 +00:00
Jesse Vincent
a974f7188c
Simplify folder-skip logic when cleaning out folders deleted on the
...
server. (Note that we no longer delete the archive folder locally, even
if it's killed upstream)
2011-01-16 21:33:46 +00:00
Jesse Vincent
c5846b4202
simplify our "should we count messages in this folder" logic for the
...
purposes of account stats generation
2011-01-16 21:33:43 +00:00
Jesse Vincent
76e1165fea
we no longer need the special version of getDisplayClass
2011-01-16 21:33:39 +00:00
Jesse Vincent
574c544d64
new helper routine for checking to see if a folder is special.
2011-01-16 21:33:34 +00:00