Commit graph

41771 commits

Author SHA1 Message Date
CYBAI
99a8ea26a1 Update checking origin trustworthy align to spec 2020-04-13 10:23:00 +09:00
Sean Stangl
3ba621e764 Add 'python3-devel' to the DNF bootstrap packages list
Bootstrapping on Fedora 31 fails with a missing <Python.h> header.
That header is provided by the 'python3-devel' package.
2020-04-12 13:47:01 -06:00
bors-servo
3abbfdf278
Auto merge of #26170 - Manishearth:enum-convertible, r=asajeffrey
Add FromJSValConvertible for enums

Fixes https://github.com/servo/servo/issues/26169

This adds FromJSValConvertible implementations for webidl enums, which allows them to be used within `sequence<>`, etc.

This also uses these implementations when converting arguments.
2020-04-12 11:47:43 -04:00
bors-servo
4bd4472e9d
Auto merge of #26173 - servo-wpt-sync:wpt_update_12-04-2020, r=servo-wpt-sync
Sync WPT with upstream (12-04-2020)

Automated downstream sync of changes from upstream as of 12-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-12 08:17:27 -04:00
WPT Sync Bot
e854d6a62a Update web-platform-tests to revision 1461434ba9b333a8f4ee0c9acfe9884ac5fbe112 2020-04-12 11:06:54 +00:00
bors-servo
32ca37d460
Auto merge of #26172 - servo-wpt-sync:wpt_update_11-04-2020, r=servo-wpt-sync
Sync WPT with upstream (11-04-2020)

Automated downstream sync of changes from upstream as of 11-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-11 11:12:38 -04:00
WPT Sync Bot
ce631f7691 Update web-platform-tests to revision cf719a4f5e4affb623044004bcc8a61be7b94404 2020-04-11 10:59:00 +00:00
Manish Goregaokar
242b7f8fdc Use FromJSValConvertible impls when converting arguments 2020-04-11 00:15:43 -07:00
Manish Goregaokar
10a13ffa20 Implement FromJSValConvertible on enums 2020-04-11 00:15:43 -07:00
Utsav Oza
bd8fbee12c Resolve mach build warnings 2020-04-10 23:02:31 +05:30
Utsav Oza
d98ade2a68 Remove DomRefCell wrapper for canvas_state from CanvasRenderingContext2D 2020-04-10 23:02:30 +05:30
Utsav Oza
4a730d1cd2 Remove DomRefCell wrapper for canvas_state from OffscreenCanvasRenderingContext2D 2020-04-10 23:02:30 +05:30
bors-servo
06803a2edb
Auto merge of #26165 - servo-wpt-sync:wpt_update_10-04-2020, r=servo-wpt-sync
Sync WPT with upstream (10-04-2020)

Automated downstream sync of changes from upstream as of 10-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-10 07:05:53 -04:00
WPT Sync Bot
970a34bb8e Update web-platform-tests to revision ea9dc9c56d87f0b84f3d4e95c92fc796a4d6751f 2020-04-10 11:05:40 +00:00
bors-servo
e43cadbc32
Auto merge of #26163 - dralley:remove-assertion, r=jdm
Remove assertion for negative value from get_uniform_location

closes #26150

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26150 (GitHub issue number if applicable)
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
2020-04-10 05:11:15 -04:00
Manish Goregaokar
d146303f1d Dirty canvas when exiting immersive sessions 2020-04-09 22:25:27 -07:00
bors-servo
9fd668488e
Auto merge of #26071 - servo:rustup, r=nox
Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07)

~Blocked on https://github.com/rust-lang/rust/issues/70280~
2020-04-10 00:37:54 -04:00
Daniel Alley
865b538115 Remove assertion for negative value from get_uniform_location
closes #26150
2020-04-09 22:25:57 -04:00
bors-servo
455a99ca8d
Auto merge of #26154 - Manishearth:platform-object-overload, r=jdm
Do not filter out platform objects when doing dictionary conversions in overload resolution

https://heycam.github.io/webidl/#es-overloads

In step 12, the platform object check is for substep 4, but importantly it only matters if `V` implements the matching interface. If not, it should be able to fall back to substep 10 and attempt conversion to a dictionary.
2020-04-09 17:39:10 -04:00
Simon Sapin
1c0549ce7f Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07) 2020-04-09 21:33:44 +02:00
Manish Goregaokar
58bab8a7e9 Add test for overloading with interface and dict 2020-04-09 12:31:13 -07:00
bors-servo
bc10c60710
Auto merge of #26155 - atouchet:ua, r=jdm
Update user agent strings

<!-- Please describe your changes on the following line: -->
Loading github.com in the latest nightlies gives an error about using an unsupported browser: https://help.github.com/articles/supported-browsers

This updates the Firefox version in the user agent string to see if it improves things.

---
<!-- 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. -->
2020-04-09 12:17:53 -04:00
bors-servo
5db25836a4
Auto merge of #26156 - servo-wpt-sync:wpt_update_09-04-2020, r=servo-wpt-sync
Sync WPT with upstream (09-04-2020)

