Commit Graph

1141 Commits

Author SHA1 Message Date
Lina Cambridge
e6e665546f Bug 1626506 - Vendor the webext_storage component. r=markh
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.

Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 05:40:52 +00:00
Mihai Alexandru Michis
807ec47bae Backed out 2 changesets (bug 1626506) for causing bustages.
CLOSED TREE

Backed out changeset f3deedfe235d (bug 1626506)
Backed out changeset 00b40d247500 (bug 1626506)
2020-04-27 08:11:19 +03:00
Lina Cambridge
a42e765155 Bug 1626506 - Vendor the webext_storage component. r=markh
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.

Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 02:59:45 +00:00
Thom Chiovoloni
475b53142b Bug 1632575 - Update vendored rusqlite to 0.23.1 r=lina
Differential Revision: https://phabricator.services.mozilla.com/D72439
2020-04-24 20:43:34 +00:00
Bastien Orivel
a548b924b4 Bug 1606281 - Part 2: Revendor dependencies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D71463
2020-04-20 15:25:46 +00:00
Mitchell Hentges
b6eb2ea22e Bug 1627072 - Runs pip-compile in same directory as temporary requirements file r=rstewart
pip-compile can annotate each requirement with a reason why it is included (e.g.: transitive dependency, or depended-on directly).

When annotating direct dependencies, it notes it as "via -r <direct path to requirements.in file>".
Since we were using a temporary directory, the path of the directory was being included, making the output non-deterministic.

This change ensures that we run pip-compile in the same working directory as the temporary requirements file, enabling
the annotations to be deterministic: "via -r requirements-mach-vendor-python.in".

Differential Revision: https://phabricator.services.mozilla.com/D72181
2020-04-24 20:54:06 +00:00
Tooru Fujisawa
ade632335d Bug 1632737 - Cover GCThing::Function in match. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D72287
2020-04-24 20:14:22 +00:00
Simon Sapin
cbe24024bb Bug 1631721 - Vendor the hashbrown crate r=manishearth
This is the hash map implementation now used in the Rust standard library:

* https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk-v-implementation
* https://github.com/rust-lang/rust/pull/58623
* https://crates.io/crates/hashbrown

Differential Revision: https://phabricator.services.mozilla.com/D71740
2020-04-23 00:19:50 +00:00
Tooru Fujisawa
0a10fbcaaf Bug 1631827 - Update jsparagus, use the first script in EmitResult, and store GCThings in SmooshScriptStencil. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D71787
2020-04-22 13:50:43 +00:00
Alex Chronopoulos
6b59c61f22 Bug 1628634 - mach vendor rust. r=padenot
Depends on D71929

Differential Revision: https://phabricator.services.mozilla.com/D71930
2020-04-22 12:08:08 +00:00
Ricky Stewart
5fb3083cca Bug 1627802 - Delete legacy PyECC library from tree r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D70118
2020-04-08 21:55:57 +00:00
Ricky Stewart
de06436cd7 Bug 1621441 - Update Python scripts that depend on PyECC to run in Python 3 and to leverage the ecdsa library instead r=glandium,keeler
Unfortunately, since the new ecdsa library has a different interface and slightly different inner workings compared to the old PyECC library, the changes to support this update are not trivial. Luckily the ecdsa library is extensible enough to allow us to adjust the library's functionality with function parameters rather than monkey-patching, as we were doing with the previous version of the code. All of these interface changes are in addition to the normal rote Python 3 updates. This was tested by running a build with and without this patch and ensuring there were no unexpected diffs.

Differential Revision: https://phabricator.services.mozilla.com/D70117
2020-04-17 20:56:09 +00:00
Ricky Stewart
ba8cb27b54 Bug 1621440 - Add Python 3-compatible library ecdsa to eventually replace the legacy PyECC library r=glandium
Code vendored as usual with `mach vendor python`.

Differential Revision: https://phabricator.services.mozilla.com/D69870
2020-04-21 04:31:25 +00:00
Jamie Nicol
b3f0dc3a6a Bug 1604615 - Add glslopt and build-parallel as build dependencies of webrender. r=jrmuizel
Update Cargo.lock files and vendor sources in to tree.

