Commit Graph

25390 Commits

Author SHA1 Message Date
Andrew Osmond
b360fde6ac Bug 1525084 - Update WebRender blocklist to prevent window jiggling with old Windows Intel drivers. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48839

--HG--
extra : moz-landing-system : lando
2019-10-10 16:57:20 +00:00
Dzmitry Malyshau
1cc5f88f07 Bug 1558167 - Force 256 alignment for texture uploads on AMD on macOS r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48862

--HG--
extra : moz-landing-system : lando
2019-10-10 15:25:57 +00:00
dennisschagt
67d3f0e9f3 Bug 1553835 - Set GTK window hint to make PIP window floating r=stransky
I believe the GDK_WINDOW_TYPE_HINT_UTILITY [1] makes the most sense,
especially when looking at the description of the related
_NET_WM_WINDOW_TYPE_UTILITY [2].

This works well in i3-wm.

[1] https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#GdkWindowTypeHint
[2] https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317606816

Differential Revision: https://phabricator.services.mozilla.com/D48771

--HG--
extra : moz-landing-system : lando
2019-10-10 10:00:32 +00:00
Marcos Cáceres
fbff2e387c Bug 1312422 - Web Share Base/DOM implementation r=farre
Web Share base implementation just of DOM stuff - working together with @saschanaz.

@Baku, we would greatly appreciate your review.

-Nika, as she is traveling.

Differential Revision: https://phabricator.services.mozilla.com/D44598

--HG--
extra : moz-landing-system : lando
2019-10-09 10:57:11 +00:00
shindli
083cbd8b40 Backed out 8 changesets (bug 1563350, bug 1563351, bug 1563349, bug 1567939) on suspicion of causing OS X crashes https://bugzilla.mozilla.org/show_bug.cgi?id=1587351 CLOSED TREE a=backout
Backed out changeset 86ed8b9bee5f (bug 1563351)
Backed out changeset 355b0329bd95 (bug 1563350)
Backed out changeset 653caa0c494a (bug 1567939)
Backed out changeset 4b4a71e170bd (bug 1563349)
Backed out changeset 81b93962243b (bug 1563349)
Backed out changeset cff2050ff540 (bug 1563349)
Backed out changeset db50ea44f0b1 (bug 1563349)
Backed out changeset dcbddc5738c3 (bug 1563349)
2019-10-09 13:33:05 +03:00
Dzmitry Malyshau
0cd3e9c400 Bug 1558167 - Disable swizzling on macOS 10.15 AMD devices r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48591

--HG--
extra : moz-landing-system : lando
2019-10-08 21:09:58 +00:00
Markus Stange
7f9c11f94a Bug 1581433 - Maximize or minimize the window when double clicking the titlebar. r=spohl
This was already working for toolbars, but it wasn't working for the titlebar in windows that
actually have a real separate titlebar.
All our windows use NSFullSizeContentViewWindowMask, so we no longer get this behavior for free.
In windows with titlebars, the titlebar area is covered with a TitlebarGradientView, so that's
where we need to handle the double clicks.

Differential Revision: https://phabricator.services.mozilla.com/D48593

--HG--
extra : moz-landing-system : lando
2019-10-08 21:03:30 +00:00
John Lin
36bb9562d3 Bug 1581902 - p4: add HW H.264 feature to GfxInfo. r=esawin
Recycle FEATURE_WEBRTC_HW_ACCELERATION constant and rename it for H.264.

Differential Revision: https://phabricator.services.mozilla.com/D47370

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:44 +00:00
John Lin
e1b8252731 Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

Differential Revision: https://phabricator.services.mozilla.com/D47369

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:35 +00:00
harry
abf9b97e30 Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892

--HG--
extra : moz-landing-system : lando
2019-10-08 15:10:20 +00:00
harry
980501c285 Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563

--HG--
extra : moz-landing-system : lando
2019-10-08 00:52:07 +00:00
harry
02333753b2 Bug 1567939 - Support NSTextField in the macOS Touch Bar. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D38891

