3312 Commits

Author SHA1 Message Date
sotaro
b96d339c5b Bug 1921379 - Alloc DMA buffer in VKImage for WebGPU presentation on Linux r=webgpu-reviewers,nical
Allocate dmabuf  in VKImage, since direct dmabuf creation by gbm_bo_* is not reliable and comes with various issue.

Texture of swap chain uses vk::ImageCreateFlags::ALIAS(VK_IMAGE_CREATE_ALIAS_BIT).

wgpu_server_adapter_request_device() allocates vulkan device for enabling the following extensions that is necessary for dmabuf support.
- khr::external_memory_fd
- ext::external_memory_dma_buf
- ext::image_drm_format_modifier
- khr::external_semaphore_fd

Differential Revision: https://phabricator.services.mozilla.com/D223910
2024-10-29 01:58:48 +00:00
Henri Sivonen
b94283647c Bug 1866191 - Implement GB18030-2022 changes to the Encoding Standard. r=supply-chain-reviewers,emk
Differential Revision: https://phabricator.services.mozilla.com/D222928
2024-10-25 10:41:35 +00:00
Emilio Cobos Álvarez
c76b2e267d Bug 1926269 - Changes to allow publishing selectors. r=supply-chain-reviewers
to_shmem and to_shmem_derive need a description, and selectors needs a
version bump.

Tweak supply-chain audits / config to deal with now published crates.

Differential Revision: https://phabricator.services.mozilla.com/D226468
2024-10-23 19:54:49 +00:00
Alex Franchuk
ceabd19bdd Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-23 13:58:12 +00:00
John Schanck
84cf4720f6 Bug 1926414 - add a pref to make CRLite coverage checks more strict. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D226559
2024-10-23 03:07:55 +00:00
Alex Franchuk
ca80c9cd2c Bug 1873210 - Support langpacks in the crashreporter client r=gsvelto,supply-chain-reviewers
This passes the profile directory as a crash annotation (which is not
sent in the crash report). The profile directory is already indirectly
passed to the crash reporter through
`MOZ_CRASHREPORTER_EVENTS_DIRECTORY`, however I don't think that's
something to rely upon.

The pref parsing and langpack extension search are done on a best-effort
basis; there may be some odd configurations for which it does not
account. However, it should cover the vast majority of cases. While we
don't want to underserve niche populations that may have an odd
configuration, we do always have fallback behaviors that are likely
still reasonable for most (like using the installation locale). We also
first try the `useragent_locale` annotation before getting locales from
the prefs.

This only looks in the profile and the installation for langpack
extensions. There are a few other system-wide locations that Firefox
looks in. However, the assumptions are:
1) overwhelmingly users install langpacks using the UI rather than
   manually downloading the file, and
2) if installed with a package manager (mostly applicable to linux),
   langpacks are put in the installation. This is the case for the few
   major linux distros I checked.

If we think this is not enough, I can also add the system-wide
directories.

Differential Revision: https://phabricator.services.mozilla.com/D222356
2024-10-22 15:36:27 +00:00
Drew Willcoxon
47fb14ac69 Bug 1926112 - Vendor application-services a0121f35125bd61ebd10fab969f6cfcc02f94d5a for city-based weather. r=bdk,nanj,supply-chain-reviewers
I had to also bump `uniffi` and `uniffi_bindgen` from 0.28.1 to 0.28.2.

Differential Revision: https://phabricator.services.mozilla.com/D226381
2024-10-22 03:45:18 +00:00
Sandor Molnar
c2581af308 Backed out changeset bb90d095b8b8 (bug 1917685) for causing xpc failures @ test_crash_exc_guard / test_crash_service CLOSED TREE 2024-10-22 01:46:53 +03:00
Alex Franchuk
0996a5e236 Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-21 16:46:06 +00:00
Erich Gubler
9d9039f9a0 Bug 1923913 - build(webgpu): update WGPU to d70ef62e9e0683789f745c6a4354495f39354c15 r=webgpu-reviewers,supply-chain-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D225272
2024-10-15 19:48:12 +00:00
Erich Gubler
7a485af13f Bug 1923913 - build: update once_cell 1.19.0 → 1.20.2 r=webgpu-reviewers,supply-chain-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D225271
2024-10-15 19:48:11 +00:00
John Schanck
f2b57123d0 Bug 1924577 - vendor clubcard-crlite 0.3.0. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225552
2024-10-15 15:55:26 +00:00
Nico Grunbaum
49d00f22dd Bug 1920766 - vendor webrtc-sdp 0.3.13 for AV1 support;r=dbaker,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223390
2024-10-10 16:39:15 +00:00
Max Inden
c5bdf0b172 Bug 1923287 - Update neqo to v0.9.2 r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224915
2024-10-08 12:13:34 +00:00
Jan-Erik Rediger
e778594c09 Bug 1923078 - Update to Glean v61.2.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,skhan
Differential Revision: https://phabricator.services.mozilla.com/D224759
2024-10-08 09:39:55 +00:00
Jim Blandy
939f8d1e00 Bug 1922854: Update wgpu to ee0d1703 (2024-10-04). r=webgpu-reviewers,supply-chain-reviewers,nical,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D224614
2024-10-07 23:15:47 +00:00
Max Inden
00ba6754b5 Bug 1922479 - update neqo to v0.9.1 r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224482
2024-10-07 07:14:04 +00:00
Emilio Cobos Álvarez
4f1b4c38f6 Bug 1922351 - Move ffi serde serialization from Servo into somewhere usable by other crates in the tree. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D224394
2024-10-04 07:51:46 +00:00
Ben Dean-Kawamura
425e88f632 Bug 1918134 - Add tests for trait interfaces, r=lina
I thought we needed to write some code to implement trait interfaces,
but they actually already work.  So, let's just add a simple test for
them.

