Commit Graph

1018 Commits

Author SHA1 Message Date
Mihai Preda
0a656eeeee am 695fdb1c: Merge change 27443 into eclair
Merge commit '695fdb1cbbe2da817b5b70a00568a0a905e139f0' into eclair-plus-aosp

* commit '695fdb1cbbe2da817b5b70a00568a0a905e139f0':
  MessageView: check for null mMessageContentView on access.
2009-09-28 09:26:58 -07:00
Android (Google) Code Review
695fdb1cbb Merge change 27443 into eclair
* changes:
  MessageView: check for null mMessageContentView on access.
2009-09-28 12:20:08 -04:00
Mihai Preda
a782474b97 am 02fcd3b4: MessageCompose: fix loading the quoted text after a configuration change.
Merge commit '02fcd3b4e7ad526d1be1f7a62d7dfbefc50727ba' into eclair-plus-aosp

* commit '02fcd3b4e7ad526d1be1f7a62d7dfbefc50727ba':
  MessageCompose: fix loading the quoted text after a configuration change.
2009-09-28 09:12:22 -07:00
Mihai Preda
8ad5daf856 am 7768ce27: MessageCompose: delete the attachments that are removed in the UI.
Merge commit '7768ce276ede4ee979df28ee514ddca79bdb90ab' into eclair-plus-aosp

* commit '7768ce276ede4ee979df28ee514ddca79bdb90ab':
  MessageCompose: delete the attachments that are removed in the UI.
2009-09-28 09:12:18 -07:00
Mihai Preda
02fcd3b4e7 MessageCompose: fix loading the quoted text after a configuration change.
Bug 2136283.

Because of the mSourceMessageProcessed guard, the loading after a config change
was done exclusively by the default view hierarchy save/restore.

But this default view restore does not handle WebView content,
thus affecting the quoted text.
2009-09-28 18:07:33 +02:00
Mihai Preda
7768ce276e MessageCompose: delete the attachments that are removed in the UI.
Bug 2139949.
2009-09-28 18:04:06 +02:00
Andrew Stadler
cfed2a83e3 am ce3bb9ab: Merge change 27407 into eclair
Merge commit 'ce3bb9abccf02f047b1d11083584d5ab04ad6341' into eclair-plus-aosp

* commit 'ce3bb9abccf02f047b1d11083584d5ab04ad6341':
  Per spec, allow all attachments to be added via INTENT.
2009-09-28 08:57:36 -07:00
Android (Google) Code Review
ce3bb9abcc Merge change 27407 into eclair
* changes:
  Per spec, allow all attachments to be added via INTENT.
2009-09-28 11:49:27 -04:00
Mihai Preda
7f025a15c4 MessageView: check for null mMessageContentView on access.
Bug 2148358.

It seems that AsyncTask.onPostExecute() can be invoked even after the task
was cancelled, and after Activity.onDestroy().
2009-09-28 16:47:25 +02:00
Marc Blank
ed71393417 am 4c8f0628: Merge change 27393 into eclair
Merge commit '4c8f06283ff1ecdb197d4e446588928333e77a81' into eclair-plus-aosp

* commit '4c8f06283ff1ecdb197d4e446588928333e77a81':
  Don't send local changes of Drafts/Outbox to server (fixes #2149122)
2009-09-28 07:16:43 -07:00
Android (Google) Code Review
4c8f06283f Merge change 27393 into eclair
* changes:
  Don't send local changes of Drafts/Outbox to server (fixes #2149122)
2009-09-28 10:12:53 -04:00
Marc Blank
c91b1489e5 Don't send local changes of Drafts/Outbox to server (fixes #2149122)
* Also, check that there's a valid serverId before doing any updates
  to a message

