Commit Graph

2817 Commits

Author SHA1 Message Date
Andy Stadler
30eb9bb948 Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:08:26 -07:00
Andy Stadler
8264c4fa21 AI 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

Automated import of CL 148002
2009-04-29 17:07:03 -07:00
Eric Fischer
2a10d8c6ac am 06460df: am 33fabe8: AI 147962: Import updated zh_TW translations.
Merge commit '06460df68f7af5953f591ab85152a5a67163da39'

* commit '06460df68f7af5953f591ab85152a5a67163da39':
  AI 147962: Import updated zh_TW translations.
2009-04-29 13:43:23 -07:00
Eric Fischer
db34a91130 am cb9120c: am 939d53c: AI 147492: Update zh_TW translations.
Merge commit 'cb9120caa8c7d3668e892d637215a4b970902139'

* commit 'cb9120caa8c7d3668e892d637215a4b970902139':
  AI 147492: Update zh_TW translations.
2009-04-29 13:43:23 -07:00
Andy Stadler
ed132b7554 am b91fe4d: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'b91fe4de91d617a2ddc96082cd06651946f6b454'

* commit 'b91fe4de91d617a2ddc96082cd06651946f6b454':
  AI 147868: Fix CL 146360 which didn't make the changes persistent.  Changed
2009-04-29 13:43:23 -07:00
Andy Stadler
2ce72ab39c am 0f8a578: Merge branch \'readonly-p4-donut\' into donut
Merge commit '0f8a57891fd4fa19fba602249fedd0587177b2f1'

* commit '0f8a57891fd4fa19fba602249fedd0587177b2f1':
  AI 147866: To better support remote stores that write back persistent data
2009-04-29 13:43:23 -07:00
Andy Stadler
087088bb98 am 085757a: Merge branch \'readonly-p4-donut\' into donut
Merge commit '085757aa51b6ebdebd10e485c6c54458d5130874'

* commit '085757aa51b6ebdebd10e485c6c54458d5130874':
  AI 147839: In checkMail(), do a listFolders() before the existing sync...()
2009-04-29 13:43:23 -07:00
Andy Stadler
2e5e2217fe am 4fca6f3: Merge branch \'readonly-p4-donut\' into donut
Merge commit '4fca6f3dba633a0f0ee7c91041462ac7fd2a7f78'

* commit '4fca6f3dba633a0f0ee7c91041462ac7fd2a7f78':
  AI 147765: Fix concurrency bugs in MessagingController, in the collections
2009-04-29 13:43:23 -07:00
Andy Stadler
9e108ae13d am eeaad58: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'eeaad585cd95acd5e5355ea02bb4b79715c2f9bc'

* commit 'eeaad585cd95acd5e5355ea02bb4b79715c2f9bc':
  AI 147730: 1. Create an API by which a Store can specify its own custom
2009-04-29 13:43:23 -07:00
Andy Stadler
2e4e0c16f6 am a63e9a0: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'a63e9a0c868ec2e1e50368f603e7c048140f6c81'

* commit 'a63e9a0c868ec2e1e50368f603e7c048140f6c81':
  AI 147714: New, lighter-weight version of CL 147620.  Still touches as many files,
2009-04-29 13:43:23 -07:00
Andy Stadler
7e377db459 am f847703: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'f84770309d95c3bc27894c47492860c0362df8e0'

* commit 'f84770309d95c3bc27894c47492860c0362df8e0':
  AI 147708: Automated g4 rollback of changelist 147620.
2009-04-29 13:43:23 -07:00
Andy Stadler
724d6c59d2 am 1bca9cc: Merge branch \'readonly-p4-donut\' into donut
Merge commit '1bca9ccac5ed54d0c90c353a3016b5559fb07535'

* commit '1bca9ccac5ed54d0c90c353a3016b5559fb07535':
  AI 147620: Some stores require changing the UID of a message when it is
2009-04-29 13:43:23 -07:00
Andy Stadler
a16ab50f8e am c1a2675: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'c1a26752c1efffe17701f6795572eb9eaaa655ff'

* commit 'c1a26752c1efffe17701f6795572eb9eaaa655ff':
  AI 147538: Because mPreferences is transient, we need to pass Context into the
2009-04-29 13:43:23 -07:00
Andy Stadler
ea64a43314 am f93b69c: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'f93b69c167d192152deb759a16ad4c7bb515a9f2'

* commit 'f93b69c167d192152deb759a16ad4c7bb515a9f2':
  AI 147537: Fix copy/paste mistake in previous CL.
2009-04-29 13:43:23 -07:00
Andy Stadler
2c0145a961 am d4a1c5a: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'd4a1c5a232b854ff1808d6d5f8b20b06f8e25d26'

* commit 'd4a1c5a232b854ff1808d6d5f8b20b06f8e25d26':
  AI 147486: Change the remote/local mapping callback to be folder-by-folder instead
2009-04-29 13:43:23 -07:00
Andy Stadler
5752d3233b am 6f25a47: Merge branch \'readonly-p4-donut\' into donut
Merge commit '6f25a47d4a38f04c74c0f0cc3b4fbf67edd5d3de'

* commit '6f25a47d4a38f04c74c0f0cc3b4fbf67edd5d3de':
  AI 147452: Update LocalFolder.fetch() to support STRUCTURE mode, in
2009-04-29 13:43:23 -07:00
Andy Stadler
c627a28dc7 am 28874ce: Merge branch \'readonly-p4-donut\' into donut
Merge commit '28874ce46057473eb41b9b1f6f5ee16e283444d1'

