Граф коммитов

404 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 67e80b725b Bug 1423840 - Rewrite the prefs parser. r=glandium,Manishearth
The prefs parser has two significant problems.

- It doesn't separate tokenizing from parsing.

- It is implemented as a loop around a big switch on a "current state"
  variable.

As a result, it is hard to understand and modify, slower than it could be, and
in obscure cases (involving comments and whitespace) it fails to parse what
should be valid input.

This patch replaces it with a recursive descent parser (albeit one without any
recursion!) that has separate tokenization. The new parser is easier to
understand and modify, more correct, and has better error messages. It doesn't
do error recovery, but that would be much easier to add than in the old parser.

The new parser also runs about 1.9x faster than the existing parser. (As
measured by parsing greprefs.js's contents from memory 1000 times in
succession, omitting the prefs hash table construction. If the table
construction is included, it's about 1.6x faster.)

The new parser is slightly stricter than the old parser in a few ways.

- Disconcertingly, the old parser allowed arbitrary junk between prefs
  (including at the start and end of the prefs file) so long as that junk
  didn't include any of the following chars: '/', '#', 'u', 's', 'p'. I.e.
  lines like these:

    !foo@bar&pref("prefname", true);
    ticky_pref("prefname", true);       // missing 's' at start
    User_pref("prefname", true);        // should be 'u' at start

  would all be treated the same as this:

    pref("prefname", true);

  The new parser disallows such junk because it isn't necessary and seems like
  an unintentional botch by the old parser.

- The old parser allowed character 0x1a (SUB) between tokens and treated it
  like '\n'.

  The new parser does not allow this character. SUB was used to indicate
  end-of-file (*not* end-of-line) in some old operating systems such as MS-DOS,
  but this doesn't seem necessary today.

- The old parser tolerated (with a warning) invalid escape sequences within
  string literals -- such as "\q" (not a valid escape) and "\x1" and "\u12"
  (both of which have insufficient hex digits) -- accepting them literally.

  The new parser does not tolerate invalid escape sequences because it doesn't
  seem necessary and would complicate things.

- The old parser tolerated character 0x00 (NUL) within string literals; this is
  dangerous because C++ code that manipulates string values with embedded NULs
  will almost certainly consider those chars as end-of-string markers.

  The new parser treats NUL chars as end-of-file, to avoid this danger and
  because it facilitates a significant optimization (described within the
  code).

- The old parser allowed integer literals to overflow, silently wrapping them.

  The new parser treats integer overflow as a parse error. This seems better,
  and it caught an existing overflow in testing/profiles/prefs_general.js, for
  places.database.lastMaintenance (see bug 1424030).

The first of these changes meant that a couple of existing prefs with ";;" at
the end had to be changed (done in the preceding patch).

The minor increase in strictness shouldn't be a problem for default pref files
such as greprefs.js within the application (which we can modify), nor for
app-written prefs files such as prefs.js. It could affect user-written prefs
files such as user.js; the experience above suggests that ";;" is the most
likely problem in practice. In my opinion, the risk here is acceptable.

The new parser also does a better job of tracking line numbers because it (a)
treats "\r\n" sequences as a single end-of-line marker, and (a) pays attention
to end-of-line sequences within string literals.

Finally, the patch adds thorough tests of both valid and invalid syntax.

MozReview-Commit-ID: 8EYWH7KxGG
* * *
[mq]: win-fix

MozReview-Commit-ID: 91Bxjfghqfw

--HG--
extra : rebase_source : a8773413e5d68c33e4329df6819b6e1f82c22b85
2017-12-03 00:26:36 +11:00
Kartikaya Gupta 063a144958 Bug 1433567 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: HpOX4MTdU9Z

--HG--
extra : rebase_source : c9da41ea1c96097fb51e55d5227cde66e5e6c47b
2018-01-30 10:22:30 -05:00
Bryce Van Dyk d6fa7ea4fd Bug 1432869 - Update locks to reflect new cubeb-rs, and audioipc versions. r=rillian
MozReview-Commit-ID: Hj9rcfHnO1L

--HG--
extra : rebase_source : c2366103116f8882d029caa4582b500e212f1406
2018-01-25 17:18:08 -05:00
Dzmitry Malyshau a8e2dce594 Bug 1433139 - Enable the WR capture feature in webrender_bindings. r=kats
MozReview-Commit-ID: 2dJMVMto5Ly
2018-01-25 14:49:36 -05:00
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Kartikaya Gupta ecdb4869cb Bug 1431776 - Update Cargo lockfiles and re-vendor rust dependencies r=jrmuizel
MozReview-Commit-ID: CGFjsnpjrDe

--HG--
extra : rebase_source : 1aab040b85371a509632dbe6a511aa90ee3d050d
2018-01-24 09:16:36 -05:00
Henri Sivonen 733ced6d8d Bug 1431356 - Update encoding_rs to 0.7.2 and simd to 0.2.1. r=emk.
MozReview-Commit-ID: Lp3zyF2rLxN

--HG--
extra : rebase_source : 81b515206ca5d28623cbaead16244ef258da2088
2018-01-18 12:26:21 +02:00
Nika Layzell 94e3d3cb1b Bug 1293362 - Part 2: Add skeleton crates for xpcom bindings, r=froydnj
MozReview-Commit-ID: H5nxsk4cg2E
2018-01-23 17:27:23 -05:00
Dan Glastonbury cd2eb5e8a4 Bug 1428952 - P4: Vendor rust crates. r=rillian
MozReview-Commit-ID: 7UQPozxpmC1

--HG--
extra : rebase_source : fc27016f0e51a9f4d1f09f842da7943f65070508
2017-11-06 16:26:30 +10:00
Emilio Cobos Álvarez 296aed21d6 Bug 1432134: Update bindgen. r=SimonSapin
On a CLOSED TREE.

MozReview-Commit-ID: GXHw7KcCLN9
2018-01-22 15:22:46 +01:00
Kartikaya Gupta deb1387041 Bug 1430829 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: GbEO29Hy9h6

--HG--
extra : rebase_source : d54f0c8e0ebfdad071a62c555ad0b7e193592a84
2018-01-19 12:33:03 -05:00
Dan Glastonbury a539d73ba3 Bug 1430996 - P1: Update cubeb-pulse-rs to commit cb7141e. r=kinetik
MozReview-Commit-ID: 2wrPNI9rvKF

--HG--
extra : rebase_source : 2a009c40dfdfd06a20b704ed033a47b93788edf4
2018-01-17 15:24:43 +10:00
Simon Sapin 62d00933f6 No bug - Servo bustage fix for PR 19751 r=bustage-fix
--HG--
extra : amend_source : 237b08796495230ecda24645e7a5b29fff95fe87
2018-01-13 02:17:37 +02:00
Franziskus Kiefer a881c4a167 Bug 1403844 - Verify COSE signature on add-ons, r=keeler
Summary:
MozReview-Commit-ID: 6YorBs4mY8B

Check for COSE signatures in add-ons.

Reviewers: keeler

Bug #: 1403844

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

--HG--
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed_with_pkcs7.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_signed_with_pkcs7.zip
rename : third_party/rust/cose/src/cbor/mod.rs => third_party/rust/moz_cbor/src/lib.rs
extra : rebase_source : 0494590eb222e2c936e353e4dd6cf9fac8d822f3
2018-01-08 11:46:51 +01:00
Kartikaya Gupta 68ad1f3785 Bug 1426116 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: Gz8YEswHQu0

--HG--
extra : rebase_source : 13c4d0a1cb492be3a3ea22989e7540370305787f
2018-01-08 09:19:27 -05:00
Kartikaya Gupta b8fd9e90a8 Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel
MozReview-Commit-ID: RoLZCW1fs0

--HG--
extra : rebase_source : 427360ccb12c9160555943350c5e790282f3e8e7
2018-01-08 09:19:27 -05:00
Alfredo.Yang 3cf0d3b491 Bug 1423469 - update mp4 rust parser. r=kinetik
MozReview-Commit-ID: IMnqoNL2jay

--HG--
extra : rebase_source : 14bd23405f9dfdcbb8bae5a850439918aacec5e3
2018-01-05 11:11:06 +08:00
Matthew Gregan 86594ab667 Bug 1405877 - Update Rust deps for media/audioipc. r=kamidphish
--HG--
rename : third_party/rust/error-chain/src/quick_error.rs => third_party/rust/error-chain/src/impl_error_chain_kind.rs
2017-12-20 14:51:11 +13:00
Kartikaya Gupta 0fb09505ab Bug 1424280 - Update cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 1G7oWr52koH
2017-12-10 13:49:02 -05:00
Kartikaya Gupta 071a573dc4 Bug 1424280 - Replace serde and serde_derive with Gankro's modified branch. r=jrmuizel
The branch is based off serde 1.0.23 and includes additional changes for faster
enum deserialization which we want for WebRender. The changes are in the process
of being upstreamed but will take a while.

MozReview-Commit-ID: 4xaPQpffzYL
2017-12-10 13:48:54 -05:00
Chris Manchester 3326b62c85 Bug 1423815 - Move symverscript for libxul from libxul.mk to GENERATED_FILES. r=ted
MozReview-Commit-ID: 5U7njSBlHMp

--HG--
extra : rebase_source : 6464c6870d13f6a2bd801975c617167a6a223370
2017-12-08 12:39:10 -08:00
Kartikaya Gupta 7476fde1a0 Bug 1423203 - Update Cargo lockfiles and revendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: GeZjG8GFL2M

--HG--
extra : rebase_source : 04002c57ccc2c96ac61f425ca17b62a2bd7263bb
2017-12-08 13:44:48 -05:00
Matt Brubeck 38b5279634 Bug 1424096 - Fix merge errors. r=me
MozReview-Commit-ID: 2yOAlJaSryj

--HG--
extra : rebase_source : f37145228404126abcd679ef262ff82512c8aa86
2017-12-08 10:36:59 -08:00
Matt Brubeck c61db3912d Bug 1424096 - Consolidate on a single version of each vendored Rust crate r=rillian
MozReview-Commit-ID: GSGQpjXLuVR

--HG--
rename : third_party/rust/gcc-0.3.42/LICENSE-APACHE => third_party/rust/bitflags-1.0.0/LICENSE-APACHE
rename : third_party/rust/libc-0.2.24/LICENSE-MIT => third_party/rust/bitflags-1.0.0/LICENSE-MIT
rename : third_party/rust/bitflags/tests/conflicting_trait_impls.rs => third_party/rust/bitflags-1.0.0/tests/conflicting_trait_impls.rs
rename : third_party/rust/bitflags/tests/external.rs => third_party/rust/bitflags-1.0.0/tests/external.rs
rename : third_party/rust/bitflags/tests/external_no_std.rs => third_party/rust/bitflags-1.0.0/tests/external_no_std.rs
rename : third_party/rust/bitflags/tests/i128_bitflags.rs => third_party/rust/bitflags-1.0.0/tests/i128_bitflags.rs
rename : third_party/rust/gcc-0.3.42/LICENSE-APACHE => third_party/rust/lazy_static-0.2.11/LICENSE-APACHE
rename : third_party/rust/lazy_static-0.2.8/LICENSE-MIT => third_party/rust/lazy_static-0.2.11/LICENSE-MIT
rename : third_party/rust/lazy_static-0.2.9/README.md => third_party/rust/lazy_static-0.2.11/README.md
rename : third_party/rust/lazy_static-0.2.8/tests/no_std.rs => third_party/rust/lazy_static-0.2.11/tests/no_std.rs
extra : rebase_source : 0a199bf892c53b56c739f18577c28f69df7e65e1
2017-12-08 10:24:40 -08:00
Servo VCS Sync d6368e66de No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/euclid/src/scale_factor.rs => third_party/rust/euclid-0.15.5/src/scale_factor.rs
2017-12-08 14:52:43 +00:00
Emilio Cobos Álvarez fc0d2c8a68 No bug - Revendor rust dependencies manually on a CLOSED TREE. r=me
MozReview-Commit-ID: C0KKGL9FbRd
2017-12-08 01:17:46 +01:00
Matt Brubeck 7f726d3cbb Bug 1424081 - Update parking_lot_core Rust crate to 0.2.7 r=SimonSapin
MozReview-Commit-ID: G8C94Vt2RVx

--HG--
extra : rebase_source : e13d4b40761171a16fd99d29fccabe5c5d942d58
2017-12-07 14:37:31 -08:00
Emilio Cobos Álvarez 0a75dbc139 No bug - Revendor rust dependencies again since vcs-sync clobbered the previous revendor on a CLOSED TREE. r=me
MozReview-Commit-ID: 5RNiODURfIb
2017-12-07 16:07:29 +01:00
Servo VCS Sync b336233de0 No bug - Revendor rust dependencies 2017-12-07 14:58:58 +00:00
Emilio Cobos Álvarez 67fa60dbe5 No bug - Revendor rust dependencies with cargo-vendor 0.1.13 on a CLOSED TREE. r=me
MozReview-Commit-ID: Ak6gGAvm6O8
2017-12-07 15:51:38 +01:00
Emilio Cobos Álvarez b09f446f9f No bug - Revendor rust dependencies. r=me
MozReview-Commit-ID: FtV6k7zirv1
2017-12-07 15:11:51 +01:00
Kartikaya Gupta 4a847e9671 Bug 1423236 - Rerun mach vendor rust. r=ttaubert
This contains the generated changes from running `mach vendor rust` on the
previous commit, and eliminates the redundant copy of libudev-sys we have
sitting in third_party/rust/

MozReview-Commit-ID: IXTI14beFMi

--HG--
extra : rebase_source : 0b4d3d991738e3a371bb467219b8a91a792158d3
2017-12-06 15:43:11 -05:00
Kartikaya Gupta 5d419cb4f2 Bug 1423236 - Use patch instead of replace to eliminate redundant vendored copy of libudev-sys. r=ttaubert
MozReview-Commit-ID: 529N231rvgY

--HG--
extra : rebase_source : ac3456c456da0c0cefa1be723f97a6c96c438a5b
2017-12-06 15:42:25 -05:00
Servo VCS Sync 19850eeb3c No bug - Revendor rust dependencies 2017-12-05 20:50:20 +00:00
Kartikaya Gupta 87d4b4ac8b Bug 1422317 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: LjxHjFxeUDH

--HG--
extra : rebase_source : 5f5dbee01a3939cacd1499950d2edff002cd1867
2017-12-05 11:52:18 -05:00
Servo VCS Sync 10ffde4a6a No bug - Revendor rust dependencies 2017-12-05 17:34:00 +00:00
Emilio Cobos Álvarez 09688ccbd8 No bug - Revendor rust dependencies on a CLOSED TREE. r=bustage
MozReview-Commit-ID: 3xbP1u17UTn


--HG--
rename : third_party/rust/smallvec/.cargo-checksum.json => third_party/rust/smallvec-0.4.3/.cargo-checksum.json
rename : third_party/rust/smallvec/Cargo.toml => third_party/rust/smallvec-0.4.3/Cargo.toml
rename : third_party/rust/smallvec/README.md => third_party/rust/smallvec-0.4.3/README.md
rename : third_party/rust/smallvec/lib.rs => third_party/rust/smallvec-0.4.3/lib.rs
2017-12-05 12:36:20 +01:00
Kartikaya Gupta fee87ce9f1 Bug 1421275 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: Jaty3RGfffU

--HG--
rename : third_party/rust/byteorder-1.0.0/COPYING => third_party/rust/byteorder-1.1.0/COPYING
rename : third_party/rust/byteorder-1.0.0/LICENSE-MIT => third_party/rust/byteorder-1.1.0/LICENSE-MIT
rename : third_party/rust/byteorder-1.0.0/README.md => third_party/rust/byteorder-1.1.0/README.md
rename : third_party/rust/byteorder-1.0.0/UNLICENSE => third_party/rust/byteorder-1.1.0/UNLICENSE
extra : rebase_source : 0668fbfe5d8ba288a0e530de3650bd013924b4ce
2017-12-01 09:50:52 -05:00
Tim Taubert c5eda6e272 Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug
Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406462

Differential Revision: https://phabricator.services.mozilla.com/D278
2017-11-29 13:58:33 +01:00
Emilio Cobos Álvarez d431af965c Bug 1420301: Update clang-sys to work around a compiler bug. r=rillian
See: https://github.com/rust-lang/rust/issues/46239

MozReview-Commit-ID: EiHsSK0xJ5c
2017-11-25 19:51:48 +01:00
Dzmitry Malyshau f32ca3183a Bug 1419440 - Update for API changes in WR PR 2050. r=kats
MozReview-Commit-ID: 4TFZB8XpY6l

--HG--
extra : rebase_source : 31be31fa926dd9144378146fe8c1a3e47cb389aa
2017-11-23 09:39:42 -05:00
Cosmin Sabou a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Franziskus Kiefer 7b10164f9f Bug 1403840 - add cose rust lib with a test, r=keeler,ttaubert
Summary:
This adds the COSE rust library from https://github.com/franziskuskiefer/cose-rust with its C API from https://github.com/franziskuskiefer/cose-c-api to gecko with a basic test.
The COSE library will be used for verifying add-on signatures in future.

Reviewers: keeler, ttaubert

Reviewed By: keeler

Bug #: 1403840

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

--HG--
extra : rebase_source : 433ca6894d88ccda333bfac53507eba4e84924fb
2017-11-22 16:37:15 +01:00
Matthew Gregan e88ffe59d1 Bug 1419627 - Update mp4parse-rust to cbindgen version. r=rillian
MozReview-Commit-ID: CJwg8isx8Jk

--HG--
extra : rebase_source : 74086f8e6a40f3a3d2e5f75407c06dfa03e6736d
2017-11-22 15:18:00 +13:00
Kartikaya Gupta a687e9315b Bug 1418315 - Update Cargo lockfiles to go with webrender update. r=nical
MozReview-Commit-ID: J5or7x9s66n

--HG--
extra : rebase_source : dee38b3a54bf3414059bdc96d7dab3ce1c5ba616
2017-11-21 10:41:47 -05:00
Servo VCS Sync 6b645f9f38 No bug - Revendor rust dependencies 2017-11-16 05:54:20 +00:00
Kartikaya Gupta 9e0fc459e6 Bug 1416258 - Update webrender to commit 8a39cf24f493e894a66c2465dd310a2b2923e558. r=jrmuizel
MozReview-Commit-ID: IjTJa62Op9b

--HG--
extra : rebase_source : 2de0202e76d7ffd58b01ad9f90b8a9660a2022cf
2017-11-14 09:19:11 -05:00
Kartikaya Gupta 85e4613d73 Bug 1415150 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 3U2Ve2XOv6

--HG--
extra : rebase_source : 12a1bb6732e0cf63fee035a820df5ef3cfe1fa7d
2017-11-10 10:55:12 -05:00
Sebastian Hengst f5e52adeea merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
Lee Salzman 826eee8b2a Bug 1403198 - support WR font descriptors on Mac. r=jrmuizel
MozReview-Commit-ID: BqN51yY88oJ
2017-11-06 20:21:06 -05:00
Lee Salzman 3e6f5e1180 Bug 1403198 - support WR font descriptors with DWrite. r=jrmuizel
MozReview-Commit-ID: 8u3kYoKYOuC
2017-11-06 20:20:43 -05:00
Manish Goregaokar 023c5b447b Bug 1411250 - Bump rand crate to 0.3.18 ; r=xidorn
MozReview-Commit-ID: IWu7Mu2l46e

--HG--
extra : rebase_source : 9d86016a9508dc31c979557daca969017d69fc4e
2017-11-06 14:53:08 -08:00
Emilio Cobos Álvarez 6821b4e553 No bug - Update num_cpus to try to fix bustage. r=me
On a CLOSED TREE

MozReview-Commit-ID: KxCbwtGxZnO
2017-11-03 18:24:47 +01:00
Emilio Cobos Álvarez 97fd5248b0 Bug 1412486: Revendor rust dependencies. r=me
MozReview-Commit-ID: 5mVyHlwTia1


--HG--
rename : third_party/rust/bindgen/.cargo-checksum.json => third_party/rust/bindgen-0.30.0/.cargo-checksum.json
rename : third_party/rust/bindgen/Cargo.toml => third_party/rust/bindgen-0.30.0/Cargo.toml
rename : third_party/rust/bindgen/build.rs => third_party/rust/bindgen-0.30.0/build.rs
rename : third_party/rust/bindgen/src/codegen/derive_debug.rs => third_party/rust/bindgen-0.30.0/src/codegen/derive_debug.rs
rename : third_party/rust/bindgen-0.29.1/src/codegen/error.rs => third_party/rust/bindgen-0.30.0/src/codegen/error.rs
rename : third_party/rust/bindgen/src/codegen/helpers.rs => third_party/rust/bindgen-0.30.0/src/codegen/helpers.rs
rename : third_party/rust/bindgen/src/codegen/mod.rs => third_party/rust/bindgen-0.30.0/src/codegen/mod.rs
rename : third_party/rust/bindgen/src/codegen/struct_layout.rs => third_party/rust/bindgen-0.30.0/src/codegen/struct_layout.rs
rename : third_party/rust/bindgen-0.29.1/src/extra_assertions.rs => third_party/rust/bindgen-0.30.0/src/extra_assertions.rs
rename : third_party/rust/bindgen/src/features.rs => third_party/rust/bindgen-0.30.0/src/features.rs
rename : third_party/rust/bindgen/src/ir/analysis/derive_copy.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/derive_copy.rs
rename : third_party/rust/bindgen/src/ir/analysis/derive_debug.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/derive_debug.rs
rename : third_party/rust/bindgen/src/ir/analysis/derive_default.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/derive_default.rs
rename : third_party/rust/bindgen/src/ir/analysis/derive_hash.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/derive_hash.rs
rename : third_party/rust/bindgen/src/ir/analysis/derive_partial_eq.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/derive_partial_eq.rs
rename : third_party/rust/bindgen/src/ir/analysis/has_destructor.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/has_destructor.rs
rename : third_party/rust/bindgen/src/ir/analysis/has_float.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/has_float.rs
rename : third_party/rust/bindgen/src/ir/analysis/has_type_param_in_array.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/has_type_param_in_array.rs
rename : third_party/rust/bindgen/src/ir/analysis/has_vtable.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/has_vtable.rs
rename : third_party/rust/bindgen/src/ir/analysis/mod.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/mod.rs
rename : third_party/rust/bindgen/src/ir/analysis/template_params.rs => third_party/rust/bindgen-0.30.0/src/ir/analysis/template_params.rs
rename : third_party/rust/bindgen/src/ir/comp.rs => third_party/rust/bindgen-0.30.0/src/ir/comp.rs
rename : third_party/rust/bindgen/src/ir/context.rs => third_party/rust/bindgen-0.30.0/src/ir/context.rs
rename : third_party/rust/bindgen/src/ir/derive.rs => third_party/rust/bindgen-0.30.0/src/ir/derive.rs
rename : third_party/rust/bindgen/src/ir/dot.rs => third_party/rust/bindgen-0.30.0/src/ir/dot.rs
rename : third_party/rust/bindgen/src/ir/enum_ty.rs => third_party/rust/bindgen-0.30.0/src/ir/enum_ty.rs
rename : third_party/rust/bindgen/src/ir/function.rs => third_party/rust/bindgen-0.30.0/src/ir/function.rs
rename : third_party/rust/bindgen/src/ir/item.rs => third_party/rust/bindgen-0.30.0/src/ir/item.rs
rename : third_party/rust/bindgen/src/ir/layout.rs => third_party/rust/bindgen-0.30.0/src/ir/layout.rs
rename : third_party/rust/bindgen-0.29.1/src/ir/mod.rs => third_party/rust/bindgen-0.30.0/src/ir/mod.rs
rename : third_party/rust/bindgen/src/ir/module.rs => third_party/rust/bindgen-0.30.0/src/ir/module.rs
rename : third_party/rust/bindgen/src/ir/objc.rs => third_party/rust/bindgen-0.30.0/src/ir/objc.rs
rename : third_party/rust/bindgen/src/ir/template.rs => third_party/rust/bindgen-0.30.0/src/ir/template.rs
rename : third_party/rust/bindgen/src/ir/traversal.rs => third_party/rust/bindgen-0.30.0/src/ir/traversal.rs
rename : third_party/rust/bindgen/src/ir/ty.rs => third_party/rust/bindgen-0.30.0/src/ir/ty.rs
rename : third_party/rust/bindgen/src/ir/var.rs => third_party/rust/bindgen-0.30.0/src/ir/var.rs
rename : third_party/rust/bindgen/src/lib.rs => third_party/rust/bindgen-0.30.0/src/lib.rs
rename : third_party/rust/bindgen-0.29.1/src/log_stubs.rs => third_party/rust/bindgen-0.30.0/src/log_stubs.rs
rename : third_party/rust/bindgen/src/main.rs => third_party/rust/bindgen-0.30.0/src/main.rs
rename : third_party/rust/bindgen/src/options.rs => third_party/rust/bindgen-0.30.0/src/options.rs
rename : third_party/rust/bindgen/src/parse.rs => third_party/rust/bindgen-0.30.0/src/parse.rs
rename : third_party/rust/bindgen/src/regex_set.rs => third_party/rust/bindgen-0.30.0/src/regex_set.rs
rename : third_party/rust/which/.cargo-checksum.json => third_party/rust/which-1.0.2/.cargo-checksum.json
rename : third_party/rust/which/Cargo.toml => third_party/rust/which-1.0.2/Cargo.toml
rename : third_party/rust/which/README.md => third_party/rust/which-1.0.2/README.md
2017-10-31 23:32:11 +01:00
Kartikaya Gupta 0313ad81b9 Bug 1412280 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: GclOv5iEipw

--HG--
extra : rebase_source : 3d90bbe04b1c499b6cb293cb6a1dccb4ccfe0227
2017-10-31 09:12:48 -04:00
Kartikaya Gupta 197f2cc1ec Bug 1412280 - Remove unused bincode dependency. r=jrmuizel
MozReview-Commit-ID: JPy0COAMZfp

--HG--
extra : rebase_source : 23268ba42cde3f42d78f600c5ecf09a91761ae9e
2017-10-31 09:08:39 -04:00
Servo VCS Sync 26f6d76168 No bug - Revendor rust dependencies 2017-10-31 00:32:51 +00:00
JerryShih 95b77b8a45 Bug 1399389 - update Cargo.lock and webrender_ffi_generated.h for webrender_bindings updating. r=nical
MozReview-Commit-ID: 8FIu1K1jjxM
2017-10-30 11:31:38 +08:00
Kartikaya Gupta 1acb485728 Bug 1410893 - Update Cargo lockfiles and re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: FobLKM7SYdY

--HG--
extra : rebase_source : bb1d27b56d9556097ef005c93de44be10d19e79a
2017-10-27 08:52:51 -04:00
Ralph Giles 6095257b3d Bug 1411363 - Update Cargo.lock files for Rust 1.22. r=froydnj
Cargo 0.23.0-beta, included with Rust 1.22.0-beta.2, wants to
move the top-level package description out of the [root] section
of Cargo.lock and into a parallel [[package]] section.
Accept this update by temporarily running the build without
passing --frozen and committing the result.

This is accepted by the cargo versions included in the current
and previous stable rust releases, so it will work with all
supported toolchains.

MozReview-Commit-ID: 1hMykhTknHi

--HG--
extra : rebase_source : 153d2016cd5e637584ea1d755198fbd1a5e7067e
2017-10-24 10:00:24 -07:00
Nika Layzell 1b1ba4879a Bug 1403213 - Move nsstring into servo/support/gecko/nsstring, r=froydnj
MozReview-Commit-ID: 8ucStGkxmj7

--HG--
rename : xpcom/rust/nsstring/gtest/Test.cpp => xpcom/rust/gtest/nsstring/Test.cpp
rename : xpcom/rust/nsstring/gtest/test.rs => xpcom/rust/gtest/nsstring/test.rs
extra : rebase_source : 509a2ab1aa569e8f3ef0955dcdfa36b53ce5e234
2017-10-23 15:37:25 -04:00
Sebastian Hengst 364d36fab2 merge mozilla-inbound. r=merge a=merge
MozReview-Commit-ID: B09kHrHK42C
2017-10-23 23:50:37 +02:00
Jeff Hemphill e74e880a6c Bug 1403802: Port nsHttpHandler::PrepareAcceptLanguages over to Rust; r=valentin,froydnj 2017-10-22 11:27:59 -07:00
Kartikaya Gupta f716b008d0 Bug 1409736 - Update Cargo lockfiles and re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: Ad50zkjSkcE

--HG--
extra : rebase_source : a13a33032b8fc30955183f69b06b1585524c1cb4
2017-10-23 09:48:21 -04:00
Xidorn Quan e39d9574b6 Bug 1409444 - Update rand to 0.3.17. r=manishearth
MozReview-Commit-ID: DjCEQV9t2hi

--HG--
extra : rebase_source : 243c346795b212c90d24fff559f02aebf0aa7d72
2017-10-23 15:52:44 +11:00
Sebastian Hengst 5d671ee296 Backed out changeset 74c58b336d30 (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7c25d872785312b81c4a94ef32de025b38642f54
2017-10-20 21:30:36 +02:00
Nika Layzell a4927e2417 Bug 1403213 - Move nsstring into servo/support/gecko/nsstring, r=froydnj
MozReview-Commit-ID: FmKtJxSCdYc
2017-10-20 12:04:30 -07:00
Sebastian Hengst 30fa609738 Backed out changeset e7c58f50140a 2017-10-19 23:23:23 +02:00
Servo VCS Sync 8db8c78539 No bug - Revendor rust dependencies 2017-10-19 17:34:02 +00:00
Servo VCS Sync 4e28b2587e No bug - Revendor rust dependencies 2017-10-19 16:06:32 +00:00
Sebastian Hengst bf793df477 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
Matthew Gregan cb483fa8cf Bug 1407487 - P4: Disable backtrace in error-log to work around bug 1409276. r=kamidphish
MozReview-Commit-ID: KHGTVi6QePx
2017-10-19 18:02:57 +13:00
Servo VCS Sync 969093dc7f No bug - Revendor rust dependencies 2017-10-18 20:56:50 +00:00
Kartikaya Gupta 991e3f2ee6 Bug 1408461 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: L5AVB95yUtP
2017-10-18 12:37:52 -04:00
Sebastian Hengst 3bc133f2e6 Backed out changeset c654a712755b (bug 1408461)
--HG--
extra : rebase_source : 623157bbabeec362882acc296b4d38e9ea20ddd7
2017-10-18 18:28:01 +02:00
Kartikaya Gupta 7c01556389 Bug 1408461 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: L5AVB95yUtP

--HG--
extra : rebase_source : c9bbaafa22c92eef6ee5b0c7b7063f4537962d60
2017-10-18 09:38:43 -04:00
Matthew Gregan bc2c40ef4d Bug 1407490 - Update media/audioipc to c466287. r=kamidphish
MozReview-Commit-ID: 8V6k3m2f3lI

--HG--
extra : rebase_source : 9e986d5c4a5b509162ef03ec86b2a95a9cd4ff0c
2017-10-16 15:37:10 +13:00
Servo VCS Sync 801155adeb No bug - Revendor rust dependencies 2017-10-17 04:02:06 +00:00
Kartikaya Gupta 2e87e8b61d Bug 1407213 - Update Cargo lockfiles and re-vendor rust libraries. r=jrmuizel
MozReview-Commit-ID: Jz76sncivdF

--HG--
rename : third_party/rust/bincode/logo.png => third_party/rust/bincode-0.8.0/logo.png
extra : rebase_source : bc3ba0e5ce54908def30fed2ab78487a1a9b6b93
2017-10-13 12:57:56 -04:00
Emilio Cobos Álvarez 1fd7fc90ca No bug - Revendor rust dependencies. r=me
MozReview-Commit-ID: 5t9KFJN5yDQ


--HG--
rename : third_party/rust/bindgen-0.29.0/.github/ISSUE_TEMPLATE.md => third_party/rust/bindgen-0.29.1/.github/ISSUE_TEMPLATE.md
rename : third_party/rust/bindgen-0.29.0/.travis.yml => third_party/rust/bindgen-0.29.1/.travis.yml
rename : third_party/rust/bindgen-0.29.0/CONTRIBUTING.md => third_party/rust/bindgen-0.29.1/CONTRIBUTING.md
rename : third_party/rust/bindgen-0.29.0/LICENSE => third_party/rust/bindgen-0.29.1/LICENSE
rename : third_party/rust/bindgen-0.29.0/README.md => third_party/rust/bindgen-0.29.1/README.md
rename : third_party/rust/bindgen-0.29.0/appveyor.yml => third_party/rust/bindgen-0.29.1/appveyor.yml
rename : third_party/rust/bindgen-0.29.0/book/book.toml => third_party/rust/bindgen-0.29.1/book/book.toml
rename : third_party/rust/bindgen-0.29.0/book/src/SUMMARY.md => third_party/rust/bindgen-0.29.1/book/src/SUMMARY.md
rename : third_party/rust/bindgen-0.29.0/book/src/blacklisting.md => third_party/rust/bindgen-0.29.1/book/src/blacklisting.md
rename : third_party/rust/bindgen-0.29.0/book/src/chapter_1.md => third_party/rust/bindgen-0.29.1/book/src/chapter_1.md
rename : third_party/rust/bindgen-0.29.0/book/src/command-line-usage.md => third_party/rust/bindgen-0.29.1/book/src/command-line-usage.md
rename : third_party/rust/bindgen-0.29.0/book/src/cpp.md => third_party/rust/bindgen-0.29.1/book/src/cpp.md
rename : third_party/rust/bindgen-0.29.0/book/src/customizing-generated-bindings.md => third_party/rust/bindgen-0.29.1/book/src/customizing-generated-bindings.md
rename : third_party/rust/bindgen-0.29.0/book/src/introduction.md => third_party/rust/bindgen-0.29.1/book/src/introduction.md
rename : third_party/rust/bindgen-0.29.0/book/src/library-usage.md => third_party/rust/bindgen-0.29.1/book/src/library-usage.md
rename : third_party/rust/bindgen-0.29.0/book/src/nocopy.md => third_party/rust/bindgen-0.29.1/book/src/nocopy.md
rename : third_party/rust/bindgen-0.29.0/book/src/opaque.md => third_party/rust/bindgen-0.29.1/book/src/opaque.md
rename : third_party/rust/bindgen-0.29.0/book/src/replacing-types.md => third_party/rust/bindgen-0.29.1/book/src/replacing-types.md
rename : third_party/rust/bindgen-0.29.0/book/src/requirements.md => third_party/rust/bindgen-0.29.1/book/src/requirements.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-0.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-0.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-1.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-1.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-2.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-2.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-3.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-3.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-4.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-4.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-5.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-5.md
rename : third_party/rust/bindgen-0.29.0/book/src/tutorial-6.md => third_party/rust/bindgen-0.29.1/book/src/tutorial-6.md
rename : third_party/rust/bindgen-0.29.0/book/src/using-unions.md => third_party/rust/bindgen-0.29.1/book/src/using-unions.md
rename : third_party/rust/bindgen-0.29.0/book/src/whitelisting.md => third_party/rust/bindgen-0.29.1/book/src/whitelisting.md
rename : third_party/rust/bindgen-0.29.0/build.rs => third_party/rust/bindgen-0.29.1/build.rs
rename : third_party/rust/bindgen-0.29.0/ci/assert-docs.sh => third_party/rust/bindgen-0.29.1/ci/assert-docs.sh
rename : third_party/rust/bindgen-0.29.0/ci/assert-no-diff.bat => third_party/rust/bindgen-0.29.1/ci/assert-no-diff.bat
rename : third_party/rust/bindgen-0.29.0/ci/assert-no-diff.sh => third_party/rust/bindgen-0.29.1/ci/assert-no-diff.sh
rename : third_party/rust/bindgen-0.29.0/ci/assert-rustfmt.sh => third_party/rust/bindgen-0.29.1/ci/assert-rustfmt.sh
rename : third_party/rust/bindgen-0.29.0/ci/before_install.sh => third_party/rust/bindgen-0.29.1/ci/before_install.sh
rename : third_party/rust/bindgen-0.29.0/ci/deploy-book.sh => third_party/rust/bindgen-0.29.1/ci/deploy-book.sh
rename : third_party/rust/bindgen-0.29.0/ci/no-includes.sh => third_party/rust/bindgen-0.29.1/ci/no-includes.sh
rename : third_party/rust/bindgen-0.29.0/ci/test-book.sh => third_party/rust/bindgen-0.29.1/ci/test-book.sh
rename : third_party/rust/bindgen-0.29.0/ci/test.bat => third_party/rust/bindgen-0.29.1/ci/test.bat
rename : third_party/rust/bindgen-0.29.0/ci/test.sh => third_party/rust/bindgen-0.29.1/ci/test.sh
rename : third_party/rust/bindgen-0.29.0/example-graphviz-ir.png => third_party/rust/bindgen-0.29.1/example-graphviz-ir.png
rename : third_party/rust/bindgen-0.29.0/rustfmt.toml => third_party/rust/bindgen-0.29.1/rustfmt.toml
rename : third_party/rust/bindgen-0.29.0/src/callbacks.rs => third_party/rust/bindgen-0.29.1/src/callbacks.rs
rename : third_party/rust/bindgen-0.29.0/src/clang.rs => third_party/rust/bindgen-0.29.1/src/clang.rs
rename : third_party/rust/bindgen-0.29.0/src/codegen/error.rs => third_party/rust/bindgen-0.29.1/src/codegen/error.rs
rename : third_party/rust/bindgen-0.29.0/src/codegen/helpers.rs => third_party/rust/bindgen-0.29.1/src/codegen/helpers.rs
rename : third_party/rust/bindgen-0.29.0/src/codegen/mod.rs => third_party/rust/bindgen-0.29.1/src/codegen/mod.rs
rename : third_party/rust/bindgen-0.29.0/src/codegen/struct_layout.rs => third_party/rust/bindgen-0.29.1/src/codegen/struct_layout.rs
rename : third_party/rust/bindgen-0.29.0/src/extra_assertions.rs => third_party/rust/bindgen-0.29.1/src/extra_assertions.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/analysis/derive_debug.rs => third_party/rust/bindgen-0.29.1/src/ir/analysis/derive_debug.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/analysis/has_vtable.rs => third_party/rust/bindgen-0.29.1/src/ir/analysis/has_vtable.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/analysis/mod.rs => third_party/rust/bindgen-0.29.1/src/ir/analysis/mod.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/analysis/template_params.rs => third_party/rust/bindgen-0.29.1/src/ir/analysis/template_params.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/annotations.rs => third_party/rust/bindgen-0.29.1/src/ir/annotations.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/comment.rs => third_party/rust/bindgen-0.29.1/src/ir/comment.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/comp.rs => third_party/rust/bindgen-0.29.1/src/ir/comp.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/context.rs => third_party/rust/bindgen-0.29.1/src/ir/context.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/derive.rs => third_party/rust/bindgen-0.29.1/src/ir/derive.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/dot.rs => third_party/rust/bindgen-0.29.1/src/ir/dot.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/enum_ty.rs => third_party/rust/bindgen-0.29.1/src/ir/enum_ty.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/function.rs => third_party/rust/bindgen-0.29.1/src/ir/function.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/int.rs => third_party/rust/bindgen-0.29.1/src/ir/int.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/item.rs => third_party/rust/bindgen-0.29.1/src/ir/item.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/item_kind.rs => third_party/rust/bindgen-0.29.1/src/ir/item_kind.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/layout.rs => third_party/rust/bindgen-0.29.1/src/ir/layout.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/mod.rs => third_party/rust/bindgen-0.29.1/src/ir/mod.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/module.rs => third_party/rust/bindgen-0.29.1/src/ir/module.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/objc.rs => third_party/rust/bindgen-0.29.1/src/ir/objc.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/template.rs => third_party/rust/bindgen-0.29.1/src/ir/template.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/traversal.rs => third_party/rust/bindgen-0.29.1/src/ir/traversal.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/ty.rs => third_party/rust/bindgen-0.29.1/src/ir/ty.rs
rename : third_party/rust/bindgen-0.29.0/src/ir/var.rs => third_party/rust/bindgen-0.29.1/src/ir/var.rs
rename : third_party/rust/bindgen-0.29.0/src/log_stubs.rs => third_party/rust/bindgen-0.29.1/src/log_stubs.rs
rename : third_party/rust/bindgen-0.29.0/src/main.rs => third_party/rust/bindgen-0.29.1/src/main.rs
rename : third_party/rust/bindgen-0.29.0/src/options.rs => third_party/rust/bindgen-0.29.1/src/options.rs
rename : third_party/rust/bindgen-0.29.0/src/parse.rs => third_party/rust/bindgen-0.29.1/src/parse.rs
rename : third_party/rust/bindgen-0.29.0/src/regex_set.rs => third_party/rust/bindgen-0.29.1/src/regex_set.rs
rename : third_party/rust/bindgen-0.29.0/src/uses.rs => third_party/rust/bindgen-0.29.1/src/uses.rs
rename : third_party/rust/clang-sys/.cargo-checksum.json => third_party/rust/clang-sys-0.19.0/.cargo-checksum.json
rename : third_party/rust/clang-sys/.travis.yml => third_party/rust/clang-sys-0.19.0/.travis.yml
rename : third_party/rust/clang-sys/CHANGELOG.md => third_party/rust/clang-sys-0.19.0/CHANGELOG.md
rename : third_party/rust/clang-sys/Cargo.toml => third_party/rust/clang-sys-0.19.0/Cargo.toml
rename : third_party/rust/clang-sys/README.md => third_party/rust/clang-sys-0.19.0/README.md
rename : third_party/rust/clang-sys/appveyor.yml => third_party/rust/clang-sys-0.19.0/appveyor.yml
rename : third_party/rust/clang-sys/build.rs => third_party/rust/clang-sys-0.19.0/build.rs
rename : third_party/rust/clang-sys/ci/before_install.sh => third_party/rust/clang-sys-0.19.0/ci/before_install.sh
rename : third_party/rust/clang-sys/ci/script.sh => third_party/rust/clang-sys-0.19.0/ci/script.sh
rename : third_party/rust/clang-sys/src/lib.rs => third_party/rust/clang-sys-0.19.0/src/lib.rs
rename : third_party/rust/clang-sys/src/link.rs => third_party/rust/clang-sys-0.19.0/src/link.rs
rename : third_party/rust/clang-sys/src/support.rs => third_party/rust/clang-sys-0.19.0/src/support.rs
rename : third_party/rust/clang-sys/tests/lib.rs => third_party/rust/clang-sys-0.19.0/tests/lib.rs
2017-10-12 18:20:31 +02:00
Servo VCS Sync 88c4d2a154 No bug - Revendor rust dependencies 2017-10-10 19:14:26 +00:00
Kartikaya Gupta f05a6f95b8 Bug 1405790 - Update webrender to commit 6440dff485271cdfd24a22c920cea31e01e2b164. r=Gankro
MozReview-Commit-ID: JRPtTtZ1jNz

--HG--
extra : rebase_source : 25d5198d1ddc09c7345e3ef77ef7a40f4f5a2b31
2017-10-10 08:01:29 -04:00
Servo VCS Sync b3f506b0aa No bug - Revendor rust dependencies 2017-10-09 16:13:47 +00:00
Henri Sivonen 2092982126 Bug 1405615 - encoding_rs 0.7.1: Correctly encode U+DC00 followed by another low surrogate from UTF-16. r=emk.
`wrapping_sub()`-based high surrogate check was off by one due to
error in copy and paste when defining the constant to compare against.
That is, the subtraction that defines the constant was completely wrong
but the result of the subtraction was only off by one, which is why the
bug wasn't discovered immediately. This lead to the first low surrogate
(U+DC00), and only the first low surrogate, getting accepted as a high
surrogate.

Discovered using cargo-fuzz.

MozReview-Commit-ID: K3Ptws31WuV

--HG--
extra : rebase_source : ef4c38214bba3bf72133d890fc1cce847024c81a
2017-10-04 13:11:27 +03:00
Xidorn Quan 45f3919331 Bug 1341102 - Revendor rayon.
MozReview-Commit-ID: CckZnhJlNTF
2017-10-04 17:13:34 +11:00
Servo VCS Sync 15597d7207 No bug - Revendor rust dependencies 2017-10-03 21:04:40 +00:00
Nathan Froyd ab7e3e703e Bug 1373878 - part 3 - add stylo_tests as a RustTest; r=rillian
The easy part of this patch is the addition of the RustTest itself.

The more difficult to understand part of the patch is the changes to all
of our Rust build configuration.  We do this due to a bug in cargo:

https://github.com/rust-lang/cargo/issues/3923

where features on dependent crates are not correctly taken into account
when determining whether cached artifacts on disk are valid and whether
they should be evicted from the disk cache.  The practical upshot of
this behavior is that, say, running gtests during normal development
when files in libxul are modified will:

* rebuild some Rust dependencies for libxul;
* link libxul;
* rebuild those same Rust dependencies *again* for libxul-gtest, since
  we have different features active and therefore the old artifacts look
  to be out of date;
* link libxul-gtest.

Needless to say, this is highly annoying and counterproductive behavior.

The "fix" is to ensure that the gkrust-shared crate explicitly depends
on crates and assigns features to them such that the feature sets do not
change between normal builds and testing builds.  This is admittedly
fragile, but it is not the first time this has come up, and is probably
not the last.
2017-10-02 09:21:22 -04:00
Xidorn Quan 0280d1aca8 Bug 1404678 - Update cssparser to 0.21.3 and revendor.
MozReview-Commit-ID: 8i1tms8zFHe

--HG--
extra : rebase_source : 3a934f3ad1941faeca2919da419847b3f61c6a6e
2017-10-01 20:46:17 +11:00
Simon Sapin 60e5ee69b6 Bug 1404625 - Revendor Rust dependencies r=SimonSapin
MozReview-Commit-ID: 5NZ5UFJThSx
2017-09-30 17:39:42 +02:00
Servo VCS Sync 66e73f039b No bug - Revendor rust dependencies 2017-09-29 01:16:50 +00:00
Kartikaya Gupta 19a0aaf058 Bug 1402321 - Update webrender to commit 9c5f8682e75839ad8c26480b89f87bbb37aa7894. r=jrmuizel
MozReview-Commit-ID: KHYwuo29KX
2017-09-28 14:52:39 -04:00
Servo VCS Sync 7f2d12ac98 No bug - Revendor rust dependencies 2017-09-27 12:01:07 +00:00
Matthew Gregan 3bf2f6de54 Bug 1403048 - Update Rust deps for audioipc. r=kamidphish,rillian
--HG--
extra : rebase_source : a9765e844b818a84cfa2ce69b525a7a2ed72c6de
2017-09-26 15:51:30 +13:00
Servo VCS Sync 6246f3b504 No bug - Revendor rust dependencies 2017-09-26 17:46:24 +00:00
Servo VCS Sync f65cc04a0b No bug - Revendor rust dependencies 2017-09-25 03:07:43 +00:00
Manish Goregaokar bb9be47305 Bug 1402419 - Update dtoa-short ; r=xidorn
MozReview-Commit-ID: qJSJZlZEKO

--HG--
extra : rebase_source : 02a41e072a0ffc0c23a32c7780429977f7be4fe6
2017-09-22 13:47:28 -07:00
Kartikaya Gupta b105ada68d Bug 1402304 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 3WHcJZG6FTf

--HG--
extra : rebase_source : f619f499997ec079686c580d5125cdd536174400
2017-09-22 09:58:21 -04:00
Kartikaya Gupta d8cf6bb966 Bug 1401244 - Update Cargo lockfiles. r=jrmuizel
MozReview-Commit-ID: mC8ALdQ06F

--HG--
extra : rebase_source : d26c354ab7da96a00a49e7c70034764b9d80ef35
2017-09-22 08:54:01 -04:00
Servo VCS Sync 11ba7578d3 No bug - Revendor rust dependencies 2017-09-21 07:32:15 +00:00
Wes Kocher 082e7c650c Merge m-c to autoland, a=merge
MozReview-Commit-ID: BLgnf5zTCU3
2017-09-19 14:54:09 -07:00