Commit Graph

152 Commits

Author SHA1 Message Date
Marc Blank
ab7d500c06 Merge "Restore some sanity to IMAP sync" 2012-04-23 09:16:52 -07:00
Marc Blank
264d514075 Prevent NPE in account/folder query when they no longer exist
Change-Id: I65d72bae84d26142ba37b365effe1d9655de1e2c
2012-04-23 08:42:41 -07:00
Marc Blank
2af67eba86 Restore some sanity to IMAP sync
* Ignore the small/large message distinction
* Get rid of loadMore; let the sync always get the text parts
  (this avoids parsing a potentially huge message just to get at
  the text parts)
* If we have a multipart/alternative and it has html text, don't
  bother loading the plain part

Bug: 6325247

Change-Id: Ib557b20c517f0dee2b5f67d0d57d5304a0cba936
2012-04-22 22:03:03 -07:00
Marc Blank
7072612991 Prevent OOM that we've seen unrepeatably w/ IMAP literals
Bug: 6325247
Change-Id: If00a509cebeb75a2375159ba3045fa9089b4b4b2
2012-04-20 18:40:37 -07:00
Marc Blank
045a4ca46e Fix icon for email widget
Change-Id: If93a0c8f5676da66c8e07dd599f7b83ec5ab1f5d
2012-04-20 12:08:21 -07:00
Marc Blank
228b1753a4 Clear reply/forward flag when move message to sent items
Bug: 6364495
Change-Id: I52d3ede175ee4f1575d54543d82b7c4b32b6ec25
2012-04-19 13:45:47 -07:00
Marc Blank
10c4d8814e Merge "Don't crash if we can't create notification intent" 2012-04-19 12:59:42 -07:00
Marc Blank
ea8841a001 Don't crash if we can't create notification intent
Bug: 6359505
Change-Id: I7fa25a1f57937b01859fe3ae5ce5729b06858400
2012-04-19 12:52:30 -07:00
Eric Fischer
aadbdda5a1 Import translations. DO NOT MERGE
Change-Id: I237bfbee1a477059ce7d6eb97399a71457d0aec9
2012-04-19 11:29:36 -07:00
Mindy Pereira
30a6b1fc77 Merge "Usse attachmentsJson." 2012-04-17 08:38:52 -07:00
Marc Blank
97d8157dc6 Fix POP3 message sending (never worked)
* Apparently, this hadn't been tested
* Also small tweak for deleted attachments

Change-Id: Ia07db2c77f7e6dcfa558a262280010f7375c32f0
2012-04-17 08:34:10 -07:00
Mindy Pereira
0729415a3e Usse attachmentsJson.
Change-Id: If8af8c1d10359a8024bcb63ad1ba11f008d8f22f
2012-04-16 15:58:37 -07:00
Marc Blank
65381f907b Merge "Don't use SYNCED_MESSAGE_URI for POP3/Drafts/Outbox/Search" 2012-04-16 15:37:12 -07:00
Marc Blank
e7cab0a8a4 Merge "When provider starts, initialize folder status" 2012-04-16 13:52:05 -07:00
Marc Blank
188d4996c8 Merge "Allow undo for combined account" 2012-04-16 13:51:22 -07:00
Marc Blank
37e2be2556 Don't use SYNCED_MESSAGE_URI for POP3/Drafts/Outbox/Search
Bug: 6330408
Change-Id: I84114d95fe4cf2a0137e2e9108ba349e58e21788
2012-04-16 13:44:38 -07:00
Marc Blank
ba30ce9343 Use right uri for combined account compose
Bug: 6323241
Change-Id: I9e705b94363c7a311cdb7cbd04da60aeb63f8fd2
2012-04-16 11:18:01 -07:00
Marc Blank
c1ccdc5f9b When provider starts, initialize folder status
Bug: 6316761

Change-Id: I916ff7b6881971f685420972635423567cd97761
2012-04-16 10:32:22 -07:00
Marc Blank
1a69a28f62 Allow undo for combined account
Bug; 6323124

Change-Id: I62ff6ee34871e6d083e22ff9f2b9e3e4193c7080
2012-04-16 09:37:20 -07:00
Eric Fischer
49927a0ae4 Merge "Import translations. DO NOT MERGE" 2012-04-13 16:42:10 -07:00
Marc Blank
3dce9c07be Clear INITIAL_SYNC_NEEDED status after first sync
Change-Id: I9d7a3ae4d3dbbc4af82aae8405fa7e4e38bc8f34
2012-04-13 12:21:42 -07:00
Eric Fischer
fc093a7b88 Import translations. DO NOT MERGE
Change-Id: I9b0c4c8816e5fff58e72c10118b2352a23e282c7
2012-04-13 11:31:43 -07:00
Marc Blank
83ecabc8b2 Add logging
Change-Id: Id1c929591ad0fb451c8a8ba391f80108e2febb5d
2012-04-12 18:10:41 -07:00
Marc Blank
733aef1204 Rework of attachment loading/saving
* Respect the destination for attachment downloading
* Rework attachment load/save for IMAP/POP

