Commit Graph

2441 Commits

Author SHA1 Message Date
Richard Newman
8dcf1f8380 Bug 676404 - command API migration. Fixes 845ed0ee7123. a=bustage 2011-08-05 16:01:49 -07:00
Richard Newman
1ee6dfd0be Bug 684783 - Fix intermittent test_errorhandler.js. r=philikon 2011-09-06 08:26:35 -07:00
Gregory Szorc
d0b1fec42e Bug 676404 - Migrate command APIs from Service to Clients engine. (relanded) r=rnewman 2011-08-04 16:19:02 -07:00
Richard Newman
8b2ac87e6d Backed out changeset 3c22aef81976 (Bug 676404) for introducing two TPS failures. 2011-08-04 19:02:49 -07:00
Allison Naaktgeboren
370ae55e31 Bug 636603 - Part 2: mozIAsyncHistory: use new mozIVisitInfoCallback API from Sync. r=philikon
Updating the firefox sync consumer for the new api.
2011-08-04 16:50:19 -07:00
Gregory Szorc
85410e3795 Bug 676404 - Migrate command APIs from Service to Clients engine. r=rnewman 2011-08-04 16:19:02 -07:00
Philipp von Weitershausen
8ab146ea1b Bug 675125 - Utils.notify should pass observers the exception as subject. r=rnewman 2011-07-29 18:47:39 -07:00
Jonathan Griffin
8b3b1dd8b0 Bug 674097 - land TPS in core, r=philikon, a=test-only, DONTBUILD 2011-07-27 16:32:42 -07:00
Gregory Szorc
f7df511432 Bug 673288 - constant cleanup; r=philikon 2011-07-27 19:55:50 -07:00
Gregory Szorc
2e4e829b57 Bug 646539 - Track client name pref changes and bump score after change; r=philikon 2011-07-26 21:48:50 -07:00
Philipp von Weitershausen
5aab23ca45 Merge services-central with mozilla-central 2011-07-26 16:27:31 -07:00
Michael Wu
706be3a5e8 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Philipp von Weitershausen
fc7a826ed9 Bug 678588 - Drop singleDeviceInterval to 1 hour. r=mconnor 2011-08-12 14:14:52 -07:00
Chenxia Liu
1456ea6550 Bug 673309 - Differentiate error and success logs in filename. r=philikon 2011-07-22 17:07:19 -07:00
Richard Newman
fcd65afa28 Bug 673179 - Log Sync User-Agent at the start of each sync. r=philikon DONTBUILD 2011-07-21 13:53:04 -07:00
Marina Samuel
129c9d5e02 Bug 671378 - Sync interval doesn't adjust after error during initial Sync on additional device. r=philikon 2011-07-21 12:21:34 -07:00
Marina Samuel
9d4a25fd49 Bug 668622 - Move sync at startup logic (autoConnect, etc.) to SyncScheduler. r=philikon 2011-07-21 12:20:55 -07:00
Philipp von Weitershausen
8c873ad9c4 Bug 669913 - Viewing Sync quota blocks the entire Options window. r=rnewman
Part 1: Implement Service.getStorageInfo as an async method using RESTRequest.

