Commit graph

5401 commits

Author SHA1 Message Date
Josh Matthews
fa32d5d115 Update autocfg. 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
Manish Goregaokar
26b2f02210 Report correct environmentblendmode 2019-10-11 13:09:13 -07:00
pylbrecht
9762dd3d3f Update raqote 2019-10-11 20:13:19 +02:00
Josh Matthews
620d07e61d
Update mozjs crate for new WASM APIs. 2019-10-10 15:08:18 -04:00
Alex Touchet
78fb40fcdf
Update iovec 2019-10-09 18:34:44 -07:00
Manish Goregaokar
0a745aaa44 Update webxr crate 2019-10-09 14:00:03 -07:00
Alex Touchet
f026e8651e
Update tinyfiledialogs 2019-10-06 23:26:10 -07:00
bors-servo
c94ca298ca
Auto merge of #24334 - servo:new-manifest-format, r=jdm
Switch to the new Cargo.lock format

The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

https://github.com/rust-lang/rust/pull/63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24334)
<!-- Reviewable:end -->
2019-10-04 16:37:24 -04:00
Anthony Ramine
0ce8cf9e2e Switch to the new Cargo.lock format
The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

	https://github.com/rust-lang/rust/pull/63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.
2019-10-04 12:31:13 +02:00
Anthony Ramine
30e5cfcdb0 Revert "Switch to the new Cargo.lock format"
This reverts commit b7ffaa5a72.

WHY THE HELL CAN I PUSH TO MASTER
2019-10-04 10:07:15 +02:00
Anthony Ramine
b7ffaa5a72 Switch to the new Cargo.lock format
The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

	https://github.com/rust-lang/rust/pull/63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.
2019-10-04 10:00:16 +02:00
Manish Goregaokar
4c4cfb9834 Update webxr 2019-10-03 12:22:41 -07:00
bors-servo
84693d8117
Auto merge of #24344 - saschanaz:vslatest, r=jdm
Support `--features vslatestinstalled`

<!-- Please describe your changes on the following line: -->

Matches https://github.com/servo/rust-mozjs/pull/477.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24331

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24344)
<!-- Reviewable:end -->
2019-10-02 23:27:20 -04:00
Kagami Sascha Rosylight
c06c944010 Support --features vslatestinstalled 2019-10-02 13:49:58 +09:00
Shotaro Yamada
b228d2700e Remove unused dependencies 2019-10-01 21:15:53 +09:00
bors-servo
ad1d003e25
Auto merge of #24324 - paulrouget:glwindow_keyboard, r=asajeffrey
Make it possible to navigate with the keyboard in the webxr glwindow view

The glwindow is not interactive. With this PR we can use the arrow key to look up, down, right and left.

This will make debugging a lot easier.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24324)
<!-- Reviewable:end -->
2019-10-01 04:59:31 -04:00
Paul Rouget
e65f1c9dbf Make it possible to rotate in webxr glwindow view 2019-10-01 10:58:59 +02:00
bors-servo
1b6715158d
Auto merge of #24325 - servo:smup, r=jdm
Update mozjs

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24325)
<!-- Reviewable:end -->
2019-10-01 00:36:05 -04:00
Anthony Ramine
b9a226c0bc Update mozjs 2019-09-30 19:03:27 +02:00
Paul Rouget
42d64d002a euclid update 2019-09-30 17:41:54 +02:00
Simon Sapin
47c269360c Remove redundant webidl_must_inherit compiler plugin lint
At first I was considering moving it to a procedural macro
(source-level information should be sufficient),
and started by trying to reproduce the error case
by changing `htmldivelement.rs` to use `Element` instead of `HTMLElement`
as the first field.

The output was:

```rust
error[E0308]: mismatched types
   --> /home/simon/servo2/target/debug/build/script-4caa244faca7d10f/out/Bindings/HTMLDivElementBinding.rs:665:31
    |
665 |         let _: &HTMLElement = self.as_parent();
    |                               ^^^^^^^^^^^^^^^^ expected struct `dom::htmlelement::HTMLElement`, found struct `dom::element::Element`
    |
    = note: expected type `&dom::htmlelement::HTMLElement`
               found type `&dom::element::Element`
```

This line number is inside a generated method called `__assert_parent_type`.
As far as I can tell, any case where this lint would error is already caught
by such methods. The lint is therefore redundant and can safely be removed.
2019-09-29 23:11:40 +02:00
bors-servo
25501514bd
Auto merge of #24308 - servo:synful, r=SimonSapin
Update a bunch of stuff to syn 1

