Commit Graph

8139 Commits

Author SHA1 Message Date
Yu Ping Hu
c065e72819 Add virtual mailbox for all unread messages.
Also restores the trash icon. I'm not using the "correct"
icon -- it's the menu icon, not a folder icon -- but it
looks correct. Also, the "unread messages" icon is likewise
the menu icon for mark unread.

Bug: 8527132
Bug: 8444885
Change-Id: I7d3bc286f80f130e6f08ff1340a013d81700406e
2013-04-05 14:50:50 -07:00
Paul Westbrook
c871f110d3 am d402c890: Fixed make POP and Imap more locale safe
* commit 'd402c890dc00e2a0b2cf215d8479e59fc3a252f3':
  Fixed make POP and Imap more locale safe
2013-04-05 14:37:25 -07:00
Paul Westbrook
d402c890dc Fixed make POP and Imap more locale safe
Cherry-picks from:
https://android-review.googlesource.com/#/c/42334/
https://android-review.googlesource.com/#/c/42332/

Change-Id: I557c3d8c725cf6dc4f13f227dcec63864ab5db67
2013-04-05 13:57:51 -07:00
Paul Westbrook
2cd5bb8dd7 am 9fd03edb: Merge "avoid cursor leak in email provider" into jb-ub-mail-ur9
* commit '9fd03edb83326c23fc4dd3944c140de913a4fe76':
  avoid cursor leak in email provider
2013-04-05 13:50:26 -07:00
Jack Bates
c245696c38 am 4fd97a30: Fix SMTP RFC violation for better interoperability
* commit '4fd97a305065dfed11adf50612e55b9647ceb236':
  Fix SMTP RFC violation for better interoperability
2013-04-05 13:50:26 -07:00
Paul Westbrook
9fd03edb83 Merge "avoid cursor leak in email provider" into jb-ub-mail-ur9 2013-04-05 20:49:09 +00:00
Yoohyun.choi
89c74e89e5 avoid cursor leak in email provider
When cursor is done, the cursor must be closed to avoid cursor leak.

cherry-pick of https://android-review.googlesource.com/#/c/52910/
Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5
2013-04-05 13:45:56 -07:00
Jack Bates
4fd97a3050 Fix SMTP RFC violation for better interoperability
Space after colon violates RFC 5321 (and RFC 821): "Since it has been a common
source of errors, it is worth noting that spaces are not permitted on either
side of the colon following FROM in the MAIL command or TO in the RCPT command"

Change-Id: Ie5330bf2bd01cd8f734134dadd742cf16df70d7a
Signed-off-by: Jack Bates <jack@nottheoilrig.com>

cherry-pick of https://android-review.googlesource.com/#/c/32640/
2013-04-05 13:42:13 -07:00
Paul Westbrook
e9931d6dba am 156163cc: Prevent NPE
* commit '156163cceb5f56bb53e88e68d4e79bd5c076797f':
  Prevent NPE
2013-04-05 13:33:05 -07:00
Paul Westbrook
156163cceb Prevent NPE
cherry-pick of https://android-review.googlesource.com/#/c/45703/

Change-Id: I8d6984d90365d6bc3e9f102285a06ac9c32a98d4
2013-04-05 12:00:29 -07:00
Paul Westbrook
8272b48f69 am 391a7fc0: Support legacy shortcuts
* commit '391a7fc0e99457308b6f6bd9444c8aba94b0b7b1':
  Support legacy shortcuts
2013-04-04 13:42:51 -07:00
Paul Westbrook
391a7fc0e9 Support legacy shortcuts
We need to support shortcuts that were created with previous versions
of Email

Bug: 8530220
Change-Id: I9e2a44b561f5617ffa954af37a9e78a95400f7dc
2013-04-04 02:45:17 -07:00
Mark Wei
102df0ea66 am 30dec61d: Merge "Attachments in Conversation List: UI changes to display attachment previews in the conversation list." into jb-ub-mail-ur9
* commit '30dec61dbd57ebfbdab7755d50d18471aab59178':
  Attachments in Conversation List: UI changes to display attachment previews in the conversation list.
2013-04-03 17:51:16 -07:00
Mark Wei
30dec61dbd Merge "Attachments in Conversation List: UI changes to display attachment previews in the conversation list." into jb-ub-mail-ur9 2013-04-04 00:47:57 +00:00
Baligh Uddin
e02991c6ee am cca79c7d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9
* commit 'cca79c7d7293227fe4912dc083108351f8fa9542':
  Import translations. DO NOT MERGE
