Commit Graph

  • 980385b0f9 AI 149600: Fixed message view web link be more robust. Integrates 149300 from DocomoEmail. This is work around for - Regex.WEB_URL_PATTERN would not handle protocol part case insensitive correctly. - WebView only could follow the href link that protocol part is lower case. BUG=1860250,1842508 Mihai Preda 2009-06-05 08:34:52 -0700
  • f5df628991 am a392e070: Add android.permission.WRITE_EXTERNAL_STORAGE Add unit test to verify writeable to sdcard. Andrew Stadler 2009-06-04 23:48:25 -0700
  • 372c12bfbb am a15503a4: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-04 22:43:34 -0700
  • 18106fe981 am 7330fe49: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-04 22:43:17 -0700
  • a392e070bc Add android.permission.WRITE_EXTERNAL_STORAGE Add unit test to verify writeable to sdcard. Andrew Stadler 2009-06-04 15:16:43 -0700
  • a15503a4a6 Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-04 12:50:26 -0700
  • e6ec9d86e8 AI 149578: Fixed possible NullPointerException in MessageCompose. Integrates 148996,149295 from imode email. BUG=1862155,1798576,1860250 Mihai Preda 2009-06-04 12:48:20 -0700
  • 7330fe4953 Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-04 11:40:35 -0700
  • 70798a7892 AI 149573: Display To: instead of From: in Drafts folder && Display unread message count for inbox, total message count everywhere else. Integrates from imode email: 148948,149107,149247,149248,149249,149287. BUG=1591391,1842520,1860085,1459866,1860250 Mihai Preda 2009-06-04 11:38:26 -0700
  • 98475b1d7c am 438275b2: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-04 09:46:29 -0700
  • 438275b283 Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-04 09:42:51 -0700
  • ca5089efb8 AI 149564: Escape special characters such as '<>&' in text/plain for display in WebView. Integrate CL 144586,145919 from imode. Remove the Emoji escaping/workaround for WebView. Also integrate MimeHeader.java from CL 143064 from imode. BUG=1785319,1860250 Mihai Preda 2009-06-04 09:39:24 -0700
  • 9019315b26 Conversion to provider-based Account. What works: * Editing existing accounts * Two placeholder accounts are written Andrew Stadler 2009-06-03 16:11:36 -0700
  • 361a7225f2 am d64d0e56: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-03 06:49:56 -0700
  • d64d0e56de Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-03 06:47:40 -0700
  • 7436601fae AI 149523: Correctly display inline images in Reply and Forward messages. Integrates CL 148436, 148515, 148833 from imode email. BUG=1814789,1860250 Mihai Preda 2009-06-03 06:44:47 -0700
  • 84969fb580 update to adhere to applyBatch changes Fred Quintana 2009-06-01 12:55:50 -0700
  • 0cb7ddfc27 Fixing the build. Methods implementing interfaces must not be declared @Override. Andreas Huber 2009-06-01 15:03:34 -0700
  • 626f3e48a4 Updates to EmailStore and EmailProvider: 1. Call notifyChange() after all API calls. 2. Make Account & HostAuth parcelable 3. Temporary APIs to create "store URI" strings for the existing mail code Andrew Stadler 2009-06-01 14:34:16 -0700
  • 061f4d21dc am d9c1e51d: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-01 13:13:38 -0700
  • d9c1e51d84 Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-01 12:40:16 -0700
  • 39137e51aa AI 149446: Add sending pending outbox message feature; integrates 148664, 148823 from imode to donut. BUG=1860250,1793767 Mihai Preda 2009-06-01 12:38:20 -0700
  • 4c27102aea am fbde900c: Merge branch \'readonly-p4-donut\' into donut Mihai Preda 2009-06-01 11:34:46 -0700
  • fbde900c37 Merge branch 'readonly-p4-donut' into donut Mihai Preda 2009-06-01 11:31:52 -0700
  • 5182d80674 AI 149442: Integrate CL#140625 (Fix attachment uri and content uri confusion) from imode to donut. BUG=1598754,1860250 Mihai Preda 2009-06-01 11:28:33 -0700
  • fae4727a91 Squashed commit of the following: Marc Blank 2009-05-29 14:24:34 -0700
  • ea6b71e0f4 Per android code style guide, all member variables start with "m" Andrew Stadler 2009-05-28 11:46:09 -0700
  • 7b92d9a2a9 Merge branch 'readonly-p4-donut' into donut Tadashi Takaoka 2009-05-27 19:06:31 -0700
  • a8884b9b72 AI 149328: Add extended header support to MimeMessage, MimeBodyPart, and LocalStore. This extension is necessary to support some vendor specific extended header, such as X-NoRtn-Addr of i-mode.net mail. This change will update LocalStore database version to 24. And it should be consistent between donutburger Email and DocomoEmail. BUG=1741969 Tadashi Takaoka 2009-05-27 19:03:34 -0700
  • bd649fc1fd General changes to generalize account & hostauth classes: - Remove references to SMTP and use generic "send" and "recv" notation - Move protocol indication into hostauth - Add TLS (along with SSL) Andrew Stadler 2009-05-27 17:30:07 -0700
  • 2e758791d0 Rename Email to EmailStore to avoid collision with existing Email.java Andrew Stadler 2009-05-27 16:47:41 -0700
  • c5f2a7af76 I fixed the authority in Email to point to the EmailProvider's authority, and I added the EmailProvider to the manifest. Marc Blank 2009-05-27 15:43:27 -0700
  • f3d5b20236 Import first versions of Provider from Marc Andrew Stadler 2009-05-26 16:40:34 -0700
  • 9039fb472a am f50c7fb0: Merge change 2252 into donut Android (Google) Code Review 2009-05-26 10:11:24 -0700
  • f50c7fb084 Merge change 2252 into donut Android (Google) Code Review 2009-05-26 08:21:24 -0700
  • a0aec704b6 am 6c9e2125: Merge change 2264 into donut Android (Google) Code Review 2009-05-22 14:59:55 -0700
  • 6c9e21254c Merge change 2264 into donut Android (Google) Code Review 2009-05-22 14:59:06 -0700
  • 0f4ea703cd am b5343c4c: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-22 12:23:06 -0700
  • b5343c4cc5 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-22 12:16:41 -0700
  • fc9e1ce030 AI 149203: Manual merge CL 149118: "Make URL which is in the head of body text be clickable." BUG=1810716 Andy Stadler 2009-05-22 12:14:07 -0700
  • b011a812e0 Fix the java.lang.StringIndexOutOfBoundsException that occurs when an SMTP server closes the connection early or returns an empty line. Fix the same error in the Pop3 UIDL parser. Andrew Stadler 2009-05-22 11:48:14 -0700
  • ba38ae2764 Remove the msgId string-stealing-hacks because we will do new translations for donut. Andrew Stadler 2009-05-21 16:40:20 -0700
  • 17168fb288 am ae1213c4: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-21 10:44:13 -0700
  • ae1213c4c9 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-21 10:41:44 -0700
  • c2887cd81d AI 149140: Automated g4 rollback of changelist 148333. *** Reason for rollback *** Rollback global lock because bug (now fixed) was not caused by threading/concurrency. *** Original change description *** 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 corrup ... description truncated by g4 rollback ... Andy Stadler 2009-05-21 10:39:04 -0700
  • 4378101ce8 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-20 17:26:28 -0700
  • f9edef8dee AI 149088: Automated g4 rollback of changelist 148488. *** Reason for rollback *** Problem found (bug in ICU encoder/decoder) so instrumentation no longer required here. *** Original change description *** Heavily-instrumented Account.java that's looking for the precise moment when an Account string gets corrupted. Looks for bad base64 strings and bad store Uri's. Logs the error, and (optionally/disabled) throws an exception (good for debugging). BUG=1822859 Andy Stadler 2009-05-20 17:23:48 -0700
  • 4bb7783beb am 6807fd1d: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-20 11:49:52 -0700
  • 6807fd1d47 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-20 10:38:39 -0700
  • c6efb28ad3 AI 149059: Manually merge CL 148988 to fix "Not to revert SEEN flag if POP, and fixed counting unread messages bug". BUG=1785254 Andy Stadler 2009-05-20 10:36:16 -0700
  • 91ae3e87d5 am 51801db8: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-19 15:01:55 -0700
  • 51801db8e9 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-19 14:58:20 -0700
  • 80257af81b AI 149020: Manually merge CLs 148814, 148818 which fix IMAP response parsing to be able to handle a literal string in the middle of the response. BUG=1814528 Andy Stadler 2009-05-19 14:54:49 -0700
  • 7f902a84d1 am 394be87: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-07 14:50:01 -0700
  • 394be87968 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-07 14:45:26 -0700
  • 305382f790 AI 148488: Heavily-instrumented Account.java that's looking for the precise moment when an Account string gets corrupted. Looks for bad base64 strings and bad store Uri's. Logs the error, and (optionally/disabled) throws an exception (good for debugging). BUG=1822859 Andy Stadler 2009-05-07 14:43:25 -0700
  • c9d7c9c977 am 1eba4b5: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-07 14:34:47 -0700
  • 1eba4b57f3 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-07 14:32:46 -0700
  • 3cf41764e3 AI 148485: Clean up the scrollview layout so the button bar is always on the bottom of the screen. Also removed an extra ':' in a string on the screen (none of the other label strings have ':'). BUG=1740626 Andy Stadler 2009-05-07 14:30:53 -0700
  • 00e85ad8ee am 3d26769: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-07 11:02:13 -0700
  • 3d267690a3 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-07 11:00:28 -0700
  • 93116fe28e AI 148457: Allow exchange accounts to be set up without an empty domain specification. This relaxes a rule that was incorrectly applied. BUG=1740626 Andy Stadler 2009-05-07 10:58:05 -0700
  • c6665d43b7 am 6aaffde: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 18:05:16 -0700
  • 6aaffded0b Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 18:03:21 -0700
  • 08e2bc5bb4 AI 148382: Check cursors in LocalStore so we avoid errors when the folder itself has been deleted from the DB. Add unit tests. BUG=1835733 Andy Stadler 2009-05-06 18:01:47 -0700
  • 8550153911 am 7e61436: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 18:01:24 -0700
  • 7e614360b6 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 17:59:29 -0700
  • e67a433c44 AI 148381: Fix broken tests BUG=1776149 Andy Stadler 2009-05-06 17:58:01 -0700
  • 5bc1339921 am 8cbbcb1: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 17:57:29 -0700
  • 8cbbcb14c2 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 17:55:44 -0700
  • 615fcaf337 AI 148378: Allow store to create BinaryTempFileBody from a preexisting file instead for forcing a copy via input stream. BUG=1807499 Andy Stadler 2009-05-06 17:54:14 -0700
  • 7b18face20 am 5a376ed: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 17:53:31 -0700
  • 5a376edb5f Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 17:51:57 -0700
  • 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 Andy Stadler 2009-05-06 17:50:29 -0700
  • eaeec7ebd8 am 9833868: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 17:49:34 -0700
  • 9833868fe6 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 17:47:56 -0700
  • 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 Andy Stadler 2009-05-06 17:46:25 -0700
  • 2777cb50d0 am bf85aa4: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-06 17:45:40 -0700
  • bf85aa4a81 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-06 17:44:00 -0700
  • 3b7a93e8bb AI 148375: Explicitly remove deleted accounts from the Store cache. This resolves possible bugs when an account is deleted and recreated. BUG=1740626 Andy Stadler 2009-05-06 17:42:22 -0700
  • 777691a8b1 am de312d6: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-05 16:41:46 -0700
  • a5c6c3b115 am 9fca130: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-05 16:38:13 -0700
  • de312d60e9 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-05 16:38:11 -0700
  • 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 Andy Stadler 2009-05-05 16:36:31 -0700
  • 9fca1305f7 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-05 16:34:13 -0700
  • 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 Andy Stadler 2009-05-05 16:32:33 -0700
  • 305640040c am 51249c2: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-05 10:32:18 -0700
  • 51249c25c5 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-05 10:29:56 -0700
  • 843125b98a AI 148300: Reduce memory waste in getTextFromPart(), and improve error handling. Fix NPE's in loadMessageForViewBodyAvailable(). BUG=1831272 Andy Stadler 2009-05-05 10:26:55 -0700
  • 8f882a4b41 am 9391a60: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-04 10:34:47 -0700
  • 9391a604e4 Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-04 10:31:00 -0700
  • 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 Andy Stadler 2009-05-04 10:28:41 -0700
  • dae3fdad16 am 63c1ba8: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-04 10:26:14 -0700
  • 63c1ba8f0d Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-04 10:24:48 -0700
  • 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 Andy Stadler 2009-05-04 10:22:54 -0700
  • 4ea57375d8 am c98f977: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-04 10:21:43 -0700
  • c98f9775ad Merge branch 'readonly-p4-donut' into donut Andy Stadler 2009-05-04 10:19:57 -0700
  • 1e2ca965e7 AI 148255: Don't show "Outgoing Settings" preference when sender does not provide a class for launching the settings editor. BUG=1812798 Andy Stadler 2009-05-04 10:17:27 -0700
  • 1e9ca89b56 am 114026b: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-01 23:25:39 -0700
  • 1d629722e0 am 3a0985b: Merge branch \'readonly-p4-donut\' into donut Andy Stadler 2009-05-01 23:25:39 -0700