--HG--
extra : moz-landing-system : lando
2019-10-08 00:52:07 +00:00
harry
9507d41513 Bug 1563349 - Part 5 - Support NSScrollView in the Touch Bar. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D47622

--HG--
extra : moz-landing-system : lando
2019-10-08 00:51:34 +00:00
harry
cd7aed4b4c Bug 1563349 - Part 4 - Support NSPopoverTouchBarItem. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D47621

--HG--
extra : moz-landing-system : lando
2019-10-07 18:18:02 +00:00
harry
18272eae11 Bug 1563349 - Part 3 - Update TouchBarInputs in-place. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D47620

--HG--
extra : moz-landing-system : lando
2019-10-07 18:02:35 +00:00
harry
4752551daf Bug 1563349 - Part 2 - Support TouchBarInput children. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D47619

--HG--
extra : moz-landing-system : lando
2019-10-07 18:04:26 +00:00
sotaro
fb4696fe6d Bug 1570879 - Fix high contrast theme handling with DirectComposition and WebRender r=nical
When high contrast mode is enabled, title bar is drawn as transparent and on-client area rendering by DWM is shown. But when compositor window in GPU process is used, the on-client area rendering was not shown. To address the proboem, window needs to be cleard as transparent and SwapChain of compositor window needs to be DXGI_ALPHA_MODE_PREMULTIPLIED.

WinCompositorWidget::mTransparencyMode is changed to atomic, since it is accessed from compositor thread and render thread.

Differential Revision: https://phabricator.services.mozilla.com/D48302

--HG--
extra : moz-landing-system : lando
2019-10-08 10:07:47 +00:00
Martin Stransky
1d95ca87e8 Bug 1586187 - provide logging to nsLookAndFeel, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D48149

--HG--
extra : moz-landing-system : lando
2019-10-08 08:53:40 +00:00
Martin Stransky
55183b1b38 Bug 1586544 - [Wayland] Fix FBO creation check, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D48270

--HG--
extra : moz-landing-system : lando
2019-10-08 07:59:11 +00:00
Martin Stransky
95eed2f101 Bug 1586993 - [Linux] Add logging to nsWindow::UpdateOpaqueRegion, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D48480

--HG--
extra : moz-landing-system : lando
2019-10-08 07:56:49 +00:00
Olli Pettay
bf03e4a42e Bug 1552814, make it possible to start dnd from dragable element even if DataTransfer is empty, r=NeilDeakin
Chrome and old Edge at least seem to have this behavior, and this way the testcase on the bug doesn't trigger click anymore since
we enter dnd mode and get dragleave etc. events.

Manually tested on linux and Windows, and annyg tested on Mac

Update test_dragstart.html's draggable=true test to follow the pattern used by other tests

Differential Revision: https://phabricator.services.mozilla.com/D48208

--HG--
extra : moz-landing-system : lando
2019-10-07 21:01:57 +00:00
Ricky Stewart
c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

Differential Revision: https://phabricator.services.mozilla.com/D48409

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga
27d99ab2df Backed out 6 changesets (bug 1581902) for xpcshell failure at xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js. On a CLOSED TREE
Backed out changeset c900fdf28f82 (bug 1581902)
Backed out changeset 92c9ea70040d (bug 1581902)
Backed out changeset 1f588b5bf019 (bug 1581902)
Backed out changeset f837f2c5224f (bug 1581902)
Backed out changeset 44e248976099 (bug 1581902)
Backed out changeset c7dfff053f71 (bug 1581902)
2019-10-07 23:07:36 +03:00
harry
b1f76c6595 Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34926

--HG--
extra : moz-landing-system : lando
2019-10-07 18:37:15 +00:00
John Lin
572a122361 Bug 1581902 - p4: add HW H.264 feature to GfxInfo. r=esawin
Recycle FEATURE_WEBRTC_HW_ACCELERATION constant and rename it for H.264.

Differential Revision: https://phabricator.services.mozilla.com/D47370

--HG--
extra : moz-landing-system : lando
2019-10-01 16:54:34 +00:00
John Lin
a5276b6ecb Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

Differential Revision: https://phabricator.services.mozilla.com/D47369