2013-04-03 15:14:06 -07:00
Baligh Uddin
cca79c7d72 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-04-03 22:09:50 +00:00
Baligh Uddin
9e0992d6ad Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-04-03 22:09:28 +00:00
Yu Ping Hu
2ae74add6f am f86e0321: Merge "Restore functionality for uploading new messages." into jb-ub-mail-ur9
* commit 'f86e03216bf0cc72554eb7da7d1f1c8faf1bb826':
  Restore functionality for uploading new messages.
2013-04-03 13:49:57 -07:00
Yu Ping Hu
f86e03216b Merge "Restore functionality for uploading new messages." into jb-ub-mail-ur9 2013-04-03 20:45:21 +00:00
Baligh Uddin
75b933594f Import translations. DO NOT MERGE
Change-Id: I396772ee5921bc2e145b5c247f6935db81c34a08
Auto-generated-cl: translation import
2013-04-03 12:12:48 -07:00
Baligh Uddin
bc14105df7 Import translations. DO NOT MERGE
Change-Id: Id6f1cdce89b99619db5212ef06651955520a1f87
Auto-generated-cl: translation import
2013-04-03 12:09:50 -07:00
Yu Ping Hu
c5c9c1c69e Restore functionality for uploading new messages.
The code for syncing new messages from client to server
somehow never got moved from Email1 to Email2.

This change also includes minor cleanup on system mailbox
flags.

Bug: 8531552
Change-Id: I1f9396635ba14cb6e641d2bc1b506c6d702f6b2e
2013-04-03 09:32:35 -07:00
Yu Ping Hu
90f2a29da4 am 81ca6599: Increment version number.
* commit '81ca6599be1c210a6c0182fe5e8b77bc97e7d5b7':
  Increment version number.
2013-04-03 09:31:00 -07:00
Mark Wei
d7970b3635 Attachments in Conversation List: UI changes to display attachment previews
in the conversation list.

Depends on:
PhotoManager: https://googleplex-android-review.googlesource.com/#/c/285814/

Bug: 7481049
Change-Id: Ia9f93c4ce75a4c9be0e9b738d0347292e4b2faca
2013-04-02 19:22:38 -07:00
Yu Ping Hu
81ca6599be Increment version number.
Change-Id: Ifff70ec6a013bbde97a8f8726f958665b6333570
2013-04-02 12:59:55 -07:00
Paul Westbrook
96af4ae6e9 am d1a87bc0: Fix IMAP sync with Arabic language
* commit 'd1a87bc02d65dde9e635848531e09aadc79ff538':
  Fix IMAP sync with Arabic language
2013-04-02 12:57:07 -07:00
Paul Westbrook
d1a87bc02d Fix IMAP sync with Arabic language
Email shouldn't rely on the the default locale.
See: http://developer.android.com/reference/java/util/Locale.html#default_locale

Bug: 7138507
Change-Id: Ia2c6eccc6dee011f4e7e7c663a0328d4fd76131b
2013-04-02 11:36:11 -07:00
Yu Ping Hu
3bbd8130fb am de4c230f: Exclude not fully loaded messages from uimessages queries.
* commit 'de4c230f008ca0615b8035a560cd512624ac2cdb':
  Exclude not fully loaded messages from uimessages queries.
2013-04-01 20:40:25 -07:00
Yu Ping Hu
de4c230f00 Exclude not fully loaded messages from uimessages queries.
Bug: 8370633
Change-Id: I5643454333b490bb1a988efb7b59e20b18fa67f4
2013-04-01 20:08:30 -07:00
Yu Ping Hu
3a5f3044e4 am 46d6a4a7: When loading messages, use left join for Message and Body.
* commit '46d6a4a7cb98430088595a9e305060ac4273ab8f':
  When loading messages, use left join for Message and Body.
2013-04-01 19:48:45 -07:00
Yu Ping Hu
46d6a4a7cb When loading messages, use left join for Message and Body.
Existing inner join means that a Message without an entry
in Body table cannot display correctly, even though this is
a potentially legitimate state.

However, because the MessageCursor for Email doesn't read
flagLoaded at all, this change actually causes another bug:
if you go to a partially loaded message, it will show as
blank with no load indicator. Fixing b/8370633 will mask
this by not letting you get in a situation where partially
loaded messages are shown.

