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

449 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 6d83ce8024 Bug 1444151 - Part 5: Update rust-url to 1.7.0, r=valentin 2018-04-10 17:49:51 -04:00
Nika Layzell 4f380cfe7d Bug 1444151 - Part 3: Only create a single allocation for MozURL objects, which is managed by rust, r=valentin
This patch rewrites the rust-url-capi crate as the mozurl crate, which
provides a threadsafe MozURL object which is compatible with the
previous MozURL class.

Creating a MozURL this way performs a single allocation, which contains
only a rust-url Url object and an atomic refcnt, however it is fully
compatible with the C++ RefPtr type.

This patch also exposes methods for accessing dependent substrings of
the serialized spec, meaning that string copies can be avoided in many
situations when inspecting attributes of the MozURL.




--HG--
rename : netwerk/base/rust-url-capi/.gitignore => netwerk/base/mozurl/.gitignore
2018-04-10 17:49:50 -04:00
Bastien Orivel af1d0f8ad9 Bug 1429816 - Part 2: Revendor dependencies. r=froydnj,mystor
--HG--
rename : third_party/rust/proc-macro2/.cargo-checksum.json => third_party/rust/proc-macro2-0.2.2/.cargo-checksum.json
rename : third_party/rust/proc-macro2/.travis.yml => third_party/rust/proc-macro2-0.2.2/.travis.yml
rename : third_party/rust/proc-macro2/Cargo.toml => third_party/rust/proc-macro2-0.2.2/Cargo.toml
rename : third_party/rust/syn-0.11.11/LICENSE-APACHE => third_party/rust/proc-macro2-0.2.2/LICENSE-APACHE
rename : third_party/rust/proc-macro2/README.md => third_party/rust/proc-macro2-0.2.2/README.md
rename : third_party/rust/proc-macro2/src/lib.rs => third_party/rust/proc-macro2-0.2.2/src/lib.rs
rename : third_party/rust/proc-macro2/src/macros.rs => third_party/rust/proc-macro2-0.2.2/src/macros.rs
rename : third_party/rust/proc-macro2/src/stable.rs => third_party/rust/proc-macro2-0.2.2/src/stable.rs
rename : third_party/rust/proc-macro2/src/strnom.rs => third_party/rust/proc-macro2-0.2.2/src/strnom.rs
rename : third_party/rust/proc-macro2/src/unstable.rs => third_party/rust/proc-macro2-0.2.2/src/unstable.rs
rename : third_party/rust/proc-macro2/tests/test.rs => third_party/rust/proc-macro2-0.2.2/tests/test.rs
rename : third_party/rust/quote/.cargo-checksum.json => third_party/rust/quote-0.4.2/.cargo-checksum.json
rename : third_party/rust/quote/Cargo.toml => third_party/rust/quote-0.4.2/Cargo.toml
rename : third_party/rust/synom/LICENSE-APACHE => third_party/rust/quote-0.4.2/LICENSE-APACHE
rename : third_party/rust/syn-0.11.11/LICENSE-MIT => third_party/rust/quote-0.4.2/LICENSE-MIT
rename : third_party/rust/quote/README.md => third_party/rust/quote-0.4.2/README.md
rename : third_party/rust/quote/src/lib.rs => third_party/rust/quote-0.4.2/src/lib.rs
rename : third_party/rust/quote/src/to_tokens.rs => third_party/rust/quote-0.4.2/src/to_tokens.rs
rename : third_party/rust/quote/src/tokens.rs => third_party/rust/quote-0.4.2/src/tokens.rs
rename : third_party/rust/quote/tests/test.rs => third_party/rust/quote-0.4.2/tests/test.rs
rename : third_party/rust/syn/.cargo-checksum.json => third_party/rust/syn-0.12.12/.cargo-checksum.json
rename : third_party/rust/syn/Cargo.toml => third_party/rust/syn-0.12.12/Cargo.toml
rename : third_party/rust/unicode-xid-0.0.4/LICENSE-APACHE => third_party/rust/syn-0.12.12/LICENSE-APACHE
rename : third_party/rust/syn/README.md => third_party/rust/syn-0.12.12/README.md
rename : third_party/rust/syn/src/attr.rs => third_party/rust/syn-0.12.12/src/attr.rs
rename : third_party/rust/syn/src/buffer.rs => third_party/rust/syn-0.12.12/src/buffer.rs
rename : third_party/rust/syn/src/data.rs => third_party/rust/syn-0.12.12/src/data.rs
rename : third_party/rust/syn/src/expr.rs => third_party/rust/syn-0.12.12/src/expr.rs
rename : third_party/rust/syn/src/gen/fold.rs => third_party/rust/syn-0.12.12/src/gen/fold.rs
rename : third_party/rust/syn/src/gen/visit.rs => third_party/rust/syn-0.12.12/src/gen/visit.rs
rename : third_party/rust/syn/src/gen/visit_mut.rs => third_party/rust/syn-0.12.12/src/gen/visit_mut.rs
rename : third_party/rust/syn/src/generics.rs => third_party/rust/syn-0.12.12/src/generics.rs
rename : third_party/rust/syn/src/ident.rs => third_party/rust/syn-0.12.12/src/ident.rs
rename : third_party/rust/syn/src/item.rs => third_party/rust/syn-0.12.12/src/item.rs
rename : third_party/rust/syn/src/lib.rs => third_party/rust/syn-0.12.12/src/lib.rs
rename : third_party/rust/syn/src/lifetime.rs => third_party/rust/syn-0.12.12/src/lifetime.rs
rename : third_party/rust/syn/src/lit.rs => third_party/rust/syn-0.12.12/src/lit.rs
rename : third_party/rust/syn/src/punctuated.rs => third_party/rust/syn-0.12.12/src/punctuated.rs
rename : third_party/rust/syn/src/spanned.rs => third_party/rust/syn-0.12.12/src/spanned.rs
rename : third_party/rust/syn/src/synom.rs => third_party/rust/syn-0.12.12/src/synom.rs
rename : third_party/rust/syn/src/token.rs => third_party/rust/syn-0.12.12/src/token.rs
rename : third_party/rust/syn/src/tt.rs => third_party/rust/syn-0.12.12/src/tt.rs
rename : third_party/rust/syn/src/ty.rs => third_party/rust/syn-0.12.12/src/ty.rs
extra : rebase_source : 07c6aa03703317fd127f1627f22e207c225abddb
2018-04-10 01:51:22 +02:00
Jean-Yves Avenard ccb5482936 Bug 1448762 - Update mp4parse-rust to 9e70cb4. r=padenot
MozReview-Commit-ID: 2RuByCeEEe5

