Mats Palmgren
69cf8c00c7
Bug 1364805 part 1 - Make every concrete frame class be a NS_DECL_QUERYFRAME_TARGET. r=jfkthame
...
MozReview-Commit-ID: Gy9gcEYupeY
2017-05-26 12:11:11 +02:00
cku
7e82090467
Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
...
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.
The signature of PaintSVG is changed from
DrawResult PaintSVG(...., uint32 flags);
to
void PaintSVG(...., imgDrawingParams& aPackage);
imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.
MozReview-Commit-ID: IOq2evUAOQF
2017-05-18 22:03:41 +02:00
Sebastian Hengst
c09cb176d8
Backed out changeset f3460d42d23c (bug 1351440)
2017-05-18 21:15:35 +02:00
cku
fab206ec78
Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
...
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.
The signature of PaintSVG is changed from
DrawResult PaintSVG(...., uint32 flags);
to
void PaintSVG(...., imgDrawingParams& aPackage);
imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.
MozReview-Commit-ID: IOq2evUAOQF
2017-05-05 17:19:43 +08:00
Emilio Cobos Álvarez
643f3f8618
Bug 1361051: rename mozilla::FrameType to mozilla::LayoutFrameType. r=xidorn
...
This avoids conflicts with mozilla::dom::FrameType.
MozReview-Commit-ID: 7aEMbHRaTFk
2017-05-01 19:32:52 +02:00
Emilio Cobos Álvarez
3731858edf
Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
...
MozReview-Commit-ID: 5Nzhyta5Hle
2017-04-30 17:30:08 +02:00
cku
f66a191560
Bug 1345853 - Part 3. Pass sync docode flag down to nsSVGDisplayableFrame::PaintSVG. r=tnikkel
...
Add one paramater to nsSVGDisplayableFrame::PaintSVG, so that we can pass
sync-decode flag from nsXXXXDisplayItem::Paint function to SVG paint call.
MozReview-Commit-ID: 6VZbxnFaoUj
2017-03-24 16:49:37 +08:00
Jonathan Watt
cb8dcb9224
Bug 1350706 - Get rid of nsSVGDisplayableFrame::GetCoveredRegion and its overrides. r=longsonr
2017-02-27 11:43:16 +00:00
Jonathan Watt
8e9411768a
Bug 1349244 - Rename nsISVGChildFrame to nsSVGDisplayableFrame to reduce confusion. r=longsonr
...
MozReview-Commit-ID: IQCv2ebZbwk
2017-02-09 18:24:31 +00:00
Daniel Holbert
80cf8516e8
Bug 1345202 part 2: Add "using namespace mozilla::image" to all layout/svg/*.cpp files that use the DrawResult type. r=TYLin
...
(DrawResult is really mozilla::image::DrawResult.)
MozReview-Commit-ID: 77OMdTEfibV
2017-03-07 20:07:00 -08:00
cku
bb426c5864
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
2016-07-14 12:47:06 +08:00
Carsten "Tomcat" Book
85da581596
Backed out changeset c43fa1320372 (bug 1258510)
2016-07-13 08:37:24 +02:00
cku
d2ecfb0579
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
2016-07-12 16:15:45 +08:00
Ting-Yu Lin
cb1b22588f
Bug 1264837 Part 38 - Remove nsSVGSwitchFrameBase. r=dholbert
...
MozReview-Commit-ID: K7LxDjF7XHY
2016-04-18 15:43:07 +08:00
Cameron McCormack
4d84720983
Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Robert Longson
e14a05521a
Bug 1145195 part 1 - Create a helper function for PrependLocalTransformsTo in SVGContentUtils r=dholbert
2015-12-02 22:36:23 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Jonathan Watt
d9921394d7
Bug 1091321, part 4 - Convert nsISVGChildFrame::PaintSVG and related code from nsRenderingContext to gfxContext. r=longsonr
2014-10-31 20:08:54 +00:00
Jonathan Watt
063d871461
Bug 1091321, part 2 - Convert nsSVGIntegrationUtils::PaintFramesWithEffects and related code from nsRenderingContext to gfxContext. r=longsonr
2014-10-31 20:08:53 +00:00
Jonathan Watt
eabbbf9d8d
Bug 932771, part 3 - Make PaintSVG painting work by passing transforms down, rather than walking up the tree using GetCanvasTM. r=longsonr
2014-08-29 20:42:07 +01:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Jonathan Watt
edca66335f
Bug 1049256, part 1 - Convert SVG hit-testing to act on an SVG user space point instead of calling nsSVGUtils::GetCanvasTM(). r=longsonr
2014-08-07 08:09:31 +01:00
Mats Palmgren
bebbaf8351
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Birunthan Mohanathas
ec95f87845
Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz
2014-03-25 11:36:49 -04:00
Arnaud Sourioux
fe6152ac7a
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
fdf311f38d
Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert
2014-02-19 14:34:31 -08:00
Arnaud Sourioux
c55abda61c
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Mats Palmgren
a56486443d
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
David Zbarsky
c5dc6db673
Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical
2013-12-30 16:42:26 -05:00
David Zbarsky
1b2bfec3ce
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
David Zbarsky
c09f7abbbc
Backout b04bd18e5692 for reftest failure
2013-12-26 15:13:57 -05:00
David Zbarsky
5d7caff1f5
Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical
2013-12-26 13:06:54 -05:00
Jonathan Kew
cf3770b9ff
bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam
2013-09-11 08:27:45 +01:00
Ms2ger
098de51886
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Ms2ger
3911483e71
Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures.
2013-08-24 10:27:21 +02:00
Markus Stange
86ff52c698
Bug 879682 - Call nsSVGEffects::UpdateEffects on the first reflow even if we've cleared our own firstreflow flag in order to propagate the information to our children. r=jwatt
2013-08-24 08:18:12 +02:00
Cameron McCormack
d41b45f15c
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Daniel Holbert
94c3779182
Bug 852769: Remove unnecessary \n characters from NS_ASSERTION messages in layout/svg. r=longsonr
2013-03-20 09:50:36 -07:00
Boris Zbarsky
c0d4537026
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
L. David Baron
ca6c366dc6
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Robert O'Callahan
3ac2cf9858
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
L. David Baron
0dd0412ea1
Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
...
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
David Zbarsky
edca27c095
Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr
2013-01-07 22:22:41 -05:00
David Zbarsky
c56d4cb5a9
Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
2013-01-06 01:25:54 -05:00
Jonathan Watt
9d6219aa45
Bug 802628 - Part 2, Fix broken invalidation in ReflowSVG implementations. r=mattwoodrow.
2012-11-28 10:34:58 +00:00