Commit graph

33989 commits

Author SHA1 Message Date
bors-servo
c8f3abfdbc
Auto merge of #21573 - servo:what-did-you-expect, r=jdm
Classify some timeout failures with bug links

<!-- 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/21573)
<!-- Reviewable:end -->
2018-09-01 11:48:47 -04:00
bors-servo
41a2010ee7
Auto merge of #21567 - kingdido999:master, r=jdm
Format components debugger and deny_public_fields #21373

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

```bash
rustfmt components/debugger/*.rs
rustfmt components/deny_public_fields/*.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/21567)
<!-- Reviewable:end -->
2018-09-01 10:07:05 -04:00
bors-servo
ad865c7156
Auto merge of #21533 - nupurbaghel:current_src, r=jdm
correct currentSrc function

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

---
(recreating PR which got closed earlier https://github.com/servo/servo/pull/21521)
<!-- 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 #__ (github issue number if applicable).

<!-- 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/21533)
<!-- Reviewable:end -->
2018-09-01 09:03:30 -04:00
bors-servo
8f5a9bedbf
Auto merge of #21509 - pyfisch:layout-fmt, r=jdm
Rustfmt layout crate

Part of #21373

<!-- 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/21509)
<!-- Reviewable:end -->
2018-09-01 08:06:34 -04:00
Anthony Ramine
847acba13a Classify some timeout failures with bug links 2018-09-01 13:31:56 +02:00
Pyfisch
349047b096 Rustfmt layout crate 2018-09-01 13:24:57 +02:00
nupurbaghel
b1adf8ee8a correct failing tests 2018-09-01 08:49:50 +00:00
nupurbaghel
d7cb68cb84 correct currentSrc function 2018-09-01 08:49:49 +00:00
bors-servo
9364e36cdc
Auto merge of #21562 - servo:webgl, r=jdm
Update WebGL tests

https://github.com/KhronosGroup/WebGL/pull/2702

<!-- 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/21562)
<!-- Reviewable:end -->
2018-08-31 23:38:59 -04:00
kingdido999
e203cde9be Format components debugger and deny_public_fields #21373 2018-09-01 09:44:53 +08:00
Anthony Ramine
7024c99a86 Update WebGL tests
https://github.com/KhronosGroup/WebGL/pull/2702
2018-09-01 02:39:37 +02:00
bors-servo
577830de90
Auto merge of #21557 - servo:webgl, r=Manishearth
Classify all WebGL test 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/21557)
<!-- Reviewable:end -->
2018-08-31 17:39:10 -04:00
Anthony Ramine
166ee7acbc Set dom.canvas-text.enabled for some WebGL tests 2018-08-31 21:58:06 +02:00
bors-servo
2351872354
Auto merge of #21555 - Manishearth:panner-node-ctor, r=ferjm
Throw errors for invalid values in panner node constructor

This was an oversight in the spec and is being fixed

https://github.com/WebAudio/web-audio-api/issues/1728

r? @ferjm

<!-- 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/21555)
<!-- Reviewable:end -->
2018-08-31 12:25:38 -04:00
bors-servo
ad2c3be117
Auto merge of #21551 - kingdido999:master, r=jdm
Format component compositing #21373

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

```bash
rustfmt components/compositing/*.rs
```

<!-- 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/21551)
<!-- Reviewable:end -->
2018-08-31 10:04:59 -04:00
Anthony Ramine
02bd2630e4 Add some bug links in WebGL 1.0 expectations 2018-08-31 15:29:31 +02:00
Manish Goregaokar
e1131b474c Add tests for options bounds in PannerNode's constructor 2018-08-31 05:32:23 -07:00
Manish Goregaokar
303b62ae8d Throw errors for invalid values in panner node constructor 2018-08-31 05:27:59 -07:00
bors-servo
02b6155a57
Auto merge of #21547 - mathstuf:fedora-pkg-names, r=jdm
Fedora pkg names

Updates for more canonical names of Fedora Python packages in the docs.

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

(Will let CI handle those two right now; working on building Servo for the first time myself at the moment.)

- [X] These changes do not require tests because they only update the `README.md` file

<!-- 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/21547)
<!-- Reviewable:end -->
2018-08-31 08:24:14 -04:00
bors-servo
9a14811494
Auto merge of #21535 - ferjm:appveyor.retry.choco, r=nox
Decrease error rate of chocolatey intermittent issues

This could help with issues like #21389

<!-- 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/21535)
<!-- Reviewable:end -->
2018-08-31 04:54:28 -04:00
kingdido999
e4cd04399e Format component compositing #21373 2018-08-31 08:19:22 +08:00
Ben Boeckel
d567894232 readme: update Fedora package names
Fedora has renamed `python` packages to be `python2` explicitly.
2018-08-30 14:58:19 -04:00
bors-servo
1ee3deea27
Auto merge of #21388 - gterzian:introduce_task_queues, r=jdm
Introduce task queues, and throttling performance timeline tasksource

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #19997 (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/21388)
<!-- Reviewable:end -->
2018-08-30 14:56:26 -04:00
Ben Boeckel
a0cd6f557d readme: remove a trailing whitespace 2018-08-30 14:48:37 -04:00
Gregory Terzian
029715aba6 introduce a generic worker event-loop 2018-08-31 02:10:45 +08:00
Gregory Terzian
ca6306c430 introduce task-queues, and throttling the performance-timeline task-source, in script and worker threads.
queue
2018-08-31 02:10:34 +08:00
bors-servo
6f81ed49f6
Auto merge of #21523 - servo:webgl, r=avadacatavra,jdm
Some more drive-by WebGL fixes and cleanups

<!-- 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/21523)
<!-- Reviewable:end -->
2018-08-30 12:23:31 -04:00
Anthony Ramine
900a19058e Support unions of objects in overloads
Part of #20513, implementing the parts useful for WebGL.
2018-08-30 16:15:40 +02:00
Anthony Ramine
4cf944eab8 Fix gl.isBuffer for buffers that are marked for deletion but still attached 2018-08-30 16:15:39 +02:00
Anthony Ramine
7b673de4d6 Always emit INVALID_OPERATION on null element buffers in drawElements 2018-08-30 16:15:39 +02:00
Anthony Ramine
83e27e4167 Remove WebGLRenderingContext.STENCIL_INDEX 2018-08-30 16:15:38 +02:00
Anthony Ramine
7f9d560f28 Allow binding the null buffer in vertexAttribPointer if offset is 0 2018-08-30 16:15:38 +02:00
Anthony Ramine
0ba66f9f12 Fix the error for invalid arrays passed to gl.vertexAttrib*v() 2018-08-30 16:15:38 +02:00
Anthony Ramine
273aac87e4 Make use of window.onerror in Khronos tests 2018-08-30 16:15:35 +02:00
bors-servo
4dc8bdeb61
Auto merge of #21536 - servo:rustup, r=SimonSapin
Upgrade to rustc 1.30.0-nightly (7061b2775 2018-08-28)

<!-- 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/21536)
<!-- Reviewable:end -->
2018-08-30 10:10:49 -04:00
bors-servo
7c3e70110b
Auto merge of #21540 - AgustinCB:fix-readme-build-instructions, r=jdm
Fix setup instructions for Arch

base-devel contains the last version of autoconf. However, some
dependencies of the project rely on autoconf 2.13. Without this change,
the build fails with the following message:

```
ERROR: Could not find autoconf 2.13

--- stderr
ERROR: Could not find autoconf 2.13
make: *** [makefile.cargo:143: maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', build.rs:110:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they just change documentation on how to build.

<!-- 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/21540)
<!-- Reviewable:end -->
2018-08-30 08:29:21 -04:00
Agustin Chiappe Berrini
6a574b2f56 Fix setup instructions for Arch
base-devel contains the last version of autoconf. However, some
dependencies of the project rely on autoconf 2.13. Without this change,
the build fails with the following message:

```
ERROR: Could not find autoconf 2.13

--- stderr
ERROR: Could not find autoconf 2.13
make: *** [makefile.cargo:143: maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', build.rs:110:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```
2018-08-30 06:50:27 -04:00
bors-servo
05bdc656af
Auto merge of #21538 - kingdido999:master, r=jdm
Format components canvas and canvas_traits #21373

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

```bash
rustfmt components/canvas/**/*.rs
rustfmt components/canvas_traits/**/*.rs
```

<!-- 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/21538)
<!-- Reviewable:end -->
2018-08-30 00:27:34 -04:00
kingdido999
f472d05003 Format components canvas and canvas_traits #21373 2018-08-30 11:24:39 +08:00
Simon Sapin
707df85a82 Upgrade to rustc 1.30.0-nightly (7061b2775 2018-08-28) 2018-08-29 14:53:19 +02:00
bors-servo
2a4bee540c
Auto merge of #21515 - ferjm:gstreamer.windows.pkgconfig, r=nox
Update pkg-config to avoid setting LIBPATH to point to gstreamer deps…

… on Windows

I haven't tested locally, but AppVeyor will tell us if this works.

<!-- 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/21515)
<!-- Reviewable:end -->
2018-08-29 06:49:49 -04:00
Fernando Jiménez Moreno
d935b33abe Decrease error rate of chocolatey intermittent issues 2018-08-29 11:16:48 +02:00
Fernando Jiménez Moreno
c9e529c4fc Update pkg-config to not require LIBPATH to point to gst deps on Windows 2018-08-29 08:49:09 +02:00
bors-servo
8a2d4f3e17
Auto merge of #21532 - fabricedesre:update-x11, r=KiChjang
Update x11-dl to pickup the fix for x11 startup crash

This updates x11-dl to 2.18.3 to get https://github.com/erlepereira/x11-rs/issues/90

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [X] These changes fix #21530 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's fixing a startup crash

<!-- 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/21532)
<!-- Reviewable:end -->
2018-08-29 02:02:45 -04:00
Anthony Ramine
6089e45b7d Make setZeroTimeout use window.setTimeout 2018-08-29 02:05:49 +02:00
Anthony Ramine
cb2f83cf8e Fix Drop assertion for WebGLBuffer
A buffer that is dropped may not have been marked for deletion but it
must not be attached to any VAO.
2018-08-29 02:05:49 +02:00
Anthony Ramine
59b3f0458e Disable many texture-related tests for things we don't support yet 2018-08-29 02:05:49 +02:00
Anthony Ramine
c48d1fa5b7 Disable rapid-resizing.html
The absence of support for preserveDrawingBuffer makes it timeout.
2018-08-28 19:36:26 +02:00
Anthony Ramine
5a8ed02d5c Disable quickCheckAPI-S_V.html
It generates random input which even trips the invalid surrogate panic.
2018-08-28 19:36:26 +02:00
Anthony Ramine
b660c62c9e Delete our Servo-specific WebGL tests
Those test things that are already tested by Khronos tests.
2018-08-28 19:36:25 +02:00