Commit Graph

1037 Commits

Author SHA1 Message Date
Andy Stadler
8550153911 am 7e61436: Merge branch \'readonly-p4-donut\' into donut
Merge commit '7e614360b60dd4c02dd82d3551a501e66d45d022'

* commit '7e614360b60dd4c02dd82d3551a501e66d45d022':
  AI 148381: Fix broken tests
2009-05-06 18:01:24 -07:00
Andy Stadler
7e614360b6 Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:59:29 -07:00
Andy Stadler
e67a433c44 AI 148381: Fix broken tests
BUG=1776149

Automated import of CL 148381
2009-05-06 17:58:01 -07:00
Andy Stadler
5bc1339921 am 8cbbcb1: Merge branch \'readonly-p4-donut\' into donut
Merge commit '8cbbcb14c2d49c6d7eb9fb2d141ffd7f3d2889a2'

* commit '8cbbcb14c2d49c6d7eb9fb2d141ffd7f3d2889a2':
  AI 148378: Allow store to create BinaryTempFileBody from a preexisting file
2009-05-06 17:57:29 -07:00
Andy Stadler
8cbbcb14c2 Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:55:44 -07:00
Andy Stadler
615fcaf337 AI 148378: Allow store to create BinaryTempFileBody from a preexisting file
instead for forcing a copy via input stream.
  BUG=1807499

Automated import of CL 148378
2009-05-06 17:54:14 -07:00
Andy Stadler
7b18face20 am 5a376ed: Merge branch \'readonly-p4-donut\' into donut
Merge commit '5a376edb5fa66215af717048065d33909f86dc36'

* commit '5a376edb5fa66215af717048065d33909f86dc36':
  AI 148377: Push Mode changes:  (1) Add android.permission.WAKE_LOCK and
2009-05-06 17:53:31 -07:00
Andy Stadler
5a376edb5f Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:51:57 -07:00
Andy Stadler
dab90a7b35 AI 148377: Push Mode changes: (1) Add android.permission.WAKE_LOCK and
READ_PHONE_STATE so a push mode service can hold an active
  network connection, monitor roaming status, etc.  (2) Refresh
  push mode status on Refresh(), not just on Check, so UI
  (settings) changes, which call refresh(), propagate immediately
  to the stores.
  BUG=1776149

Automated import of CL 148377
2009-05-06 17:50:29 -07:00
Andy Stadler
eaeec7ebd8 am 9833868: Merge branch \'readonly-p4-donut\' into donut
Merge commit '9833868fe6a5e155bb5dd3a1fab031dcf1f241d7'

* commit '9833868fe6a5e155bb5dd3a1fab031dcf1f241d7':
  AI 148376: Two policy changes for lookback window:  (1) Change default
2009-05-06 17:49:34 -07:00
Andy Stadler
9833868fe6 Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:47:56 -07:00
Andy Stadler
63a22008c7 AI 148376: Two policy changes for lookback window: (1) Change default
for new accounts to "1 day".  (2) Remove "all" from the list
  of available lookback window sizes, to prevent runaway
  during our simplistic sync model.
  BUG=1789913

Automated import of CL 148376
2009-05-06 17:46:25 -07:00
Andy Stadler
2777cb50d0 am bf85aa4: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'bf85aa4a811994b9eb70a108fd3005edb2ab290a'

* commit 'bf85aa4a811994b9eb70a108fd3005edb2ab290a':
  AI 148375: Explicitly remove deleted accounts from the Store cache.  This resolves
2009-05-06 17:45:40 -07:00
Andy Stadler
bf85aa4a81 Merge branch 'readonly-p4-donut' into donut 2009-05-06 17:44:00 -07:00
Andy Stadler
3b7a93e8bb AI 148375: Explicitly remove deleted accounts from the Store cache. This resolves
possible bugs when an account is deleted and recreated.
  BUG=1740626

Automated import of CL 148375
2009-05-06 17:42:22 -07:00
Andy Stadler
777691a8b1 am de312d6: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'de312d60e986060d847b4c0829e80b5eb1725683'

* commit 'de312d60e986060d847b4c0829e80b5eb1725683':
  AI 148334: Provide a new entry in MessageUpdateCallbacks by which the store can
2009-05-05 16:41:46 -07:00
Andy Stadler
a5c6c3b115 am 9fca130: Merge branch \'readonly-p4-donut\' into donut
Merge commit '9fca1305f7a607afb5e89f52b4bb8d0288b8451e'

* commit '9fca1305f7a607afb5e89f52b4bb8d0288b8451e':
  AI 148333: Evidence from failures, and inspection of source, leads me to believe
