Dzmitry Malyshau
9875e48074
Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond
...
Updating parking_lot would allow us to avoid dependency duplication when WebGPU tree is vendored.
Differential Revision: https://phabricator.services.mozilla.com/D42557
--HG--
rename : third_party/rust/parking_lot_core/src/thread_parker/wasm.rs => third_party/rust/parking_lot_core/src/thread_parker/wasm_atomic.rs
extra : moz-landing-system : lando
2019-08-19 21:28:51 +00:00
Emilio Cobos Álvarez
4be851e345
Bug 1574148 - Update itertools in the style crate.
...
It was updated in Servo long ago.
Differential Revision: https://phabricator.services.mozilla.com/D42131
--HG--
extra : moz-landing-system : lando
2019-08-15 13:31:47 +00:00
Nicholas Nethercote
2c0b69fee1
Bug 1563555 - Use `static_prefs::pref!` in Stylo. r=emilio
...
It's much nicer.
One nice thing about this is that the new code is subject to the existing
threadedness checking, which identified that several of these should be atomic
because they're accessed off the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D40792
--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:55 +00:00
Cosmin Sabou
9453cf60bf
Backed out 2 changesets (bug 1563555) for causing marionette failures on test_profile_management.py.
...
Backed out changeset 2559f5ddf8e0 (bug 1563555)
Backed out changeset e3c86ffa168c (bug 1563555)
--HG--
extra : histedit_source : 8569cceff2845f697109e2077a00c96074c7fe83
2019-08-07 12:09:13 +03:00
Nicholas Nethercote
b723ddbe42
Bug 1563555 - Use `static_prefs::pref!` in Stylo. r=emilio
...
It's much nicer.
One nice thing about this is that the new code is subject to the existing
threadedness checking, which identified that several of these should be atomic
because they're accessed off the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D40792
--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:08 +00:00
Simon Sapin
df960afd6f
Bug 1569911 - Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}. r=emilio,nox
...
Renaming the variable helped make sure I looked at every use.
Cherry-picked from: https://github.com/servo/servo/pull/23856
2019-07-30 12:24:07 +02:00
Simon Sapin
5448b8c036
Bug 1569911 - Servo: Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the style crate. r=nox
...
Cherry-picked from https://github.com/servo/servo/pull/23856
2019-07-30 12:23:51 +02:00
Mike Hommey
bf3db9e84f
Bug 1569331 - Update bindgen to 0.51. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D39580
--HG--
extra : moz-landing-system : lando
2019-07-27 00:36:18 +00:00
Nicolas Silva
a58ba90d31
Bug 1567241 - Update to euclid 0.20. r=kvark, emilio.
...
Differential Revision: https://phabricator.services.mozilla.com/D38530
--HG--
extra : source : d65512e23a13164f540430ff0c85a1f2a147d8a0
2019-07-18 22:54:16 +02:00
Emilio Cobos Álvarez
2c808051d3
Bug 1567333 - Remove the ability to build Gecko without the bindgen feature. r=heycam
...
This is not used for anything, as far as I can tell.
Differential Revision: https://phabricator.services.mozilla.com/D38584
--HG--
extra : moz-landing-system : lando
2019-07-18 23:39:14 +00:00
Emilio Cobos Álvarez
058ea528a4
Bug 1552080 - Rejigger a bit rust features so that rusttests still link. r=froydnj
...
We cannot compile with just feature(gecko + debug_assertions), since that's how
debug rusttests get compiled and they don't have the refcount logging stuff.
We were getting away with it for the pre-existing usage of the style crate,
because it wasn't used during any test and presumably the linker didn't
complain. But servo_arc is definitely used in tests.
Differential Revision: https://phabricator.services.mozilla.com/D32691
2019-05-29 21:30:52 +02:00
Emilio Cobos Álvarez
bce5af1e30
Bug 1552080 - Add refcount logging to servo_arc. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D32173
2019-05-29 21:30:23 +02:00
Bastien Orivel
2a7eee8242
Bug 1554347 - Update xml5ever and html5ever. r=npotb
2019-05-25 04:14:23 +02:00
Dzmitry Malyshau
d3f4d3cc1c
Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
...
Update rand version in u2fhid and xpcom
Differential Revision: https://phabricator.services.mozilla.com/D31669
--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-23 19:54:25 +00:00
Cosmin Sabou
bdf1d2a559
Backed out changeset a10cdf32fb5a (bug 1552549) for causing a spike in xpcshell failures. CLOSED TREE
2019-05-22 02:05:22 +03:00
Dzmitry Malyshau
1298c14a90
Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
...
Update rand version in u2fhid and xpcom
Differential Revision: https://phabricator.services.mozilla.com/D31669
--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-21 19:36:56 +00:00
Cameron McCormack
4b20fc81c7
Bug 1505908 - Add Gecko profiler labels for when the style threads are doing work. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D30869
--HG--
extra : moz-landing-system : lando
2019-05-14 05:00:45 +00:00
Emilio Cobos Álvarez
278866eb8e
Bug 1543837 - Fix servo build and appease tidy.
2019-04-12 00:25:50 +02:00
Cameron McCormack
8c9949aa66
Bug 1474793 - Part 9: Add support for deriving ToShmem. r=emilio
...
Depends on D17188
Differential Revision: https://phabricator.services.mozilla.com/D17189
--HG--
extra : moz-landing-system : lando
2019-03-30 00:16:08 +00:00
Cameron McCormack
b3a8e5cfb6
Bug 1474793 - Part 7: Add SharedMemoryBuilder type and ToShmem trait. r=emilio
...
Depends on D17186
Differential Revision: https://phabricator.services.mozilla.com/D17187
--HG--
extra : moz-landing-system : lando
2019-03-30 00:15:59 +00:00
Emilio Cobos Álvarez
cfa6b9a741
Bug 1529681 - Update bindgen. r=bbouvier
...
This works around an LLVM bug and also pulls a fair amount of bugfixes and perf
improvements. None of the breaking changes affect either the style system or
cranelift stuff.
Changelog for convenience:
https://github.com/rust-lang/rust-bindgen/compare/v0.43.2...v0.49.0
Differential Revision: https://phabricator.services.mozilla.com/D20899
--HG--
extra : moz-landing-system : lando
2019-03-27 14:39:41 +00:00
Cosmin Sabou
2bc99829bf
Backed out changeset 4d220064bcf8 (bug 1529681) for causing Windows 2012 AArch64 build bustages. CLOSED TREE
...
--HG--
extra : histedit_source : a68af39c236effa1c63bb091f4f72146c84a1be3
2019-02-25 20:31:13 +02:00
Emilio Cobos Álvarez
a970076f63
Bug 1529681 - Update bindgen. r=bbouvier
2019-02-25 09:51:02 -08:00
Andreea Pavel
6d82da21f3
Backed out changeset e99833064d36 (bug 1529681) for build bustages on a CLOSED TREE
2019-02-25 18:44:17 +02:00
Emilio Cobos Álvarez
66f3c5b7eb
Bug 1529681 - Update bindgen. r=bbouvier
...
This works around an LLVM bug and also pulls a fair amount of bugfixes and perf
improvements. None of the breaking changes affect either the style system or
cranelift stuff.
Changelog for convenience:
https://github.com/rust-lang/rust-bindgen/compare/v0.43.2...v0.47.2
Differential Revision: https://phabricator.services.mozilla.com/D20899
--HG--
extra : moz-landing-system : lando
2019-02-25 09:43:11 +00:00
Bobby Holley
c0182b02f9
Bug 1521187 - Add a dependency on derive_more. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D17028
--HG--
rename : third_party/rust/semver/.cargo-checksum.json => third_party/rust/semver-0.6.0/.cargo-checksum.json
rename : third_party/rust/semver/Cargo.toml => third_party/rust/semver-0.6.0/Cargo.toml
rename : third_party/rust/semver/README.md => third_party/rust/semver-0.6.0/README.md
rename : third_party/rust/semver/src/lib.rs => third_party/rust/semver-0.6.0/src/lib.rs
rename : third_party/rust/semver/src/version.rs => third_party/rust/semver-0.6.0/src/version.rs
rename : third_party/rust/semver/src/version_req.rs => third_party/rust/semver-0.6.0/src/version_req.rs
2019-01-22 12:19:22 -08:00
Bobby Holley
b381fba212
Bug 1519454 - Put malloc_size_of_derive on crates.io, and add a reduced fork of malloc_size_of for WebRender. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D16353
--HG--
rename : servo/components/malloc_size_of_derive/LICENSE-APACHE => gfx/wr/wr_malloc_size_of/LICENSE-APACHE
rename : servo/components/malloc_size_of_derive/LICENSE-MIT => gfx/wr/wr_malloc_size_of/LICENSE-MIT
rename : servo/components/malloc_size_of_derive/LICENSE-APACHE => third_party/rust/malloc_size_of_derive/LICENSE-APACHE
rename : servo/components/malloc_size_of_derive/LICENSE-MIT => third_party/rust/malloc_size_of_derive/LICENSE-MIT
rename : servo/components/malloc_size_of_derive/lib.rs => third_party/rust/malloc_size_of_derive/lib.rs
2019-01-12 12:36:22 -08:00
Bogdan Tara
1b63fe08ee
Backed out 4 changesets (bug 1519454) for api.rs build bustage CLOSED TREE
...
Backed out changeset 21d74c03c00a (bug 1519454)
Backed out changeset 054028a8d4a7 (bug 1519454)
Backed out changeset e9b1d04247de (bug 1519454)
Backed out changeset f3ef205b4f63 (bug 1519454)
--HG--
rename : third_party/rust/malloc_size_of_derive/LICENSE-APACHE => servo/components/malloc_size_of_derive/LICENSE-APACHE
rename : third_party/rust/malloc_size_of_derive/LICENSE-MIT => servo/components/malloc_size_of_derive/LICENSE-MIT
rename : third_party/rust/malloc_size_of_derive/lib.rs => servo/components/malloc_size_of_derive/lib.rs
2019-01-12 21:54:54 +02:00
Bobby Holley
466c21b4c4
Bug 1519454 - Put malloc_size_of_derive on crates.io, and add a reduced fork of malloc_size_of for WebRender. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D16353
--HG--
rename : servo/components/malloc_size_of_derive/LICENSE-APACHE => gfx/wr/wr_malloc_size_of/LICENSE-APACHE
rename : servo/components/malloc_size_of_derive/LICENSE-MIT => gfx/wr/wr_malloc_size_of/LICENSE-MIT
rename : servo/components/malloc_size_of_derive/LICENSE-APACHE => third_party/rust/malloc_size_of_derive/LICENSE-APACHE
rename : servo/components/malloc_size_of_derive/LICENSE-MIT => third_party/rust/malloc_size_of_derive/LICENSE-MIT
rename : servo/components/malloc_size_of_derive/lib.rs => third_party/rust/malloc_size_of_derive/lib.rs
extra : moz-landing-system : lando
2019-01-12 19:21:56 +00:00
Shanavas M
03d98acfa8
Bug 1519269 - Remove OrderedMap in favor of IndexMap. r=emilio
...
This cherry-picks https://github.com/servo/servo/pull/22656 .
2019-01-11 01:02:54 +01:00
Cameron McCormack
81b00f453b
Bug 1500362 - Use atom handles in favour of atom pointers in style system code r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D15078
--HG--
extra : moz-landing-system : lando
2019-01-07 07:54:46 +00:00
Bastien Orivel
24db8c61b4
Bug 1518045 - Update owning_ref to 0.4.
...
This cherry-picks https://github.com/servo/servo/pull/22534 , plus the relevant
re-vendoring.
2019-01-07 01:13:43 +01:00
Emilio Cobos Álvarez
1834c20f36
Bug 1518045 - Make Servo use a single thread-pool for layout-related tasks per-process. r=jdm
...
Instead of per-document. This also allows to reuse this thread-pool if needed
for other stuff, like parallel CSS parsing (#22478 ), and to share more code with
Gecko, which is always nice.
This cherry-picks https://github.com/servo/servo/pull/22487 , with a few minor
fixes to the build that are landing as part of the sync associated to this bug,
and an lsan exception tweak to point to the right module since it's moving.
2019-01-07 00:53:04 +01:00
bitnotri
542ea80ecd
Bug 1461737 - Move nsstring-rs to a better location, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D15743
--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
Cameron McCormack
99f949e5e4
Bug 1515533 - Bump smallvec and smallbitvec r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D15052
--HG--
extra : moz-landing-system : lando
2018-12-20 01:49:42 +00:00
Bastien Orivel
87addfd044
Bug 1511811 - Update crossbeam-channel to 0.3.
...
Cherry-picks https://github.com/servo/servo/pull/22142
2018-12-03 08:48:15 -05:00
Emilio Cobos Álvarez
c11d6bcf14
Bug 1511811 - Update Servo's version of encoding_rs.
2018-12-03 08:47:30 -05:00
shindli
6c6e4a960d
Backed out 13 changesets (bug 1511811) for Btup bustages
...
Backed out changeset d71cde918f43 (bug 1511811)
Backed out changeset 0ae2634de8e1 (bug 1511811)
Backed out changeset 53d1f5ca4099 (bug 1511811)
Backed out changeset 5a08148928ef (bug 1511811)
Backed out changeset da7816ec50ef (bug 1511811)
Backed out changeset 5fe23889cccc (bug 1511811)
Backed out changeset 800bc60c75a7 (bug 1511811)
Backed out changeset 2392d8199cd0 (bug 1511811)
Backed out changeset 7bc486fbd195 (bug 1511811)
Backed out changeset d2c997426108 (bug 1511811)
Backed out changeset ddd573878432 (bug 1511811)
Backed out changeset 29c8ec1559a4 (bug 1511811)
Backed out changeset f5851346109d (bug 1511811)
--HG--
rename : third_party/rust/darling_core/src/macros_private.rs => third_party/rust/darling_core/src/macros.rs
2018-12-03 15:39:11 +02:00
Emilio Cobos Álvarez
9ba570d998
Bug 1511811 - Go back to bindgen 0.43 since I can't manage to make the tup build succeed.
2018-12-03 08:15:29 -05:00
Bastien Orivel
768dd101be
Bug 1511811 - Update crossbeam-channel to 0.3.
...
Cherry-picks https://github.com/servo/servo/pull/22142
2018-12-03 08:15:26 -05:00
Emilio Cobos Álvarez
6461b805b2
Bug 1511811 - Update Servo's version of encoding_rs.
2018-12-03 08:15:24 -05:00
Bastien Orivel
d9cbef23e2
Bug 1511811 - Update syn and related dependencies. r=emilio
2018-12-03 08:15:15 -05:00
Emilio Cobos Álvarez
bc8766b7fc
Bug 1462233 - Implement the env() function with hardcoded zeros for safe-area-inset. r=heycam,firefox-style-system-reviewers
...
Intent to Implement and Ship: https://groups.google.com/d/msg/mozilla.dev.platform/EVKyR1B87T0/_l-_qK8SAAAJ
Differential Revision: https://phabricator.services.mozilla.com/D9609
--HG--
extra : moz-landing-system : lando
2018-11-05 10:39:46 +00:00
Emilio Cobos Álvarez
3f8b370d35
Bug 1500849 - Update bindgen. r=heycam,bbouvier
...
This pulls a new nom version, which is slightly unfortunate, but I do want some
of the fixes upstream, and it's build-only, so I think it's not a huge deal.
Differential Revision: https://phabricator.services.mozilla.com/D9362
2018-10-22 13:20:01 +02: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
Emilio Cobos Álvarez
e049a50395
Bug 1493435 - Partially revert servo/servo#21746 . r=ajeffrey
...
This reverts the relevant bits from #21746 so that style and dependencies can
build with stable.
This is important because:
* `selectors` is a published crate.
* Gecko compiles with stable (more or less).
I reviewed that PR under the assumption that the union feature was stable, since
untagged unions are stable since 1.19, but turns out that smallvec uses non-Copy
types in unions, which are still unstable.
This leaves the union feature used on Servo, so that it gets testing, taking
advantage of features being additive.
This cherry-picks servo/servo#21788 .
2018-09-23 13:47:26 +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
Emilio Cobos Álvarez
570e21fceb
Bug 1491579 - Enable nsstring/gecko_debug in a place other than components/style. r=xidorn
...
That way I can unify Servo's and Gecko's Cargo.toml files.
This is the only conflict that exists since a while ago, and it causes
continuous manual merges when I sync changes around.
This moves it to ports/geckolib, which works equally well and isn't in the Servo
repo.
Differential Revision: https://phabricator.services.mozilla.com/D5957
--HG--
extra : moz-landing-system : lando
2018-09-17 05:31:16 +00:00
Simon Sapin
b02f9a04eb
Bug 1491577 - Replace mpsc with crossbeam/servo channel, update ipc-channel. r=emilio
...
This cherry-picks servo/servo#21325 .
Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
2018-09-15 19:24:23 +02:00
Matt Brubeck
0399b9e762
Bug 1491577 - Switch from new-ordered-float back to ordered-float. r=emilio
...
The `new-ordered-float` fork has been merged back into the original
`ordered-float` crate.
This cherry-pics servo/servo#21681 .
2018-09-15 19:22:32 +02:00