--HG--
extra : rebase_source : 7233a91cffe16c2d89bbc1396dbfe1c834e2109b
2018-04-09 09:59:57 +02:00
Matt Brubeck 11c00438a3 Bug 1451945 - Update to cssparser-macros 0.3.2. r=ted
MozReview-Commit-ID: FvxUFdnoYS4

--HG--
extra : rebase_source : 3d8f3bfbb6687d00165be0477002306a55e6553c
2018-04-05 15:54:03 -07:00
Andreas Tolfsen 72dbcecec2 Bug 1449877 - Release geckodriver 0.20.1. r=whimboo
MozReview-Commit-ID: EsDa2dDbCYH

--HG--
extra : rebase_source : d18a3a08d5069e3fa97dd12e353bb8b00a2eebfe
2018-04-03 11:19:39 +01:00
Servo VCS Sync eba1851674 No bug - Revendor rust dependencies 2018-04-06 13:23:37 +00:00
David Teller 7160366b8c Bug 1437004 - Vendored Rust dependencies;r=froydnj
MozReview-Commit-ID: Grf1bKIx2iT

--HG--
extra : rebase_source : 8013a66263a3a014944b0815ff9bc7d8ac0ad9a3
2018-04-04 14:14:26 +02:00
Matt Brubeck 4aa522320e Bug 1451825 - Update to env_logger 0.5. r=ted
MozReview-Commit-ID: CqKdONY1NMT

--HG--
extra : rebase_source : 29f9c7a40cf71847a6f5e5e3f33e8695e9bd0b64
2018-04-05 10:08:05 -07:00
Kartikaya Gupta b7a889c98b Bug 1449562 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: LhqEX4QClN9

