Commit Graph

26645 Commits

Author SHA1 Message Date
Jeff Muizelaar
6017f891b8 Bug 1648601 - Rollout WebRender to Mac on AMD and Nvidia too. r=aosmond
There hasn't been much complaint with it being on so far so let's get
more.

Differential Revision: https://phabricator.services.mozilla.com/D81192
2020-06-25 21:23:16 +00:00
Jeff Muizelaar
5ec0345f23 Bug 1648587 - Rename IntelHDGraphicsToHaswell to IntelHaswell. r=aosmond
IntelHDGraphicsToHaswell currently only includes Haswell and
not older hardware like IntelHDGraphicsToIvyBridge etc.

Differential Revision: https://phabricator.services.mozilla.com/D81185
2020-06-25 20:49:50 +00:00
Jeff Muizelaar
a177765070 Bug 1648579 - Add failure id for Disabled instead of Denied. r=aosmond
Denied is always the result of the allow list.

Differential Revision: https://phabricator.services.mozilla.com/D81172
2020-06-25 20:49:04 +00:00
longsonr
ea442838d3 Bug 1648463 - Move SVGForeignObjectFrame SVGImageFrame and SVGUseFrame to mozilla namespace r=dholbert,jgilbert
stop exposing SVGImageListener as only SVGImageFrame uses it.

Differential Revision: https://phabricator.services.mozilla.com/D81087
2020-06-25 20:42:49 +00:00
Marco Bonardo
eb432fd7ad Bug 1628948 - Dispatch a custom event for WM_NCLBUTTONDOWN in the draggable area. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D77419
2020-06-25 17:37:03 +00:00
Daosheng Mu
af1368e7aa Bug 1602072 - Add a gfxInfo flag determine Firefox is embedded by FxR for telemetry. r=thomasmo,chutten,froydnj,jrmuizel,geckoview-reviewers,rbarker,snorp
Differential Revision: https://phabricator.services.mozilla.com/D56233
2020-06-25 17:22:20 +00:00
Simon Giesecke
0378cc49f9 Bug 1648384 - Make use of Result::propagateErr. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D81031
2020-06-25 16:07:28 +00:00
Jeff Muizelaar
b05ce30421 Bug 1648320 - Lower the version requirement for WebRender on Intel battery. r=aosmond
This just drops the requirement a little. We can be more aggresive in
the next release.

Differential Revision: https://phabricator.services.mozilla.com/D81002
2020-06-25 12:26:55 +00:00
Jeff Muizelaar
9dd8f51e82 Bug 1648304 - Record WebRender compositor status in telemetry. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D80994
2020-06-25 00:59:29 +00:00
Jeff Muizelaar
1126628406 Bug 1648288 - Let WebRender ride on AMD regardless of battery. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D80981
2020-06-25 01:02:38 +00:00
Jeff Muizelaar
fea84b8216 Bug 1648289 - Move gen8 gt2+ into WebRender modern rollout so that it reaches release. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D80982
2020-06-25 01:02:32 +00:00
Chris Martin
c5f74d8b96 Bug 1400317 - Win32k Lockdown: Remote SPI_GETFLATMENU r=jmathies
SPI_GETFLATMENU uses the newly-added WinContentSystemParameters and adds
the ability to update theme-related variables when they change.

Differential Revision: https://phabricator.services.mozilla.com/D80071
2020-06-24 15:29:58 +00:00
Agi Sferro
1c95002d18 Bug 1644561 - Verify that mCapturePixelsResults is not empty. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D80757
2020-06-24 17:07:03 +00:00
Emilio Cobos Álvarez
d725223bc4 Bug 1647871 - Remove nsIWidget::GetCompositionSize(). r=kats
No longer called. This was done as an optimization for OOP iframes, but
it affects the scrollport so it's clearly not sound (the visible rect
shouldn't affect the layout scroll port).

If very tall OOP iframes are a problem somehow, it's something that we
need to deal with in another place. It was, in fact, removed for
top-level remote iframes because of bug 1554861 and other regressions.

Depends on D80731

Differential Revision: https://phabricator.services.mozilla.com/D80732
2020-06-24 13:30:45 +00:00
Martin Stransky
f2821c99e1 Bug 1645776 [Linux/Gtk] Check XWindow id for XGetWindowProperty(), r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D80827
2020-06-24 09:09:07 +00:00
Kartikaya Gupta
6c2337754f Bug 1647225 - Remove unused headers. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D80452
2020-06-23 15:14:32 +00:00
Kartikaya Gupta
ed3e0d6f72 Bug 1647225 - Change the string exposed via gfxInfo. r=jrmuizel
This includes things like about:support, gfxCriticalNote, probably telemetry
environment stuff.

