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

29050 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 2937dbb0e1 Bug 1727395 - Remove unused ClientLayerManager.h includes. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123518
2021-08-24 19:27:26 +00:00
Paul Adenot a7b4d10bbb Bug 1724994 - Promote GraphRunner to higher priority on Android. r=agi,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D123346
2021-08-24 15:13:31 +00:00
Jeff Muizelaar 4e0c60c99c Bug 1727324 - Remove WindowRenderer::AsClientLayerManager. r=aosmond
A step down the path of removing ClientLayerManager.

Differential Revision: https://phabricator.services.mozilla.com/D123451
2021-08-24 15:07:56 +00:00
stransky 2312e1ba72 Bug 1727285 [Linux/X11] Provide more logging to Clipboard/X11 code, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D123436
2021-08-24 14:52:58 +00:00
stransky ec9d5c0d9a Bug 1727285 [Wayland] Don't crash when gtk_clipboard_request_text() callback returns null text string, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D123434
2021-08-24 11:51:48 +00:00
stransky 4c6211600a Bug 1727268 [Wayland] Unlock async clipboard even when nsRetrievalContextWaylandAsync::GetTargets() fails, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D123427
2021-08-24 09:38:46 +00:00
Gerald Squelart 17c3deae20 Bug 1722261 - Use ProfilingStack inside ThreadRegistrationData - r=canaltinova
The ProfilingStack object inside ThreadRegistrationData is guaranteed to live while the thread is registered (and alive), and all accesses are guaranteed to be done either:
- On-thread, so during that time ThreadRegistrationData and its ProfilingStack cannot be destroyed.
- From another thread, but with the Profiler lock and/or per-thread lock, which also guarantees that ThreadRegistrationData and its ProfilingStack cannot be destroyed.

RacyRegisteredThread brought some doubts about end-of-thread accesses, that why there's was an intermediate ref-counted ProfilingStackOwner to keep ProfilingStack alive where needed. Now we can remove it.

Also the separate TLS (Thread Local Storage) for ProfilingStackOwner can be removed, since we can reach the ProfilingStack through the ThreadRegistration TLS for the same cost.

Differential Revision: https://phabricator.services.mozilla.com/D121846
2021-08-24 04:47:15 +00:00
Matt Woodrow 56768f11a4 Bug 1726562 - Remove option to disable software webrender for popups. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D123159
2021-08-24 04:06:34 +00:00
Harry Twyford 2dcfa8f525 Bug 1725146 - Force ColorScheme::Light in NativeGetColor on macOS < 10.14. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D122766
2021-08-23 19:06:28 +00:00
Emilio Cobos Álvarez d5d7725e5f Bug 1725604 - Drive-by cleanups. r=stransky
Depends on D122584

Differential Revision: https://phabricator.services.mozilla.com/D122610
2021-08-23 12:10:43 +00:00
Emilio Cobos Álvarez 4cf1cdb335 Bug 1725604 - Set input shape region in top-level window. r=stransky
This works, but there's an issue dealing with dynamic changes. I'm
almost sure that's a GTK issue, will try to file and repro.

Differential Revision: https://phabricator.services.mozilla.com/D122584
2021-08-23 12:10:43 +00:00
Kagami Sascha Rosylight eddf271c1f Bug 1726648 - Add a helper to trim brackets from nsID r=mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D123163
2021-08-23 10:54:11 +00:00
Andi-Bogdan Postelnicu 9945b94835 Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio
Updated with clang-format version 12.0.1 (taskcluster-dNZqCRqWRTqa6cZxPKxh7Q)

