Commit Graph

349225 Commits

Author SHA1 Message Date
Sushil Chauhan
9443c9c242 Bug 978341 - CompositorOGL::clearFBRect api needs to map the rect to OGL coordinates. r=jgilbert 2014-03-04 18:07:32 -08:00
Jim Chen
f00f89649e Bug 978262 - Ignore duplicate frames when getting BHR stack. r=froydnj 2014-03-05 08:47:46 -05:00
Alfredo Yang
1599acb8ce Bug 976510 - Calculate display size according to pixel aspect-ratio. r=cpearce 2014-03-05 08:47:45 -05:00
snigdha
a441998156 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Boris Zbarsky
865b9215f3 Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Boris Zbarsky
895ef0d906 Bug 978646. Properly cycle-collect document.styleSheetSets. r=smaug 2014-03-05 08:32:27 -05:00
Olli Pettay
0992211841 Bug 978862, make sure to use the right event type atom throughout CompileEventHandlerInternal, r=jst 2014-03-05 15:16:42 +02:00
Olli Pettay
f4adc577ea Backout the previous landing (15229e2a01b1) for Bug 978862, since it had wrong bug number, r=backout 2014-03-05 15:16:04 +02:00
Honza Bambas
bbe169ea7d Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell 2014-03-05 14:01:09 +01:00
Ehsan Akhgari
369cf847da Bug 979067 - Stop exporting the guard object classes; r=froydnj 2014-03-05 07:50:55 -05:00
Carsten "Tomcat" Book
46a7d98005 merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
Carsten "Tomcat" Book
9e48d03b18 merge mozilla-inbound to mozilla-central 2014-03-05 13:04:39 +01:00
Simon Montagu
b3b07173a0 Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame 2014-03-04 23:31:47 -08:00
L. David Baron
3d27ca2dd2 Bug 828173 bustage fix for non-unified builds: add using declaration. 2014-03-04 21:05:18 -08:00
Timothy Nikkel
bb539e8ebf Bug 952354. Don't worry about premult alpha flags if the frame is opaque when calling GetFrame and CopyFrame. r=seth 2014-03-04 22:48:48 -06:00
L. David Baron
a3ba562447 Bug 979557: CanAnimatePropertyOnCompositor should return early when there's no OMT compositing, whether or not logging is enabled. r=dzbarsky
This shouldn't behave differently depending on whether or not logging is
enabled; that difference was introduced in bug 785648.
2014-03-04 20:13:22 -08:00
L. David Baron
1f5d9d7f51 Bug 979555: Add default value for layers.offmainthreadcomposition.log-animations preference to all.js. r=dzbarsky
It's good practice to have default values for all preferences in all.js.
Otherwise some preference APIs throw exceptions and/or leave values
uninitialized.  It also makes the preference show up in about:config.

Bug 875204 accidentally removed this line from all.js even though the
pref was not removed.  (The pref was initially added in bug 780342.)
2014-03-04 20:13:22 -08:00
L. David Baron
27df9fb4e2 Bug 828173 patch 6: Remove calls to ForceLayerRerendering from the miniflush code (UpdateThrottledStyles, which flushes animations whose main thread updates are throttled without updating any other styles). r=mattwoodrow
I've been wanting to remove this code for a while.  I think this code is
problematic for three reasons:

 (1) It's in the middle of code where it doesn't belong, and which ought
     to be handling purely-style-system things.  (This is blocking me
     from reusing that code elsewhere, e.g., in bug 977991 and
     bug 960465, both of which could use it in some form.)

 (2) It defeats the optimization from bug 790505 whenever we do a
     miniflush (in other words, whenever we have any style change,
     whether or not it's related)

 (3) It means the conditions for when we decide to ship a new set of
     animation data to a layer doesn't cover all the cases the layer
     needs it.  In particular, we only run this miniflush code when we
     have a currently running animation or transition that's running on
     the compositor thread.  On the other hand, the UpdateTransformLayer
     style change handling in DoApplyRenderingChangeToTree depends on
     whether the frame currently has a transform layer, which can
     continue to be true for a bit after the animation stops.  So if we
     need to send animations to the layer because of a transform style
     change that happens soon after an animation completes, our style
     change handling will find the existing layer and call its
     SetBaseTransformForNextTransaction method but never do anything
     that triggers layer construction.  The style throttling code, in
     turn, will never stop doing main thread updates because the
     animation generation on the layer is out-of-date, and these main
     thread updates will keep the layer active, but they'll never show
     up because the stale animation data overrides the new transform
     that we've been setting.  (At least, I think that's what was
     happening; it makes sense to me and matches the behavior I was
     observing.  I didn't verify which main thread updates and which
     layer updates were actually happening, though.)

     This shows up, for example, in the animation in attachment 8384813
     just halting at a corner if I'm careful not to disturb it.  (I'm
     testing on Linux, with both accelerated layers and OMT animations
     explicitly enabled.)

