Commit Graph

174 Commits

Author SHA1 Message Date
Chris Manchester
4b9fc11dc1 Bug 1499196 - Introduce a mozilla-central-workspace-hack crate to unify features seen by rust deps. r=ted,firefox-build-system-reviewers
This is the equivalent of the rustc-workspace-hack used by the rust build to
ensure cargo and RLS see the same set of features for dependencies so that
these dependencies may be reused by invocations of cargo for these two
projects. The trivial crate added specifies the union of the set of
features activated for a particular crate for each time it appears in the
dependency tree so that cargo will understand these dependencies to be
re-usable across cargo implementations. This eliminates re-building jsrust
and some of its dependencies twice, and reduces the number of crates compiled
in the tree by about 90 in testing on linux.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 10:39:05 +00:00
WR Updater Bot
b8831a6d42 Bug 1500233 - Re-vendor rust dependencies. r=kats
Depends on D9268

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

--HG--
extra : moz-landing-system : lando
2018-10-19 15:57:43 +00:00
David Teller
e42e7a416c Bug 1497446 - mach rust vendor r=Yoric
Summary: The previous two changesets bump up a few dependencies. This is the companion mach rust vendor.

Test Plan: It builds.

Reviewers: ted

Tags: #secure-revision

Bug #: 1497446

--HG--
extra : amend_source : 6eeef28181e1e72891e1f3ad1d67b70cdf926e21
extra : histedit_source : e6af1b38e2272656c543f6c4f9778e80e6c75fd9
2018-10-10 16:50:30 +02:00
David Teller
0670ad6a33 Bug 1497446 - Implementing read[Maybe]{IdentifierName, PropertyKey} in BinTokenReader* r=Yoric
--HG--
extra : histedit_source : fb2ceb469b53111e2f80372335ba9ee29f86f8fe
2018-10-10 16:30:08 +02:00
Jeff Muizelaar
f1007db3c3 Bug 1498650. Update Cargo lockfiles and re-vendor rust dependencies
--HG--
extra : rebase_source : d9320ea8dbc8347d681a498395f3171277e92b90
2018-10-13 21:18:42 -04:00
Noemi Erli
0374908dbc Backed out changeset 966e9ad9b487 (bug 1497446) for build bustages CLOSED TREE 2018-10-14 00:10:15 +03:00
David Teller
52886bfb83 Bug 1497446 - Implementing read[Maybe]{IdentifierName, PropertyKey} in BinTokenReader* r=Yoric 2018-10-10 16:30:08 +02:00
Alex Gaynor
c01581a74e Bug 1498247 - Part 2 - cargo vendor; r=jgraham
Depends on D8577

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:29:14 +00:00
J.C. Jones
45039bb033 Bug 1494386 - Uplift u2f-hid-rs 0.2.2, Windows aarch64 fix r=keeler
See https://github.com/jcjones/u2f-hid-rs/pull/67

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

--HG--
extra : moz-landing-system : lando
2018-10-05 00:05:04 +00:00
Mike Hommey
d6be7f2ef6 Bug 1496296 - Update encoding_rs to 0.8.9 and simd to 0.2.3 r=froydnj
Only difference with current versions is the ability to use the crates
with stable rust without setting RUSTC_BOOTSTRAP globally ourselves.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 13:51:39 +00:00
Emilio Cobos Álvarez
fb252d3a24 No bug - update cssparser. r=me
This just makes an struct repr(C) which will help me to remove most of
nsCSSValue.
2018-10-04 13:53:53 +02:00
Andreas Tolfsen
e82d7312d5 bug 1491288: geckodriver: release 0.23.0; r=whimboo
Depends on D7301

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

--HG--
extra : moz-landing-system : lando
2018-10-03 15:00:04 +00:00
Andreas Tolfsen
3439836809 bug 1491288: webdriver: release 0.38.0; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D7300