Differential Revision: https://phabricator.services.mozilla.com/D122814
2021-08-23 09:30:23 +00:00
Matt Woodrow 0ee96e3fa5 Bug 1726291 - Remove FrameLayerBuilder. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D122930
2021-08-23 03:07:31 +00:00
Iulian Moraru a16afaadfe Backed out changeset d21b3f88a2b4 (bug 1726648) for causing build bustages. CLOSED TREE 2021-08-23 04:12:02 +03:00
Kagami Sascha Rosylight 0c5086660f Bug 1726648 - Add a helper to trim brackets from nsID r=mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D123163
2021-08-23 00:35:40 +00:00
Kagami Sascha Rosylight 2f44c583c1 Bug 1725416 - Default to eNotPressed in WidgetTouchEvent r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D123100
2021-08-21 13:11:13 +00:00
Butkovits Atila 0d54d4b040 Backed out changeset 217fff940bec (bug 1725416) for causing mochitest failures on test_getCoalescedEvents_touch.html. CLOSED TREE 2021-08-20 22:59:56 +03:00
Haik Aftandilian 442d1dea3e Bug 1722758 - Patch 4 - Encode additional characters in the URL required for NSURL compatiblity r=mac-reviewers,mstange
Perform additional encoding of URLs before converting to an NSURL as required per the `NSURL URLWithString:` method documentation.

Differential Revision: https://phabricator.services.mozilla.com/D122653
2021-08-20 18:54:04 +00:00
Stephen A Pohl 25924e1a6a Bug 1726810: Pref off exiting of fullscreen on escape key events on macOS for now. r=mac-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D123237
2021-08-20 16:10:14 +00:00
Kagami Sascha Rosylight edc78017d7 Bug 1725416 - Default to eNotPressed in WidgetTouchEvent r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D123100
2021-08-20 14:48:01 +00:00
Jeff Muizelaar bc83bb5886 Bug 1726672 - Remove PaintThread. r=mattwoodrow
Basically just rm PaintThread.cpp and get things to build.

Differential Revision: https://phabricator.services.mozilla.com/D123170
2021-08-20 13:20:44 +00:00
Cosmin Sabou b53abb88e7 Backed out changeset e111894317cc (bug 1726291) for causing assertion failures on WebRenderCommandBuilder.cpp. CLOSED TREE 2021-08-20 06:22:40 +03:00
Matt Woodrow 94015526e1 Bug 1726291 - Remove FrameLayerBuilder. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D122930
2021-08-20 02:20:39 +00:00
David Parks 12770bd668 Bug 1722085: Use Win32 function GetDpiForWindow when available r=cmartin
GetDpiForMonitor sometimes gives the wrong result for multi-monitor setups in Windows 11.

Differential Revision: https://phabricator.services.mozilla.com/D122027
2021-08-19 17:13:55 +00:00
Edgar Chen 60774151e2 Bug 1511231 - Part 1: Remove unused constructor from WidgetPointerEvent; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122588
2021-08-19 13:27:12 +00:00
Alexandru Michis b8a9a605d8 Backed out 4 changesets (bug 1511231) for causing cpp bustages in CoalescedTouchData.cpp
CLOSED TREE

Backed out changeset 79dc991bfa6c (bug 1511231)
Backed out changeset 94a5ef68aac3 (bug 1511231)
Backed out changeset bc913eaeeff2 (bug 1511231)
Backed out changeset fa0e4e205617 (bug 1511231)
2021-08-19 13:19:11 +03:00
Edgar Chen 7f683ab692 Bug 1511231 - Part 1: Remove unused constructor from WidgetPointerEvent; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122588
2021-08-19 09:08:19 +00:00
Brindusan Cristian a1ab92e0b1 Backed out 28 changesets (bug 1722261) for causing linux asan failures.
CLOSED TREE