Differential Revision: https://phabricator.services.mozilla.com/D70030
2020-04-21 10:31:46 +00:00
Paul Adenot
86e2733819 Bug 1631448 - mach vendor rust. r=chunmin,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D71624
2020-04-20 21:59:17 +00:00
Ricky Stewart
c78b303591 Bug 1628954 - Fix bad string comparison in gyp r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D71188
2020-04-16 15:27:41 +00:00
Nico Grunbaum
4f8f4fd418 Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 09:17:46 +00:00
Brindusan Cristian
094e7f1fa3 Backed out 2 changesets (bug 1628630) for build bustages at SdpAttribute.h. CLOSED TREE
Backed out changeset 5c05d978aa32 (bug 1628630)
Backed out changeset bbd66b8940bb (bug 1628630)
2020-04-16 09:01:26 +03:00
Nico Grunbaum
53809171df Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 05:35:58 +00:00
Glenn Watson
f276147e7f Bug 1630480 - Update gleam GL bindings to 0.11.0 r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D71133

--HG--
extra : moz-landing-system : lando
2020-04-16 02:13:31 +00:00
Kevin Jacobs
2a981b96ab Bug 1624128 - Update CK_GCM_PARAMS uses for PKCS11 v3.0 definition r=keeler
This patch initializes the ulIvBits member of CK_GCM_PARAMS, which is new in PKCS11 v3.

For libprio, we instead define NSS_PKCS11_2_0_COMPAT, which yields the old struct definition.

Differential Revision: https://phabricator.services.mozilla.com/D67740

--HG--
extra : moz-landing-system : lando
2020-04-14 18:32:19 +00:00
Dzmitry Malyshau
06da709344 Bug 1629891 - Fix spirv-cross revision in root Cargo.toml overrides r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D70900

--HG--
extra : moz-landing-system : lando
2020-04-14 17:18:05 +00:00
Axel Hecht
0658b798b2 Bug 1628663, mach vendor compare-locales, r=firefox-build-system-reviewers,rstewart
Vendor the existing version of compare-locales via mach.
This also vendors in fluent.syntax, with the existing version.
Pin pytoml to the existing version in-tree, too.

This is all that's required to update compare-locales,
fluent.syntax and fluent.migrate via `mach vendor python`.

Depends on D70344

Differential Revision: https://phabricator.services.mozilla.com/D70345

--HG--
extra : moz-landing-system : lando
2020-04-10 16:14:07 +00:00
Axel Hecht
6fc0ca0a3b Bug 1628663, mach vendor python for l10n, move files to final destination, r=firefox-build-system-reviewers,rstewart
We've used to install both fluent.syntax and fluent.migrate into fluent,
split them up to make the diff of the actual vendor changes smaller.

Differential Revision: https://phabricator.services.mozilla.com/D70344