--HG--
extra : moz-landing-system : lando
2018-10-03 15:00:00 +00:00
Henri Sivonen
b8545f2cf8 Bug 1495067 - Make HasRTLChars() consider Hebrew presentation forms as RTL (again) and not consider U+FEFF as RTL (again). r=jfkthame
* Update encoding_rs to 0.8.8.
 * Change U+FEFD and U+FEFE to RTL in IS_RTL_PRESENTATION_FORM to make the
   Rust and C++ code agree on what's RTL.

MozReview-Commit-ID: CuK6fN4pojG

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

--HG--
extra : moz-landing-system : lando
2018-10-02 14:24:15 +00:00
Markus Stange
c6fc1caf62 Bug 1457481 - Run mach vendor rust. r=froydnj,erahm
Most importantly, this picks up "object" and "goblin" for ELF binary parsing.
We only use the ELF code from goblin, so the mach-O parsing code gets
eliminated by the linker. Overall, this increases the Android installer size
by 20KB.

Try pushes for reference:
before: https://treeherder.mozilla.org/#/jobs?repo=try&revision=834b56dc5ab3d63a43a32f740ee8212296ac726d&selectedJob=201600899
after: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6983b27e8d3cb715d3b7e6cbd276683f6466e3cc&selectedJob=201600475

installer size: 34524820 -> 34542861 (34.52MB -> 34.54MB)