Change-Id: I94fdcea5ec6d397aba554fec3753b2de9cb5f1dd
2012-04-12 17:24:41 -07:00
Marc Blank
b6d43d73c1 Add support for downloading/forwarding stupidly forwarded atts
Bug: 6315979
Change-Id: I55bb51278d50b40730d279b67bf425ed6b72a616
2012-04-12 12:11:02 -07:00
Andy Huang
dda6f1de94 build with support libs for ViewPager
Change-Id: I9f0f68ec2b4b6b6fe98dddb48c5a38cf5e1ef76d
2012-04-11 23:14:48 -07:00
Marc Blank
26cda14a0f Merge "Fix security notifications & crash" 2012-04-11 22:36:35 -07:00
Marc Blank
fec41d34ba Fix security notifications & crash
Bug: 6318784
Change-Id: Iadba96fc38896edf4a22dde2d02430fcb6bf1e29
2012-04-11 19:54:12 -07:00
Eric Fischer
f499c7a4f1 Import translations. DO NOT MERGE
Change-Id: Ia178a1168c4adf17687f6147a24fdabc1e4f52a7
2012-04-11 11:24:07 -07:00
Eric Fischer
2d8dd0f2d1 Merge "Import translations. DO NOT MERGE" 2012-04-10 14:14:34 -07:00
Vikram Aggarwal
d1241db03e Merge "Add the starred folder type" 2012-04-10 13:00:26 -07:00
Vikram Aggarwal
cd1f1f578a Add the starred folder type
Change-Id: I41eeea30aff21c8d6dbc82ab73cc8f13136dfffa
2012-04-10 12:57:59 -07:00
Marc Blank
3b22996245 Make sure sync sets up TempDirectory
Bug: 6316466
Change-Id: I7a7254692db3d53cb16af7b0faa9201a574eab7f
2012-04-10 12:48:00 -07:00
Marc Blank
6e4b9e3907 Oops; fix about-to-be-broken build
Change-Id: I2086eee46eb371a91aacccfd6021704e8875fb00
2012-04-10 12:22:40 -07:00
Marc Blank
ea4bcad7ba Use real email icon in Email2
Change-Id: I12f65f244aed747b6f3717f4ca9ddc3c6f1d63df
2012-04-10 12:17:35 -07:00
Eric Fischer
130d9f4c10 Import translations. DO NOT MERGE
Change-Id: I49ad4575872dd07985914034e29271d77dcab8cc
2012-04-10 12:10:49 -07:00
Marc Blank
2e4b884c1d Set forwarded/replied-to flags in ref message
* Also, little bit of cleanup

Bug: 6282892
Change-Id: Ie36e6ce7eaedaed59b5b9480b8ce4eac2025c620
2012-04-10 11:11:55 -07:00
Marc Blank
157a9bd57d Set acct sync status to "initial sync needed" until inbox exists
* Notify on account when mailboxes are added

Change-Id: I8b78c37b5305a28a261a82308bb5bf88c0728fdc
2012-04-10 09:57:40 -07:00
Marc Blank
ea181b0bce Merge "Add various virtual folders" 2012-04-10 09:31:49 -07:00
Marc Blank
3a4448facc Add various virtual folders
* Added a starred folder for each account (only shows up if there
  are any starred messages)
* Added a combined starred folder in the "combined" account
* Use proper icon for the starred folders
* Set proper counts for these folders

TODO: There are probably a bunch of loose ends related to how the
counts in these virtual folders get updated

Change-Id: I72fcf543716583bdfcbdd50ffcac3b023a9b59e6
2012-04-10 09:26:09 -07:00
Paul Westbrook
b56fa92fc8 Merge "Change folder settings menu name" 2012-04-10 09:25:09 -07:00
Paul Westbrook
06fbb1354b Merge "Use plain senders view for email. Doesn't provide complex senders info." 2012-04-09 22:43:43 -07:00
Paul Westbrook
b7c5f2003f Change folder settings menu name
Use pre-JB string

Change-Id: Id829294e9f7b245ff51cc751bc834a8fa636d89b
2012-04-09 22:31:53 -07:00
Marc Blank
081582122c Merge "Add attachments to ui messages" 2012-04-09 22:21:48 -07:00
Marc Blank
39edfeb840 Add attachments to ui messages
Bug: 6309686
Change-Id: If3d25e6273c453b99aa0acfcca8e7d5636c7de3a
2012-04-09 20:07:07 -07:00
Marc Blank
9c8cc9f504 Fix total count for drafts
Bug: 6310774

Change-Id: I95db8c4751553da583ecde8b003d8d532c64a995
2012-04-09 17:06:32 -07:00
Mindy Pereira
df1440ddfa Use plain senders view for email. Doesn't provide complex senders info.
Change-Id: I4313a5e8f0f8628546011c63956dd20d5f7f0332
2012-04-09 14:42:58 -07:00
Paul Westbrook
c59b877589 Retrict widget updates to those from Email
We don't want Email to update its widget when changes happen in
Gmail

Change-Id: I2cbcb44d6a983e9824de6653746004237823b0f4
2012-04-09 10:16:31 -07:00
Marc Blank
f81cb2a7ef Handle no-accounts startup
* Properly returns result to AbstractActivityController
* Still crashes after account is created, however, since no inbox will
  exist

Change-Id: Id4da70e785d5795463aa609d571626cfcb01b85f
2012-04-08 11:01:12 -07:00
Marc Blank
46c3132c0b Remove lots o' logging
Change-Id: Iebd461a80c1dfbe11ebb86e643fef670222bff21
2012-04-06 17:43:13 -07:00