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
5dc11fc229
Bug 889736, part 2 - Remove nsSVGTextPathFrame. 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
fd61f2454d
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
804822ca23
Bug 939534 - Follow-up to address review comments. r=heycam
2013-11-18 09:48:18 +00:00
Jonathan Watt
a6f826c3e3
Bug 939534 - Convert the SVG textPath code from gfxPath to Moz2D Path. r=heycam
2013-11-18 09:42:50 +00:00
Jonathan Watt
1f4b1d12c2
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
a9b361e017
Bug 938864 - Build layout/svg in unified mode; blanket-r=glandium
2013-11-14 21:48:52 -05:00
Cameron McCormack
bb7d917108
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
d35bc20460
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
654b2fe263
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
f5c4899942
Bug 933057 (Part 1) - Correct scaling of SVG images in nsLayoutUtils::DrawSingleImage. r=dholbert
2013-11-08 15:14:53 -08:00
Andreas Gal
75a4efaf58
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
6b4f0058ce
Bug 935387 - Remove non recursed install targets. r=mshal
2013-11-07 10:37:45 +09:00
Matt Woodrow
0604fa2aa9
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
b714fb8a83
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
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
Cameron McCormack
e1e7d5086b
Back out bug 928798 (f532e4f26307).
2013-11-01 14:01:34 +11:00
Cameron McCormack
03457ad84c
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
b4c12bc9ce
Fix one line comment in nsISVGChildFrame.h. r=me, no bug
2013-10-29 08:14:40 +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
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Markus Stange
b570e91848
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
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09: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
Jonathan Watt
927534b8bb
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
d51d4f7e86
Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert
2013-10-22 13:37:57 +02:00
Kannan Vijayan
6e9b3e6350
Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE.
2013-10-21 14:39:33 -04:00
Seth Fowler
3bc76cf8cc
Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert
2013-10-21 18:10:40 +02:00
Jonathan Watt
7220defdb6
Bug 928879 - Move SVGTextContextPaint to nsSVGTextFrame2.h/.cpp. r=heycam
2013-10-21 13:54:28 +02:00
Robert O'Callahan
82d7a2bd79
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
d84a67ef04
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
85d52e0066
Bug 919371 - Make sure marker frames get the right parent. r=cam
2013-10-13 10:15:53 +01: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
Seth Fowler
a640994d6d
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
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
Ehsan Akhgari
8778f7536d
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
6c364e9615
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
0a3a2ee94a
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
7e0b7e4125
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
5a3cdd8297
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
e740c96c5b
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
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
Cameron McCormack
f5495def59
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
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
Timothy Nikkel
10932d1189
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
ff6006c467
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
443d712890
bug 798843 followup - update property values in the default svg stylesheet. r=roc
2013-09-14 12:40:49 +01:00
Jonathan Kew
1edbfad3fc
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
3b628f2098
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
eda259c9c3
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04: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
e4edfa434e
bug 915093 - don't ignore the context matrix when getting stroke pattern for SVG glyphs. r=roc
2013-09-12 09:18:54 +01: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
Benoit Jacob
bd8899eab6
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Markus Stange
93ce3f0bdc
Bug 912953 - Protect against empty rects causing invalidation due to rounding in nsSVGFilterFrame.cpp. r=roc
2013-09-06 11:31:17 +02:00
Markus Stange
3ce60b4dee
Bug 912953 - Protect against empty rects causing invalidation due to rounding in nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects. r=roc
2013-09-06 11:30:27 +02:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04: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
Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Ms2ger
023851560d
Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures.
2013-08-24 10:27:21 +02:00
Markus Stange
c14dde2906
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
Ehsan Akhgari
9f715b764c
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -04:00
Ms2ger
add9ce17b9
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
5fa9157954
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Jonathan Watt
401124f339
Bug 901955 - Get 'opacity' property changes on SVG working again. r=roc
2013-08-14 10:51:00 +01:00
Robert Longson
ba91dda0ae
Bug 903732 - Stop leaking gfxPattern objects when using CSS text frames. r=dholbert
2013-08-12 19:39:08 +01:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Timothy Nikkel
ad442249cc
Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange
2013-08-01 15:42:34 -05:00
Cameron McCormack
c3e4238af9
Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-31 10:39:04 +10:00
Cameron McCormack
c6363b28a7
Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt
2013-07-30 09:47:30 +10:00
Cameron McCormack
f14bc297d5
Bug 898951 - Ignore undisplayed characters when getting partial glyph advances. r=jwatt
...
--HG--
extra : rebase_source : 535f6cf6b159b964cf47ca54f718b60656e3ca48
2013-07-30 09:44:48 +10: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
Xidorn Quan
48b3365f04
Bug 786254 - SVG effects rendering doesn't pixel snap, causing faint vertical lines appear on some tabs. r=roc
2013-07-24 09:03:11 -04:00
Cameron McCormack
7bd29a23dc
Bug 897342 - Don't try to adjust text for textLength="" when there is no opportunity to do so. r=jwatt
2013-07-24 21:47:07 +10:00
Cameron McCormack
4ff0f92bc1
Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-24 15:13:54 +10: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
L. David Baron
a187fb3edb
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
David Zbarsky
83fc997959
Bug 892853 - Remove some xpidl for SVG r=Ms2ger
2013-07-17 23:54:09 -07:00
Mike Hommey
ffd522d5c2
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Cameron McCormack
7d630509ae
Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt
2013-07-15 18:15:49 +10:00
Cameron McCormack
0b6c519766
Bug 893500 - Don't check for SVG text context scale changes when non-display. r=longsonr
2013-07-15 17:09:27 +10:00
Cameron McCormack
2b44ade39e
Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc
2013-07-12 17:13:07 +10:00
Cameron McCormack
ea06598fbd
Bug 890782 - Reflow SVG text inserted into non-display containers. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
723d3df830
Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt
2013-07-12 17:13:07 +10: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
cda789eda2
Bug 890782 - Part 1: Return early in UpdateGlyphPositioning if frames are dirty. r=longsonr
2013-07-12 17:13:06 +10:00
Cameron McCormack
0f17d6d6ae
Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr
2013-07-12 16:39:38 +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
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Daniel Holbert
815c5fe089
Bug 892108: Simplify a SVG check to use HasViewBoxOrSyntheticViewBox(). r=jwatt
2013-07-10 16:20:54 -07:00
Ryan VanderMeulen
c9d5a706a1
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00