Commit Graph

155 Commits

Author SHA1 Message Date
shindli
87009004b2 Backed out changeset 58f0722012cd (bug 1475415) for force-cargo-library-build bustages CLOSED TREE 2018-09-24 19:37:49 +03:00
Tristan Bourvon
4db0a2f5a0 Bug 1475415 - Add first version of IPDL-JS API r=mrbkap,mccr8
Add the first version of the IPDL-JS API, which allow chrome JS to load IPDL files and use them to communicate accross Content processes.
See IPDLProtocol.h for more information regarding how to use the API.

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

--HG--
rename : ipc/moz.build => ipc/ipdl_new/moz.build
extra : moz-landing-system : lando
2018-09-24 14:13:20 +00: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
Emilio Cobos Álvarez
26115b46cb Bug 1485044: Unbust unit test build. r=me 2018-08-22 12:00:30 +02:00
Emilio Cobos Álvarez
3ef3f33868 Bug 1485044: Remove useless StyleDisplay conversion. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D3896
2018-08-22 11:25:58 +02:00
Andreea Pavel
0bcfe81a06 Backed out 6 changesets (bug 1396821) for linux tier2 build bustages on a CLOSED TREE
Backed out changeset 2fa2975f97e3 (bug 1396821)
Backed out changeset c5895db52483 (bug 1396821)
Backed out changeset 5c0ddd45f926 (bug 1396821)
Backed out changeset 7c97853a85b9 (bug 1396821)
Backed out changeset b61ce753f01e (bug 1396821)
Backed out changeset 7ef3912feb2c (bug 1396821)

--HG--
rename : third_party/rust/serde_json/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT
2018-08-21 20:20:24 +03:00
Henrik Skupin
0be64a7b29 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 : 5e5054596543e501434ecde199c055548fd62271
2018-08-20 17:49:11 +02:00
Henri Sivonen
c82d099240 Bug 1482095 - Update encoding_rs to 0.8.6. r=emk.
MozReview-Commit-ID: IqPrrQ7L1lU
2018-08-20 16:08:37 +03:00
Emilio Cobos Álvarez
b68adb6896 Bug 1484459: Update num-traits in style. r=me 2018-08-18 19:07:05 +02:00
Nicholas Nethercote
6b176ea952 Bug 1484096 - Remove use of fnv in bloom.rs. r=heycam
To support that, this patch also does the following.

- Removes the insert(), remove() and might_contain() methods, because they are
  specialized versions of insert_hash(), remove_hash(), and
  might_contain_hash(), and they are only used by tests within this file.

- Moves hash() from the top level into create_and_insert_some_stuff().

- Changes create_and_insert_some_stuff() so that instead of hashing consecutive
  integers, it instead hashes stringified consecutive integers, which matches
  real usage a little better.

- Raises the false_positives limit a little to account for the above changes.

--HG--
extra : rebase_source : f839ff86986d5c8a17506a808ba676f69c7ef407
2018-08-17 15:33:22 +10:00
Emilio Cobos Álvarez
03eea217a8 Bug 1481961: Rewrite media queries so that they work on an evaluator function. r=xidorn
This moves most of the code to be Rust, except potentially some evaluator
functions, and allows to unblock the use case from any-hover / any-pointer and
remove nsMediaFeatures.

Differential Revision: https://phabricator.services.mozilla.com/D2976
2018-08-15 16:09:19 +02:00
Nathan Froyd
aa277d9e8b Bug 1483344 - remove unused kernel32-sys dependency from style; r=emilio 2018-08-14 16:46:28 -04:00
Jean-Yves Avenard
caf8ead5fc Bug 1482841 - P1. Update mp4parse-rust to 643f48e137592e6318f6c780448374324908da31. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3261
2018-08-14 14:38:42 +02:00
Henri Sivonen
3edc601325 Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj.
Correctness improvements:

 * UTF errors are handled safely per spec instead of dangerously truncating
   strings.

 * There are fewer converter implementations.

