3638 Commits

Author SHA1 Message Date
Louie Torres
f6af2f42ad feat: extended jxl support 2025-11-06 14:13:25 +00:00
Ben Dean-Kawamura
827a745d82 Bug 1989840 - vendor app-services fix, a=RyanVM
- Updated `Cargo.toml` to point to the app-services commit with the fix
- Reverted my default rust to `1.86.0`
- Ran `./mach configure` and `./mach vendor rust`

Differential Revision: https://phabricator.services.mozilla.com/D266197
2025-09-26 04:24:20 +00:00
Mike Hommey
94e68b81a7 Bug 1982003 - Apply allocator-api2 upstream fix to build with rust 1.89. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D264362

Differential Revision: https://phabricator.services.mozilla.com/D264537
2025-09-26 02:57:19 +00:00
Mike Hommey
40dc24686f Bug 1982003 - Upgrade allocator-api2 to 0.2.21. a=RyanVM
The issue that made us fork the crate locally was actually fixed
upstream in 0.2.21.

Original Revision: https://phabricator.services.mozilla.com/D264361

Differential Revision: https://phabricator.services.mozilla.com/D264536
2025-09-26 02:57:16 +00:00
Gabriele Svelto
9e514a4382 Bug 1977514 - Updated nix to version 0.30.1 a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D258707

Differential Revision: https://phabricator.services.mozilla.com/D262344
2025-08-25 17:27:59 +00:00
Erich Gubler
c12adce63b Bug 1972160 - fix(webgpu): backport wgpu_hal::vulkan::drm OpenBSD fix for ESR140 a=pascalc
Backports //just// the changes made in [wgpu#7810](https://github.com/gfx-rs/wgpu/pull/7810), but on the current base for WGPU being consumed by ESR 140. The commit hash is anchored forever to the official WGPU repository via [wgpu#7896](https://github.com/gfx-rs/wgpu/pull/7896).

This WGPU change was introduced into Nightly with bug 1974058, among others.

Differential Revision: https://phabricator.services.mozilla.com/D256450
2025-07-09 09:01:52 +00:00
Erich Gubler
f04e931425 Bug 1973947 - revert removal of remove_dir_all crate a=pascalc
Bug 1959801 removed the `remove_dir_all` crate. However, there was a regression we didn't discover until Firefox 140 reached stable: third-party DLL injection on Windows caused problems for the call sites that had had usages of `remove_dir_all::remove_dir_all` replaced with `std::fs::remove_dir_all`!

DLL injection by third parties were causing these crashes because they incorrectly detour calls to `NtOpenFile`, crashing with Rust's current usage of it in `std::fs::remove_dir_all`. The issue has been reported upstream as [rust#143078], and a mitigation is in place in Rust's Nightly release channel. At time of writing this patch message, the fix is projected to become available in a stable Rust toolchain with version 1.90—roughly 11 weeks away.

