Commit Graph

248 Commits

Author SHA1 Message Date
Brian Birtles
4a591481a9 Bug 607537 - SVG SMIL: Support paint servers an animation values; r=dholbert,dbaron; a=roc 2010-12-29 10:31:14 +09:00
Brian Birtles
b3a3833b10 Bug 618205 - SVG SMIL: Correctly fallback to non-additive animation on display and shorthand properties; r=dholbert; a=roc 2010-12-23 14:48:31 +09:00
Brian Birtles
460d8df030 Bug 615872 Part 2 - SVG SMIL: Remove local resamples from timed elements; r=dholbert; a=roc 2010-12-23 14:48:31 +09:00
Brian Birtles
44d4727b60 Bug 615002 - SVG SMIL: Ignore previous milestones if we've been reset; r=dholbert; a=roc 2010-12-14 09:38:14 +09:00
Daniel Holbert
e75b9f4317 Bug 617817: Don't automatically recompose <set> & indefinite-duration animations, since we know they always have the same effect. r=birtles a=roc 2010-12-10 10:33:13 -08:00
timeless@mozdev.org
c1d4d80ee3 Bug 577905 mark DEBUG only variables as ifdef DEBUG in svg
r=dholbert a=roc

--HG--
extra : rebase_source : 1ff1359b298ffc5f273f3d0448e0e676d0d95069
2010-07-11 15:30:35 +03:00
Daniel Holbert
0a34a22927 Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
Brian Birtles
075c77d01a Bug 614879 - SVG SMIL: Fix indefinite to-animation; r=dholbert, a=roc
--HG--
extra : rebase_source : 9abf06da6a8e24f814623c370e66d77ec467c0e6
2010-12-05 13:13:31 +00:00
Brian Birtles
35749e7e39 Bug 531550 - SVG SMIL: Fix assertion with indefinite duration by-animateTransform; r=dholbert; a=blocking-final 2010-11-24 08:31:17 +09:00
Brian Birtles
6ab5ae8c8b Bug 611927 - SVG SMIL: Fix assertion when attempting to add to NULL base value; r=dholbert; a=roc 2010-11-24 08:31:17 +09:00
Brian Birtles
05a66f777c Bug 606932 - SVG SMIL: Detect big delays in sampling and ignore intervening time; r=roc; a=blocking-final 2010-11-24 08:31:17 +09:00
Brian Birtles
6bebcd41c3 Bug 608549 - SVG SMIL: Range check values passed to begin/endElement; r=dholbert; a=blocking-2.0 2010-11-10 08:22:19 +09:00
Brian Birtles
45adef3d66 Bug 605345 - SVG SMIL: Fix time container pause state handling to avoid negative container times; r=dholbert; a=blocking-2.0 2010-11-10 08:22:02 +09:00
Brian Birtles
8d79ea7974 Bug 603917 - SVG SMIL: Allow some forms of animation even if base value is not animatable; r=dholbert; a=blocking-2.0 2010-11-10 08:21:04 +09:00
Brian Birtles
96263731d3 Bug 572938 - SVG SMIL: Fix infinite recursion on 'display' with '<use>'; r=dholbert; a=blocking-final 2010-11-10 08:21:03 +09:00
Jonathan Watt
8d2603cd28 Bug 522306. Add support for SMIL animation of the <path> element's 'd' attribute. r=roc, r=longsonr, r=dholbert, a=roc. 2010-11-08 15:07:00 +00:00
Daniel Holbert
3426024d9c Bug 594198: In SMIL animation of length-valued attributes/properties, allow interpolation between 0 values and unitless values. r=birtles a=blocking-final+
--HG--
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-no-no.svg
2010-11-06 12:13:01 -07:00
Daniel Holbert
2c965a8daa Bug 608295: Pause newly-created SMIL animation controller inside of documents that are hidden. r=roc a=blocking-betaN 2010-11-06 12:13:01 -07:00
Daniel Holbert
7ca818a44e 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
c56a6df9b7 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
6c1ea3e5dc 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
c1adc2184b 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
f3ce784088 Bug 590425 - SVG SMIL: Clear deferred sampling flag on pause; r=dholbert; a=roc 2010-10-20 08:52:49 +09:00
Brian Birtles
98fd010267 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
66c9a936a3 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
540077c41c 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
a8833eaf60 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
eba2ec8bc5 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
5b40118a94 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
dbfbaee7c1 Bug 557885 - SVG SMIL: Support keyTimes for calcMode=discrete; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
2c00318aa9 Bug 592477 - SVG SMIL: Flush styles before running sample; r=roc; a=blocking-final 2010-09-11 16:05:31 +09:00
Daniel Holbert
beaf4e127a Bug 276431 Patch 6: Add method nsSMILAnimationController::HasRegisteredAnimations. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Brian Birtles
ae0dbb0db8 Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc 2010-08-28 15:41:05 +09:00
Brian Birtles
b0e9b484a4 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
a146a4eac7 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
9896ec8948 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
e5574fcbf1 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
b34a18028c 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
d251dbe967 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
2fbd073b54 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
8b6e3c3cc7 Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Daniel Holbert
31bd7efc68 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
7955936492 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
617da76999 Bug 571016: Workaround for randomorange in test_smilRestart.xhtml. [test-only fix] 2010-07-20 02:18:46 +02:00
Zack Weinberg
d60d9e623f Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Henri Sivonen
c21cd9cad1 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
9da6570c8a 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
0ad8e3f1f2 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
dada1e0fb4 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
7be35161f4 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Felipe Corrêa da Silva Sanches
ac6104327b Bug 554704: Rename "aCanCache" param (for nsISMILAttr::ValueFromString), r=dholbert, r=jwatt 2010-06-23 17:30:55 -07:00
Robert Longson
c454f0272a Backout bug 487404 - fix mochitest 2010-06-19 14:54:42 +01:00
Ms2ger
b0362bc3d4 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
1abdca25bd 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
aedb18a96b Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Brian Birtles
d6f45bf4e0 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
f2d7637c45 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
a6804b9bac 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
99926823af 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
1316de26e9 Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
4399ba2268 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Daniel Holbert
3749f1139c 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
0466fc87f5 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
e53ccde7eb 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
2196ba717a Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
ea5825f520 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
9907d2d6ff 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
960e1b21ac 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
f7ea03fbb8 Bug 436418, patch C1: SVG/SMIL animateMotion - add GenericValueParser helper class. r=roc 2010-04-28 16:00:53 -07:00
Craig Topper
8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert
7b8beeb10d Bug 555026: In SMIL animation, ignore keyTimes attr when in paced calcMode. r=roc 2010-04-06 14:39:29 -07:00
Daniel Holbert
8557ed718d 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
3de1190d72 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
27fb414cc8 (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
6219dad190 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
9a588376e3 Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert
ca50c7092d Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00
Daniel Holbert
0673a8deda 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
b6e5a6ca7a Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert
6e6d0ce340 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-26 12:22:54 -07:00
Daniel Holbert
050d59e204 Backed out changeset a4178a154d16 due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:22:03 -07:00
Daniel Holbert
9c3a15fc8b Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-25 09:02:01 -07:00
Daniel Holbert
8205353382 Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Daniel Holbert
e36eda357d 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
1c298b72ff 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
99bd0c16e4 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
123fe58292 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
3fa0080345 Bug 541588 subpatch 1: Change method signatures in nsSMILAnimationController, and subclass nsRefreshObserver. r=roc 2010-03-18 21:14:40 -07:00
Daniel Holbert
6252fa89ed 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
4f07b8fb14 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-17 01:54:20 -07:00
Daniel Holbert
9c6a7040a2 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
ca4469b700 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
40273edd28 Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure 2010-03-11 23:11:09 -08:00
Daniel Holbert
e45a2ef460 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-11 22:03:49 -08:00
Daniel Holbert
7f63efa6df 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
7569307a1d merge 2010-03-10 15:03:47 -08:00
Daniel Holbert
12ff630e60 Backed out changeset 76abe26bf57c due to orange. 2010-03-10 15:03:34 -08:00
Daniel Holbert
181e7a795a Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert
92f89fb9c1 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