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
Trevor Saunders
c3f96258c3
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Cameron McCormack
8382e1a15b
Bug 890756 - Remove nsSVGTextFrame2::AutoCanvasTMForMarker. r=longsonr
2013-07-08 17:39:50 +10:00
Cameron McCormack
3a86ffa2bc
Bug 877957 - Don't use the context scale when determining the font size scale factor for non-display SVG text. r=longsonr
2013-07-08 10:38:16 +10:00
Cameron McCormack
27fbbd563b
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
Cameron McCormack
b631b5d788
Bug 890196 - Remove unnecessary code to fill out nsSVGTextFrame2::mPositions when more characters are specified than positions. r=longsonr
2013-07-04 18:31:24 +10:00
Cameron McCormack
ef54b56523
Bug 889221 - Record dominant-baseline values correctly when traversing SVG text frames. r=roc
...
--HG--
extra : rebase_source : 0cd8bdd1d140f8991913355988ff26afdd65df2b
2013-07-03 15:31:44 +10:00
Cameron McCormack
9709ba8032
Bug 884718 - Inflate mRect of SVG text by a device pixel to paper over some rounding issues. r=roc
2013-06-29 22:59:35 +10:00
Cameron McCormack
40bd0412fb
Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron
2013-06-29 13:28:50 +10:00
Robert Longson
6153fc83db
Bug 829085 - Fix hit testing when vector-effect=non-scaling-stroke is used. r=dholbert
2013-06-26 13:31:06 +01:00
Cameron McCormack
4dd982ffc1
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
de6da097d6
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01: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
Cameron McCormack
abf1179f39
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Robert Longson
c3ff7dd93d
Bug 865901 - make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits. r=cam
2013-06-24 12:20:38 +01:00
Cameron McCormack
dac7d27984
Bug 885642 - Avoid iterating SVG text frames when they are dirty. r=longsonr
2013-06-22 20:57:13 +10:00
Cameron McCormack
0f567c9832
Bug 885608 - Call ScheduleReflowSVGNonDisplayText on character data mutations in a non-display <text>. r=longsonr
...
--HG--
extra : rebase_source : c6332ac1146dc71812c802a1160ee79ad266467e
2013-06-22 12:38:57 +10: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
Seth Fowler
35dc379fd8
Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert
2013-06-13 00:47:26 -07:00
Ed Morley
5b8c1b2eec
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
5c6989f531
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Cameron McCormack
9da62b7959
Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz
2013-06-12 13:20:19 +10:00
Cameron McCormack
d3677774f8
Bug 877429 - Remove GlyphMetricsUpdater. r=longsonr
2013-06-12 13:19:52 +10:00
Matt Woodrow
5f6ad27c2e
Bug 871917 - Schedule a paint when an nsSVGImageFrame gets an image changed notification. r=roc
2013-06-10 12:14:01 +12:00
Cameron McCormack
062da840ea
Bug 872353 - Remove nsSVGTextFrame2::Reflow(), which is currently unused. r=longsonr
2013-06-05 17:15:31 +10:00
Cameron McCormack
a32f35f9b3
Bug 876186 - Don't do anything with fill-rule on SVG text. r=longsonr
2013-06-04 10:18:21 +10:00
Cameron McCormack
b63bd9c849
Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt
2013-06-04 00:15:29 +10: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
Cameron McCormack
202592f20d
Bug 873806 - Part 1: Ensure non-display SVG text frames get reflowed. r=longsonr f=jwatt
...
--HG--
rename : layout/reftests/svg/text/clipPath-content.svg => layout/reftests/svg/text/clipPath-content-2.svg
rename : layout/reftests/svg/text/mask-content.svg => layout/reftests/svg/text/mask-content-2.svg
2013-06-04 00:15:29 +10:00
Cameron McCormack
2926cba94f
Comment tweak for clarity; no bug. (DONTBUILD)
2013-06-02 21:47:48 +10:00
Cameron McCormack
2326c16589
Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt
2013-05-30 18:34:59 +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
Cameron McCormack
c18b9f7a1a
Bug 877035 - Remove nsSVGTextFrame2::UpdateGlyphPositioning's aForceGlobalTransform argument and look at mGetCanvasTMForFlag instead. r=longsonr
2013-05-30 17:53:07 +10:00
Cameron McCormack
fcf5c02af5
Bug 877029 - Add a crashtest for calling nsSVGMarkerFrame::GetCanvasTM() inappropriately. r=longsonr
2013-05-30 17:48:15 +10:00
Cameron McCormack
a46f56dda8
Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt
2013-05-30 10:44:55 +10:00
Arnaud Sourioux
043b0fd84c
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
81db085aa4
Bug 876175 - Fix O(n^2) behavior and other perf issues with nsSVGGradientFrame::GetPaintServerPattern. r=roc
2013-05-27 08:34:01 +01:00
Jonathan Watt
ddccab29b8
Bug 876157 - Avoid expensive nsSVGGradientFrame::GetGradientTransform calls when gradients paint only a single color. r=roc
2013-05-27 08:31:39 +01:00
Jonathan Watt
3050badbd4
Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc
2013-05-24 18:32:33 +01:00
Ehsan Akhgari
71e2532022
Backed out changeset e3e70237a47a (bug 854765) because of mochitest-1 assertions
2013-05-24 16:02:48 -04:00
Jonathan Watt
f2b5376b3d
Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc
2013-05-24 18:32:33 +01:00
Jonathan Watt
490fd95cb0
Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc
2013-05-24 17:56:26 +01:00
Jonathan Watt
5d25e02c2e
Bug 875175 - Stop continuous reflow and invalidation of entire SVG when an element that is partially/wholly outside the viewport is subject to a transform animation. r=dbaron
2013-05-24 14:51:50 +01:00
Jonathan Watt
885a05fe89
Bug 875069 - nsSVGPathGeometryFrame::NotifySVGChanged needs to take account of stroke-width and non-scaling-stroke. r=dholbert
2013-05-23 15:30:14 +01:00