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

4269 Коммитов

Автор SHA1 Сообщение Дата
stransky b261dd7d56 Bug 1866669 [Linux/X11] Apply shape mask to parent window (mShell) for non-compositing desktops r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194868
2023-11-29 12:08:45 +00:00
stransky ff8cc581ed Bug 1837907 [Linux] Enable AppShell SIGTERM signal handler for Firefox r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194183
2023-11-29 12:08:15 +00:00
stransky ca66547202 Bug 1837907 [Linux] Catch SIGTERM in nsAppShell and terminate Firefox by standard way r=jld
SIGTERM is supposed to be a standard way how to terminate Linux application. So don't fire emergency exit but run usual exit sequence.

Depends on D191077

Differential Revision: https://phabricator.services.mozilla.com/D191079
2023-11-29 12:08:15 +00:00
Emilio Cobos Álvarez dd2f04e81e Bug 1867043 - [wayland] Work around GDK custom cursor bug. r=stransky
Clear the cursor explicitly using eCursor_none, so that smaller cursors
don't leave artifacts.

This works around https://gitlab.gnome.org/GNOME/gtk/-/issues/6242

Differential Revision: https://phabricator.services.mozilla.com/D194877
2023-11-29 12:06:24 +00:00
Butkovits Atila fe1644b3dc Backed out changeset 8d11a3a0d707 (bug 1843782) for causing failures complaining about RemoteProcessMonitor . CLOSED TREE 2023-11-29 05:51:34 +02:00
Ashley Hale 5fed10025e Bug 1843782 - WebGL software rendering when mesa/vmwgfx driver detected r=gfx-reviewers,bradwerth,jrmuizel,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D192039
2023-11-29 02:15:17 +00:00
Sandor Molnar 3b95748905 Backed out changeset c1e95a42b8d7 (bug 1843782) for causing gv-junit-fis failures. CLOSED TREE 2023-11-28 02:31:02 +02:00
Ashley Hale 5150f6a2bf Bug 1843782 - WebGL software rendering when mesa/vmwgfx driver detected r=gfx-reviewers,bradwerth,jrmuizel,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D192039
2023-11-27 23:25:14 +00:00
Emilio Cobos Álvarez bc851eaebb Bug 1866734 - Fix --disable-dbus builds. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D194728
2023-11-27 10:19:52 +00:00
stransky 97ea9c500e Bug 1864382 [Linux] Update nsWindow logging r=emilio
Depends on D194621

Differential Revision: https://phabricator.services.mozilla.com/D194622
2023-11-25 10:41:46 +00:00
stransky 1c6ae672b6 Bug 1864382 [Linux] Implement moz_container_unrealize() to explicitly destroy mContainer r=emilio
Depends on D193497

Differential Revision: https://phabricator.services.mozilla.com/D194621
2023-11-25 10:41:46 +00:00
stransky da7fb65f85 Bug 1864382 [Linux] Use gdk_window_get_root_origin() to get origin for popup windows too and apply workaround for Gtk3 < 3.24.35 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193497
2023-11-25 10:41:46 +00:00
stransky 4dadfcf0ce Bug 1864382 [Linux/X11] Always paint to mContainer r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193401
2023-11-25 10:41:45 +00:00
Jan Horak 593738583c Bug 1860269 Implement org.freedesktop.portal.Inhibit for wakelock listener; r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192364
2023-11-23 10:32:26 +00:00
serge-sans-paille a7846edae4 Bug 1864083 - Add missing MOZ_DBUS_CFLAGS r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D194080
2023-11-23 05:37:44 +00:00
Emilio Cobos Álvarez f72926e418 Bug 1756635 - Don't SendUnhibit() on the WakeLockTopic destructor. rpending=stransky
As it might bring the lock "back to life", which is wrong, causing
assertions. Instead use shutdown (the listener destructor) to do that.

This fixes https://treeherder.mozilla.org/jobs?repo=autoland&revision=f4fae08660c1f3323af7bdef3ed152a3d34bc751&selectedTaskRun=LLP4n5QZSjKS2c4dIMbD1Q.0

MANUAL PUSH: Tier 2 Orange fix CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D194405
2023-11-22 19:07:17 +01:00
Emilio Cobos Álvarez e30885b97d Bug 1756635 - Fix non-unified build.
MANUAL PUSH: Trivial fix CLOSED TREE
2023-11-22 18:20:22 +01:00
Emilio Cobos Álvarez 8bdab429d2 Bug 1756635 - Make GTK wake lock lifetime more similar to other desktop platforms. r=stransky
This matches what macOS and Windows do, and should clean up the wake
lock stuff early enough to not hit this issue.

