Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Ed Morley
1e063d88b5
Bug 671282 - Replace nsDebugAutoBoolTrueSetter in docshell and AutoBoolSetter in SMIL with AutoRestore; r=bz
2011-07-19 12:04:55 +02:00
Brian Birtles
6497fb9c0c
Bug 671749 - Rename incorrectly named SMIL crashtest 665335-1.svg to 665334-1.svg, r=dholbert
...
--HG--
rename : content/smil/crashtests/665335-1.svg => content/smil/crashtests/665334-1.svg
2011-07-19 09:23:21 +09:00
Ehsan Akhgari
0787743cf4
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Brian Birtles
5c758ce335
Bug 669234 - Use AutoRestore to manage depth recursion tracking in nsSMILTimedElement, r=dholbert
2011-07-15 11:17:15 +09:00
Brian Birtles
e5b308da49
Bug 665334 part 3 - Don't remove instance times used as fixed interval endpoints, r=dholbert
2011-07-02 12:37:56 +09:00
Brian Birtles
dbea318c75
Bug 665334 part 2 - Add fallback to detect infinite recursion when updating the interval and bail out, r=dholbert
2011-07-02 12:37:47 +09:00
Brian Birtles
2501c9b116
Bug 665334 part 1 - crashtest, r=dholbert
2011-07-02 12:37:38 +09:00
Brian Birtles
3606b29e7b
Bug 664343 - Batch updates to current interval, r=dholbert
2011-07-02 12:37:10 +09:00
Daniel Holbert
4304527c47
Bug 671341: Remove unused variable |start| from 'GetTokenEnd()' in nsSMILParserUtils.cpp. r=birtles
2011-07-14 13:29:37 -07:00
Robert Longson
1371deaee4
Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert
2011-07-01 08:19:52 +01:00
Jonas Sicking
5e5e6bd544
Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608
Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Brian Birtles
1ffb9cb392
Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert
2011-06-22 10:12:35 +09:00
Brian Birtles
df2767992e
Bug 650732 - Move interval change notifications into the timed element, r=dholbert
2011-06-15 09:16:57 +09:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Daniel Holbert
72a7071032
Bug 654015 patch 2: Assert that page is hidden when document disconnects from nsSMILAnimationController. r=bz
2011-05-12 10:50:14 -07:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Daniel Holbert
4263ad2860
Bug 653238 patch 2: Promote nsSMILAnimationController's static helper 'GetRefreshDriverForDoc' to an instance method. r=smaug
2011-04-28 12:05:24 -07:00
Daniel Holbert
abb2768190
Bug 653238 patch 1: Add nsSMILAnimationController::Disconnect to clear the controller's pointer to its doc when the doc goes away. r=smaug
2011-04-28 12:02:20 -07:00
Daniel Holbert
f3d8578086
Bug 653270: Simplify nsSMILAnimationController construction/initialization. r=jwatt
2011-04-28 12:02:20 -07:00
Ehsan Akhgari
d2a61eb331
Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others
2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b
Bug 616684 - Remove support for DOM Views; r=sicking
2011-04-24 08:54:25 +02:00
Masayuki Nakano
cc0623b6e3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
Cameron McCormack
c0000045de
Bug 651036 - SMIL: Make discrete to-animations behave consistently with discrete from-to animations r=dholbert
2011-04-20 14:05:29 +12:00
Daniel Holbert
4c244025ec
Bug 641388: When a refresh driver is created, don't start sampling unless we have animations registered. r=bz
2011-04-01 13:33:20 -07:00
Ms2ger
06e2459b57
Bug 604596. Stop using an out param for the return value of GetSMILOverrideStyle. r=bzbarsky
2011-03-28 23:32:11 -04:00
Ms2ger
4add4dff80
Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron
2011-03-28 12:51:59 -04:00
Ms2ger
f3bff9fd12
Bug 562701, part a: Use Element in nsSMILCSSValueType::ValueFromString; r=smaug
2011-03-28 12:49:11 -04:00
Daniel Holbert
0ed416d521
Bug 604147: Make nsSMILTimedElement::GetNextInterval return PRBool instead of nsresult. r=birtles
2011-03-27 19:10:33 -04:00
Markus Stange
635a2437ca
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Brian Birtles
6c0c23ca0b
Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc
2011-02-11 16:02:04 +09:00
Brian Birtles
7560786ee4
Backing out bug 628888, changeset e3a645b56973 and changeset 4327761b6350 due to failing test, a=bustage
2011-02-11 11:15:18 +09:00
Brian Birtles
08d2b25e19
Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc
...
--HG--
extra : rebase_source : 759db44bceb4b681f72e3d40ee16a7d81dac7f30
2011-02-11 10:07:38 +09:00
L. David Baron
3efa9fabcc
In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
...
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation. This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
Brian Birtles
98d103fe8b
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
8658beede3
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
2b13cacbcd
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
365bdf5a91
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
e8961b4743
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
2e15d9fa67
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
59aec5e3a8
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
ecbab21a00
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
bb15eae39f
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
c15a012ecd
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
e71c63f793
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
36130da895
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
c6097b97f5
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
896e0f43f0
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
e493c5ede0
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
18d9313895
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
aeccfd6caa
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
c7a0ea9ff0
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
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
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
Jonathan Watt
f3a47b5a19
Bug 540479. Add support for SMIL animation of boolean attributes in SVG. r=dholbert
2010-01-24 16:42:08 +00:00
Jonathan Watt
41fa491d84
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
d06880c159
Fix indentation in db_smilCSSFromTo.js (whitespace-only, test-only).
2010-01-19 13:40:22 -08:00
Brian Birtles
86f07ee577
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
87f5624561
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
fbf33f5714
Bug 537852 followup D: Misc nit fixes to syncbase reftests. r=birtles
2010-01-12 12:00:50 -08:00
Brian Birtles
cd171ab676
Bug 537852: Add tests for syncbase timing (bug 474743). r=dholbert
2010-01-12 12:00:49 -08:00
Daniel Holbert
57fee6cdfa
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
d7a66e59c4
Bug 474743 Patch D: Implement syncbase logic. r=dholbert sr=roc
2010-01-12 12:00:49 -08:00
Brian Birtles
cff9646c5d
Bug 474743 Patch C: Implement the parsing for syncbase timing. r=dholbert sr=roc
2010-01-12 12:00:49 -08:00
Brian Birtles
76b1e6e830
Bug 474743 Patch B: Implement milestone sampling behavior. r=dholbert sr=roc
2010-01-12 12:00:49 -08:00
Brian Birtles
519f3f1481
Bug 474743 Patch A: Refactor nsSMILParserUtils to use newer iterators. r=dholbert sr=roc
2010-01-12 12:00:49 -08:00
Daniel Holbert
fee9f97bcd
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
6e8dfed2fc
Bug 530983, patch 2: Enable SMIL animation for 'clip' property. r=roc
2010-01-04 16:32:11 -08:00
Jae-Seong Lee-Russo
daf0803331
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
e1428e2de7
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
8a979e6095
Trivial fix for random orange in test 'test_smilTextZoom.xhtml' from bug 474049.
2009-12-21 18:28:24 -08:00
Daniel Holbert
7ea6084810
Bug 530675: Support "cursor" property in SVG/SMIL. r=roc
2009-12-10 09:26:28 -08:00
Daniel Holbert
0d650e67d8
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
9542b12f07
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
92ac2e0f1b
Bug 520487: Support URI-valued properties in SVG/SMIL. r=roc
2009-12-10 09:26:27 -08:00
Daniel Holbert
45e1b492a3
Bug 528656: Support "font-family" property in SVG/SMIL. r=roc
2009-12-10 09:26:27 -08:00
Daniel Holbert
639aa84ba2
Bug 524539, patch 2: Support "stroke-dasharray" property in SVG/SMIL. r=roc
2009-12-10 09:26:27 -08:00
Daniel Holbert
00537f3434
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
2b6f7e5bde
Add mochitest for bug 529387. (test only)
2009-12-10 09:26:27 -08:00
Daniel Holbert
25027ca46a
Bug 529387: Don't create SMIL animation controller for data documents. r=roc
2009-12-10 09:26:27 -08:00
Daniel Holbert
86306358a3
minor fixes to comments in nsSMILAnimationFunction.h. b=no_bug r+a=comments_only
2009-12-08 13:06:35 -08:00
Daniel Holbert
9cb6718315
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
eea2f3996a
Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert
2009-11-14 19:16:58 -08:00
Daniel Holbert
4821a39ec9
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
e4ce6855cc
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
37704abd18
Bug 524828 - Fix random orange in test_smilGetStartTime.xhtml
...
--HG--
extra : rebase_source : db96df6c884d9b0898f6e29be87902569ae13f9d
2009-10-31 09:15:14 +11:00
Daniel Holbert
f54836501a
Bug 525099: Bail out if GetZeroValueForUnit fails, in nsSMILCSSValueType. r=roc
2009-10-29 14:08:02 -07:00
Daniel Holbert
48c43c3c63
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
08db3f7b28
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
192d1b23ab
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
85330d8cf3
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
fe1cbadc25
tests for bug 521335
2009-10-20 09:55:37 -07:00
Daniel Holbert
3223de4b58
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
e57591b530
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
34d6f3a24f
Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky
2009-10-13 19:38:20 -07:00
Brian Birtles
8141231842
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
3fd0b781fe
Bug 520485, patch 5 of 5: remove unnecessary checks in nsSMILCSSValueType::Add. r=roc
2009-10-08 18:30:55 -07:00
Daniel Holbert
d6332e5ef3
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
4484bfea27
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
125bd1103e
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
8f8d556e84
Bug 520325: add mochitests for "none" CSS value.
2009-10-03 15:16:16 -07:00
Daniel Holbert
50268f016b
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
28c722529b
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
dda3d26c82
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
2e9438fd2f
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
2c391e58c6
Fix test from bug 501569 to avoid triggering the tinderbox error parser.
2009-08-25 08:30:16 -07:00
Brian Birtles
bb1da31747
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
a21a092b74
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
447c7e4618
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
4573189bef
Bug 504479 nsSMILAnimationFunction::ScaleIntervalProgress Comparing unsigned less than zero is never true
...
r=roc
2009-07-22 17:31:01 -05:00
Daniel Holbert
78cacddb37
cleanup: remove trailing whitespace in SMIL code. (whitespace changes only)
2009-07-15 11:33:31 -07:00
Jeff Muizelaar
02a803e8c7
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
26b1152092
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
8e11869ccb
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
31c18a6827
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
781e1f2a08
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
ffded06cc0
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
014bd86069
Bug 468996. Implement SMIL animateTransform element. r+sr=roc
2009-01-19 22:14:16 +13:00
Brian Birtles
a845c2644e
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
a4cee8ae5a
Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc
2009-01-19 22:10:53 +13:00
Brian Birtles
adf1d4fa7c
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