Change-Id: I5cbfafcc20949b8a33ba08a12ea726168742205b
2009-09-28 07:12:09 -07:00
Andrew Stadler
92a1ff9b77 Per spec, allow all attachments to be added via INTENT.
* Change manifest intent-filter to */*
* Split incoming whitelist into send_ui and send_intent versions

Bugs:  2097457 (general) & 2138790 (.vcf)

Change-Id: Id4a2bb3a75808811578c643a7b841de9491efce4
2009-09-27 23:49:10 -07:00
Marc Blank
a44d62f6de am c05a4859: Merge change 27394 into eclair
Merge commit 'c05a48591eaac1d751696e962f4111743bc848f5' into eclair-plus-aosp

* commit 'c05a48591eaac1d751696e962f4111743bc848f5':
  Fix race condition NPE in medium tests (#2148940)
2009-09-27 21:00:29 -07:00
Android (Google) Code Review
c05a48591e Merge change 27394 into eclair
* changes:
  Fix race condition NPE in medium tests (#2148940)
2009-09-27 23:56:33 -04:00
Marc Blank
e0aefba5fe Fix race condition NPE in medium tests (#2148940)
Change-Id: I53a5fcb7eb4889da2cefa0fdc9092e44e57a2741
2009-09-27 20:55:22 -07:00
Dmitri Plotnikov
d18ab323a9 am fff989df: Renaming Presence and Presence-related columns.
Merge commit 'fff989df752fb3843a4fff3bae0fb5b07e3d6a1a' into eclair-plus-aosp

* commit 'fff989df752fb3843a4fff3bae0fb5b07e3d6a1a':
  Renaming Presence and Presence-related columns.
2009-09-27 19:59:53 -07:00
Dmitri Plotnikov
fff989df75 Renaming Presence and Presence-related columns.
Change-Id: Icba02cdb905ae3514ec16bea097167e09bc18a63
2009-09-27 19:46:59 -07:00
Andrew Stadler
51451de1c8 am e6a8d98e: Merge change 27350 into eclair
Merge commit 'e6a8d98e9e038f17d528d45ce2779c65fe46630b' into eclair-plus-aosp

* commit 'e6a8d98e9e038f17d528d45ce2779c65fe46630b':
  Make checkbox and star more easily selected
2009-09-27 17:32:25 -07:00
Andrew Stadler
c0f72dc015 am 9d249df5: Add WebViewClient to specialize link-click behaviors.
Merge commit '9d249df5b8875175cb56f84a33371370944eacc7' into eclair-plus-aosp

* commit '9d249df5b8875175cb56f84a33371370944eacc7':
  Add WebViewClient to specialize link-click behaviors.
2009-09-27 17:32:22 -07:00
Android (Google) Code Review
e6a8d98e9e Merge change 27350 into eclair
* changes:
  Make checkbox and star more easily selected
2009-09-27 20:28:41 -04:00
Andrew Stadler
9d249df5b8 Add WebViewClient to specialize link-click behaviors.
* If external, set FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
* If mailto: always open the composer

Fixes bugs 1631784 and 2122326
2009-09-27 17:23:46 -07:00
Andrew Stadler
2c6e2f72b1 Make checkbox and star more easily selected
Fixes bug # 2149033
2009-09-27 17:04:37 -07:00
Andrew Stadler
2ddfbfc95f am 38615369: Merge change 27308 into eclair
Merge commit '386153695bf3207ff160dc33a1112f7ea6dbd721' into eclair-plus-aosp

* commit '386153695bf3207ff160dc33a1112f7ea6dbd721':
  Watch for null results when updating internaldate.
2009-09-27 15:14:09 -07:00
Android (Google) Code Review
386153695b Merge change 27308 into eclair
* changes:
  Watch for null results when updating internaldate.
2009-09-27 18:05:32 -04:00
Andrew Stadler
ba64cbcaf8 Watch for null results when updating internaldate.
Fixes bug # 2148971

Note, this condition happens when we APPEND a message to the server
but then we turn around and query for it, and the server reports that
it's not there:

 >>> 7 APPEND "Sent" {490}
 <<< #null# [Ready, for, argument]
 <<< #null# [194, EXISTS]
 <<< #7# [OK, [APPENDUID, 1233339552, 1191], APPEND, completed]
 >>> 8 UID SEARCH (HEADER MESSAGE-ID \
       <pwyc0i5yviwvu5nwio2lwdo5.1254073239445@email.android.com>)
 <<< #null# [SEARCH]
 <<< #8# [OK, UID, SEARCH, completed]
 >>> 9 UID SEARCH UID NULL
 <<< #9# [BAD, UID, SEARCH, error;, bogus, or, incorrect, syntax, \
       of, search, critera]

I don't know why the Yahoo! server did this, but now we'll at least not
crash if they do it again.
2009-09-27 14:36:13 -07:00
Marc Blank
4c959dbb11 am a4cc0006: Merge change 27286 into eclair
Merge commit 'a4cc0006f10156426cbfb9045dc4584eda104fdd' into eclair-plus-aosp

* commit 'a4cc0006f10156426cbfb9045dc4584eda104fdd':
  Don't send DisplayName to CP2 from Exchange contacts sync
2009-09-27 13:06:44 -07:00
Android (Google) Code Review
a4cc0006f1 Merge change 27286 into eclair
* changes:
  Don't send DisplayName to CP2 from Exchange contacts sync
2009-09-27 15:59:03 -04:00
Marc Blank
3c7c3c0529 Don't send DisplayName to CP2 from Exchange contacts sync
* Should fix #2141888

Change-Id: I31d769fd23de4ec7e2d06f108afd8642700a8500
2009-09-27 12:50:54 -07:00
Andrew Stadler
4903fb3d2a am e4405a71: Merge change 27165 into eclair
Merge commit 'e4405a714ddbdc659336edbb530bf77d3b212a7f' into eclair-plus-aosp

* commit 'e4405a714ddbdc659336edbb530bf77d3b212a7f':
  Messages upsynced to "sent" should be marked as "read".
2009-09-27 11:41:01 -07:00
Android (Google) Code Review
e4405a714d Merge change 27165 into eclair
* changes:
  Messages upsynced to "sent" should be marked as "read".
2009-09-27 14:33:12 -04:00
Marc Blank
183b8fb1d6 am c6aaeb99: Merge change 27229 into eclair
Merge commit 'c6aaeb99424862cf5ae249e5c6a5a1c8ce7cd24c' into eclair-plus-aosp

* commit 'c6aaeb99424862cf5ae249e5c6a5a1c8ce7cd24c':
  Fix NPE issue in empty MessageList (fixes #2147432)
2009-09-27 11:27:00 -07:00
Android (Google) Code Review
c6aaeb9942 Merge change 27229 into eclair
* changes:
  Fix NPE issue in empty MessageList (fixes #2147432)
2009-09-27 14:20:48 -04:00
Marc Blank
3dd790c561 am 8aed46b4: Fix race condition in SyncManager (#2137804)
Merge commit '8aed46b4d804b09983d44fce46a842ffa95d3e63' into eclair-plus-aosp

* commit '8aed46b4d804b09983d44fce46a842ffa95d3e63':
  Fix race condition in SyncManager (#2137804)
2009-09-27 11:08:21 -07:00
Marc Blank
8aed46b4d8 Fix race condition in SyncManager (#2137804)
Change-Id: I1165084a5868f340adb51d0d953092fac68d1f64
2009-09-27 10:59:38 -07:00
Marc Blank
c6a392937e Fix NPE issue in empty MessageList (fixes #2147432)
Change-Id: Idea4e4193e95686411f8e8257d729fcfc14d50b5
2009-09-26 10:04:26 -07:00
Andrew Stadler
b422bda4d6 Messages upsynced to "sent" should be marked as "read".
Part of cleanup of bug 2097471 but also addresses old bug 1362964.
2009-09-25 16:42:36 -07:00
Andrew Stadler
4161ffd369 am c41c47fa: Enable message upload
Merge commit 'c41c47fa07a22f8a7612fb0191f152a36d95b7a5' into eclair-plus-aosp

* commit 'c41c47fa07a22f8a7612fb0191f152a36d95b7a5':
  Enable message upload
2009-09-25 15:10:30 -07:00
Andrew Stadler
c41c47fa07 Enable message upload
* Create logic to detect upsyncable messages in Sent
* Note:  Drafts is now local only for IMAP - no sync, either way
* Rewrite MessageController.processPendingAppend for Provider world
* Write provider message -> legacy message converter
* Fixed bug in IMAP APPEND (it was not picking the right UID for the
    uploaded message.)
* Better handling of server internaldate
* Add constants for new X-Android-Body-Quoted-Part header
* Add EmailContent routines to get each of the 5 parts of the body
* Remove "Load more" from unsynced message lists
* Add toString to MimeHeader for debug support

Bug # 2097471

TODO (next CL): Upload attachments records too

Change-Id: I209182f5adc6b6696919f559e3cbbdd58b3eed3a
2009-09-25 14:54:32 -07:00
Mihai Preda
c253d55166 am 10864730: MessageView: fix prev/next navigation in compound mailboxes.
Merge commit '1086473056eaaa8f473af632fb6d701c8376e132' into eclair-plus-aosp

* commit '1086473056eaaa8f473af632fb6d701c8376e132':
  MessageView: fix prev/next navigation in compound mailboxes.
2009-09-25 11:52:13 -07:00
Mihai Preda
1086473056 MessageView: fix prev/next navigation in compound mailboxes.
Bug 2132262.

Change-Id: Ic3b8d9ccedc6101abb90dcac3545f87cbf233659
2009-09-25 11:44:57 -07:00
satok
e14a649478 am c946f878: Merge change 26815 into eclair
Merge commit 'c946f878399b1a54d35458095ad5d6e6f4110e68' into eclair-plus-aosp

* commit 'c946f878399b1a54d35458095ad5d6e6f4110e68':
  UI refresh and add default sender indicator
2009-09-25 11:32:22 -07:00
Marc Blank
a6ed97e4d9 am 10a49083: Remove "Refresh" from bottom of EAS message lists
Merge commit '10a4908369c5dfd8db22e969fc00ce0ec695a065' into eclair-plus-aosp

* commit '10a4908369c5dfd8db22e969fc00ce0ec695a065':
  Remove "Refresh" from bottom of EAS message lists
2009-09-25 11:32:18 -07:00
Android (Google) Code Review
c946f87839 Merge change 26815 into eclair
* changes:
  UI refresh and add default sender indicator
2009-09-25 14:28:24 -04:00
Marc Blank
10a4908369 Remove "Refresh" from bottom of EAS message lists
* It's confusing and inappropriate

Change-Id: I4633d34ad022ab7970384f14182dbf3c9aa4207f
2009-09-25 11:25:00 -07:00
satok
a4e604a9bb UI refresh and add default sender indicator
BUG: 1904417

* Fix the color of Read/Unread
* Add default sender indicator
2009-09-26 03:18:33 +09:00
satok
b3af7bab9c am d32d7863: Merge change 26812 into eclair
Merge commit 'd32d78634c776fa12afb7478fdc7e67140f2167e' into eclair-plus-aosp

* commit 'd32d78634c776fa12afb7478fdc7e67140f2167e':
  Remember the list positions in MessageListView for onResume
2009-09-25 10:55:09 -07:00
Android (Google) Code Review
d32d78634c Merge change 26812 into eclair
* changes:
  Remember the list positions in MessageListView for onResume
2009-09-25 13:50:03 -04:00
Marc Blank
12e7b3f884 am bce49bb3: Merge change 27048 into eclair
Merge commit 'bce49bb3f56177eb61526426336fd0100ca34687' into eclair-plus-aosp

* commit 'bce49bb3f56177eb61526426336fd0100ca34687':
  Harden a few calls in Controller
2009-09-25 10:38:57 -07:00
Android (Google) Code Review
bce49bb3f5 Merge change 27048 into eclair
* changes:
  Harden a few calls in Controller
2009-09-25 13:32:45 -04:00