--HG--
rename : services/sync/tests/unit/test_service_quota.js => services/sync/tests/unit/test_service_getStorageInfo.js
2011-07-14 12:11:42 -07:00
Philipp von Weitershausen
e7c4344a1a Bug 669913 - Viewing Sync quota blocks the entire Options window. r=rnewman
Part 0: SyncStorageRequest's method should return the request object, onStartRequest should not try to process data from an aborted request.
2011-07-14 12:11:29 -07:00
Philipp von Weitershausen
48c8c9a25f Bug 671422 - First sync should prompt for Master Password. r=rnewman 2011-07-13 15:45:54 -07:00
Philipp von Weitershausen
d74f1c4aa3 Bug 671066 - Unknown error on conclusion of easy setup of second client. r=rnewman
Part 2: Make sure we don't run into the kNotLoggedIn reason first and then ignore it. It's a useless sentinel anyway, so remove it altogether.
2011-07-13 15:20:07 -07:00
Philipp von Weitershausen
cb62f61b1d Bug 671066 - Unknown error on conclusion of easy setup of second client. r=rnewman 2011-07-12 16:36:43 -07:00
Philipp von Weitershausen
39f4ad9fb3 Bug 658928 - Use the xpcshell manifest to disable tests. r=rnewman
--HG--
rename : services/sync/tests/unit/head_appinfo.js.in => services/sync/tests/unit/head_appinfo.js
2011-07-07 08:02:07 -07:00
Philipp von Weitershausen
025724016a Bug 669547 - Use RESTRequest in JPAKEClient. r=rnewman 2011-07-06 17:20:47 -07:00
Philipp von Weitershausen
2fed606d34 Bug 669547 - Implement RESTRequest and related components to replace [Async]Resource. r=rnewman 2011-07-06 17:20:36 -07:00
Philipp von Weitershausen
6b345071d1 Bump Sync client version 2011-07-05 10:19:37 -07:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Marco Bonardo
4439a8695d Bug 666697 - Don't sync history removals caused by expiration.
r=philikon
2011-06-30 22:24:50 +02:00
Philipp von Weitershausen
c18a39646d Bug 668542 - Cancelling MP unlock will trigger an error and point user to Sync Preferences dialog window. r=rnewman 2011-06-30 19:12:45 +02:00
Philipp von Weitershausen
6c7b3f930d Bug 668309 follow-up: harden timing tests 2011-06-30 19:12:45 +02:00
Marina Samuel
ef3cfaf2fb Bug 668309 - Part 3: fix for sync intervals. r=philiKON 2011-06-29 20:12:27 -07:00
Philipp von Weitershausen
2a868ced11 Bug 668309 - Part 2: Make regular intervals pref-able. r=rnewman 2011-06-29 20:12:24 -07:00
Philipp von Weitershausen
8ade2b67cb Bug 668309 - Part 1: Add more logging to SyncScheduler. r=rnewman 2011-06-29 20:12:16 -07:00
Marina Samuel
7d5f709d9c Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 6: Fix the idle/back observers, have Service.startOver() reset SyncScheduler values
2011-06-29 03:48:55 +02:00
Marina Samuel
8fca2cc831 Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 5: Tests
2011-06-29 03:47:22 +02:00
Richard Newman
98ded1bce9 Bug 587420: attempt to fix intermittent orange in test_syncengine_sync.js by using run_next_test. r=philikon 2011-06-27 16:00:27 +01:00
Marina Samuel
9dd7223082 Bug 665965 - Use SCORE_INCREMENT_XLARGE in HistoryTracker's onBeforeDeleteURI. r=philikon 2011-06-27 14:26:04 +01:00
Marina Samuel
87a65b311d Bug 666043 - Service._skipScheduledRetry is wrong. r=philikon 2011-06-27 14:26:04 +01:00
Philipp von Weitershausen
0ffe4b4125 Bug 664792 follow-up: adjust test_syncengine_sync.js 2011-06-27 14:25:58 +01:00
Marina Samuel
c45b32a359 Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 4: Adjust sync interval based on idle time.
2011-06-27 14:24:33 +01:00
Marina Samuel
5208964496 Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 3: Autoconnect now triggers sync, not just login.
2011-06-27 14:23:25 +01:00
Marina Samuel
07d683aed8 Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 2: Pull out all score- & interval-related code into a separate SyncScheduler component
2011-06-27 14:22:49 +01:00
Marina Samuel
a944cf96ae Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 1: Remove heartbeat
2011-06-27 14:20:59 +01:00
Richard Newman
470f29fb56 Bug 664865 - More considered handling of node reassignment mid-sync. r=philikon 2011-06-25 14:54:50 +01:00
Philipp von Weitershausen
0360a37b5a Bug 666685 follow-up: continue to not overwrite the lazy getter if building the map fails. a=zpao-owes-me-a-beer 2011-06-24 02:18:24 +02:00
Paul O’Shannessy
5efa9da596 Bug 666685 - JavaScript strict warning: bookmarks.js: setting a property that has only a getter. r=philikon 2011-06-23 23:08:04 +02:00
Philipp von Weitershausen
fe6d209ddd Bug 664090 follow-up: simpler way to make DEBUG available in preprocessed file. DONTBUILD 2011-06-20 14:28:19 +02:00
Philipp von Weitershausen
70c279fb4d Bug 600429 follow-up: ensure logger names have Sync prefix. a=tests-only DONTBUILD 2011-06-17 15:10:43 +02:00
Marina Samuel
22546c8058 Bug 600429 - Tune score increments to trigger a sync more quickly. r=philikon
Part 2: Remove delays
2011-06-16 21:13:20 +02:00
Marina Samuel
277d79947f Bug 600429 - Tune score increments to trigger a sync more quickly. r=philikon
Part 1: Tune score increments
2011-06-16 21:12:48 +02:00
Richard Newman
9e0023b859 Minor typo change in test_clients_engine.js. r=philiKON 2011-06-15 11:32:33 -07:00
Richard Newman
7bbc7fae0c Bug 656513: part 2: revamp lazy GUID map handling (_lazyMap). r=philiKON 2011-06-15 00:03:34 -07:00
Richard Newman
5bf0b6446b Bug 656513: part 1: provide a way for record handlers to abort incoming sync. r=philiKON 2011-06-15 00:03:32 -07:00
Philipp von Weitershausen
a03e4f3ac2 Bug 664090 - Disable test_service_filelog.js on Win opt builds. a=orange
Also use the right preprocessor variable to identify debug builds.