Bug: 8512030
Change-Id: Ie2e365e7e5df3959115ed299d1a7f03aa1d7af79
2013-04-01 18:17:25 -07:00
Yu Ping Hu
051faaf1f8 am 3bef153c: Merge "Improve error logging for mailboxNotification." into jb-ub-mail-ur9
* commit '3bef153c9cf6b3ab5009af8677c8460bd52d9fc5':
  Improve error logging for mailboxNotification.
2013-04-01 17:38:15 -07:00
Yu Ping Hu
3bef153c9c Merge "Improve error logging for mailboxNotification." into jb-ub-mail-ur9 2013-04-02 00:36:48 +00:00
Paul Westbrook
1522d89ed8 am 11472650: Fix apk attachments
* commit '11472650d1fce7548939d311c4434128930c18ba':
  Fix apk attachments
2013-04-01 17:26:59 -07:00
Paul Westbrook
11472650d1 Fix apk attachments
Bug: 7585865
Change-Id: I20191523377d99472e333dece4d727415f97c67a
2013-04-01 17:20:27 -07:00
Baligh Uddin
b93c42d94a am a8135c3d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9
* commit 'a8135c3d316867464ea0a8912424cf2fda8d0af3':
  Import translations. DO NOT MERGE
2013-04-01 13:11:25 -07:00
Baligh Uddin
a8135c3d31 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-04-01 20:09:52 +00:00
Baligh Uddin
49970f4bd3 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-04-01 20:09:33 +00:00
Paul Westbrook
0fad75ce15 am 3767da5d: Add capabilities for search folder
* commit '3767da5d26c7138a6c3a293fd4b2b685f71f016f':
  Add capabilities for search folder
2013-04-01 08:50:40 -07:00
Paul Westbrook
3767da5d26 Add capabilities for search folder
Bug: 6693452
Change-Id: Ib55fca4f883a699eabdaabf35568bffa055d556f
2013-03-31 12:00:14 -07:00
Paul Westbrook
ba5e5a1658 am c4deb273: increment versionCode
* commit 'c4deb273e2e5eea3ca857c45ac17d1488f7ea5f2':
  increment versionCode
2013-03-29 21:02:49 -07:00
Paul Westbrook
c4deb273e2 increment versionCode
Change-Id: I9cfe3f9fff0f11ecf87688dceb71f0275bac7dbc
2013-03-29 20:53:57 -07:00
Baligh Uddin
0c5208e584 Import translations. DO NOT MERGE
Change-Id: Ic92709d3de1a3fd8aba1ae704029278aa2684204
Auto-generated-cl: translation import
2013-03-29 20:28:19 -07:00
Baligh Uddin
72727a10a4 Import translations. DO NOT MERGE
Change-Id: If8c83bd812580a5f49616475f64da82879913fe0
Auto-generated-cl: translation import
2013-03-29 20:25:52 -07:00
Yu Ping Hu
7cc82371ec Improve error logging for mailboxNotification.
Change-Id: I5b16ac46ce8cdd6e8f791c9cea7d7ead7e053bdc
2013-03-28 19:10:23 -07:00
Yu Ping Hu
fed62611c1 am c534638b: Disable notification prefs until folder prefs are loaded.
* commit 'c534638b7aeb1f4bd65852bbcff6b2c78f21d566':
  Disable notification prefs until folder prefs are loaded.
2013-03-27 17:46:44 -07:00
Yu Ping Hu
c534638b7a Disable notification prefs until folder prefs are loaded.
Bug: 8485354
Change-Id: Id56c2634a16274e9340ad6ecb96661ee8a489d49
2013-03-27 17:40:38 -07:00
Yu Ping Hu
36ce0bbd5a am b1792d72: Increment version number.
* commit 'b1792d725ae9e5b8158f423ac0a2f5f8082d9b00':
  Increment version number.
2013-03-26 18:52:01 -07:00
Yu Ping Hu
b1792d725a Increment version number.
Change-Id: I6a27aa4ee4de9d83e60fb226fcf838b127522f36
2013-03-26 18:46:54 -07:00
Yu Ping Hu
1b9f89a580 am e46d4457: Change the notification action strings.
* commit 'e46d4457a06f200f2328d5dc343f07f049f332dc':
  Change the notification action strings.
2013-03-26 18:33:32 -07:00