Differential Revision: https://phabricator.services.mozilla.com/D194376
2023-11-22 14:28:35 +00:00
stransky bc4be37a4b Bug 1865723 [Linux] Reduce noise from nsUserIdleServiceGTK r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D194182
2023-11-22 07:13:28 +00:00
Cosmin Sabou fc86bd50da Backed out 3 changesets (bug 1837907) for causing marionette crashes. CLOSED TREE
Backed out changeset 89b150d0c0ab (bug 1837907)
Backed out changeset 8502ba0bf6a6 (bug 1837907)
Backed out changeset e1d41d593702 (bug 1837907)
2023-11-21 15:02:53 +02:00
stransky 9e2a6ac2b2 Bug 1863409 [Linux] Don't add CSD borders to undecorated windows r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194210
2023-11-21 12:01:27 +00:00
stransky 0a55cd6b63 Bug 1863409 [Wayland] Count CSD decoration size borders for CSD windows with system titlebar off r=emilio
Right now we count CSD decoration size borders only for CSD windows with system titlebar on
which is incorrect as such windows also have CSD borders on Wayland.

Differential Revision: https://phabricator.services.mozilla.com/D193787
2023-11-21 12:01:27 +00:00
stransky aae0367a09 Bug 1865739 [Linux] Lock mouse cursor for PIP windows only r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194189
2023-11-21 11:26:09 +00:00
stransky be62770a51 Bug 1837907 [Linux] Disable AppShell SIGTERM signal handler for xpcshell r=emilio
Depends on D191079

Differential Revision: https://phabricator.services.mozilla.com/D194183
2023-11-21 11:25:26 +00:00
stransky 85248def7e Bug 1837907 [Linux] Catch SIGTERM in nsAppShell and terminate Firefox by standard way r=jld
SIGTERM is supposed to be a standard way how to terminate Linux application. So don't fire emergency exit but run usual exit sequence.

Depends on D191077

Differential Revision: https://phabricator.services.mozilla.com/D191079
2023-11-21 11:25:26 +00:00
Cosmin Sabou 5b8f04ac70 Backed out changeset 2f11050c90d8 (bug 1860269) for turning Bug 1756635 into permafail. CLOSED TREE 2023-11-21 12:28:01 +02:00
Jan Horak a8730e9214 Bug 1860269 Implement org.freedesktop.portal.Inhibit for wakelock listener; r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192364
2023-11-21 07:16:25 +00:00
stransky ef501dfcdb Bug 1865302 [Linux] Don't resume compositor if we're missing mCompositorWidgetDelegate r=emilio
We pause compositor for scale changes to avoid flickering during repaint.
If compositor is deleted during the pause, don't try to resume it.
Just flip it back to enabled and let SetCompositorWidgetDelegate() or map event to resume it.

Differential Revision: https://phabricator.services.mozilla.com/D194110
2023-11-20 20:26:24 +00:00
Cristian Tuns e7dcefb957 Backed out changeset 782387a23b7b (bug 1863409) for causing multiple regressions CLOSED TREE 2023-11-19 00:51:51 -05:00
Noemi Erli c6a97aae49 Backed out 2 changesets (bug 1864382) for causing valgrind bustages CLOSED TREE
Backed out changeset d98e4d6c067d (bug 1864382)
Backed out changeset 7d2f6d4992ad (bug 1864382)
2023-11-16 20:36:34 +02:00
stransky 4c441889bf Bug 1865014 [Linux] Don't cancel wake lock uninhibit call from ~WakeLockTopic() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193756
2023-11-16 12:18:01 +00:00
stransky 1eafe852b2 Bug 1864382 [Linux] Use gdk_window_get_root_origin() to get origin for popup windows too and apply workaround for Gtk3 < 3.24.35 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193497
2023-11-16 12:11:12 +00:00
stransky 1efdf685b2 Bug 1864382 [Linux/X11] Always paint to mContainer r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193401
2023-11-16 12:11:12 +00:00
stransky 9bb3c5f58a Bug 1863409 [Linux] Count CSD decoration size borders for CSD windows with system titlebar off r=emilio
Right now we count CSD decoration size borders only for CSD windows with system titlebar on
which is incorrect as such windows also have CSD borders.

Differential Revision: https://phabricator.services.mozilla.com/D193787
2023-11-16 11:24:52 +00:00
Sandor Molnar 8f0b907808 Backed out 3 changesets (bug 1837907) for causing xpc failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartialWhileBackgroundTaskRunning.js
Backed out changeset 28174e34160b (bug 1837907)
Backed out changeset a883cbc99803 (bug 1837907)
Backed out changeset 7a2134520f7c (bug 1837907)
2023-11-15 19:33:12 +02:00
stransky 287dacd96f Bug 1837907 [Linux] Install SIGTERM handler from ProcessNextNativeEvent() r=emilio
Install SIGTERM handler only if we use event loop. That keeps default SIGTERM handler for applications without event loop like xpcshell.

