Commit Graph

1926 Commits

Author SHA1 Message Date
Jonathan Watt
d13b49a882 No bug - Add missing include guard to nsSVGInnerSVGFrame.h (apperently it's never had one!). 2013-11-18 14:29:47 +00:00
Jonathan Watt
20938e93f9 Bug 939534 - Follow-up to address review comments. r=heycam 2013-11-18 09:48:18 +00:00
Jonathan Watt
60a92735b1 Bug 939534 - Convert the SVG textPath code from gfxPath to Moz2D Path. r=heycam 2013-11-18 09:42:50 +00:00
Jonathan Watt
986088b126 Bug 930577 - Convert much of the SVG code for calculating path lengths and position at an offset along a path to Moz2D. r=heycam 2013-11-18 01:29:06 +00:00
Ehsan Akhgari
dd99c7a892 Bug 938864 - Build layout/svg in unified mode; blanket-r=glandium 2013-11-14 21:48:52 -05:00
Cameron McCormack
369c16ae68 Bug 936670 - Position text rendered runs by the first non-trimmed character in the run. r=longsonr 2013-11-17 18:32:56 +11:00
Robert O'Callahan
0116c0bdb4 Backout changesets 238b3c81f42c and rest of a417424f9213 (bug 928798 and rest of bug 923193 respectively)
--HG--
extra : rebase_source : a453412840da1eacb9d5c6f9f553137efa050e0c
2013-11-11 21:02:01 +13:00
Robert O'Callahan
6db16af142 Backout changesets 37f9a5424227, c1578a4fc86d and a417424f9213 (for bugs 933354, 929021 and 923193 respectively) while we figure out performance regressions
--HG--
extra : rebase_source : e4a004a15c92b5a8a8b780e7da779ac86d1c29be
2013-11-11 15:23:56 +13:00
Seth Fowler
b60db666b6 Bug 933057 (Part 1) - Correct scaling of SVG images in nsLayoutUtils::DrawSingleImage. r=dholbert 2013-11-08 15:14:53 -08:00
Andreas Gal
7cc27ca23c Bug 930451 - Part 3: Use the gradient cache for SVG gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Mike Hommey
50e2fd01b1 Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Matt Woodrow
f321c22346 Bug 922942 - Use the screen reference draw target in SVG. r=jwatt
--HG--
extra : rebase_source : 230fd579b052649c59b4e1f5f6725fc60f6a05ae
2013-10-15 13:29:15 +13:00
Cameron McCormack
6cb9ea8bcd Bug 928798 - Check nsSVGTextFrame2 for dirtiness when gettings it bounding box contribution. r=roc a=abillings 2013-11-03 11:21:51 +11:00
Jonathan Watt
121dda43b7 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
1fe28e78df Bug 932091 - Convert SVGBBox.mBBox to Moz2D. r=dholbert 2013-11-01 11:04:01 +00:00
Cameron McCormack
56c88d861c Back out bug 928798 (f532e4f26307). 2013-11-01 14:01:34 +11:00
Cameron McCormack
b292cb1b00 Bug 928798 - Check nsSVGTextFrame2 for dirtiness when gettings it bounding box contribution. r=roc
--HG--
extra : rebase_source : e9173104309e532e9e6773132b9a867e47c3ea11
2013-11-01 13:44:52 +11:00
Jonathan Watt
c3d8e2ffd8 Fix one line comment in nsISVGChildFrame.h. r=me, no bug 2013-10-29 08:14:40 +00:00
Jonathan Watt
2d9d4c1ac1 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
82c129d909 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
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Markus Stange
2ac1f04804 Bug 703872 - Use different scale factors for X and Y when determining the resolution for transformed filter rendering. r=jwatt 2013-10-24 10:09:09 +02:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Jonathan Watt
dbcd24e213 Bug 929441 - Stop unnecessarily setting a transform between emitting a path and stroking it. r=Bas 2013-10-22 23:45:51 +02:00
Jonathan Watt
a09d59ea9d Bug 929364 - Avoid changing the current transform between emitting the path and clipping using that path in the SVGAutoRenderState::CLIP case. r=heycam 2013-10-22 23:45:51 +02:00
Seth Fowler
5e6d1f8386 Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-22 13:37:57 +02:00
Kannan Vijayan
809746b013 Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE. 2013-10-21 14:39:33 -04:00
Seth Fowler
c10fe9ad6f Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-21 18:10:40 +02:00
Jonathan Watt
f93ec99ddd Bug 928879 - Move SVGTextContextPaint to nsSVGTextFrame2.h/.cpp. r=heycam 2013-10-21 13:54:28 +02:00
Robert O'Callahan
e4edd353f5 Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
--HG--
extra : rebase_source : f4f620acc51e14625f45b8022385d8a1112fd086
2013-10-03 08:34:24 -04:00
Matt Woodrow
806a534a20 Bug 926258 - Remove gfxFlattenedPath as it doesn't match the abstraction we want for Moz2D. r=roc 2013-10-15 16:23:21 +13:00
Robert Longson
12a368ec52 Bug 919371 - Make sure marker frames get the right parent. r=cam 2013-10-13 10:15:53 +01:00
Ehsan Akhgari
eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Seth Fowler
d94fd4cecc Bug 920621 (Part 1) - Correct for full page zoom in nsSVGImageFrame. (Partial revert of bug 600207.) r=dholbert 2013-10-02 19:04:28 -07:00
Ehsan Akhgari
fa0f489466 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
Ehsan Akhgari
44cb2c6702 Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
b155782d0a Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
290feb1ade Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
Robert Longson
a9cb23d3ec Bug 919900 - Correct bounding box calculations for empty text elements with svg.text.css-frames.enabled. r=heycam 2013-09-26 13:42:15 +01:00
Mats Palmgren
4974add798 Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert 2013-09-25 11:42:34 +00:00
Cameron McCormack
3e9878463d Bug 916704 - Always initialize SVGTextContentPaint::Paint and check SetupCairoState return value in nsSVGTextFrame2::PaintSVG. r=longsonr 2013-09-25 17:18:41 +10:00
Benoit Jacob
55d6cf1e20 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
Cameron McCormack
633b59f1ac Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr 2013-09-16 15:06:29 +10:00
Rik Cabanier
fc566afdce Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc 2013-09-14 20:40:11 -07:00
Timothy Nikkel
f538f22d78 Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats 2013-09-14 19:05:06 -05:00
Timothy Nikkel
84c603d990 Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats 2013-09-14 19:05:05 -05:00
Jonathan Kew
fa21bde76e bug 798843 followup - update property values in the default svg stylesheet. r=roc 2013-09-14 12:40:49 +01:00
Jonathan Kew
90fcad5f64 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
43e0322c30 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
f6f2b44c8f Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures. 2013-09-13 11:15:54 -04:00