Commit Graph

230 Commits

Author SHA1 Message Date
Daniel Holbert
b6d7935ee4 Bug 606101: When first <animate> is registered, delay starting sampling if we lack a time container. r=birtles a=blocking-final 2010-11-06 12:13:01 -07:00
Daniel Holbert
0c7a86d62e Bug 606942: Pause SMIL Animation Controller (not just time container), and allow helper-images to suspend, when SVG-as-an-image is paused. r=roc a=blocking-final 2010-11-06 12:13:01 -07:00
Brian Birtles
c9ec008e48 Bug 579828 - SVG SMIL: Trim, don't prune invalid active intervals; r=dholbert; a=roc 2010-10-20 08:55:09 +09:00
Brian Birtles
a28984a98a Bug 590425 part 2 - SVG SMIL: Make nsPresShell's interaction with the animation controller account for deferred sampling; r=dholbert; a=roc 2010-10-20 08:53:52 +09:00
Brian Birtles
0cb4e2bfa7 Bug 590425 - SVG SMIL: Clear deferred sampling flag on pause; r=dholbert; a=roc 2010-10-20 08:52:49 +09:00
Brian Birtles
721bffca0b Bug 596796 - SVG SMIL: Fix inconsistent state when resetting current interval; r=dholbert; a=roc 2010-10-13 09:20:12 +09:00
Brian Birtles
a7ca4fe4a3 Bug 594653 - SVG SMIL: Don't use InstanceTimeComparator on times without serial numbers; r=dholbert; a=roc 2010-10-13 09:17:55 +09:00
Brian Birtles
e679591d1a Bug 588287 - SVG SMIL: Fix reparenting animation to younger time container; r=dholbert; a=blocking-final 2010-10-13 09:15:32 +09:00
Brian Birtles
2901d17b2d Bug 592477 - SVG SMIL: Flush styles before running sample - test case; r=roc; a=blocking-final 2010-10-13 09:15:22 +09:00
Robert Longson
5115e60502 Bug 589436 patch 2: Allow string-valued SVG attributes to be SMIL-animated. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Brian Birtles
cbacc5c498 Bug 550071 - SVG SMIL: Use refresh driver timestamp, not PR_Now; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
deb48ddddd Bug 557885 - SVG SMIL: Support keyTimes for calcMode=discrete; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
47a4d46fec Bug 592477 - SVG SMIL: Flush styles before running sample; r=roc; a=blocking-final 2010-09-11 16:05:31 +09:00
Daniel Holbert
84086a69e7 Bug 276431 Patch 6: Add method nsSMILAnimationController::HasRegisteredAnimations. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Brian Birtles
b90f670c09 Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc 2010-08-28 15:41:05 +09:00
Brian Birtles
36e7527d9a Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+ 2010-08-18 19:20:24 +09:00
Brian Birtles
601e6299ae Bug 485157: SMIL event timing, part 6 repeat timing, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
62844c6133 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
7581213bbc Bug 485157: SMIL event timing, part 4 refactor nsIContent usage to use mozilla::dom::Element instead, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
f5f57834b2 Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
82b4a7d801 Bug 485157: SMIL event timing, part 2 refactor instance time clearing, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
c81d68f39a Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
6c35d0694f Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Daniel Holbert
688ef36d84 Bug 550975: Apply this bug's mochitest-stability-improvements to test_smilRestart.xhtml, which got missed in main landing for this bug. [tests-only] 2010-07-22 12:19:46 -07:00
Daniel Holbert
b4c660e61d Bug 580098 followup: Revert no-longer-needed hackarounds from mochitests test_smilReset.xhtml & test_smilRestart.xhtml. [tests-only] 2010-07-22 12:19:46 -07:00
Daniel Holbert
b5209815b8 Bug 571016: Workaround for randomorange in test_smilRestart.xhtml. [test-only fix] 2010-07-20 02:18:46 +02:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Jonathan Watt
fe8a477f84 Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Brian Birtles
59966bc56c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 2 - backwards seeking. r=dholbert, sr=roc 2010-07-03 14:52:51 +09:00
Brian Birtles
916969013c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 1 - interval and instance time filtering. r=dholbert, sr=roc 2010-07-03 14:52:50 +09:00
Boris Zbarsky
b8fb52d415 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Felipe Corrêa da Silva Sanches
57a4d6e3e9 Bug 554704: Rename "aCanCache" param (for nsISMILAttr::ValueFromString), r=dholbert, r=jwatt 2010-06-23 17:30:55 -07:00
Robert Longson
bb74438e58 Backout bug 487404 - fix mochitest 2010-06-19 14:54:42 +01:00
Ms2ger
991ef5697d Bug 566776 - Some nsINode methods defined in nsGenericElement.cpp return nsnull as an nsresult. r=jst 2010-05-20 10:41:00 -04:00
Robert Longson
77d4c995db Bug 570555 - CSS animation on font-size should not require units. r=dholbert,sr=roc 2010-06-09 20:51:31 +01:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Brian Birtles
ce2d671860 Bug 554202 - SVG SMIL: Fix crash due to infinite recursion negotiating cyclic dependencies. r=roc 2010-05-28 21:43:17 +09:00
Brian Birtles
e6b1457fa1 Bug 541297 - SVG SMIL: Fix abort on sampling re-attached animation node, r=roc
--HG--
extra : rebase_source : 1f228522d818b31d336558f6a238660c2972b770
2010-05-25 09:38:25 +09:00
Brian Birtles
f77b800cad Bug 554141 - SVG SMIL: Fix crash with orphaned unresolved begin times, r=roc
--HG--
extra : rebase_source : 82f7d0cdf89a543b4a07e126157096a47465de8e
2010-05-21 09:18:29 +09:00
Daniel Holbert
a4d803138a Bug 566777: nsSMILMappedAttribute::ClearAnimValue shouldn't do anything if there's no animated value to clear. r=roc 2010-05-19 10:38:05 -07:00
Boris Zbarsky
45dd44b40c Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
626e1bb052 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Daniel Holbert
003d36c7fc Bug 562310 Part 5: Use nsCharSeparatedTokenizer to simplify/fix existing parsing code in SVG and SMIL. r=roc 2010-05-04 07:43:48 -07:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Daniel Holbert
55f4fd5129 Bug 436418, patch D: SVG/SMIL animateMotion - reftests & mochitests.
--HG--
rename : layout/reftests/svg/smil/lime.svg => layout/reftests/svg/smil/motion/lime.svg
2010-04-28 16:00:54 -07:00
Daniel Holbert
c240503b49 Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
499364814d Bug 436418, patch C3: SVG/SMIL animateMotion - add "TreatSingleValueAsStatic" helper method, to assist nsSMILAnimationFunction subclasses in customizing animation behavior. r=roc 2010-04-28 16:00:53 -07:00
Daniel Holbert
02cf40a28a Bug 436418, patch C2: SVG/SMIL animateMotion - move nsSMILAnimationFunction error-flag-handling code from a macro to a method. r=roc 2010-04-28 16:00:53 -07:00
Daniel Holbert
60b8a35f82 Bug 436418, patch C1: SVG/SMIL animateMotion - add GenericValueParser helper class. r=roc 2010-04-28 16:00:53 -07:00
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