Commit Graph

3485 Commits

Author SHA1 Message Date
Andrew Stadler
fb4333b3a5 Allow spaces in passwords
* Separate/identical fixes for incoming, outgoing, exchange
* Unit tests
* Some protocols will fail anyway (e.g. POP3)

TODO: Some sort of warning (master only - won't backport that)
Bug: 2981433

Change-Id: I82984e5912fc7fcb88e747815d0fe33cb36605e7
2010-09-27 10:04:03 -07:00
Jean-Baptiste Queru
a1758ebc25 am fc3aab36: am 0dd360c2: reconcile froyo-release into gingerbread
Merge commit 'fc3aab36626a704a45db450ad7e7d14f45f748eb'

* commit 'fc3aab36626a704a45db450ad7e7d14f45f748eb':
  Increase EmailServiceProxy timeout for validation attempts
  Block oversize attachments from being sent
2010-09-26 17:57:40 -07:00
Jean-Baptiste Queru
fc3aab3662 am 0dd360c2: reconcile froyo-release into gingerbread
Merge commit '0dd360c207f059ed660abdcee6218e8453b81289' into gingerbread-plus-aosp

* commit '0dd360c207f059ed660abdcee6218e8453b81289':
  Increase EmailServiceProxy timeout for validation attempts
  Block oversize attachments from being sent
2010-09-26 17:42:07 -07:00
Jean-Baptiste Queru
0dd360c207 reconcile froyo-release into gingerbread
Change-Id: I6ee13403f78f5644c6a6d294030a51746b5f5f2a
2010-09-26 17:30:26 -07:00
Makoto Onuki
d25d87c7ba Fix NPE with use of getFirstRowXxx
Make sure not to cast null into a primitive type.
(i.e. If null isn't expected as a return value, make sure to set a non-null
default value.)

Bug 3032143

Change-Id: I9a344d765c75a66f529ad8d99b00b2b919139f9c
2010-09-24 16:59:51 -07:00
Makoto Onuki
1f61263136 Merge "Refactor for new notification UI" 2010-09-24 16:59:25 -07:00
Marc Blank
224442906b Merge "Handle EAS type 1 folders (user-created)" 2010-09-24 16:54:57 -07:00
Makoto Onuki
08346b67b8 Refactor for new notification UI
- Move the notifiaction code into a bg thread.
  We need to access db to fetch the latest message
- Extracted ContactStatusLoader.load to synchronously load contact
  pictures.

Change-Id: I282ffb706ea8e14558bf29880a0fb952868b27e5
2010-09-24 16:22:47 -07:00
Eric Fischer
c045c3aa88 am 841b7ddf: (-s ours) am 7542efcf: Import revised translations. DO NOT MERGE
Merge commit '841b7ddf79a8ce997ad3da9d49e54f57352bad69'

* commit '841b7ddf79a8ce997ad3da9d49e54f57352bad69':
  Import revised translations.  DO NOT MERGE
2010-09-24 15:21:28 -07:00
Eric Fischer
9580294613 Merge "Import revised translations." 2010-09-24 13:19:57 -07:00
Makoto Onuki
0824439785 Workaround for ListView bug related to smoothScrollToPosition
Hopefully it'll soon be fixed in the framework, but it's blocking what
I want to do now.

Bug 3028455

Change-Id: I43ed059b7766a3bfc29166464bd449d905b207e4
2010-09-24 13:05:55 -07:00
Marc Blank
23f8d3be7d Handle EAS type 1 folders (user-created)
* If a type 1 folder has an mail folder as a parent (at any level),
  it is also a mail folder (and therefore, we should have it in our
  folder list)
* Before rejecting type 1 folders, look for parents and accept those
  that are mail folders
* Add unit test to verify logic

Bug: 2978410
Change-Id: I44cda1d1c1fd7f3976af53a1672736201cc995ff
2010-09-24 12:46:08 -07:00
Eric Fischer
f838cfcba5 Import revised translations.
Change-Id: I0cb6fbfda7fc88d671668e82d0250b625dc9311f
2010-09-24 12:26:33 -07:00
Eric Fischer
841b7ddf79 am 7542efcf: Import revised translations. DO NOT MERGE
Merge commit '7542efcfb8871f032573b24be603bc6f6b27eb62' into gingerbread-plus-aosp

* commit '7542efcfb8871f032573b24be603bc6f6b27eb62':
  Import revised translations.  DO NOT MERGE
2010-09-24 11:09:13 -07:00
Eric Fischer
7542efcfb8 Import revised translations. DO NOT MERGE
Change-Id: Ie085ada67c5f6ba290f2b1366550fd7f9ed3462c
2010-09-24 10:24:35 -07:00
Makoto Onuki
4209ea36b0 Make ThrottlingCursorLoader smarter
Now the class initially uses smaller timeout, and expand it when detecting
multiple changes in a short period.

This CL makes the UI look more responsive especially on the message list +
message view mode.  e.g. Starring on the message view will quickly be
reflected to the message list.

Bug 3024799
Bug 3027832

Change-Id: Ie2d44c3769d43e3fd0f54ee526556eb3bad5e288
2010-09-22 18:01:01 -07:00
Makoto Onuki
2dbb510657 Hide bottom buttons when message list enters selection mode
Hide the command buttons at the bottom of the message view when the message
list enters the selection mode.

Change-Id: Id825bb5183673e9def055b6480fa180beab51178
2010-09-22 18:00:21 -07:00
Makoto Onuki
c8fb75035f Implement latest selection mode behavior
On the message list,
- Longpress toggles selection.
- Tap opens message

Now it should be in line with gmail.

Change-Id: I1ce441a13fd9b41e3d7d10c2f2e4d43e580db708
2010-09-22 16:51:30 -07:00
Makoto Onuki
e069246d48 Make sure callback is still registered when calling wrappee
This caused callback methods getting run after onDestroy() problem.

Bug 2799534
Bug 3011802

Change-Id: Id505e328bbff096a9f7474c033443ff6663a5fdf
2010-09-22 15:39:02 -07:00
Makoto Onuki
58843f0dc3 Highlight selected message on message list
Also make sure the highlighted mailbox is always visible on the mailbox list.

MessageListFragment now just uses the default background color, which means
it no longer changes background color for unread messages or checked messages.
This should be re-implemented if necessary with the newer wireframe.

Change-Id: I9bfbe9f0711ea4ab56be27778b00298d3033123b
2010-09-22 14:44:23 -07:00
Marc Blank
793c6639ec am 9b5c615c: am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e'

* commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 14:41:29 -07:00
Andy Stadler
bb0b75f452 am a9a55512: (-s ours) am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'a9a55512551609111e7269b6de70688407da4b2a'

* commit 'a9a55512551609111e7269b6de70688407da4b2a':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 14:41:16 -07:00
Andrew Stadler
0813c7051f resolved conflicts for merge of 0d9ed341 to master
Change-Id: I198f760ef1734cf4a64c875236a2352859dc1a72
2010-09-22 14:37:44 -07:00
Makoto Onuki
b4dacf2acf Don't show only special mailboxes on mailbox list
When a new account has just been set up and the app is still loading
mailboxes, keep the mailbox list empty and let ListFragment show
the progress icon, rather than showing "Combined Inbox" "All Starred" etc
without acutal inboxes, which looks like it's broken.

Change-Id: Ia3de4377b701f0033c5dc92f8b6b14651d4d8e1e
2010-09-22 14:03:06 -07:00
Marc Blank
9b5c615cee am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit 'deed4505e9ad11626a8163653def57318b2d7d39' into gingerbread-plus-aosp

* commit 'deed4505e9ad11626a8163653def57318b2d7d39':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 13:42:22 -07:00
Marc Blank
deed4505e9 Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread 2010-09-22 13:39:46 -07:00
Andy Stadler
a9a5551255 am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05' into gingerbread-plus-aosp

* commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 13:29:22 -07:00
Andy Stadler
ed824a07ae DO NOT MERGE Harden thumbnail creation
* Catch some errors earlier;  Log all errors.

Bug: 2905324
Backport from master: Icdf4ec881f404787a0621e606d7e611d5e50aab1

Change-Id: I817a770da2d158984476cfa2b10a5de6bc0b43f8
2010-09-22 13:24:46 -07:00
Andy Stadler
0d9ed341b2 am 16657c9c: Merge "Fix test failures" into gingerbread
Merge commit '16657c9c201089d480feff0e8938ffbde3ffddde' into gingerbread-plus-aosp

* commit '16657c9c201089d480feff0e8938ffbde3ffddde':
  Fix test failures
2010-09-22 13:23:35 -07:00
Andy Stadler
16657c9c20 Merge "Fix test failures" into gingerbread 2010-09-22 13:18:52 -07:00
Makoto Onuki
250ca15b88 Show MessageList with MessageView, rather than MailboxList
In message view mode, show MessageListFragment on the left pane.

TODO: Highlight opened message on message list
TODO: If the opened message is moved/deleted/starred/etc, update
message view
TODO: Collapsible left pane on portrait

Change-Id: I9b26f7291648da0e08bc526b79305ab65ce4d926
2010-09-22 13:13:59 -07:00
Makoto Onuki
353b75b04b Fix NPE -- check isCancelled in onPostExecute
Bug 3024665

Change-Id: I97c122a6c66a7d4245187961cb90ea874d0e305d
2010-09-22 13:12:13 -07:00
Makoto Onuki
1ef511dafd Merge "Ignore and log OOM during bitmap creation" 2010-09-22 13:10:22 -07:00
Marc Blank
65a10186a5 Increase EAS command timeout from 20 to 30 seconds
Bug: 3027271
Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce
2010-09-22 12:45:48 -07:00
Andy Stadler
6278dcdeaf Fix test failures
Methods were used by tests only and being stripped by PG.

Bug: 2894378
Change-Id: Ieb1dd0daa8bd380c66a7b1e6151c5e5b22cbe38c
2010-09-22 12:06:41 -07:00
Andy Stadler
dbcef318e9 am def16a33: (-s ours) am ebba88e4: Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread
Merge commit 'def16a33334bbf2674f7016ae0fab0c679eb5ced'

* commit 'def16a33334bbf2674f7016ae0fab0c679eb5ced':
  DO NOT MERGE disallow longpress in WebView
2010-09-22 12:04:32 -07:00
Andy Stadler
def16a3333 am ebba88e4: Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread
Merge commit 'ebba88e4f4b3dd8001c6e1d2e4c1944aef613795' into gingerbread-plus-aosp

* commit 'ebba88e4f4b3dd8001c6e1d2e4c1944aef613795':
  DO NOT MERGE disallow longpress in WebView
2010-09-22 11:50:52 -07:00
Andy Stadler
ebba88e4f4 Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread 2010-09-22 11:07:34 -07:00
Andrew Stadler
625451ed25 Harden thumbnail creation
* Catch some errors earlier;  Log all errors.

Bug: 2905324
Change-Id: Icdf4ec881f404787a0621e606d7e611d5e50aab1
2010-09-22 09:22:15 -07:00
Marc Blank
eff7bbe72b am d414ba53: (-s ours) am d46952e7: DO NOT MERGE: Test validity of port numbers in account setup
Merge commit 'd414ba537266c539023a242784f5281846360b03'

* commit 'd414ba537266c539023a242784f5281846360b03':
  DO NOT MERGE: Test validity of port numbers in account setup
2010-09-21 20:21:06 -07:00
Marc Blank
d414ba5372 am d46952e7: DO NOT MERGE: Test validity of port numbers in account setup
Merge commit 'd46952e7b0d47a4150d140502caf34e3a5276dd8' into gingerbread-plus-aosp

* commit 'd46952e7b0d47a4150d140502caf34e3a5276dd8':
  DO NOT MERGE: Test validity of port numbers in account setup
2010-09-21 18:24:42 -07:00
Marc Blank
d46952e7b0 DO NOT MERGE: Test validity of port numbers in account setup
Bug: 1712475
Change-Id: Iced4875379a804b5072e4df0af25db7bf9473131
2010-09-21 17:46:15 -07:00
Makoto Onuki
cc3c1d46b9 Merge "Rename misnomered constant" 2010-09-21 17:20:55 -07:00
Makoto Onuki
d7f886c5c8 Ignore and log OOM during bitmap creation
Change-Id: I00ca40d98e425eb267b601cc9049af6ecfd2883d
2010-09-21 17:09:01 -07:00
Marc Blank
a459a3e36a am aa2dd114: (-s ours) am ccfc1c29: Merge "DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"" into gingerbread
Merge commit 'aa2dd11451c6b4b062f90c9a30cbcf825e33fad9'

* commit 'aa2dd11451c6b4b062f90c9a30cbcf825e33fad9':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-09-21 16:06:07 -07:00
Marc Blank
c41704df6d am 2a6dbe45: (-s ours) am 6f207f5d: DO NOT MERGE: Interpret "busy" on new events to mean "no response"
Merge commit '2a6dbe456c120edc1a621a89cb93d063490f36b7'

* commit '2a6dbe456c120edc1a621a89cb93d063490f36b7':
  DO NOT MERGE: Interpret "busy" on new events to mean "no response"
2010-09-21 16:00:37 -07:00
Marc Blank
aa2dd11451 am ccfc1c29: Merge "DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"" into gingerbread
Merge commit 'ccfc1c29c2f9fff7ee824d342bde1e5d7138722b' into gingerbread-plus-aosp

* commit 'ccfc1c29c2f9fff7ee824d342bde1e5d7138722b':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-09-21 15:58:56 -07:00
Marc Blank
2a6dbe456c am 6f207f5d: DO NOT MERGE: Interpret "busy" on new events to mean "no response"
Merge commit '6f207f5df2a1b4190e5da243fd497dcf168899af' into gingerbread-plus-aosp

* commit '6f207f5df2a1b4190e5da243fd497dcf168899af':
  DO NOT MERGE: Interpret "busy" on new events to mean "no response"
2010-09-21 15:56:04 -07:00
Marc Blank
ccfc1c29c2 Merge "DO NOT MERGE: Don't disable account box if sync freq -> "Never"" into gingerbread 2010-09-21 15:54:01 -07:00
Makoto Onuki
4580c3136d Rename misnomered constant
Change-Id: I8d1024a85ad02ba7ce7ecf22f719cab34bf70307
2010-09-21 15:48:43 -07:00