Differential Revision: https://phabricator.services.mozilla.com/D80451
2020-06-23 15:14:24 +00:00
Kartikaya Gupta
d61fdfeed8 Bug 1647225 - Change some failure IDs and strings. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80450
2020-06-23 15:23:11 +00:00
Kartikaya Gupta
f3ff31626e Bug 1647225 - Fix some comments. r=jrmuizel,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D80449
2020-06-23 15:21:36 +00:00
Kartikaya Gupta
11ab3b57b8 Bug 1647225 - Rename some local functions and variables. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80448
2020-06-23 15:20:33 +00:00
Kartikaya Gupta
f7b1476df6 Bug 1647225 - Rename a define and removed another unused define. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80447
2020-06-23 15:14:04 +00:00
Kartikaya Gupta
837a027ab6 Bug 1647225 - Consistently use blocklist terminology for gfxFeature. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80425
2020-06-23 15:13:57 +00:00
Martin Stransky
6b041101d1 Bug 1567505 [Wayland] Implement uri-list drop target on Wayland, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D80491
2020-06-23 12:03:53 +00:00
Makoto Kato
3af99207da Bug 1490661 - Part 4. Split next action hint with next and maybenext. r=masayuki
Current implementation of Blink and WebKit is that enter key is dispatched
even if `enterkeyhint` is `next`. If no enterkeyhint, Gecko and Blink infer
this type from `<form>` and `<input>` element.

If this key is set as "next" by inference, Blink doesn't dispatch key event
then sets focus to next element, and Gecko dispatches `Tab` key to set focus
to next element.

So if action hint is "next" by inference, we would like to change to another
type "maybenext".

Differential Revision: https://phabricator.services.mozilla.com/D79645
2020-06-23 06:37:58 +00:00
Makoto Kato
6f7d15e2e1 Bug 1490661 - Part 3. InputContext should reference enterkeyhint attribute for action hint. r=masayuki
Set enterkeyhint to `InputContext.mActionHint`. Although it is used by
`moz_action` attribute, enterkeyhint is standardized version of this.

New logic is the following.

1. Read `enterkeyhint` that is from editing host
2. Read `moz_action` on `<input>` element  if no `enterkeyhint`
3. If both is nothing, we infer this value from the `<form>`.

Differential Revision: https://phabricator.services.mozilla.com/D79644
2020-06-23 06:37:50 +00:00
Martin Stransky
8fc11cb1ca Bug 1645734 [Wayland] Move gbm library interface from nsWaylandDisplay, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D79695
2020-06-23 06:27:09 +00:00
Jean-Yves Avenard
87438519f0 Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.

This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget

Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Chun-Min Chang
62f01052fa Bug 1647492: Expose MediaSession's album data to MPRIS r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D80557
2020-06-22 22:25:41 +00:00
Kagami Sascha Rosylight
c2e026792f Bug 1643464 - Part 3: Rename LEFT/RIGHT_BUTTON as PRIMARY/SECONDARY_BUTTON r=masayuki,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D80333
2020-06-19 17:50:43 +00:00
Kagami Sascha Rosylight
994a3b64f9 Bug 1643464 - Part 2: Rename eLeft/eRightFlag to ePrimary/eSecondaryFlag r=masayuki,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D80332
2020-06-22 22:54:07 +00:00
Kagami Sascha Rosylight
166f2891a2 Bug 1643464 - Part 1: Rename eLeft/eRight to ePrimary/eSecondary r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D80331
2020-06-19 18:02:41 +00:00
Narcis Beleuzu
1f50773a6e Backed out 8 changesets (bug 1647225) for xpcshell failures on test_gfxBlacklist_Version.js CLOSED TREE
Backed out changeset b6f88195da61 (bug 1647225)
Backed out changeset a5b3f54cb5f2 (bug 1647225)
Backed out changeset 6a1025189b0e (bug 1647225)
Backed out changeset b95de94b444e (bug 1647225)
Backed out changeset ed2c7dfd8373 (bug 1647225)
Backed out changeset 1adc99494bcb (bug 1647225)
Backed out changeset 5d0cf22c335a (bug 1647225)
Backed out changeset 956b43a8636f (bug 1647225)
2020-06-23 04:34:12 +03:00
Kartikaya Gupta
2681e76a29 Bug 1647225 - Remove unused headers. r=geckoview-reviewers,agi
Depends on D80451

Differential Revision: https://phabricator.services.mozilla.com/D80452
2020-06-22 22:50:56 +00:00
Kartikaya Gupta
3be958c0fa Bug 1647225 - Change the string exposed via gfxInfo. r=jrmuizel
This includes things like about:support, gfxCriticalNote, probably telemetry
environment stuff.

