Commit graph

468 commits

Author SHA1 Message Date
Alan Jeffrey
349619ed2d Support for webxr layer management 2020-06-28 16:37:45 -05:00
atouchet
8a9cbcd9c5 Update winapi 2020-06-26 17:42:17 -07:00
atouchet
ca30ec02fc More Cargo.toml updates 2020-05-31 08:55:28 -07:00
atouchet
a33c75cbec Rename glutin port to winit 2020-05-27 20:27:15 -07:00
Kunal Mohan
a4f911699a Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu id recycling
Remove current implementation of MapReadAsync
2020-05-21 18:28:49 +05:30
Alan Jeffrey
5c3f1c90f4 Workarounds for webxr glwindow on macos 2020-05-05 10:29:07 -05:00
bors-servo
ba0df48d47
Auto merge of #26346 - jdm:console-caller, r=Manishearth
Improve devtools output for console APIs

These changes use the new API from https://github.com/servo/rust-mozjs/pull/508 to report meaningful filenames and line numbers for APIs that trigger devtools output. They also cause error messages originating from uncompiled event handlers to report a more relevant filename; this differs from Gecko's behaviour, but provides a more useful debugging experience in my opinion.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #9604 and fix #26344.
- [x] These changes do not require tests because devtools aren't tested.
2020-04-29 00:18:36 -04:00
Josh Matthews
ab7ade4efe Report real caller information for console APIs to devtools. 2020-04-28 21:32:41 -04:00
Josh Matthews
e3331dc8c4 Update backtrace dependency. 2020-04-23 16:06:19 -04:00
Alan Jeffrey
8bb1732258 Update surfman to 0.2 and remove glutin 2020-04-17 23:44:53 -05:00
Patrick Shaughnessy
1979e67f70 change branch of spirv_cross 2020-01-24 09:49:47 -05:00
MeFisto94
c27b4e259a Workaround for #24984 - Solve crashes when panicking / Hang Monitoring by using cargo's patch mechanism to work around a bug in libbacktrace 2019-12-12 14:54:26 +01:00
Zakor Gyula
e146e6058a Replace wgpu-native with wgpu-core 2019-12-06 12:49:56 +01:00
Alan Jeffrey
69acec137d Add a gstreamer servosrc plugin 2019-11-25 10:12:05 -06:00
Zakor Gyula
47e39ec1e3 Patch wgpu-native 2019-11-24 15:10:42 +01:00
Zakor Gyula
16bc2e18b1 Patch spirv_cross 2019-11-22 10:40:04 +01:00
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