Commit graph

34346 commits

Author SHA1 Message Date
Jonathan Kew
5c66290142
style: Use nsAtom instead of nsString for FontFamilyName.
Bug: 1490997
Reviewed-by: lsalzman
2018-09-22 17:52:38 +02:00
bors-servo
cc53ec805d
Auto merge of #21781 - servo:jdm-patch-31, r=nox
webgl: Restore active texture if it's changed while deleting a texture.

<!-- 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/21781)
<!-- Reviewable:end -->
2018-09-22 06:34:20 -04:00
Josh Matthews
46f4b18722
webgl: Restore active texture if it's changed while deleting a texture. 2018-09-21 15:22:12 -04:00
bors-servo
34385d90aa
Auto merge of #21775 - jdm:azureup, r=ferjm
Update azure.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21758
- [x] These changes do not require tests because we don't run canvas tests on android yet.

<!-- 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/21775)
<!-- Reviewable:end -->
2018-09-21 12:33:19 -04:00
Josh Matthews
04f5b08f3b Update azure. 2018-09-21 11:01:48 -04:00
bors-servo
2671a1c064
Auto merge of #21771 - sumit0190:profile_receiver, r=jdm
Add support for IpcBytesReceiver in profile_traits::ipc - #21704

<!-- Please describe your changes on the following line: -->
Added support for IpcBytesReceiver in profile_trails::ipc. Added a new test-point that exercises bytes_channel().

---
<!-- 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 #21704 (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/21771)
<!-- Reviewable:end -->
2018-09-21 08:52:01 -04:00
bors-servo
f313847b6b
Auto merge of #21767 - jdm:androidlog, r=paulrouget
Enable use of RUST_LOG with mach run --android.

This allows running `RUST_LOG=layout_thread ./mach run --android` and seeing the appropriate logging output appear in `./adb logcat`.

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

<!-- 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/21767)
<!-- Reviewable:end -->
2018-09-21 06:18:58 -04:00
bors-servo
1f041bebfb
Auto merge of #21772 - servo-wpt-sync:wpt_update_20-09-2018, r=jdm
Sync WPT with upstream (20-09-2018)

Automated downstream sync of changes from upstream as of 20-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/21772)
<!-- Reviewable:end -->
2018-09-20 22:51:30 -04:00
WPT Sync Bot
8ea5658199 Update web-platform-tests to revision 50ff4f970fd8592a9f436d4e86e7d572de143260 2018-09-20 22:44:37 -04:00
sumit0190
3e8f7fcefd Add support for IpcBytesReceiver in profile_traits::ipc - #21704 2018-09-20 21:36:34 -04:00
bors-servo
82bbf3ad45
Auto merge of #21769 - servo:jdm-patch-28, r=asajeffrey
Remove unnecessary sysroot and platform configuration from build script.

All of the proper compiler arguments and paths are set up by mach ahead of time, so there should be no need to duplicate any of that logic in the build script.

---
- [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/21769)
<!-- Reviewable:end -->
2018-09-20 19:21:55 -04:00
bors-servo
fc0c191246
Auto merge of #21680 - paavininanda:relevant_mut, r=jdm
Adding all the relevant mutations

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

<!-- 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/21680)
<!-- Reviewable:end -->
2018-09-20 18:16:55 -04:00
bors-servo
f11caf381f
Auto merge of #21766 - servo:jdm-patch-27, r=SimonSapin
Do not suppress errors from packaging android build.

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

<!-- 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/21766)
<!-- Reviewable:end -->
2018-09-20 17:00:47 -04:00
Josh Matthews
9d52fb88ab
Remove unnecessary sysroot and platform configuration from build script. 2018-09-20 15:42:04 -04:00
bors-servo
302e2cf5a4
Auto merge of #21647 - AgustinCB:fix-space-leak-when-pipeline-is-closed, r=asajeffrey
Fix space leak when pipeline is closed

Add a new control message to drop remove worklets.

Implement `Drop` for `Worklet` and get the worklet thread pool. Use that
pool to send `ExitWorklet` to all the threads with the id of the
`Worklet` that it's dropping.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17442
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I don't know how to add a test for this :(

If you consider this needs a test, could you point me out on how to write (and run!) one in this project? I gave this a couple tries, but I wasn't very successful.

<!-- 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/21647)
<!-- Reviewable:end -->
2018-09-20 15:35:19 -04:00
paavininanda
3f24d67928 Adding relevant mutations and new test results 2018-09-20 23:59:31 +05:30
Josh Matthews
f7516f57a7 Enable use of RUST_LOG with mach run --android. 2018-09-20 14:14:41 -04:00
Josh Matthews
eb9e408396
Do not suppress errors from packaging android build. 2018-09-20 14:12:37 -04:00
bors-servo
ac331c6663
Auto merge of #21750 - Manishearth:biquad, r=ferjm
Implement BiquadFilterNode

A bunch of tests still fail but some of it may be a timing issue, looking at it the tests are *at least* affected by https://github.com/servo/servo/issues/21659 (changing how they work to avoid problems from that does not make them pass but does change the exact value of the error), so I feel like I should fix that first before investigating these.

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/21750)
<!-- Reviewable:end -->
2018-09-20 11:01:53 -04:00
Manish Goregaokar
daf85918e3 Fix GainNode constructor for gain audioparam 2018-09-20 20:23:29 +05:30
Manish Goregaokar
bb61487d8f Add createBiquadFilter() 2018-09-20 20:23:29 +05:30
Manish Goregaokar
1be41686d3 Implement BiquadFilterNode 2018-09-20 20:23:29 +05:30
bors-servo
a6dbfdd29f
Auto merge of #21752 - jdm:tmpmeta, r=jdm
Update syncing metadata.

This makes the manual upstream syncing process a bit 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/21752)
<!-- Reviewable:end -->
2018-09-20 10:05:41 -04:00
bors-servo
ee1e11fbce
Auto merge of #21755 - servo:webgl, r=jdm
Validate GLSL names (fixes #21287)

<!-- 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/21755)
<!-- Reviewable:end -->
2018-09-20 09:01:28 -04:00
Anthony Ramine
60c93cfabe Validate GLSL names (fixes #21287) 2018-09-20 15:00:47 +02:00
bors-servo
d60b14bed5
Auto merge of #21747 - servo:webgl, r=jdm
A couple of WebGL changes before lunch time

<!-- 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/21747)
<!-- Reviewable:end -->
2018-09-20 05:33:08 -04:00
Anthony Ramine
aeaf895a05 Add some bug links 2018-09-20 11:31:55 +02:00
Anthony Ramine
2662739ee5 Update WebGL tests 2018-09-20 11:31:55 +02:00
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