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

1349 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 96118fdc3c Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson ec2c4bf57e Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson bf18de39f1 Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu ac54b41b01 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
David Zbarsky c051dd5c37 Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Brian Birtles ac4446dbe9 Bug 602759 part 17 - Remove unnecessary BeforeSetAttr overrides; r=jwatt 2011-09-25 22:05:02 +01:00
Brian Birtles 394d178de6 Bug 602759 part 15 - Rename nsSVGTransformListParser as SVGTransformListParser; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformListParser.cpp => content/svg/content/src/SVGTransformListParser.cpp
rename : content/svg/content/src/nsSVGTransformListParser.h => content/svg/content/src/SVGTransformListParser.h
2011-09-25 22:04:32 +01:00
Brian Birtles 71f3a1ee72 Bug 602759 part 14 - Mark tests that now pass as such; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles 47ad6dbf50 Bug 602759 part 11 - Update nsSVGTransformListParser to use new SVG transform types; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles 36d0e39137 Bug 602759 part 10 - Update SVG elements to use new SVG transform types; r=longsonr, r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles e7997b6643 Bug 602759 part 9 - Refactor nsSVGTransformSMILType to use SVGTransformSMILData; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformSMILType.cpp => content/svg/content/src/SVGTransformListSMILType.cpp
rename : content/svg/content/src/nsSVGTransformSMILType.h => content/svg/content/src/SVGTransformListSMILType.h
2011-09-25 22:04:31 +01:00
Brian Birtles f6f8a94a98 Bug 602759 part 8 - Move nsSVGSMILTransform to SVGTransform; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles ee3d0c2d2f Bug 602759 part 7 - Refactor nsSVGAnimatedTransformList into SVGAnimatedTransformList and DOMSVGAnimatedTransformList and incorporate nsSVGTransformSMILAttr; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGAnimatedTransformList.cpp => content/svg/content/src/DOMSVGAnimatedTransformList.cpp
rename : content/svg/content/src/nsSVGAnimatedTransformList.h => content/svg/content/src/DOMSVGAnimatedTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles e398fb93ae Bug 602759 part 6 - Refactor nsSVGTransformList into SVGTransformList and DOMSVGTransformList; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformList.cpp => content/svg/content/src/DOMSVGTransformList.cpp
rename : content/svg/content/src/nsSVGTransformList.h => content/svg/content/src/DOMSVGTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles 1ed60e043c Bug 602759 part 5 - Refactor nsSVGTransform into SVGTransform and DOMSVGTransform; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransform.cpp => content/svg/content/src/DOMSVGTransform.cpp
rename : content/svg/content/src/nsSVGTransform.h => content/svg/content/src/DOMSVGTransform.h
2011-09-25 22:04:27 +01:00
Brian Birtles 20e0dc613e Bug 602759 part 4 - Update DOMSVGPoint to use gfxMatrix; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles 1edf285433 Bug 602759 part 3 - Rewrite nsSVGMatrix and use gfxMatrix instead; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGMatrix.cpp => content/svg/content/src/DOMSVGMatrix.cpp
rename : content/svg/content/src/nsSVGMatrix.h => content/svg/content/src/DOMSVGMatrix.h
2011-09-25 22:03:26 +01:00
Brian Birtles a6e7718906 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles cc0b686e15 Bug 602759 part 1 - Refactor SVG list tests to correct assumptions about SMIL; r=jwatt 2011-09-25 22:03:26 +01:00
Robert Longson 1b60b340a7 Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
Robert Longson 2d36e9faa8 Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Daniel Holbert cdeb69806b Back out cset c3bf76213a6c (bug 665392) for breaking a testcase from the w3c svg testsuite, 'full-animate-elem-24-t.html'. 2011-09-17 09:18:13 -07:00
Daniel Holbert 6f188fe1e7 Bug 686044: Hold temporary reference to |this| inside DOMSVGPathSegList::InternalListWillChange whenever we're nonempty. r=jwatt 2011-09-15 15:42:57 -07:00
Daniel Holbert 4539139860 Bug 665392: Make <animateMotion>'s transform apply on top of the "transform" attribute, instead of the other way around. r=roc 2011-09-15 15:42:55 -07:00
Robert O'Callahan 7382412360 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Brian Birtles f5df5556c2 Bug 682184 part 1 - Rename nsSMILTimeValue::IsResolved to IsDefinite; r=dholbert 2011-09-07 09:20:40 +09:00
Daniel Holbert d1f91fa94d Bug 683040: Override new method IsToAnimation instead of old method TreatSingleValueAsStatic, to handle "to animation" for animateMotion. r=birtles 2011-09-06 16:50:49 -07:00
Daniel Holbert 91a8a9a387 Bug 684358: In nsSVGFEImageElement, replace GetOurDocument call with GetOwnerDoc, to bypass an unnecessary QI. r=roc 2011-09-06 14:41:37 -07:00
Robert Longson acb8dcc7a5 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Marco Castelluccio 54940238cd Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Robert Longson ba00ac5c87 Bug 682685 - Dynamic changes to use elements only work to/from invalid states. r=dholbert 2011-08-29 09:20:29 +01:00
Brian Birtles 8323d80f23 Bug 562815 part 2a - Add further tests; r=dholbert
--HG--
extra : rebase_source : 6646562047657bda34547d01b784ddafa2b6f583
2011-08-23 08:33:52 +09:00
Robert Longson 8c4b755d3c Bug 680035 - Filter elements do not react to color-interpolation-filters attribute changes. r=roc
--HG--
rename : layout/reftests/svg/dynamic-filter-contents-01.svg => layout/reftests/svg/dynamic-filter-contents-01a.svg
2011-08-20 14:02:41 +01:00
Malini Das 2a2a709a34 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 5227ab39be 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 ff106041e6 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Ed Morley 236540a1b6 Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt 2011-08-01 13:43:23 -04:00
Robert Longson 67d53a9a77 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Robert Longson 7327016951 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Robert Longson fd0a8b3217 Bug 669155 - animation of filterRes does not result in layout being refreshed. r=jwatt 2011-07-08 18:10:07 +01:00
Jonathan Watt 03589319a1 Bug 669584 - The kungFuDeathGrip is required if the new length is less than the old length, since the items are created lazily and so the last strong ref to the object could be at any index. r=dholbert.
--HG--
extra : rebase_source : bc3dd36d99d3478434315afe04b404bfdd0bee61
2011-07-07 16:48:10 +01:00
Masayuki Nakano beb1796991 Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob 2011-07-07 11:00:02 +09:00
Robert Longson 5ee97ec06f Bug 669216 - Simplify some of the number-optional-number implementation. r=dholbert 2011-07-04 22:19:54 +01:00
Robert Longson 73d57ac165 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Marco Bonardo 6d250b33b2 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Robert Longson 65716c41b9 Bug 668889 - simplify boolean attribute parsing. r=dholbert 2011-07-01 22:15:04 +01:00
Robert Longson bbe0acfdc4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Jonas Sicking 2d5bd7162c Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Igor Bazarny 837e53d81d bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Robert Longson 6d3759f98c Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jonathan Watt 8899e0053b Bug 664708 - GetCharNumAtPosition should only accept native points. r=longsonr.
--HG--
extra : rebase_source : f6baa2c0d4f4d79d626aaebc272604d79edb1db3
2011-06-16 14:47:04 +01:00
Jonathan Watt 423c5ac20a Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Jonas Sicking 27bb948022 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Matheus Kerschbaum 411e1724e7 Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Robert Longson 55d06ab024 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Boris Zbarsky 528e63ffb2 Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky c53c9e0d6c Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky c5262bf950 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Ms2ger d5b5dc43f8 Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano f64ad9e9d1 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano 1d5d965767 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano bf892647f9 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Jonas Sicking 21cc4435cf Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Masayuki Nakano 75d9ba5fe6 Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Steven Michaud 594aff2950 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny 8fd2e34e2c bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies 1e5a5219f8 Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny b2ea726e60 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum 679e31e4ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger a0fc97409f Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Jonathan Watt 09272fddd6 Bug 657862 - Relative SVG arc path segments are broken. r=longsonr.
--HG--
extra : rebase_source : 8897f5f5358f67708f92f50e1061d1947ae011a1
2011-05-20 21:00:35 +01:00
Jonathan Watt 13cf2f5c0b Bug 580983. Fix broken test, but disable it since it would now be virtually permaorange. 2011-05-14 20:10:18 +01:00
Jonathan Watt dd686a259c Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round. 2011-05-14 18:06:02 +01:00
Jonathan Watt 4654ee7967 Bug 580983. Use path instead of rect to eliminate ambiguity about which rect is being hit.
--HG--
extra : rebase_source : 9608b39c80a8a7a1b88c61db1ebd5cfa21e7ff09
2011-05-14 17:56:47 +01:00
Jonathan Watt 3437bf689f Bug 580983. Clean up test before another attempt at orange fix.
--HG--
extra : rebase_source : c5dcaec1516041578c9db5af4682b52a0c67d1d0
2011-05-14 17:55:53 +01:00
Jonathan Watt 5ff47c9ad1 Bug 580983. Attempt to fix random orange. 2011-05-14 14:12:32 +01:00
Ed Morley 9dc3290133 Bug 654463 - Remove WinCE code from content/* ; r=sicking 2011-05-04 09:25:50 +02:00
Olli Pettay c4cda71848 Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00
Robert Longson e466794c80 Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Ms2ger 51135b7777 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Robert Longson 14d51c284b Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-30 14:56:16 +01:00
Dão Gottwald 3c0eb765b8 Backed out changeset 00f6e702f095 because svg-image-script-2.svg is failing intermittently 2011-04-29 17:11:07 +02:00
Robert Longson d1cd103e4c Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-29 12:28:10 +01:00
Olli Pettay 90f701853d Bug 653497 - Once bug 335998 is fixed, SVGPathDataAndOwner::mElement leaks documents, r=dholbert
--HG--
extra : rebase_source : 76c024841265bbd2a0c2acecc5285074b23f4079
2011-04-29 15:33:11 +03:00
Daniel Holbert 9a0a18126a Bug 649568: Clean up logic for addition & interpolation in SVGPathSegListSMILType. r=jwatt 2011-04-28 12:02:10 -07:00
Ehsan Akhgari 741285f81f 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
Jonathan Watt f83570e81a Bug 433063 - write tests for bug 418206 (Some SVG files that appear to hang Mozilla). 2011-04-25 16:32:20 +01:00
Ms2ger 644190aab3 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Daniel Holbert 1b77f84af4 Bug 652050: revert diagnostic 2 (remove temporary debugging printfs) 2011-04-22 18:28:11 -07:00
Daniel Holbert 4510b90fb9 Bug 652050 diagnostic 2 followup: use printf_stderr since android doesn't have printf. rs=dougt 2011-04-22 17:10:50 -07:00
Daniel Holbert 60a45108c1 Bug 652050 diagnostic 2: Temporarily add printfs to verify presumed cause of mobile permaorange. r=dougt 2011-04-22 14:08:54 -07:00
L. David Baron e96d9c92da Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
Jonathan Watt 479d03f123 Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt 7f94e155e9 Bug 589648 part 2. Stop hardcoding the segment argument count in SVGPathData::ConstructPath. r=longsonr.
--HG--
extra : rebase_source : 8e670189c28a66c682c6097b3c42f41fa3126aa5
2011-04-20 10:16:02 +01:00
Jonathan Watt b04575e20a Bug 589648 part 1. Explicitly maintain a 'segStart' variable in SVGPathData::ConstructPath instead of being clever with 'segEnd'. r=longsonr.
--HG--
extra : rebase_source : 7e18e457b3589d103173ffdb97ee7791cf5bf3d2
2011-04-20 10:16:02 +01:00
Robert Longson f00d0604ad Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Daniel Holbert a1be7769d1 Bug 641393 patch 4: Add more tests for SVG length lists. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert 2a1d0efe14 Bug 641393 patch 3: Make SVGLengthListSMILType logic match other list types. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert 808fea633c Bug 641393 patch 2: Make namespacing style consistent across SVG List classes, and replace some Length==0 checks with IsEmpty(). r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert 0f1a21a728 Bug 641393 patch 1: Upgrade some NS_ASSERTIONs in SVG List classes to NS_ABORT_IF_FALSE. r=jwatt 2011-04-14 11:47:27 -07:00