Commit Graph

103419 Commits

Author SHA1 Message Date
Gregory Szorc
5f41f9020f 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
ae2a788f16 Bug 785225 - Part 11: Burninate trailing whitespace from tests; r=rnewman 2012-08-29 14:43:41 -07:00
Gregory Szorc
cacfe5c26b 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
45d3f90cf3 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
88f9794fe7 Bug 785225 - Part 8: Don't expose SyncScheduler as a singleton; r=rnewman 2012-08-29 14:43:41 -07:00
Gregory Szorc
db187465ed Bug 785225 - Part 7: Bind SendCredentialsController to a Service instance; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc
5628a0cd3b 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
bb5d240869 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
57684fd336 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
b11d37e791 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
50628a23db 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
cf876cf19b Bug 785225 - Part 1: Don't rely on Engines singleton in AddonsReconciler; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc
512b106c9a Bug 783721 - Refactor User API service interaction; r=rnewman 2012-08-29 14:43:39 -07:00
Richard Newman
79469f703c Merge m-c to s-c. 2012-08-28 23:41:46 -07:00
Dão Gottwald
08b0c5a466 Bug 782453 - Add site-specific User Agent infrastructure and use it to fix AOL Mail. r=bz,ehsan sr=gerv 2012-08-29 08:03:24 +02:00
Gregory Szorc
3515fa2af2 Bug 783437 - Add conditions acceptance to token server client; r=rnewman 2012-08-28 13:34:33 -07:00
Gregory Szorc
1f3a0011de Merge mozilla-central into services-central 2012-08-28 13:34:14 -07:00
Blake Kaplan
c259654071 Bug 786283 - Followup fixes to avoid notifying the same DOM request twice. r=vchang DONTBUILD 2012-08-28 16:46:45 -03:00
Vincent Chang
be2c3239e0 Bug 736089 - Handle broken wifi configurations more gracefully, r=mrbkap DONTBUILD 2012-08-28 16:14:26 -03:00
Blake Kaplan
258353d2fb Bug 786283 - Report to the caller when a scan request fails. r=vchang 2012-08-28 12:55:41 -03:00
Matthew Gregan
84210ce61b Bug 785967 - Reject Wave files with invalid data block size in the format chunk. r=doublec 2012-08-28 18:21:58 +12:00
Ryan VanderMeulen
a4657d67ce Merge the last PGO-green inbound changeset to m-c. 2012-08-28 20:07:15 -04:00
Blake Kaplan
b417e9cf0c Bug 786283 backout - this doesn't work the way it should (android doesn't send failure back for failed scans). r=backout 2012-08-28 17:36:22 -03:00
Ehsan Akhgari
36a43871f4 Bug 786339 - Remove two implicit conversions from NULL to false in the JS code; r=luke 2012-08-28 13:22:42 -04:00
Nathan Froyd
b60c0f6f5c Bug 786372 - eliminate libvpx -pedantic warning spew; r=derf 2012-08-28 14:08:35 -04:00
Blake Kaplan
5ab31a6021 Bug 785975 - Reconnect to the network after DHCP fails. r=vchang 2012-08-27 17:48:25 -03:00
Olli Pettay
976f2acfb6 Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Phil Ringnalda
b8d45a9ae2 Back out a08d28e8a86b (bug 768868), 9b96029a9cf0 and 010b5cb3576d (bug 781620) for test failures and leaks 2012-08-27 21:34:53 -07:00
Gregory Szorc
3ec3ede5db Merge mozilla-central into services-central 2012-08-27 12:56:17 -07:00
Alex Keybl
b3319338f9 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Alex Keybl
5f67172da8 Added tag FIREFOX_AURORA_17_BASE for changeset fd72dbbd6920 2012-08-27 12:19:51 -07:00
Ryan VanderMeulen
d7d4930e6d Merge the last PGO-green inbound changeset to m-c. 2012-08-27 15:01:44 -04:00
Dão Gottwald
eeea10e965 Bug 783282 - When dragging a tab within the tab strip, move it directly instead of displaying a drop indicator. r=jaws 2012-08-27 19:44:00 +02:00
Jonathan Griffin
39378ceee0 Bug 785273 - Fix MarionetteJS case breakage, a=test-only, DONTBUILD because NPOTB 2012-08-27 09:34:23 -07:00
Rafael Ávila de Espíndola
ad2430336c Bug 785772 - Don't use -O0 during stage1 on darwin. r=rail.
We only need to build stage1 with -O0 on linux because of a bug in the gcc
4.5 we use.
2012-08-27 10:20:46 -04:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Gabor Krizsanits
5138045eff Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Ms2ger
6d814e7995 Merge last PGO-green changeset from m-i to m-c. 2012-08-27 15:02:11 +02:00
Benjamin Peterson
fce6b1df96 Bug 781035 followup - fix indentation. r=me 2012-08-27 08:21:27 -04:00
Benjamin Peterson
d76d19dc3d Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Benjamin Peterson
67395d7701 Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00
Mark Hammond
5d201148e6 Bug 780987 - implement social.user-recommend-* messages. r=mixedpuppy 2012-08-27 21:16:38 +10:00
Ms2ger
6a8ff69ba1 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
bf498a4c08 Bug 781731 - Fixed failed assertion in reftest1; r=doublec 2012-08-27 22:01:47 +12:00
Anthony Jones
00a632ec43 Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas 2012-08-27 11:35:10 +02:00
Anthony Jones
845006b170 Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc 2012-08-27 11:34:33 +02:00
Anthony Jones
eac6b7c446 Bug 781731 - Set azure shadow canvas size match thebes in order to match performance; r=roc 2012-08-27 11:34:12 +02:00
Anthony Jones
c67126fb9b Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc 2012-08-27 11:34:07 +02:00
Anthony Jones
efc3961ad0 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02:00