Commit Graph

1356 Commits

Author SHA1 Message Date
David Zbarsky
f2cbe1aa26 Bug 830181: SVGSymbolElement should QI to SVGTests r=me 2013-01-16 20:02:59 -05:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
David Zbarsky
6ed1683c31 Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
3fc3482bac Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
62083d2100 Bug 830230: Move SVGPatternElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPatternElement.cpp => content/svg/content/src/SVGPatternElement.cpp
rename : content/svg/content/src/nsSVGPatternElement.h => content/svg/content/src/SVGPatternElement.h
2013-01-16 15:51:00 -05:00
David Zbarsky
f83f218c86 Bug 830181 - Convert SVGSymbolElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
5cc1873179 Bug 830181: Move SVGSymbolElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.cpp
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.h
2013-01-16 15:50:59 -05:00
David Zbarsky
7102c65189 Bug 827172 - Convert SVGPathElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
08a4d241f5 Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
faab5f105a Bug 827182: Move SVGUseElement to mozilla::dom
--HG--
rename : content/svg/content/src/nsSVGUseElement.cpp => content/svg/content/src/SVGUseElement.cpp
rename : content/svg/content/src/nsSVGUseElement.h => content/svg/content/src/SVGUseElement.h
2013-01-16 15:50:58 -05:00
David Zbarsky
2f813a3d4d Bug 828815: Restore functionality of | SVGElement[onxxx] = Function | r=bz 2013-01-15 16:03:02 -05:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Robert Longson
85559126fe Bug 828526 - Lighting filters should operate in the sRGB colour space. r=roc 2013-01-13 10:38:02 +00:00
Cameron McCormack
572084f298 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
c276cafcb1 Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-12 17:22:31 -05:00
David Zbarsky
39c5e64152 Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz 2013-01-12 17:21:53 -05:00
David Zbarsky
6f81fa5b99 Bug 828715 - Move DOMSVGMatrix to mozilla::dom::SVGMatrix r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGMatrix.cpp => content/svg/content/src/SVGMatrix.cpp
rename : content/svg/content/src/DOMSVGMatrix.h => content/svg/content/src/SVGMatrix.h
2013-01-11 15:30:21 -05:00
David Zbarsky
37313b9bf0 Bug 817256 - DOMSVGTransform should hold strong ref to matrix r=longsonr 2013-01-11 02:15:06 -05:00
Chris Peterson
f913a80fc9 Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan 2013-01-10 17:56:51 -08:00
Ms2ger
3c26b8b8e4 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
c450d91d46 Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
Ms2ger
1f9ce23acb Bug 828978 - Remove pointless const_cast in SVGLength::GetUserUnitsPerPercent; r=longsonr 2013-01-11 09:43:01 +01:00
Ms2ger
effe119b3d Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
David Zbarsky
cd990802cf Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
4074a8af76 Bug 827200 - Remove nsIDOMSVGZoomAndPan r=bz, longsonr 2013-01-10 00:24:37 -05:00
David Zbarsky
34d8b173fe Fix a review comment for bug 827119, r=bz, DONTBUILD 2013-01-09 18:10:59 -05:00
David Zbarsky
84b94a5b82 Bug 824218 - Remove unimplemented SVG features r=longsonr 2013-01-09 18:02:47 -05:00
David Zbarsky
60c7a3b594 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
e4a26da046 Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Graeme McCutcheon
fda9648afc Bug 827521 - Work around spurious operator ambiguity errors in buggy versions of Clang. r=longsonr 2013-01-10 14:37:30 +00:00
Cameron McCormack
d617d4b9f8 Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-09 10:25:48 +11:00
Cameron McCormack
90edb9cab0 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Jonathan Watt
e81a009b21 Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
Robert Longson
5292e9ee5a Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam 2013-01-08 13:14:04 +00:00
Cameron McCormack
26873544a3 Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack
f2f3bb1715 Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-08 19:09:24 +11:00
Cameron McCormack
993c756dda Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-08 19:09:22 +11:00
David Zbarsky
4a5021753c Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
d3ed89358d Bug 825834 - Convert SVGViewElement to webidl r=bz 2013-01-07 22:22:41 -05:00
David Zbarsky
c94423fc14 Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
David Zbarsky
66be4382c0 Bug 825732: Convert SVGAltGlyphElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.cpp
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
30cda6d591 Bug 825732: Convert SVGTSpanElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTSpanElement.cpp => content/svg/content/src/SVGTSpanElement.cpp
rename : content/svg/content/src/nsSVGTSpanElement.cpp => content/svg/content/src/SVGTSpanElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
532effa303 Bug 825732: Convert SVGTextElement to WebIDL r=bz, longsonr
--HG--
rename : content/svg/content/src/nsSVGTextElement.cpp => content/svg/content/src/SVGTextElement.cpp
rename : content/svg/content/src/nsSVGTextElement.cpp => content/svg/content/src/SVGTextElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
9ad6ec90dc Bug 825732: Convert SVGTextPositioningElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPositioningElement.cpp => content/svg/content/src/SVGTextPositioningElement.cpp
rename : content/svg/content/src/nsSVGTextPositioningElement.h => content/svg/content/src/SVGTextPositioningElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
c5ea6822f4 Bug 825732: Convert SVGTextPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPathElement.cpp => content/svg/content/src/SVGTextPathElement.cpp
rename : content/svg/content/src/nsSVGTextPathElement.h => content/svg/content/src/SVGTextPathElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
912c7ada9c Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
9edf4dac9e Bug 824898: Convert SVG animation classes to WebIDL r=bz 2013-01-06 04:32:03 -05:00
David Zbarsky
0259738e40 Bug 824898: Move SVG animation classes to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGAnimateElement.cpp => content/svg/content/src/SVGAnimateElement.cpp
rename : content/svg/content/src/nsSVGAnimateElement.cpp => content/svg/content/src/SVGAnimateElement.h
rename : content/svg/content/src/nsSVGAnimateMotionElement.cpp => content/svg/content/src/SVGAnimateMotionElement.cpp
rename : content/svg/content/src/nsSVGAnimateMotionElement.h => content/svg/content/src/SVGAnimateMotionElement.h
rename : content/svg/content/src/nsSVGAnimateTransformElement.cpp => content/svg/content/src/SVGAnimateTransformElement.cpp
rename : content/svg/content/src/nsSVGAnimateTransformElement.cpp => content/svg/content/src/SVGAnimateTransformElement.h
rename : content/svg/content/src/nsSVGAnimationElement.cpp => content/svg/content/src/SVGAnimationElement.cpp
rename : content/svg/content/src/nsSVGAnimationElement.h => content/svg/content/src/SVGAnimationElement.h
rename : content/svg/content/src/nsSVGSetElement.cpp => content/svg/content/src/SVGSetElement.cpp
rename : content/svg/content/src/nsSVGSetElement.cpp => content/svg/content/src/SVGSetElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
ccae04baad Bug 825147: Convert SVGLineElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGLineElement.cpp => content/svg/content/src/SVGLineElement.cpp
rename : content/svg/content/src/nsSVGLineElement.cpp => content/svg/content/src/SVGLineElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
a634b8a942 Bug 825730: Add a more convenient signature for ToDOMAnimatedLength r=longsonr 2013-01-06 04:32:02 -05:00
David Zbarsky
b1307bd760 Bug 825730: Alphabetize makefile r=longsonr 2013-01-06 04:32:02 -05:00
David Zbarsky
34549bdd63 Bug 825147: Convert SVGEllipseElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGEllipseElement.cpp => content/svg/content/src/SVGEllipseElement.cpp
rename : content/svg/content/src/nsSVGEllipseElement.cpp => content/svg/content/src/SVGEllipseElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
ee9b6ccc13 Bug 825147: Convert SVGCircleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGCircleElement.cpp => content/svg/content/src/SVGCircleElement.cpp
rename : content/svg/content/src/nsSVGCircleElement.cpp => content/svg/content/src/SVGCircleElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
34695b3141 Bug 825147: Convert SVGRectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGRectElement.cpp => content/svg/content/src/SVGRectElement.cpp
rename : content/svg/content/src/nsSVGRectElement.cpp => content/svg/content/src/SVGRectElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
cf966f28d5 Bug 825147: Convert SVGPolygonElement and SVGPolylineElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGPolygonElement.cpp => content/svg/content/src/SVGPolygonElement.cpp
rename : content/svg/content/src/nsSVGPolygonElement.cpp => content/svg/content/src/SVGPolygonElement.h
rename : content/svg/content/src/nsSVGPolylineElement.cpp => content/svg/content/src/SVGPolylineElement.cpp
rename : content/svg/content/src/nsSVGPolylineElement.cpp => content/svg/content/src/SVGPolylineElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
1832141c50 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
6defbde7e5 Bug 824899 - Don't use nsIDOMSVGElement where possible r=longsonr 2013-01-06 01:25:55 -05:00
David Zbarsky
de4ed0fa3d Bug 825147: Convert SVGGElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGGElement.cpp => content/svg/content/src/SVGGElement.cpp
rename : content/svg/content/src/nsSVGGElement.cpp => content/svg/content/src/SVGGElement.h
2013-01-06 01:25:55 -05:00
David Zbarsky
59325015c8 Bug 825147: Convert SVGForeignObjectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGForeignObjectElement.cpp => content/svg/content/src/SVGForeignObjectElement.cpp
2013-01-06 01:25:55 -05:00
David Zbarsky
a97c87056d Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGSwitchElement.cpp => content/svg/content/src/SVGSwitchElement.cpp
rename : content/svg/content/src/nsSVGSwitchElement.h => content/svg/content/src/SVGSwitchElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
0f6e885f5f Bug 825147: Convert SVGDefsElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDefsElement.cpp => content/svg/content/src/SVGDefsElement.cpp
rename : content/svg/content/src/nsSVGDefsElement.cpp => content/svg/content/src/SVGDefsElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
3b63658aa6 Bug 824229 Part 7: Make nsSVGClipPathElement inherit from SVGTransformableElement to preserve existing behavior; move SVGGraphicsElement up to SVGTransformableElement r=longsonr 2013-01-06 01:25:54 -05:00
David Zbarsky
0c6e775fd6 Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
David Zbarsky
413f7c67a6 Bug 824229 Part 5: Implement SVGGraphicsElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
824df9fe3b Bug 824229 Part 4: Implement SVGTransformableElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
058e539fbc Bug 824229 Part 3: Implement SVGLocatableElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
cbbc66afc7 Bug 824229 Part 2: SVGGraphicsElement should implement SVGTests r=longsonr 2013-01-06 01:25:52 -05:00
David Zbarsky
0498e024ce Bug 824229 Part 1: SVGSVGElement should be a subclass of SVGGraphicsElement r=longsonr 2013-01-06 01:25:52 -05:00
Masatoshi Kimura
e56ac36731 Bug 826961 - Revise SVGPreserveAspectRatio so that the silly cast is not needed. r=longsonr 2013-01-06 02:28:00 +09:00
David Zbarsky
046391cd49 Bug 824327: Convert SVGScriptElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGScriptElement.cpp => content/svg/content/src/SVGScriptElement.cpp
rename : content/svg/content/src/nsSVGScriptElement.cpp => content/svg/content/src/SVGScriptElement.h
2013-01-05 04:41:28 -05:00
Masatoshi Kimura
13ac82c57e Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe 2013-01-05 12:55:23 +09:00
David Zbarsky
ab8a29ade2 Bug 824327: Convert SVGMPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMpathElement.cpp => content/svg/content/src/SVGMPathElement.cpp
rename : content/svg/content/src/nsSVGMpathElement.h => content/svg/content/src/SVGMPathElement.h
2013-01-04 20:50:22 -05:00
David Zbarsky
e7a72ebfea Bug 824327: Convert SVGMetadataElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.cpp
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
ced1decdf2 Bug 824327: Convert SVGStyleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.cpp
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
1b2d99ddc3 Bug 824327: Convert SVGStopElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
99c19afba7 Bug 824327: Convert SVGTitleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
4d9805b02c Bug 824327: Convert SVGDescElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.cpp
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
88ce61018a Bug 824327: Add a namespaced version of NS_NewSVGXXXElement r=bz 2013-01-04 20:50:20 -05:00
Phil Ringnalda
f5e89a88e8 Back out 13acd3b74386:68ded29fc68e (bug 824327) for browser_bug329212.js failures 2013-01-04 16:30:31 -08:00
David Zbarsky
8d74477f57 Bug 824327: Convert SVGMPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMpathElement.cpp => content/svg/content/src/SVGMPathElement.cpp
rename : content/svg/content/src/nsSVGMpathElement.h => content/svg/content/src/SVGMPathElement.h
2013-01-04 17:28:41 -05:00
David Zbarsky
59dc6d5c40 Bug 824327: Convert SVGMetadataElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.cpp
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
0be6dda0ef Bug 824327: Convert SVGStyleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.cpp
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
7ff930a99f Bug 824327: Convert SVGStopElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
e23a76a563 Bug 824327: Convert SVGTitleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
bc3b821120 Bug 824327: Convert SVGDescElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.cpp
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
bba4127426 Bug 824327: Add a namespaced version of NS_NewSVGXXXElement r=bz 2013-01-04 17:28:04 -05:00
Julien Levesy
dff8ef0071 Bug 811753 - Add nsIContent::IsEventAttributeName and use it instead of having callers guess the right flags for the content node in question. r=bzbarsky. 2013-01-02 21:24:07 +01:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
David Zbarsky
627bff8456 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
b3fd32ba23 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Ms2ger
4b35ea6845 Backout bug 823394 for reftest oranges. 2012-12-23 13:44:04 +01:00
David Zbarsky
3e8c5ab7a3 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
5941c6d502 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz 2012-12-23 03:22:22 -05:00
David Zbarsky
9e8c9e3f91 Bug 817442 Part 11: Remove nsIDOMSVG(Animated)LengthList r=bz 2012-12-22 23:54:26 -05:00
David Zbarsky
d4bf135f16 Bug 816778 Part 13: Convert SVGAnimatedLengthList to WebIDL r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
ef2e090b22 Bug 817442 Part 6: Remove nsIDOMSVG(Animated)NumberList r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
74d58a6f8f Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
10535fc3f7 Bug 817442 Part 9: Remove nsIDOMSVGMatrix r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
10b140c0b4 Bug 817442 Part 8: Remove nsIDOMSVGTransform r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
da4e0eda55 Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
65db0cb392 Bug 817442 Part 5: Remove nsIDOMSVG(Animated)Angle r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
0fc8760f39 Bug 816778 Part 12: Convert SVGAnimatedAngle to WebIDL r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
46a2d7ee8c Bug 816778 Part 11: Convert SVGAngle to WebIDL r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
b841c921d0 Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt 2012-12-22 23:54:23 -05:00
David Zbarsky
2d241c29b0 Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
7ce649b65c Bug 816778 Part 9: Add a macro for NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
d7b9425ed1 Bug 817442 Part 3: Remove nsIDOMSVGAnimatedBoolean r=bz, jwatt 2012-12-22 23:54:22 -05:00
David Zbarsky
fc2efedcc6 Bug 816778 Part 8: Convert SVGAnimatedBoolean to WebIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
073c7334d5 Bug 817442 Part 2: Remove nsIDOMSVG(Animated)PreserveAspectRatio r=bz, jwatt 2012-12-22 23:54:21 -05:00
David Zbarsky
8a41596c63 Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt 2012-12-22 23:54:21 -05:00
David Zbarsky
aabc7320cd Bug 816778 Part 7: Convert SVGAnimatedNumberList to WebIDL r=bz 2012-12-22 23:54:21 -05:00
David Zbarsky
1c5ed8a7b2 Bug 816778 Part 6: Convert SVGAnimatedPreserveAspectRatio to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
0a984cfbd8 Bug 816778 Part 5: Convert SVGPreserveAspectRatio to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
d567684db6 Bug 816778 Part 4: Convert SVGAnimatedTransformList to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
673629509c Bug 816778 Part 3: Convert SVGTransform to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
b7036b6f14 Bug 816778 Part 2: Convert SVGMatrix to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
31f698e0c7 Bug 816778 Part 1.5: Create nsISVGPoint and make nsSVGTranslatePoint::DOMVal a subclass r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
eb691de843 Bug 816778 Part 1: Convert SVGPoint to WebIDL r=bz 2012-12-22 23:54:19 -05:00
Jonathan Kew
ee527f41ef Bug 823964 - Wrong bounds for scaled images. r=longsonr 2012-12-22 10:07:00 +00:00
Boris Zbarsky
20a6d96dc4 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Masatoshi Kimura
4a07dc4302 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Robert Longson
9c587c8a50 Bug 821960 - Implement tearoffs for remaining SVG types. r=jwatt 2012-12-21 09:18:58 +00:00
Cameron McCormack
873a543487 Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Jonathan Watt
3cd5836413 Bug 813531 - Part 2: Stop reconstructing the entire SVG frame tree after the initial reflow of nsSVGOuterSVGFrame frames that have a viewBox. r=roc. 2012-12-18 02:25:16 +00:00
Jonathan Watt
f595fb2060 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Masayuki Nakano
792137f340 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Robert Longson
5a61df2b23 Bug 820629 - animateTransform should not animate non-transform-type attributes (follow-up to correct type) r=dholbert 2012-12-14 17:16:43 +00:00
Robert Longson
4d91896f54 Bug 820629 - animateTransform should not animate non-transform-type attributes r=dholbert 2012-12-12 19:07:58 +00:00
Robert Longson
c52eb40b9f Bug 812890 - spot light filters do not process limiting cone angle properly. r=cam 2012-12-10 12:14:25 +00:00
Cameron McCormack
504d070205 Bug 819731 - Remove contentStyleType and contentScriptType from SVGSVGElement. r=longsonr 2012-12-10 12:33:10 +11:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Benedict Singer
eef8ddc2e4 Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky 2012-12-07 09:35:14 -05:00
Robert Longson
987d38fe50 Bug 817439 r=dholbert 2012-12-05 10:59:26 +00:00
Tom Schuster
12e54d9bdb Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Daniel Holbert
d1b24c460c Bug 793308: Remove unneeded/unused "#include string.h" from some SVG c++ files. r=longsonr 2012-11-28 23:13:02 -08:00
Seth Fowler
630ed49838 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Zack Weinberg
faabfb1d5b Bug 516091: Split CSS error reporting to its own file and class. Allows CSS scanner to become a stack object. r=dbaron 2012-11-15 11:36:15 -05:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Boris Zbarsky
d23220892d Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Peter Van der Beken
04d165e18c Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Ed Morley
b47760337b Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken
a6c1144dae Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Peter Van der Beken
508194a997 Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Ed Morley
e74b154022 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Aryeh Gregor
a228233511 Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Robert Longson
58611c936a Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky 2012-10-23 09:21:49 +01:00
Robert Longson
7deef898eb Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert 2012-10-22 10:13:24 +01:00
Peter Van der Beken
0fca6b2112 Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Peter Van der Beken
57adeb4354 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Aryeh Gregor
2f24871362 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Josh Matthews
80112a2809 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
36511684e4 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Boris Zbarsky
9534d07c69 Bug 795221 part 5. Hook up <svg:style> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-4.html
2012-10-07 22:39:09 -04:00
Jeff Muizelaar
fa081a82fc Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Peter Van der Beken
2561b4b1e6 Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Kyle Huey
e5eb83ac5a Bug 760331: Coalesce data for inline style across nodes. r=bz
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules.  MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit).  This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley.  A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet.  MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache.  This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.

