Commit Graph

1301 Commits

Author SHA1 Message Date
Edward Lee
40543e0998 WeaveSvc_verifyLogin: async + async/yield -> sync. 2009-06-05 22:21:16 -07:00
Edward Lee
5a0f364bb6 Add a Utils.catch as a sync. version of Wrap.catchAll. 2009-06-05 22:21:14 -07:00
Edward Lee
df1fc601da Fix form engine to correctly pass in the engine. 2009-06-05 18:36:31 -07:00
Edward Lee
37644c9680 merge weave 2009-06-05 15:45:32 -07:00
Edward Lee
6bc0e717ec Clean up various engines to remove Async.sugar and random self/yields. 2009-06-05 15:34:40 -07:00
Edward Lee
1b781dda8c Remove Async.sugar from engines.js. 2009-06-05 15:34:39 -07:00
Edward Lee
48b4ac18ef Engine_wipeServer: async -> sync. SyncEngine__wipeServer: async/yield -> sync. 2009-06-05 15:34:37 -07:00
Edward Lee
f9aeec8b2c Engine_wipeClient: async -> sync. Engine__wipeClient: async/yield -> sync. 2009-06-05 15:34:35 -07:00
Edward Lee
3d3f786723 Engine_resetClient: async -> sync. SyncEngine__resetClient: async/yield -> sync. 2009-06-05 15:34:34 -07:00
Edward Lee
81f7652b56 Engine_sync: async -> sync. SyncEngine__sync: async/yield -> sync. 2009-06-05 15:34:32 -07:00
Edward Lee
4f22e547b2 Temporarily convert _notify to _notifyAsync and add a Utils.notify. 2009-06-05 15:34:23 -07:00
Dan Mills
dc43c004a6 fix keys test to work with latest key structure + nsIChannel 2009-06-05 11:23:31 -07:00
Edward Lee
9da0ded47a merge weave 2009-06-05 11:03:19 -07:00
Dan Mills
889ac9b203 partially revert d6cac1e80da9 - use id from the body; add additional tests to catch more errors 2009-06-05 10:39:51 -07:00
Edward Lee
0a049604fb Remove Async.sugar from auth.js, resource.js, stores.js, trackers.js. 2009-06-05 00:51:09 -07:00
Edward Lee
563c0a0fd0 SyncEngine__processIncoming: async/yield -> sync. 2009-06-05 00:39:35 -07:00
Edward Lee
e7a503025a CollectionIterator_next: async + async/yield -> sync. 2009-06-05 00:38:23 -07:00
Edward Lee
3a4f2ca0ee Store_applyIncoming, SyncEngine__applyIncoming: async + async/yield -> sync. 2009-06-05 00:36:11 -07:00
Edward Lee
fce5aa36de SyncEngine__syncStartup, SyncEngine__uploadOutgoing, SyncEngine__syncFinish all async/yield -> sync. 2009-06-04 23:48:27 -07:00
Edward Lee
f5ee514ea5 WeaveSvc_findCluster: async + async/yield -> sync. 2009-06-04 23:24:15 -07:00
Edward Lee
faf50c585f merge weave 2009-06-04 23:08:56 -07:00
Edward Lee
14e0eda123 Remove trailing newline bug 480480 work-around: trim(). 2009-06-04 23:04:56 -07:00
Edward Lee
5b50599fd4 Remove Sync(filterUpload/Download) and make them plain sync function as well as beforePUT and afterGET. 2009-06-04 22:10:41 -07:00
Edward Lee
7edc9015d4 Remove Async.sugar from type/bookmark.js and type/clientData.js. 2009-06-04 19:17:03 -07:00
Edward Lee
228f2e2568 CryptoWrapper_decrypt: async + async/yield -> sync. Fix up bookmark/client decrypt. 2009-06-04 19:06:57 -07:00
Edward Lee
8c7ea9fe26 Fix ClientRecord_encrypt to not need to do async. 2009-06-04 18:06:56 -07:00
Edward Lee
7adf2ffa78 CryptoWrapper_encrypt: async + async/yield -> sync. 2009-06-04 17:58:37 -07:00
Edward Lee
1bf2b9b6ce merge weave 2009-06-04 17:47:11 -07:00
Edward Lee
65ceb80170 Bug 496455 - CryptoMeta__addUnwrappedKey always gets undefined new_pubkey
yield for PubKeys.get() when passed a string uri

--HG--
extra : rebase_source : d81bcbc7ba8fc45e83fb395dc93653f2749b3eed
2009-06-04 17:42:22 -07:00
Edward Lee
a9de56fef0 CryptoMeta_addUnwrappedKey: async + async/yield -> sync. 2009-06-04 17:36:34 -07:00
Edward Lee
95bfb88ac7 CryptoMeta_getKey: async + async/yield -> sync. 2009-06-04 17:21:42 -07:00
Edward Lee
81dc4055a7 Remove Async.sugar from keys.js. 2009-06-04 17:10:25 -07:00
Edward Lee
0c563da3c8 PubKeyManager_uploadKeypair: async + async/yield -> sync. 2009-06-04 17:09:32 -07:00
Edward Lee
df16a63edb PubKeyManager_getDefaultKey: async + async/yield -> sync. 2009-06-04 17:04:51 -07:00
Edward Lee
5f22d9bd1c Remove Async.sugar from wbo.js. 2009-06-04 16:52:28 -07:00
Edward Lee
ce37486d9c RecordMgr_get: async + async/yield -> sync. 2009-06-04 16:50:57 -07:00
Edward Lee
aa8b725087 RecordMgr_import: async + async/yield -> sync. 2009-06-04 16:25:12 -07:00
Edward Lee
c5ce99c03b merge weave 2009-06-04 16:24:40 -07:00
Dan Mills
d17c287a86 make sure record id comes from the URI, only use the payload body in the collection GET case 2009-06-04 15:30:36 -07:00
Dan Mills
384f5493c2 fix wbo record test, expand to use record manager as well 2009-06-04 15:29:31 -07:00
Edward Lee
68ce1e4224 Change SyncEngine._reconcile to not be async/yield. 2009-06-04 14:18:04 -07:00
Edward Lee
1134960b32 Fix Resource.* call sites used for wiping the server and initial sync (+ key gen upload) 2009-06-04 10:17:27 -07:00
Edward Lee
428d54a14a Change Resource.get() to be sync (no callback) and fix up call sites used for login + sync now. 2009-06-04 10:16:07 -07:00
Edward Lee
f5447a5500 Switch Resource._request to Sync. (ChannelListener, filterUpload/Download) 2009-06-04 10:14:54 -07:00
Edward Lee
5b760c8363 Add ext/Sync.js to do sync-async 2009-06-04 10:13:25 -07:00
Anant Narayanan
fb569b55ce Branch merge 2009-06-03 15:36:07 -07:00
Anant Narayanan
1d50983d4f Sync persona by default 2009-06-03 15:35:43 -07:00
Wladimir Palant
8f33b68063 Bug 495924 - TabTracker wrongly assumes that "this" pointer will be set correctly for event handlers 2009-06-02 11:25:37 +02:00
Wladimir Palant
9f9831773f Bug 495964 - Building WeaveCrypto.dll fails if Mercurial revision doesn't start with a number 2009-06-02 18:08:52 +02:00
Dan Mills
eb28a59871 about:weave changes, add jquery 2009-06-02 09:29:58 -07:00