2009-05-05 16:38:13 -07:00
Andy Stadler
de312d60e9 Merge branch 'readonly-p4-donut' into donut 2009-05-05 16:38:11 -07:00
Andy Stadler
235609d04e AI 148334: Provide a new entry in MessageUpdateCallbacks by which the store can
indicate that the message of interest no longer exists.  This is used
  in remoteFolder.copyMessages, for example because the message was
  already deleted by another client.
  BUG=1807499

Automated import of CL 148334
2009-05-05 16:36:31 -07:00
Andy Stadler
9fca1305f7 Merge branch 'readonly-p4-donut' into donut 2009-05-05 16:34:13 -07:00
Andy Stadler
5293030ba0 AI 148333: Evidence from failures, and inspection of source, leads me to believe
that SharedPreferences has some non-thread-safe paths.  As a quick,
  brute-force workaround, I'm putting a global lock around our use of it.
  This is a bit inefficient, but cases of multiple threads writing to it
  should be very rare.
  Note, we don't have an explicit test for this (I will think about
  finding a way to write one), but the evidence of this failure is that
  after some amount of activity in the Email app, we see corruption in
  the string mSenderUri.
  BUG=1822859

Automated import of CL 148333
2009-05-05 16:32:33 -07:00
Andy Stadler
305640040c am 51249c2: Merge branch \'readonly-p4-donut\' into donut
Merge commit '51249c25c5a1ed448e1889ee37786e02cbe3063d'

* commit '51249c25c5a1ed448e1889ee37786e02cbe3063d':
  AI 148300: Reduce memory waste in getTextFromPart(), and improve error handling.
2009-05-05 10:32:18 -07:00
Andy Stadler
51249c25c5 Merge branch 'readonly-p4-donut' into donut 2009-05-05 10:29:56 -07:00
Andy Stadler
843125b98a AI 148300: Reduce memory waste in getTextFromPart(), and improve error handling.
Fix NPE's in loadMessageForViewBodyAvailable().
  BUG=1831272

Automated import of CL 148300
2009-05-05 10:26:55 -07:00
Andy Stadler
8f882a4b41 am 9391a60: Merge branch \'readonly-p4-donut\' into donut
Merge commit '9391a604e49112d6fd2ddd39ebba42688ec54985'

* commit '9391a604e49112d6fd2ddd39ebba42688ec54985':
  AI 148257: Allow preview of any files (mime type */*) by removing
2009-05-04 10:34:47 -07:00
Andy Stadler
9391a604e4 Merge branch 'readonly-p4-donut' into donut 2009-05-04 10:31:00 -07:00
Andy Stadler
09866af013 AI 148257: Allow preview of any files (mime type */*) by removing
the original filters.  This affects preview, not download.
  This does not preflight the launch at all, it is very simple
  as it simply downloads the attachment and then tries to open it.
  If no activity is found, it uses a toast to say "couldn't do
  that."  A better fix will be to pre-check the mime type to see
  if there are any intent filters to handle it.
  BUG=1650669

Automated import of CL 148257
2009-05-04 10:28:41 -07:00
Andy Stadler
dae3fdad16 am 63c1ba8: Merge branch \'readonly-p4-donut\' into donut
Merge commit '63c1ba8f0d80df67438c3dbe08bf43fccadfcf5a'

* commit '63c1ba8f0d80df67438c3dbe08bf43fccadfcf5a':
  AI 148256: Finish cleaning up the concurrency bugs in FolderMessageList.
2009-05-04 10:26:14 -07:00
Andy Stadler
63c1ba8f0d Merge branch 'readonly-p4-donut' into donut 2009-05-04 10:24:48 -07:00
Andy Stadler
62c4a62985 AI 148256: Finish cleaning up the concurrency bugs in FolderMessageList.
At this point, *all* MessageListener callbacks should have their
  work routed through the handler for deeper processing (especially
  anything that affects the lists) to be in the UI thread only.
  Also fixed a minor regression introduced in CL 148096 (on
  configurations with a single account, the inbox was not
  automatically preopening - this affected desktop shortcuts
  as well.)
  BUG=1812798

Automated import of CL 148256
2009-05-04 10:22:54 -07:00
Andy Stadler
4ea57375d8 am c98f977: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'c98f9775ad2b01f1692f96f14faacaca4ef3c1cf'

* commit 'c98f9775ad2b01f1692f96f14faacaca4ef3c1cf':
  AI 148255: Don't show "Outgoing Settings" preference when sender does not
2009-05-04 10:21:43 -07:00
Andy Stadler
c98f9775ad Merge branch 'readonly-p4-donut' into donut 2009-05-04 10:19:57 -07:00
Andy Stadler
1e2ca965e7 AI 148255: Don't show "Outgoing Settings" preference when sender does not
provide a class for launching the settings editor.
  BUG=1812798