Differential Revision: https://phabricator.services.mozilla.com/D192927
2023-11-15 14:39:28 +00:00
stransky a62db12112 Bug 1837907 [Linux] Catch SIGTERM in nsAppShell and terminate Firefox by standard way r=jld
SIGTERM is supposed to be a standard way how to terminate Linux application. So don't fire emergency exit but run usual exit sequence.

Depends on D191077

Differential Revision: https://phabricator.services.mozilla.com/D191079
2023-11-15 14:39:28 +00:00
Andrew Osmond ca9eb4d975 Bug 1863367 - Part 5. Implement DMABufSurfaceImage::BuildSurfaceDescriptorBuffer for Linux. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D192886
2023-11-14 02:04:05 +00:00
Andrew Osmond 6b498a1321 Bug 1863367 - Part 3. Fix DMABuf header missing override warnings. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D192885
2023-11-14 02:04:05 +00:00
Stanca Serban d6dc694ec7 Backed out changeset 8233590f5555 (bug 1864382) for causing mochitests failures in test_panel.xhtml. CLOSED TREE 2023-11-13 13:20:55 +02:00
stransky 6a7e9f6ad3 Bug 1864382 [Linux/X11] Always paint to mContainer r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193401
2023-11-13 10:07:37 +00:00
stransky bf0abe95b8 Bug 1862159 [Linux] Fix WakeLockListener to build with disabled DBus r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193186
2023-11-09 11:02:38 +00:00
stransky 910846a72c Bug 1863876 [Linux] Move IsCancelledGError() from AsyncDBus.h to WidgetUtilsGtk.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D193185
2023-11-09 11:01:37 +00:00
stransky 9502e1e7f4 Bug 1862159 [Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
- Update WAKE_LOCK_LOG to print 'this' which allows to sort operations by lock type
- GetOrInsertNew() call always creates a new WakeLockTopic object so in this patch call it only if we create a new object.
- Split mWaitingForDBusReply to mWaitingForDBusInhibit/mWaitingForDBusUninhibit. It allows to ignore repeated requests and also cancel
  opposite requests.
- Use g_cancellable to cancel pending DBus operation if we want different wake lock action.

Differential Revision: https://phabricator.services.mozilla.com/D192622
2023-11-09 08:39:57 +00:00
Stanca Serban 388b8f06a2 Backed out changeset 63c54b25b36f (bug 1862159) for causing bp-nu bustages in WakeLockListener.h. CLOSED TREE 2023-11-08 17:04:46 +02:00
stransky 24cf9730c1 Bug 1862159 [Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
- Update WAKE_LOCK_LOG to print 'this' which allows to sort operations by lock type
- GetOrInsertNew() call always creates a new WakeLockTopic object so in this patch call it only if we create a new object.
- Split mWaitingForDBusReply to mWaitingForDBusInhibit/mWaitingForDBusUninhibit. It allows to ignore repeated requests and also cancel
  opposite requests.
- Use g_cancellable to cancel pending DBus operation if we want different wake lock action.

Differential Revision: https://phabricator.services.mozilla.com/D192622
2023-11-08 12:54:23 +00:00
Stanca Serban 83bab8c1db Backed out changeset 7c1e05f847ba (bug 1862159) for causing WakeLock related failures. CLOSED TREE 2023-11-08 14:40:08 +02:00
stransky 5a00aa459f Bug 1862159 [Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
- Update WAKE_LOCK_LOG to print 'this' which allows to sort operations by lock type
- GetOrInsertNew() call always creates a new WakeLockTopic object so in this patch call it only if we create a new object.
- Split mWaitingForDBusReply to mWaitingForDBusInhibit/mWaitingForDBusUninhibit. It allows to ignore repeated requests and also cancel
  opposite requests.
- Use g_cancellable to cancel pending DBus operation if we want different wake lock action.

Differential Revision: https://phabricator.services.mozilla.com/D192622
2023-11-08 11:37:00 +00:00
Emilio Cobos Álvarez f3cfe85712 Bug 1789214 - When forcing colors without a color-scheme, compute prefers-color-scheme based on them. r=morgan
This requires moving some code around to PreferenceSheet, but that makes
stuff actually a bit simpler.

Depends on D192574

Differential Revision: https://phabricator.services.mozilla.com/D192575
2023-11-06 19:59:38 +00:00
Andrew McCreight a3fd771d1d Bug 1859643 - Remove nsSoundProxy. r=spohl,win-reviewers
nsISound is no longer used in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D192115
2023-11-06 16:27:07 +00:00