--HG--
extra : rebase_source : 77790431f7ced5bfa332a7b1694754e9fe96a275
2018-04-04 15:23:28 -04:00
Matthew Gregan 5ad7da2a98 Bug 1447097 - Vendor in cubeb-rs 0.5.2. r=kamidphish
MozReview-Commit-ID: DK7KB9fzAF5

--HG--
extra : rebase_source : 894ce8dd498ee5f519041104589efb35eecb33f1
2018-04-04 16:58:41 +12:00
Xidorn Quan 07cf23d1df Bug 1449087 part 1 - Upgrade cssparser to 0.23.4 for serialization fix. r=emilio
MozReview-Commit-ID: IJ2OqSjn1NM

--HG--
rename : third_party/rust/itoa/performance.png => third_party/rust/itoa-0.3.1/performance.png
extra : rebase_source : 8d8107fed692d8e8be1933cc2e993a389ce4d595
extra : source : 8be60db7102b905572b80aab931631153023d532
2018-04-04 08:42:10 +10:00
Servo VCS Sync e5c8a31abf No bug - Revendor rust dependencies 2018-04-02 15:33:49 +00:00
Servo VCS Sync 15611b73ac No bug - Revendor rust dependencies 2018-04-02 06:53:31 +00:00
Andreas Tolfsen 2efb6af857 Bug 1448900 - Release mozrunner 0.6.1. r=whimboo
One change since 0.6.0, which is a regression fix for a fallout
from bug 1443853.

MozReview-Commit-ID: 56GbEV4HM4v

--HG--
extra : rebase_source : 0e14fa63f00f1661cae01a10c76c2813d349ba1b
2018-03-28 17:28:29 +01:00
Servo VCS Sync fcc0405926 No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/env_logger/src/regex.rs => third_party/rust/env_logger-0.4.3/src/regex.rs
rename : third_party/rust/env_logger/src/string.rs => third_party/rust/env_logger-0.4.3/src/string.rs
2018-03-28 20:23:10 +00:00
Kartikaya Gupta 2b157a98d8 Bug 1447998 - Update cargo lockfile and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: FiipKgejZsy

--HG--
extra : rebase_source : e731d7f66c2ac98f03e65a7660a6dc40c1e9ee97
2018-03-28 09:13:15 -04:00
Matt Brubeck 61e9479fbb Bug 1449034 - Update Rust crates to use lazy_static 1.0. r=ted
MozReview-Commit-ID: 4u4OQFBaURV

--HG--
extra : rebase_source : f7a4f89d275777a036ca08dad42b0a17e9c7eb8e
2018-03-26 15:12:56 -07:00
Daniel Holbert d21e75b6f1 Bug 1445528: Update 'cc' crate to version 1.0.9. r=jgraham
This patch was automatically generated by running the following commands:
  $ cargo update -p cc
  $ ./mach vendor rust

MozReview-Commit-ID: 51NVIhtno6O

--HG--
extra : rebase_source : e4273dccdf531dfadd01c82e3d1131d509f9ffc7
2018-03-22 13:43:03 -07:00
Dan Glastonbury 9e176607b5 Bug 1432779 - Rust vendor. r=jya
MozReview-Commit-ID: 5FQjIPBWTEZ
2018-03-24 10:57:58 +01:00
Cosmin Sabou d5f5fb893c Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00
Dan Glastonbury 738ee657af Bug 1446233 - P2: Update Cargo.lock for audioipc-client version. r=kinetik
MozReview-Commit-ID: WcbXmrh749

--HG--
extra : rebase_source : a021bd2bdbd6467733b6694ab445a6f3e2172548
2018-03-08 15:42:21 +10:00
shindli 5d297279b1 Backed out 3 changesets (bug 1446233) for Wr failures in /html/semantics/embedded-content/media-elements/track/track-element/track-webvtt-two-cue-layout-after-first-end.html on a CLOSED TREE
Backed out changeset ed217fb39a92 (bug 1446233)
Backed out changeset f5bec009a111 (bug 1446233)
Backed out changeset a71dd6219f8a (bug 1446233)
2018-03-23 04:11:01 +02:00
Dan Glastonbury af50bb4391 Bug 1446233 - P2: Update Cargo.lock for audioipc-client version. r=kinetik
MozReview-Commit-ID: KKiUmKpALT9

