Граф коммитов

25506 Коммитов

Автор SHA1 Сообщение Дата
Sam Mauldin 09a1cf803b Bug 1592389 - Rename Mozfield / Mozfieldtext to Field and Fieldtext r=emilio
Split off of Bug 1590894
Rename these to support unprefixed version
Also add alias to keep compatibility

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

--HG--
extra : moz-landing-system : lando
2019-10-30 05:51:38 +00:00
Markus Stange 64c13fc106 Bug 1587940 - Remove capability for opaque regions from NativeLayer interface. r=jrmuizel
This change makes opaqueness a boolean per layer again. The opaque region is
currently only used by the temporary WebRender code; the future WebRender code
won't use it. Removing this support simplifies the code and makes it easier to
implement clipping.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 19:24:24 +00:00
Jan Alexander Steffens (heftig) 5d3dcb3132 Bug 1591488 - [Wayland] Only offset the opaque region for normal windows; r=stransky
Maximized and fullscreened windows do not have a CSD decoration border.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:48:54 +00:00
James Willcox 545ae39527 Bug 1589246 - Guard against null notification when closing them on Android r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50642

--HG--
extra : moz-landing-system : lando
2019-10-25 18:06:09 +00:00
Emilio Cobos Álvarez cc80d088a2 Bug 1591968 - Put window.mozPaintCount behind a default-off pref. r=bzbarsky
It's not the kind of thing we want people to allow observing, generally, and
even less so the kind of thing that we may want people to rely on.

Move internal callers (all of them tests) to a new DOMWindowUtils.paintCount
method.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 10:25:53 +00:00
Narcis Beleuzu a64dcc0c07 Backed out changeset 7a4cf3982659 (bug 1573710) for mda failures on test_getUserMedia_basicScreenshare. CLOSED TREE 2019-10-29 11:28:09 +02:00
sotaro 16784c5201 Bug 1573710 - Trigger composite after SetParent() r=Gankro
The patch permits to resize compositor window's size after ::SetParent() call to prevent a conflict between ::SetParent() and ::SetWindowPos(). Then it triggers a composite after SetParent() call to resize compositor window correctly.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 21:33:40 +00:00
Dzmitry Malyshau 2db3c22a35 Bug 1570736 - Blocklist WR swizzling on HD3000 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50813

