Commit Graph

2539 Commits

Author SHA1 Message Date
Mihai Preda
361a7225f2 am d64d0e56: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'd64d0e56de58ca3c776f2edae1ebbbafd500d15e'

* commit 'd64d0e56de58ca3c776f2edae1ebbbafd500d15e':
  AI 149523: Correctly display inline images in Reply and Forward messages.
2009-06-03 06:49:56 -07:00
Mihai Preda
d64d0e56de Merge branch 'readonly-p4-donut' into donut 2009-06-03 06:47:40 -07:00
Mihai Preda
7436601fae AI 149523: Correctly display inline images in Reply and Forward messages.
Integrates CL 148436, 148515, 148833 from imode email.
  BUG=1814789,1860250

Automated import of CL 149523
2009-06-03 06:44:47 -07:00
Fred Quintana
84969fb580 update to adhere to applyBatch changes 2009-06-01 17:06:26 -07:00
Andreas Huber
0cb7ddfc27 Fixing the build. Methods implementing interfaces must not be declared @Override. 2009-06-01 15:03:34 -07:00
Andrew Stadler
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
2009-06-01 14:34:16 -07:00
Mihai Preda
061f4d21dc am d9c1e51d: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'd9c1e51d841369ba7f26b8769337471ca10b7b84'

* commit 'd9c1e51d841369ba7f26b8769337471ca10b7b84':
  AI 149446: Add sending pending outbox message feature; integrates 148664, 148823 from imode to donut.
2009-06-01 13:13:38 -07:00
Mihai Preda
d9c1e51d84 Merge branch 'readonly-p4-donut' into donut 2009-06-01 12:40:16 -07:00
Mihai Preda
39137e51aa AI 149446: Add sending pending outbox message feature; integrates 148664, 148823 from imode to donut.
BUG=1860250,1793767

Automated import of CL 149446
2009-06-01 12:38:20 -07:00
Mihai Preda
4c27102aea am fbde900c: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'fbde900c37ae76ec3c6181b3328d4ddf7c46cc7e'

* commit 'fbde900c37ae76ec3c6181b3328d4ddf7c46cc7e':
  AI 149442: Integrate CL#140625 (Fix attachment uri and content uri confusion) from imode to donut.
  AI 149328: Add extended header support to MimeMessage, MimeBodyPart, and LocalStore.
2009-06-01 11:34:46 -07:00
Mihai Preda
fbde900c37 Merge branch 'readonly-p4-donut' into donut 2009-06-01 11:31:52 -07:00
Mihai Preda
5182d80674 AI 149442: Integrate CL#140625 (Fix attachment uri and content uri confusion) from imode to donut.
BUG=1598754,1860250

Automated import of CL 149442
2009-06-01 11:28:33 -07:00
Marc Blank
fae4727a91 Squashed commit of the following:
commit 19beb6f0cc6c0f3f0cbcdcd66cec9f141b470d70
Author: Marc Blank <mblank@google.com>
Date:   Fri May 29 14:23:01 2009 -0700

    Changes to EmailProvider

commit 84cced7b94bde4688ad986a45a6bf876cde3bdbe
Author: Marc Blank <mblank@google.com>
Date:   Fri May 29 14:02:20 2009 -0700

    Fix additional formatting issues.

commit 1faeb1763ba8a967fbf79ddbc48822af08c65a15
Author: Marc Blank <mblank@google.com>
Date:   Thu May 28 19:26:03 2009 -0700

    Changes in EmailStore.Account
    - Add isDefault column
    - Add status methods setDefaultAccount/getDefaultAccount

    Resubmit previous with formatting issues addressed.
2009-05-29 16:08:17 -07:00
Andrew Stadler
ea6b71e0f4 Per android code style guide, all member variables start with "m" 2009-05-28 11:46:09 -07:00
Tadashi Takaoka
7b92d9a2a9 Merge branch 'readonly-p4-donut' into donut 2009-05-27 19:06:31 -07:00
Tadashi Takaoka
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

Automated import of CL 149328
2009-05-27 19:03:34 -07:00
Andrew Stadler
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)
2009-05-27 17:30:07 -07:00
Andrew Stadler
2e758791d0 Rename Email to EmailStore to avoid collision with existing Email.java 2009-05-27 16:47:41 -07:00
Marc Blank
c5f2a7af76 I fixed the authority in Email to point to the EmailProvider's authority, and I added the EmailProvider to the manifest. 2009-05-27 15:43:27 -07:00
Andrew Stadler
f3d5b20236 Import first versions of Provider from Marc 2009-05-26 16:40:34 -07:00
Android (Google) Code Review
9039fb472a am f50c7fb0: Merge change 2252 into donut
Merge commit 'f50c7fb0842c403edc47ea7258af06e7fd1f262c'

* commit 'f50c7fb0842c403edc47ea7258af06e7fd1f262c':
  Fix the java.lang.StringIndexOutOfBoundsException that occurs when an SMTP server closes the connection early or returns an empty line.
2009-05-26 10:11:24 -07:00
Android (Google) Code Review
f50c7fb084 Merge change 2252 into donut
* changes:
  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.
2009-05-26 08:21:24 -07:00
Android (Google) Code Review
a0aec704b6 am 6c9e2125: Merge change 2264 into donut
Merge commit '6c9e21254c65a16a9847f7dd5f4c05b61f6e6dc0'

* commit '6c9e21254c65a16a9847f7dd5f4c05b61f6e6dc0':
  Remove the msgId string-stealing-hacks because we will do new translations for donut.
2009-05-22 14:59:55 -07:00
Android (Google) Code Review
6c9e21254c Merge change 2264 into donut
* changes:
  Remove the msgId string-stealing-hacks because we will do new translations for donut.
