Commit Graph

128 Commits

Author SHA1 Message Date
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert
522a227913 Bug 555026: In SMIL animation, ignore keyTimes attr when in paced calcMode. r=roc 2010-04-06 14:39:29 -07:00
Daniel Holbert
349c8a3d2a Bug 556841: In paced-calcMode SMIL animation, don't bother computing distance in trivial 2-values case. r=roc 2010-04-05 09:59:42 -07:00
Daniel Holbert
84c8cc58ba Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron 2010-04-02 09:34:31 -07:00
Daniel Holbert
74e8e98856 (no bug) Remove method-declaration for unused & undefined function "UpdateValuesArray" in nsSMILAnimationFunction. (no review; one-liner, removing unused code) 2010-04-02 09:34:30 -07:00
Daniel Holbert
b8718e9faa Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
97158792ab Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert
e6c10e8d77 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00
Daniel Holbert
fe512e0b26 Bug 554804: Fix GetBaseValue in nsSMILCSSProperty and nsSVGTransformSMILAttr to benefit from return value optimization. r=jwatt 2010-03-26 12:24:13 -07:00
Daniel Holbert
8a432e2ae4 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert
f2b8035cd9 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-26 12:22:54 -07:00
Daniel Holbert
9499e41e6d Backed out changeset a4178a154d16 due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:22:03 -07:00
Daniel Holbert
963196eba7 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-25 09:02:01 -07:00
Daniel Holbert
93fa4b366b Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Daniel Holbert
199de9f2f6 Bug 541588 subpatch 2: Use nsRefreshDriver instead of nsITimer to schedule sample callbacks for nsSMILAnimationController. r=roc 2010-03-21 23:42:53 -07:00
Daniel Holbert
86b96a0164 Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-21 12:22:36 -07:00
Daniel Holbert
306b46d487 Backed out changeset 665b48fbfd28 (bug 553075) to see if it was responsible for 1% SVG/DHTML regressions on Win7. 2010-03-20 22:54:12 -07:00
Daniel Holbert
122635caaa Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-18 22:33:12 -07:00
Daniel Holbert
2c217de78c Bug 541588 subpatch 1: Change method signatures in nsSMILAnimationController, and subclass nsRefreshObserver. r=roc 2010-03-18 21:14:40 -07:00
Daniel Holbert
82534e711d Backed out changeset 59f507847beb (bug 541588) to see if it was responsible for minor SVG perf regression. 2010-03-18 07:58:09 -07:00
Daniel Holbert
97312ef359 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-17 01:54:20 -07:00
Daniel Holbert
34e1971c44 Bug 534028, Patch D: Tests for smil animation of mapped attributes. r=roc
--HG--
rename : content/smil/test/test_smilCSSFromBy.xhtml => content/smil/test/test_smilMappedAttrFromBy.xhtml
rename : content/smil/test/test_smilCSSPaced.xhtml => content/smil/test/test_smilMappedAttrPaced.xhtml
2010-03-16 16:17:33 -07:00
Daniel Holbert
52f0b1c7e3 Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc 2010-03-16 16:17:33 -07:00
Daniel Holbert
563c185c57 Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure 2010-03-11 23:11:09 -08:00
Daniel Holbert
3565228251 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-11 22:03:49 -08:00
Daniel Holbert
fcceb020d5 Bug 551736: Add parens around right-shift, to fix compile warning and make sure we construct hash value correctly. r=sicking 2010-03-11 22:03:49 -08:00
Daniel Holbert
7729445bee merge 2010-03-10 15:03:47 -08:00
Daniel Holbert
75d663e49c Backed out changeset 76abe26bf57c due to orange. 2010-03-10 15:03:34 -08:00
Daniel Holbert
91225f65c1 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert
269ef04f37 Bug 550975: In mochitests with SVG embedded in XHTML, move initial pauseAnimations call to <svg> onload handler. r=roc 2010-03-10 12:33:37 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Daniel Holbert
5f7e96d98d Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert
627f47b186 Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc 2010-03-02 23:09:51 -08:00
Daniel Holbert
bb1b787565 Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert
bf932485ec Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert
749e40a648 Bug 548899: Don't issue attribute-changed notification when transform attribute is animated. r=jwatt sr=roc 2010-03-02 07:36:31 -08:00
Daniel Holbert
639df98604 Bug 537361 followup: Address review suggestions. r=birtles 2010-03-01 11:31:52 -08:00
Brian Birtles
23c0fb4d3c Bug 537361: Store SMIL intervals with state for restoring. r=dholbert 2010-03-01 11:31:50 -08:00
Daniel Holbert
16413ffab8 Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert
ba5c1ee63b Bug 547333 followup: Remove FlushAnimations() call from another internal getter (nsSVGElement::GetAnimatedLengthValues), to prevent SMIL samples during frame construction. r=jwatt 2010-02-26 11:08:54 -08:00
Daniel Holbert
f3f209d3c8 Test for bug 547333. 2010-02-25 10:20:44 -08:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Daniel Holbert
1c36459f3b Bug 533291 Patch Z: Enable "don't recompose if we know our animated value can't have changed" optimization, and add tests. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
9123e91013 Bug 533291 Patch E: Add another outparam to nsISMILAttr::ValueFromString, to let us know whether we can re-use the parsed result in the future. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
abcd247e08 Bug 533291 Patch D: Cache base value with each SMIL compositor, since we need to recompose when base value changes. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
f2e36498c9 Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
a9ff273b62 Bug 542670 Patch A: Add equality operator for nsSMILValue. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
6512adf203 Bug 533291 Patch C: When an inactive nsSMILAnimationFunction has changed, force its target to recompose during that sample. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
c85d4fe6db Bug 533291 Patch B: Add method nsSMILAnimationFunction::UpdateCachedTarget, to tell when an animation function's target has changed. r=roc 2010-02-20 13:13:11 -08:00