c8e41e98cdAI 146538: am: CL 146134 Add persistence API for remote stores & folders to use while syncing. This provides a key-value store, per folder, that can be used by network Stores to record persistent data such as sync status, server keys, etc. Note that, by definition, this only applies to remote folders (e.g. IMAP, POP3). You'll see everywhere that LocalFolder is passed null, and this is correct - LocalFolder *is* persistent storage and does not need external help. Note to reviewers: The core changes are Folder.java, LocalStore.java, and LocalStoreUnitTests.java, so please give them the bulk of your reviewer attention. The other files are just following along with minor API changes. Of those, the one worth close examination is MessagingController.java, which is the only place in the system where remote Folders are bonded with Local Folders and thus where this new API comes into play. Note to jham: Can you please take a look at LocalStore.LocalFolder.setPersistentString() and recommend better SQL foo than my primitive test-then-update-or-insert logic, which is not transactional or threadsafe. Original author: stadler
Andy Stadler
2009-04-18 15:25:13 -0700
3c4552eb4aMerge branch 'readonly-p4-master'
Andy Stadler
2009-04-16 11:56:52 -0700
da2794ed80AI 146514: am: CL 146061 Add persistent storage that Store classes can access. The current design for Store classes (e.g. IMAP) did not provide for any persistent storage. This is the beginning of a mechanism to provide that. It's quite simplisitic - each Store can read/write one persistent string - but that's enough for the first simple use case (saving some sync data for EAS). The core changes here - suggest reviewing first - are in Account.java, Store.java, and AccountUnitTests.java. Everything else is just following the API change that was necessary. Note that, by definition, this only applies to remote stores (e.g. IMAP, POP3). You'll see everywhere that LocalStore is passed null, and this is correct - LocalStore *is* persistent storage and does not need access (so far, at least). Original author: stadler
Andy Stadler
2009-04-16 11:55:39 -0700
31e3dbe0b2AI 146517: Import translation changes. DO NOT MERGE
Eric Fischer
2009-04-16 11:01:06 -0700
7e6df9c6aaAI 146379: Provide a small set of message flags that can be set by stores and will be persisted by LocalStore. BUG=1786939
Andy Stadler
2009-04-15 15:29:00 -0700
37e98419d7AI 146366: Automated g4 rollback of changelist 146361. *** Reason for rollback *** Despite the markings in the CL, this was inadvertently merged. This CL restores donut & downstream branches to the desired state. *** Original change description *** am: CL 146359 D* N*T M***E - we'll keep the fix for donut+ Automated g4 rollback of changelist 146273. *** Reason for rollback *** Inadvertently approved for cupcake, past deadline. *** Original change description *** Fixed "show pictures" button isnot displayed for HTML messages. Original author: stadler Merged from: //branches/cupcake/... BUG=1766880
Andy Stadler
2009-04-15 13:38:26 -0700
9a79d70c6fAI 146365: Import revised translations. DO NOT MERGE
Eric Fischer
2009-04-15 13:30:19 -0700
af88cfc482AI 146361: am: CL 146359 DO NOT MERGE - we'll keep the fix for donut+ Automated g4 rollback of changelist 146273. *** Reason for rollback *** Inadvertently approved for cupcake, past deadline. *** Original change description *** Fixed "show pictures" button isnot displayed for HTML messages. Original author: stadler Merged from: //branches/cupcake/...
Andy Stadler
2009-04-15 13:01:48 -0700
1f48259d22AI 146360: Provide an API by which the server (or store) can tag some of the role-specific folders such as Drafts, Sent, or Trash. This allows us to properly target these folders even on systems where they have different names. I capture the tagged names into the existing columns in the account data, where they are used elsewhere in the code (no changes necessary). Use default implementations on POP3 and IMAP for now - no change from original behavior. The new code is primarily to support EAS (for now). BUG=1790798
Andy Stadler
2009-04-15 12:58:19 -0700
a065fff529AI 146359: DO NOT MERGE - we'll keep the fix for donut+ Automated g4 rollback of changelist 146273. *** Reason for rollback *** Inadvertently approved for cupcake, past deadline. *** Original change description *** Fixed "show pictures" button isnot displayed for HTML messages. BUG=1766880
Andy Stadler
2009-04-15 12:56:08 -0700
4836f3c289AI 146331: Make the download window sizing adjustable on a per-store basis. The default values are 25 (default) and 25 (increment). This is fine for Stores that control downloads by # of messages, but won't work for stores that use other measurements - e.g. EAS windows the download in # of days. So for this change: 1. Allow the StoreInfo to provide non-default values 2. Remove the hardcoded references to the default values 3. Use StoreInfo values everywhere 4. Set the values to 1,1 in EAS store info BUG=1789913
Andy Stadler
2009-04-15 10:58:59 -0700
1464095f9fAI 146274: am: CL 146273 Fixed "show pictures" button isnot displayed for HTML messages. Original author: takaoka Merged from: //branches/cupcake/...
Tadashi Takaoka
2009-04-14 21:42:56 -0700
65ad330b78AI 146273: Fixed "show pictures" button isnot displayed for HTML messages. BUG=1766880
Tadashi Takaoka
2009-04-14 21:41:42 -0700
15461d34f1Merge commit 'korg/cupcake'
The Android Open Source Project
2009-04-14 18:18:15 -0700
3a8bad2563AI 146175: Import updated translations.
Eric Fischer
2009-04-14 12:10:43 -0700
c6039f7d17AI 146134: Add persistence API for remote stores & folders to use while syncing. This provides a key-value store, per folder, that can be used by network Stores to record persistent data such as sync status, server keys, etc. Note that, by definition, this only applies to remote folders (e.g. IMAP, POP3). You'll see everywhere that LocalFolder is passed null, and this is correct - LocalFolder *is* persistent storage and does not need external help. Note to reviewers: The core changes are Folder.java, LocalStore.java, and LocalStoreUnitTests.java, so please give them the bulk of your reviewer attention. The other files are just following along with minor API changes. Of those, the one worth close examination is MessagingController.java, which is the only place in the system where remote Folders are bonded with Local Folders and thus where this new API comes into play. Note to jham: Can you please take a look at LocalStore.LocalFolder.setPersistentString() and recommend better SQL foo than my primitive test-then-update-or-insert logic, which is not transactional or threadsafe. BUG=1786939
Andy Stadler
2009-04-14 10:15:07 -0700
cd7e5664f9AI 146061: Add persistent storage that Store classes can access. The current design for Store classes (e.g. IMAP) did not provide for any persistent storage. This is the beginning of a mechanism to provide that. It's quite simplisitic - each Store can read/write one persistent string - but that's enough for the first simple use case (saving some sync data for EAS). The core changes here - suggest reviewing first - are in Account.java, Store.java, and AccountUnitTests.java. Everything else is just following the API change that was necessary. Note that, by definition, this only applies to remote stores (e.g. IMAP, POP3). You'll see everywhere that LocalStore is passed null, and this is correct - LocalStore *is* persistent storage and does not need access (so far, at least). BUG=1786939
Andy Stadler
2009-04-13 20:07:56 -0700
014e0444f4AI 145782: Import updated translations. DO NOT MERGE
Eric Fischer
2009-04-10 16:38:00 -0700
9b8be65244AI 145711: Import a few changed translations. DO NOT MERGE
Eric Fischer
2009-04-10 10:45:19 -0700
73d3b93d31Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-08 19:29:31 -0700
61dc3a8795AI 145230: am: CL 145227 Add callback for push-mode stores to report async updates. The logic for this is quite simplistic, for now: When the store reports that it has new messages, it triggers a service refresh, just as if a pull-mode interval had expired and it is time to check the server. Note, unfortunately at this time there are no tests, because there are not currently any good test seams in MailService.java. Original author: stadler
Andy Stadler
2009-04-08 19:28:19 -0700
8664ecf181AI 145227: Add callback for push-mode stores to report async updates. The logic for this is quite simplistic, for now: When the store reports that it has new messages, it triggers a service refresh, just as if a pull-mode interval had expired and it is time to check the server. Note, unfortunately at this time there are no tests, because there are not currently any good test seams in MailService.java. BUG=1776149
Andy Stadler
2009-04-08 18:42:42 -0700
b4376e68b4Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-08 13:36:15 -0700
28010fe9fcAI 145128: am: CL 144953 Provide UI for push mode accounts. 1. Generalize the code for the various spinners that control account check frequency. 2. Provide an API for looking up store attributes (and refactor existing instatiateStore logic to use it). 3. Cleanup the old code that was used to setup frequency spinners. 4. Hardwire Exchange accounts to default into push mode. Notes to tester: 1. For each account type (POP, IMAP, EAS) we need to check that auto & manual creation "do the right thing" for frequencies. POP & IMAP should offer "none" or time intervals, while EAS should offer "push", "none", or time intervals. 2. EAS accounts should default to "push", all others to "15 min" 3. Make sure that you can edit existing account settings and see the right choices (only EAS should be offered push). 4. I couldn't write an automated test for the mail checker service, please confirm that POP & IMAP accounts are checked at the right intervals (or never, if set for "none".) Original author: stadler
Andy Stadler
2009-04-08 13:35:04 -0700
3fd60f0d4eMerge branch 'readonly-p4-master'
Eric Fischer
2009-04-08 00:31:51 -0700
f98681b459AI 144913: am: CL 144912 Merge from cupcake: Change 144891 on 2009/04/07 by enf@ebcdic Import a bunch of revised translations. Original author: enf
Eric Fischer
2009-04-08 00:30:38 -0700
ff36efb76eAI 144977: Import revised translations. DO NOT MERGE
Eric Fischer
2009-04-07 18:15:15 -0700
ea6fea9bb2AI 144953: Provide UI for push mode accounts. 1. Generalize the code for the various spinners that control account check frequency. 2. Provide an API for looking up store attributes (and refactor existing instatiateStore logic to use it). 3. Cleanup the old code that was used to setup frequency spinners. 4. Hardwire Exchange accounts to default into push mode. Notes to tester: 1. For each account type (POP, IMAP, EAS) we need to check that auto & manual creation "do the right thing" for frequencies. POP & IMAP should offer "none" or time intervals, while EAS should offer "push", "none", or time intervals. 2. EAS accounts should default to "push", all others to "15 min" 3. Make sure that you can edit existing account settings and see the right choices (only EAS should be offered push). 4. I couldn't write an automated test for the mail checker service, please confirm that POP & IMAP accounts are checked at the right intervals (or never, if set for "none".) BUG=1776149
Andy Stadler
2009-04-07 17:35:13 -0700
1b32206538AI 144912: Merge from cupcake: Change 144891 on 2009/04/07 by enf@ebcdic Import a bunch of revised translations.
Eric Fischer
2009-04-07 13:55:06 -0700
8ff3119670AI 144891: Import a bunch of revised translations.
Eric Fischer
2009-04-07 11:48:29 -0700
062268110aMerge branch 'readonly-p4-master'
Andy Stadler
2009-04-03 16:07:18 -0700
3ad7c1b66cAI 144527: am: CL 144525 Add structural support for Exchange transport. The idea is that the shipping client will include the necessary generic pieces for configuring an Exchange client (e.g. account setup) but will not include actual Exchange client code (e.g. transport / protocol). Also added a "sample code" implementation of Exchange for use as a starting point for implementors. (Note, this will not ship in Donut, it's a placeholder for working on the "framework" aspects.) Original author: stadler
Andy Stadler
2009-04-03 16:06:11 -0700
87c43cada6AI 144525: Add structural support for Exchange transport. The idea is that the shipping client will include the necessary generic pieces for configuring an Exchange client (e.g. account setup) but will not include actual Exchange client code (e.g. transport / protocol). Also added a "sample code" implementation of Exchange for use as a starting point for implementors. (Note, this will not ship in Donut, it's a placeholder for working on the "framework" aspects.) BUG=1740621,1740626
Andy Stadler
2009-04-03 16:02:55 -0700
a191c5bfc2Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-03 15:43:52 -0700
d505973178AI 144522: am: CL 144520 General cleanup after the integrations in CL 143018. Some spelling errors, inconsistencies in passing Application/Activity/Context, and some error handling cleanups. These are all changes that would have probably been made before the original submits, but I didn't want to fix them in the integration step. Original author: stadler
Andy Stadler
2009-04-03 15:42:31 -0700
2b0c619f1eAI 144520: General cleanup after the integrations in CL 143018. Some spelling errors, inconsistencies in passing Application/Activity/Context, and some error handling cleanups. These are all changes that would have probably been made before the original submits, but I didn't want to fix them in the integration step. BUG=1740621
Andy Stadler
2009-04-03 15:40:49 -0700
b222a9a729Merge branch 'readonly-p4-master'
Eric Fischer
2009-04-02 23:32:29 -0700
e6d8d70412AI 144411: am: CL 144336 am: CL 144335 Import US Spanish translations, and a few Japanese changes. Original author: enf Merged from: //branches/cupcake/... Original author: android-build
Eric Fischer
2009-04-02 23:31:17 -0700
42bd059020AI 144355: Automated g4 rollback of changelist 144335. *** Reason for rollback *** Roll back US Spanish import because it made the build too big. *** Original change description *** Import US Spanish translations, and a few Japanese changes.
Eric Fischer
2009-04-02 21:42:06 -0700
f20ec708bcAI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes. Original author: enf Merged from: //branches/cupcake/...
Eric Fischer
2009-04-02 16:42:14 -0700
101ee5587aAI 144335: Import US Spanish translations, and a few Japanese changes.
Eric Fischer
2009-04-02 16:39:22 -0700
0f6f4930eeMerge branch 'open_source_contributions_already_merged' into google_internal
The Android Open Source Project
2009-03-29 08:55:18 -0700
37939cfcc4AI 143313: am: CL 143164 am: CL 142860 Add a special case for copying translations from other applications. If you absolutely must add a string after string freeze, and that same string has already been translated for another application in a similar context, you can copy the translation by specifying it by numeric message ID. Fix the incorrect IDs I had told people for a couple of strings, add the script that will make a flat-file version of translations so you can find out the IDs yourself, and reimport the translations for the couple of applications that wanted to copy translations. Original author: enf Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/...
Eric Fischer
2009-03-27 18:03:00 -0700
bd68145460AI 143282: am: CL 143018 Integrate changes to generalize selection of Sender & Store. Rollup of CL's 140586, 140598, 140600, 140655, 140656 (partial), 141082 (partial). All unit tests pass. Simple functional tests: Create IMAP & POP3 accounts. For each account: Download messages. Send message. Check account settings. Delete account. Original author: stadler Merged from: //branches/donutburger/...
Andy Stadler
2009-03-27 16:59:36 -0700
2cfbb10fd0AI 143164: am: CL 142860 Add a special case for copying translations from other applications. If you absolutely must add a string after string freeze, and that same string has already been translated for another application in a similar context, you can copy the translation by specifying it by numeric message ID. Fix the incorrect IDs I had told people for a couple of strings, add the script that will make a flat-file version of translations so you can find out the IDs yourself, and reimport the translations for the couple of applications that wanted to copy translations. Original author: enf Merged from: //branches/cupcake/...
Eric Fischer
2009-03-27 15:49:34 -0700
315a7b3b74Merge commit 'korg/cupcake'
The Android Open Source Project
2009-03-27 15:31:12 -0700
ae8ca3fbd1Automated import from //branches/donutburger/...@143018,143018
Andy Stadler
2009-03-26 17:05:25 -0700
8d448bbd7cAutomated import from //branches/cupcake/...@142860,142860
Eric Fischer
2009-03-25 21:52:36 -0700
88ccbb1992Automated import from //branches/donutburger/...@142720,142720
Eric Fischer
2009-03-25 17:04:28 -0700
dfa98d5e1fAutomated import from //branches/donutburger/...@142711,142711
Andy Stadler
2009-03-25 16:36:11 -0700
f951b4024eAutomated import from //branches/master/...@142759,142759
Eric Fischer
2009-03-25 16:13:52 -0700
d211e5c51cAutomated import from //branches/master/...@142747,142747
Andy Stadler
2009-03-25 16:00:30 -0700
123ef48a0dAutomated import from //branches/master/...@142676,142676
Tadashi Takaoka
2009-03-25 15:27:34 -0700
bcab70b68cAutomated import from //branches/cupcake/...@142643,142643
Eric Fischer
2009-03-25 15:22:44 -0700
6a571d8c6cAutomated import from //branches/cupcake/...@142594,142594
Andy Stadler
2009-03-25 15:07:39 -0700
2a34cb9c9cAutomated import from //branches/donutburger/...@142523,142523
Tadashi Takaoka
2009-03-25 01:30:24 -0700
44cf2e2882Automated import from //branches/cupcake/...@142522,142522
Tadashi Takaoka
2009-03-25 01:29:24 -0700
9d8375cba6Automated import from //branches/master/...@142462,142462
Tadashi Takaoka
2009-03-24 22:52:36 -0700
1d60657509Automated import from //branches/master/...@142460,142460
Tadashi Takaoka
2009-03-24 22:52:06 -0700
d12181df8fAutomated import from //branches/donutburger/...@142461,142461
Tadashi Takaoka
2009-03-24 22:45:09 -0700
b1d72808d7Automated import from //branches/donutburger/...@142458,142458
Tadashi Takaoka
2009-03-24 22:44:38 -0700
ce4504b78eAutomated import from //branches/master/...@142153,142153
Andy Stadler
2009-03-24 22:20:55 -0700
75a07d0a22Automated import from //branches/master/...@142111,142111
Andy Stadler
2009-03-24 21:33:34 -0700
7265bb729bAutomated import from //branches/donutburger/...@142152,142152
Andy Stadler
2009-03-24 21:31:47 -0700
2b4b8d3e8eAutomated import from //branches/donutburger/...@142110,142110
Andy Stadler
2009-03-24 21:27:36 -0700
b4708f4007Automated import from //branches/master/...@141869,141869
Eric Fischer
2009-03-24 21:06:32 -0700
8dcff90a5eAutomated import from //branches/donutburger/...@141868,141868
Eric Fischer
2009-03-24 21:02:50 -0700
7dbeb7d91cAutomated import from //branches/donutburger/...@141237,141237
Andy Stadler
2009-03-24 19:53:32 -0700
247cd995b8Automated import from //branches/master/...@141239,141239
Andy Stadler
2009-03-24 19:53:01 -0700
7e7abb0e3dAutomated import from //branches/cupcake/...@142457,142457
Tadashi Takaoka
2009-03-24 19:45:36 -0700
d351a92869Automated import from //branches/cupcake/...@142456,142456
Tadashi Takaoka
2009-03-24 19:44:56 -0700
0589ff73b0Automated import from //branches/cupcake/...@142151,142151
Andy Stadler
2009-03-24 19:05:40 -0700
f7eead2074Automated import from //branches/cupcake/...@142109,142109
Andy Stadler
2009-03-24 19:00:38 -0700
6bed3e8d38Automated import from //branches/master/...@140875,140875
Eric Fischer
2009-03-24 18:47:15 -0700
f269d57f10Automated import from //branches/donutburger/...@140873,140873
Eric Fischer
2009-03-24 18:47:00 -0700
4fdc52ee3dAutomated import from //branches/cupcake/...@141866,141866
Eric Fischer
2009-03-24 18:33:42 -0700
8aeb922462auto import from //branches/cupcake_rel/...@141571
The Android Open Source Project
2009-03-19 23:08:56 -0700
3469902379auto import from //branches/cupcake_rel/...@140373
The Android Open Source Project
2009-03-18 17:39:48 -0700
29d6199573Merge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru
2009-03-17 16:08:47 -0700
3b85e2c2b5auto import from //branches/cupcake_rel/...@138607
The Android Open Source Project
2009-03-13 13:04:24 -0700
3debc4f25aauto import from //branches/cupcake/...@137873
The Android Open Source Project
2009-03-11 12:11:58 -0700
fd09f8019aauto import from //branches/cupcake/...@137197
The Android Open Source Project
2009-03-09 11:52:14 -0700
3db9542af6auto import from //depot/cupcake/@136594
The Android Open Source Project
2009-03-05 14:34:38 -0800
96c5af40d6auto import from //depot/cupcake/@135843
The Android Open Source Project
2009-03-03 19:32:22 -0800
8c2158a5ebauto import from //depot/cupcake/@135843
The Android Open Source Project
2009-03-03 18:28:50 -0800
1f5bbf66d1auto import from //depot/cupcake/@132589
The Android Open Source Project
2009-03-03 14:04:31 -0800
7a8703fda9auto import from //depot/cupcake/@137055
The Android Open Source Project
2009-03-02 22:54:40 -0800
88a1d6f92dauto import from //branches/cupcake/...@132276
The Android Open Source Project
2009-02-19 10:57:35 -0800
ff4eb775dfauto import from //branches/cupcake/...@131421
The Android Open Source Project
2009-02-13 12:57:53 -0800
f7ae27b973auto import from //branches/cupcake/...@130745
The Android Open Source Project
2009-02-10 15:44:04 -0800
6f46398754Merge branch 'cupcake'
The Android Open Source Project
2009-01-22 00:16:12 -0800
be72b1d08aauto import from //branches/cupcake/...@127436
The Android Open Source Project
2009-01-22 00:13:44 -0800
3f07715529Merge branch 'cupcake'
The Android Open Source Project
2009-01-20 14:05:39 -0800
5766d93b3bauto import from //branches/cupcake/...@127101
The Android Open Source Project
2009-01-20 14:04:00 -0800
2147122618auto import from //branches/cupcake/...@126645
android-build SharedAccount
2009-01-15 16:23:29 -0800
b957c79556auto import from //branches/cupcake/...@126645
The Android Open Source Project
2009-01-15 16:12:13 -0800
a4a093e38dMerge branch 'cupcake'
The Android Open Source Project
2009-01-09 18:04:22 -0800
ba1a40098cauto import from //branches/cupcake/...@125939
The Android Open Source Project
2009-01-09 17:51:25 -0800