Commit graph

39231 commits

Author SHA1 Message Date
Simon Sapin
00151b6a6f Fix sccache failure when rustc generates hundreds of thousands of warnings
Fixes https://github.com/servo/servo/issues/24714
2019-11-12 17:46:21 +01:00
Simon Sapin
56dd10c2ee Revert "Upload uncompressed Docker images"
https://bugzilla.mozilla.org/show_bug.cgi?id=1593543 is fixed.

This reverts commit 5abb013dfd.
2019-11-12 14:18:52 +01:00
Simon Sapin
b7389a9637 Make ./mach rustup install the rustc-dev component 2019-11-12 13:57:46 +01:00
bors-servo
944c1e9f97
Auto merge of #24653 - ridhimrastogi:async-web-assembly-compilation-initial-2, r=jdm
Add consume stream callback

<!-- Please describe your changes on the following line: -->
Added the consume stream callback function as per the steps mentioned [here](https://webassembly.github.io/spec/web-api/index.html#compile-a-potential-webassembly-response)

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

<!-- 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-11-12 04:07:49 -05:00
bors-servo
31ee5fc2f5
Auto merge of #24676 - Manishearth:unpatch, r=jdm
Remove patched webxr

Unsure if this compiles yet, testing locally.

r? @jdm
2019-11-11 19:25:22 -05:00
Ridhim Rastogi
563961826f Add consume stream callback 2019-11-11 16:48:52 -05:00
Manish Goregaokar
2436bd195a Update surfman to use Git version 2019-11-11 12:29:05 -08:00
bors-servo
905f714bb4
Auto merge of #24524 - bblanke:consolidate-size-helpers, r=jdm
Make offscreen canvas rendering context use offscreen canvas' size; Consolidate size helpers

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

Addresses issues raised in the review of PR #24518 and includes changes to 17 tests' metadata for those that now PASS.

Contains fixes in PR #24518:

Updated the offscreen canvas rendering context to use the offscreen canvas' size. This involved upgrading several methods to accept u64 sizes.

Additionally, the code in OffscreenCanvas::SetWidth() and OffscreenCanvas::SetHeight() was updated to send CanvasMsg::Recreate to the canvas paint thread.

---
<!-- 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 #24465 and fix #24536

<!-- Either: -->
- [X] There are tests for these changes – 17 were updated to PASS
2019-11-11 14:47:56 -05:00
bors-servo
06e58212cb
Auto merge of #24705 - servo-wpt-sync:wpt_update_11-11-2019, r=jdm
Sync WPT with upstream (11-11-2019)

Automated downstream sync of changes from upstream as of 11-11-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-11-11 10:42:29 -05:00
Paul Rouget
42ee1a86f6 Properly set event.buttons value on mousemove 2019-11-11 16:00:44 +01:00
Josh Matthews
44245eaead
Remove intermittent failure. 2019-11-11 09:41:00 -05:00
WPT Sync Bot
62c1fc904a Update web-platform-tests to revision eaf583ff9cfe4ce36b517ae3519e114948ba10c3 2019-11-11 13:36:10 +00:00
Bailey Blankenship
ec2961920b Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions
Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
2019-11-10 18:37:14 -05:00
Jan Andre Ikenmeyer
941659bb30
Use HSTS preload list for private HttpState, too. 2019-11-10 20:16:53 +01:00
Jan Andre Ikenmeyer
c241442aec
Fix Debian bootstrap 2019-11-10 19:57:39 +01:00
Jan Andre Ikenmeyer
c71988e70b
Make https the default protocol for address bar on Android, too. 2019-11-10 18:08:44 +01:00
bors-servo
f7fb130a2a
Auto merge of #24701 - servo-wpt-sync:wpt_update_10-11-2019, r=servo-wpt-sync
Sync WPT with upstream (10-11-2019)

Automated downstream sync of changes from upstream as of 10-11-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-11-10 11:39:28 -05:00
Jan Andre Ikenmeyer
6804a3f208
Update public_domains.txt 2019-11-10 17:12:25 +01:00
Jan Andre Ikenmeyer
a22fb9d776
Update CA database 2019-11-10 17:11:13 +01:00
Jan Andre Ikenmeyer
1adf18405f
Update hsts_preload.json 2019-11-10 17:09:03 +01:00
WPT Sync Bot
bea56037ef Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
bors-servo
e5689df6b4
Auto merge of #24694 - servo:rustup, r=jdm
Remove use of on_unimplemented

It errors in today’s Nightly:

```rust
error[E0557]: feature has been removed
 --> components/script/lib.rs:9:12
  |
9 | #![feature(on_unimplemented)]
  |            ^^^^^^^^^^^^^^^^ feature has been removed

error[E0658]: this is an internal attribute that will never be stable
  --> components/script/dom/bindings/conversions.rs:77:1
   |
77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/29642
   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable

error: aborting due to 2 previous errors
```
2019-11-09 10:15:30 -05:00
bors-servo
18dae9ee8f
Auto merge of #24690 - federicomenaquintero:master, r=jdm
derive_common: Fix example in documentation

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

The docstring for `propagate_clauses_to_output_type` has an indented chunk which is getting picked up as a doc-test.  It's not meant to compile, so just mark it as ignored.

---
<!-- 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. -->
2019-11-09 02:39:09 -05:00
bors-servo
87432c71d0
Auto merge of #24697 - servo:cleanup, r=jdm
Clean-up post Taskcluster migration

The parts of the configuration that are require a separate deployment step and are not applied automatically when a PR lands in this repository have moved to https://github.com/servo/taskcluster-config
2019-11-08 20:55:11 -05:00
bors-servo
970f7163e9
Auto merge of #24514 - imiklos:webgl_transform_feedback, r=jdm
Add WebGL Transformfeedback support

Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
cc @mmatyas @jdm @zakorgy

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

<!-- 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. -->
2019-11-08 13:26:29 -05:00
Manish Goregaokar
51bf8fcfe3 Remove patched webxr 2019-11-08 09:49:52 -08:00
Simon Sapin
c8fd64f5ce Remove unused Packet.net configuration 2019-11-08 16:26:13 +01:00
Simon Sapin
a5ea470d57 Move part of the Taskcluster configuration
… to https://github.com/servo/taskcluster-config
2019-11-08 16:25:14 +01:00
Simon Sapin
b3faeb5483 Remove support for taskcluster.net in the decision task 2019-11-08 16:20:50 +01:00
Istvan Miklos
4f112b1705 Add Support for WebGL Transormfeedback
Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
2019-11-08 15:22:52 +01:00
Simon Sapin
94b19beefb Fix some warnings new in Rust Nightly 2019-11-08 11:45:16 +01:00
Simon Sapin
f2e7b4ec8c Remove use of on_unimplemented
It errors in today’s Nightly:

```rust
error[E0557]: feature has been removed
 --> components/script/lib.rs:9:12
  |
9 | #![feature(on_unimplemented)]
  |            ^^^^^^^^^^^^^^^^ feature has been removed

error[E0658]: this is an internal attribute that will never be stable
  --> components/script/dom/bindings/conversions.rs:77:1
   |
77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/29642
   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable

error: aborting due to 2 previous errors
```
2019-11-08 11:38:24 +01:00
bors-servo
8cb6145311
Auto merge of #24689 - servo:FLIP-THE-SWITCH, r=jdm
Move all tasks to Community-TC
2019-11-08 05:02:33 -05:00
Simon Sapin
9d85cbb65c Move all tasks to Community-TC 2019-11-08 07:24:33 +01:00
bors-servo
df9065afb6
Auto merge of #24636 - saschanaz:windowproxy, r=nox,jdm
Use MessageEventSource on MessageEvent IDL

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

<!-- 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. -->
2019-11-07 22:35:43 -05:00
Federico Mena Quintero
a03bdc6efe derive_common: Fix example in documentation 2019-11-07 18:52:30 -06:00
bors-servo
fc7b880195
Auto merge of #24681 - servo:jdm-patch-36, r=SimonSapin
Add missing import to docs upload script.
2019-11-07 19:41:26 -05:00
bors-servo
1089f8f242
Auto merge of #24683 - servo:split, r=jdm
Split doc generation into its own task

This task reached its 60 minutes timeout in
https://community-tc.services.mozilla.com/tasks/YByC2V7uQq2lQv40TVi5KQ/runs/1/logs/live/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FYByC2V7uQq2lQv40TVi5KQ%2Fruns%2F1%2Fartifacts%2Fpublic%2Flogs%2Flive.log#L6276
2019-11-07 15:51:15 -05:00
Josh Matthews
540b28e44f Add missing import to docs upload script. 2019-11-07 19:55:00 +01:00
Simon Sapin
cb693b3228 Split doc generation into its own task
This task reached its 60 minutes timeout in
https://community-tc.services.mozilla.com/tasks/YByC2V7uQq2lQv40TVi5KQ/runs/1/logs/live/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FYByC2V7uQq2lQv40TVi5KQ%2Fruns%2F1%2Fartifacts%2Fpublic%2Flogs%2Flive.log#L6276
2019-11-07 17:05:56 +01:00
bors-servo
77a5a1834b
Auto merge of #24679 - servo:try-windows-ami, r=jdm
Run non-macOS tasks on Community-TC for push events

These tasks will run on *both* TC deployments, and with https://github.com/servo/saltfs/pull/983 PRs will not land if *either* deployment has any failure. Note that this does not include WPT, so intermittents should not be an issue.
2019-11-07 08:41:17 -05:00
bors-servo
9a518cf797
Auto merge of #24677 - jdm:iframe-sizing-cleanup, r=asajeffrey
Ensure all iframes are sized correctly at creation

Following in the path of #22395, these commits serve several purposes:
* prevent layout instability early during iframe loads caused by a succession of resize events
* reduce the complexity of determining what actual DPI and initial window size values are being used at startup
* ensure that all documents have a correct initial viewport size at creation

These changes fix problems that were exposed by the changes in #24462 but are independent of that PR.

---
- [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
2019-11-07 07:40:29 -05:00
Simon Sapin
5d62f8084e Run non-macOS tasks on Community-TC for push events 2019-11-07 11:04:01 +01:00
Simon Sapin
b3ca13cc65 Add a decision task for try-windows-ami 2019-11-07 10:38:29 +01:00
bors-servo
a33d493a4f
Auto merge of #24672 - paulrouget:24400, r=jdm
Print an error if Glutin port needs to manage a new tab

When a tab needs to be created because the user clicks on a link with a `target=…` attribute, the Glutin port just ignores it, creating weird behaviors.

We should at least print an error.
2019-11-07 02:38:26 -05:00
bors-servo
64560ec0b6
Auto merge of #24646 - paulrouget:nocancel, r=jdm
No need to cancel the task. The thread is ending.

Fix #24635
2019-11-06 22:56:02 -05:00
bors-servo
fb9157df3b
Auto merge of #24645 - servo-wpt-sync:wpt_update_04-11-2019, r=jdm
Sync WPT with upstream (04-11-2019)

Automated downstream sync of changes from upstream as of 04-11-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-11-06 18:16:47 -05:00
Josh Matthews
4578ae834c Update a test that expected a resize event to trigger for an iframe that isn't resized. 2019-11-06 17:56:18 -05:00
Josh Matthews
91dfa354b1 Ensure layout/script always have a correct viewport size when a new pipeline is created. 2019-11-06 16:13:55 -05:00
Josh Matthews
2aa5ddf922 script: Ignore redundant resize notifications. 2019-11-06 16:13:55 -05:00