Backed out changeset f6008261478f (bug 1722261)
Backed out changeset e0acdc278398 (bug 1722261)
Backed out changeset c382b83927b1 (bug 1722261)
Backed out changeset 3ca4e85a2f0c (bug 1722261)
Backed out changeset 0f79b507f7fa (bug 1722261)
Backed out changeset 54f922f8d85c (bug 1722261)
Backed out changeset 01f52fd9d41b (bug 1722261)
Backed out changeset 641b915a5877 (bug 1722261)
Backed out changeset d88b53a4c4ac (bug 1722261)
Backed out changeset e5cc8b60c7f4 (bug 1722261)
Backed out changeset cf05e4baf78f (bug 1722261)
Backed out changeset 7574972ea660 (bug 1722261)
Backed out changeset cca5ffa19387 (bug 1722261)
Backed out changeset 0c05174fc2c1 (bug 1722261)
Backed out changeset d1cf4d7f6796 (bug 1722261)
Backed out changeset 015fe6840a85 (bug 1722261)
Backed out changeset 5798abd2f42a (bug 1722261)
Backed out changeset 5e0cf65719d3 (bug 1722261)
Backed out changeset eb61f791b99b (bug 1722261)
Backed out changeset 2f6b4f80db1f (bug 1722261)
Backed out changeset 842b895b7ac1 (bug 1722261)
Backed out changeset aa80d9331b8c (bug 1722261)
Backed out changeset 0ad4e47ff813 (bug 1722261)
Backed out changeset 21f448ea0744 (bug 1722261)
Backed out changeset de6aa81e9ccf (bug 1722261)
Backed out changeset 3b06f1822f48 (bug 1722261)
Backed out changeset 955f1c1c9f1a (bug 1722261)
Backed out changeset b7e53f12dc99 (bug 1722261)
2021-08-19 08:56:02 +03:00
Gerald Squelart ec135fdda7 Bug 1722261 - Use ProfilingStack inside ThreadRegistrationData - r=canaltinova
The ProfilingStack object inside ThreadRegistrationData is guaranteed to live while the thread is registered (and alive), and all accesses are guaranteed to be done either:
- On-thread, so during that time ThreadRegistrationData and its ProfilingStack cannot be destroyed.
- From another thread, but with the Profiler lock and/or per-thread lock, which also guarantees that ThreadRegistrationData and its ProfilingStack cannot be destroyed.

RacyRegisteredThread brought some doubts about end-of-thread accesses, that why there's was an intermediate ref-counted ProfilingStackOwner to keep ProfilingStack alive where needed. Now we can remove it.

Also the separate TLS (Thread Local Storage) for ProfilingStackOwner can be removed, since we can reach the ProfilingStack through the ThreadRegistration TLS for the same cost.

Differential Revision: https://phabricator.services.mozilla.com/D121846
2021-08-19 02:45:00 +00:00
Emilio Cobos Alvarez 68a095e065 Bug 1724120 - Tweak Windows' nsWindow::SetCursor. r=mhowell
This is simpler and more correct, the previous code could get sHCursor and
sCurrentCursor out of sync, which caused this issue.

Differential Revision: https://phabricator.services.mozilla.com/D122966
2021-08-18 16:21:38 +00:00
Karl Tomlinson 33a62f48af Bug 1725917 use the same logic for chrome ColorScheme in MatchFirefoxThemeIfNeeded() as in ColorSchemeForDocument() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122807
2021-08-18 07:45:15 +00:00
Iulian Moraru d56b6f5b06 Backed out changeset e40234e5ffde (bug 1725917) for causing linux build bustages on nsLookAndFeel.cpp. CLOSED TREE 2021-08-18 09:52:04 +03:00
Karl Tomlinson 3c44e06310 Bug 1725917 use the same logic for chrome ColorScheme in MatchFirefoxThemeIfNeeded() as in ColorSchemeForDocument() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122807
2021-08-18 00:58:57 +00:00
Matt Woodrow 2cd0480476 Bug 1726063 - Remove support for non-WR compositor initialization. r=jrmuizel,aosmond
Depends on D122796

Differential Revision: https://phabricator.services.mozilla.com/D122798
2021-08-17 23:19:44 +00:00
Matt Woodrow f8ba1239ca Bug 1726063 - Remove option to use BasicLayerManager. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D122796
2021-08-17 23:19:44 +00:00
Makoto Kato c47dd85e06 Bug 1724850 - Don't show software keyboard for some input types. r=geckoview-reviewers,agi
When re-focusing input type that has the prompt such as `<input type=week>`,
we show software keyboard unfortunately. We shouldn't show it.