Differential Revision: https://phabricator.services.mozilla.com/D222025
2024-10-02 17:49:08 +00:00
Iulian Moraru
572a88cfe7 Backed out 3 changesets (bug 1913982, bug 1918509, bug 1918134) for causing hazard build bustages related to UniFFI. CLOSED TREE
Backed out changeset 5052882d0b42 (bug 1913982)
Backed out changeset c9228cdd8d23 (bug 1918509)
Backed out changeset 09325d77592d (bug 1918134)
2024-10-02 05:59:33 +03:00
Ben Dean-Kawamura
b54af7ae43 Bug 1918134 - Add tests for trait interfaces, r=lina
I thought we needed to write some code to implement trait interfaces,
but they actually already work.  So, let's just add a simple test for
them.

Differential Revision: https://phabricator.services.mozilla.com/D222025
2024-10-01 19:22:15 +00:00
Ben Dean-Kawamura
12feebe16a Bug 1921280 - Vendor in the latest app-services commit, r=adw,urlbar-reviewers
This brought in a breaking change: `Suggestion.icon` is now the `bytes`
type.  To accomidate that, added UniFFI support for bytes and updated
the SuggestBackendRust code since that field is now a Uint8Array on the
JS side.

Differential Revision: https://phabricator.services.mozilla.com/D223774
2024-09-30 14:07:55 +00:00
John Schanck
178de4c554 Bug 1920142 - part 2: vendor clubcard and clubcard-crlite. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223011
2024-09-26 17:51:14 +00:00
Iulian Moraru
5efc76ec48 Backed out 3 changesets (bug 1920142) for causing xpcshell failures related to CRLite. CLOSED TREE
Backed out changeset e570a580175f (bug 1920142)
Backed out changeset adc5b04fed20 (bug 1920142)
Backed out changeset 444e0a86272e (bug 1920142)
2024-09-26 08:17:47 +03:00
John Schanck
144944eab8 Bug 1920142 - part 2: vendor clubcard and clubcard-crlite. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223011
2024-09-26 04:01:49 +00:00
John Schanck
711d6ec594 Bug 1915919 - vendor authenticator-rs v0.4.1. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223655
2024-09-26 04:00:42 +00:00
Jeff Muizelaar
bcfba3c8c0 Bug 1805557. Don't try to flatten nearly degenerate curves. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D223665
2024-09-26 02:36:30 +00:00
Butkovits Atila
bb60c5a48b Backed out 3 changesets (bug 1920142) for causing bustages complaining about clubcard.
Backed out changeset 0d796ae0c81b (bug 1920142)
Backed out changeset c2e8d6b1e681 (bug 1920142)
Backed out changeset 499d722ea77f (bug 1920142)
2024-09-26 03:11:20 +03:00
John Schanck
a9a2cac131 Bug 1920142 - part 2: vendor clubcard and clubcard-crlite. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223011
2024-09-25 23:23:19 +00:00
Jan-Erik Rediger
bc843c86d2 Bug 1919245 - Update to Glean v61.1.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,ahal,kaya
Differential Revision: https://phabricator.services.mozilla.com/D223312
2024-09-25 14:05:15 +00:00
Adam Brouwers-Harries
693d828b76 Bug 1918097 - Add profiler markers for Glean::CounterMetric, and name lookup function r=chutten,florian,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D221795
2024-09-24 19:47:32 +00:00
Alex Franchuk
a92f7373b2 Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-09-24 13:36:20 +00:00
Dana Keeler
4e10a310f1 Bug 1918279 - implement a signature cache r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D221904
2024-09-23 21:47:53 +00:00
Norisz Fay
e0d8acdc01 Backed out 6 changesets (bug 1743983) for causing xpcshell failures on test_crash_exc_guard.js
Backed out changeset 4c18ba39bd29 (bug 1743983)
Backed out changeset d752fefce387 (bug 1743983)
Backed out changeset 85fe08447584 (bug 1743983)
Backed out changeset 777d22bbe805 (bug 1743983)
Backed out changeset 60b418a167d7 (bug 1743983)
Backed out changeset a46c460ecb3a (bug 1743983)
2024-09-24 00:17:08 +03:00
Alex Franchuk
88088e3778 Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-09-23 19:55:01 +00:00
pstanciu
ed40307b32 Backed out changeset b929cdeaeb50 (bug 1918279) for causing build bustages on CTLogVerifier.cpp CLOSED TREE 2024-09-22 23:55:26 +03:00
Glenn Watson
adce7278ad Bug 1919921 - Update crossbeam-channel r=supply-chain-reviewers,gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D222884
2024-09-22 20:03:44 +00:00
Dana Keeler
5f63b3b97d Bug 1918279 - implement a signature cache r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D221904
2024-09-22 19:40:37 +00:00
Alex Franchuk
6a6dafeb0e Bug 1912131 - Update minidump-writer to 0.10.1 r=gsvelto,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221977
2024-09-20 15:27:10 +00:00
Lina Butler
92a94c3c89 Bug 1913241 - Add tests for the Skv store state machine. r=nanj
Depends on D220760

