Commit Graph

205234 Commits

Author SHA1 Message Date
L. David Baron
dd46d1407d Bug 1058346 patch 1 - Expose a simpler variant of RulesMatching from SVGAttrAnimationRuleProcessor. r=birtles
This allows nsStyleSet::RuleNodeWithReplacement to call it without
constructing an entire (and unnecessary) ElementRuleProcessorData, which
will happen in patch 2.
2014-09-13 06:17:35 -07:00
L. David Baron
4b2c9728a9 Bug 1057231 patch 4 - Move SVG Attribute Animation rules from the pres hint level to their own cascade level. r=dholbert
This is only a very slight reordering of their position in the cascade,
since they were previously walked at the end of
nsSVGElement::WalkContentStyleRules, which was called near the end of
nsHTMLStyleSheet::RulesMatching.  So the only change should be that they
now take priority over the xml:lang rule added by nsHTMLStyleSheet, a
rule with which they do not interact.
2014-09-13 06:17:35 -07:00
L. David Baron
702140ab45 Bug 1057231 patch 3 - Add new cascade level for rules from SMIL Animation of SVG attributes to the style set. r=dholbert
I will fix the indentation of gCascadeLevels in bug 977991 patch 2,
which adds a member to each element of the array.

Note that this bumps the maximum sheetType from 8 to 9 (and number of
them from 9 to 10), which does not require updating
NS_RULE_NODE_LEVEL_MASK, since NS_RULE_NODE_LEVEL_MASK currently has 4
bits and allows a maximum of 15.
2014-09-13 06:17:35 -07:00
L. David Baron
c929dfbd38 Bug 1057231 patch 2 - Add SVG Attribute Animation rule processor to the document. r=dholbert 2014-09-13 06:17:35 -07:00
L. David Baron
71b53c3620 Bug 1057231 patch 1 - Add a rule processor class for rules from SMIL Animation of SVG attributes. r=dholbert
This patch series (to move SVG Animation rules to their own level of the
cascade) is needed so that they can participate in the mechanism for
updating only animation styles to the present time without touching any
other styles.

In theory, this should have been done as part of 996796 or even as part
of prior work on off main thread animations, except that it doesn't seem
possible to have SVG Animations and CSS Transitions interacting on the
same element and have that element's style out of date, which means it
wasn't necessary for the existing code to update only animation styles.

However, bug 960465 will use this similar mechanism as the new mechanism
for making sure transitions start in a reasonable way (replacing the
mechanism of phases, going from style without animation to style with
animation via nsPresContext::IsProcessingAnimationStyleChange).  This
will require that, for SVG Animations to continue interacting correctly
with CSS Transitions, that they have their own cascade level so that
they can participate in RestyleManager::UpdateOnlyAnimationStyles.

Additionally, this is needed even sooner, for bug 977991, which needs
(temporarily, until bug 960465 lands) a mechanism for updating the style
attribute style *and* all animation-phase-dependent styles.

