Commit graph

34180 commits

Author SHA1 Message Date
bors-servo
26745b2741
Auto merge of #21461 - jdm:webgltmp2, r=nox
Various webgl fixes for framebuffer attachment test

These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing.

---
- [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 OR
- [x] Fixes #13710. Fixes #20570.

<!-- 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/21461)
<!-- Reviewable:end -->
2018-09-12 16:36:08 -04:00
bors-servo
910cc23a6e
Auto merge of #21325 - gterzian:crossbeam_integration, r=SimonSapin,jdm
Replace mpsc with crossbeam-channel

Follow up on https://github.com/servo/servo/pull/19515

---

Selecting over multiple channels in `std::sync::mpsc` is not stable and likely never will be:

https://github.com/rust-lang/rust/issues/27800#issuecomment-260136777
> It seems the only thing keeping `mpsc_select` around is Servo.

crossbeam-channel is designed specifically to replace `std::sync::mpsc` and fix many of its shortcomings:
https://github.com/stjepang/rfcs-crossbeam/blob/channel/text/2017-11-09-channel.md

This is to be landed together with https://github.com/servo/ipc-channel/pull/183.

<!-- 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/21325)
<!-- Reviewable:end -->
2018-09-12 13:33:45 -04:00
bors-servo
9a83ab6297
Auto merge of #21280 - paavininanda:Update_the_image_data, r=jdm
Reacting to environment changes

<!-- 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
- [x] These changes fix a subset of #11416

<!-- Either: -->
- [x] These changes do not require tests because they will be added when the complete responsive images is complete

<!-- 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/21280)
<!-- Reviewable:end -->
2018-09-12 10:47:13 -04:00
bors-servo
29ba51016b
Auto merge of #21686 - AnshulMalik:format-remutex, r=jdm
format components/remutex

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- 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/21686)
<!-- Reviewable:end -->
2018-09-12 09:41:42 -04:00
bors-servo
16e6bdce6e
Auto merge of #21685 - AnshulMalik:format-range, r=jdm
format components/range using rustfmt

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- 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/21685)
<!-- Reviewable:end -->
2018-09-12 08:14:58 -04:00
bors-servo
4c4c2515a2
Auto merge of #21545 - ferjm:windows.nightly.gst.fix, r=Manishearth
Fix Windows nightly build

<!-- 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/21545)
<!-- Reviewable:end -->
2018-09-12 03:42:19 -04:00
Anshul Malik
e68c938b99 format components/remutex 2018-09-12 12:37:11 +05:30
Anshul Malik
3dc2d31f88 format components/range using rustfmt 2018-09-12 12:32:31 +05:30
bors-servo
8c3b192466
Auto merge of #21672 - kingdido999:master, r=jdm
Format components metrics and msg #21373

```bash
rustfmt components/metrics/lib.rs
rustfmt components/msg/*.rs
rustfmt components/msg/tests/*.rs
```

<!-- 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/21672)
<!-- Reviewable:end -->
2018-09-12 01:52:08 -04:00
Simon Sapin
2a996fbc8f Replace mpsc with crossbeam/servo channel, update ipc-channel
Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
2018-09-12 13:33:32 +08:00
Fernando Jiménez Moreno
3c5c01a109 Move gstreamer msi to msi folder after download 2018-09-12 07:18:52 +02:00
bors-servo
babed6c3c1
Auto merge of #21586 - Manishearth:gstreamer-bootstrap, r=jdm
Make bootstrap handle linux setup, include gstreamer, make bootstrap run standalone

Previously `./mach bootstrap` wasn't very useful on Linux, it would just install salt. This PR moves that to `./mach bootstrap-salt`, and has `./mach bootstrap` perform the installation steps mentioned in the README.

With these changes `./mach bootstrap` is a valid way of setting up the servo build. Additionally, this adds gstreamer setup to this for cases where gstreamer is not up to date.

Edit: And now, mach bootstrap is able to be run on a fresh system with just python installed (no need for virtualenv or libffi).

Fixes https://github.com/servo/servo/issues/21446 , fixes https://github.com/servo/servo/issues/21417

r? @jdm

<!-- 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/21586)
<!-- Reviewable:end -->
2018-09-12 00:56:29 -04:00
Gregory Terzian
b977b4994c add servo_channel crate 2018-09-12 11:25:45 +08:00
bors-servo
d3dcfd1131
Auto merge of #21679 - AnshulMalik:format-selectors, r=jdm
format components/selectors

Format with `rustfmt components/selectors/*.rs`
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- 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/21679)
<!-- Reviewable:end -->
2018-09-11 23:24:25 -04:00
bors-servo
704f7a06b1
Auto merge of #21681 - mbrubeck:deps, r=KiChjang
Switch from new-ordered-float back to ordered-float

The `new-ordered-float` fork has been merged back into the original `ordered-float` crate.

<!-- 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/21681)
<!-- Reviewable:end -->
2018-09-11 21:53:39 -04:00
bors-servo
030d797e33
Auto merge of #21676 - chansuke:format_ports_servo, r=jdm
Format ports/servo

