Commit graph

40213 commits

Author SHA1 Message Date
xu3u4
7529591e8f Add onformdata to GlobalEventHandlers 2019-12-07 21:44:36 +09:00
Bastien Orivel
0bdab6bb50 Return a boolean from DOMTokenList::replace to match the spec
Fixes #25129
2019-12-07 13:22:10 +01:00
Simon Sapin
40ad9a722d Use the WritingMode bitflags from Stylo 2019-12-07 12:45:36 +01:00
Simon Sapin
b9adf8b7ac Don’t store computed values of logical properties in style structs
They are not used.
2019-12-07 12:45:36 +01:00
bors-servo
f2b363b3f0
Auto merge of #25185 - asajeffrey:surfmanup, r=paulrouget
Surfman v0.1.2

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

Update surfman to v0.1.2.

---
<!-- 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 #24788
- [x] 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. -->
2019-12-07 06:28:27 -05:00
Anshul Jethvani
a935e00e21 sorting partially done for Step 6 of SupportedPropertyNames 2019-12-06 23:48:06 -05:00
Anshul Jethvani
575f7f5670 partially implemented SupportedPropertyNames 2019-12-06 19:52:10 -05:00
Alan Jeffrey
bd1e4f87b5 Get the servosrc gstreamer plugin to use a GL buffer pool 2019-12-06 17:31:20 -06:00
bors-servo
2d2cd2b7d7
Auto merge of #25048 - asajeffrey:gstplugin-glmemory, r=ferjm
GStreamer plugin should use GLMemory

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

Get the gstreamer servosrc plugin to generate frames in GLMemory rather than main memory.

---
<!-- 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 #24831
- [x] These changes do not require tests because it's an embedding perf issue

<!-- 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. -->
2019-12-06 16:12:42 -05:00
Alan Jeffrey
445ee9b59f Disable gstreamer-in-gstreamer on windows CI 2019-12-06 15:06:57 -06:00
Alan Jeffrey
44db86fefd Add extra debug assertions for WebGL errors 2019-12-06 14:56:46 -06:00
Alan Jeffrey
592a230465 Surfman v0.1.2 2019-12-06 14:44:00 -06:00
Simon Sapin
3811c5935f Install dependencies for the WPT update task
Fix https://github.com/servo/servo/issues/25169
2019-12-06 17:12:33 +01:00
Zakor Gyula
e146e6058a Replace wgpu-native with wgpu-core 2019-12-06 12:49:56 +01:00
bors-servo
cfa50b8222
Auto merge of #25073 - servo:moar, r=jdm
Increase parallelism in macOS WPT testing

… now that remaining dual-core workers have been upgraded to quad-cores.

Also reduces the number of WPT chunks since per-task overhead becomes more siginificant when tasks are becoming shorter.
2019-12-06 04:25:18 -05:00
Paul Rouget
b3b886e837 devtools: save and send cached messages 2019-12-06 10:10:43 +01:00
Anshul Jethvani
159194b0f9 run tidy check and added comments 2019-12-06 01:24:52 -05:00
Anshul Jethvani
16b9efc406 updated past_names_map to save time info 2019-12-06 00:40:43 -05:00
Anshul Jethvani
7b968a3ca8 NamedGetter completed and fixed issues 2019-12-05 19:50:10 -05:00
Simon Sapin
fbc10d0137 Increase parallelism in macOS WPT testing
… now that remaining dual-core workers have been upgraded to quad-cores.

Also reduces the number of WPT chunks since per-task overhead becomes more siginificant when tasks are becoming shorter.
2019-12-06 01:33:39 +01:00
bors-servo
250184fe60
Auto merge of #25117 - servo:wptupdate-linux, r=jdm
Move WPT sync-from-upstream task to Linux

Before this PR, this task keeps one macOS workers busy for many hours every day.
2019-12-05 16:41:04 -05:00
Alan Jeffrey
06a10c5b65 GStreamer plugin should use GLMemory 2019-12-05 13:49:23 -06:00
bors-servo
43b570e4e7
Auto merge of #25116 - servo:unicode-fuuu, r=jdm
Fix Python Unicode error in './mach filter-intermittents'

Fix https://github.com/servo/servo/issues/25062

I’ve reproduced the error on my macbook, and this fixed it.
2019-12-05 14:45:01 -05:00
Anshul Jethvani
50fdae7a8c implemented NamedGetter and other suggestions 2019-12-05 14:43:29 -05:00
bors-servo
bb00a83ec4
Auto merge of #25029 - szeged:wgpu_request_device, r=jdm
Initial implementation of GPUDevice for WebGPU

Added the WebIDL bindigs for GPUDevice, GPUObjectDescriptorBase, GPUDeviceDescriptor, GPUObjectBase
Implemented the `requestDevice` function of `GPUAdapter`

<!-- 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 addresses a part of #24706

cc @jdm, @kvark, @zakorgy

<!-- 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. -->
2019-12-05 13:59:34 -05:00
bors-servo
c90dd15fec
Auto merge of #24927 - ferjm:hololens.mediasession, r=paulrouget
Basic Media Session UI for Hololens

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