[rust#143078]: https://github.com/rust-lang/rust/issues/143078#issue-3181510282

After considering multiple mitigation options, this patch represents the decision of some stakeholders (@gstoll, @dmeehan, @yjuglaret, @gsvelto, @leggert, @ErichDonGubler) to mitigate the issue by directly backing out the patch for bug 1959801. The current plan is to eventually remove `remove_dir_all` again, once Rust 1.90 becomes the minimum supported version for `mozilla-central` (see bugs linked against bug 1973947 for more details), thus guaranteeing that our usage of `std::fs::remove_dir_all` is robust against this issue.

We may or may not engage with third parties to fix DLL injection; it has
not been decided at this time.

Original Revision: https://phabricator.services.mozilla.com/D256027

Differential Revision: https://phabricator.services.mozilla.com/D256040
2025-07-04 06:42:12 +00:00
Drew Willcoxon
c3f4a9465d Bug 1970016 - Vendor application-services 9b46be5 for Suggest weather changes. r=nanj a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D252263
2025-06-03 18:22:49 +00:00
Drew Willcoxon
74859c0b57 Bug 1969403 - Vendor application-services 663690e for Suggest geonames and weather changes. r=bdk a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D251802
2025-05-31 21:38:25 +00:00
Max Leonard Inden
3b461172fe Bug 1966980 - update neqo to v0.13.4 a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D249829

Differential Revision: https://phabricator.services.mozilla.com/D251241
2025-05-29 13:09:09 +00:00
Drew Willcoxon
3d0a207aee Bug 1968156 - Vendor application-services 8986582 for suggest geonames and weather changes. r=daisuke,supply-chain-reviewers
This vendors this revision:
8986582d37

It also makes some desktop fixes due to some breaking changes in Suggest, which
@daisuke previously reviewed. It's a large vendor due to vendoring some new
crates plus some app-services revisions that made changes to logging and error
reporting and touched lots of files.

Differential Revision: https://phabricator.services.mozilla.com/D250877
2025-05-23 20:13:00 +00:00
Jan-Erik Rediger
2e75abb42f Bug 1968193 - Update to Glean v64.3.1 r=chutten,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D250900
2025-05-23 19:09:50 +00:00
agoloman
636d57b8c0 Revert (Bug 1965313, Bug 1955298) - for causing xpc and bc failures.
This reverts commit d810bb578e.

Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"

This reverts commit fe3e643fee.
2025-05-23 15:52:35 +00:00
Ben Dean-Kawamura
fe3e643fee Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-23 14:21:55 +00:00
Alex Franchuk
bdf718fb71 Bug 1962267 - Update the memtest crate to v0.4.0 r=gsvelto,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248498
2025-05-23 13:38:04 +00:00
Jan-Erik Rediger
db75ef0ce8 Bug 1967754 - Update to Glean v64.3.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D250445
2025-05-22 08:28:49 +00:00
Lars Eggert
23c6bfec45 Bug 1959801 - Remove remove_dir_all r=supply-chain-reviewers,gfx-reviewers,ErichDonGubler
As far as I can tell, this code does not rely on the slight differences provided by the `remove_dir_all` crate that make it different than `std::fs::remove_dir_all`, but #gfx-reviewers should please confirm that.

Differential Revision: https://phabricator.services.mozilla.com/D245133
2025-05-21 10:05:09 +00:00
Emilio Cobos Álvarez
caf0070ab3 Bug 1967206 - Update jobserver (and related crates to avoid duplication). r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250045
2025-05-20 22:53:57 +00:00
agoloman
b54eecd390 Revert "Bug 1967030 - Update mp4parse-rust to d3e4d255. r=media-playback-reviewers,supply-chain-reviewers,padenot" for causing gtet failures @MP4Metadata.test_case_mp4.
This reverts commit 0888571e1e.
2025-05-20 22:16:33 +00:00
Matthew Gregan
0888571e1e Bug 1967030 - Update mp4parse-rust to d3e4d255. r=media-playback-reviewers,supply-chain-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D249858
2025-05-20 21:00:27 +00:00
Alexandru Marc
13387e6e59 Revert "Bug 1965313 - Reimplement enum discriminents, r=bgruber" for causing py3 failures
This reverts commit bcf4989b84.

Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"

This reverts commit 6e1a647b81.
2025-05-20 16:15:02 +00:00
Ben Dean-Kawamura
6e1a647b81 Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-20 14:51:59 +00:00
Jim Blandy
8b7cbf248d Bug 1966553: Update wgpu to upstream 85001b24 (2025-05-13) r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D249499
2025-05-18 05:25:23 +00:00
Mike Conley
b6a5beb740 Bug 1952316 - Vendor in context_id component from application-services. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D248972
2025-05-16 23:12:53 +00:00
dadaa
8565135320 Bug 1966784: Vendor application-services fa8a72a r=adw
Differential Revision: https://phabricator.services.mozilla.com/D249694
2025-05-16 03:16:49 +00:00
agoloman
d66860ebe0 Revert (Bug 1956519, Bug 1965086) - for causing bc failures @browser_quicksuggest_dynamicSuggestions.js.
This reverts commit 49a5a6c0bf.

Revert "Bug 1965086 - Vendor app-services 72a070750ff979f4aac29da7c02a9cb6e53ac087, r=nanj"

This reverts commit 7b45ba29ff.
2025-05-15 18:42:38 +00:00
Ben Dean-Kawamura
7b45ba29ff Bug 1965086 - Vendor app-services 72a070750ff979f4aac29da7c02a9cb6e53ac087, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D248466
2025-05-15 17:01:10 +00:00
Sandor Molnar
54f63424a1 Revert "Bug 1965313 - Reimplement enum discriminents, r=bgruber"
This reverts commit 02d50105b9.

Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"

This reverts commit 90368cc237.
2025-05-14 22:15:45 +00:00
Ben Dean-Kawamura
90368cc237 Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-14 21:15:20 +00:00
Erich Gubler
a5dc51ef94 Bug 1964776 - build(webgpu): update WGPU to 2694b323c89eb2273e1ed879d6b51fe91cde8071 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D248172
2025-05-08 05:55:00 +00:00
Ben Dean-Kawamura
27ff199fb4 Bug 1964493 - Upgrade to UniFFI 0.29.2, r=markh,supply-chain-reviewers
The eventual goal is to enable using the new IR pipeline code, but this
commit simply switches over to the new version.  The main change is that
UniFFI is back to using askama as the template engine, since rinja
project has been merged back in.

Differential Revision: https://phabricator.services.mozilla.com/D247843
2025-05-08 01:20:24 +00:00
Max Leonard Inden
4903520dd6 Bug 1962095 - update neqo to v0.13.2 r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D246408
2025-05-07 13:31:25 +00:00
Jan-Erik Rediger
2f22446e69 Bug 1960589 - Implement MallocSizeOf for all atomic integer types r=nical
This also updates the version while we're at it, so we can publish it
afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D246730
2025-05-06 10:43:25 +00:00
Alexandru Marc
9cfb303749 Revert "Bug 1960589 - Implement MallocSizeOf for all atomic integer types r=nical" for causing wrench bustages
This reverts commit 83dd6bedea.
2025-05-06 09:38:28 +00:00
Jan-Erik Rediger
83dd6bedea Bug 1960589 - Implement MallocSizeOf for all atomic integer types r=nical
This also updates the version while we're at it, so we can publish it
afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D246730
2025-05-06 09:15:12 +00:00
Max Leonard Inden
8177dd6f31 Bug 1963796 - update Rust quinn-udp crate to v0.5.12 r=kershaw,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D247581
2025-05-05 22:42:28 +00:00
Mark Banner
de138fd731 Bug 1963622 - Vendor application-services 40ae79e. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D247337
2025-05-05 19:32:53 +00:00
Dana Keeler
d80fc606b6 Bug 1964125 - osclientcerts: ensure os-backed resources are dropped before background threads go away r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D247655
2025-05-05 09:14:20 +00:00
Ben Dean-Kawamura
fb372f016e No bug - Upgrade serde_json to 1.0.140, r=supply-chain-reviewers
I'm need to bring in a new version for an upcoming UniFFI upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D247387
2025-05-02 13:27:42 +00:00
Jan-Erik Rediger
9c8e0c6df6 Bug 1896607 - FOG: Memory reporter on the Rust side. r=chutten
This sets up the scaffolding on the Rust side and calls that from the
C++ side.
To start it only measures the size of pings.

This requires a Glean update that implements all that malloc_size_of.

Differential Revision: https://phabricator.services.mozilla.com/D210288
2025-05-02 10:08:25 +00:00
Jan-Erik Rediger
9888dfdbf9 Bug 1963027 - Update to Glean v64.2.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D246926
2025-05-02 10:08:22 +00:00
teoxoy
c02d99f385 Bug 1963329 - Update wgpu to revision 9fccdf5cf370fcd104e37a4dc87c5db82cfd0e2b. r=webgpu-reviewers,supply-chain-reviewers,webidl,saschanaz,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D247125
2025-04-30 09:21:24 +00:00
Dana Keeler
38d8ac7c5a Bug 1962280 - osclientcerts: avoid unnecessary background thread dispatches r=jschanck
On macOS and Windows, the underlying implementations of the OS APIs that
provide access to keys and certificates are not necessarily thread-safe. Before
this patch, essentially all calls into osclientcerts would be synchronously
forwarded to a single background thread. Unfortunately, the cost of dispatching
and waiting for all of these events was non-trivial, particularly when the vast
majority of them should essentially be no-ops (e.g. when NSS is looking for CA
certificates or trust information, etc.). This patch reworks the implementation
to only dispatch operations involving OS APIs to the background thread.

Differential Revision: https://phabricator.services.mozilla.com/D246520
2025-04-30 01:03:54 +00:00
smolnar
59dc128e37 Backed out changeset f326ce493602 (bug 1962280) for causing build bustages. CLOSED TREE 2025-04-30 02:27:52 +03:00
Dana Keeler
ef21ac41d5 Bug 1962280 - osclientcerts: avoid unnecessary background thread dispatches r=jschanck
On macOS and Windows, the underlying implementations of the OS APIs that
provide access to keys and certificates are not necessarily thread-safe. Before
this patch, essentially all calls into osclientcerts would be synchronously
forwarded to a single background thread. Unfortunately, the cost of dispatching
and waiting for all of these events was non-trivial, particularly when the vast
majority of them should essentially be no-ops (e.g. when NSS is looking for CA
certificates or trust information, etc.). This patch reworks the implementation
to only dispatch operations involving OS APIs to the background thread.

Differential Revision: https://phabricator.services.mozilla.com/D246520
2025-04-29 22:14:22 +00:00
Drew Willcoxon
4c5aedc485 Bug 1962647 - Vendor application-services 280db3a. r=bdk,supply-chain-reviewers
This incorporates (and obsoletes) @bdk's vendor in D246633 and content relevancy
fixes in D246326, and @daisuke's Yelp fixes in D243740, plus another small Yelp
fix.

Differential Revision: https://phabricator.services.mozilla.com/D246794
2025-04-25 23:22:34 +00:00
Goloman Adrian
b97e68c1b3 Backed out 2 changesets (bug 1956132) for causing xpcshell failures @test_quicksuggest_yelp.js. CLOSED TREE
Backed out changeset c1331eb0cedb (bug 1956132)
Backed out changeset 9fc480c79a0f
2025-04-25 23:47:24 +03:00
Ben Dean-Kawamura
ba8d42e740 No Bug - Vendor app-services 5da98f694a7ad8ba86c3b936038f7483e9cfb9b1, r=markh
Differential Revision: https://phabricator.services.mozilla.com/D246633
2025-04-25 19:35:08 +00:00
Jim Blandy
42e2d2ba30 Bug 1962269 - Update wgpu to upstream 35f131ff (2025-04-23) r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D246498
2025-04-24 02:38:56 +00:00
Erich Gubler
09e57a07b3 Bug 1961411 - build(webgpu): update WGPU to 5304c3ca4a43e78d6a8e3b45d8d3f76216f2c1a6 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D246054
2025-04-24 02:38:55 +00:00