<!-- Please describe your changes on the following line: -->
Format `ports/servo` with:

`rustfmt ports/servo/*.rs`

---
<!-- 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
- [ ] These changes fix part of #23137.
- [x] These changes do not require tests because they format the code only.

<!-- 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/21676)
<!-- Reviewable:end -->
2018-09-11 20:30:52 -04:00
bors-servo
b0f1805c9d
Auto merge of #21668 - jdm:wasm-tests, r=KiChjang
Enable wasm tests.

Now that we support WASM, we should avoid regressing that existing support and get a better idea about the pieces we're still missing.

---
- [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/21668)
<!-- Reviewable:end -->
2018-09-11 16:48:18 -04:00
paavininanda
2de300d49c Reacting to environment changes 2018-09-12 02:11:13 +05:30
Anshul Malik
a28c642fc7 format components/selectors 2018-09-12 00:24:20 +05:30
bors-servo
9667298d29
Auto merge of #21528 - atouchet:tidy, r=jdm
Remove unused crates from servo-tidy

<!-- Please describe your changes on the following line: -->
Some of the crates listed in servo-tidy no longer appear to be used. Is it safe to remove these?

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

<!-- 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/21528)
<!-- Reviewable:end -->
2018-09-11 13:16:27 -04:00
Matt Brubeck
a77d05538b Switch from new-ordered-float back to ordered-float
The `new-ordered-float` fork has been merged back into the original
`ordered-float` crate.
2018-09-11 09:59:01 -07:00
Manish Goregaokar
2cc4e1dcdc mach package should work on android 2018-09-11 22:14:31 +05:30
Alex Touchet
025b5550fc
Merge branch 'master' into tidy 2018-09-11 09:06:42 -07:00
Manish Goregaokar
5d6701179c Bypass gstreamer check for test-wpt-android 2018-09-11 21:26:58 +05:30
Fernando Jiménez Moreno
8416061341 Make tidy happy 2018-09-11 17:51:46 +02:00
Fernando Jiménez Moreno
a56dc489d5 Package generated nspr4.dll 2018-09-11 17:44:10 +02:00
Fernando Jiménez Moreno
c3ed1d11c0 Create bundle with GStreamer and Servo installers 2018-09-11 17:43:31 +02:00
Manish Goregaokar
0e252a179f ./mach package should respect target argument 2018-09-11 19:41:44 +05:30
Manish Goregaokar
4d7d63ea95 Hande systems without pkg-config 2018-09-11 19:34:38 +05:30
Manish Goregaokar
a380c5fd6e Don't try to load gstreamer on non-x86 2018-09-11 19:34:38 +05:30
Manish Goregaokar
d3ece2bc49 Review fixes 2018-09-11 19:34:38 +05:30
Manish Goregaokar
f270f3798d Comment on ./mach bootstrap 2018-09-11 19:34:38 +05:30
Manish Goregaokar
fc322182c4 Don't even try installing gstreamer on trusty 2018-09-11 19:34:38 +05:30
Manish Goregaokar
a2344b326f Additional fixes for compiling on trusty 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6de148a7e5 Have bootstrap script install trusty g++/clang deps 2018-09-11 19:34:38 +05:30
Manish Goregaokar
10970be612 Note that trusty needs some extra deps 2018-09-11 19:34:38 +05:30
Manish Goregaokar
e72e08ea9c Allow bootstrap to be run before anything else is installed 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6b75aa47cb Properly handle virtualenv 2018-09-11 19:34:38 +05:30
Manish Goregaokar
fcc06b5a16 Better error reporting for missing gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
36797801e9 Allow WPT to be run with local gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
eba68a1a49 Add mach bootstrap-gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
1913ac706c Make ./mach bootstrap into a full-fledged linux dependency installer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
11209c9fee Add gstreamer setup script; use 2018-09-11 19:34:38 +05:30
chansuke
bde84aed22 Format ports/servo 2018-09-11 23:00:41 +09:00
bors-servo
91ce5d805c
Auto merge of #21675 - chansuke:format_libsimpleservo, r=jdm
Format ports/libsimpleservo

<!-- Please describe your changes on the following line: -->
Format `ports/libsimpleservo` with:

`rustfmt ports/libsimpleservo/*.rs`

---
<!-- 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
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format code only.

<!-- 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/21675)
<!-- Reviewable:end -->
2018-09-11 09:56:11 -04:00
chansuke
0f90d985ac Format ports/libsimpleservo 2018-09-11 22:31:56 +09:00
bors-servo
049eb6887e
Auto merge of #21539 - ferjm:multichannel.audio.decoder, r=Manishearth
Add support for multichannel decoded audio

- [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/21539)
<!-- Reviewable:end -->
2018-09-11 08:41:25 -04:00
Fernando Jiménez Moreno
079b242657 Update WPT 2018-09-11 13:52:49 +02:00
Fernando Jiménez Moreno
7a09477d64 Add tidy exceptions for crossbeam-* 2018-09-11 11:49:35 +02:00
Fernando Jiménez Moreno
f423ede07f Add support for multichannel decoded audio 2018-09-11 10:38:56 +02:00