Commit Graph

474 Commits

Author SHA1 Message Date
Tif Tran
7dc77a4f8e Bug 1861220 - Vendor application services into moz central r=lina,adw
Differential Revision: https://phabricator.services.mozilla.com/D192011
2023-10-26 23:27:39 +00:00
Ray Kraesig
c8d62f7b85 Bug 1858739 - update tokio to 1.29.1 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190838
2023-10-16 22:26:00 +00:00
Drew Willcoxon
a0edb06288 Bug 1859069 - Part 1: Vendor application-services into mozilla-central. r=lina,supply-chain-reviewers
I ran `./mach vendor rust` and `./mach cargo vet` and fixed the problems they
logged. Here's what I did (IIRC):

1. Updated the rev ID of all the `application-services` crates
2. Ran `./mach vendor rust` and `./mach cargo vet` and noted the errors
3. Removed `prost-derive` from the top-level `Cargo.toml` (`./mach vendor`
   implied I should do this)
4. Removed the `policy.prost-derive` section from `supply-chain/config.toml`
   (`./mach cargo vet` said I should do this)
5. `./mach cargo vet diff prost 0.11.9 0.12.1`
6. `./mach cargo vet certify`
7. `./mach cargo vet diff prost-derive 0.11.9 0.12.1`
8. `./mach cargo vet certify`
9. `./mach vendor rust`

Differential Revision: https://phabricator.services.mozilla.com/D191002
2023-10-14 00:37:11 +00:00
Mike Hommey
63f56660d6 Bug 1855622 - Upgrade rayon-core to 1.12.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189454
2023-09-29 00:12:20 +00:00
Mike Hommey
83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Mike Hommey
e83b1f7beb Bug 1854025 - Update tempfile to 3.8.0. r=emilio,supply-chain-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D188654
2023-09-27 23:42:35 +00:00
Cosmin Sabou
80668b020f Backed out 3 changesets (bug 1854025) for causing build bustages.
Backed out changeset dd3a03791ed7 (bug 1854025)
Backed out changeset b9136831bc35 (bug 1854025)
Backed out changeset 08a18581bb77 (bug 1854025)
2023-09-26 00:31:42 +03:00
Mike Hommey
1e09918ec1 Bug 1854025 - Update tempfile to 3.8.0. r=emilio,supply-chain-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D188654
2023-09-25 20:47:25 +00:00
Gabriele Svelto
3571c97304 Bug 1837471 - Update the minidump-writer crate to pick up important Android fixes r=KrisWright,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188803
2023-09-25 12:52:23 +00:00
Mike Hommey
f0ee4a497a Bug 1853084 - Upgrade mio to 0.8.8. r=emilio,supply-chain-reviewers
Now that windows-sys is vendored, we can upgrade mio to a version that
uses it.

Differential Revision: https://phabricator.services.mozilla.com/D188154
2023-09-18 19:55:21 +00:00
Mike Hommey
96cfb72582 Bug 1852704 - Update rust-minidump to current main. r=gsvelto,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187965
2023-09-12 20:31:17 +00:00
Mike Hommey
1a100fcdcc Bug 1851530 - Use plain packed_simd. r=hsivonen,supply-chain-reviewers
As of bug 1719535, libm is vendored, so we don't need to pull it out of
packed_simd anymore, and that was the last remaining difference between
upstream and our fork.

Differential Revision: https://phabricator.services.mozilla.com/D187413
2023-09-11 23:59:21 +00:00
Lina Butler
1466383668 Bug 1851845 - Update vendored Application Services dependencies. r=markh,adw
This commit vendors the latest changes to the Suggest and Remote
Settings Rust components.

1. From the `application-services` source tree, I ran
   `./tools/update-moz-central-vendoring.py ../m-c` to update the
   revisions in the m-c source tree.
2. I added the Remote Settings component UDL file to
   `toolkit/components/uniffi-bindgen-gecko-js/mach_commands.py`, and
   updated `toolkit/components/uniffi-bindgen-gecko-js/config.toml` to
   call the `RemoteSettings` constructor on the main thread. The
   Suggest component uses the `RemoteSettingsConfig` type in its
   public API, so we must generate bindings for the Remote Settings
   component.