I think there are probably some other things that can be removed as
followups to removing this code, because I think we made some boundary
conditions intentionally incorrect so that problem (3) above wouldn't be
as bad as it otherwise would have been.
2014-03-04 20:13:22 -08:00
L. David Baron
31c94b630e Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow 2014-03-04 20:13:22 -08:00
L. David Baron
143d4b266e Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
1c6ed806fe Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
e80d256f0e Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
806b550de7 Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
69150cf2a4 Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
2b83b4d126 Bug 978903: Fix some uninitialized variable warnings in the CSS parser. r=heycam
The first provides a reasonable default (failure to parse) for the case
of an unknown value type (which should never happen).

The second reorders two failure checks so that the one that returns
early when units is uninitialized happens before the one that looks at
units.
2014-03-04 20:13:20 -08:00
L. David Baron
d1d47a6bfc Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam 2014-03-04 20:13:20 -08:00
L. David Baron
b492e167bf Bug 621618 patch 4: Make conditions in Element::RemoveFromIdTable match those in AddToIdTable, to avoid asymmetric calls to the document's functions. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
811715ddc8 Bug 621618 patch 3: Add FIXMEs in nsXULDocument for ID handling. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
838f497fac Bug 621618 patch 2: Make nsXMLElement reuse Element::AddToIdTable and Element::RemoveFromIdTable thoroughly. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
d8aedb68ea Bug 621618 patch 1: Remove BindToTree overrides in nsXMLElement that exist only to make AddToIdTable/RemoveFromIdTable calls already in the base class (Element). r=bzbarsky
I think this could have been done as part of Bug 700981 part 2, which
moved AddToIdTable and RemoveFromIdTable calls from nsStyledElement to
nsGenericElement.
2014-03-04 20:13:20 -08:00
L. David Baron
449dc2dfe0 Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
L. David Baron
f5edb56a68 Fix merge error between bug 872273 (changeset 46df3fd9b0dc) and bug 946065 (changeset 243259fda9ab) and move this test to the directory where it's listed in mochitest.ini so it will actually be run. No review.
Bug 979640 is filed on making this mistake harder.

--HG--
rename : content/xbl/test/test_bug872273.xhtml => dom/xbl/test/test_bug872273.xhtml
2014-03-04 20:13:19 -08:00
Jim Blandy
2b382f8972 Bug 800200: Print a deprecation warning to the console when JSD is first used. r=bholley 2014-03-04 20:09:15 -08:00
Matthew Gregan
f79cc8e5b0 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
81a3e1dcc1 Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
2dd9fc6e68 Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir 2014-03-05 16:35:46 +13:00
Andrea Marchesini
66f00a6af3 Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug 2014-03-05 03:28:20 +00:00
Andrea Marchesini
992ee98fe9 Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Sam Foster
db99a4073b Bug 967793 - Add test for download notification behavior when the current tab gets closed. r=azasypkin 2014-03-04 19:16:08 -08:00
Sam Foster
b0d7ea523a Bug 967793 - move all download notifications to next tab when current tab gets closed. r=mbrubeck 2014-03-04 19:16:08 -08:00
Sam Foster
fbd2df350b Bug 967793 - Add tests for metro notification bindings and adoptNotification method. r=azasypkin 2014-03-04 19:16:07 -08:00
Sam Foster
1c33a18e6d Bug 967793 - Move CAO adjustment of notificationbox padding into CSS via a navbar=visible broadcaster. r=mbrubeck 2014-03-04 19:16:07 -08:00
Sam Foster
4a7b9eb07c Bug 967793 - extended notification binding to provide child element support for the notification label. r=mbrubeck 2014-03-04 19:16:07 -08:00
Sam Foster
c604d6806b Bug 974413 - Call Tab's updateViewport when a notification is closed. r=mbrubeck 2014-03-04 19:16:07 -08:00
Gijs Kruitbosch
13d524b4cf Bug 959640 - add icons to enable SDK add-ons to show default icon in Australis, rs=jaws,various-real-life-review+s 2014-03-04 22:11:46 -05:00
Ehsan Akhgari
bd787c3deb Bug 979681 - Correctly handle SOURCES.flags for sources with relative paths in them; r=glandium 2014-03-04 21:36:16 -05:00
Jed Davis
a76ee1d66c Bug 946407 - Disable sandbox when DMDing. r=njn r=kang
See also bug 956961.
2014-03-04 18:27:14 -08:00
Jed Davis
76ab6d796b Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Wes Kocher
341a6e1a03 Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed 2014-03-04 18:22:18 -08:00
William Chen
5ec008c7f8 Bug 901319 - Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements. r=hsivonen 2014-03-04 18:06:15 -08:00