Jonathan Watt
012086d51e
Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas
2014-10-17 12:53:16 +01:00
Robert Longson
06b2d8c986
Bug 1078031 - get rid of renderMode. r=jwatt
2014-10-11 09:24:44 +01:00
Jonathan Watt
d0384c7376
Bug 932762, part 2 - Make SVG elements cache their Moz2D path data to speed up rendering, hit-testing, clipPath clipping, bbox calculations and animation/text along a path. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
90505fa583
Bug 1074294, part 1 - Convert SVGAutoRenderState to act on a Moz2D DrawTarget. r=longsonr
2014-09-30 18:08:13 +01:00
Jonathan Watt
3170c76d6b
Bug 1074012, part 3 - Make nsSVGUtils::MakeFillPatternFor/MakeStrokePatternFor return using a Moz2D GeneralPattern out-param rather than a Thebes gfxPattern. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
919804b8fd
Bug 1073974, part 1 - Make simple SVG clipPath clipping use a Moz2D Path object directly. r=longsonr
2014-09-29 14:15:19 +01:00
Jonathan Watt
6c0ad19795
Bug 1073972 - Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
fd864b4fa5
Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
9cc4d5beef
Bug 1073854, part 2 - Get rid of nsSVGUtils::SetupCairoStroke. r=longsonr
2014-09-29 14:12:07 +01:00
Jonathan Watt
e4fa74c86f
Bug 1073012 , part 1 - Replace nsSVGUtils::SetupCairoFillPaint with a helper that returns a gfxPattern. r=longsonr
2014-09-29 14:12:06 +01:00
Jonathan Watt
1f2e38033c
Bug 1073888 - Stop setting state on the gfxContext under SVGTextFrame::SetupCairoState, and restructure the code to make it easier to understand. r=heycam
2014-09-28 10:06:22 +01:00
Jonathan Watt
4e11b5293f
Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas
2014-09-15 12:10:30 +01:00
Jonathan Watt
b4f1c21e73
Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
4ede9ea3e8
Bug 1062249 - Vastly simplify the various GetCanvasTM methods. r=longsonr
2014-09-08 12:28:50 +01:00
Cameron McCormack
0c4e0c6970
Bug 1042860 - Handle animated attribute changes on descendants of SVG <text> elements. r=dholbert
2014-09-08 12:34:20 +10:00
Jonathan Watt
c8920e34bd
Bug 1063853, part 2 - Move all nsRenderingContext user data to the wrapped Moz2D DrawTarget. r=Bas
2014-09-05 18:11:35 +01:00
Jonathan Watt
eabbbf9d8d
Bug 932771, part 3 - Make PaintSVG painting work by passing transforms down, rather than walking up the tree using GetCanvasTM. r=longsonr
2014-08-29 20:42:07 +01:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
David Zbarsky
a219682afb
Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical
2014-08-22 09:40:02 -04:00
Robert O'Callahan
2632a625e0
Bug 1048752. Part 19: Create nsCaret::GetPaintGeometry to call during painting. r=tn
...
This is the start of the changes to caret-drawing proper.
The idea is to combine GetCaretFrame and GetCaretRect into a method
GetPaintGeometry which looks like GetGeometry but returns values
needed for painting (i.e. including bidi decorations, and returning
a null frame if we're not supposed to paint due to specific caret
state, e.g. in the "off" phase of the blink cycle).
Mostly a straightforward refactoring but there are a few interesting changes:
-- nsDisplayCaret stores its bounds instead of getting them from nsCaret on
demand. Eventually those bounds will not be stored in nsCaret at all.
-- nsDisplayCaret::GetBounds returns true for aSnap. nsCaret draws snapped
rects, so why not.
-- I removed "if (caretRect.Intersects(aDirtyRect))" in EnterPresShell.
As far as I can tell, this check is incorrect because it doesn't take
transforms into account. Since there's at most one drawn caret per window,
hence we do this at most once per paint, I don't think there's any real
performance advantage to having this check.
2014-08-06 17:19:28 +12:00
Robert O'Callahan
bed9de9439
Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
...
The forward declaration of Selection in nsCaret.h will be used in later patches.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
6fb18233c7
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
2014-08-06 17:19:27 +12:00
Jonathan Watt
f6095ddf73
Bug 1049256, part 2 - Get rid of nsISVGChildFrame::FOR_HIT_TESTING. r=longsonr
2014-08-07 08:09:34 +01:00
Jonathan Watt
edca66335f
Bug 1049256, part 1 - Convert SVG hit-testing to act on an SVG user space point instead of calling nsSVGUtils::GetCanvasTM(). r=longsonr
2014-08-07 08:09:31 +01:00
Jonathan Watt
be1fde1249
Bug 1049242 - Avoid hit-testing against the same clip-path for every SVG text frame that hits. r=heycam
2014-08-07 06:24:54 +01:00
Jonathan Kew
fe8090d7de
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
c7e5b8d9dc
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Simon Montagu
659c93475e
Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame
2014-07-24 01:30:07 -07:00
Simon Montagu
0132cc9646
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -07:00
Jonathan Watt
2b76c610a0
Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas
2014-07-11 08:07:07 +01:00
Jonathan Watt
31639cea0a
Bug 1025553, part 3 - Give gfxMatrix::Invert() the same semantics as Moz2D's Matrix::Invert(). r=Bas
2014-07-11 08:06:39 +01:00
Anuj Agarwal
0b62e951dd
Bug 1029141 - Refactor SVGTextFrame::MutationObserver, de-virtualizing & privatizing its public destructor. r=dholbert
2014-07-02 12:09:00 +02:00
Jonathan Watt
45e707ce2a
Bug 1034115 - Stop creating CSS-px-to-dev-pixel matrices when doing SVG hit-testing. r=longsonr
2014-07-05 19:19:13 +01:00
Jonathan Watt
552df6e47a
Bug 1034574 - Remove SVGContentUtils::CoordToFloat's aPresContext argument. r=longsonr
2014-07-05 19:19:13 +01:00
Simon Montagu
614fa9614f
Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame
2014-06-17 05:19:38 -07:00
Mats Palmgren
81f3a21c91
Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
bebbaf8351
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Daniel Holbert
58e4797429
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00
John Daggett
461e1f37bd
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-04-08 14:13:28 +09:00
Carsten "Tomcat" Book
da78b8123a
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
John Daggett
72cbd29d79
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Jonathan Watt
3b4659d3cb
Bug 984280 - Convert DOMSVGPoint from Thebes to Moz2d. r=heycam
2014-03-19 09:13:18 +08:00
Jonathan Kew
3487faa35b
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Matt Woodrow
adaccdda6f
Bug 976812 - Mark nsDisplaySVGText as using component alpha. r=heycam
2014-02-27 15:57:45 +13:00
Arnaud Sourioux
a7fb7f5ece
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
fe6152ac7a
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
fdf311f38d
Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert
2014-02-19 14:34:31 -08:00
Robert Longson
7be10829c1
Bug 970356 - neither getSubStringLength, nor selectSubString should throw if nchars is too large. r=cam
2014-02-18 14:29:27 +00:00
Arnaud Sourioux
c55abda61c
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00