2009-05-22 14:59:06 -07:00
Andy Stadler
0f4ea703cd am b5343c4c: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'b5343c4cc535a885d9913811a4d6616dd0d24e13'

* commit 'b5343c4cc535a885d9913811a4d6616dd0d24e13':
  AI 149203: Manual merge CL 149118: "Make URL which is in the head of body text be
2009-05-22 12:23:06 -07:00
Andy Stadler
b5343c4cc5 Merge branch 'readonly-p4-donut' into donut 2009-05-22 12:16:41 -07:00
Andy Stadler
fc9e1ce030 AI 149203: Manual merge CL 149118: "Make URL which is in the head of body text be
clickable."
  BUG=1810716

Automated import of CL 149203
2009-05-22 12:14:07 -07:00
Andrew Stadler
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.
2009-05-22 11:48:14 -07:00
Andrew Stadler
ba38ae2764 Remove the msgId string-stealing-hacks because we will do new translations for donut. 2009-05-21 16:40:20 -07:00
Andy Stadler
17168fb288 am ae1213c4: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'ae1213c4c9fbd9da9fb48506a12176629bde303d'

* commit 'ae1213c4c9fbd9da9fb48506a12176629bde303d':
  AI 149140: Automated g4 rollback of changelist 148333.
  AI 149088: Automated g4 rollback of changelist 148488.
2009-05-21 10:44:13 -07:00
Andy Stadler
ae1213c4c9 Merge branch 'readonly-p4-donut' into donut 2009-05-21 10:41:44 -07:00
Andy Stadler
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 ...

Automated import of CL 149140
2009-05-21 10:39:04 -07:00
Andy Stadler
4378101ce8 Merge branch 'readonly-p4-donut' into donut 2009-05-20 17:26:28 -07:00
Andy Stadler
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

Automated import of CL 149088
2009-05-20 17:23:48 -07:00
Andy Stadler
4bb7783beb am 6807fd1d: Merge branch \'readonly-p4-donut\' into donut
Merge commit '6807fd1d478b48843c5d0698dc59e33bf3f1d3b0'

* commit '6807fd1d478b48843c5d0698dc59e33bf3f1d3b0':
  AI 149059: Manually merge CL 148988 to fix "Not to revert SEEN flag if POP, and
2009-05-20 11:49:52 -07:00
Andy Stadler
6807fd1d47 Merge branch 'readonly-p4-donut' into donut 2009-05-20 10:38:39 -07:00
Andy Stadler
c6efb28ad3 AI 149059: Manually merge CL 148988 to fix "Not to revert SEEN flag if POP, and
fixed counting unread messages bug".
  BUG=1785254

Automated import of CL 149059
2009-05-20 10:36:16 -07:00
Andy Stadler
91ae3e87d5 am 51801db8: Merge branch \'readonly-p4-donut\' into donut
Merge commit '51801db8e9e07865c87296bfccea7964e4c0ad99'

* commit '51801db8e9e07865c87296bfccea7964e4c0ad99':
  AI 149020: Manually merge CLs 148814, 148818 which fix IMAP response parsing to be
2009-05-19 15:01:55 -07:00
Andy Stadler
51801db8e9 Merge branch 'readonly-p4-donut' into donut 2009-05-19 14:58:20 -07:00
Andy Stadler
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

Automated import of CL 149020
2009-05-19 14:54:49 -07:00
Andy Stadler
7f902a84d1 am 394be87: Merge branch \'readonly-p4-donut\' into donut
Merge commit '394be87968c4716653251351b24c85f3f01d8799'

* commit '394be87968c4716653251351b24c85f3f01d8799':
  AI 148488: Heavily-instrumented Account.java that's looking for the precise moment
2009-05-07 14:50:01 -07:00
Andy Stadler
394be87968 Merge branch 'readonly-p4-donut' into donut 2009-05-07 14:45:26 -07:00
Andy Stadler
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

Automated import of CL 148488
2009-05-07 14:43:25 -07:00
Andy Stadler
c9d7c9c977 am 1eba4b5: Merge branch \'readonly-p4-donut\' into donut
Merge commit '1eba4b57f3846c8605654254cd6be97d1dc7d318'

* commit '1eba4b57f3846c8605654254cd6be97d1dc7d318':
  AI 148485: Clean up the scrollview layout so the button bar is always on the
2009-05-07 14:34:47 -07:00
Andy Stadler
1eba4b57f3 Merge branch 'readonly-p4-donut' into donut 2009-05-07 14:32:46 -07:00
Andy Stadler
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

Automated import of CL 148485
2009-05-07 14:30:53 -07:00
Andy Stadler
00e85ad8ee am 3d26769: Merge branch \'readonly-p4-donut\' into donut
Merge commit '3d267690a3295e2d1e6df8fb77cb92625f010480'

* commit '3d267690a3295e2d1e6df8fb77cb92625f010480':
  AI 148457: Allow exchange accounts to be set up without an empty domain
2009-05-07 11:02:13 -07:00
Andy Stadler
3d267690a3 Merge branch 'readonly-p4-donut' into donut 2009-05-07 11:00:28 -07:00
Andy Stadler
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

Automated import of CL 148457
2009-05-07 10:58:05 -07:00
Andy Stadler
c6665d43b7 am 6aaffde: Merge branch \'readonly-p4-donut\' into donut
Merge commit '6aaffded0bcbcf3cb02dabf35eb7fdcace420fe2'

* commit '6aaffded0bcbcf3cb02dabf35eb7fdcace420fe2':
  AI 148382: Check cursors in LocalStore so we avoid errors when the folder itself
2009-05-06 18:05:16 -07:00