Commit Graph

103418 Commits

Author SHA1 Message Date
Gregory Szorc
af81aaf0e8 Bug 785225 - Part 11: Burninate trailing whitespace from tests; r=rnewman 2012-08-29 14:43:41 -07:00
Gregory Szorc
6bede3ad50 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
7ece058f3d 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
3b109be643 Bug 785225 - Part 8: Don't expose SyncScheduler as a singleton; r=rnewman 2012-08-29 14:43:41 -07:00
Gregory Szorc
44c8a9c680 Bug 785225 - Part 7: Bind SendCredentialsController to a Service instance; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc
acef1d4ad5 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
aa883d0730 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
0ee793c5f0 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
b037af07da 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
76c6263b21 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
07bbfcb4b6 Bug 785225 - Part 1: Don't rely on Engines singleton in AddonsReconciler; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc
03b466fd3b Bug 783721 - Refactor User API service interaction; r=rnewman 2012-08-29 14:43:39 -07:00
Richard Newman
2c6aa460ee Merge m-c to s-c. 2012-08-28 23:41:46 -07:00
Dão Gottwald
69ee58ce36 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
7468cc13de Bug 783437 - Add conditions acceptance to token server client; r=rnewman 2012-08-28 13:34:33 -07:00
Gregory Szorc
4c0c8b6838 Merge mozilla-central into services-central 2012-08-28 13:34:14 -07:00
Blake Kaplan
c0e658d05e 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
21d8b6246a Bug 736089 - Handle broken wifi configurations more gracefully, r=mrbkap DONTBUILD 2012-08-28 16:14:26 -03:00
Blake Kaplan
20ce728744 Bug 786283 - Report to the caller when a scan request fails. r=vchang 2012-08-28 12:55:41 -03:00
Matthew Gregan
7f1be93029 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
6a48d9fd2b Merge the last PGO-green inbound changeset to m-c. 2012-08-28 20:07:15 -04:00
Blake Kaplan
ae0fff9001 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
bc56a22a8a 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
9be080150a Bug 786372 - eliminate libvpx -pedantic warning spew; r=derf 2012-08-28 14:08:35 -04:00
Blake Kaplan
ecd7387454 Bug 785975 - Reconnect to the network after DHCP fails. r=vchang 2012-08-27 17:48:25 -03:00
Olli Pettay
ec8a1d0493 Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Phil Ringnalda
5423f5636c 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
9b60fbd493 Merge mozilla-central into services-central 2012-08-27 12:56:17 -07:00
Alex Keybl
6458cc3fa4 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Alex Keybl
dd5be69de9 Added tag FIREFOX_AURORA_17_BASE for changeset fd72dbbd6920 2012-08-27 12:19:51 -07:00
Ryan VanderMeulen
97422db378 Merge the last PGO-green inbound changeset to m-c. 2012-08-27 15:01:44 -04:00
Dão Gottwald
23f47ab2d4 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
6d18104c24 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
a6d4f95838 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
5801c8b2ab 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
a4a418d2ac Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Ms2ger
3c576740d3 Merge last PGO-green changeset from m-i to m-c. 2012-08-27 15:02:11 +02:00
Benjamin Peterson
ee202a3ffe Bug 781035 followup - fix indentation. r=me 2012-08-27 08:21:27 -04:00
Benjamin Peterson
de7d529c1c 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
c7110f1a4e Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00
Mark Hammond
7a3a685290 Bug 780987 - implement social.user-recommend-* messages. r=mixedpuppy 2012-08-27 21:16:38 +10:00
Ms2ger
f900f266f1 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
0e06d7bda0 Bug 781731 - Fixed failed assertion in reftest1; r=doublec 2012-08-27 22:01:47 +12:00
Anthony Jones
1257ef6e3e Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas 2012-08-27 11:35:10 +02:00
Anthony Jones
cd3e2d436b 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
a31102686a 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
e1f0182516 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
f506730ee0 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02:00
Anthony Jones
e10d5fffde Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes; r=jrmuizel 2012-08-27 11:31:56 +02:00