Jonathan Watt
2ae60576c4
Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth
2014-11-01 10:45:09 +00:00
Jonathan Watt
b431664247
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Chris Pearce
ba61cbee5b
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Ryan VanderMeulen
6e2135feef
Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
2014-10-29 12:31:43 -04:00
Robert O'Callahan
dd6789b518
Bug 1088498. Treat anchor offsets just less than 0.5 as 0.5 when rounding. r=seth
2014-10-29 15:08:40 +13:00
Robert O'Callahan
e2a7560d05
Bug 1052900. Restore -moz-win-exclude-glass handling to the way it worked before. r=tn
2014-10-29 12:33:52 +13:00
Chris Pearce
e8c7d1c503
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Jonathan Watt
38d8f2dd23
Bug 1088781 - Rename nsLayoutUtils::GetStringWidth to nsLayoutUtils::AppUnitWidthOfStringBidi. r=dholbert
2014-10-26 17:57:49 +00:00
Botond Ballo
44b608d976
Bug 1085569 - When calculating the composition bounds based on the frame size, use the cumulative resolution rather than the parent resolution everywhere. r=tn
2014-10-20 15:53:29 -04:00
Jonathan Watt
a459e03874
Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange
2014-10-24 16:28:15 +01:00
Jonathan Watt
3c69ad6faa
Bug 1088625, part 2 - Pass nsFontMetrics objects through to code that needs it instead of storing it on the nsRenderingContext. r=mstange
2014-10-24 16:28:14 +01:00
Jonathan Watt
05b59bc989
Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes
2014-10-24 16:28:14 +01:00
Jonathan Watt
abbc6ac8ac
Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange
2014-10-24 16:28:14 +01:00
Jonathan Watt
10b10a6bef
Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange
2014-10-24 16:28:13 +01:00
Jonathan Watt
3d7cc0843f
Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame
2014-10-24 11:00:23 +01:00
Jonathan Watt
16e135bc53
Bug 1088071, part 1 - Wrap the callers of the final nsRenderingContext::DrawString method up in a new nsLayoutUtils::DrawUniDirString method. r=jfkthame
2014-10-24 11:00:23 +01:00
Matt Woodrow
8d847a7a2a
Bug 1078337 - Correctly respect the source rect in DrawSingleImage. r=seth
2014-10-23 11:41:14 +13:00
Jonathan Watt
3b52cf43ad
Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow
2014-10-22 12:29:06 +01:00
Robert O'Callahan
8633487ab3
Bug 1073290. Don't render with displayports if we're not painting to the window. r=mattwoodrow
2014-10-21 10:32:11 +13:00
Benoit Girard
8ad6049025
Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow
2014-10-21 21:54:06 -04:00
Jonathan Watt
737ed37340
Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
2014-10-20 10:55:49 +01:00
Jonathan Watt
5d42f29aa8
Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
2014-10-20 10:55:48 +01:00
Jonathan Watt
6a1953e045
Bug 1083597, part 2 - Add a variant of NSRectToRect that snaps to device pixels, and have nsTableCellFrame::DecorateForSelection use it to restore its snapping behavior.
2014-10-19 11:47:22 +01:00
Jonathan Watt
a85c726c1e
Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow
2014-10-17 15:06:34 +01:00
Kartikaya Gupta
f6083d562d
Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond
2014-10-16 09:23:52 -04:00
Kartikaya Gupta
95fca36baf
Bug 1071686 - Enable creation of an initial displayport on non-B2G platforms. r=mstange
2014-10-14 14:51:34 -04:00
Ryan VanderMeulen
5d8412b474
Backed out changeset 7ab2fdaadd1a (bug 1078337) for crashes and reftest failures.
2014-10-12 20:39:44 -04:00
Matt Woodrow
edcac3d2d3
Bug 1078337 - Use the clipped image in DrawSingleImage if one was requested. r=seth
2014-10-13 11:49:22 +13:00
Brian Birtles
d1acd4f706
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
...
This patch adds a method to nsLayoutUtils, alongside the existing
HasCurrentAnimations, that returns true if there exists an unfinished animation
on the element for the specified property.
2014-10-02 15:14:14 +09:00
Brian Birtles
7852c7f1b9
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
2014-10-02 15:14:13 +09:00
Jonathan Kew
b107bf5af1
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01:00
Dirk Schulze
c3c99dcc17
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Kartikaya Gupta
caf3c1bdc9
Bug 1073354 - Update documentation that refers to the now-removed RecordFrameMetrics. r=tn DONBUILD
2014-09-26 11:29:38 -04:00
Seth Fowler
65a182aade
Bug 1067191 (Part 1) - Use an unsnapped destination rect when computing transforms for image drawing. r=roc
2014-09-25 14:09:53 -07:00
Milan Sreckovic
fe944b11f6
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Kartikaya Gupta
478070128a
Bug 1071367 - Fix the composition bounds for the root content document on OS X. r=tn
...
According to roc the content viewer position doesn't mean much; only the size is
set to anything meaningful. Therefore using the position from the content viewer
bounds is not a good idea, and we should use the position from the frame bounds
instead. This patch also changes GetContentViewerBounds to GetContentViewerSize
so that it's harder to accidentally use the position in other places.
2014-09-23 12:17:36 -04:00
Markus Stange
6f4ef35b61
Bug 944836 - Build a draggable region for the window based on the -moz-window-dragging property. r=roc
2014-09-18 10:52:27 +02:00
Seth Fowler
d34a03e387
Bug 1064855 - Handle zero area destination rects during image snapping. r=roc
2014-09-16 16:18:49 -07:00
Jonathan Kew
03b0ef6aae
bug 1057331 - add orientation flags to gfxShapedText/gfxTextRun and to glyph runs within the text run, and split glyph runs on orientation changes. r=jdaggett
2014-09-16 12:25:45 +01:00
Ting-Yu Lin
f5f9b2364a
Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc
2014-09-15 02:57:00 +02:00
Ting-Yu Lin
c10012f9f8
Bug 1065244 - Part 1 - Add GetRectRelativeToFrame to nsLayoutUtils. f=mtseng, r=roc
2014-09-15 17:07:00 +02:00
Jonathan Watt
842e7d2157
Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:10 +01:00
Robert O'Callahan
e81e80bf0f
Bug 1061045. Remove dirtyRect save/restore from Enter/LeavePresShell since they're not needed anymore. r=tn
2014-09-06 16:16:34 +12:00
David Zbarsky
dab4416cdc
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04:00
Arnaud Sourioux
c2bd526eb9
Bug 1040582 - Change nsLayoutUtils.cpp's MULDIV Macro to inline function in nsCoord.h. r=dholbert
2014-08-29 01:14:00 -04:00
Jonathan Kew
24f8dcfb05
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Seth Fowler
c25a32c077
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
2014-08-22 13:12:38 -07: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
Matt Woodrow
3e4fdd6a6f
Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
2014-08-22 12:16:44 +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