Performance improvements:

 * The old code did exact buffer length math, which meant doing UTF math twice
   on each input string (once for length calculation and another time for
   conversion). Exact length math is more complicated when handling errors
   properly, which the old code didn't do. The new code does UTF math on the
   string content only once (when converting) but risks allocating more than
   once. There are heuristics in place to lower the probability of
   reallocation in cases where the double math avoidance isn't enough of a
   saving to absorb an allocation and memcpy.

 * Previously, in UTF-16 <-> UTF-8 conversions, an ASCII prefix was optimized
   but a single non-ASCII code point pessimized the rest of the string. The
   new code tries to get back on the fast ASCII path.

 * UTF-16 to Latin1 conversion guarantees less about handling of out-of-range
   input to eliminate an operation from the inner loop on x86/x86_64.

 * When assigning to a pre-existing string, the new code tries to reuse the
   old buffer instead of first releasing the old buffer and then allocating a
   new one.

 * When reallocating from the new code, the memcpy covers only the data that
   is part of the logical length of the old string instead of memcpying the
   whole capacity. (For old callers old excess memcpy behavior is preserved
   due to bogus callers. See bug 1472113.)

 * UTF-8 strings in XPConnect that are in the Latin1 range are passed to
   SpiderMonkey as Latin1.

New features:

 * Conversion between UTF-8 and Latin1 is added in order to enable faster
   future interop between Rust code (or otherwise UTF-8-using code) and text
   node and SpiderMonkey code that uses Latin1.

MozReview-Commit-ID: JaJuExfILM9
2018-08-14 14:43:42 +03:00
James Graham
38b6d8b9c7 Bug 1482238 - Bump version of regex in mozversion, r=froydnj
MozReview-Commit-ID: 4VxqemrFWf0

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

--HG--
extra : moz-landing-system : lando
2018-08-10 20:43:53 +00:00
Myk Melez
2c2b6eebf9 Bug 1445451 - vendor rkv; r=froydnj
MozReview-Commit-ID: KbcADpNltYq

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

--HG--
rename : third_party/rust/synstructure/.cargo-checksum.json => third_party/rust/synstructure-0.8.1/.cargo-checksum.json
rename : third_party/rust/synstructure/Cargo.toml => third_party/rust/synstructure-0.8.1/Cargo.toml
rename : third_party/rust/synstructure/README.md => third_party/rust/synstructure-0.8.1/README.md
rename : third_party/rust/synstructure/src/lib.rs => third_party/rust/synstructure-0.8.1/src/lib.rs
rename : third_party/rust/synstructure/src/macros.rs => third_party/rust/synstructure-0.8.1/src/macros.rs
extra : moz-landing-system : lando
2018-08-09 19:42:17 +00:00
Daniel Varga
edef4f17d4 Backed out changeset 08fa47a24e89 (bug 1445451) for failing Btup 2018-08-09 02:20:25 +03:00
Myk Melez
2d46903ee1 Bug 1445451 - vendor rkv r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2246

--HG--
rename : third_party/rust/synstructure/.cargo-checksum.json => third_party/rust/synstructure-0.8.1/.cargo-checksum.json
rename : third_party/rust/synstructure/Cargo.toml => third_party/rust/synstructure-0.8.1/Cargo.toml
rename : third_party/rust/synstructure/README.md => third_party/rust/synstructure-0.8.1/README.md
rename : third_party/rust/synstructure/src/lib.rs => third_party/rust/synstructure-0.8.1/src/lib.rs
rename : third_party/rust/synstructure/src/macros.rs => third_party/rust/synstructure-0.8.1/src/macros.rs
extra : moz-landing-system : lando
2018-08-08 20:59:21 +00:00
Emilio Cobos Álvarez
4d3c28d75d Bug 1481681: Sync some dependencies with servo. r=me 2018-08-08 01:39:57 +02:00
Kartikaya Gupta
a2333f3464 Bug 1480433 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: FUDEEkJZeK
2018-08-07 14:46:40 -04:00
Kartikaya Gupta
157d196498 Bug 1479432 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: BhLXnUXBZpq

--HG--
extra : rebase_source : dc44ec6d19d96071567937a8d5258e4b380a5136
2018-08-02 10:20:54 -04:00
Cameron McCormack
1f640400bb Bug 1475197 - Part 2: Revendor Rust dependencies. r=emilio
MozReview-Commit-ID: HRMXpPx8Lls

--HG--
extra : rebase_source : 5a1092d388f1da1e9945e26785f0e727a6dd0ce5
2018-08-01 10:29:48 +10:00