Commit Graph

322 Commits

Author SHA1 Message Date
Daniel Holbert
d807b90c6f Bug 699143: Force a synchronous SMIL sample when we register the first animation element in a document. r=birtles 2011-11-04 09:24:04 -07:00
Daniel Holbert
f61c481989 Bug 699325: Make calcMode="paced" smil animation fall back to calcMode="discrete" when its values have 0 distance between them. r=birtles 2011-11-04 00:21:58 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Brian Birtles
f34baa9c17 Bug 602759 part 14 - Mark tests that now pass as such; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
a819b6b88c Bug 682184 part 2 - Add nsSMILTimeValue::IsResolved; r=dholbert 2011-09-07 09:20:40 +09:00
Brian Birtles
08eeeda336 Bug 682184 part 1 - Rename nsSMILTimeValue::IsResolved to IsDefinite; r=dholbert 2011-09-07 09:20:40 +09:00
Ehsan Akhgari
78f4e1ccb9 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Brian Birtles
cfb3ac26f3 Bug 678938 - SMIL: Make sure current interval is properly cleared when doing a rewind; r=dholbert 2011-09-02 08:15:44 +09:00
Brian Birtles
2be626a78f Bug 678847 part 2 - SMIL: Fix recursion with self-referential end conditions on open intervals; r=dholbert 2011-09-02 08:14:58 +09:00
Brian Birtles
df8ff068d0 Bug 678847 part 1 - Crash test; r=dholbert 2011-09-02 08:14:38 +09:00
Brian Birtles
4471d78fff Bug 681645 - SMIL: accommodate floating-point errors in discrete animations; r=dholbert 2011-09-02 08:13:45 +09:00
Brian Birtles
bd48a35054 Bug 650732 - Test for HandleChangedInterval changes; r=dholbert 2011-08-24 08:33:43 +09:00
Brian Birtles
2a9416a055 Bug 562815 part 7 - Don't cache display animation values (due to bug 536660); r=dholbert
--HG--
extra : rebase_source : ddd0350c570dd101960901279e2411e672b05625
2011-08-23 08:34:16 +09:00
Brian Birtles
b1f72bbd99 Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Brian Birtles
656057547b Bug 562815 part 3 - Add context-sensitive flag to style animation resolution; r=dholbert
--HG--
extra : rebase_source : 2914f301d6ce7dc95134ffdd84de29d4408b7917
2011-08-23 08:34:03 +09:00
Brian Birtles
543dcb695b Bug 562815 part 2b - Add even more tests; r=dholbert
--HG--
extra : rebase_source : bfe07feecc89dc9a882c39d7b5111f71d1f6f57a
2011-08-23 08:33:58 +09:00
Brian Birtles
9ed6935d93 Bug 562815 part 2a - Add further tests; r=dholbert
--HG--
extra : rebase_source : 6646562047657bda34547d01b784ddafa2b6f583
2011-08-23 08:33:52 +09:00
Brian Birtles
b737454f44 Bug 562815 part 1 - refactor test_smilChangeAfterFrozen.xhtml; r=dholbert
--HG--
extra : rebase_source : 4fc6cafc6e771037f2fabc7fb2f633340fdd1811
2011-08-23 08:33:46 +09:00
Daniel Holbert
56f8c6a91d Bug 678822: Skip call to nsSMILAnimationFunction::GetAccumulate() if we've had parse errors. r=birtles 2011-08-15 17:58:52 -07:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Daniel Holbert
6c50e93a4f Bug 675722: Reduce severity of "Expecting to be paused for pagehide before disconnect" SMIL assertion, and catch it earlier in ~nsDocument. r=bz 2011-08-02 16:12:32 -07:00
Brian Birtles
c05de232af Bug 670313 - Check range of instance time values when they are passed in; r=dholbert 2011-07-25 10:46:08 -07:00
Brian Birtles
dd63118982 Bug 669225 part 7 - Mark stack classes as such; r=dholbert 2011-07-25 10:46:04 -07:00
Brian Birtles
0a4ca726ca Bug 669225 part 6 - Break dependencies sooner on unlink; r=dholbert 2011-07-25 10:45:49 -07:00
Brian Birtles
ac3e371931 Bug 669225 part 5 - Make sure other removal functors don't remove instance times that should be preserved; r=dholbert 2011-07-25 10:45:29 -07:00
Brian Birtles
e94f86fd06 Bug 669225 part 4 - Make sure filtering of instance times doesn't remove the previous interval's end time; r=dholbert 2011-07-25 10:45:03 -07:00
Brian Birtles
5fc127fdbc Bug 669225 part 3 - Add assertion to catch potentially problematic instance time deletion; r=dholbert 2011-07-25 10:44:58 -07:00
Brian Birtles
a9772f3991 Bug 669225 part 2 - Preserve instance times that belong to intervals; r=dholbert 2011-07-25 10:44:54 -07:00
Brian Birtles
e2593c1d08 Bug 669225 part 1 - Crash tests; r=dholbert 2011-07-25 10:44:42 -07:00
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