Commit graph

34629 commits

Author SHA1 Message Date
Anthony Ramine
a3d8b5d2d3 Fix the error when calling getProgramInfoLog on a deleted program (#20561) 2018-09-20 11:31:54 +02:00
Anthony Ramine
943f95fe47 Remove some misplaced framebuffer validations 2018-09-20 11:31:54 +02:00
bors-servo
819212e3b6
Auto merge of #21751 - nupurbaghel:complete_api, r=jdm
Implement missing steps for complete API

<!-- 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 #21742

<!-- 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/21751)
<!-- Reviewable:end -->
2018-09-20 00:26:06 -04:00
nupurbaghel
7ab5df1106 implement missing steps for complete api 2018-09-20 03:13:32 +00:00
Josh Matthews
f796ff228c Update syncing metadata. 2018-09-19 21:23:37 -04:00
bors-servo
df2adebefd
Auto merge of #21737 - chansuke:format_script, r=jdm
Format script component

---
<!-- 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/21737)
<!-- Reviewable:end -->
2018-09-19 17:47:27 -04:00
chansuke
c37a345dc9 Format script component 2018-09-19 17:40:47 -04:00
bors-servo
2ca7a13473
Auto merge of #21746 - llogiq:update-smallvec, r=emilio
This updates the smallvec crate and enables the union feature

We had a mix of 0.6.2 and 0.6.5 (which is the current release), this unifies to the latest version. It also enables the union feature which removes the discriminant, reducing memory usage.

<!-- 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 #__ (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/21746)
<!-- Reviewable:end -->
2018-09-19 15:44:03 -04:00
bors-servo
8277527874
Auto merge of #21733 - servo-wpt-sync:wpt_update_17-09-2018, r=jdm
Sync WPT with upstream (17-09-2018)

Automated downstream sync of changes from upstream as of 17-09-2018.
[no-wpt-sync]

<!-- 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/21733)
<!-- Reviewable:end -->
2018-09-19 14:47:13 -04:00
bors-servo
b1c6281d3c
Auto merge of #21353 - DanxiongLei:damonlei_fix, r=jdm
fix(webgl): fix issue https://github.com/servo/servo/issues/21352

If we have a bounded framebuffer previously, which is not the one to delete.
we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default).

change it to:

check the id before sending the Command

---

- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix #21352

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because `it's obviously simple.`

<!-- 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/21353)
<!-- Reviewable:end -->
2018-09-19 13:36:24 -04:00
bors-servo
d19ce148b6
Auto merge of #21749 - servo:jdm-patch-25, r=SimonSapin
Pin pycparser to known working version

Attempting to work around CI bustage caused by the release of pycparser 2.19.

<!-- 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/21749)
<!-- Reviewable:end -->
2018-09-19 12:31:08 -04:00
Josh Matthews
3d89713a7b
Upgrade setuptools to a more recent version. 2018-09-19 12:26:01 -04:00
Manish Goregaokar
431ad807d2 Update servo-media 2018-09-19 21:36:52 +05:30
Josh Matthews
289e34cbc0
Try more specific pinning. 2018-09-19 11:59:23 -04:00
Josh Matthews
6c868f53ab
Pin pycparser to known working version 2018-09-19 10:31:25 -04:00
bors-servo
0866dabc42
Auto merge of #21602 - ferjm:audiobuffer.crash, r=Manishearth
Fix all AudioBuffer WPTs

- [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/21602)
<!-- Reviewable:end -->
2018-09-19 04:07:04 -04:00
Fernando Jiménez Moreno
9b356334d5 Update WPT 2018-09-19 09:33:00 +02:00
Fernando Jiménez Moreno
4a927b5b78 Rustfmt audiobuffer.rs 2018-09-19 07:28:12 +02:00
Andre Bogus
34b5d8fbe8 This updates the smallvec crate and enables the union feature
We had a mix of 0.6.2 and 0.6.5 (which is the current release),
this unifies to the latest version. It also enables the union
feature which removes the discriminant, reducing memory usage.
2018-09-19 07:16:30 +02:00
Fernando Jiménez Moreno
138c739205 Keep shared and js channels in sync 2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
346d705c66 Do not skip buffer update during copyToChannel 2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
a81389268a Throw IndexError if start_in_channel is equal to ArrayBuffer length 2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
10e8ab3892 Apply start_in_channel to destination and not source during AudioBuffer.CopyToChannel 2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
e0e1f5f900 Implement AudioBufferSourceOptions.AudioBuffer and always keep servo media audio buffer updated 2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
5307766ed2 Check AudioBuffer options constraints 2018-09-19 06:54:16 +02:00
Fernando Jiménez Moreno
b8ade93538 Throw when trying to copy AudioBuffer data from or to a SharedArrayBuffer 2018-09-19 06:54:16 +02:00
Fernando Jiménez Moreno
e80ac0000f Fix AudioBuffer crash. Do not modify number of channels while moving from shared to js channels 2018-09-19 06:54:16 +02:00
bors-servo
3889041cc6
Auto merge of #21734 - Manishearth:bootstrap-retcode, r=jdm
Return appropriate code from bootstrap_gstreamer