This updates a lot of our crates to syn 1. Not all of them, but syn 1 was already in tree so it doesn't matter much either way.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24308)
<!-- Reviewable:end -->
2019-09-27 19:50:29 -04:00
Anthony Ramine
bceecddb64 Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
Anthony Ramine
1b57558d16 Remove explicit dependency on serde_derive 2019-09-27 17:43:37 +02:00
Anthony Ramine
99ef7813f2 Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
Anthony Ramine
2d823d7721 Update a bunch of dependencies to versions using syn 1 2019-09-27 12:08:28 +02:00
Simon Sapin
4369b4b060 Remove use of packed_simd
This crate takes about 40 seconds to build of a fast desktop,
and was used in exactly one place. Additionally, that use was previously
accidentally disabled (a553964123)
and we only noticed more than a year later when the build broke
(d1efad6763).
2019-09-27 07:34:24 +02:00
Simon Sapin
f3fb4460a4 Update to bindgen 0.51 2019-09-25 18:04:34 +02:00
bors-servo
cfc05e1d27
Auto merge of #24259 - paulrouget:updates, r=jdm
webxr and offscreen gl context update

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24259)
<!-- Reviewable:end -->
2019-09-25 10:08:13 -04:00
bors-servo
b68e00069a
Auto merge of #24266 - imiklos:sparkle_update, r=jdm
Update sparkle crate

The following pull requests depend on it: #24250, #24178.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24266)
<!-- Reviewable:end -->
2019-09-24 12:08:28 -04:00
Paul Rouget
1a227eb097 webxr update 2019-09-24 10:31:16 +02:00
Paul Rouget
f08948053f offscreen_gl_context update 2019-09-24 10:31:16 +02:00
Fernando Jiménez Moreno
558dd8b32d Hook up GST_DEBUG log to visual studio output 2019-09-23 16:58:30 +02:00
Istvan Miklos
1c23e54774 Update sparkle crate
The following pull requests depend on it: #24250, #24178.
2019-09-23 16:08:39 +02:00
bors-servo
b3c2bed84b
Auto merge of #24185 - jdm:uwp-native-build, r=asajeffrey
Fix many WACK errors

These changes ensure that all native dependencies are built with the compiler flags that will prevent forbidden API uses. They also incorporate a fork of rand_os that backports UWP support from more recent rand releases. This is necessary in the short term to avoid having to wait for the entire ecosystem to migrate to the most recent rand release.

Depends on https://github.com/servo/mozjs/pull/200 and https://github.com/servo/rust-mozjs/pull/471.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because no windows WACK tests

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24185)
<!-- Reviewable:end -->
2019-09-20 11:22:02 -04:00
Fernando Jiménez Moreno
d7bebce537 Suspend/resume media activity based on document activity 2019-09-19 18:39:36 +02:00
bors-servo
7b653cad7b
Auto merge of #24236 - asajeffrey:mediaup, r=jdm
Update servo-media

<!-- Please describe your changes on the following line: -->

Update the servo-media crate and its dependencies.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because it's updating a dependency

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24236)
<!-- Reviewable:end -->
2019-09-18 20:09:00 -04:00
Alan Jeffrey
0384e150ba Update servo-media 2019-09-18 17:28:34 -05:00
bors-servo
d75b7fd8cb
Auto merge of #24134 - paulrouget:webxr-up, r=jdm
Upgrade webxr

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24134)
<!-- Reviewable:end -->
2019-09-18 10:43:35 -04:00
Paul Rouget
adc6fe7d1e webxr update 2019-09-18 07:31:23 +02:00
pylbrecht
430fad8b13 Update raqote 2019-09-17 11:54:39 +02:00
Josh Matthews
51353c60ff Use fork of rand_os that is UWP compatible. 2019-09-16 13:04:12 -04:00
Josh Matthews
dcbec3e404 Build native dependencies with UWP compatibility. 2019-09-16 13:03:08 -04:00
Josh Matthews
8f7fa5bfc7 Update sparkle for GLES fix. 2019-09-13 15:30:49 -04:00
bors-servo
89d0b0233a
Auto merge of #24176 - jdm:no-gleam, r=asajeffrey
Replace use of gleam in webgl with sparkle.

Rely on https://github.com/servo/sparkle for the GL bindings required to implement Servo's WebGL stack. This does not touch the GL usage in the compositor or webrender, which continue to rely on https://github.com/servo/gleam. This means that any breaking changes to the public GL bindings interface (such as required by https://github.com/servo/servo/pull/24111) only require updating rust-offscreen-rendering-context and rust-webvr, rather than many other crates that are out of our direct control.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24176)
<!-- Reviewable:end -->
2019-09-12 16:08:58 -04:00
Josh Matthews
1cefae7181 Replace use of gleam in webgl with sparkle. 2019-09-11 11:40:04 -04:00
bors-servo
86ad84198e
Auto merge of #24165 - nox:victor, r=SimonSapin
Import victor's layout system 🍷

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24165)
<!-- Reviewable:end -->
2019-09-11 04:39:53 -04:00
Anthony Ramine
4444c5a2ad Import victor's layout system 🍷 2019-09-11 10:36:30 +02:00
Anthony Ramine
d0d4bb7c99 Kill fragments 2019-09-11 10:06:32 +02:00