Depends on D80450

Differential Revision: https://phabricator.services.mozilla.com/D80451
2020-06-22 14:04:56 +00:00
Kartikaya Gupta
347a55ff38 Bug 1647225 - Change some failure IDs and strings. r=jrmuizel
Depends on D80449

Differential Revision: https://phabricator.services.mozilla.com/D80450
2020-06-22 14:06:18 +00:00
Kartikaya Gupta
015478ec51 Bug 1647225 - Fix some comments. r=jrmuizel,geckoview-reviewers,agi
Depends on D80448

Differential Revision: https://phabricator.services.mozilla.com/D80449
2020-06-22 22:54:00 +00:00
Kartikaya Gupta
9f9b7f960e Bug 1647225 - Rename some local functions and variables. r=jrmuizel
Depends on D80447

Differential Revision: https://phabricator.services.mozilla.com/D80448
2020-06-22 14:07:05 +00:00
Kartikaya Gupta
f288c05f05 Bug 1647225 - Rename a define and removed another unused define. r=jrmuizel
Depends on D80425

Differential Revision: https://phabricator.services.mozilla.com/D80447
2020-06-22 14:07:33 +00:00
Kartikaya Gupta
793dc7ec5d Bug 1647225 - Consistently use blocklist terminology for gfxFeature. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80425
2020-06-22 14:04:38 +00:00
Emilio Cobos Álvarez
b9b9e38dd9 Bug 1646224 - Use mozilla::Length rather than nscoord to store font sizes. r=heycam,jfkthame
This avoids arbitrary precision loss when computing REM units and so on,
which is particularly important if we ever change the base of our app
units (but useful regardless).

Differential Revision: https://phabricator.services.mozilla.com/D79928
2020-06-22 09:45:40 +00:00
Martin Stransky
74141f6a50 Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at widget/gtk, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D79636
2020-06-21 13:59:24 +00:00
Tom Schuster
2f692e62a0 Bug 1547595 - Work around brokeness in GTK with CRLF copying. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D79881
2020-06-19 16:55:12 +00:00
Markus Stange
4c8b889f5e Bug 1646066 - Make partial valid rects work properly in NativeLayerCA. r=jrmuizel
This moves the clipping responsibility into the layer. It also brings back
assertions that make sure that no invalid content reaches the screen.
On the layer side I'm renaming validRect to displayRect, because at the time
NextSurface* is called, that rect is not yet valid.
This implementation also allows having valid content outside of the display
rect. So, for example, if you grow and shrink the display rect multiple times
but most of the outer parts are transparent, in theory this allows you to paint
the transparent pixels only once rather than every time the display rect
expands.

Differential Revision: https://phabricator.services.mozilla.com/D79842
2020-06-18 22:15:22 +00:00
Jeff Muizelaar
dc6aa1980a Bug 1646842. Rollout to Intel Mac.
Differential Revision: https://phabricator.services.mozilla.com/D80266
2020-06-18 20:28:16 +00:00
Chun-Min Chang
202831ba5c Bug 1623971 - P18: Fetch next available image if fetching fails r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D79222
2020-06-19 00:21:23 +00:00
Chun-Min Chang
ab055d290e Bug 1623971 - P17: Set media-session's MediaImage to the SMTC interface r=alwu,thomasmo
This patch does the following things:
1. Use `FetchImageHelper` to fetch the MediaImage defined in
   media-session
2. Upon the above image is fetched, set it to the SMTC's thumbnail

Differential Revision: https://phabricator.services.mozilla.com/D77893
2020-06-19 00:21:21 +00:00
Chun-Min Chang
b0686b64ff Bug 1623971 - P16: Add a method to set image to SMTC thumbnail r=alwu,thomasmo
Add a method to set an image to SMTC's thumbmail asynchronously

Differential Revision: https://phabricator.services.mozilla.com/D77892
2020-06-19 00:21:13 +00:00
Chun-Min Chang
da1eff4bed Bug 1623971 - P15: Move Maybe.h from .h to .cpp r=alwu
`Maybe` is used in the .cpp file only.

Differential Revision: https://phabricator.services.mozilla.com/D77891
2020-06-19 00:21:09 +00:00
Chun-Min Chang
b4e0d2cd60 Bug 1623971 - P14: Replace \ by / in #include r=alwu
`\` is a window style in file path but Mozilla uses `/` instead.

Differential Revision: https://phabricator.services.mozilla.com/D77890
2020-06-19 00:21:02 +00:00
Chun-Min Chang
f1d759caf7 Bug 1623971 - P13: Apply the same format for comments r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77889
2020-06-19 00:21:00 +00:00