--HG--
extra : moz-landing-system : lando
2019-10-01 16:55:01 +00:00
Daniel Varga
052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart
940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

Differential Revision: https://phabricator.services.mozilla.com/D48230

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Bogdan Tara
cfbd01b5d9 Backed out changeset c9b71d1747ea (bug 1552814) for assertion failures on nsBaseDragService.cpp CLOSED TREE
--HG--
extra : rebase_source : 4a3e9922237c8638c9b2edd45cc2309094f3d352
extra : amend_source : 1629bf05b705065193ec1ee3e17086db3efd254e
2019-10-07 19:02:02 +03:00
Olli Pettay
6ceb072e65 Bug 1552814, make it possible to start dnd from dragable element even if DataTransfer is empty, r=NeilDeakin
Chrome and old Edge at least seem to have this behavior, and this way the testcase on the bug doesn't trigger click anymore since
we enter dnd mode and get dragleave etc. events.

Manually tested on linux and Windows, and annyg tested on Mac

Differential Revision: https://phabricator.services.mozilla.com/D48208

--HG--
extra : moz-landing-system : lando
2019-10-07 09:43:18 +00:00
Martin Stransky
ff742900bd Bug 1584790 - [Linux] De-scale window size when calculating aspect ratio, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D48311

--HG--
extra : moz-landing-system : lando
2019-10-07 10:55:01 +00:00
Makoto Kato
1ab2eca2d2 Bug 1584901 - Convert tail space to NBSP in composition string. r=masayuki
This is related to bug 1530649. When using <span> element with contentedtiable,
we won't insert <br> element at last. When Korean IME on macOS commits
composition by space key, composition string has space.

Gekco removes U+0020 space when it is last character into editing host. To keep
whitespace, we have to replace with NBSP when it is last.

Differential Revision: https://phabricator.services.mozilla.com/D48146

--HG--
extra : moz-landing-system : lando
2019-10-07 08:16:18 +00:00
Sylvestre Ledru
f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D47737

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Nick Alexander
c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D46536

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Kris Taeleman
3bd0cbdc09 Bug 1578506 - Add better monitor information to about:support. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D47110

--HG--
extra : moz-landing-system : lando
2019-10-03 23:43:35 +00:00
Markus Stange
120189bb62 Bug 1585523 - Use NSAnimationContext instead of CATransaction when triggering off-main-thread composites. r=mattwoodrow
When called on a non-main thread, [NSAnimationContext beginGrouping] calls [CATransaction activateBackground:].
There's a chance that doing so might help with some of the crashes we're seeing during [CATransaction commit].

Differential Revision: https://phabricator.services.mozilla.com/D47854

--HG--
extra : moz-landing-system : lando
2019-10-03 01:14:23 +00:00
Botond Ballo
51d9ccdfa4 Bug 1585116 - Fix usage of the TOUCHINPUT WinAPI structure in nsWindow::OnTouch(). r=cmartin
We were testing the dwFlags field against TOUCHINPUTMASKF_CONTACTAREA, when
in fact that is meant to be tested against the dwMask field.

Differential Revision: https://phabricator.services.mozilla.com/D47962

--HG--
extra : moz-landing-system : lando
2019-10-03 18:37:01 +00:00
Henri Sivonen
7a5fa0c5d6 Bug 1585553 - s/wchar_t/char16_t/ for a variable always initialized from char16_t. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D48050

--HG--
extra : moz-landing-system : lando
2019-10-03 10:53:39 +00:00
Andrew Osmond
4c101d240f Bug 1581606 - Consider all screens when deciding to turn on WebRender. r=jrmuizel
Before this patch, we only considered the primary screen when deciding
whether or not WebRender should be enabled. This is problematic for
Intel users where we don't want to turn on WebRender for large screens;
several small screens are just as bad as one large screen. Now we sum
the pixel count for all the screens when making this decision.

Differential Revision: https://phabricator.services.mozilla.com/D46066