Automated import of CL 148255
2009-05-04 10:17:27 -07:00
Andy Stadler
1e9ca89b56 am 114026b: Merge branch \'readonly-p4-donut\' into donut
Merge commit '114026bf3fdd3a5f54a35030d6e071160e8992f8'

* commit '114026bf3fdd3a5f54a35030d6e071160e8992f8':
  AI 148230: Allow stores to indicate if they support server-side copying of sent
2009-05-01 23:25:39 -07:00
Andy Stadler
1d629722e0 am 3a0985b: Merge branch \'readonly-p4-donut\' into donut
Merge commit '3a0985b83a9856da3639e5a28e1acd0f8db37246'

* commit '3a0985b83a9856da3639e5a28e1acd0f8db37246':
  AI 148216: Provide UI for fixed sync window sizes, as required by EAS.
2009-05-01 23:25:39 -07:00
Andy Stadler
1b8123ef54 am 0fc66ee: Merge branch \'readonly-p4-donut\' into donut
Merge commit '0fc66ee3664ca2c92d79e6fd976962b99a15656f'

* commit '0fc66ee3664ca2c92d79e6fd976962b99a15656f':
  AI 148215: Provide a better way for stores to get their callbacks, since they
2009-05-01 23:25:39 -07:00
Andy Stadler
d3dd6f0717 am 503d4c5: Merge branch \'readonly-p4-donut\' into donut
Merge commit '503d4c52370bbe39a7c7b045d63db0f329190ed6'

* commit '503d4c52370bbe39a7c7b045d63db0f329190ed6':
  AI 148204: Encapsulate a requirement for some remote stores, that need to preload
2009-05-01 23:25:39 -07:00
Andy Stadler
114026bf3f Merge branch 'readonly-p4-donut' into donut 2009-05-01 16:38:07 -07:00
Andy Stadler
c9f151d4fe AI 148230: Allow stores to indicate if they support server-side copying of sent
mail into the "Sent" folder, thus eliminating the need to perform a 2nd
  upload into the server's Sent folder.  IMAP and POP3 do not support
  this (although IMAP could when it recognizes Gmail IMAP servers.)
  BUG=1807499

Automated import of CL 148230
2009-05-01 16:36:34 -07:00
Andy Stadler
3a0985b83a Merge branch 'readonly-p4-donut' into donut 2009-05-01 15:32:04 -07:00
Andy Stadler
9197f42894 AI 148216: Provide UI for fixed sync window sizes, as required by EAS.
When in fixed sync window size mode, change "load more
  messages" to "refresh".
  BUG=1789913

Automated import of CL 148216
2009-05-01 15:30:33 -07:00
Andy Stadler
0fc66ee366 Merge branch 'readonly-p4-donut' into donut 2009-05-01 15:27:34 -07:00
Andy Stadler
035dfc0859 AI 148215: Provide a better way for stores to get their callbacks, since they
might be null at creation time, and available slightly later.
  BUG=1807499

Automated import of CL 148215
2009-05-01 15:25:32 -07:00
Andy Stadler
503d4c5237 Merge branch 'readonly-p4-donut' into donut 2009-05-01 14:43:01 -07:00
Andy Stadler
9ba72bb00d AI 148204: Encapsulate a requirement for some remote stores, that need to preload
message structures before fetching the message body.  Code for IMAP &
  POP3 is unaffected, but remote stores can override
  requireStructurePrefetch() in order to trigger the new behavior.
  BUG=1807499

Automated import of CL 148204
2009-05-01 14:40:58 -07:00
Eric Fischer
1d13c95e1b am c31d5ea: am 9e5757b: AI 148147: Import lots of zh_TW translation chan
Merge commit 'c31d5eae5bf4e792148d59f41f1539811d09ecee'

* commit 'c31d5eae5bf4e792148d59f41f1539811d09ecee':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 18:13:00 -07:00
Eric Fischer
c31d5eae5b am 9e5757b: AI 148147: Import lots of zh_TW translation changes.
Merge commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf' into donut

* commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:37:33 -07:00
Eric Fischer
9e5757b531 AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:16 -07:00
Eric Fischer
f9cdb92453 am 3a7175d: am 6e57772: AI 148026: Update zh_TW translations.
Merge commit '3a7175d66b7627352412029e422530a38edd7666'

* commit '3a7175d66b7627352412029e422530a38edd7666':
  AI 148026: Update zh_TW translations.
2009-04-30 17:24:28 -07:00
Eric Fischer
3a7175d66b am 6e57772: AI 148026: Update zh_TW translations.
Merge commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5' into donut

* commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:40 -07:00