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

27466 Коммитов

Автор SHA1 Сообщение Дата
Tarek Ziadé 37386bc892 Bug 1529510 - Move ProcInfo to processtoolsservice;r=aklotz,mstange
With this change, we expose ProcInfo to Android.

Differential Revision: https://phabricator.services.mozilla.com/D94810
2020-11-12 17:42:54 +00:00
Emilio Cobos Álvarez 4d284ec375 Bug 1620360 - Support outline-style: auto in the non-native theme. r=mstange
This is arguably a big outline compared with the usual one, so if it
somehow caused problems (which it really shouldn't because outline is
ink overflow rather than scrollable overflow) we could avoid painting
the second ring or such.

Differential Revision: https://phabricator.services.mozilla.com/D97157
2020-11-16 16:53:23 +00:00
Kagami Sascha Rosylight 0c28c71544 Bug 1677254 - Make select event from select() uncancelable r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D97068
2020-11-15 02:32:22 +00:00
Andrew Osmond d3a426c9ff Bug 1676883 - Detect GPUs with libpci if available. r=rmader
There are a few scenarios in which we may have difficulty determining
the exact GPU that a user has with Linux/BSD. We might not have access
to the GLX_EXT_query_renderer extension, either because it is
unavailable, or because we don't want to use GLX and cause the OS to
spin up XWayland. We would also like to detect when the user has
multiple GPUs, as this may be useful when diagnosing issues (e.g. one
GPU is slaved to another for output to the display on a laptop).

Differential Revision: https://phabricator.services.mozilla.com/D96832
2020-11-13 18:41:55 +00:00
Emilio Cobos Alvarez 90017c2b90 Bug 1645782 - Correctly snap windows custom scrollbar track / thumbs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D97150
2020-11-16 12:37:58 +00:00
Andreea Pavel 71b4ec212a Bug 1616760 - disable test_position_on_resize.xhtml on linux64-qr r=intermittent-reviewers,aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97058
2020-11-14 01:16:30 +00:00
Andrew Osmond d0c40d1b75 Bug 1675768 - Ship WebRender to early beta for all Linux desktops and Intel users with large screens. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97044
2020-11-13 21:01:13 +00:00
Markus Stange 758ee8a36c Bug 1677011 - Add an AndroidVsync class, and use it for the implementation of the Android VsyncSource. r=kats
This allows adding another vsync listener that gets called before the regular VsyncSource.
And it allows adding the listener on the Java UI thread.
The existing infrastructure is pretty adamant about being used on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D96797
2020-11-13 19:06:50 +00:00
Markus Stange ec6ef9110f Bug 1677012 - Give MultiTouchInput a move constructor. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D96959
2020-11-13 12:15:45 +00:00
Hiroyuki Ikezoe 9b56e1a377 Bug 1676814 - Revert a2f0dae16c37 to stop crashing on fast fling etc. r=botond,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96965
2020-11-13 15:21:59 +00:00
Jeff Muizelaar e5a523648c Bug 1677108 - Let gen5, R600, Tesla1 and gpu processless WebRender all ride to beta. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97009
2020-11-13 14:39:57 +00:00
Jeff Muizelaar a32c788631 Bug 1676936 - Enable WebRender on Kaveri in nightly/early beta. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96886
2020-11-12 20:01:51 +00:00
Jeff Muizelaar d33eebd895 Bug 1676888 - Add missing R700 range. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96837
2020-11-12 16:18:29 +00:00
Markus Stange c7e344533f Bug 1676768 - Add some missing gfx:: namespace annotations in nsWindow.cpp. r=geckoview-reviewers,snorp
Depends on D96793

Differential Revision: https://phabricator.services.mozilla.com/D96794
2020-11-12 16:11:50 +00:00
Markus Stange b4bef43021 Bug 1676768 - Add some missing includes. r=geckoview-reviewers,snorp
Depends on D96792

Differential Revision: https://phabricator.services.mozilla.com/D96793
2020-11-12 16:11:58 +00:00
Markus Stange 15219986b0 Bug 1676768 - Move WebAuthnTokenManager class definition into a header file, because nsAppShell.cpp calls WebAuthnTokenManager::Init(). r=geckoview-reviewers,snorp
This only happened to work because unified build included WebAuthnTokenManager.cpp
and nsAppShell.cpp into the same compilation unit.

Differential Revision: https://phabricator.services.mozilla.com/D96792
2020-11-12 16:12:10 +00:00
Greg V 3e316137c4 Bug 1676045 - Implement DesktopEntry for MPRIS r=stransky
The DesktopEntry property allows MPRIS clients to match a player on the bus
with application metadata such as its icon.