--HG--
extra : moz-landing-system : lando
2019-10-28 21:38:11 +00:00
Ting-Yu Lin cfa677a4cc Bug 1591546 Part 2 - Add WritingMode::IsPhysicalRTL(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50772

--HG--
extra : moz-landing-system : lando
2019-10-28 18:22:05 +00:00
Toshihito Kikuchi 99c8b1c9ac Bug 1572788 - Make nsXULAppInfo::GetUserCanElevate reuse GetElevationType. r=aklotz
`nsXULAppInfo::GetUserCanElevate` can reuse `GetElevationType` and we can remove
`VistaTokenElevationType` definition.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 14:53:42 +00:00
Alex Henrie 74cc0f4dce Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50697

--HG--
extra : moz-landing-system : lando
2019-10-27 05:05:51 +00:00
Andreea Pavel dd6c574455 Backed out changeset 10e1c85b13b0 (bug 1583575) for android geckoview failures on a CLOSED TREE 2019-10-26 01:11:23 +03:00
Ting-Yu Lin 03c5d676c0 Bug 1587645 Part 2 - Add WritingMode::IsPhysicalLTR(). r=jfkthame
I discovered this while improving `ScrollFrameHelper::IsPhysicalLTR()`
in Part 1. Our code base needs a notion of physical direction. Let's add
it to WritingMode.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:01:46 +00:00
Aaron Klotz 4d0bd40e2e Bug 1583575: Retain window size between instances and use it to set the size when opening a new window; r=snorp
This obviously only improves the situation when a subsequent window is the
same size as the last window that was opened.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:27:46 +00:00
Daosheng Mu 3512e86bbb Bug 1590911 - Forwarding fullscreen events to VR host API. r=thomasmo,kip,smaug,PhilipLamb
We wanna forward fullscreen enter/exit events to VR host.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 07:43:27 +00:00
Mike Conley 1d8a58f2fb Bug 1590822 - Add lockAspectRatio support to windows for macOS. r=mstange
Depends on D50275

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

--HG--
extra : moz-landing-system : lando
2019-10-24 17:41:18 +00:00
Xidorn Quan 82cc547ab8 Bug 1578377 - Render dark scrollbars for element with dark background on Windows. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D48289

--HG--
extra : moz-landing-system : lando
2019-10-23 21:00:28 +00:00
Mike Conley 6d2e7437f0 Bug 1531226 - Add support for alwaysontop windows for macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D50275

--HG--
extra : moz-landing-system : lando
2019-10-23 18:25:10 +00:00
Thomas Nguyen cf2f2ec008 Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-23 19:39:00 +00:00
Razvan Maries 7fb625f8cf Backed out changeset ae33b9c001e5 (bug 1580462) for build bustages on nsWindow.cpp. CLOSED TREE 2019-10-23 11:07:00 +03:00
Thomas Nguyen a220530f6b Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-22 14:36:00 +00:00
sotaro e2fc848fee Bug 1584511 - Backout r=stransky
Backout because of regression  Bug 1590498 .

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

--HG--
extra : moz-landing-system : lando
2019-10-23 01:41:27 +00:00
sotaro 26e474c3f9 Bug 1584511 - Handle Compositor session recreation when egl_window is re-created r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D49380

--HG--
extra : moz-landing-system : lando
2019-10-18 08:20:30 +00:00
Narcis Beleuzu 9e344448d6 Merge mozilla-central to autoland. CLOSED TREE 2019-10-22 01:36:17 +03:00
Narcis Beleuzu 2b0d2dd8e7 Merge autoland to mozilla-central. a=merge 2019-10-22 00:50:23 +03:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Andrea Marchesini 410cb724a7 Bug 1585284 - Force global in Blob CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49629

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:19 +00:00
Andrea Marchesini 6797e45278 Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49392

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
harry c0eeb589dd Bug 1588921 - Fix nsTouchBar build errors. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D49434

--HG--
extra : moz-landing-system : lando
2019-10-21 02:10:36 +00:00
Emilio Cobos Álvarez 2614699797 Bug 1589327 - Remove more dead code conditional on jni::IsFennec() or similar. r=snorp
Didn't want to remove all the WebAuthn and dynamic toolbar code so I left it
there in case it's useful in the future.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:51 +00:00
Jan Horak 5c3ec14301 Bug 1589541 Don't consider headless display as wayland; r=stransky
This fixes the related test failures.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:56:44 +00:00
Alexis Beingessner d244997cc9 Bug 1573710 - make window resizing more robust to races. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D49634

--HG--
extra : moz-landing-system : lando
2019-10-18 02:10:20 +00:00
Kris Taeleman f3a08029ed Bug 1589218 - Add Pixel 2 XL to webrender allowed devices. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D49495

--HG--
extra : moz-landing-system : lando
2019-10-17 12:59:37 +00:00
Daosheng Mu 183d99c002 Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol
Forwarding keyboard focus/blur events to VR browser that runs at another process. We will need to set these events in VR shmem, then VR host can receive these states from other process.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:24:56 +00:00
Martin Stransky 5f9cda5fb5 Bug 1583731 - [Wayland] Assert when EGLImage is already created at WaylandDMABufSurface::CreateEGLImage, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49263

--HG--
extra : moz-landing-system : lando
2019-10-15 10:46:08 +00:00
Jan Horak 4d0cec02a5 Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 11:27:08 +00:00
Martin Stransky 6cbbed9b4e Bug 1588907 [Wayland] Remove misleading comment about DMA_BUF_IOCTL_SYNC, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49390

--HG--
extra : moz-landing-system : lando
2019-10-17 10:38:12 +00:00
David Parks b044993630 Bug 1384260: Part 4 - Remove SystemParametersInfo from Windows content proc plugin code r=jmathies
We use SystemParametersInfo to get the current system scroll wheel settings when we process scrollwheel movement in the content process.  We need to remove SystemParametersInfo for sandboxing the content process so this code changes the plugin behavior to cache the system wheel settings.  We do this by 1) sending wheel settings to the plugin whenever a plugin takes focus and 2) forwarding wheel settings update messages from Windows to the currently focused plugin.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 21:24:48 +00:00
Brendan Dahl 64335a9857 Bug 1583314 - Fix macOS builds with XBL disabled. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D49340

--HG--
extra : moz-landing-system : lando
2019-10-21 20:21:13 +00:00
arthur.iakab 55aa171100 Merge autoland to mozilla-central. a=merge 2019-10-21 12:55:26 +03:00
Gurzau Raul 5fb4897bbc Backed out changeset f6ca531ca5b2 (bug 1573710) requested by alice0775. a=backout 2019-10-20 12:02:39 +03:00
Cosmin Sabou e1278bb139 Backed out changeset 23e9fe8a919b (bug 1565401) for causing build bustages on nsWindow.h. CLOSED TREE 2019-10-16 18:45:09 +03:00
Jan Horak e2b9bdb35e Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 13:03:43 +00:00
Marcos Cáceres caed406d12 Bug 1588420 - Add init() to SharePicker.idl, which provides a means to get to browser parent r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D49215