--HG--
extra : rebase_source : 0a3576589e11792f225468448dc7ca31f55f4d96
2018-03-08 15:42:21 +10:00
Matt Brubeck 0a5385733d Bug 1447062 - Upgrade to num-traits 0.1.43. r=ted
MozReview-Commit-ID: Hl7780nXOvw

--HG--
rename : third_party/rust/num-traits-0.1.41/LICENSE-APACHE => third_party/rust/num-traits-0.1.43/LICENSE-APACHE
rename : third_party/rust/num-traits-0.1.41/LICENSE-MIT => third_party/rust/num-traits-0.1.43/LICENSE-MIT
extra : rebase_source : 8289387f3d1af16a40a42167ffaaba36f34e3632
2018-03-19 10:24:54 -07:00
Kartikaya Gupta 1e20dc719f Bug 1447286 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 1gpB9n4dNHG

--HG--
extra : rebase_source : ef976a762c8c18b14dc509c31c7bc3d6c46833b3
2018-03-22 10:28:33 -04:00
Kartikaya Gupta 765c5a57bb Bug 1447286 - Update audioipc to commit f6c4829. r=jrmuizel
MozReview-Commit-ID: 4OrKhBQgPjD

--HG--
extra : rebase_source : c39f428132f8b79c5dd4119779788dabc291a94c
2018-03-22 10:26:47 -04:00
Servo VCS Sync 833dcb7e06 No bug - Revendor rust dependencies 2018-03-21 19:17:05 +00:00
Paul Ellenbogen 9a973356aa Bug 1379265 - Add C API for rsdparsa; r=rillian
MozReview-Commit-ID: FdhpTT5wzwI

--HG--
extra : rebase_source : 9b0188b6e3c2604da77250b9e004508e91fe4497
2017-06-30 12:54:12 -07:00
Emilio Cobos Álvarez db6c5d7e43 No bug - Revendor rust dependencies on a CLOSED TREE. r=me
MozReview-Commit-ID: K6GlYzYjLRu


--HG--
rename : third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/other/b32/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86.rs
rename : third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/other/b64/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86_64.rs
2018-03-13 14:14:09 +01:00
Servo VCS Sync 71b0640d58 No bug - Revendor rust dependencies 2018-03-13 10:37:36 +00:00
Andreas Tolfsen ea34c24a48 Bug 1401129 - Release geckodriver 0.20.0. r=whimboo
MozReview-Commit-ID: Lip1pab8D0f

--HG--
extra : rebase_source : 89fd332817e87cd0d7e45ed527d714237131e842
2018-03-08 16:06:59 +00:00
Andreas Tolfsen 4dcf6c50b7 Bug 1401129 - Release webdriver 0.35.0. r=whimboo
MozReview-Commit-ID: lnoyZZbtcF

--HG--
extra : rebase_source : c43d960f793cd3d3eed922ac8ebe31d9a0564d12
2018-03-08 16:05:08 +00:00
Andreas Tolfsen 6b09cf8df1 Bug 1401129 - Release mozrunner 0.6.0. r=whimboo
MozReview-Commit-ID: 2nljPi3HN5b

--HG--
extra : rebase_source : 7e1cd2201937b5bb47fe81bcdbd6c1bc068b92b5
2018-03-08 14:26:10 +00:00
Andreas Tolfsen 7b875989b2 Bug 1401129 - Release mozversion 0.1.3. r=whimboo
MozReview-Commit-ID: JMUOjttq31L

--HG--
extra : rebase_source : 188ea63b2a3aff99562df94bb7c4a9e164cfea54
2018-03-12 11:48:18 +00:00
Emilio Cobos Álvarez 117d05d6e5 No bug - update euclid and revendor rust dependencies. r=me on a CLOSED TREE
MozReview-Commit-ID: ANUBjeuvuNU
2018-03-09 13:01:42 +01:00
Servo VCS Sync 1a016cc33a No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/env_logger-0.4.3/src/regex.rs => third_party/rust/env_logger/src/regex.rs
rename : third_party/rust/env_logger-0.4.3/src/string.rs => third_party/rust/env_logger/src/string.rs
2018-03-08 22:31:23 +00:00
Matt Brubeck 134bbc1272 Bug 1443257 - Update log crate from 0.3.8 to 0.3.9. r=ted
MozReview-Commit-ID: DMzMun9EgnG

