Commit graph

52 commits

Author SHA1 Message Date
Manish Goregaokar
51bf8fcfe3 Remove patched webxr 2019-11-08 09:49:52 -08:00
Manish Goregaokar
e6989d692c Patch surfman and webxr 2019-11-04 08:45:59 -08:00
Anthony Ramine
785a344e32 Update rand to 0.7 (fixes #24448) 2019-10-23 15:34:48 +02:00
Simon Sapin
e0e1d9de64 Fix #24446 2019-10-15 15:34:36 +02:00
Josh Matthews
9812305942 Use winapi fork that supports UWP arm64 target. 2019-10-12 10:19:27 -04:00
Josh Matthews
0a4d380a84 Use autocfg fork with rustflags fix. 2019-10-12 10:19:26 -04:00
Josh Matthews
5367da98f8 Support building UWP with native UWP rustc target. 2019-10-12 10:19:26 -04:00
Alex Touchet
78fb40fcdf
Update iovec 2019-10-09 18:34:44 -07:00
Josh Matthews
51353c60ff Use fork of rand_os that is UWP compatible. 2019-09-16 13:04:12 -04:00
atouchet
09d011b272 Update cmake 2019-08-07 08:14:04 -07:00
Alan Jeffrey
c757a9c009 Get XR sessions to track the draw texture, so we render the XR framebuffer rather than the default canvas framebuffer 2019-07-28 10:24:38 -04:00
Alan Jeffrey
133a17e15c Replace use of callbacks in webxr by channels 2019-07-26 23:36:13 -05:00
Josh Matthews
6adf2cac87 Update webrender. 2019-07-12 08:10:16 -04:00
Josh Matthews
5beac079f6 Use fixed webrender. 2019-07-03 21:35:40 +02:00
atouchet
ee46b45b07 Update remove_dir_all 2019-06-17 15:53:15 -07:00
Josh Matthews
900794496a Update cmake to support MSVC arm64. 2019-06-11 09:15:16 -04:00
Josh Matthews
8fc2962fa6 Replace remove_dir_all with an unpublished revision that builds on arm64 Windows. 2019-06-11 09:14:01 -04:00
Bastien Orivel
3e7a9a012e Dedupe winapi
Since mio still hasn't been released, this uses custom forks with just
winapi bumped to 0.3 in them.
2019-05-24 19:07:56 +02:00
Paul Rouget
21ed7653f4 Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
Paul Rouget
16a00a107f Split simpleservo into 3 crates for rust, c and jni apis 2018-12-28 09:35:23 +01:00
Alan Jeffrey
dab8f4a97f Support building for Magic Leap. 2018-10-29 08:49:41 -05:00
Simon Sapin
39079cff8b Only build ports/servo by default (except Android), add ./mach build --libsimpleservo
Fixes #21314
2018-09-25 19:21:59 +02:00
Paul Rouget
baf6635a4c new android port: introduce a simple servo library 2018-07-31 22:33:51 +08:00
Emilio Cobos Álvarez
a440a0bdaf Remove geckolib-related build commands. 2018-05-17 11:24:59 -05:00
Marcin Mielniczuk
356c57e628 Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
Igor Matuszewski
d3ad9ae70f Use upstream mozjs 0.3 2018-03-18 21:32:32 +01:00
Igor Matuszewski
b49acf40ba Use mozjs 0.3 fork without Heap::new 2018-03-16 16:53:18 +01:00
Paul Rouget
2282292fa4 Drop CEF support 2018-01-31 06:36:21 +01:00
Simon Sapin
59bb421ea1 Don’t set codegen-units to 4.
The default is now 16:
b5361d0d41/src/librustc/session/mod.rs (L738-L788)
2018-01-10 20:54:35 +01:00
Glenn Watson
3ef79305c7 Update WR (dual-source subpixel text optimizations, clip-out segment builder). 2018-01-05 12:40:33 +10:00
Simon Sapin
9eee610c39 Use [patch] instead of [replace]
CC https://github.com/servo/webrender/pull/2215

Also, `[replace]` prevented using `[patch]` for other crates.
(Cargo forbids using both.)
2017-12-17 22:09:45 +01:00
Glenn Watson
f97f80f013 Update WR (bitmap font fixes, serde deserialization optimizations). 2017-12-11 03:10:24 +10:00
Simon Sapin
1f2b66e2d7 Use workspace.default-members to specify default crates for 'cargo build'
… and 'cargo test', etc. Include Servo and its unit tests,
but not Stylo because that would try to compile the style
crate with incompatible feature flags:
https://github.com/rust-lang/cargo/issues/4463

`workspace.default-members` was added in
https://github.com/rust-lang/cargo/pull/4743.
Older Cargo versions ignore it.
2017-12-07 13:50:10 +01:00
Simon Sapin
9d898cd460 Include test crates as workspace members rather that dev-dependencies 2017-12-07 13:50:09 +01:00
Josh Matthews
786583b61f
Don't confuse Cargo when building dependencies. 2017-11-28 15:52:54 -05:00
Simon Sapin
054d49e988 Update osmesa-src to support building with mach 2017-09-18 18:46:25 +02:00
Simon Sapin
9a186268bf Upgrade to rustc 1.20.0-nightly (504328a31 2017-07-21)
and cargo 0.21.0-nightly (ffab51954 2017-07-18).

The latter adds support for the `[patch]` section of `Cargo.toml`:

http://doc.crates.io/manifest.html#the-patch-section
http://doc.crates.io/specifying-dependencies.html#overriding-dependencies
2017-07-22 06:29:38 +02:00
Nick Fitzgerald
1cfd3ce5d3 Update the style crate's bindgen dependency 2017-05-08 09:32:16 -07:00
Imanol Fernandez
7a2a90959e Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
Simon Sapin
a6a1d8382a Enable codegen-units=4 in debug mode
We previously had this and removed it because it caused runtime slowdowns
(discussion in #11102), but that was in release mode.

Debug mode is already very slow at runtime.
In my opinion, debug mode is mostly for the edit-compile-test cycle
which is currently dominated by compile times,
so sacrificing runtime for compile time makes sense.

I’ve observed a ~30% improvement of compile times with this.
This figure is consistent between a very fast desktop with 4 cores / 8 threads
and a not-as-fast laptop with 2 cores / 4 threads.
2017-01-13 00:24:33 +01:00
Mátyás Mustoha
a8d356bc5e Fix Android packaging problem 2016-12-07 12:16:58 +01:00
Anthony Ramine
dfb35db6d3 Move to Cargo workspaces 2016-11-28 09:44:20 +01:00
Simon Sapin
998ab77957 Remove "Not the toml you’re looking for".
It’s been broken for a while and nobody noticed.
2015-04-16 14:23:29 +02:00
Simon Sapin
ff4877b473 Warn when Cargo is run directly. Fix #3957. 2014-12-02 18:03:39 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00
Glenn Watson
0278920343 Add glutin port (supported on Linux only currently).
Default build uses glfw, but glutin can be enabled via:

./mach cargo build --no-default-features --features=glutin
2014-11-19 08:31:34 +10:00
Matt Brubeck
6323c230a2 Update Cargo.lock files for Android rustup fixes
r? @glennw
2014-11-14 11:56:29 -08:00
Jack Moffitt
d1b433a3b3 Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a 2014-11-13 11:17:43 +10:00
Matt Brubeck
77d32ee447 Move windowing code out of the compositor
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
Simon Sapin
4768423eaa Give explicit file: URLs for reftests. Allow specifying a fragment id
The previous commit made #top be considered part of the file name in
../html/acid2.html#top
2014-09-16 16:22:52 +01:00