--HG--
extra : rebase_source : 3c7370383770a30c5399002ebce8589d5258b848
2011-06-15 01:05:56 +02:00
Richard Newman
33f35de853 Bug 656513: part 0: Put SteamEngine, renamed RotaryEngine, into head_helpers.js. r=philiKON 2011-06-14 09:31:31 -07:00
Richard Newman
28bc3ea96f Bug 664046 - Correct logging pref migration in Sync. r=philikon 2011-06-14 10:41:36 +02:00
Philipp von Weitershausen
c073b4438a Merge m-c to s-c 2011-06-13 20:44:14 +02:00
Philipp von Weitershausen
3095595fe1 Bug 661587 - Don't use the root logger. r=rnewman 2011-06-13 20:42:18 +02:00
Philipp von Weitershausen
379d494c7c Bug 610832 - Make about:sync-log a directory listing. r=rnewman,mconnor 2011-06-13 20:40:08 +02:00
Philipp von Weitershausen
3e28e5010d Bug 610832 - Dump log to disk when sync fails. r=rnewman 2011-06-13 20:39:51 +02:00
Philipp von Weitershausen
627c18014a Bug 610832 - Add StorageStreamAppender to log4moz.js. r=rnewman 2011-06-13 20:39:37 +02:00
Philipp von Weitershausen
7321f93d9f Bug 610832 - Get rid of useless getters. r=rnewman 2011-06-13 20:39:14 +02:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Philipp von Weitershausen
58ae7aee0e Merge mozilla-central to services-central 2011-06-09 12:40:13 +02:00
Philipp von Weitershausen
4310b20219 Bug 662178 - Ensure Utils.nextTick timers aren't GC'ed prematurely... by not using timers. r=rnewman 2011-06-08 18:12:12 +02:00
Philipp von Weitershausen
78ff4ebaea Bug 662178 - Harden test_utils_namedTimer.js. r=rnewman 2011-06-08 18:12:12 +02:00
Philipp von Weitershausen
5807e49416 Bug 660753 - Don't spin the event loop in the history tracker. r=rnewman 2011-06-08 17:10:29 +02:00
Philipp von Weitershausen
546d99116d Bug 662178 - Simplify timed callbacks. r=rnewman 2011-06-06 21:27:36 +02:00
Philipp von Weitershausen
35d88daa7a Bug 662181 - "Deactivate this device" doesn't update UI instantly on slow internet connections. r=rnewman 2011-06-06 20:29:45 +02:00
Philipp von Weitershausen
84fc78f8dc Bug 650941 - Use run_next_test in test_resource_async.js. r=rnewman 2011-06-06 20:29:45 +02:00
Richard Newman
1645a088fe Bug 661972 - don't call Service.sync() with ancient fullSync param. r=philiKON 2011-06-06 07:49:13 -07:00
Richard Newman
5b644a32fd Move Resource.serverTime to AsyncResource, fix comments for AsyncResource. r=philiKON 2011-05-30 19:01:25 -07:00
Richard Newman
d86728156d Move async utilities into async.js. Add Async.makeSpinningCallback as a temporary shim for wrapping Cb versions of functions. r=philiKON 2011-05-30 19:01:13 -07:00
Richard Newman
fe74228737 Add Utils.slices. r=philiKON 2011-05-30 19:01:07 -07:00
Richard Newman
b4ced7b0da Add a test for URI construction and query modification. r=philiKON 2011-05-30 19:00:54 -07:00
Richard Newman
8181b80bb2 No need for startOver in test_corrupt_keys. r=philiKON 2011-05-30 19:00:47 -07:00
Richard Newman
b1083e403d Switch test_history_engine.js to add_test/run_next_test. r=philiKON 2011-05-30 19:00:41 -07:00
Richard Newman
74d7df9776 Switch test_bookmark_smart_bookmarks.js to add_test/run_next_test. r=philiKON 2011-05-30 19:00:14 -07:00
Richard Newman
105c60e5ca Convert test_corrupt_keys.js to add_test/run_next_test. r=philiKON 2011-05-30 18:59:05 -07:00
Richard Newman
06482c5bf2 Bug 660713 - Reuse arrays in Utils.arraySub and Utils.arrayUnion. r=philiKON 2011-05-30 15:57:33 -07:00
Richard Newman
fa142c416c Bug 656708: Channel.URI is undefined. r=philiKON 2011-05-30 14:21:03 -07:00
Philipp von Weitershausen
2c6a521a2f Bug 568653 - Change "Last Update" to "Last Sync" in tooltip. r=rnewman 2011-05-30 12:51:34 -07:00
Marina Samuel
7948b2a496 Bug 659107 - Only report failure for newly failed items. r=philikon,rnewman 2011-05-27 17:32:13 -07:00
Richard Newman
0b133ab804 Bump Sync version.txt. r=philikon 2011-05-27 16:56:11 -07:00
Matt Brubeck
f94ab462dd Bug 659777 - Check for existence of Svc.Private before accessing it [r=philikon] 2011-05-25 16:40:09 -07:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Philipp von Weitershausen
94237c1448 Bug 659112 - Fix dir service provider in test harness. r=rnewman 2011-05-23 14:54:05 -07:00
Richard Newman
496e0ce349 Bug 648364: follow-on for missing case in head_helpers.js. r=philikon 2011-05-23 12:40:22 -07:00
Philipp von Weitershausen
736741ffd6 Bug 616999 follow-up: update services/sync xpcshell manifest
Bug 648364 removed and bug 613277 added some tests on services-central in the meantime.
2011-05-22 18:49:21 -07:00
Philipp von Weitershausen
08f7d8fcb2 Merge mozilla-central to services-central 2011-05-22 18:16:43 -07:00
Philipp von Weitershausen
ea60559412 Bug 648364 - Remove dead code from the test harness. r=rnewman 2011-05-20 18:45:51 -07:00
Philipp von Weitershausen
b88a1c112f Bug 629664 - Get rid of intermittent Windows failure (again!) by undoing part of bug 624436. r=rnewman 2011-05-20 13:06:07 -07:00
Philipp von Weitershausen
707aefca28 Bug 613277 - Add tests from JSModules repository 2011-05-19 21:14:13 -07:00
Philipp von Weitershausen
08b0ac4a93 Bug 648364 - Remove dead code. r=rnewman 2011-05-19 18:09:02 -07:00
Philipp von Weitershausen
e5d4188be0 Bug 648364 - Replace custom helpers with FileUtils.jsm. r=rnewman 2011-05-19 18:08:51 -07:00
Philipp von Weitershausen
08f48b17e4 Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman 2011-05-19 18:08:35 -07:00
Philipp von Weitershausen
b7d838090f Bug 648364 - Replace custom helpers with PlacesUtils.jsm. r=rnewman 2011-05-19 18:08:22 -07:00
Philipp von Weitershausen
fe67de95d8 Bug 648364 - Replace custom helpers with Services.jsm. r=rnewman 2011-05-19 18:08:07 -07:00
Philipp von Weitershausen
57b9547073 Bug 654900 follow-up: ensure special folders are tracked properly. r=rnewman
Also fixes a line that the first patch missed.
2011-05-18 14:27:39 -07:00