--HG--
rename : third_party/rust/log-0.3.8/LICENSE-APACHE => third_party/rust/log-0.3.9/LICENSE-APACHE
rename : third_party/rust/log-0.3.8/LICENSE-MIT => third_party/rust/log-0.3.9/LICENSE-MIT
rename : third_party/rust/log-0.3.8/appveyor.yml => third_party/rust/log-0.3.9/appveyor.yml
extra : amend_source : aa43f61701d7b5b97cac89faaa4e66c67035c4e1
2018-03-05 11:21:46 -08:00
Matt Brubeck 1fbdfd78ef Bug 1444097 - Clean up env_logger dependencies. r=ted
For the "js" crate, disable the "regex" feature to reduce binary size.

For the "u2fhid" crate, it's used only in examples. Make it a dev-dependency
so it won't be part of the Firefox build.

MozReview-Commit-ID: DY9indMqrRw

--HG--
extra : rebase_source : aa66fe1effaeca0ae35ec5dd20b33724eb3fac48
2018-03-08 07:35:11 -08:00
Dan Glastonbury 431554b5cf Bug 1443988 - P2: Update futures and futures-cpupool crates. r=mbrubeck
* futures: 0.1.13 -> 0.1.18
* futures-cpupool: 0.1.5 -> 0.1.8

MozReview-Commit-ID: LDYFHxBfQMU

--HG--
extra : rebase_source : f1693246c545da9dcf32a5ae72fb023c9d565061
2018-03-08 12:23:10 +10:00
Greg Fraley e6f4df94b9 Bug 1396823 - Use unicode-segmentation to iterate graphemes instead of chars r=ato
MozReview-Commit-ID: 8QsOmtXDnGI

--HG--
extra : rebase_source : 0af1eb0af8d23346a1b20ac6a04964d974232850
2018-03-06 21:31:14 -05:00
Matt Brubeck 54c488c132 Bug 1443248 - Update u2fhid to core-foundation-sys 0.5. r=ttaubert
MozReview-Commit-ID: 4xTSQpvHHAV

--HG--
extra : rebase_source : 9f6234a05ab1b8a0bc47482a2a745edfa0bd2f68
2018-03-05 11:13:13 -08:00
Dan Glastonbury da8cc2ada9 Bug 1442640 - Vendor in cubeb-core v0.4.4 r=rillian
Pull in fix to handle errors from cubeb_core::Context::init.

MozReview-Commit-ID: IKCRAGR8CBq

--HG--
extra : rebase_source : 5aadf2719d8060392f7e0cd30f9c4ec2a1ff4b85
2018-03-05 19:15:54 +10:00
shindli df4b2c995e Backed out 2 changesets (fd805c59ae56, 270e441c3649) for servo bustage on a CLOSED TREE
Backed out changeset fd805c59ae56
Backed out changeset 270e441c3649

--HG--
extra : histedit_source : 588d462b2f2fd9e6892405637a4c8dcdabde5139
2018-03-05 18:55:45 +02:00
Servo VCS Sync 9714e02573 No bug - Revendor rust dependencies 2018-03-05 16:11:16 +00:00
Dan Glastonbury c2e44b92b4 Bug 1441588 - P2: Vendor rust crates. r=rillian
Pull updated cubeb-core 0.4.3
Remove bincode 0.8

MozReview-Commit-ID: GfGCBU2DWmN

--HG--
extra : rebase_source : 46b12f186d433c616d2e3d2d75b5bc6b1630b58f
2018-03-03 14:32:06 +10:00
Matt Brubeck be08cdcdc1 Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : source : bbae7807c164273f6bb123d680a4fc31202d7a61
extra : amend_source : 53505e25f63a8eb228e62a0a9f3bd3ed98950296
extra : histedit_source : 597464181d4b79f5ac1a511d23e2a05aefb266da%2C63b89f3699e0e9598c8355e7293f10795acc80e7
2018-03-01 14:33:35 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck c94fb26dea Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : rebase_source : 75fae593e8765ec5b1e616d10eda0bc52f1f7194
extra : histedit_source : 21b38586bcc4576fce5eadff9a3c77ccf5e21341
2018-03-01 14:33:35 -08:00