* commit '28874ce46057473eb41b9b1f6f5ee16e283444d1':
  AI 147423: Provide a hook to notify remote stores that local stores are set up.
2009-04-29 13:43:23 -07:00
Eric Fischer
06460df68f am 33fabe8: AI 147962: Import updated zh_TW translations.
Merge commit '33fabe840087a06df61c2ef5dc9a2473c6df8014' into donut

* commit '33fabe840087a06df61c2ef5dc9a2473c6df8014':
  AI 147962: Import updated zh_TW translations.
2009-04-28 21:57:25 -07:00
Eric Fischer
cb9120caa8 am 939d53c: AI 147492: Update zh_TW translations.
Merge commit '939d53c7614da6e35c95ee455e34aabac12e2843' into donut

* commit '939d53c7614da6e35c95ee455e34aabac12e2843':
  AI 147492: Update zh_TW translations.
2009-04-28 21:57:25 -07:00
Eric Fischer
33fabe8400 AI 147962: Import updated zh_TW translations.
Automated import of CL 147962
2009-04-28 15:48:40 -07:00
Andy Stadler
b91fe4de91 Merge branch 'readonly-p4-donut' into donut 2009-04-27 17:25:57 -07:00
Andy Stadler
a13aea24a3 AI 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

Automated import of CL 147868
2009-04-27 17:24:41 -07:00
Andy Stadler
0f8a57891f Merge branch 'readonly-p4-donut' into donut 2009-04-27 17:18:43 -07:00
Andy Stadler
de6b2519be AI 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

Automated import of CL 147866
2009-04-27 17:17:22 -07:00
Andy Stadler
085757aa51 Merge branch 'readonly-p4-donut' into donut 2009-04-27 09:19:44 -07:00
Andy Stadler
6c0cd49610 AI 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

Automated import of CL 147839
2009-04-27 09:18:01 -07:00
Andy Stadler
4fca6f3dba Merge branch 'readonly-p4-donut' into donut 2009-04-24 16:18:23 -07:00
Andy Stadler
b24a1eb3d0 AI 147765: Fix concurrency bugs in MessagingController, in the collections
mCommands and mListeners.
  BUG=1812798

Automated import of CL 147765
2009-04-24 16:17:04 -07:00
The Android Open Source Project
bf3f3a3d7a Merge commit 'korg/donut' 2009-04-24 13:55:02 -07:00
Andy Stadler
eeaad585cd Merge branch 'readonly-p4-donut' into donut 2009-04-24 13:27:00 -07:00
Andy Stadler
100867a231 AI 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

Automated import of CL 147730
2009-04-24 13:25:34 -07:00
Andy Stadler
a63e9a0c86 Merge branch 'readonly-p4-donut' into donut 2009-04-24 11:56:00 -07:00
Andy Stadler
5551f7feb2 AI 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

Automated import of CL 147714
2009-04-24 11:54:42 -07:00
Andy Stadler
f84770309d Merge branch 'readonly-p4-donut' into donut 2009-04-24 11:14:53 -07:00
Andy Stadler
b633efa2b7 AI 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

Automated import of CL 147708
2009-04-24 11:13:36 -07:00
Andy Stadler
1bca9ccac5 Merge branch 'readonly-p4-donut' into donut 2009-04-23 23:17:19 -07:00
Andy Stadler
1df530294d AI 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

Automated import of CL 147620
2009-04-23 23:16:01 -07:00
Andy Stadler
c1a26752c1 Merge branch 'readonly-p4-donut' into donut 2009-04-23 16:43:40 -07:00
Andy Stadler
72288724d4 AI 147538: Because mPreferences is transient, we need to pass Context into the
persistent callbacks, in order to recreate it occasionally.
  BUG=1786939

Automated import of CL 147538
2009-04-23 16:42:23 -07:00
Andy Stadler
f93b69c167 Merge branch 'readonly-p4-donut' into donut 2009-04-23 16:40:03 -07:00
Andy Stadler
f2c5f08b32 AI 147537: Fix copy/paste mistake in previous CL.
BUG=1807499

Automated import of CL 147537
2009-04-23 16:38:44 -07:00
Eric Fischer
939d53c761 AI 147492: Update zh_TW translations.
Automated import of CL 147492
2009-04-23 11:59:15 -07:00
Andy Stadler
d4a1c5a232 Merge branch 'readonly-p4-donut' into donut 2009-04-23 10:51:39 -07:00
Andy Stadler
3f66d3de11 AI 147486: Change the remote/local mapping callback to be folder-by-folder instead
of for the entire store.
  BUG=1807499

Automated import of CL 147486
2009-04-23 10:49:42 -07:00
Andy Stadler
6f25a47d4a Merge branch 'readonly-p4-donut' into donut 2009-04-22 23:50:15 -07:00
Andy Stadler
2990ff1f96 AI 147452: Update LocalFolder.fetch() to support STRUCTURE mode, in
addition to existing support for BODY mode.  Add tests.
  BUG=1807499

Automated import of CL 147452
2009-04-22 23:48:59 -07:00
Andy Stadler
28874ce460 Merge branch 'readonly-p4-donut' into donut 2009-04-22 18:46:52 -07:00
Andy Stadler
912dc3b194 AI 147423: Provide a hook to notify remote stores that local stores are set up.
BUG=1807499

Automated import of CL 147423
2009-04-22 18:45:22 -07:00
Jean-Baptiste Queru
e7f7338499 Merge donut into master 2009-04-22 18:33:18 -07:00
Jean-Baptiste Queru
2238b75880 merge cupcake into donut 2009-04-22 17:56:59 -07:00