Commit Graph

117 Commits

Author SHA1 Message Date
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
Daniel Holbert
b927b3d9ae Bug 533291 Patch A: Create classes nsSMILTargetIdentifier & nsSMILWeakTargetIdentifier, based on nsSMILCompositorKey. r=roc 2010-02-20 13:13:11 -08:00
Jonathan Watt
f2e0136d80 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
d8f45843d9 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Daniel Holbert
6a9dbc7787 Remove incorrect usage of nsresult to catch return-val of an EnumerateEntries() call in nsSMILAnimationController. (trivial fix, no bug #) 2010-02-11 13:35:33 -08:00
Daniel Holbert
07c873628f Bug 542731: Add 'explicit' label to all single-arg constructors in SMIL code. r=roc 2010-02-11 11:40:50 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Daniel Holbert
d8f21dffff Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
268b63b5ce Bug 542731, Patch B: Clean up nsSMILCSS* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
1a10ab7962 Bug 542731, Patch A: Clean up nsSMILValue class. r=roc 2010-01-29 12:18:50 -08:00
Daniel Holbert
d215e312fb Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert
86c7eaa0cd Bug 542731: SMIL misc code cleanup: remove trailing '.' from warning messages, to prevent the '.:' in output like 'ASSERTION: blah blah.: /path/to/file:NN'. (no changes outside of assertion/warning message text) 2010-01-28 01:50:30 -08:00