Differential Revision: https://phabricator.services.mozilla.com/D122198
2021-08-16 17:35:14 +00:00
Eitan Isaacson 2a17656c7c Bug 1725519 - Build nsWindow::GetFocusedWindow in non-Wayland configs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122646
2021-08-16 07:13:48 +00:00
Marian-Vasile Laza b50f0ce625 Backed out changeset 65f8b0434e1e (bug 1708580) for causing Btime failures. CLOSED TREE 2021-08-14 00:44:48 +03:00
Aaron Klotz d8a5c41db0 Bug 1708580: When the "quit-application" event fires in GeckoView, annotate the GeckoThread.State and force crash on nightly and early beta; r=agi
AFAICT, all roads lead though [`nsAppStartup::Quit`](https://searchfox.org/mozilla-central/rev/0fec57c05d3996cc00c55a66f20dd5793a9bfb5d/toolkit/components/startup/nsAppStartup.cpp#448),
which is responsible for firing the `"quit-application"` observer notification
and then posting the `nsAppExitEvent` that causes the `nsAppShell` to break out
of its event loop and proceed with shutdown.

If we trigger a native crash in the observer, we should be able to capture a
symbolicated stack of whatever called `Quit`. We might as well force-crash
anyway, since AC is going to throw an exception regardless...

Before we crash, we annotate the current `GeckoThread` state to enable us to
find out whether we were fully initialized at the time of the shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D122256
2021-08-13 15:45:37 +00:00
hmh 6a32d03871 Bug 1725496 - Remove obsolete GTK/X11 event compression. r=stransky,emilio
According to the GTK/GDK docs:
https://docs.gtk.org/gdk3/method.Window.set_event_compression.html event
compression is enabled by default and there is no need to manually remove
motion events anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122534
2021-08-13 09:52:53 +00:00
Emilio Cobos Alvarez 73568f7953 Bug 1725454 - Implement ui.caretBlinkCount on Windows. r=mhowell
This makes Firefox respect the following Windows registry key:

  Computer\HKEY_CURRENT_USER\Control Panel\Desktop\CaretTimeout

Which makes the caret stop blinking after a given timeout, and thus stop
wasting CPU.

Differential Revision: https://phabricator.services.mozilla.com/D122501
2021-08-12 20:56:11 +00:00
Andrew Osmond ddabc1b810 Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.

MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.

Differential Revision: https://phabricator.services.mozilla.com/D122474
2021-08-12 20:28:53 +00:00
Dorel Luca c5bcb28b25 Backed out changeset 27e6d1f6f6c1 (bug 1708580) on Dev's request. CLOSED TREE 2021-08-12 22:30:34 +03:00
Aaron Klotz 9daf72aa1f Bug 1708580: When the "quit-application" event fires in GeckoView, annotate the GeckoThread.State and force crash on nightly and early beta; r=agi
AFAICT, all roads lead though [`nsAppStartup::Quit`](https://searchfox.org/mozilla-central/rev/0fec57c05d3996cc00c55a66f20dd5793a9bfb5d/toolkit/components/startup/nsAppStartup.cpp#448),
which is responsible for firing the `"quit-application"` observer notification
and then posting the `nsAppExitEvent` that causes the `nsAppShell` to break out
of its event loop and proceed with shutdown.

If we trigger a native crash in the observer, we should be able to capture a
symbolicated stack of whatever called `Quit`. We might as well force-crash
anyway, since AC is going to throw an exception regardless...

Before we crash, we annotate the current `GeckoThread` state to enable us to
find out whether we were fully initialized at the time of the shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D122256
2021-08-12 19:12:49 +00:00
stransky 36904ac58d Bug 1720551 [Wayland] Update popup anchor for RTL locales, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122333
2021-08-12 14:07:30 +00:00
Iulian Moraru 75fa983116 Backed out changeset 8b346c50a44c (bug 1720551) for causing bc failures on browser_test_clipboardcache.js. CLOSED TREE 2021-08-12 19:24:16 +03:00
stransky e72d41676c Bug 1725149 [Wayland] Implement async clipboard, r=rmader
When widget.wayland.async-clipboard.enabled use async clipboard and D&D handlers provided by Gtk.

Differential Revision: https://phabricator.services.mozilla.com/D122353
2021-08-12 14:07:58 +00:00
stransky 4fdb1bce7a Bug 1720551 [Wayland] Update popup anchor for RTL locales, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122333
2021-08-12 14:07:30 +00:00
Robert Mader e5f2181822 Bug 1725371 - Reenable Gnome subsurface workaround,
This workaround was removed in D121650. Unfortunately we need it
a bit longer until the Mutter fix reaches users, as triggering it
crashes the whole desktop.

Differential Revision: https://phabricator.services.mozilla.com/D122460
2021-08-12 12:38:48 +00:00