--HG--
rename : third_party/python/fluent/fluent/__init__.py => third_party/python/fluent.migrate/fluent/__init__.py
rename : third_party/python/fluent/fluent/migrate/__init__.py => third_party/python/fluent.migrate/fluent/migrate/__init__.py
rename : third_party/python/fluent/fluent/migrate/blame.py => third_party/python/fluent.migrate/fluent/migrate/blame.py
rename : third_party/python/fluent/fluent/migrate/changesets.py => third_party/python/fluent.migrate/fluent/migrate/changesets.py
rename : third_party/python/fluent/fluent/migrate/context.py => third_party/python/fluent.migrate/fluent/migrate/context.py
rename : third_party/python/fluent/fluent/migrate/errors.py => third_party/python/fluent.migrate/fluent/migrate/errors.py
rename : third_party/python/fluent/fluent/migrate/helpers.py => third_party/python/fluent.migrate/fluent/migrate/helpers.py
rename : third_party/python/fluent/fluent/migrate/merge.py => third_party/python/fluent.migrate/fluent/migrate/merge.py
rename : third_party/python/fluent/fluent/migrate/tool.py => third_party/python/fluent.migrate/fluent/migrate/tool.py
rename : third_party/python/fluent/fluent/migrate/transforms.py => third_party/python/fluent.migrate/fluent/migrate/transforms.py
rename : third_party/python/fluent/fluent/migrate/util.py => third_party/python/fluent.migrate/fluent/migrate/util.py
rename : third_party/python/fluent/fluent/migrate/validator.py => third_party/python/fluent.migrate/fluent/migrate/validator.py
rename : third_party/python/fluent/fluent/__init__.py => third_party/python/fluent.syntax/fluent/__init__.py
rename : third_party/python/fluent/fluent/syntax/__init__.py => third_party/python/fluent.syntax/fluent/syntax/__init__.py
rename : third_party/python/fluent/fluent/syntax/ast.py => third_party/python/fluent.syntax/fluent/syntax/ast.py
rename : third_party/python/fluent/fluent/syntax/errors.py => third_party/python/fluent.syntax/fluent/syntax/errors.py
rename : third_party/python/fluent/fluent/syntax/parser.py => third_party/python/fluent.syntax/fluent/syntax/parser.py
rename : third_party/python/fluent/fluent/syntax/serializer.py => third_party/python/fluent.syntax/fluent/syntax/serializer.py
rename : third_party/python/fluent/fluent/syntax/stream.py => third_party/python/fluent.syntax/fluent/syntax/stream.py
extra : moz-landing-system : lando
2020-04-14 17:24:59 +00:00
Chun-Min Chang
c0327eb4e1 Bug 1628132 - P3: Update cubeb-coreaudio to 0f62d38. r=kinetik
Pick commits:
- 0f62d38: backend: Allow Clippy's cognitive_complexity lint on several functions. (#83)
- fbf5cbd: Update to cubeb-backend 0.6.3. (#82)
- b49264b: Remove unknown devices when querying devices in scope (#81)

Differential Revision: https://phabricator.services.mozilla.com/D70777

--HG--
extra : moz-landing-system : lando
2020-04-14 00:44:24 +00:00
Dzmitry Malyshau
e8a60d2eab Bug 1624174 - Update wgpu to get the coordinate spaces right r=jgilbert
The updated wgpu has the coordinate space fixes.
Depends on

  - https://phabricator.services.mozilla.com/D70421
  - https://phabricator.services.mozilla.com/D70432
  - https://phabricator.services.mozilla.com/D70646

Differential Revision: https://phabricator.services.mozilla.com/D70140

--HG--
rename : third_party/rust/rendy-descriptor/Cargo.toml => third_party/rust/gfx-descriptor/Cargo.toml
rename : third_party/rust/rendy-memory/Cargo.toml => third_party/rust/gfx-memory/Cargo.toml
rename : third_party/rust/rendy-memory/src/allocator/dynamic.rs => third_party/rust/gfx-memory/src/allocator/general.rs
rename : third_party/rust/rendy-memory/src/heaps/heap.rs => third_party/rust/gfx-memory/src/heaps/heap.rs
rename : third_party/rust/rendy-memory/src/utilization.rs => third_party/rust/gfx-memory/src/stats.rs
extra : moz-landing-system : lando
2020-04-13 13:42:15 +00:00
Dzmitry Malyshau
540f1bea3f Bug 1629359 - Update parking_lot to 0.10 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70646

--HG--
rename : third_party/rust/parking_lot/src/mutex.rs => third_party/rust/parking_lot/src/fair_mutex.rs
extra : moz-landing-system : lando
2020-04-12 19:14:43 +00:00
Stefan Hindli
a8922cc7ff Backed out changeset 01cb2f16985e (bug 1629359) for linux x64 qr webgpu bustage
--HG--
extra : rebase_source : 29e879b00d66376a0508bc2df060fcf3f6028590
2020-04-12 22:09:15 +03:00
Dzmitry Malyshau
80f2377b05 Bug 1629359 - Update parking_lot to 0.10 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70646

--HG--
rename : third_party/rust/parking_lot/src/mutex.rs => third_party/rust/parking_lot/src/fair_mutex.rs
extra : moz-landing-system : lando
2020-04-12 16:25:25 +00:00
Dzmitry Malyshau
0e42a4799d Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432

--HG--
extra : moz-landing-system : lando
2020-04-11 20:14:41 +00:00
Ryan Hunt
3e1ce863e3 Bug 1624524 - Only compile wasmTextToBinary and wasmCodeOffsets in JS Shell. r=bbouvier
This commit moves the implementation of the wasmTextToBinary and wasmCodeOffets
functions to the JS shell.

Before this change, the implementation was in wasm/rust/. This commit moves the
implementation to js/rust, which is only compiled for the JS shell. The C++
bindings for the rust code is moved to the shell/ directory.

Differential Revision: https://phabricator.services.mozilla.com/D68650

--HG--
rename : js/src/wasm/rust/src/lib.rs => js/src/rust/wasm.rs
rename : js/src/wasm/WasmTesting.cpp => js/src/shell/WasmTesting.cpp
rename : js/src/wasm/WasmTesting.h => js/src/shell/WasmTesting.h
extra : moz-landing-system : lando
2020-04-10 21:28:21 +00:00
Thom Chiovoloni
be606b9953 Bug 1628447 - Bump vendored rusqlite version to 0.22.0 r=lina
This gets us off the prerelease.

Differential Revision: https://phabricator.services.mozilla.com/D70434

--HG--
extra : moz-landing-system : lando
2020-04-10 20:55:16 +00:00
Benjamin Bouvier
0c19028f8f Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D69977

--HG--
extra : moz-landing-system : lando
2020-04-10 09:52:55 +00:00
Mihai Alexandru Michis
5beb91b795 Backed out changeset d91a97562b48 (bug 1628772) for causing failures regarding core-foundation.
CLOSED TREE
2020-04-10 03:42:05 +03:00
Dzmitry Malyshau
feed464a5d Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432

--HG--
extra : moz-landing-system : lando
2020-04-09 20:57:18 +00:00
Mike Hommey
ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

Differential Revision: https://phabricator.services.mozilla.com/D70157

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Dragana Damjanovic
eb775d698e Bug 1628459 - Update neqo to 0.2.4 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D70239

--HG--
extra : moz-landing-system : lando
2020-04-08 21:01:52 +00:00
Thom Chiovoloni
f4c72f5296 Bug 1626323 - Vendor rusqlite into mozilla-central. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70109

--HG--
extra : moz-landing-system : lando
2020-04-07 22:13:51 +00:00
Dan Minor
35b359b642 Bug 1347911 - Update webrtc-sdp to 0.3.4; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D69267

--HG--
rename : third_party/rust/webrtc-sdp/examples/sdps/2.sdp => third_party/rust/webrtc-sdp/examples/sdps/02.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/4.sdp => third_party/rust/webrtc-sdp/examples/sdps/04.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/6.sdp => third_party/rust/webrtc-sdp/examples/sdps/06.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/7.sdp => third_party/rust/webrtc-sdp/examples/sdps/07.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/8.sdp => third_party/rust/webrtc-sdp/examples/sdps/08.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/9.sdp => third_party/rust/webrtc-sdp/examples/sdps/09.sdp
extra : moz-landing-system : lando
2020-04-08 11:40:19 +00:00
Sebastian Hengst
b5fa1b7063 Backed out 4 changesets (bug 1626967) for breaking Raptor tests godot-c and wm-c. a=backout
Backed out changeset 985eea91c36c (bug 1626967)
Backed out changeset 837dab8ce31c (bug 1626967)
Backed out changeset f48ad40e60af (bug 1626967)
Backed out changeset 29aaf3ff21ea (bug 1626967)

--HG--
extra : amend_source : 8f86b92aa59cde8a0fdc9fec7b9994c79a6f19df
2020-04-08 10:06:47 +02:00
Tooru Fujisawa
be31dc3ce1 Bug 1625823 - Part 1: Update jsparagus and support RegExp. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D69886

--HG--
rename : third_party/rust/jsparagus-emitter/src/scope_pass.rs => third_party/rust/jsparagus-scope/src/context.rs
rename : third_party/rust/jsparagus-emitter/src/scope.rs => third_party/rust/jsparagus-scope/src/data.rs
rename : third_party/rust/jsparagus-emitter/src/frame_slot.rs => third_party/rust/jsparagus-scope/src/frame_slot.rs
extra : moz-landing-system : lando
2020-04-07 13:43:45 +00:00
Benjamin Bouvier
5333bbb793 Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D69977

--HG--
extra : moz-landing-system : lando
2020-04-07 10:43:14 +00:00
Anthony Ramine
42bdec38a0 Bug 1627636 - Vendor mio-named-pipes from crates.io; r=kinetik
There is no need to use the Git repository, its only change compared to 0.1.6
is that some random tidbit has been fixed in the README file.

Depends on D69805

Differential Revision: https://phabricator.services.mozilla.com/D69806

--HG--
extra : moz-landing-system : lando
2020-04-07 02:41:07 +00:00
Chun-Min Chang
34ff7578a8 Bug 1627376 - Update cubeb-coreaudio to ea9e5aa. r=padenot
Pick commits:
- ea9e5aa: Implement a API to get `groupd_id` with special case handling (#69)
- d67d4d2: Revise prepush when deleting branch (#76)
- e5b0f97:  Stop test immediately when error happens (#77)
- 98e59e5: Migrate from travis-ci.org to travis-ci.com

Differential Revision: https://phabricator.services.mozilla.com/D69647

--HG--
extra : moz-landing-system : lando
2020-04-06 12:43:21 +00:00
J.C. Jones
6ac6057d92 Bug 1626636 - Vendor rust-cascade v0.6.0 r=keeler
Add salts, file format v2, SHA256 hash support, and logic inversion

Differential Revision: https://phabricator.services.mozilla.com/D69435

--HG--
rename : third_party/rust/rust_cascade/test_data/test_mlbf => third_party/rust/rust_cascade/test_data/test_v1_murmur_mlbf
rename : third_party/rust/rust_cascade/test_data/test_short_mlbf => third_party/rust/rust_cascade/test_data/test_v1_murmur_short_mlbf
extra : moz-landing-system : lando
2020-04-02 20:30:15 +00:00
Ryan Hunt
4f62abea70 Bug 1624363 - Vendor wat 0.1.14. r=lth
This commit updates the wat version in tree.
 * Implements MVP GC syntax
 * Updated abs SIMD opcodes

Differential Revision: https://phabricator.services.mozilla.com/D69405

--HG--
extra : moz-landing-system : lando
2020-04-02 19:42:57 +00:00
Chun-Min Chang
ad5358ae60 Bug 1626697 - P2: Update cubeb-coreaudio to 432259a. r=padenot
Pick commits:
- 432259a: Run `cargo fmt`
- c9f0499: Revert `derive(Debug)` removal (#75)
- f9abca8:  Replace the custom input linear buffer by something based on ringbuf. (#74)
- 4eafcc8: Fix the resampler-calling code to use the correct semantic (#71)
- 828efbc: Merge pull request #72 from ChunMinChang/rm-debug-trait

Differential Revision: https://phabricator.services.mozilla.com/D69250

--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:44 +00:00
Chun-Min Chang
1ae748c840 Bug 1626697 - P1: Update cubeb-pulse to 72f813a. r=padenot
Pick commits:
- 72f813a: Fix warning
- f05a33f: Update ringbuf to 0.2

Differential Revision: https://phabricator.services.mozilla.com/D69253

--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:36 +00:00
Dragana Damjanovic
722d96a748 Bug 1626799 - Update Neqo to 0.2.3 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D69290

--HG--
rename : third_party/rust/neqo-common/src/once.rs => third_party/rust/neqo-crypto/src/once.rs
extra : moz-landing-system : lando
2020-04-01 23:48:22 +00:00
Thom Chiovoloni
5265a52464 Bug 1626125 - Vendor sync15-traits into mozilla-central. r=lina
Vendor sync15-traits from application-services.

Differential Revision: https://phabricator.services.mozilla.com/D69099

--HG--
extra : moz-landing-system : lando
2020-04-01 17:04:29 +00:00