Commit Graph

68 Commits

Author SHA1 Message Date
Arnaud Sourioux
02b48ee29a Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert 2014-02-24 09:41:56 -05:00
Arnaud Sourioux
94fd6d0fd6 Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
Max Vujovic
2b722685f9 Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc 2014-02-09 20:31:03 -08:00
Max Vujovic
c040ed0337 Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc 2014-02-06 10:42:35 -08:00
Ryan VanderMeulen
c81970ba83 Backed out changeset d4251829067b (bug 948265) for bustage.
CLOSED TREE
2014-02-07 11:05:39 -05:00
Max Vujovic
e71610817d 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
28ff3ad25f 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
31de23a050 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
74757f31d9 Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert 2014-01-04 08:29:02 +00:00
Robert Longson
ee5d7f984b Bug 955917 (Part 2) - Remove unused functions from nsSVGUtils. r=dholbert 2014-01-03 08:57:43 +00:00
Robert Longson
f044a11867 Bug 955917 - Remove unused functions from nsSVGUtils. r=dholbert 2014-01-02 12:09:07 +00:00
Robert Longson
dbaf4961b0 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
d804475b12 Bug 952977: Switch GetCTM to gfx::Matrix r=nical 2013-12-31 13:44:27 -05:00
David Zbarsky
e7dc44ded2 Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical 2013-12-30 16:42:26 -05:00
David Zbarsky
a574e57920 Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical 2013-12-30 01:50:07 -05:00
David Zbarsky
71ac1019d5 Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
David Zbarsky
c024b6d2a8 Backout b04bd18e5692 for reftest failure 2013-12-26 15:13:57 -05:00
Robert Longson
6b705fc597 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
9d29840f11 Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical 2013-12-26 13:06:54 -05:00
Robert Longson
2ae7c3bcad 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
f2f8db66e6 Bug 924103 - Use Moz2D for SVG filter rendering. r=roc 2013-11-27 12:25:29 +01:00
Robert Longson
5fcf025d42 Bug 939942 - Reflow when bounds changes due to stroke creation/removal. r=jwatt 2013-11-23 13:32:21 +00:00
Jonathan Watt
6e039d23da Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam 2013-11-18 14:29:53 +00:00
Jonathan Watt
931d4e7ee9 Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam 2013-11-18 14:29:52 +00:00
Jonathan Watt
6d1ae94392 Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam 2013-11-18 14:29:51 +00:00
Jonathan Watt
0480968b71 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
7c20d22345 Bug 932091 - Convert SVGBBox.mBBox to Moz2D. r=dholbert 2013-11-01 11:04:01 +00:00
Jonathan Watt
02f8d86179 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
f6074593a6 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
a3083fe413 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
a23cd291d5 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
4f0b573862 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
0f90257361 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
f7c9c54b27 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
1bb33a7108 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
a6a7666b83 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
fa51668733 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
9ee8fe3acb 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
a3d913c879 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
97e3c032bc Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Max Vujovic
cac859d2f2 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
e57c8ad0ef 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
3c1809b4b3 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
9d41eb15f3 Bug 886611 part 2: Rename the nsSVGUtils function SetupCairoStrokeHitGeometry() to SetupCairoStrokeGeometry() . r=longsonr 2013-06-24 23:05:32 -07:00
Daniel Holbert
310aa40a9d Bug 886611 part 1: Rename the nsSVGUtils function SetupCairoStrokeGeometry() to SetupCairoStrokeBBoxGeometry() . r=longsonr 2013-06-24 23:05:31 -07:00
Robert Longson
9002dd84b5 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
fc0c97f294 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
d6090bdaa6 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
11409d7c18 Bug 594019 - Make the calculation in nsSVGMaskFrame::ComputeMaskAlpha one-pass. r=longsonr 2013-02-28 09:50:38 +00:00
Jonathan Kew
2ec999237c bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00