Commit Graph

205181 Commits

Author SHA1 Message Date
Phil Ringnalda
3cf56091d5 Bug 1047076 - touch CLOBBER
CLOSED TREE
2014-09-13 13:06:28 -07:00
Bill McCloskey
d0e68a2fb0 Bug 1047076 - Disable e10s on Nightly if Accessibility is enabled (r=felipe) 2014-09-13 11:20:16 -07:00
Phil Ringnalda
a33936c78f Merge m-c to m-i 2014-09-13 10:12:15 -07:00
Ben Turner
b3c31c0c49 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
L. David Baron
be858c5567 Bug 575675 - Remove assertion about aRelevantLinkVisited that isn't needed, and assumes that all link elements are styled with a style sheet that has :visited rules. r=bzbarsky 2014-09-13 06:17:37 -07:00
L. David Baron
f83b3ac9bc Bug 977991 patch 7 - Use the faster eRestyle_SVGAttrAnimations hint from bug 1058346 for SMIL-animated SVG attribute changes. r=birtles
This couldn't be done in bug 1058346 because it depends on patch 5 in this bug.
2014-09-13 06:17:37 -07:00
L. David Baron
9e53a17632 Bug 977991 patch 6 - Use the faster eRestyle_StyleAttribute path for style attribute changes. r=birtles 2014-09-13 06:17:37 -07:00
L. David Baron
3357a00e3a Bug 977991 patch 5 - Add eRestyle_ChangeAnimationPhase to switch between the with-animation and without-animation styles. r=birtles
This is an additional bit on nsRestyleHint that says that the restyling
operation should also perform all the work needed to switch between
style-without-animation and style-with-animation (based on
nsPresContext::IsProcessingAnimationStyleChange).  These concepts will
go away in bug 960465.

Note that we don't want this behavior for the animation-only style
update code (bug 996796, etc.), and I wanted to make this explicit so
that it was clear when it was happening, and so that it was clear what
code should be removed when we git rid of it.

This is the workaround needed to land bug 977991 prior to bug 960465.
(I think there's also a minor dependency in the other direction, so we
need a workaround one way or the other.)

Note that this depends on bug 1057231.
2014-09-13 06:17:37 -07:00
L. David Baron
b13927d25c Bug 977991 patch 4 - Ensure we don't try to use the style attribute optimization on pseudo-elements. r=birtles
This is needed because patch 1 and patch 3 did not add a mechanism that
allows restyling pseudo-elements, which would be substantially more work
and very little use (since the only case in which they have style
attributes is for our internal use on the ::-moz-color-swatch
pseudo-element).

RestyleUndisplayedChildren does not need the same fix because it's only
used on elements, and never on pseudo-elements or anonymous boxes.
2014-09-13 06:17:36 -07:00
L. David Baron
5e262a47d8 Bug 977991 patch 3 - Add ability for RuleNodeWithReplacement to replace the style attribute rule and its important rule. r=birtles
This allows posting a restyle that says that only the rule(s) from the
StyleAttrSheet cascade level will be replaced, which avoids running
selector matching.

Part 4 will ensure that we only invoke this code for element styles (and
not pseudo-element or anonymous box styles).  Despite that, I prefer
having the runtime check here as well given that it's a very simple way
to ensure we don't do something silly that might have security
implications.
2014-09-13 06:17:36 -07:00
L. David Baron
b4d8a65955 Bug 977991 patch 2 - Add mCheckForImportantRules to the information nsStyleSet::RuleNodeWithReplacement keeps about cascade levels. r=birtles
This is needed to support doing replacements of levels that can contain
important rules, which will happen in patch 3.
2014-09-13 06:17:36 -07:00
L. David Baron
133a7fac65 Bug 977991 patch 1 - Expose variant of RulesMatching on nsHTMLCSSStyleSheet that is less work to call. r=birtles
This allows nsStyleSet::RuleNodeWithReplacement to call it without
constructing an entire (and unnecessary) ElementRuleProcessorData, which
will happen in patch 3.
2014-09-13 06:17:36 -07:00
L. David Baron
81bd9c7023 Bug 977991 patch 0 - Add bitwise operators to nsRestyleHint. r=birtles
This avoids having to cast back to nsRestyleHint after using bitwise
operators, and allows |= (etc.).

(In the future we should consider converting nsRestyleHint, and probably
also nsChangeHint, to use MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS.)
2014-09-13 06:17:36 -07:00
L. David Baron
e5f6879ca0 Bug 1058346 patch 2 - Add eRestyle_SVGAttrAnimations and support it in nsStyleSet::RuleNodeWithReplacement. r=birtles
This allows posting a restyle that says that only the rule(s) from the
SVGAttrAnimationSheet cascade level will be replaced, which avoids running
selector matching.

This is needed to land bug 977991 prior to landing bug 960465, since
that requires replacing all levels that contain animations.

(I'll rename this to match the name determined in bug 1057231.)
2014-09-13 06:17:35 -07:00
L. David Baron
755d0056e6 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
f5ec865c19 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
877da49af1 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
d59f54cf97 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
9842f42ffb 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
fb077873cf 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
0bfcaa917b Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh 2014-09-11 21:55:00 -04:00
J. Ryan Stinnett
38429300a6 Bug 1065679 - Avoid reloading runtime apps on select. r=paul 2014-09-11 14:38:00 +02:00
Adrian Aichner
81501866d5 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Mark Hammond
f9a0630114 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
d37d2ef50a 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
aa2496c90a 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
e0f0b34bea Bug 1065408 - Restore test result colours in the HTML formatter log. r=jgraham 2014-09-10 08:07:00 +02:00
Chris Manchester
d145fb2397 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
f063431434 Bug 1067133 - Add visitSimdValueX4 to LIRGeneratorNone. r=bbouvier 2014-09-14 08:48:00 +02:00
Vincent Liu
854f634c46 Bug 1066410 - Serious color distortion happened when plays WebRTC. r=jesup 2014-09-12 17:25:29 +08:00
Giovanni Sferro
a1b2953918 Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +02:00
Robert Bindar
4ccd3f7f8a Bug 1054415 - delete notification from the database when observing alertfinished. r=mhenretty 2014-09-12 16:50:00 +02:00
Milan Sreckovic
8c2ad4382a 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
5587f14c37 Bug 997593 - Handle error from OMXCodecWrapper in OmxVideoTrackEncoder::GetEncodedTrack(). r=roc 2014-09-14 19:41:00 +02:00
John Lin
f0b0c7c2ab 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
716b37bff9 Backed out changeset 0f6edaf07a73 (bug 1060200) 2014-09-15 08:17:33 +02:00
Carsten "Tomcat" Book
30fe8c9a93 Backed out changeset 4d5540e82f90 (bug 1060200) 2014-09-15 08:17:32 +02:00
Carsten "Tomcat" Book
db9e4a7fc6 Backed out changeset d295c8ec4b5b (bug 1060200) 2014-09-15 08:17:28 +02:00
Chris Pearce
a1ed1c9312 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
085c350794 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
9b5ae0f0fd 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
3729ab4bba Bug 1060200 (Part 1) - Add support for RasterImage surfaces to SurfaceCache. r=dholbert 2014-09-14 21:51:19 -07:00
David Major
c1eea3233a 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
647bb1c0fb 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
6cbe3de817 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
bb0bbb475a 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
e215791292 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
ce1dbe6dbd 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
68f2fad908 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
551b9e6641 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