Commit graph

39601 commits

Author SHA1 Message Date
marmeladema
00cf7452ef Generate per python version virtualenv 2019-12-09 19:31:45 +00:00
bors-servo
daf7138f36
Auto merge of #25139 - asajeffrey:gstplugin-glmemory-bufferpool, r=Manishearth
Use a glmemory bufferpool

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

This ensures the gstreamer plugin is always using GLMemory.

---
<!-- 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 #25121
- [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-09 12:24:18 -05:00
bors-servo
e8d677ad26
Auto merge of #25158 - jdm:wr-spatial-panic, r=SimonSapin
Fix "Tried to use SpatialId before it was defined" layout panic

In the case where an element uses `text-overflow: ellipsis` and causes overflow, we create a TruncatedFragment that wraps the original overflowing fragment. When collecting stacking contexts for the truncated fragment, https://github.com/servo/servo/pull/18510 addressed the case where the wrapped fragment wouldn't be processed, but neglected the case where that fragment ends up creating a new stacking context. When that happens, the TruncatedFragment would be stuck with the updated scrolling/clipping information based on the new stacking context, but it would be a child of the parent stacking context. Since the new scrolling/clipping nodes do not exist in the display list until the new stacking context display item is created, this led to the observed panic.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24895 and fix #19281 and fix #22826.
- [x] There are tests for these changes
2019-12-09 08:23:10 -05:00
Josh Matthews
6dad51f570 layout: Ensure truncated fragment is updated with results of collecting inner fragment's stacking contexts. 2019-12-09 09:57:48 +01:00
bors-servo
013bb662cb
Auto merge of #25035 - szeged:wgpu-core, r=jdm
Replace wgpu-native with wgpu-core

<!-- Please describe your changes on the following line: -->
This addresses `1` form https://github.com/servo/servo/issues/24706#issuecomment-557891841.
cc @jdm @kvark @imiklos

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

<!-- 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/25035)
<!-- Reviewable:end -->
2019-12-08 14:38:40 -05:00
bors-servo
136366bf64
Auto merge of #25161 - paulrouget:cachedMsgs, r=jdm
devtools: save and send cached messages

@jdm the only real difference between your original patch and this PR is the removal of the `GetCachedMessages` messages that are not necessary anymore now that we directly send the message to the devtools.

---
<!-- 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 #13161 (GitHub issue number if applicable)
2019-12-08 12:12:40 -05: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
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
592a230465 Surfman v0.1.2 2019-12-06 14:44:00 -06: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
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
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
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
bors-servo
9bda0ef8e6
Auto merge of #25074 - paulrouget:toolbar, r=jdm
Home button and larger buttons in toolbar

Add a Home button. And buttons are easier to click.
2019-12-04 08:16:07 -05:00
Simon Sapin
607df04849 Replace a large tuple return type with a new struct 2019-12-04 13:56:42 +01:00
Simon Sapin
038f83fbc5 Replace a pair of macros by methods 2019-12-04 13:47:59 +01:00
Simon Sapin
01034b10e1 Use Sides::inline_sum method 2019-12-04 13:47:13 +01:00
Simon Sapin
77d2c45991 Fix incorrect variable name
This was not the specified value
2019-12-04 13:37:20 +01:00
Simon Sapin
4cbbb625d0 Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03) 2019-12-04 12:29:17 +01:00
Anthony Ramine
48ceb56339 Implement size extremums 2019-12-04 10:32:58 +01:00