David Zbarsky
ea24b37661
Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz
2012-12-22 23:54:24 -05:00
David Zbarsky
3879a4e943
Bug 817442 Part 5: Remove nsIDOMSVG(Animated)Angle r=bz
2012-12-22 23:54:23 -05:00
David Zbarsky
8cf6725873
Bug 816778 Part 12: Convert SVGAnimatedAngle to WebIDL r=bz
2012-12-22 23:54:23 -05:00
David Zbarsky
6e5f6082e9
Bug 816778 Part 11: Convert SVGAngle to WebIDL r=bz
2012-12-22 23:54:23 -05:00
David Zbarsky
071334be2f
Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt
2012-12-22 23:54:23 -05:00
David Zbarsky
9829ee3081
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
4fb32bea8d
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
72dac6b632
Bug 817442 Part 3: Remove nsIDOMSVGAnimatedBoolean r=bz, jwatt
2012-12-22 23:54:22 -05:00
David Zbarsky
6b2e5c3ed4
Bug 816778 Part 8: Convert SVGAnimatedBoolean to WebIDL r=bz
2012-12-22 23:54:22 -05:00
David Zbarsky
4d100c70db
Bug 817442 Part 2: Remove nsIDOMSVG(Animated)PreserveAspectRatio r=bz, jwatt
2012-12-22 23:54:21 -05:00
David Zbarsky
27aca98d8e
Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt
2012-12-22 23:54:21 -05:00
David Zbarsky
6e8d4191c7
Bug 816778 Part 7: Convert SVGAnimatedNumberList to WebIDL r=bz
2012-12-22 23:54:21 -05:00
David Zbarsky
a7787e2a78
Bug 816778 Part 6: Convert SVGAnimatedPreserveAspectRatio to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
2e312948f9
Bug 816778 Part 5: Convert SVGPreserveAspectRatio to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
1a885f01bc
Bug 816778 Part 4: Convert SVGAnimatedTransformList to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
9ca36b2dd4
Bug 816778 Part 3: Convert SVGTransform to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
314745e8b8
Bug 816778 Part 2: Convert SVGMatrix to WebIDL r=bz
2012-12-22 23:54:20 -05:00
David Zbarsky
1baa03ba12
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
91171c07f6
Bug 816778 Part 1: Convert SVGPoint to WebIDL r=bz
2012-12-22 23:54:19 -05:00
Jonathan Kew
a76332437f
Bug 823964 - Wrong bounds for scaled images. r=longsonr
2012-12-22 10:07:00 +00:00
Boris Zbarsky
53a5112fb0
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
4b5034efa3
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
5b4ea62d49
Bug 821960 - Implement tearoffs for remaining SVG types. r=jwatt
2012-12-21 09:18:58 +00:00
Cameron McCormack
154f38b92a
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Jonathan Watt
12fdf8dc38
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
57e52e7f84
Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow.
2012-11-28 09:42:13 +00:00
Masayuki Nakano
4581677d83
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
120886ca73
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
926311ef79
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
d0c8136a6d
Bug 820629 - animateTransform should not animate non-transform-type attributes r=dholbert
2012-12-12 19:07:58 +00:00
Robert Longson
8135aadc67
Bug 812890 - spot light filters do not process limiting cone angle properly. r=cam
2012-12-10 12:14:25 +00:00
Cameron McCormack
7c7b6bb3e0
Bug 819731 - Remove contentStyleType and contentScriptType from SVGSVGElement. r=longsonr
2012-12-10 12:33:10 +11:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Benedict Singer
8b16d029d1
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
aba24e2cf7
Bug 817439 r=dholbert
2012-12-05 10:59:26 +00:00
Tom Schuster
9271842e43
Bug 676619 - Implementation of the download attribute for links. r=smaug
2012-12-02 21:55:52 +01:00
Daniel Holbert
3d97e1a8f1
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
cd421a0e5e
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Zack Weinberg
662e668d9f
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
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Boris Zbarsky
05ba9f02c1
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Peter Van der Beken
0a5f44ada8
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
35b84cb08f
Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors
2012-11-14 16:45:28 +00:00
Peter Van der Beken
f19ca9b71f
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
b2ba5959ec
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
33efb139e8
Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures
2012-11-06 22:26:56 +00:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Aryeh Gregor
70c46f800c
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
27341fb426
Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky
2012-10-23 09:21:49 +01:00
Robert Longson
8dc4bfd15f
Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert
2012-10-22 10:13:24 +01:00
Peter Van der Beken
9af14c557f
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Peter Van der Beken
e4c543b77c
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
c24a828b17
Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz
2012-10-11 14:48:31 +02:00
Josh Matthews
c8eb573b6f
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
f905bcf9ea
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
b84562cef3
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
138935b14a
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
fcd1ce5c84
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
1d3700a537
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
abbb0715c2
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
b9ca5298cb
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
62bb43ba59
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
6cf9f896da
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
43e58e33c8
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
fc986af9d2
Bug 729139 - Accept negative radius arcs in markup. r=jwatt
2012-09-29 11:19:13 +01:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
82af1f91f2
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
9bb8822425
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
a159762d42
Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr
2012-09-24 22:07:41 +10:00
Reuben Morais
5f9bd65741
Bug 793440 - Fix tautological constant out of range check on DOMSVGTransform.cpp. r=longsonr
2012-09-22 20:48:27 -04:00
Robert Longson
9f1158e270
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
6f38d2708d
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
47679c3042
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
81a90a8fd3
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
d6bf23f66c
Bug 783995 - enable animation of view element attributes. r=dholbert
2012-09-09 12:44:03 +01:00
Daniel Holbert
ca0e68c088
Bug 788862: Initialize 'segType' in SVGPathData::ConstructPath. r=jwatt
2012-09-06 11:33:01 -07:00
Ehsan Akhgari
4a8bc9fd25
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
947c869021
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
f2ca028f8d
Back out 92f2cf2f42b2 (bug 754592) for causing regression
2012-09-04 14:53:04 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Jonathan Watt
6b6b241b56
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
500be4ff7e
Merge the last PGO-green inbound changeset to m-c.
2012-08-30 21:54:09 -04:00
Kyle Huey
20210893cb
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
e43775a378
Bug 779084 - Move querySelector stuff out of nsGenericElement and into nsINode r=bz
2012-08-30 13:10:13 -04:00
Boris Zbarsky
23f0b64faa
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
5d7711fd34
(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
8003d8f33b
Bug 783915 - Make SVG Fragment identifier processing more robust. r=dholbert
2012-08-25 10:02:34 -07:00
Daniel Holbert
4286cddb20
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
992236a3e5
Bug 785017 - Make SVG Fragment identifier processing more robust. r=dholbert
2012-08-25 11:07:54 +01:00
Robert Longson
2de3c5a082
Bug 785017 - Use NS_GetStaticAtom in svg content where appropriate. r=dholbert
2012-08-24 08:29:09 +01:00
Daniel Holbert
39ba0cd0c4
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
4efee24c50
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
ee9eae3141
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
e368dc9c85
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
31a0f2b067
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Kyle Huey
0cc1845191
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
ef988eb931
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
f9dc19e0af
Bug 683290: Discard images that are not in the DOM. r=bz
2012-08-13 15:11:50 -07:00
David Zbarsky
05903e83e6
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Robert Longson
e6dbebb0f5
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jonathan Watt
038a11cc95
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
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
03039446fa
[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
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
ec805a875a
Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz
2012-06-27 16:01:55 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Robert Longson
386204e06e
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
007684ca97
Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert
2012-07-30 10:02:46 +01:00
Jonathan Watt
b82eee1846
Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc.
2012-07-30 01:35:26 +01:00
Robert Longson
938bb2b0cf
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
d539846cab
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
4b2601630f
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
be774885eb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Olli Pettay
aa64d464e5
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Jonathan Watt
c8b3589558
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
86ad8a2340
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
60ec6a4ffb
Bug 774077 - Fix Clang warning in nsSVGGraphicElement.cpp. r=dholbert.
...
--HG--
extra : rebase_source : 20a6001c421008c19d6000541077c78819520393
2012-07-18 13:47:40 -04:00
Ms2ger
fdc403d471
Bug 763323 - Use .forget(I**) in a few places; r=longsonr
2012-07-18 12:36:08 +02:00
Rafael Ávila de Espíndola
b5b71bc527
Bug 774030 - Remove extra ;. r=jwatt.
2012-07-15 10:07:04 -04:00
Boris Zbarsky
496f1a1325
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
Cameron McCormack
004750fdbf
Bug 772356 - Add an IsEmpty method to SVGUserUnitList. r=jwatt
2012-07-10 18:16:35 +10:00
Jonathan Watt
05947e196b
Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles.
2012-07-09 18:41:12 +01:00
Nathan Froyd
bfff055672
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
9e697010b7
Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger
2012-07-09 08:36:05 -04:00
Cameron McCormack
49f20ab572
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
0b69821bc1
Bug 769115 - Calculate marker orientation correctly for arc endpoints. r=jwatt
2012-07-08 21:36:07 +10:00
Daniel Holbert
901758d5ca
Bug 770598: Simplify NS_NewSVGDocument. r=jwatt
2012-07-06 10:47:37 -07:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Jonathan Watt
53807bd4e9
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
0150868481
Backout most of Bug 467498 - crashtest failure on windows
2012-06-19 17:49:47 +01:00
Jonathan Watt
9472b0acf9
Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr.
2012-06-19 16:28:04 +01:00
Robert Longson
6498ee3556
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
2050b687cc
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
faa9392008
Bug 765505 - Clean up filter code. r=longsonr.
2012-06-16 21:23:48 +01:00
Robert Longson
5ccc8c4019
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
c06a0c60b8
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
35a8bfc76c
Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr
2012-06-13 21:12:38 -04:00
Masatoshi Kimura
77b81c0275
Bug 743888 - Part 2: Update SVG exception types. r=jwatt
2012-06-13 21:12:37 -04:00
Robert Longson
89657d93ac
Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt
2012-06-13 14:32:23 +01:00
Robert Longson
6d57bbf31d
Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert
2012-06-08 08:54:39 +01:00
Aryeh Gregor
29b2ea5b20
Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz
2012-06-04 20:42:00 +03:00
Ed Morley
3bd32a640c
Backout 14bea2e7f431 (bug 762119) for compilation failures
2012-06-07 09:40:02 +01:00
Robert Longson
9b3aba30d7
Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert
2012-06-07 09:30:45 +01:00
Robert Longson
8c6547e87a
Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert
2012-06-06 09:15:53 +01:00
Robert Longson
fefd1ff8c2
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
d5b5f12a6e
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
714c391777
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
51ba38af37
Bug 759124 - Implement useCurrentView. r=dholbert
2012-05-31 11:39:12 +01:00
Robert Longson
552f1b1d87
Bug 756988 - Mark some animation feature strings as supported. r=jwatt
2012-05-25 14:45:53 +01:00
Neil Deakin
403c3ccc83
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Robert Longson
f42e89af46
Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt
2012-05-23 10:54:19 +01:00
Robert Longson
ee7ff5f484
Bug 757704 - getScreenCTM() crash. r=jwatt
2012-05-23 10:49:15 +01:00
Daniel Holbert
77f79e7a88
Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr
2012-05-21 13:38:50 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert Longson
bb1ba049a4
Bug 754592 - Lazily allocate conditional processing data. r=jwatt
2012-05-19 14:37:16 +01:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
4fd52b5cbf
Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt
2012-05-18 11:41:30 +01:00
Robert Longson
68d77a3a59
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert
2012-05-18 09:34:25 +01:00
Robert Longson
da7b0caeee
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Brian Birtles
86afa969bf
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 1 infrastructure to support hyperlinking. r=dholbert
2012-05-17 10:56:57 +01:00
Jonathan Watt
f418b57d69
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Jonathan Watt
14342d950c
Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
...
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
8056ad42af
Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
...
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Robert Longson
d9928f2c53
Bug 751515 - Fix Crash with convertToSpecifiedUnits. r=dholbert
2012-05-04 08:41:42 +01:00
Shriram Kunchanapalli
86b1d55b6f
Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt
2012-02-18 19:17:01 +05:30
Phil Ringnalda
1d52ee7a7b
Merge m-c to m-i
2012-04-26 21:40:59 -07:00
Olli Pettay
fab0bd775f
Bug 740063 - Add nsINode::AsDOMNode(), r=jst
...
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Masatoshi Kimura
473d12ee2a
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
Robert Longson
c8cc0fe2ef
Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt
2012-04-16 09:23:48 +01:00
Jonathan Watt
bbd2635d4e
Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert.
2012-01-19 15:36:53 +00:00
Robert Longson
1187a6d7fd
Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc
2012-04-13 08:01:55 +01:00
Kyle Huey
5e3fddb58d
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
b579ded900
Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz
2012-04-07 09:00:04 -07:00
Boris Zbarsky
ee79d7d84b
Bug 742549. Add a .crossOrigin IDL property. r=sicking
...
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Ryan VanderMeulen
503ea93a8c
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Ms2ger
6c9f342a36
No bug - Remove an always-true check.
2012-03-29 23:12:55 +02:00
Ms2ger
2754f9e3ff
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Peter Van der Beken
cba2d2e2ac
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Jonathan Watt
c4e6b7547e
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Jonathan Watt
607557fa95
Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr.
2012-03-20 12:15:53 +00:00
Jonathan Watt
858e883080
Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr.
2012-03-20 12:15:53 +00:00
Cameron McCormack
19b598c34c
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 22:20:21 +11:00
Ryan VanderMeulen
d3f0c9d0b1
Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes.
2012-03-19 22:28:30 -04:00
Cameron McCormack
9db2e29ba4
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 12:49:13 +11:00
Robert Longson
8934f3b783
Bug 736791 - translate transforms are not serialised correctly. r=jwatt
2012-03-18 18:24:35 +00:00
Robert Longson
2b2c55dff9
Bug 736791 - translate transforms are not serialised correctly. r=jwatt
2012-03-18 12:25:28 +00:00
Jonathan Watt
796c3ddca9
Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr.
2012-03-18 10:32:02 +00:00
Nathan Froyd
70907fb5f2
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05:00
Robert Longson
9b626bf890
Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt
2012-03-15 11:42:54 +00:00
Blake Kaplan
662d0db31b
Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv
2012-03-14 16:25:40 +01:00
Peter Van der Beken
ec969bf862
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Ed Morley
b9546dd6c4
Backout fe139851fb34 (bug 734079) for M1 orange
2012-03-12 00:23:35 +00:00
Jonathan Watt
840e4a84a2
Bug 734079 - Give nsSVGSwitchElement::MaybeInvalidate a better name and comment. r=longsonr.
2012-03-11 23:04:37 +00:00
Boris Zbarsky
333a19ad97
Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking
2012-03-10 10:13:52 -06:00
Marco Bonardo
483472ec0a
Merge central to inbound
2012-03-10 11:25:12 +01:00
Emanuel Hoogeveen
bdce617c30
Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey
2012-03-09 21:50:34 -08:00