Differential Revision: https://phabricator.services.mozilla.com/D221770
2024-09-20 01:48:23 +00:00
Lina Butler
4f018bccc4 Bug 1913241 - Detect and rename corrupt Skv databases. r=nanj
This commit adds plumbing for detecting potentially corrupt SQLite
databases, running maintenance checks, and moving definitively
corrupt database files aside. It works like this:

* `Connection::{read, write}()` observes all connection errors, and
  records "incidents" for errors that could indicate corruption.
* `Store::open()` checks all recorded incidents on the read-write
  connection, determines if they're severe enough to run a maintenance
  check, and takes the read-write and read-only connections temporarily
  out of service if so. This is to try and avoid running potentially
  expensive maintenance operations for one-off errors.
* If the maintenance check succeeds, the store puts both connections
  back into service. If the check fails, the store takes both
  connections permanently out of service, and moves the corrupt
  database file and its related files aside.

Depends on D221930

Differential Revision: https://phabricator.services.mozilla.com/D220760
2024-09-20 01:48:22 +00:00
Erich Gubler
f470dfbfb8 Bug 1919567 - build(webgpu): update WGPU to 3fda684eb9e69c78b16312a3e927e3ea82e853d1 r=webgpu-reviewers,supply-chain-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D222852
2024-09-19 20:54:47 +00:00
Emilio Cobos Álvarez
515b9a9fe8 Bug 1918093 - Fix build bustage.
MANUAL PUSH: Bustage fix CLOSED TREE
2024-09-19 15:55:51 +02:00
Nico Burns
7069645fda Bug 1918093: Add versions to selectors and to_shmem dependencies (r=emilio)
Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D221820
2024-09-19 13:06:58 +00:00
Nico Burns
40a655a763 Bug 1918093: Remove to_shmem_derive dependency on derive_common (r=emilio)
Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D221815
2024-09-19 13:06:53 +00:00
Nico Burns
1a3a2a63a5 Bug 1918093: Migrate to_shmem_derive to edition 2021 (r=emilio)
Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D221814
2024-09-19 13:06:52 +00:00
Nico Burns
748ba6bf20 Bug 1918093: Add per-dependency feature flags to to_shmem dependencies (r=emilio)
Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D221809
2024-09-19 13:06:51 +00:00
Nicolas Silva
8063f97aac Bug 1912019 - Undo the gpu-descriptor crate override. r=ErichDonGubler,supply-chain-reviewers
WebRender depends on allocator-api2 now.

Differential Revision: https://phabricator.services.mozilla.com/D221967
2024-09-18 10:17:27 +00:00
Nicolas Silva
8fcdcb7ebb Bug 1912019 - Add a modified dependency to allocator_api2. r=supply-chain-reviewers
See also https://github.com/zakarumych/allocator-api2/issues/10

This patch was produced with the following steps:
 - Vendor allocator-api2 normally.
 - Modify the vendored source in third_party/rust.
   - Stop exporting the Box implementation.
   - Change the version to 0.2.999.
 - Run cargo update -p allocator-api2 --precise 0.2.999

Differential Revision: https://phabricator.services.mozilla.com/D218729
2024-09-18 10:17:24 +00:00
teoxoy
42508b4768 Bug 1918739 - Update wgpu to revision c8beade1877251c494036fc3661b04ec6aad63a9. r=webgpu-reviewers,supply-chain-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D222155
2024-09-17 21:44:15 +00:00