The desktop entry name is computed as the lowercasing of the XRE app info name.
This is the same way it's done for g_set_prgname in nsAppRunner.

Differential Revision: https://phabricator.services.mozilla.com/D96327
2020-11-12 13:38:52 +00:00
Jeff Muizelaar a62455ecb5 Bug 1676507 - Turn on WebRender on the rest of Tesla in Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96644
2020-11-11 00:13:12 +00:00
Jed Davis 96f7c5cf5c Bug 1657401 - Change LookAndFeel IPC to use IPDL structs. r=spohl
Aside from automating boilerplate, this will allow reusing some of these
structs for full LookAndFeel remoting in bug 1470983.

Differential Revision: https://phabricator.services.mozilla.com/D94531
2020-11-11 23:26:51 +00:00
Jed Davis a68b63cdb3 Bug 1657401 - Prelude: rearrange IPDL files in widget/. r=spohl
The IPDL compiler searches for files in an include path made up of every
directory with any `IPDL_SOURCES` in it, which means that distinct files
shouldn't have the same name or, failing that, need to be set up so they
won't accidentally conflict.  See bug 1657712 for details.

In `widget/`, the PCompositorWidget and PlatformWidgetTypes files are
overridden on some OSes; this patch moves the general-case versions into
their own directory, so that it's possible to use the widget/ toplevel
directory for non-platform-specific IPDL without causing a filename
conflict.

Differential Revision: https://phabricator.services.mozilla.com/D94530
2020-11-11 23:17:40 +00:00
Jeff Muizelaar 2e3d5b10bb Bug 1676538 - Rollout WebRender to R600 on Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96653
2020-11-11 00:45:40 +00:00
Tim Huang 0de41786ee Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi
Differential Revision: https://phabricator.services.mozilla.com/D95618
2020-11-11 11:14:05 +00:00
Tim Huang 29562a4eed Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D95617
2020-11-11 11:14:07 +00:00
Emilio Cobos Álvarez 7c3b5843ac Bug 1676527 - Allow extending the CUPS monochrome print setting list without rebuilding. r=nordzilla
Mostly for debugging / diagnosing purposes. This is easier than asking
people to try builds from try or building Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D96648
2020-11-11 19:00:00 +00:00
Mihai Alexandru Michis 4038013e6f Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
CLOSED TREE

Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang 4cdeceaaf8 Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi
Differential Revision: https://phabricator.services.mozilla.com/D95618
2020-11-10 21:11:14 +00:00
Tim Huang 9c73d5b73c Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D95617
2020-11-10 20:40:34 +00:00
Hiroyuki Ikezoe 89a5e2efe5 Bug 1674694 - Use ConvertAPZHandledResult to convert mHandledByRootApzc for motion event cases. r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D96483
2020-11-11 00:33:30 +00:00
Hiroyuki Ikezoe f2932331df Bug 1674694 - Use ConvertAPZHandledResult nsEventStatus_eConsumeNoDefault case. r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D96332
2020-11-11 00:33:28 +00:00
Hiroyuki Ikezoe 7087f97a39 Bug 1674694 - Change APZEventResult::mHandledByRootApzc to Maybe<APZHandledResult>. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96331
2020-11-11 00:33:20 +00:00
Matt Woodrow ccd859ffae Bug 1674866 - Add gfx feature for WR software. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96502
2020-11-10 23:36:43 +00:00
Cameron McCormack 7d5661d677 Bug 1676057 - Test. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D96499
2020-11-10 22:15:25 +00:00
Cameron McCormack 82fdd2ebea Bug 1676057 - Disable scrollbar buttons when non-native theme is in use on Linux. r=emilio,spohl
Whether scrollbar buttons are shown is currently determined by
LookAndFeel values, and these are exposed through system metric media
features.  LookAndFeel values are process-wide, but which theme is in
use is document-specific.  (It can be the platform's native theme or the
native basic theme, depending on Document::ShouldAvoidNativeTheme.)  So
if nsNativeBasicTheme on Linux needs to not support scrollbar buttons,
we can't do this by forcing the LookAndFeel values to be false.

So instead, we skip creating the native anonymous content for the
scrollbar buttons when the non-native theme is in use on Linux.  There's
no need to support dynamic changes, since whether the non-native theme
is in use for a given document never changes.

Differential Revision: https://phabricator.services.mozilla.com/D96345
2020-11-10 02:41:46 +00:00
Erik Nordin b31560e593 Bug 1676518 - Fix monochrome printing for Canon iX6800 series printers on CUPS systems r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D96637
2020-11-10 22:11:07 +00:00
Jeff Muizelaar 15888e89f2 Bug 1676479 - Turn on WebRender on Intel gen5 on Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96619
2020-11-10 20:08:34 +00:00
Kris Maglione 7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Jamie Nicol fff551e1dd Bug 1662558 - Enable webrender for Mali-Gxx Android devices on all channels. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96597
2020-11-10 17:24:34 +00:00
Botond Ballo dcc29b730f Bug 1676293 - Remove Java components that were used only by StackScrollerFlingAnimation. r=mstange,geckoview-reviewers,agi
Depends on D96508

