Граф коммитов

306 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 867c9c32cd 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 d518bb88a5 Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure 2010-03-11 23:11:09 -08:00
Daniel Holbert f3baa789d9 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-11 22:03:49 -08:00
Daniel Holbert 9e85a0a11a 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 1dd50deefa merge 2010-03-10 15:03:47 -08:00
Daniel Holbert 93d6643f45 Backed out changeset 76abe26bf57c due to orange. 2010-03-10 15:03:34 -08:00
Daniel Holbert e08cb5a18b Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert 0bb1fd1a52 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 225616b6c1 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 ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Daniel Holbert 6d380916f2 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 2ff34dd0a4 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 8e70af5b8a Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert e3cca3e5ee 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 6d51cec810 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 c9fb15dff7 Bug 537361 followup: Address review suggestions. r=birtles 2010-03-01 11:31:52 -08:00
Brian Birtles ed08ee7e20 Bug 537361: Store SMIL intervals with state for restoring. r=dholbert 2010-03-01 11:31:50 -08:00
Daniel Holbert 2e8ac8249a Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert d77a4b4ffc 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 071ccb388c Test for bug 547333. 2010-02-25 10:20:44 -08:00
Saint Wesonga 7674a5ab7c 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 5ec3d64d0f 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 f62ad5a1f6 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 1cd94792dd 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 240ea67e3b Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert 0cf8ec98c1 Bug 542670 Patch A: Add equality operator for nsSMILValue. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert df8498501c 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 1145ac1621 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 acbde1fefd Bug 533291 Patch A: Create classes nsSMILTargetIdentifier & nsSMILWeakTargetIdentifier, based on nsSMILCompositorKey. r=roc 2010-02-20 13:13:11 -08:00
Jonathan Watt de091e0e29 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt a9c2b850b4 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Daniel Holbert 5de72e93d3 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 5b236212e7 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 32f8745a98 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Daniel Holbert ea74ea0a85 Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert db2517939a Bug 542731, Patch B: Clean up nsSMILCSS* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert 067f128cd7 Bug 542731, Patch A: Clean up nsSMILValue class. r=roc 2010-01-29 12:18:50 -08:00
Daniel Holbert c1ac29edd2 Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert d385f4f12b 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
Jonathan Watt 73a3d22d30 Bug 540479. Add support for SMIL animation of boolean attributes in SVG. r=dholbert 2010-01-24 16:42:08 +00:00
Jonathan Watt fd937563cb Bug 540478, part 2 of 2. Add support for SMIL animation of enumeration attributes in SVG. r=dholbert 2010-01-23 18:59:03 +00:00
Daniel Holbert 160dfa722e Fix indentation in db_smilCSSFromTo.js (whitespace-only, test-only). 2010-01-19 13:40:22 -08:00
Brian Birtles fcf97bc30a Bug 534325: Apply SMIL restart semantics at interval start times rather than end times, and allow duration to determine interval-ending when there's no end attribute. r=dholbert sr=roc 2010-01-13 00:18:51 -08:00
Daniel Holbert a17631f6cc Bug 526536: Add some testcases that should be fixed by syncbase timing patches. (tests-only change) 2010-01-12 12:00:50 -08:00
Daniel Holbert 7b09d1f440 Bug 537852 followup D: Misc nit fixes to syncbase reftests. r=birtles 2010-01-12 12:00:50 -08:00
Brian Birtles e96d43208f Bug 537852: Add tests for syncbase timing (bug 474743). r=dholbert 2010-01-12 12:00:49 -08:00
Daniel Holbert a24e19d4e3 Bug 474743 Patch D followup: Switch nsSMILTimedElement::mTimeDependents to be a hash table instead of an array. r=birtles sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles 2315ad232c Bug 474743 Patch D: Implement syncbase logic. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles 21d89068bb Bug 474743 Patch C: Implement the parsing for syncbase timing. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles 8b131f855e Bug 474743 Patch B: Implement milestone sampling behavior. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles 5d06b37edd Bug 474743 Patch A: Refactor nsSMILParserUtils to use newer iterators. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Daniel Holbert 6c91f74a7f Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
Daniel Holbert 36b39585c2 Bug 530983, patch 2: Enable SMIL animation for 'clip' property. r=roc 2010-01-04 16:32:11 -08:00
Jae-Seong Lee-Russo defaee74af Bug 530372 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in svg smil, r=jwatt 2009-12-30 18:25:44 -05:00
Daniel Holbert eb7b0c164e Bug 534975: Allow for null document pointer on SMIL animation targets, in case they get removed from tree due to a restyle during sample. r=roc 2009-12-23 16:19:29 -08:00
Daniel Holbert 21162668eb Trivial fix for random orange in test 'test_smilTextZoom.xhtml' from bug 474049. 2009-12-21 18:28:24 -08:00
Daniel Holbert 77673bec0a Bug 530675: Support "cursor" property in SVG/SMIL. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert cd07e7078b Bug 520239, patch 5: Enable SVG/SMIL animation of shorthand properties, and remove unneeded nsISMILCSSValueType interface. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert 48a558cac1 Bug 530199: Cleanup in nsSMILCSSValueType - postpone allocation of ValueWrappers until they're needed. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert 59edc20248 Bug 520487: Support URI-valued properties in SVG/SMIL. r=roc 2009-12-10 09:26:27 -08:00
Daniel Holbert 2e0a8315d5 Bug 528656: Support "font-family" property in SVG/SMIL. r=roc 2009-12-10 09:26:27 -08:00
Daniel Holbert 4a954a17ec Bug 524539, patch 2: Support "stroke-dasharray" property in SVG/SMIL. r=roc 2009-12-10 09:26:27 -08:00
Daniel Holbert b6c16077c2 Bug 520239, patch 1: Split out a chunk of nsStyleAnimation::ComputeValue into its own function. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert d50b9b708b Add mochitest for bug 529387. (test only) 2009-12-10 09:26:27 -08:00
Daniel Holbert 5969cb65cf Bug 529387: Don't create SMIL animation controller for data documents. r=roc 2009-12-10 09:26:27 -08:00
Daniel Holbert 7a2a790f92 minor fixes to comments in nsSMILAnimationFunction.h. b=no_bug r+a=comments_only 2009-12-08 13:06:35 -08:00
Daniel Holbert 7b983f586a Bug 529406: Enable support for SMIL animation of font-weight & font-stretch. r=roc 2009-11-17 22:08:19 -08:00
L. David Baron b7da7351ea Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert 2009-11-14 19:16:58 -08:00
Daniel Holbert 2246a10aa0 Bug 526875: Make nsSMILCSSValueType::Add accept just-initialized added values (which represent zero). r=roc 2009-11-11 13:41:43 -08:00
Daniel Holbert f7da57116a Bug 525153: In DocumentViewerImpl::LoadComplete, don't call OnPageShow if docshell is being destroyed. r=smaug sr=bz 2009-10-31 17:06:47 -07:00
Brian Birtles a273ec73ae Bug 524828 - Fix random orange in test_smilGetStartTime.xhtml
--HG--
extra : rebase_source : db96df6c884d9b0898f6e29be87902569ae13f9d
2009-10-31 09:15:14 +11:00
Daniel Holbert 787fc5fe2f Bug 525099: Bail out if GetZeroValueForUnit fails, in nsSMILCSSValueType. r=roc 2009-10-29 14:08:02 -07:00
Daniel Holbert aa4b8e7696 Bug 520710 followup: move nsSMILAnimationFunction's inline methods IsToAnimation/IsAdditive to header, to fix link error on some OSX systems. r=smaug 2009-10-25 12:22:29 -07:00
Daniel Holbert 0817f7f14e bug 520710: SVG/SMIL: Make <set> element apply its 'to' value for whole duration. r=birtles sr=roc 2009-10-22 15:15:44 -07:00
Daniel Holbert 2385799734 Bug 523576: Build nsSMILKeySpline even when SMIL is disabled, since the CSS transitions code needs it. r=roc 2009-10-22 15:13:12 -07:00
Daniel Holbert 145466f37e Bug 520486 (patch 2): Enable SVG/SMIL animation of properties with enumerated values. r=roc 2009-10-21 14:57:57 -07:00
Daniel Holbert 7e9165e9d1 tests for bug 521335 2009-10-20 09:55:37 -07:00
Daniel Holbert 984e3813e9 Bug 523188: Allow for ClearAnimValue() (and SetSMILOverrideStyleRule()) to be called for animation targets that aren't in a document. r=birtles r=roc 2009-10-20 09:54:47 -07:00
L. David Baron 8c9a644677 Switch nsStyleAnimation from using nsStyleCoord to using its own nsStyleAnimation::Value, so we don't have to add nontrivial destructors to nsStyleCoord. (Bug 522852) r=dholbert,bzbarsky 2009-10-20 07:46:16 -04:00
L. David Baron 9dccff53f8 Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky 2009-10-13 19:38:20 -07:00
Brian Birtles 32ea8ee806 Bug 521705 - SVG SMIL: Update getStartTime to match behaviour in SVG 1.1 SE r=roc
--HG--
extra : rebase_source : ccb167188b6c3be499e75ef3b7d65ec24d266388
2009-10-13 10:14:08 +11:00
Daniel Holbert 353054044c Bug 520485, patch 5 of 5: remove unnecessary checks in nsSMILCSSValueType::Add. r=roc 2009-10-08 18:30:55 -07:00
Daniel Holbert 290041d15f Bug 520485, patch 4 of 5: add support for 'font-size-adjust' property in SVG/SMIL. r=roc 2009-10-08 18:30:53 -07:00
Daniel Holbert 880d4ae6de Bug 520485, patch 2 of 5: add support for float values in SVG/SMIL. r=roc 2009-10-08 18:30:50 -07:00
L. David Baron 9d968722a4 Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Daniel Holbert 41c8dd7e2c Bug 520325: add mochitests for "none" CSS value. 2009-10-03 15:16:16 -07:00
Daniel Holbert 513f5a6863 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
Daniel Holbert 4d1a578610 comment-only fix: s/@result/@return/ in nsISMILType::Interpolate documentation, for consistency with rest of file 2009-09-25 12:47:04 -07:00
Brian Birtles 188361a6fc Bug 510139. Remove no-longer-animated attributes from the set of attributes that are animated. r=roc 2009-08-25 12:02:28 -07:00
Benjamin Smedberg 28fb767bd1 Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
L. David Baron e901e4d110 Fix test from bug 501569 to avoid triggering the tinderbox error parser. 2009-08-25 08:30:16 -07:00
Brian Birtles 0f3ce2ae85 Use binary subdivision rather than Newton-Raphson iteration when the slope is very near 0 to avoid failing to converge correctly. (Bug 501569) r=dbaron 2009-08-24 12:34:34 -07:00
Brian Birtles ffe0e2b216 Bug 474739. Handle zero-duration intervals properly in SMIL. r=roc
--HG--
extra : rebase_source : 8ad07bedbb6b808dd36ce8949dcb186ba1fd7ca1
2009-08-05 14:39:04 +12:00
Daniel Holbert c1d746e472 Bug 506096: In SVG Animation (SMIL), make sure to visit the underlying base value for first half of duration, in discrete-mode "to" animations. r+sr=roc 2009-07-27 13:52:19 -07:00
timeless@mozdev.org 17c84ec60f Bug 504479 nsSMILAnimationFunction::ScaleIntervalProgress Comparing unsigned less than zero is never true
r=roc
2009-07-22 17:31:01 -05:00
Daniel Holbert 97f279b1a2 cleanup: remove trailing whitespace in SMIL code. (whitespace changes only) 2009-07-15 11:33:31 -07:00
Jeff Muizelaar 452d6cf304 Bug 501428. SMIL: Optimize nsSMILKeySpline::CalcBezier. r=dholbert, r=longsonr
Eliminates the call to pow() and reduces the number of multiplications from 4
to 3.
2009-07-15 14:08:57 -04:00
Daniel Holbert 0b4d2d0b01 Bug 487450: Remove stale SMIL animation effects from SVG elements, when animations are dynamically removed or retargeted. r+sr=roc 2009-07-14 12:33:29 -07:00
Daniel Holbert 42595da179 Bug 492081: In SVG Animation (SMIL), update pause start time during setCurrentTime calls. r+sr=roc 2009-05-09 08:29:24 -07:00
Daniel Holbert bd24deeff6 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Brian Birtles 5c77b4ade9 Bug 474740, SVG SMIL: dur="media" is incorrectly reported as a parsing error
--HG--
extra : rebase_source : 98c0109978ad9fed21351cad36932a2d7f6bed52
2009-01-22 17:17:12 +13:00
Brian Birtles 03f9d86660 Bug 474357, Calls to setCurrentTime, beginElementAt etc. should update the DOM state immediately. r+sr=roc
--HG--
extra : rebase_source : 7c69aae13ee1c1b4fff077a046e042bae9a4970d
2009-01-22 14:00:27 +13:00
Brian Birtles b6825d6948 Bug 468996. Implement SMIL animateTransform element. r+sr=roc 2009-01-19 22:14:16 +13:00
Brian Birtles 3badaca765 Bug 474257. Implement SVG 1.1 erratum to make beginElementAt/endElementAt return void. r+sr=roc 2009-01-19 22:12:29 +13:00
Brian Birtles 95b0f1eb90 Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc 2009-01-19 22:10:53 +13:00
Brian Birtles c2b3e61546 Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00