$ mach vendor rust
    Updating registry `https://github.com/rust-lang/crates.io-index`
      Adding goblin v0.0.17
      Adding memmap v0.6.2
      Adding miniz-sys v0.1.10
      Adding object v0.10.0
      Adding parity-wasm v0.31.3
      Adding plain v0.2.3
      Adding profiler_helper v0.1.0 (file:///Users/mstange/code/mozilla/tools/profiler/rust-helper)
      Adding scroll v0.9.1
      Adding scroll_derive v0.9.5
      Adding syn v0.15.5
      Adding thin-vec v0.1.0
      Adding uuid v0.6.5
 0:30.11 The following files exceed the filesize limit of 102400:

third_party/rust/miniz-sys/miniz.c
third_party/rust/syn-0.14.6/src/expr.rs
third_party/rust/syn-0.14.6/src/gen/fold.rs
third_party/rust/syn-0.14.6/src/gen/visit.rs
third_party/rust/syn-0.14.6/src/gen/visit_mut.rs

The syn dependency is not compiled for goblin, as far as I can tell - it's only
needed for the 'syn' feature of scroll_derive, and scroll does not ask for
scroll_derive/syn.

object -> goblin -> scroll -> scroll_derive -/-> syn

But it looks like other versions of syn were already in the tree.

Depends on D7021

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

--HG--
rename : third_party/rust/syn/src/parsers.rs => third_party/rust/syn-0.14.6/src/parsers.rs
rename : third_party/rust/syn/src/verbatim.rs => third_party/rust/syn-0.14.6/src/verbatim.rs
rename : third_party/rust/uuid/.travis.yml => third_party/rust/uuid-0.5.1/.travis.yml
rename : third_party/rust/uuid/src/rustc_serialize.rs => third_party/rust/uuid-0.5.1/src/rustc_serialize.rs
rename : third_party/rust/uuid/src/serde.rs => third_party/rust/uuid-0.5.1/src/serde.rs
extra : moz-landing-system : lando
2018-10-02 01:50:56 +00:00
shindli
2cc7085b7a Backed out 4 changesets (bug 1457481) for c1 failures in devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
Backed out changeset 212450f77860 (bug 1457481)
Backed out changeset ac3deff9340f (bug 1457481)
Backed out changeset 4478820fbcaa (bug 1457481)
Backed out changeset 1c8460b1d6da (bug 1457481)

--HG--
rename : third_party/rust/syn-0.14.6/src/parsers.rs => third_party/rust/syn/src/parsers.rs
rename : third_party/rust/syn-0.14.6/src/verbatim.rs => third_party/rust/syn/src/verbatim.rs
rename : third_party/rust/uuid-0.5.1/.travis.yml => third_party/rust/uuid/.travis.yml
rename : third_party/rust/uuid-0.5.1/src/rustc_serialize.rs => third_party/rust/uuid/src/rustc_serialize.rs
rename : third_party/rust/uuid-0.5.1/src/serde.rs => third_party/rust/uuid/src/serde.rs
2018-10-02 01:43:46 +03:00
Markus Stange
56e10a560b Bug 1457481 - Run mach vendor rust. r=froydnj,erahm
Most importantly, this picks up "object" and "goblin" for ELF binary parsing.
We only use the ELF code from goblin, so the mach-O parsing code gets
eliminated by the linker. Overall, this increases the Android installer size
by 20KB.

Try pushes for reference:
before: https://treeherder.mozilla.org/#/jobs?repo=try&revision=834b56dc5ab3d63a43a32f740ee8212296ac726d&selectedJob=201600899
after: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6983b27e8d3cb715d3b7e6cbd276683f6466e3cc&selectedJob=201600475

installer size: 34524820 -> 34542861 (34.52MB -> 34.54MB)

$ mach vendor rust
    Updating registry `https://github.com/rust-lang/crates.io-index`
      Adding goblin v0.0.17
      Adding memmap v0.6.2
      Adding miniz-sys v0.1.10
      Adding object v0.10.0
      Adding parity-wasm v0.31.3
      Adding plain v0.2.3
      Adding profiler_helper v0.1.0 (file:///Users/mstange/code/mozilla/tools/profiler/rust-helper)
      Adding scroll v0.9.1
      Adding scroll_derive v0.9.5
      Adding syn v0.15.5
      Adding thin-vec v0.1.0
      Adding uuid v0.6.5
 0:30.11 The following files exceed the filesize limit of 102400:

third_party/rust/miniz-sys/miniz.c
third_party/rust/syn-0.14.6/src/expr.rs
third_party/rust/syn-0.14.6/src/gen/fold.rs
third_party/rust/syn-0.14.6/src/gen/visit.rs
third_party/rust/syn-0.14.6/src/gen/visit_mut.rs

The syn dependency is not compiled for goblin, as far as I can tell - it's only
needed for the 'syn' feature of scroll_derive, and scroll does not ask for
scroll_derive/syn.

object -> goblin -> scroll -> scroll_derive -/-> syn

But it looks like other versions of syn were already in the tree.

Depends on D7021

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

--HG--
rename : third_party/rust/syn/src/parsers.rs => third_party/rust/syn-0.14.6/src/parsers.rs
rename : third_party/rust/syn/src/verbatim.rs => third_party/rust/syn-0.14.6/src/verbatim.rs
rename : third_party/rust/uuid/.travis.yml => third_party/rust/uuid-0.5.1/.travis.yml
rename : third_party/rust/uuid/src/rustc_serialize.rs => third_party/rust/uuid-0.5.1/src/rustc_serialize.rs
rename : third_party/rust/uuid/src/serde.rs => third_party/rust/uuid-0.5.1/src/serde.rs
extra : moz-landing-system : lando
2018-10-01 20:24:42 +00:00
Henri Sivonen
b779d7751c Bug 1494651 - Update encoding_rs to 0.8.7. r=m_kato
MozReview-Commit-ID: EB0wO4BxFAb

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

--HG--
extra : moz-landing-system : lando
2018-10-01 01:11:59 +00:00
Benjamin Bouvier
8dd620efc8 Bug 1469027: Vendor in Rust dependencies for Cranelift; r=froydnj
--HG--
extra : rebase_source : 045272c50dd65c487200c520fbbe6c38fc9f9820
2018-09-12 16:04:35 +02:00
Jeff Muizelaar
f405bac266 Bug 1494042. Update Cargo lockfile and re-vendor rust dependencies 2018-09-26 00:37:48 -04:00
Jeff Muizelaar
c519453957 Bug 1493496. Update Cargo lockfiles re-vendor rust dependencies 2018-09-24 23:17:50 -04:00
Matt Brubeck
9a8bd3b5d7 Bug 1493435 - Upgrade to uluru 0.3. r=nox,emilio
This cherry-picks servo/servo#21789.
2018-09-23 13:52:36 +02:00
Andre Bogus
52ad6442dc Bug 1493435 - Update smallvec crate and enable the union feature. r=emilio
We had a mix of 0.6.2 and 0.6.5 (which is the current release),
this unifies to the latest version. It also enables the union
feature which removes the discriminant, reducing memory usage.

This cherry-picks servo/servo#21746.
2018-09-23 13:47:13 +02:00
Jeff Muizelaar
0ab721dac5 Bug 1493268. Update Cargo lockfiles and re-vendor rust dependencies 2018-09-22 21:21:17 -04:00
Jeff Muizelaar
24d813756e Bug 1493097. Update Cargo lockfiles and re-vendor rust dependencies
--HG--
extra : rebase_source : 91dcd4aae7262a775c6fc1bc5657fc703dd2cb5b
2018-09-21 15:40:16 -04:00
Gurzau Raul
9c1ca9e6e7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-21 07:17:03 +03:00
Jeff Muizelaar
e816372be4 Bug 1492880. Update Cargo lockfiles and re-vendor rust dependencies 2018-09-20 23:29:49 -04:00
J.C. Jones
c603d5f53f Bug 1492973 - Update u2f-hid-rs to 0.2.1 r=froydnj
Moves winapi dependency to 0.3.5 and updates rust-fmt

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

--HG--
extra : moz-landing-system : lando
2018-09-20 22:04:15 +00:00
Matt Brubeck
62b8be205c Bug 1492001 - Update geckodriver Rust dependencies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6168

--HG--
extra : moz-landing-system : lando
2018-09-18 17:51:03 +00:00
Noemi Erli
724848c2db Backed out 2 changesets (bug 1492001) for Btup build bustages
Backed out changeset 6ec9bc89a5b3 (bug 1492001)
Backed out changeset 238fdce77ee9 (bug 1492001)

--HG--
rename : third_party/rust/num-integer/bors.toml => third_party/rust/num/bors.toml
2018-09-18 20:38:24 +03:00
Matt Brubeck
0aca2432c6 Bug 1492001 - Update geckodriver Rust dependencies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6168

--HG--
extra : moz-landing-system : lando
2018-09-18 16:35:05 +00:00
Andreas Tolfsen
4b119d521e bug 1466818: mozrunner: depend on in-tree mozprofile; r=me
CLOSED TREE
2018-09-16 01:12:07 +01:00
Andreas Tolfsen
3d48e987b5 bug 1466818: mozrunner: release 0.8.0; r=me 2018-09-16 00:32:18 +01:00
Andreas Tolfsen
a90e90dac3 no bug: mozprofile: release 0.4.0; r=me 2018-09-16 00:24:46 +01:00
Andreas Tolfsen
6a9f20ef8a bug 1466818: geckodriver: release version 0.22.0; r=whimboo 2018-09-16 00:12:13 +01:00
Emilio Cobos Álvarez
77f2e53394 Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
Andreas Tolfsen
543654a6a6 bug 1490674: upgrade to log 0.4.5; r=froydnj
log 0.3.9 is still there because tokio-uds 0.1.7, which is a
dependency of audioipc, still depends on ^0.3.  A separate bug will
be filed on WebRTC to upgrade their tokio-uds dependency.
2018-09-14 12:28:01 +01:00
Andreas Tolfsen
4eb1661657 bug 1490674: rsdparsa: relax log crate dependency version; r=drno
Because all Rust crates in the tree are vendored, using the wildcard
"*" version dependency could have unintended reprecussions on
rsdparsa if another crate changes its log version dependency.

This patch, along with the others associated with this bug, upgrades
the log crate to 0.4.* throughout.  This has the benefit that we
can get rid of the duplicate vendored log crates in third_party/rust.
2018-09-14 12:28:00 +01:00
Andreas Tolfsen
2c2a931c23 bug 1490674: audioipc: relax log crate dependency version; r=kamidphish
By relaxing the version dependency on the log crate we are able to
get rid of duplicate vendored crates.

This particular version number, combined with rsdparsa depending
on "*" (anything) meant that a change to this version number in
audioipc would have reprecussions on the dependencies of rsdparsa.
I will address the wildcard version in a separate patch on rsdparsa.
2018-09-14 12:28:00 +01:00
Tooru Fujisawa
63240b4b60 Bug 1472103 - Part 1: Update BinAST IDL. r=Yoric 2018-09-14 01:56:07 +09:00
Andreas Tolfsen
521392abff bug 1490660: webdriver: release 0.37.0; r=jgraham 2018-09-12 16:12:21 +01:00
Bastien Orivel
7ef3fa6f4a Bug 1489792 - Part 1: Update base64 to 0.9. r=ato 2018-09-11 10:18:40 +01:00
Jean-Yves Avenard
2db366fbd9 Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216 r=bryce
temp fix, will do a full one once upstream change is merged

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:17:06 +00:00
Jeff Muizelaar
0f8d66ac1c Bug 1488887. Update Cargo lockfiles and revendor dependencies.
* * *
Re-vendor rust dependencies
2018-09-05 21:21:57 -04:00
Emilio Cobos Álvarez
09b97d9474 Bug 1488172 - Revendor rust dependencies. r=me 2018-09-03 14:13:36 +02:00
Myk Melez
19d8327672 Bug 1482810 - update cc crate from 1.0.18 to 1.0.23 r=froydnj
The fix for bug 1482810 requires an upstream change to the cc crate: if CFLAGS is defined, then don't enable warnings by default.  That change was included in cc crate version 1.0.23, and this change vendors that version of the cc crate into mozilla-central.

MozReview-Commit-ID: Krfrs1dSN9d

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

--HG--
extra : moz-landing-system : lando
2018-08-30 17:24:55 +00:00
Bastien Orivel
3946c67f0c Bug 1486815 - Remove nom 1 from dependencies. r=emilio 2018-08-30 00:09:51 +02:00
Nathan Froyd
65e7b0bbd1 Bug 1485409 - update crates to dispense with winapi 0.2.8 requirement; r=glandium
winapi 0.2.8 is used by a number of crates in our dependency graph.  The
newest version of winapi is 0.3.4, which is a significant restructuring
and also more amenable to further development, e.g. adding AArch64
support.  This patch does the easy work of updating as many things as
possible to winapi 0.3.4 via a simple `cargo update`:

cargo update -p atty:0.2.2 -p fs2 -p msdos_time -p parking_lot_core -p aho-corasick

and then vendoring the results of those changes.
2018-08-28 21:37:30 -04:00
Bastien Orivel
963e21bf7f Bug 1484462 - Update webdriver to hyper 0.12. r=ato 2018-08-23 13:15:22 +01:00
Henrik Skupin
a16730c92c Bug 1396821 - Update vendored Rust crates. r=ato
MozReview-Commit-ID: D8W2mtdAmpb

--HG--
rename : third_party/rust/rustc-serialize/LICENSE-APACHE => third_party/rust/serde_json/LICENSE-APACHE
rename : third_party/rust/rustc-serialize/LICENSE-MIT => third_party/rust/serde_json/LICENSE-MIT
extra : rebase_source : ca3b49695926adb5ec2ae0eb4cdfd4335a740467
2018-08-22 10:28:40 +02:00