Yes, it's a little bit annoying to have to have another class, and
another object per-document for this, but that's currently what comes
with being a level of the cascade.  But it's one class and one object
per document, and I believe there will be substantial benefits to having
all rule processor levels be only-animation-related or
not-animation-related (except for the style attribute level, which is
simple enough that it isn't needed yet).
2014-09-13 06:17:34 -07:00
L. David Baron
b47ceb29b4 Bug 1066911 - Allow eRestyle_Force{,Descendants} in RuleNodeWithReplacement. r=heycam
This is fine since the assertion is just checking that we're not calling
RuleNodeWithReplacement in cases when stronger restyling (i.e.,
restyling that does more work) is needed; the new eRestyle_Force and
eRestyle_ForceDescendants flags control whether we restyle at all.

This probably should have been done in bug 931668 (since bug 996796
landed before bug 931668, although not before the patches were written),
but it doesn't actually show up in our test suite until bug 977991 (or
maybe slightly earlier in bug 1057231 or bug 1058346).
2014-09-13 06:17:34 -07:00
Shinuk Lee
7bb5aa9e33 Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh 2014-09-11 21:55:00 -04:00
J. Ryan Stinnett
2f78ddcb7b Bug 1065679 - Avoid reloading runtime apps on select. r=paul 2014-09-11 14:38:00 +02:00
Adrian Aichner
5cd7546b46 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Mark Hammond
9975b9acc5 Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Mark Capella
733da969d4 Bug 1044940 - Favicons in the bookmarks table should be read and written correctly, r=ckitching 2014-09-14 17:22:19 -07:00
Gijs Kruitbosch
3c1342c95a Bug 1044595 - fix default/active button text on OS X 10.10, r=mstange,jaws
--HG--
extra : rebase_source : c558491822fc158d44a127cfd5014bd5338d05f1
2014-09-12 00:31:15 +01:00
Dave Hunt
2189a1fd50 Bug 1065408 - Restore test result colours in the HTML formatter log. r=jgraham 2014-09-10 08:07:00 +02:00
Chris Manchester
bc54b18354 Bug 1063535 - Provide a mozlog handler to report overall status of a test run for the benefit of mozharness and others. r=jgraham 2014-09-12 15:00:39 -04:00
Steve Singer
aae1da8941 Bug 1067133 - Add visitSimdValueX4 to LIRGeneratorNone. r=bbouvier 2014-09-14 08:48:00 +02:00
Vincent Liu
ce05585328 Bug 1066410 - Serious color distortion happened when plays WebRTC. r=jesup 2014-09-12 17:25:29 +08:00
Giovanni Sferro
a00eae3420 Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +02:00
Robert Bindar
0f88833823 Bug 1054415 - delete notification from the database when observing alertfinished. r=mhenretty 2014-09-12 16:50:00 +02:00
Milan Sreckovic
ec33c28689 Bug 1038277 - Stop running test_2d.gradient.radial.outside3. See details in the bug as to why. r=gwright 2014-09-12 12:45:00 -04:00
John Lin
a9985eeaa7 Bug 997593 - Handle error from OMXCodecWrapper in OmxVideoTrackEncoder::GetEncodedTrack(). r=roc 2014-09-14 19:41:00 +02:00
John Lin
4e9c961e9a Bug 997593 - Add more color conversion code to support encoding QCOM Venus NV12 images. r=roc 2014-09-14 19:40:00 +02:00
Carsten "Tomcat" Book
4854f756e0 Backed out changeset 0f6edaf07a73 (bug 1060200) 2014-09-15 08:17:33 +02:00
Carsten "Tomcat" Book
31b85c932a Backed out changeset 4d5540e82f90 (bug 1060200) 2014-09-15 08:17:32 +02:00
Carsten "Tomcat" Book
8c120cffff Backed out changeset d295c8ec4b5b (bug 1060200) 2014-09-15 08:17:28 +02:00
Chris Pearce
46c8dedeae Bug 1063995 - Disable the screen saver on Windows only on the 'screen' topic. r=edwin 2014-09-15 17:05:45 +12:00
Seth Fowler
b1e8edfa8d Bug 1060200 (Part 3) - Store HQ scaled frames in SurfaceCache and remove ScaleRequest and ScaleResult. r=tn 2014-09-14 21:51:20 -07:00
Seth Fowler
c155a95187 Bug 1060200 (Part 2) - Add SurfaceCache::RemoveIfPresent so invalid entries can be freed eagerly. r=dholbert 2014-09-14 21:51:20 -07:00
Seth Fowler
f480d9229f Bug 1060200 (Part 1) - Add support for RasterImage surfaces to SurfaceCache. r=dholbert 2014-09-14 21:51:19 -07:00
David Major
b9cf1d6161 Bug 1058131: Avoid getting a crashy hook from Avast 10 Beta. r=bzbarsky
--HG--
extra : rebase_source : 7062d0703841e2e5d3be6042ec023f73f292ff5b
2014-09-15 12:56:59 +12:00
Anthony Jones
1081d0fd6f Bug 1065850 - Read as little as possible to get the MP4 track metadata; r=rillian 2014-09-15 11:16:09 +12:00
Seth Fowler
84dcaeb8a2 Bug 1054079 (Part 3) - Store imgFrame objects, not SourceSurface objects, in the SurfaceCache. r=dholbert 2014-09-14 15:22:45 -07:00
Seth Fowler
6e8296e45b Bug 1054079 (Part 2) - Make it possible to initialize an imgFrame with a gfxDrawable. r=tn,mwu,mattwoodrow 2014-09-14 15:22:45 -07:00
Seth Fowler
c636e71b32 Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow 2014-09-14 15:22:44 -07:00
Seth Fowler
670c01d836 Bug 1057903 - Refactor RasterImage to use DrawableFrameRef and generally clean up. r=tn
--HG--
extra : rebase_source : 6bc623af287694e57438c0b9dc99d01964cfa353
2014-09-12 18:29:27 -07:00
Bas Schouten
2e5b8e553d Bug 1066465: Fixup DrawTargetD2D1::DrawFilter to respect the AA mode and Finalize properly. r=jrmuizel 2014-09-14 23:52:47 +02:00
Bas Schouten
a75dad7004 Bug 1066463: Have DrawTargetD2D1::DrawSurface take the transform into account when doing a partial upload. r=jrmuizel 2014-09-14 23:52:46 +02:00
Bas Schouten
12f09e0eaf Bug 1066679: Make DrawTargetDWrite::GetPathsForGlyphs recognize D2D 1.1. r=jrmuizel 2014-09-14 23:52:46 +02:00
Bas Schouten
a06473f53c Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Bas Schouten
5043ce527f Bug 1066676: Make DrawTargetD2D1::DrawSurface respect the interpolation mode. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
79a4eee66a Bug 1066673: Change DrawTargetD2D1::DrawSurfaceWithShadow to operate as per Canvas spec. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
7fd7730f27 Bug 1066670: Deal with a failed brush creation by drawing transparent black. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
fc196cbebc Bug 1066668: Do not attempt to interop with D2D 1.1 inside D2D 1.0. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
0b17941a0e Bug 1066254: Make the temporary surface used in DrawTargetD2D1 always be transparent. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
4aecb2ba7f Bug 1066153: Fail to create DrawTargetD2D1 over the maximum size. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
5c79c96efc Bug 1066147: Clear new DrawTargets upon creation in D2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
f8d1ce2798 Bug 1064104: Workaround bug in D2D 1.1 addressing mode. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
df883ec676 Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
1a606f375e Bug 1066142: Respect AntiAlias mode in Direct2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
f7a5ef8081 Bug 1062412: Support blending composition operations in D2D 1.1. r=jrmuizel 2014-09-14 23:51:31 +02:00
Bas Schouten
87e223e268 Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel 2014-09-14 23:51:31 +02:00