--HG--
extra : moz-landing-system : lando
2019-10-02 18:48:11 +00:00
Jan Horak
4a0dbe414e Bug 1582679 - Rewrite popup hiding on wayland; r=stransky
Under Wayland it is possible to add only one popup window
to a parent window. If we try to attach another popup to the window,
the GTK refuses to do that. This can happen when the previous popup
has not yet been hidden while the new popup is showing (in some cases
the nsWindow::Show(false) for the previous popup is not called before
nsWindow::Show(true) for the new one).

We deal with it by hiding wayland popups which are no longer in the
XULPopupManager (PM) before showing a new one. We only do that for
the main menu popups or context (sub)menus. We cannot use PM to check
for the panel popup content like Folder dropdown in Edit Bookmark panel
or WebRTC microphone/video source dropdown. In that case we simply use
the last shown popup as a transient for the new one or the toplevel window.

Differential Revision: https://phabricator.services.mozilla.com/D47610

--HG--
extra : moz-landing-system : lando
2019-10-02 13:21:56 +00:00
Martin Stransky
41e46a8792 Bug 1578464 - [Wayland] Set opaque region for toplevel window, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D47602

--HG--
extra : moz-landing-system : lando
2019-10-02 08:57:44 +00:00
Makoto Kato
3c68f51a44 Bug 1496834 - Set focus on Firefox since focus is moved to another process. r=aklotz
When clicking native toast on Windows 10, focus moves to another process,
So we have to set focus on Firefox process.

Differential Revision: https://phabricator.services.mozilla.com/D47398

--HG--
extra : moz-landing-system : lando
2019-09-30 22:17:08 +00:00
Brindusan Cristian
bc0bc5f832 Backed out changeset 30310d7d693a (bug 1582679) for mochitest assertions at nsWindow.cpp:3766. CLOSED TREE 2019-10-02 00:14:31 +03:00
Jan Horak
730e9ad9d9 Bug 1582679 - Rewrite popup hiding on wayland; r=stransky
Under Wayland it is possible to add only one popup window
to a parent window. If we try to attach another popup to the window,
the GTK refuses to do that. This can happen when the previous popup
has not yet been hidden while the new popup is showing (in some cases
the nsWindow::Show(false) for the previous popup is not called before
nsWindow::Show(true) for the new one).

We deal with it by hiding wayland popups which are no longer in the
XULPopupManager (PM) before showing a new one. We only do that for
the main menu popups or context (sub)menus. We cannot use PM to check
for the panel popup content like Folder dropdown in Edit Bookmark panel
or WebRTC microphone/video source dropdown. In that case we simply use
the last shown popup as a transient for the new one or the toplevel window.

Differential Revision: https://phabricator.services.mozilla.com/D47610

--HG--
extra : moz-landing-system : lando
2019-10-01 13:14:02 +00:00
Neil Deakin
679a8c2d49 Bug 1581285, cancel drags in child processes when the drag gesture is stopped in the parent, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47767

--HG--
extra : moz-landing-system : lando
2019-10-01 14:07:27 +00:00
Gabriele Svelto
10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Mike Conley
5a0090f3fa Bug 1581942 - Enforce aspect ratio constraint even if Windows Aero Snap is used to resize the window. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D46847

--HG--
extra : moz-landing-system : lando
2019-09-30 22:18:40 +00:00
Botond Ballo
619c1645b2 Bug 1511901 - Fix device name comparison in TouchDeviceNeedsPanGestureConversion(). r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D45113

--HG--
extra : moz-landing-system : lando
2019-09-30 19:43:35 +00:00
Martin Stransky
9691b5d142 Bug 1536747 - [Linux] PictureInPicture window - open window manager menu on right mouse click, r=jhorak
This patch depends on Bug 1584492.

Differential Revision: https://phabricator.services.mozilla.com/D47424

--HG--
extra : moz-landing-system : lando
2019-09-27 15:14:23 +00:00
Martin Stransky
43b2ca4820 Bug 1583852 - [Linux] Disable round corners/alpha blending for PictureInPicture windows, r=jhorak
This bug depends on Bug 1584492.

Differential Revision: https://phabricator.services.mozilla.com/D47415

--HG--
extra : moz-landing-system : lando
2019-09-27 15:13:52 +00:00