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

31443 Коммитов

Автор SHA1 Сообщение Дата
Cristina Horotan 3de280b975 Backed out 5 changesets (bug 1787182) for causing leaks on linux asan. CLOSED TREE
Backed out changeset c5518abf189e (bug 1787182)
Backed out changeset ade3e3a9ec67 (bug 1787182)
Backed out changeset 10299b2e3a6a (bug 1787182)
Backed out changeset d11d31ec4d81 (bug 1787182)
Backed out changeset bde24058d87c (bug 1787182)
2023-03-27 18:09:38 +03:00
stransky e8643079fd Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-03-27 13:47:21 +00:00
stransky 755cfff2a7 Bug 1787182 [Linux] Run VA-API tests on supported hardware only r=emilio,gfx-reviewers,jgilbert
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.

Differential Revision: https://phabricator.services.mozilla.com/D171995
2023-03-27 13:47:21 +00:00
stransky bdd226ef05 Bug 1787182 [Linux] Implement VA-API test as vaapitest binary r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171994
2023-03-27 13:47:20 +00:00
stransky 70e16f1549 Bug 1824307 [VAAPI] Disable HW video decoding on AMD R600 r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D173665
2023-03-27 13:00:19 +00:00
Iulian Moraru 5234db201c Backed out 5 changesets (bug 1787182) for causing leaks on linux asan. CLOSED TREE
Backed out changeset 34056df4e1d5 (bug 1787182)
Backed out changeset fea9dc3de652 (bug 1787182)
Backed out changeset 7e710b6500f0 (bug 1787182)
Backed out changeset fe70bf105370 (bug 1787182)
Backed out changeset 70439dbc72fd (bug 1787182)
2023-03-27 14:18:06 +03:00
stransky facf3ee2b4 Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-03-27 10:16:46 +00:00
stransky 08c92637d2 Bug 1787182 [Linux] Run VA-API tests on supported hardware only r=emilio,gfx-reviewers,jgilbert
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.

Differential Revision: https://phabricator.services.mozilla.com/D171995
2023-03-27 10:16:46 +00:00
stransky ce2bf1947c Bug 1787182 [Linux] Implement VA-API test as vaapitest binary r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171994
2023-03-27 10:16:45 +00:00
stransky 579b6fd6ed Bug 1823333 [VAAPI] Fix FEATURE_HW_DECODED_VIDEO_ZERO_COPY handling as it's allowlisted feature r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D173573
2023-03-27 07:37:20 +00:00
Andi-Bogdan Postelnicu 4efa1bd0ba Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Stephen A Pohl 336ff5573f Bug 660452: Enable services submenu in macOS context menus. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D173635
2023-03-25 18:04:45 +00:00
Sandor Molnar 9db345d4c1 Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu 447f1e3358 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru 6d40eee997 Backed out 2 changesets (bug 1276351) for causing multiple failures.
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Ziran Sun dcf61da9a0 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-24 21:09:11 +00:00
Mark Banner 4a729cf9d7 Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D173450
2023-03-24 19:35:24 +00:00
Andi-Bogdan Postelnicu a1b827b503 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Iulian Moraru 83bab70928 Backed out changeset 241d9f6e2457 (bug 1823359) for causing wpt failures on popover-light-dismiss.html. CLOSED TREE 2023-03-24 21:11:32 +02:00
Ziran Sun d31e4010ed Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-24 16:29:48 +00:00
Brad Werth 17c2d48b8c Bug 1823751: Make macOS pasteboard use NSString for urls, and don't convert to NSData. r=mac-reviewers,spohl
This change makes PasteboardDictFromTransferable use NSString to store the
file url in the NSDictionary, and then when converting to the native
pasteboard, check whether we have an URL and use the setString method
in that case. This complies with the macOS requirement that NSString
content is used for the kUTTypeFileURL key.