Automated downstream sync of changes from upstream as of 09-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-09 09:55:07 -04:00
WPT Sync Bot
17d194dd89 Update web-platform-tests to revision 6838f7e5fbddf9c77a93b0e8cd2e27c0fcfed86f 2020-04-09 11:02:30 +00:00
Alex Touchet
ba0d5cba9d
Update user agent strings 2020-04-08 23:58:46 -07:00
Manish Goregaokar
c24481ab9c Do not filter out platform objects when doing dictionary conversions
https://heycam.github.io/webidl/#es-overloads

In step 12, the platform object check is for substep 4, but importantly it only matters if `V` implements the matching interface. If not, it should be able to fall back to substep 10 and attempt conversion to a dictionary.
2020-04-08 23:15:57 -07:00
bors-servo
37023b24f2
Auto merge of #26136 - asajeffrey:goodbye-webvr, r=Manishearth
Remove WebVR

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

Removes support for WebVR. WebXR is our future!

---
<!-- 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 how do you test

<!-- 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. -->
2020-04-08 23:02:50 -04:00
Alan Jeffrey
c611e46381 Remove WebVR 2020-04-08 20:23:41 -05:00
bors-servo
e691e42d58
Auto merge of #26152 - jdm:babylonfix, r=Manishearth
Fix missing Babylon.js content

Since the surfman upgrade work already merged to master on webxr, and this fix for Babylon.js content is extremely urgent, this change puts us temporarily on a branch that doesn't include the surfman upgrade.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26149
- [x] These changes do not require tests because there are no tests for the openxr backend.
2020-04-08 18:34:04 -04:00
Josh Matthews
a6323070d5 Update webxr to a branch that includes a fix for #26149. 2020-04-08 18:33:13 -04:00
bors-servo
5e91e48293
Auto merge of #26146 - jdm:xr-webgl2, r=Manishearth
Support WebGL2 contexts in immersive mode

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26138
2020-04-08 16:30:55 -04:00
bors-servo
e1dd0d9bca
Auto merge of #26140 - servo-wpt-sync:wpt_update_08-04-2020, r=jdm
Sync WPT with upstream (08-04-2020)

Automated downstream sync of changes from upstream as of 08-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-08 13:24:56 -04:00
Josh Matthews
16d67b1283 webgl: Avoid GL errors with LineWidth commands. 2020-04-08 12:54:12 -04:00
Josh Matthews
c002a29582 Support WebGL2 contexts in XRWebGLLayer. 2020-04-08 12:52:01 -04:00
Josh Matthews
9673091d7a webgl: Only error when beginning transform feedback on programs that have no varying values. 2020-04-08 12:43:11 -04:00
bors-servo
2128bf1e05
Auto merge of #26141 - paulrouget:cleanuwp, r=jdm
implement mach clean-uwp

Often it's necessary to cleanup the Visual Studio artifacts only. This makes it possible.
2020-04-08 12:10:15 -04:00
Josh Matthews
7dc59b9d76
Remove layout-2020 failure. 2020-04-08 10:21:34 -04:00
Simon Sapin
4227425c1e Remove the lint added in https://github.com/servo/servo/pull/14589
Per https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a8a5a716b3bdf52fa7960a1e4ee89add
it looks like the drop order of temporaries was changed at some point and this pattern is no longer problematic.
2020-04-08 15:59:17 +02:00
bors-servo
8912bdbc9d
Auto merge of #26133 - dralley:fix-motionmark, r=jdm
Update raqote

re: https://github.com/jrmuizel/raqote/issues/125
2020-04-08 09:07:37 -04:00
Simon Sapin
651b087155 Upgrade to rustc 1.44.0-nightly (211365947 2020-03-30) 2020-04-08 14:42:45 +02:00
Paul Rouget
3efa840674 implement mach clean-uwp 2020-04-08 13:18:42 +02:00
WPT Sync Bot
19a2b8047d Update web-platform-tests to revision 30a08266e1951b16ab2587068de64041095bbc2f 2020-04-08 10:50:40 +00:00
Daniel Alley
376155b58e Update raqote 2020-04-07 23:08:42 -04:00
bors-servo
7b5ec99d25
Auto merge of #26135 - jdm:vertex_attrib_i4, r=jdm
Add initial support for VertexAttribI4* and VertexAttribIPointer

Add initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26134 and fix #26123.
- [x] There are tests for these changes
2020-04-07 17:24:35 -04:00
Josh Matthews
66b2b3293d webgl: Fix active uniform block length check. 2020-04-07 16:16:05 -04:00
Istvan
62f00df79d Add initial support for VertexAttribI4*, VertexAttribIPointer
Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
2020-04-07 15:01:39 -04:00
bors-servo
5a26190fc9
Auto merge of #26131 - servo-wpt-sync:wpt_update_07-04-2020, r=servo-wpt-sync
Sync WPT with upstream (07-04-2020)

Automated downstream sync of changes from upstream as of 07-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-07 12:52:44 -04:00
bors-servo
2002f490ef
Auto merge of #26130 - Manishearth:euclidup, r=nox
Update euclid

r? @nox @jdm
2020-04-07 11:51:38 -04:00
Manish Goregaokar
fccfff11c5 Update euclid 2020-04-07 08:51:08 -07:00
bors-servo
d8781c1054
Auto merge of #26120 - servo:layout-2020-non-opaque-style-data, r=SimonSapin
Remove postorder traversal from layout 2020 during styling
2020-04-07 10:38:16 -04:00