Matt Woodrow
b64969f18b
Bug 1460491 - Part 1: Split nsDisplayItem::mVisibleRect into two members, one for each stated purpose. Gets rid of the save/restore since we no longer modify the building rect. r=jnicol
...
MozReview-Commit-ID: 5wcsSoZRN44
2018-05-16 15:56:32 +12:00
Boris Zbarsky
da3b7af4e4
Bug 1387143 part 21. Remove nsISelection getters for anchor and focus points. r=mats
...
Instead of copying spec-duplicating comments from nsISelection.idl to
Selection.webidl, this just points the latter to the right spec.
2018-05-08 13:52:38 -04:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Matt Woodrow
e037d14d46
Bug 1450189 - Don't invalidate display items when we get a new style context. r=miko
2018-04-04 16:17:25 +12:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
1f5d8de5cc
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Matt Woodrow
6f1864699b
Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas
2018-02-13 13:43:28 +13:00
Dorel Luca
3276af0faa
Backed out 3 changesets (bug 1436904) for many crashes see bugs: 1440281, 1440302, 1440303, 1440313. a=backout
...
Backed out changeset 27f0762d4472 (bug 1436904)
Backed out changeset 27640f52e188 (bug 1436904)
Backed out changeset 2b4d117c27dc (bug 1436904)
2018-02-22 17:28:59 +02:00
Matt Woodrow
2bcbca93c9
Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas
2018-02-13 13:43:28 +13:00
Andreea Pavel
6b1c143365
Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE
2018-01-04 23:33:08 +02:00
Mats Palmgren
639e6f50ee
Bug 1403986 part 1 - [css-ui] Treat text frames with only trimmable space as empty for 'text-overflow' purposes. r=jfkthame
2018-01-04 20:43:55 +01:00
Mats Palmgren
8e03ab46f2
Bug 1343980 - [css-ui] Skip anonymous boxes (rather than all pseudos) when looking for the 'overflow' style frame. r=bz
2018-01-04 20:43:55 +01:00
Alexis Beingessner
f67a0aa6bc
Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow
...
MozReview-Commit-ID: 5fmKfkO6hnO
2017-12-07 17:13:05 -05:00
Miko Mynttinen
896b0f3d84
Bug 1425078 - Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom r=mattwoodrow
...
MozReview-Commit-ID: E3neKT2sV4Q
2017-12-13 11:23:04 -06:00
Cosmin Sabou
3960483175
Backed out changeset 497efe3a096b (bug 1406231) for windows build bustages on build\build\src\obj-firefox\dist\include\mozilla/layers/ScrollingLayersHelper.h(48) r=backout on a CLOSED TREE
2017-12-08 13:04:05 +02:00
Alexis Beingessner
31cbc80cb8
Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow
...
MozReview-Commit-ID: 5fmKfkO6hnO
2017-12-07 17:13:05 -05:00
Matt Woodrow
c87f4fda09
Bug 1406727. r=froydnj
2017-11-16 16:09:28 +13:00
Narcis Beleuzu
b329d068c1
Backed out changeset 0f783930e1b2 (bug 1406727) for GTest failures on ArenaAllocator. r=backout on a CLOSED TREE
2017-11-16 07:45:06 +02:00
Matt Woodrow
c23d838304
Bug 1406727. r=froydnj
2017-11-16 16:09:28 +13:00
Mats Palmgren
2544eb586c
Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio
...
MozReview-Commit-ID: 8FPTPKWyVtY
2017-11-09 03:00:48 +01:00
Daniel Holbert
8fea3c215f
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
2017-10-27 10:33:53 -07:00
Jonathan Kew
0180c6fc88
Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel
2017-10-24 09:59:09 +01:00
Markus Stange
2945370dcd
Bug 1365528 - Respect mDisableSubpixelAA on nsDisplayTextOverflowMarker items. r=mattwoodrow
...
MozReview-Commit-ID: HictqQFOvbK
2017-10-20 15:21:54 -04:00
Matt Woodrow
24ca46729c
Bug 1406727. r=mstange,froydnj a=abillings
2017-10-17 15:19:44 +13:00
Alexis Beingessner
f365063fa9
Bug 1406510 - rewrite TextDrawTarget to push directly into display list. r=jrmuizel
...
MozReview-Commit-ID: 7rPGlYmmgeg
2017-10-12 17:17:41 -04:00
Nicholas Nethercote
7dbfdaf890
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Alexis Beingessner
41c8b961e6
Bug 1405927 - Change PushGlyphs to take webrender formats. r=jrmuizel
...
Also cleans up a bunch of TextDrawTarget code as fallout.
This is a significant perf win for textFrames.
MozReview-Commit-ID: J1BDkXZdvnc
2017-10-04 13:49:51 -04:00
Kartikaya Gupta
cbacb77052
Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
...
MozReview-Commit-ID: 7FYVirQ5pal
2017-10-03 16:31:07 -04:00
Markus Stange
d80864f93d
Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=botond,Gankro
...
MozReview-Commit-ID: GuJp2rHuHXj
2017-09-29 17:56:48 -04:00
Wes Kocher
8bb6b175b8
Backed out changeset 35eef74c99f2 (bug 1404137) for windows build bustage a=backout
...
MozReview-Commit-ID: 7p79NTmrSSK
2017-09-29 11:18:12 -07:00
Markus Stange
6b706d14f9
Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=Gankro
...
MozReview-Commit-ID: 3r2mkbZCprX
2017-09-28 18:08:52 -04:00
Matt Woodrow
63559fb631
Bug 1402204 - Remove NS_SCROLLFRAME_INVALIDATE_CONTENTS_ON_SCROLL as it doesn't appear to be needed any more. r=mats
2017-09-20 13:12:37 +12:00
Alexis Beingessner
285de9f30d
Bug 1400382 - Implement CreateWebRenderCommands for nsDisplayTextOverflow. r=mstange
...
MozReview-Commit-ID: EQtFvLQCT2U
2017-09-21 15:15:58 -04:00
Wes Kocher
44c4ae360e
Merge inbound to central, a=merge
...
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
Matt Woodrow
0bc2def93b
Bug 1397059 - Make sure we generate unique display item keys for nsDisplayTextOverflowMarker. r=mats
2017-09-13 15:28:24 -04:00
Miko Mynttinen
1d15e14450
Bug 1359584 - Part 3: Improve nsDisplayItem const correctness and fix surrounding whitespace r=mstange
...
MozReview-Commit-ID: 3GkWiu6C4Zo
2017-08-24 17:09:44 +02:00
Matt Woodrow
8370362323
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
...
* * *
[mq]: fix
MozReview-Commit-ID: LUXZAIL73BJ
2017-08-07 16:07:43 +12:00
Sebastian Hengst
1e52933103
Backed out changeset e9985564e081 (bug 1388162) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:20 +02:00
Matt Woodrow
b0bdae09c7
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
2017-08-07 16:07:43 +12:00
Daniel Holbert
5605f3898d
Bug 1284888 part 2: Make TextOverflow::WillProcessLines() return a UniquePtr, for stronger lifetime guarantees. r=jfkthame
...
MozReview-Commit-ID: 7KVsFlxuL9p
2017-07-18 22:42:42 -07:00
Wes Kocher
e047e22822
Backed out 2 changesets (bug 1284888) for windows build failures in TextOverflow.h a=backout
...
Backed out changeset 520df8c2a0ac (bug 1284888)
Backed out changeset 39e9b0e7ae04 (bug 1284888)
MozReview-Commit-ID: CIzl29LVfFM
2017-07-18 20:59:51 -07:00
Daniel Holbert
bf98e2ad8f
Bug 1284888 part 2: Make TextOverflow::WillProcessLines() return a UniquePtr, for stronger lifetime guarantees. r=jfkthame
...
MozReview-Commit-ID: 7KVsFlxuL9p
2017-07-18 10:48:07 -07:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Alexis Beingessner
3117218f13
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-13 11:00:10 -04:00
Sebastian Hengst
1b1d14e565
Backed out changeset 3d1ce85e6348 (bug 1088760) for bustage, at least on Android at layout/generic/nsPluginFrame.cpp:1612. r=backout
2017-06-13 00:30:03 +02:00
Alexis Beingessner
c6fbc5e17e
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-12 17:32:48 -04:00
Lee Salzman
0b67991b20
Bug 1305036 - implement nsDisplayTextOverflowMarker::GetComponentAlphaBounds to handle ellipsis with subpixel AA. r=mstange
...
MozReview-Commit-ID: Bedd3JIvzKy
2017-06-01 17:08:54 -04:00