Gregory Szorc
f955cd5efc
Bug 792990 - Properly handle add-ons when resetting Sync; r=rnewman
...
Due to a bug in the add-on sync implementation, resetting Sync would
cause all add-ons to be uninstalled and not replaced with the server
data.
2012-09-21 11:24:24 -07:00
Richard Newman
ca0f557cda
Merge m-c to s-c.
2012-08-30 19:26:53 -07:00
Gregory Szorc
55ad987c3a
Bug 786489 - Part 2: Change username through Identity not prefs; r=rnewman
...
The preferred way to change the username is through the Identity
singleton, not by updating a pref and hoping the side-effect is what you
want.
2012-08-29 14:43:41 -07:00
Gregory Szorc
c662bc9670
Bug 786489 - Part 1: Update serverURL and clusterURL through Service; r=rnewman
...
The preferred method to update serverURL and clusterURL is by going
through the SyncService Service singleton, not by setting preferences.
2012-08-29 14:43:41 -07:00
Gregory Szorc
9fc8bd9999
Bug 785225 - Part 11: Burninate trailing whitespace from tests; r=rnewman
2012-08-29 14:43:41 -07:00
Gregory Szorc
2ee91d907e
Bug 785225 - Part 10: Reflect API changes in TPS; r=rnewman
...
The previous parts broke TPS. This fixes them all in one lump patch.
2012-08-29 14:43:41 -07:00
Gregory Szorc
e700f1a9c5
Bug 785225 - Part 9: Refactor engines to not use singletons; r=rnewman
...
Engines now maintain a reference to the service they belong to. This
allows them to obtain references to other engine instances belonging to
that service and that service only.
Stores and trackers now maintain a reference to the engine they belong
to.
Engine managers now maintain a reference back to a service.
The clients singleton has been removed. It now exists as an instance
variable on Service. Parts of ClientsEngine do behave as singletons
(e.g. commands). This will be addressed in future refactoring.
2012-08-29 14:43:41 -07:00
Gregory Szorc
a10260dd72
Bug 785225 - Part 8: Don't expose SyncScheduler as a singleton; r=rnewman
2012-08-29 14:43:41 -07:00
Gregory Szorc
290e6ef57e
Bug 785225 - Part 7: Bind SendCredentialsController to a Service instance; r=rnewman
2012-08-29 14:43:40 -07:00
Gregory Szorc
5a59ca251a
Bug 785225 - Park 6: Move StorageCredentialsController to jpakeclient.js; r=rnewman
...
I'm not sure why it was in policies.js, as it has everything to do with
J-PAKE exchange.
2012-08-29 14:43:40 -07:00
Gregory Szorc
19432e05ab
Bug 785225 - Part 5: Partial removal of Clients singleton; r=rnewman
...
Clients was being exported and used as a singleton. We still use Clients
as a singleton in some places, but only in test code. The preferred
method to access Clients is now through a service instance.
Weave.Clients is no longer exposed. Callers go through Weave.Service
now.
2012-08-29 14:43:40 -07:00
Gregory Szorc
864a6551e8
Bug 785225 - Part 4: Remove unused exports from Weave; change engine loading; r=rnewman
...
Lots of exports from the Weave global object weren't being used. This
also changes how engines are loaded. There is now a mapping in
service.js of engine name to filename. Before, it was looking at Weave.
2012-08-29 14:43:40 -07:00
Gregory Szorc
83cd0bea9c
Bug 785225 - Part 3: Don't expose ErrorHandler as a singleton; r=rnewman
...
Some tests still expect there to only be a single instance of
ErrorHandler for the life of the tests. And, ErrorHandler itself is
pretty tighly coupled with being a singleton because it writes out
changes to prefs, etc. But, it's a step in the right direction.
2012-08-29 14:43:40 -07:00
Gregory Szorc
f458898f12
Bug 785225 - Part 2: Minimize Engines singleton usage; r=rnewman
...
Weave.Engines is no longer exported. Service now exposes an
EngineManager instance, which is the new recommended way to get at the
engine manager. Service was updated to reference the internal instance.
2012-08-29 14:43:40 -07:00
Gregory Szorc
a740be31b3
Bug 785225 - Part 1: Don't rely on Engines singleton in AddonsReconciler; r=rnewman
2012-08-29 14:43:40 -07:00
Gregory Szorc
04c46a9077
Bug 783721 - Refactor User API service interaction; r=rnewman
2012-08-29 14:43:39 -07:00
Gregory Szorc
2d67b1815b
Merge mozilla-central into services-central
2012-08-27 12:56:17 -07:00
Alex Keybl
0f6cdb0532
Merging in version bump NO BUG
2012-08-27 12:21:46 -07:00
Ally Naaktgeboren
9e1d6865c4
Bug 589468 - Part 2/2: Change "computer" to "device" in all strings regarding desktop Firefox Sync. r=mconnor
...
--HG--
extra : rebase_source : 1041808123507a278b6bbddf7d387d6ef18ccfcd
2012-08-29 17:09:32 -07:00
Jim Mathies
0d248e0821
Bug 784165 - Metrofx should use a new appid. r=gavin
2012-09-13 12:29:08 -05:00
Allison Naaktgeboren
66ccd6b722
Bug 644734; r=gps
2012-09-12 15:08:07 -07:00
Gregory Szorc
42693ad1b5
Merge mozilla-central into services-central
2012-08-20 09:34:02 -07:00
Gregory Szorc
c1e5bb29a3
Merge mozilla-central into services-central
2012-08-15 16:24:21 -07:00
Gregory Szorc
3ac36d9087
Bug 781952 - Part 3: Remove unused Service._updateCluster; r=rnewman
2012-08-14 11:34:28 -07:00
Gregory Szorc
9031b4425f
Bug 781952 - Part 2: Move cluster management out of service.js; r=rnewman
2012-08-14 11:34:20 -07:00
Gregory Szorc
e73b016255
Bug 781952 - Part 1: Refactor engine syncing logic out of service.js; r=rnewman
2012-08-14 11:34:14 -07:00
Gregory Szorc
8d916196a9
Bug 781946 - Clean up notifications usage; r=rnewman
2012-08-13 16:51:58 -07:00
Gregory Szorc
81e4b09187
Bug 618233 - Re-disable test_jpakeclient.js on Windows for oranges; r=rnewman
2012-08-13 10:29:28 -07:00
Gregory Szorc
423024c917
Bug 781307 - Remove rules from services/ Makefile.in's; r=glandium
2012-08-09 13:12:29 -07:00
Gregory Szorc
046c2b664a
Bug 759487 - Refactor services/sync/Makefile.in; r=glandium
2012-08-09 13:12:26 -07:00
Gregory Szorc
849625e37e
Bug 618233 - Enable test_jpakeclient.js on Windows; r=rnewman
...
May trigger intermittent oranges. Trying to reproduce so we can triage.
2012-08-08 16:43:05 -07:00
Gregory Szorc
4b9c341fed
Bug 781348 - Style improvements to service.js; r=rnewman
2012-08-08 16:35:37 -07:00
Gavin Sharp
353b7404d9
Bug 781323: fix about:sync-log, r=gps
...
--HG--
extra : rebase_source : 168339ad89dd0263b83deb7d9b028d59562cffe0
2012-08-14 15:37:04 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Gregory Szorc
375fc869e0
Bug 779391 - Move deepCopy into CommonUtils; r=rnewman
2012-08-01 12:05:29 -07:00
Gregory Szorc
035c4e7987
Bug 777989 - Make Add-on sync TPS tests work again; r=rnewman
2012-08-01 12:02:48 -07:00
Gregory Szorc
bad6844078
Bug 777989 - Update TPS to use new AddonUtils module; r=rnewman
2012-07-31 18:12:12 -07:00
Gregory Szorc
8646bbab43
Bug 777989 - Move add-on helper functions out of add-ons engine; r=rnewman
2012-07-30 17:05:33 -07:00
Sankha Narayan Guria
4e053bc78e
Bug 579604 - Save prefs file after setting up Sync; r=gps
2012-07-30 16:05:20 -07:00
Richard Newman
37c8c97b18
Merge m-c to s-c.
2012-07-30 13:04:40 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Richard Newman
953632c1dd
Bug 762606 - Another attempt at stopping tests finishing too soon. r=orange
2012-07-28 18:19:27 -07:00
Richard Newman
5f65e64598
Bug 762606 - Intermittent test_resource_async.js | test failed (again). r=gps
2012-07-26 14:01:43 -07:00
Richard Newman
4f2c62a0d6
Bug 763973 - Intermittent test_resource_async.js | test failed (with xpcshell return code: 0) | false == true. r=gps
2012-07-24 19:55:48 -07:00
Patrick McManus
5b9ce7432a
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
...
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Jonas Sicking
87c1732c26
Bug 774585: Make about: redirectors reset channel owner to null rather than set an explicit principal so that we'll go through the normal code paths in GetChannelPrincipal. r=bz
2012-07-17 22:22:19 -07:00
Gregory Szorc
9e5fe53e68
Bug 774736 - Move Sync's version to Makefile.in; general cleanup; r=glandium
2012-07-17 10:45:13 -07:00
Tim Taubert
ceb8a46a7c
merge m-c to fx-team
2012-08-16 11:10:41 -07:00
Dave Townsend
7da9c66580
Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
...
Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
2012-05-10 11:33:02 -07:00
Blair McBride
7bd3a6f1f4
Backout 42bc5a310a29 (bug 782881) due to multi-orange.
2012-08-15 23:07:45 +12:00