There are further opportunities for improving usage of NSPasteboard,
specifically that all URLs should be written using writeContents, that we
shouldn't be using the kUTTypeFileURL key as an NSString, but those issues
are not addressed in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D173359
2023-03-24 15:57:22 +00:00
Cristina Horotan 6d2f4d1811 Backed out 5 changesets (bug 1787182) for causing build bustage at pangofc-font.h CLOSED TREE
Backed out changeset 2fc6b3fd4365 (bug 1787182)
Backed out changeset 0d097f0f6228 (bug 1787182)
Backed out changeset 6a359af2ce38 (bug 1787182)
Backed out changeset 3cd483e237a1 (bug 1787182)
Backed out changeset cb7d83d2253b (bug 1787182)
2023-03-24 15:26:38 +02:00
stransky 845150be4f Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-03-24 12:58:53 +00:00
stransky 7e30c8793d Bug 1787182 [Linux] Run VA-API tests on supported hardware only r=emilio,gfx-reviewers,jgilbert
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.

Differential Revision: https://phabricator.services.mozilla.com/D171995
2023-03-24 12:58:53 +00:00
stransky ed4d9becf7 Bug 1787182 [Linux] Implement VA-API test as vaapitest binary r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171994
2023-03-24 12:58:52 +00:00
Norisz Fay eb7653efa4 Backed out changeset adc083051939 (bug 1823359) for causing wpt failures on popover-light-dismiss.html 2023-03-24 01:50:20 +02:00
Ziran Sun 02d0389ca0 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-23 19:04:20 +00:00
Calixte 2a71e09bd2 Bug 1811303 - Make a pen usable to draw on a pdf on Windows r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D173425
2023-03-23 14:25:36 +00:00
Emilio Cobos Álvarez e40e19b677 Bug 1820203 - Don't consider dialogs with BorderStyle::{Default,All} as undecorated. r=stransky
Bug 1794577 made this visible but the bug was really introduced in
bug 1816436.

Differential Revision: https://phabricator.services.mozilla.com/D173428
2023-03-23 13:07:29 +00:00
stransky f68d52be59 Bug 1817660 [Linux] Sanity cases where GetWidget() returns empty widget r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173426
2023-03-23 12:51:03 +00:00
Cosmin Sabou 9c4ff4076b Bug 1784772 - Disable browser_test_swipe_gesture.js on linux until a fix in place. r=hiro DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D173370
2023-03-22 23:39:39 +00:00
Tom Schuster 1509ba1c86 Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D172920
2023-03-22 21:55:08 +00:00
Sandor Molnar 39587cae6b Backed out 3 changesets (bug 1820066) for causing xpc failures in widget/headless/tests/test_headless.js CLOSED TREE
Backed out changeset 501d93d8c9eb (bug 1820066)
Backed out changeset ec623d25b138 (bug 1820066)
Backed out changeset c34dfd018abb (bug 1820066)
2023-03-22 22:54:53 +02:00
Makoto Kato 56258a05fc Bug 1822175 - Clean up dynamic refresh rate support on GeckoView. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D172782
2023-03-22 15:35:16 +00:00
Nicholas Rishel 316e2ff914 Bug 1822842 - Trim down notification server event viewer logging unless `alerts.useSystemBackend.windows.notificationserver.verbose=true`. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D173076
2023-03-22 18:25:55 +00:00
Cathie Chen 0d88e41955 Bug 1822521 - Update UA stylesheet for popover. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172700
2023-03-22 17:51:09 +00:00
Sandor Molnar 79329846cc Backed out changeset a1261c0eb985 (bug 1822175) for causing xpc failures in widget/headless/tests/test_headless.js 2023-03-22 20:38:42 +02:00
Makoto Kato 7791ea4730 Bug 1822175 - Clean up dynamic refresh rate support on GeckoView. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D172782
2023-03-22 15:35:16 +00:00
Ray Kraesig cfe1fff87e Bug 1820066 [2/3] - Allow in-process use of the compositor window r=sotaro
The in-process compositor assumes that no compositor window was present.
This is not guaranteed to be true if, for example, the preference
`gfx.webrender.flip-sequential` is set.