Otherwise it exits with 1

<!-- 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/21734)
<!-- Reviewable:end -->
2018-09-18 20:18:06 -04:00
bors-servo
a02c43dc67
Auto merge of #21712 - Manishearth:analysernode, r=ferjm
Implement AnalyserNode

<s>Needs https://github.com/servo/media/pull/127 to land (and a dependency
update)</s>

r? @ferjm

realtimeanalyser-fft-scaling.html, the test that actually checks for some level of FFT correctness, sadly doesn't work since we don't process nodes not connected to the destination.

However I locally fixed the test to work differently and it passed. We'll fix the processing model eventually.

<!-- 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/21712)
<!-- Reviewable:end -->
2018-09-18 18:59:07 -04:00
bors-servo
97dc06c305
Auto merge of #21741 - Eijebong:deadlocks-should-stay-dead, r=jdm
Try to unlock the global lock in StructuredLogger after reloading log…

…ging

This should finally fix all the websockets related failures we've been
seeing lately.

<!-- 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/21741)
<!-- Reviewable:end -->
2018-09-18 17:28:20 -04:00
Bastien Orivel
c692094225 Try to unlock the global lock in StructuredLogger after reloading logging
This should finally fix all the websockets related failures we've been
seeing lately.
2018-09-18 23:01:07 +02:00
Manish Goregaokar
cc32e12d0a More WPT expectation updates 2018-09-19 00:09:09 +05:30
Simon Sapin
860c827265 Build with sccache, cache the sccache cache 2018-09-18 19:28:34 +02:00
Simon Sapin
e5902fed9b sccache 2018-09-18 19:14:34 +02:00
Simon Sapin
5e08c83387 Single, shorter task for now 2018-09-18 18:58:18 +02:00
bors-servo
8a1751c2aa
Auto merge of #21738 - servo:jdm-patch-24, r=SimonSapin
Merge android-x86 tests into one step.

This should address some of the bleeding caused by #21736.

<!-- 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/21738)
<!-- Reviewable:end -->
2018-09-18 12:33:19 -04:00
Simon Sapin
e217d66c02 Full Servo 2018-09-18 17:19:17 +02:00
Josh Matthews
56ddf863ad
Merge android-x86 tests into one step. 2018-09-18 11:14:54 -04:00
bors-servo
82e94e3b67
Auto merge of #21723 - servo:webgl, r=jdm
More drive-by WebGL and canvas fixes

<!-- 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/21723)
<!-- Reviewable:end -->
2018-09-18 11:06:51 -04:00
Simon Sapin
42bb1d756b YAML aliases 2018-09-18 16:07:24 +02:00
Simon Sapin
eb1c798a98 Only fetch the relevant git ref 2018-09-18 16:07:24 +02:00
Manish Goregaokar
e9be179952 Set default channel count for AnalyserNode to 2
This was deliberately changed
(https://github.com/WebAudio/web-audio-api/pull/1397 ) but the tests
have not been updated
2018-09-18 18:18:36 +05:30
Manish Goregaokar
f3efd14975 Update interfaces.html 2018-09-18 18:18:36 +05:30
Manish Goregaokar
ed12e8dc49 Update WPT expectations 2018-09-18 18:18:36 +05:30
Manish Goregaokar
9dfc57878e Add createAnalyser 2018-09-18 18:18:36 +05:30
Manish Goregaokar
aa2ccb38ca Update WPT expectations 2018-09-18 18:18:36 +05:30
Manish Goregaokar
18b9ad9e5c AnalyserNode in script 2018-09-18 18:18:36 +05:30
Manish Goregaokar
a29a54616d Update servo-media 2018-09-18 18:18:35 +05:30
Manish Goregaokar
df5c31bada Return appropriate code from bootstrap_gstreamer 2018-09-18 18:14:37 +05:30
bors-servo
bdf450336e
Auto merge of #21735 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- 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/21735)
<!-- Reviewable:end -->
2018-09-18 06:02:00 -04:00