--HG--
extra : moz-landing-system : lando
2019-10-15 00:52:09 +00:00
Geoff Brown c906073cd5 Bug 1585119 - Re-enable many mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
With the additional tests running, task times increase; I have added one
more test chunk for android mochitest-plain.
These tests were identified from a random sampling of mochitest manifests;
I intend to enable more mochitests in future patches.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:07:09 +00:00
Markus Stange ac77a58192 Bug 1588747 - Always insert the TitlebarGradientView underneath its siblings. r=spohl
Usually it covers a different area than the window's ChildView. But in some cases
it can overlap with the ChildView, and in those cases, it's better if the
ChildView is on top.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 20:45:01 +00:00
Martin Stransky 0595546bfc Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
We can't set wl_egl_window from widget code as it must match GL rendering pipeline,
so let compositor to set the egl window size.

Depends on D49136

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

--HG--
extra : moz-landing-system : lando
2019-10-15 19:25:47 +00:00
Martin Stransky 5a403b0cdd Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 19:25:28 +00:00
Dorel Luca 518c1a81eb Backed out 2 changesets (bug 1587008) for build bustage on src/widget/gtk/GtkCompositorWidget.cpp. CLOSED TREE
Backed out changeset 9e610c4628e1 (bug 1587008)
Backed out changeset afc6499c8f1f (bug 1587008)

--HG--
extra : rebase_source : 3c3cc17ada4079f279809cae1ece2e226fde5acf
extra : histedit_source : c7f61dbede0eda8ea3b0a1dfa5c67f8650f4ca81
2019-10-15 19:10:32 +03:00
Martin Stransky 11e2fafd1f Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
We can't set wl_egl_window from widget code as it must match GL rendering pipeline,
so let compositor to set the egl window size.

Depends on D49136

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

--HG--
extra : moz-landing-system : lando
2019-10-15 13:12:25 +00:00
Martin Stransky bfddf50156 Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 13:12:13 +00:00
Martin Stransky d45caa1d42 Bug 1588579 [Wayland] Use explicit names for surface release methods, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49192

--HG--
extra : moz-landing-system : lando
2019-10-15 08:24:17 +00:00
Martin Stransky 6cbfee645f Bug 1588448 - [Wayland] Check mozcontainer wl_surface before we use it, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49189

--HG--
extra : moz-landing-system : lando
2019-10-15 08:28:56 +00:00
Martin Stransky 6bafd20d69 Bug 1587731 - [Wayland] Don't throw missing GdkDisplay warning in headless mode r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49155

--HG--
extra : moz-landing-system : lando
2019-10-14 13:37:44 +00:00
Oana Pop Rus 8a7bc2ad4e Backed out changeset 77357e0aa88e (bug 1584859) for wpt and mochitest failures. on a CLOSED TREE 2019-10-13 14:06:44 +03:00
Emilio Cobos Álvarez 8657ceea27 Bug 1584859 - Make smooth scrolling conditional on reduced motion settings. r=dbaron
We could put this change itself behind a pref too, if we considered that worth
it. But probably not so.

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

--HG--
extra : moz-landing-system : lando
2019-10-13 09:16:26 +00:00
harry 9b2a6d81ce Bug 1588084 - Add null-checking to isUrlbarFocused to avoid crashes on window shutdown. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48966

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:04 +00:00
sotaro e8b225b85f Bug 1586555 - Disable double buffering with D3D compositor when Glass is used r=bas
Differential Revision: https://phabricator.services.mozilla.com/D48469

--HG--
extra : moz-landing-system : lando
2019-10-10 23:17:01 +00:00
Alexis Beingessner ae0f8372f5 Bug 1587155 - Block all hardware acceleration for AMD driver 22.19.162.4. r=jrmuizel
Driver's Haunted.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 23:10:28 +00:00
harry bb242e5b57 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-09 10:45:33 +00:00
harry b4a08851a2 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-10 19:57:32 +00:00
harry 06006d8c62 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-09 10:46:05 +00:00
harry fc5596715d 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-10 01:00:47 +00:00
harry 525bd39f48 Bug 1563349 - Part 4 - Support NSPopoverTouchBarItem. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D47621

--HG--
extra : moz-landing-system : lando
2019-10-09 17:55:15 +00:00
harry dc2a166e28 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-09 17:55:02 +00:00
harry 607f99b5f0 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-09 15:25:43 +00:00
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