Make the in-process compositor more closely mirror the out-of-process
compositor. (At present this effectively just means calling ::SetParent
on the compositor window.)

Differential Revision: https://phabricator.services.mozilla.com/D172733
2023-03-22 15:09:24 +00:00
Csoregi Natalia 1c9d6a9d1c Backed out changeset d567ffebf337 (bug 1823359) for causing failures on popover-light-dismiss.html. CLOSED TREE 2023-03-22 18:19:46 +02:00
Ziran Sun e8eeff9a88 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-22 13:18:32 +00:00
Iulian Moraru f98405beb0 Backed out 4 changesets (bug 1787182) for causing multiple failures. CLOSED TREE
Backed out changeset 8e5214ecc91d (bug 1787182)
Backed out changeset 41e45dcc215a (bug 1787182)
Backed out changeset 63710cc6fda4 (bug 1787182)
Backed out changeset e75ee46f3a6f (bug 1787182)
2023-03-22 14:34:34 +02:00
stransky 6c1fdb761e Bug 1787182 [Linux] Run VA-API tests on supported hardware only r=emilio,gfx-reviewers,jgilbert
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.

Differential Revision: https://phabricator.services.mozilla.com/D171995
2023-03-22 08:36:20 +00:00
stransky 60270358dd Bug 1787182 [Linux] Implement VA-API test as vaapitest binary r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171994
2023-03-22 08:36:19 +00:00
Stephanie Cunnane a67994520d Bug 1823278 - Update consumers of toolkit/components/utils to import ES modules directly. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172950
2023-03-22 02:02:51 +00:00
Masayuki Nakano 050517a46f Bug 1810663 - Add Gecko specific command to enable new join/split node direction r=smaug,m_kato
This API is temporarily available and useful for web app developers who want to
stop supporting Gecko specific join/split direction handling as soon as possible
and who do not want Mozilla block their release schedule by rescheduling of
shipping the new behavior.  Additionally, adding this command allows web apps
detects whether Gecko supports the new behavior and whether it's enabled.

On the other hand, We don't want to ship opt-out API because it's hard to keep
maintaining the legacy behavior specific paths.  Therefore, the command does
nothing if web app calls
`Document.execCommand("enableCompatibleJoinSplitDirection", false "false")` if
the new behavior is enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D172351
2023-03-21 23:58:04 +00:00
Stephen A Pohl f534a28b58 Bug 1822845: Partially revert dfd7e060998e1780e50e0a29ea3cfc767a3eadfb (bug 1779478) for causing errors when using macOS Services. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D173153
2023-03-21 18:54:17 +00:00
mspiess a5da97cb7a Bug 580928 - Add support for Drag and Drop with Outlook items. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D157587
2023-03-21 13:50:32 +00:00
Emilio Cobos Álvarez eb1c40734b Bug 1823336 - [wayland] For unanchored popups don't read anchor / popup gravity. r=stransky
This matches the nsMenuPopupFrame code.

There are a few places where we want to fix our position, and I unified
how we do this in the regressing bug.

ShouldFollowAnchor() = false popups like this used to just not be repositioned directly:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.274

IsNoAutoHide() popups fixed their position once:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.867

I unified in the noautohide behavior but in a better place here:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.1182

But this trips this Wayland code which wasn't treating AnchorType_Point
popups properly.

The fact that this popup doesn't follow the anchor feels wrong, but is
pre-existing.

Differential Revision: https://phabricator.services.mozilla.com/D173004
2023-03-21 12:32:02 +00:00
Emilio Cobos Álvarez c2a9cc3dc2 Bug 1818517 - Ignore crossing-due-to-grab-start events. r=stransky
An alternative for this could be to just ignore leave-notify during a
drag, but that seemed a bit more hackish.

Differential Revision: https://phabricator.services.mozilla.com/D172914
2023-03-21 11:51:17 +00:00