The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value.  This can happen easily with large pages that are automatically generated.  An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change.  Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node.  Eliminating duplicate style rules enables further savings in layout through style context sharing.  The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.

Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules.  We also do not attempt to share MiscContainers when the node's base URI differs from the document URI.  The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Robert Longson
eb62e6dca9 Bug 729139 - Accept negative radius arcs in markup. r=jwatt 2012-09-29 11:19:13 +01:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
196332719c Bug 539356 - Disable test_text.html on android since it crashes on armv6. r=roc 2012-09-29 01:12:39 +12:00
Alexandre Dumont
d7aab8168c Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Cameron McCormack
d32604b3d0 Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr 2012-09-24 22:07:41 +10:00
Reuben Morais
8fabfaf96e Bug 793440 - Fix tautological constant out of range check on DOMSVGTransform.cpp. r=longsonr 2012-09-22 20:48:27 -04:00
Robert Longson
bbf734f7ef Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Peter Van der Beken
71b55b1f68 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
d23d048af0 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename Length to LengthNoFlush in SVG DOM lists. r=bz.
--HG--
extra : rebase_source : 6db1028fe04d03286561ac13fe7ea818f54245bf
2012-09-05 16:52:57 +02:00
Jonathan Watt
56e844164d Bug 787722 - Prevent out-of-bounds read/writes under nsSVGFELightingElement::Filter. r=roc.
--HG--
extra : rebase_source : 8354ba5e16ca00a09a7b794b2408db63e76ca9df
2012-09-13 12:23:28 +01:00
Robert Longson
9c6a51753e Bug 783995 - enable animation of view element attributes. r=dholbert 2012-09-09 12:44:03 +01:00
Daniel Holbert
f450bf107a Bug 788862: Initialize 'segType' in SVGPathData::ConstructPath. r=jwatt 2012-09-06 11:33:01 -07:00
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Cameron McCormack
34d323057c Bug 655877 - Part 45: Note a crashtest that involves XBL as triggering assertions. r=longsonr 2012-09-06 16:07:53 +10:00
Robert Longson
11234826b0 Back out 92f2cf2f42b2 (bug 754592) for causing regression 2012-09-04 14:53:04 -07:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jonathan Watt
5dac27b993 Bug 767056 - Stop calling nsLayoutUtils::PostRestyleEvent during reflow to avoid infinite loop. r=roc.
--HG--
extra : rebase_source : c397431c824e2d1f624765636320129201209b60
2012-08-31 15:30:18 +01:00
Ryan VanderMeulen
df8b5323ba Merge the last PGO-green inbound changeset to m-c. 2012-08-30 21:54:09 -04:00
Kyle Huey
75454be03c Bug 786048: Rename 'JSEventListener' to 'EventHandler' to better match the spec's terminology. r=smaug 2012-08-30 09:25:10 -07:00
David Zbarsky
0793e3afda Bug 779084 - Move querySelector stuff out of nsGenericElement and into nsINode r=bz 2012-08-30 13:10:13 -04:00
Boris Zbarsky
41ac1056bf Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking 2012-08-28 13:10:07 -04:00
Daniel Holbert
be4e080a87 (no bug) fix an instance of end-of-line whitespace, so I can label this push as DONTBUILD since it just backs out & relands a cset (no code changes, other than this whitespace fix) 2012-08-25 10:06:10 -07:00
Robert Longson
292fc70a0c Bug 783915 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 10:02:34 -07:00
Daniel Holbert
f02731254d back out 8247f7b038ce because it landed with the wrong bug # in commit message (said bug 785017, should've said bug 783915) 2012-08-25 10:01:48 -07:00
Robert Longson
d35423bd41 Bug 785017 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 11:07:54 +01:00
Robert Longson
1345bb8a0e Bug 785017 - Use NS_GetStaticAtom in svg content where appropriate. r=dholbert 2012-08-24 08:29:09 +01:00
Daniel Holbert
bfd9bbf0da Bug 784828 patch 2: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in nsSVGLength2.cpp. r=longsonr 2012-08-22 23:24:43 -07:00
Daniel Holbert
650d35d1e1 Bug 784828 patch 1: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in DOMSVG*List.cpp. r=longsonr 2012-08-22 23:24:41 -07:00
Peter Van der Beken
13f425b97c Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
2fc3f31d0c Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
e3dadea704 Bug 683290: Discard images that are not in the DOM. r=bz 2012-08-13 15:11:50 -07:00
David Zbarsky
b462ec011a Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Robert Longson
41330707fe Bug 782387 - Blank SVG rendering, after clicking a link to a view fragment and then navigating back. r=dholbert 2012-08-15 12:50:48 +01:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
3f4f4769c2 Bug 782141 - Don't mix signed and unsigned variables in nsSVGFEMorphologyElement::Filter(), and clamp radii to 100000. r=roc. 2012-08-14 10:12:52 +01:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
c29a19dfd3 Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Robert Longson
45871ed1b2 Tests for Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:50 +01:00
Tim Taubert
1c8be6a566 Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:46 +01:00
Jonathan Watt
e5a6a757ae Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Robert Longson
1451134cef Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Jonathan Watt
bba15f0a70 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Ryan VanderMeulen
2661c4efbe Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonathan Watt
77a641125d Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Andrew McCreight
aa60136d0a Bug 770218 - null check mAList during unlink of DOMSVG{Length,Number,Transform}List. r=jwatt 2012-07-18 15:44:22 -07:00
Jonathan Watt
3faefe06c8 Bug 774077 - Fix Clang warning in nsSVGGraphicElement.cpp. r=dholbert.
--HG--
extra : rebase_source : 20a6001c421008c19d6000541077c78819520393
2012-07-18 13:47:40 -04:00
Ms2ger
7dc6caf2a7 Bug 763323 - Use .forget(I**) in a few places; r=longsonr 2012-07-18 12:36:08 +02:00
Rafael Ávila de Espíndola
175d2ff36b Bug 774030 - Remove extra ;. r=jwatt. 2012-07-15 10:07:04 -04:00
Boris Zbarsky
43d45b95b9 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Cameron McCormack
b06a9684b3 Bug 772356 - Add an IsEmpty method to SVGUserUnitList. r=jwatt 2012-07-10 18:16:35 +10:00
Jonathan Watt
9eeaa6feea Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Capella
fc1d905831 Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger 2012-07-09 08:36:05 -04:00
Cameron McCormack
ecdfad2302 Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt 2012-07-09 11:09:49 +10:00
Cameron McCormack
c437bc6e92 Bug 769115 - Calculate marker orientation correctly for arc endpoints. r=jwatt 2012-07-08 21:36:07 +10:00
Daniel Holbert
3aa40891ca Bug 770598: Simplify NS_NewSVGDocument. r=jwatt 2012-07-06 10:47:37 -07:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
809b4bbd33 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Robert Longson
2b5b728153 Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
70c1310055 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
83c12e0c1b Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Ehsan Akhgari
7a041e9a4b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Jonathan Watt
eec7d5bc7f Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Robert Longson
03cb3b88c4 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Jonathan Watt
60a4f442ba Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
62f423d85b Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Masatoshi Kimura
9ee0b03c68 Bug 743888 - Part 2: Update SVG exception types. r=jwatt 2012-06-13 21:12:37 -04:00
Robert Longson
90bb704527 Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Robert Longson
c30d7c99eb Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-08 08:54:39 +01:00
Aryeh Gregor
a99a079932 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Ed Morley
cd7a76def7 Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
4c0232f574 Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Robert Longson
96e7eb6a56 Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert 2012-06-06 09:15:53 +01:00
Robert Longson
e7baf0d054 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Robert Longson
2d34a7b93a Bug 758505, Part 2: Avoid unnecessary invalidations on repeated calls to set the same animated value (most other non-list types). r=dholbert 2012-06-01 16:53:06 -07:00
Matt Woodrow
e1b0ecedf7 Bug 758505, Part 1: Avoid unnecessary invalidations on repeated calls to set the same animated value (nsSVGLength2 part). r=dholbert 2012-06-01 16:52:15 -07:00
Robert Longson
8bcd002916 Bug 759124 - Implement useCurrentView. r=dholbert 2012-05-31 11:39:12 +01:00