1b8123ef54am 0fc66ee: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-05-01 23:25:39 -0700
d3dd6f0717am 503d4c5: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-05-01 23:25:39 -0700
114026bf3fMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-05-01 16:38:07 -0700
c9f151d4feAI 148230: Allow stores to indicate if they support server-side copying of sent mail into the "Sent" folder, thus eliminating the need to perform a 2nd upload into the server's Sent folder. IMAP and POP3 do not support this (although IMAP could when it recognizes Gmail IMAP servers.) BUG=1807499
Andy Stadler
2009-05-01 16:36:34 -0700
3a0985b83aMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-05-01 15:32:04 -0700
9197f42894AI 148216: Provide UI for fixed sync window sizes, as required by EAS. When in fixed sync window size mode, change "load more messages" to "refresh". BUG=1789913
Andy Stadler
2009-05-01 15:30:33 -0700
0fc66ee366Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-05-01 15:27:34 -0700
035dfc0859AI 148215: Provide a better way for stores to get their callbacks, since they might be null at creation time, and available slightly later. BUG=1807499
Andy Stadler
2009-05-01 15:25:32 -0700
503d4c5237Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-05-01 14:43:01 -0700
9ba72bb00dAI 148204: Encapsulate a requirement for some remote stores, that need to preload message structures before fetching the message body. Code for IMAP & POP3 is unaffected, but remote stores can override requireStructurePrefetch() in order to trigger the new behavior. BUG=1807499
Andy Stadler
2009-05-01 14:40:58 -0700
1d13c95e1bam c31d5ea: am 9e5757b: AI 148147: Import lots of zh_TW translation chan
Eric Fischer
2009-04-30 18:13:00 -0700
c31d5eae5bam 9e5757b: AI 148147: Import lots of zh_TW translation changes.
Eric Fischer
2009-04-30 17:37:33 -0700
9e5757b531AI 148147: Import lots of zh_TW translation changes.
Eric Fischer
2009-04-30 17:32:16 -0700
f9cdb92453am 3a7175d: am 6e57772: AI 148026: Update zh_TW translations.
Eric Fischer
2009-04-30 17:24:28 -0700
3a7175d66bam 6e57772: AI 148026: Update zh_TW translations.
Eric Fischer
2009-04-30 17:10:40 -0700
d1962bedbaam 60ab49e: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-30 17:03:37 -0700
60ab49eddcMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 16:49:34 -0700
6e5777228bAI 148026: Update zh_TW translations.
Eric Fischer
2009-04-30 16:48:34 -0700
c5c2b96739AI 148145: Remove the account-based storage of store persistent data, and instead combine it with the same code that handles folder persistent data (in the database). The schema is really simple; Rows with a folder id of -1 are store data. This also adds the ability to use keys to store multiple values, instead of a single string per account. Added/updated unit tests. 3rd party stores will need slight code changes because the persistent callbacks now accept keys. BUG=1807499
Andy Stadler
2009-04-30 16:47:50 -0700
deabfc0cb5reconcile merge issues
The Android Open Source Project
2009-04-30 12:16:42 -0700
1c36ddaa3cMerge branch 'donut'
The Android Open Source Project
2009-04-30 12:10:16 -0700
baa4ec5eebMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 10:19:18 -0700
d8cbeaf7aeAI 148098: Manual merge CL 148086 to fix additional problems with non-ASCII chars in address fields. BUG=1676634
Andy Stadler
2009-04-30 10:18:00 -0700
5bf09f47efMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 10:15:19 -0700
067d0a87faAI 148097: Fix bug in exchange account setup (actually it only affects editing existing accounts). Added simple functional tests for Activity UI. BUG=1812798
Andy Stadler
2009-04-30 10:14:00 -0700
6543d8846bMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 10:09:48 -0700
05aba0b4baAI 148096: Fix multiple concurrency bugs in FolderMessageList, which wasn't being strict enough about decoupling the MessageListener from updates to the various lists that should only happen in the UI thread. BUG=1812798
Andy Stadler
2009-04-30 10:08:25 -0700
5f05b099f7Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 10:05:33 -0700
c795d8b324AI 148095: In MessageView, protect the listener callbacks that directly access mMessageContentView. This is a brute-force solution, and I have also left TODO notes mentioning that it might make more sense (long term) to use the existing handler message mechanism. BUG=1812798
Andy Stadler
2009-04-30 10:04:06 -0700
31c0296291Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-30 09:40:11 -0700
0cfffc5222AI 148091: Manual merge CL 148078 which resolves bugs when you have non-ASCII names in email address fields of MessageCompose. BUG=1676657
Andy Stadler
2009-04-30 09:38:30 -0700
972d7e389aMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-29 17:18:41 -0700
3c3add638eAI 148027: Fix concurrency failure in Folder.getUnreadMessageCount() and Folder.getVisibleLimit(), which used local copies of the data from the DB. If there were two Folder objects associated with a single actual folder, updating one wouldn't be reflected in the others. BUG=1812798
Andy Stadler
2009-04-29 17:17:14 -0700
694e76814aMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-29 17:11:48 -0700
c05afb24bbAI 148019: Add "accountInstanceLimit" to stores.xml so a given type of connection (e.g. EAS) can limit itself to n (usually 1) accounts per device. The UI for this is really simple - don't show the EAS button when the limit is reached. More work would be required in AccountSetupAccountType.java in order to do a more sophisticated UI (e.g. show the button but pop a toast if the limit is reached.) BUG=1740626
Andy Stadler
2009-04-29 17:10:25 -0700
30eb9bb948Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-29 17:08:26 -0700
8264c4fa21AI 148002: Add X_DOWNLOADED_FULL, X_DOWNLOADED_PARTIAL, and DELETED flags to the set that are stored in their own columns (and thus can be quickly selected from). Add code to migrate old style flags into new flags. Add tests. BUG=1786939
Andy Stadler
2009-04-29 17:07:03 -0700
2a10d8c6acam 06460df: am 33fabe8: AI 147962: Import updated zh_TW translations.
Eric Fischer
2009-04-29 13:43:23 -0700
db34a91130am cb9120c: am 939d53c: AI 147492: Update zh_TW translations.
Eric Fischer
2009-04-29 13:43:23 -0700
ed132b7554am b91fe4d: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
2ce72ab39cam 0f8a578: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
087088bb98am 085757a: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
2e5e2217feam 4fca6f3: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
9e108ae13dam eeaad58: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
2e4e0c16f6am a63e9a0: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
7e377db459am f847703: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
724d6c59d2am 1bca9cc: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
a16ab50f8eam c1a2675: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
ea64a43314am f93b69c: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
2c0145a961am d4a1c5a: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
5752d3233bam 6f25a47: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
c627a28dc7am 28874ce: Merge branch \'readonly-p4-donut\' into donut
Andy Stadler
2009-04-29 13:43:23 -0700
06460df68fam 33fabe8: AI 147962: Import updated zh_TW translations.
Eric Fischer
2009-04-28 21:57:25 -0700
cb9120caa8am 939d53c: AI 147492: Update zh_TW translations.
Eric Fischer
2009-04-28 21:57:25 -0700
b91fe4de91Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-27 17:25:57 -0700
a13aea24a3AI 147868: Fix CL 146360 which didn't make the changes persistent. Changed MessagingController to accept and track a Context, instead of the unnecessary Application object, which makes this fix more testable. BUG=1790798
Andy Stadler
2009-04-27 17:24:41 -0700
0f8a57891fMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-27 17:18:43 -0700
de6b2519beAI 147866: To better support remote stores that write back persistent data or other changes during a delete operation, we need to explicitly open the remote trash folder and give it the callbacks. BUG=1807499
Andy Stadler
2009-04-27 17:17:22 -0700
085757aa51Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-27 09:19:44 -0700
6c0cd49610AI 147839: In checkMail(), do a listFolders() before the existing sync...() calls for each account. This allows the folder list to be updated before it is synced, which is necessary for some stores. BUG=1807499
Andy Stadler
2009-04-27 09:18:01 -0700
4fca6f3dbaMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-24 16:18:23 -0700
b24a1eb3d0AI 147765: Fix concurrency bugs in MessagingController, in the collections mCommands and mListeners. BUG=1812798
Andy Stadler
2009-04-24 16:17:04 -0700
bf3f3a3d7aMerge commit 'korg/donut'
The Android Open Source Project
2009-04-24 13:55:02 -0700
eeaad585cdMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-24 13:27:00 -0700
100867a231AI 147730: 1. Create an API by which a Store can specify its own custom synchronizer code. 2. Refactor (and spell-fix) the core folder synchronizer. Extract the innards that are IMAP/POP specific, leaving common wrapper code in a simpler shell. 3. For each account & folder to sync, check the store and call the specialized sync'er (if provided) or the generic one. BUG=1807499
Andy Stadler
2009-04-24 13:25:34 -0700
a63e9a0c86Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-24 11:56:00 -0700
5551f7feb2AI 147714: New, lighter-weight version of CL 147620. Still touches as many files, due to API change, but still has a smaller footprint. Also fixes the bug in the original, which is that we actually needed to udpate the local trash folder, not the remote one. BUG=1807499
Andy Stadler
2009-04-24 11:54:42 -0700
f84770309dMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-24 11:14:53 -0700
b633efa2b7AI 147708: Automated g4 rollback of changelist 147620. *** Reason for rollback *** We figured out a simpler solution affecting fewer files - we don't actually need the new remotestore API. *** Original change description *** Some stores require changing the UID of a message when it is copied to a new folder (I'm looking at you, EAS). Add a callback to Folder.copyMessages() which allows the store to report back such changes. Then, add a new api to record the new values: Folder.updateMessages(). For now, the two APIs are linked by a common callsite in MessagingController, so the existing stores can use a minimal implementation - if they don't call the callback, nobody will call the update. BUG=1807499
Andy Stadler
2009-04-24 11:13:36 -0700
1bca9ccac5Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-23 23:17:19 -0700
1df530294dAI 147620: Some stores require changing the UID of a message when it is copied to a new folder (I'm looking at you, EAS). Add a callback to Folder.copyMessages() which allows the store to report back such changes. Then, add a new api to record the new values: Folder.updateMessages(). For now, the two APIs are linked by a common callsite in MessagingController, so the existing stores can use a minimal implementation - if they don't call the callback, nobody will call the update. BUG=1807499
Andy Stadler
2009-04-23 23:16:01 -0700
c1a26752c1Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-23 16:43:40 -0700
72288724d4AI 147538: Because mPreferences is transient, we need to pass Context into the persistent callbacks, in order to recreate it occasionally. BUG=1786939
Andy Stadler
2009-04-23 16:42:23 -0700
f93b69c167Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-23 16:40:03 -0700
f2c5f08b32AI 147537: Fix copy/paste mistake in previous CL. BUG=1807499
Andy Stadler
2009-04-23 16:38:44 -0700
939d53c761AI 147492: Update zh_TW translations.
Eric Fischer
2009-04-23 11:59:15 -0700
d4a1c5a232Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-23 10:51:39 -0700
3f66d3de11AI 147486: Change the remote/local mapping callback to be folder-by-folder instead of for the entire store. BUG=1807499
Andy Stadler
2009-04-23 10:49:42 -0700
6f25a47d4aMerge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-22 23:50:15 -0700
2990ff1f96AI 147452: Update LocalFolder.fetch() to support STRUCTURE mode, in addition to existing support for BODY mode. Add tests. BUG=1807499
Andy Stadler
2009-04-22 23:48:59 -0700
28874ce460Merge branch 'readonly-p4-donut' into donut
Andy Stadler
2009-04-22 18:46:52 -0700
912dc3b194AI 147423: Provide a hook to notify remote stores that local stores are set up. BUG=1807499
Andy Stadler
2009-04-22 18:45:22 -0700
e7f7338499Merge donut into master
Jean-Baptiste Queru
2009-04-22 18:33:18 -0700
2238b75880merge cupcake into donut
Jean-Baptiste Queru
2009-04-22 17:56:59 -0700
5c0ed8752dMerge donut into master
Jean-Baptiste Queru
2009-04-22 17:12:37 -0700
29bbfd0b97AI 147401: Redo the implementation of store-specific flags to allow deeper database-style operations with them. This enables two new LocalStore APIs to be provided: A new version of GetMessages() that can retrieve only flagged (or un-flagged) messages, and a new method to set flags for an entire set of messages, in a single SQL transaction. BUG=1786939
Andy Stadler
2009-04-22 13:49:57 -0700
d4b2a71206Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 21:24:40 -0700
333875ea67AI 146579: am: CL 146379 Provide a small set of message flags that can be set by stores and will be persisted by LocalStore. Original author: stadler
Andy Stadler
2009-04-18 21:23:22 -0700
b017fbbb77Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 21:21:55 -0700
31fb7fa03fAI 146577: am: CL 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). Original author: stadler
Andy Stadler
2009-04-18 21:20:41 -0700
87f8d74249Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 21:00:12 -0700
3b44f969f3AI 146569: am: CL 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 Original author: stadler
Andy Stadler
2009-04-18 20:58:52 -0700
8dfb58e3ecAI 146562: am: CL 146274 am: CL 146273 Fixed "show pictures" button isnot displayed for HTML messages. Original author: takaoka Merged from: //branches/cupcake/... Original author: android-build
Tadashi Takaoka
2009-04-18 20:42:43 -0700
d68dcbe4a8Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 19:41:48 -0700
f74a45d443AI 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 19:40:29 -0700
b06e34c65aMerge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 18:46:33 -0700
0c49f4e321AI 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-18 18:45:15 -0700
142bc083b0Merge branch 'readonly-p4-master'
Andy Stadler
2009-04-18 15:26:24 -0700