Max Vujovic
2271f29c1c
Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc
2014-02-07 10:48:39 -05:00
Benoit Jacob
93826fc6b0
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Markus Stange
a1e1aa68f2
Bug 957366 - Skip the temporary surface during filter drawing for DrawTarget-backed gfxContexts. r=roc
2014-01-08 10:30:57 +01:00
Robert Longson
5b8417d928
Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert
2014-01-04 08:29:02 +00:00
Robert Longson
db1cff7bfd
Bug 955917 (Part 2) - Remove unused functions from nsSVGUtils. r=dholbert
2014-01-03 08:57:43 +00:00
Robert Longson
89bfbebcb1
Bug 955917 - Remove unused functions from nsSVGUtils. r=dholbert
2014-01-02 12:09:07 +00:00
Robert Longson
56edf6483f
Bug 955854 - Remove unused colour space mapping code and move the rest to nsSVGMaskFrame. r=dholbert
2014-01-02 12:01:29 +00:00
David Zbarsky
7f9dd8b4db
Bug 952977: Switch GetCTM to gfx::Matrix r=nical
2013-12-31 13:44:27 -05:00
David Zbarsky
59faaf84bd
Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical
2013-12-30 16:42:26 -05:00
David Zbarsky
2ba3c734ce
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
David Zbarsky
ca9e9d862a
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
David Zbarsky
40af6136a8
Backout b04bd18e5692 for reftest failure
2013-12-26 15:13:57 -05:00
Robert Longson
68759d6543
Bug 953064 - Add MOZ_STACK_CLASS and MOZ_GUARD_OBJECT_NOTIFIER to various classes. r=dholbert
2013-12-26 18:49:49 +00:00
David Zbarsky
6a26b7bdac
Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical
2013-12-26 13:06:54 -05:00
Robert Longson
abcd22038e
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
...
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Markus Stange
df500c9ab8
Bug 924103 - Use Moz2D for SVG filter rendering. r=roc
2013-11-27 12:25:29 +01:00
Robert Longson
b978599ff0
Bug 939942 - Reflow when bounds changes due to stroke creation/removal. r=jwatt
2013-11-23 13:32:21 +00:00
Jonathan Watt
9ab25aeece
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
769a3a3091
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
159a62b18f
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Jonathan Watt
d458546af0
Bug 932761 - Implement Moz2D path builders for all of the SVG element types. r=dholbert
2013-11-02 11:10:38 +00:00
Jonathan Watt
69b16aa0e0
Bug 932091 - Convert SVGBBox.mBBox to Moz2D. r=dholbert
2013-11-01 11:04:01 +00:00
Jonathan Watt
3664526a04
Bug 931769, part 3 - Move MaxExpansion() from nsSVGUtils to nsSVGPatternFrame, and convert it to Moz2D. r=dholbert
2013-10-29 08:14:40 +00:00
Jonathan Kew
268fd62c54
bug 930420 - respect any transform on the glyph element itself when calculating SVG glyph extents. r=heycam
2013-10-25 10:09:30 +02:00
Jonathan Watt
522bec9624
Bug 929441 - Stop unnecessarily setting a transform between emitting a path and stroking it. r=Bas
2013-10-22 23:45:51 +02:00
Ehsan Akhgari
b6bef348c1
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ehsan Akhgari
7e5b2154cf
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Benoit Jacob
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Rik Cabanier
37cda4a234
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Jonathan Kew
e57e75500d
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Edwin Flores
4e93f109ae
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Jonathan Kew
b877a162e9
bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam
2013-09-11 08:27:45 +01:00
Robert O'Callahan
b134297d56
Bug 906521. Part 7: Handle cases where an SVG glyph has no frame or a non-SVG frame without crashing in debug builds. r=jfkthame
...
--HG--
extra : rebase_source : 52c4c01e8f2530f44f2799cd1958008979e4fc2e
2013-08-20 01:08:43 +12:00
Max Vujovic
dd92ca0dd1
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Ed Morley
b8d2e3631d
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
695c4ee979
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
Cameron McCormack
4d5eacea09
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
Cameron McCormack
ba324f7147
Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr
2013-07-12 16:39:38 +10:00
Daniel Holbert
6bb8d57c98
Bug 886611 part 2: Rename the nsSVGUtils function SetupCairoStrokeHitGeometry() to SetupCairoStrokeGeometry() . r=longsonr
2013-06-24 23:05:32 -07:00
Daniel Holbert
db757534db
Bug 886611 part 1: Rename the nsSVGUtils function SetupCairoStrokeGeometry() to SetupCairoStrokeBBoxGeometry() . r=longsonr
2013-06-24 23:05:31 -07:00
Robert Longson
3832625164
Bug 876450 - non-scaling-stroke doesn't work with svg.text.css-frames.enabled. r=heycam
...
--HG--
rename : layout/reftests/svg/non-scaling-stroke-03-ref.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg
rename : layout/reftests/svg/non-scaling-stroke-03.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke.svg
2013-06-16 12:05:39 +01:00
Cameron McCormack
ba14fda171
Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr
2013-06-04 00:15:29 +10:00
Jonathan Watt
56c99c99f4
Bug 827915 - Get rid of SVG's own invalidation mechanisms and rely on DLBI instead. r=dholbert
2013-05-30 09:28:13 +01:00
O S K Chaitanya
2d21bf3f80
Bug 594019 - Make the calculation in nsSVGMaskFrame::ComputeMaskAlpha one-pass. r=longsonr
2013-02-28 09:50:38 +00:00
Jonathan Kew
4a6209493f
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
David Zbarsky
fd6e8609f2
Bug 837044 - Convert SVGFilterElement to WebIDL r=bz
2013-02-17 21:14:02 -05:00
L. David Baron
822b2ca3bc
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
L. David Baron
63fdfec174
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Cameron McCormack
441ad600ab
Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr
2013-02-11 17:22:18 +11:00
Cameron McCormack
c2ead7265d
Bug 655877 - Part 41a: Move ToCanvasBounds to nsSVGUtils. r=longsonr
2013-02-11 17:22:18 +11:00