Differential Revision: https://phabricator.services.mozilla.com/D96509
2020-11-10 16:59:44 +00:00
stransky 5facf40272 Bug 1670970 [Linux] Check GdkWindow before we pass it to gdk_window_get_origin(), r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D96426
2020-11-10 07:25:06 +00:00
Cameron McCormack 54dbda7236 Bug 1676056 - Fall back to default scrollbar colors in non-native theme when Gtk theme is too complex. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D96344
2020-11-09 19:02:21 +00:00
Karl Tomlinson 9c4a4ff8f2 Bug 1675908 refresh cached screens on resolution change r=stransky
When reducing dpi from a larger value at Firefox startup, the hamburger menu
drop-down was limited in size unnecessarily because Firefox still had the
initial concept of screen size.  This derived from the use of
gfxPlatformGtk::GetFontScaleFactor() in initializing screen data.
https://searchfox.org/mozilla-central/rev/8b7aa8af652f87d39349067a5bc9c0256bf6dedc/widget/gtk/ScreenHelperGTK.cpp#151.

A RefreshScreens() on resolution change resolves that.

Depends on D96306

Differential Revision: https://phabricator.services.mozilla.com/D96307
2020-11-09 12:19:01 +00:00
Andrew Osmond 512e2df326 Bug 1675766 - Ship WebRender on Linux/GNOME/X11 to release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D96185
2020-11-09 14:48:21 +00:00
Andrew Osmond 08bc6ad13e Bug 1655584 - Flush rendering for popup window configuration changes with GTK. r=sotaro
This backs out part of bug 1656211 which turned out to be insufficient.
The invalidate rendered frame transaction races with the initial frame
rendering of the popup. If it comes in too soon, we will only draw the
frame once, and the frame corruption remains. This patch makes us flush
the rendering pipeline to ensure we get two separate generate frame
events.

Differential Revision: https://phabricator.services.mozilla.com/D96157
2020-11-06 11:56:13 +00:00
Emilio Cobos Álvarez 9ad2e29617 Bug 1675956 - Use PrintDlgEx on Windows for the system dialog. r=jfkthame
This allows users to use custom print ranges from the print dialog
(up to 10 by default, which should be plenty).

Differential Revision: https://phabricator.services.mozilla.com/D96336
2020-11-09 13:39:46 +00:00
Robert Mader ce8b2c945f Bug 1676022 - Silence some glib deprecation warnings, r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D96323
2020-11-09 11:53:41 +00:00
Makoto Kato 499ac3195b Bug 1675313 - Don't update IMEState during composition when element.focus() is called. r=masayuki
This is regression by bug 1658948.

We shouldn't update IME state during composition even if element.focus() is
called to current focused element.

Also, although this depends on netive impelentation of IME handling, I would
like to add unit test for this situation since we might add mock tests for
native IME handling.

Differential Revision: https://phabricator.services.mozilla.com/D96308
2020-11-08 08:36:58 +00:00
Emilio Cobos Álvarez 3e45c534c8 Bug 1669854 - Two minor follow-ups. DONTBUILD
One suggested by Jonathan in the review (as the ALLPAGES bit is just 0).

One pointing to bug 1675956, where we could possibly improve the system
dialog to use non-contiguous page ranges.

Differential Revision: https://phabricator.services.mozilla.com/D96320
2020-11-07 20:52:02 +00:00
Emilio Cobos Álvarez 771dd03229 Bug 1669854 - Add a single pageRanges print setting. r=nordzilla
... which is an array of pairs of ranges, and use it instead of the
existing printRange / startPage / endPage settings.

Differential Revision: https://phabricator.services.mozilla.com/D96093
2020-11-07 16:01:57 +00:00
Andrew Osmond 02ff8b6e97 Bug 1673939 - Block WebRender for AMD R600 GPUs with Mesa drivers due to garbled text. r=jrmuizel
Note R600 refers to the GPU generation, not the r600 Mesa driver.

Differential Revision: https://phabricator.services.mozilla.com/D96115
2020-11-06 15:50:54 +00:00
stransky ecee270167 Bug 1675453 [Linux] Update dmabuf config at GfxInfoX11, r=jhorak
Depends on D95993

Differential Revision: https://phabricator.services.mozilla.com/D95994
2020-11-06 14:13:13 +00:00