3. From the m-c source tree, I ran `./mach uniffi generate` to update
   the generated UniFFI bindings.

Differential Revision: https://phabricator.services.mozilla.com/D187559
2023-09-07 05:40:28 +00:00
Drew Willcoxon
d9464e5021 Bug 1851256 - Part 1: Vendor the application-services suggest Rust component into mozilla-central. r=lina
This is part 1 of 3 and vendors the [suggest component](https://github.com/mozilla/application-services/tree/main/components/suggest) from
application-services into m-c. `suggest` depends on `remote_settings`, so it was
also vendored. Part 2 will generate JS bindings with uniffi.

This is my first time doing this so I'll explain how I generated this patch in
case I did something wrong:

1. I manually added `suggest` to the following files:
   * Top-level `Cargo.toml`
   * `toolkit/library/rust/shared/Cargo.toml`
   * `toolkit/library/rust/shared/lib.rs` -- I followed the example of `tabs`,
     not sure if `suggest::uniffi_reexport_scaffolding!()` is necessary
2. I ran `./mach vendor rust`

That's it, there were no errors or problems.

Differential Revision: https://phabricator.services.mozilla.com/D187323
2023-09-05 21:11:57 +00:00
Nicholas Rishel
eab78be4af Bug 1838754 - Pre 1: Remove remote kill switch from WDBA. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D183437
2023-09-05 20:55:25 +00:00
Iulian Moraru
6b72bb6d92 Backed out 9 changesets (bug 1838754, bug 1778754) for causing multiple build bustages. CLOSED TREE
Backed out changeset d412fdc431d3 (bug 1778754)
Backed out changeset b07c43c2d0e3 (bug 1838754)
Backed out changeset 744552ffb916 (bug 1838754)
Backed out changeset 19a063fe4fc3 (bug 1838754)
Backed out changeset 85eb99b90c26 (bug 1838754)
Backed out changeset 626918ba3444 (bug 1838754)
Backed out changeset c4064dbb85a6 (bug 1838754)
Backed out changeset af624d29c748 (bug 1838754)
Backed out changeset 5a50ccbb53b0 (bug 1838754)
2023-09-01 02:16:43 +03:00
Nicholas Rishel
3adffae235 Bug 1838754 - Pre 1: Remove remote kill switch from WDBA. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D183437
2023-08-31 22:45:06 +00:00
Henri Sivonen
1e1bec8c6e Bug 1849874 - Update from packed_simd_2 to packed_simd. r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D186716
2023-08-28 18:46:28 +00:00
Emilio Cobos Álvarez
8affedea0d Bug 1836948 - Patch rayon-core with proposed use_current_thread API. r=smaug,jnicol,supply-chain-reviewers
This applies https://github.com/rayon-rs/rayon/pull/1063 to our
rayon-core. I'm hopeful it can be merged upstream soon, but meanwhile
this seems worth having on its ow.

Differential Revision: https://phabricator.services.mozilla.com/D186722
2023-08-28 17:55:31 +00:00
Makoto Kato
16b2031a07 Bug 1719535 - Part 12. Update icu_provider_macros not to depend on syn 1.0. r=supply-chain-reviewers,firefox-build-system-reviewers,glandium
Depends on D167745

Differential Revision: https://phabricator.services.mozilla.com/D184369
2023-08-07 06:24:03 +00:00
Makoto Kato
9fc41dc37c Bug 1719535 - Part 6. mach vendor rust for ICU4X crates. r=platform-i18n-reviewers,supply-chain-reviewers,firefox-build-system-reviewers,glandium,dminor
Depends on D167675

Differential Revision: https://phabricator.services.mozilla.com/D167674
2023-08-07 06:23:48 +00:00
Makoto Kato
dac2cb31e6 Bug 1719535 - Part 2. Add customized icu_testdata crate in tree. r=TYLin
When using baked data provider in icu_capi, it uses icu_testdata crate.
But we add customized baked data as patched icu_testdata.

Depends on D167670

Differential Revision: https://phabricator.services.mozilla.com/D178156
2023-08-07 06:23:44 +00:00
Mike Hommey
7d8fe87705 Bug 1847139 - Use a versioned dependency on malloc_size_of_derive for standalone webrender. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D185384
2023-08-04 05:44:54 +00:00
Sandor Molnar
13c7e4a350 Backed out 14 changesets (bug 1719535) for causing mochitest failures in accessible/tests/browser/mac/browser_text_basics.js CLOSED TREE
Backed out changeset 338c2c8d91af (bug 1719535)
Backed out changeset 3fdb2e999aba (bug 1719535)
Backed out changeset 63b9d2064827 (bug 1719535)
Backed out changeset 09c216cdbbc8 (bug 1719535)
Backed out changeset 29977dc00fb3 (bug 1719535)
Backed out changeset d3f8850a343b (bug 1719535)
Backed out changeset 90f1f621031f (bug 1719535)
Backed out changeset 52ca9bdc5bd4 (bug 1719535)
Backed out changeset 94536f0d5a1f (bug 1719535)
Backed out changeset d615264f9f5f (bug 1719535)
Backed out changeset f16f9e583378 (bug 1719535)
Backed out changeset e1abdee07587 (bug 1719535)
Backed out changeset 45f9ad406428 (bug 1719535)
Backed out changeset caa2b8a731dc (bug 1719535)
2023-08-02 14:55:26 +03:00
Makoto Kato
2690ca060e Bug 1719535 - Part 12. Update icu_provider_macros not to depend on syn 1.0. r=supply-chain-reviewers,firefox-build-system-reviewers,glandium
Depends on D167745

Differential Revision: https://phabricator.services.mozilla.com/D184369
2023-08-02 10:32:57 +00:00
Makoto Kato
33273d0666 Bug 1719535 - Part 6. mach vendor rust for ICU4X crates. r=platform-i18n-reviewers,supply-chain-reviewers,firefox-build-system-reviewers,glandium,dminor
Depends on D167675

Differential Revision: https://phabricator.services.mozilla.com/D167674
2023-08-02 10:32:50 +00:00
Makoto Kato
3b5868138e Bug 1719535 - Part 2. Add customized icu_testdata crate in tree. r=TYLin
When using baked data provider in icu_capi, it uses icu_testdata crate.
But we add customized baked data as patched icu_testdata.

Depends on D167670

Differential Revision: https://phabricator.services.mozilla.com/D178156
2023-08-02 10:32:46 +00:00
Jan-Erik Rediger
f220048ee0 Bug 1846223 - Update to uniffi 0.24.3 r=TravisLong,supply-chain-reviewers
Includes a bug fix for sccache-dist builds

Differential Revision: https://phabricator.services.mozilla.com/D185038
2023-08-02 09:11:54 +00:00
Mike Hommey
8196877812 Bug 1846406 - Update derive_more to 1.0.0-beta-2 to switch it to syn 2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184998
2023-08-02 00:25:47 +00:00
Mike Hommey
8608862457 Bug 1846405 - Switch prost to syn 2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184997
2023-08-02 00:25:47 +00:00
Mark Hammond
0b8d728def Bug 1846347 - update application-services to fix tab syncing. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D184986
2023-08-01 15:45:56 +00:00
Kershaw Chang
d773f6d866 Bug 1844387 - Update neqo and remove env_logger, r=glandium,supply-chain-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184096
2023-07-31 21:06:08 +00:00
Jan-Erik Rediger
1c2fbc9d73 Bug 1840044 - Update to Glean 53.1.0, UniFFI 0.24.1 and latest application-services. r=TravisLong,nika,markh,supply-chain-reviewers
Update:
  - Glean to v53.1.0
  - UniFFI to v0.24.1
  - application-services to a recent nightly that uses the above
    versions

- Updated `rusqlite` in toolkit/library/rust/shared/Cargo.toml
- Updated `uniffi-bindgen-gecko-js` to work with the new UniFFI.  Also
  updated it's askama version.
- Vetted new cargo dependencies

Ran `mach uniffi generate` to regenerate the code.

Differential Revision: https://phabricator.services.mozilla.com/D181872
2023-07-26 15:34:27 +00:00
Mike Hommey
e7516e7935 Bug 1841878 - Upgrade minidump-common to latest trunk. r=gsvelto,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182815
2023-07-24 20:18:53 +00:00
Ben Visness
67731fc42a Bug 1831176: Update wast crate. r=yury,glandium,supply-chain-reviewers
Updating wast to the latest version in order to get the new binary encoding for cast instructions.

Differential Revision: https://phabricator.services.mozilla.com/D184022
2023-07-21 22:00:04 +00:00
Gabriele Svelto
9e6f16b062 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-21 12:05:38 +00:00
Sandor Molnar
fb1981e4cf Backed out changeset 93b5aead9fb9 (bug 1840044) for causing multiple failures, incl. build bustages CLOSED TREE 2023-07-20 22:00:20 +03:00
Jan-Erik Rediger
f74614d6b0 Bug 1840044 - Update to Glean 53.1.0, UniFFI 0.24.1 and latest application-services. r=TravisLong,nika,markh,supply-chain-reviewers
Update:
  - Glean to v53.1.0
  - UniFFI to v0.24.1
  - application-services to a recent nightly that uses the above
    versions

- Updated `rusqlite` in toolkit/library/rust/shared/Cargo.toml
- Updated `uniffi-bindgen-gecko-js` to work with the new UniFFI.  Also
  updated it's askama version.
- Vetted new cargo dependencies

Ran `mach uniffi generate` to regenerate the code.

Differential Revision: https://phabricator.services.mozilla.com/D181872
2023-07-20 17:22:56 +00:00
Mike Hommey
7c063cf058 Bug 1844000 - Update parking-lot to 0.12.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183825
2023-07-19 20:16:02 +00:00
Mike Hommey
abc77ae254 Bug 1844000 - Add a windows-targets crate. r=emilio
This adds a crate that override's the windows-targets crate to avoid
depending on the large import libraries in its dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D183824
2023-07-19 20:16:02 +00:00
Mike Hommey
f375009d22 Bug 1844000 - Patch redox_syscall to an empty crate. r=emilio,sylvestre
Also preemptively add 0.3 for future needs.

Differential Revision: https://phabricator.services.mozilla.com/D183823
2023-07-19 20:16:02 +00:00
Iulian Moraru
36b9b99f8e Backed out changeset 1c1f6303ef48 (bug 1689358) for causing build bustages. CLOSED TREE 2023-07-05 11:33:30 +03:00
Gabriele Svelto
ef566ff845 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-05 07:54:28 +00:00
Mike Hommey
7db694cb35 Bug 1841205 - Update num-derive to 0.4. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182539
2023-07-04 07:29:36 +00:00
Mike Hommey
e46d768d3c Bug 1841160 - Update phf to 0.11.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182514
2023-07-04 07:29:08 +00:00
Mike Hommey
16cada87f1 Bug 1840022 - Switch phf_macros to syn 2. r=emilio,supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D181855
2023-06-24 20:18:24 +00:00
Mike Hommey
09e321a9db Bug 1840021 - Switch num-derive to syn 2. r=emilio,supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D181854
2023-06-24 20:18:06 +00:00
Mike Hommey
d8456fd716 Bug 1836230 - Update bindgen to 0.66.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179656
2023-06-21 08:52:22 +00:00
Mike Hommey
39ed3add07 Bug 1838354 - Change how the rust workspace hack is added. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden,whimboo
First, instead of using a path, use a version, which is more convenient
(via a patch in the top-level Cargo.toml).

Second, we make the build system itself enforce its presence for any
crate that is hooked to the build system as a program or library.

Finally, for each crate depending on the workspace hack, we add a
feature named after it, and make the build system enforce that the
feature is set. For now, this remains unused, but the end goal is to
have each of those features enable the dependencies each of these
crates need, so that if crate A and B need dependency D, but crate C
doesn't, building crate C doesn't build D.

Differential Revision: https://phabricator.services.mozilla.com/D180910
2023-06-21 07:31:44 +00:00
Mike Hommey
460db62e52 Bug 1836658 - Update cssparser to 0.31.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D180906
2023-06-14 20:50:14 +00:00