This PR implements a extremely basic Media Session UI. The media controls are part of the main window, which is not very nice, but it is what we can do until #24873 is done.
2019-12-05 10:55:01 -05:00
Fernando Jiménez Moreno
58623a6f5b Fix libsimpleservo build after MediaSession C enums change 2019-12-05 16:35:11 +01:00
Simon Sapin
7435f6afa2 Move WPT sync-from-upstream task to Linux 2019-12-05 16:14:33 +01:00
Simon Sapin
7282839cf7 Fix Python Unicode error in './mach filter-intermittents'
Fix https://github.com/servo/servo/issues/25062
2019-12-05 15:48:39 +01:00
Fernando Jimenez Moreno
b01e3fdc7e Introduce CMediaSessionPlaybackState and CMediaSessionActionType 2019-12-05 15:34:34 +01:00
Fernando Jimenez Moreno
d5200ba453 Hololens - Trigger MediaSessionActions for play and pause buttons 2019-12-05 15:20:48 +01:00
Fernando Jimenez Moreno
d633c8b9da Hololens - Show/hide media controls according to playback state 2019-12-05 15:19:18 +01:00
Fernando Jimenez Moreno
c810962d78 Hololens - MediaSession controls UI 2019-12-05 15:19:18 +01:00
Istvan Miklos
b15d2bb7d7 Initial implementation of GPUDevice for WebGPU
Added the WebIDL bindigs for GPUDevice, GPUObjectDescriptorBase, GPUDeviceDescriptor, GPUObjectBase
Implemented the `requestDevice` function of `GPUAdapter`
2019-12-05 11:50:33 +01:00
bors-servo
5cc68f5075
Auto merge of #25114 - CYBAI:fix-no-clippy, r=SimonSapin
Update to rustc 1.41.0-nightly (6d77e45f0 2019-12-04)

This PR is similar to #24749. After #25075 merged, I can't build successfully in my local due to no clippy in that nightly version.

```
→ ./mach build -d
info: syncing channel updates for 'nightly-2019-12-04-x86_64-apple-darwin'
info: latest update on 2019-12-04, rust version 1.41.0-nightly (7afe6d9d1 2019-12-03)
error: component 'clippy' for target 'x86_64-apple-darwin' is unavailable for download for channel nightly-2019-12-04
Build FAILED in 0:00:00
```

---
- [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)
- [x] These changes do not require tests because just updated rustc version.

<!-- 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. -->
2019-12-05 05:17:37 -05:00
CYBAI
6ad0a90e7e Update to rustc 1.41.0-nightly (6d77e45f0 2019-12-04) 2019-12-05 18:01:36 +09:00
bors-servo
05922c380c
Auto merge of #25087 - bblanke:OffscreenCanvasasCanvasImageSoure, r=jdm
Support OffscreenCanvas as CanvasImageSource

Added methods to canvas_data to support drawing an offscreen canvas onto another canvas
Bug fix: Swapped OffscreenCanvas width and height parameters to match Mozilla spec
Tests: Updated metadata for 866 tests

<!-- 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 #24269 (GitHub issue number if applicable)

<!-- Either: -->
- [x] These changes do not require tests because they are covered by existing 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. -->
2019-12-05 01:49:58 -05:00
bors-servo
64bcce2389
Auto merge of #25076 - paulrouget:uwpTouch, r=Manishearth
Properly send TouchEvents to Servo

This PR is based on #24778. It fixes some UWP platform weirdness (click not registering, and non-expected touch move events).
2019-12-04 23:39:56 -05:00
hkshah6
5e67dbda54 Fixed is_listed_element() call and DomRoot child reference 2019-12-04 18:44:57 -05:00
Bailey Blankenship
deae103042 Addresses Issue: Support OffscreenCanvas as CanvasImageSource #24269
Added methods to canvas_data to support drawing an offscreen canvas onto another canvas
Bug fix: Swapped OffscreenCanvas width and height parameters to match Mozilla spec
Tests: Updated metadata for 866 tests
2019-12-04 18:23:28 -05:00
bors-servo
e70397d90a
Auto merge of #25033 - servo:intrinsic, r=nox
Add support for inline-block and for computing min/max-content
2019-12-04 16:23:33 -05:00
bors-servo
951dc2419a
Auto merge of #25031 - servo:2020-images, r=SimonSapin
Implement size extremums
2019-12-04 12:05:41 -05:00
Anthony Ramine
4ebdc39ecd Add some helpers to resolve percentages of box sizes 2019-12-04 17:24:45 +01:00
bors-servo
7e357cf974
Auto merge of #25077 - servo-wpt-sync:wpt_update_04-12-2019, r=servo-wpt-sync
Sync WPT with upstream (04-12-2019)

Automated downstream sync of changes from upstream as of 04-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-12-04 10:52:27 -05:00
Simon Sapin
dd9dfc66e3 Use a new BoxContentSizes enum instead of Option<ContentSizes> 2019-12-04 15:36:05 +01:00
bors-servo
1199631f79
Auto merge of #25075 - servo:rustup, r=nox
Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)
2019-12-04 09:33:16 -05:00
WPT Sync Bot
03e574fd3e Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
Simon Sapin
38e8fd1e99 Replace boolean parameters by a new ContentSizesRequest enum 2019-12-04 15:10:11 +01:00
Paul Rouget
171e826180 Properly send TouchEvents to Servo 2019-12-04 14:24:27 +01:00
Simon Sapin
6763e7e4ae Review nits 2019-12-04 14:22:13 +01:00