Commit graph

39251 commits

Author SHA1 Message Date
Josh Matthews
e94725345b
Remove intermittent failure. 2019-10-31 17:42:44 -04:00
bors-servo
812ca3b4f2
Auto merge of #24594 - paulrouget:hl-home, r=asajeffrey
Load hololens demo page by default

Once this lands: https://github.com/servo/servo.org/pull/77
2019-10-31 13:59:29 -04:00
Josh Matthews
c29557e02d Avoid instaling rustc-dev twice. 2019-10-31 12:30:44 -04:00
Josh Matthews
6c4d5f4410
Install rustc-dev for nightly rust toolchain. 2019-10-31 11:29:32 -04:00
WPT Sync Bot
5a5512f805 Update web-platform-tests to revision 0abb411331f86f472103183c7ec1136ea21a7e1b 2019-10-31 14:12:13 +00:00
Paul Rouget
ff102fa64b Load hololens demo page by default 2019-10-31 09:48:00 +01:00
Josh Mcguigan
d81c44335f PerformanceResourceTiming calculate duration 2019-10-30 20:41:32 -07:00
bors-servo
d671010e46
Auto merge of #24588 - servo-wpt-sync:wpt_update_30-10-2019, r=servo-wpt-sync
Sync WPT with upstream (30-10-2019)

Automated downstream sync of changes from upstream as of 30-10-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-10-30 09:50:03 -04:00
WPT Sync Bot
60b62482da Update web-platform-tests to revision 82cecba576456d05c09894749379df1013ab488f 2019-10-30 13:49:46 +00:00
Paul Rouget
70823e3032 Format CPP code with clang-format 2019-10-30 11:00:33 +01:00
bors-servo
de9c84f686
Auto merge of #24577 - paulrouget:transientThrobber, r=jdm
Add a loading indicator in transient mode

---
<!-- 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 #24549 (GitHub issue number if applicable)
2019-10-30 01:37:07 -04:00
bors-servo
c918b727f5
Auto merge of #24583 - jdm:angle-bbjs-fix, r=Manishearth
Fix GL panic with updated ANGLE

Our OES_texture_float extension implementation relied on the GL implementation to convert from unsized formats like RGBA when using the FLOAT/HALF_FLOAT type to an internal sized format that was acceptable. ANGLE no longer appears to do that since #24542, so we should enable the format conversion unconditionally.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24578
- [x] There are tests for these changes
2019-10-29 19:06:36 -04:00
Josh Matthews
c312646c24 webgl: Always convert float/half-float-based types to internal texture types. 2019-10-29 18:29:07 -04:00
bors-servo
571dc127a2
Auto merge of #24547 - paulrouget:click, r=jdm
UWP: better mouse interaction support
2019-10-29 13:46:53 -04:00
bors-servo
aa46cbd06a
Auto merge of #24544 - saschanaz:stringifier-attr, r=nox,jdm
Support IDL stringifier attributes

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

<!-- 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-10-29 13:04:24 -04:00
Kagami Sascha Rosylight
691af0e98b Support stringifier attributes 2019-10-29 21:35:40 +09:00
Kagami Sascha Rosylight
97c01fc479 Update WebIDL.py 2019-10-29 21:34:53 +09:00
Paul Rouget
50929d7992 Add a loading indicator in transient mode 2019-10-29 08:25:50 +01:00
Paul Rouget
f2f8223cf1 UWP: better mouse interaction support 2019-10-29 07:35:50 +01:00
bors-servo
4ff24af3d5
Auto merge of #24572 - ferjm:vslogger.level, r=paulrouget
Allow setting Visual Studio logger level from cli arg

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
2019-10-29 02:18:55 -04:00
bors-servo
f78ca5794a
Auto merge of #24564 - paulrouget:initButtons, r=jdm
Properly set MouseEvent buttons property

Properly set MouseEvent buttons property. Same behavior as Chrome and Firefox.

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

<!-- Either: -->
- [x] 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-10-29 00:57:40 -04:00
bors-servo
1b77e42d79
Auto merge of #24573 - teapotd:is-point-in-path-nan, r=jdm
Return false from CanvasState::is_point_in_path for NaN/infinite values

Servo doesn't pass WPT test `/2dcontext/path-objects/2d.path.isPointInPath.nonfinite.html` when built with raqote (see [here](https://github.com/servo/servo/pull/24470#issuecomment-546009000)).
This change adds a missing check for NaN/infinite values in `CanvasState::is_point_in_path` and fixes this.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #24540
- [X] These changes do not require tests because WPT tests cover it
2019-10-28 19:53:49 -04:00
bors-servo
6f4c6712cb
Auto merge of #24568 - servo-wpt-sync:wpt_update_28-10-2019, r=servo-wpt-sync
Sync WPT with upstream (28-10-2019)

Automated downstream sync of changes from upstream as of 28-10-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-10-28 16:05:39 -04:00
teapotd
35a48a7577 Return false from CanvasState::IsPointInPath for NaN/infinite values 2019-10-28 17:43:24 +01:00
Fernando Jimenez Moreno
e1b6719384 Allow setting Visual Studio logger level from cli arg 2019-10-28 17:29:20 +01:00
Paul Rouget
3a8d306281 Properly set MouseEvent buttons property 2019-10-28 17:11:45 +01:00
bors-servo
bb2c03a600
Auto merge of #24557 - servo:rustup, r=jdm
Upgrade to rustc 1.40.0-nightly (246be7e1a 2019-10-25)
2019-10-28 11:24:33 -04:00
WPT Sync Bot
9c6bf785bd Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
bors-servo
ac83c7f6b0
Auto merge of #24565 - tkeri:delete_func_comm, r=jdm
Delete superfluous comment
2019-10-28 08:19:54 -04:00
Josh Mcguigan
ecc1244e59 mach bootstrap factor out common is_firefox check 2019-10-28 05:12:20 -07:00
Josh Mcguigan
01978ccf32 mach activate virtual env for bootstrap 2019-10-28 04:58:28 -07:00
bors-servo
b052a1a020
Auto merge of #24542 - jdm:angle-up, r=paulrouget
Update UWP ANGLE to a modern version

The previous UWP ANGLE builds were made from https://github.com/servo/ms-angle/tree/servo-master which was based on an abandoned revision of ANGLE from >2 years ago. This is lacking some features that are necessary for https://github.com/servo/webxr/issues/46, so this is a new build produced from https://github.com/google/angle/ instead.

I've documented the process for releasing new ANGLE builds at https://github.com/servo/servo/wiki/Publishing-a-new-ANGLE-NuGet-version.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24199
- [x] These changes do not require tests because the windows testing situation is sad, and the UWP testing situation is sadder
2019-10-28 05:32:45 -04:00
Tamas Keri
e27b80aad5 Delete superfluous comment
Deleted unnecessary commit, because
the 'WebGLSampler' was implemented.
2019-10-28 10:15:25 +01:00
bors-servo
0c20fba2ab
Auto merge of #24546 - garasubo:refactor-submission, r=paulrouget
Re-add missing commit in PR #24489

Fix #22782

I'm sorry, but I failed to add one of commits during the squash phase in #24489.
Could you review and merge this?

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

<!-- 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-10-28 01:31:07 -04:00
bors-servo
9640ad1ccf
Auto merge of #24562 - mnem:fix-bootstrap-ubuntu-19.10, r=jdm
Update the maximum version of Ubuntu suppported to 19.10

Update bootstrap.py to allow it to run on Ubuntu 19.10

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

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are no tests for bootstrap.py
2019-10-27 21:32:22 -04:00
David Wagner
9483442007 Update the maximum version of Ubuntu suppported to 19.10 2019-10-27 22:14:27 +00:00
Simon Sapin
6ba0fabc73 Taskcluster: install the rustc-dev rustup component, required for compiler plugins 2019-10-27 21:13:14 +01:00
bors-servo
2ad6e94091
Auto merge of #24525 - glowe:issue-23009/separate_angle_and_disable_vsync, r=jdm
Issue 23009/separate angle and disable vsync

The `--angle` and `--disable-vsync` options were declared as global options, but only used in the Glutin embedding for desktop builds. Moving them to the Glutin embedding code makes them easier to update in the future.

I modified `opts::from_cmdline_args` to accept a `getopts::Options` (as prescribed in the issue) and augmented `opts::ArgumentParsingResult` to include an `opts::Matches` and `content-process` String when appropriate. I could use some feedback on this last bit. I could have changed the function to return `opts::Matches` and have the embedding code look for the presence of `content-process`, but I felt that the approach I went with was closer to the original design.

The other aspect I'm not sure about is moving `disable-vsync` from a global debug option to a plain embedder option. This changes the command line interface for glutin, which is maybe bad. However I wasn't sure whether it was worth preserving the original behavior given the complexity of injecting debug options into `opts::from_cmdline_args`.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes partially fix #23009 – there are 2 more options to deal with, but I'm not sure if we should handle them yet.
- [x] These changes do not require tests because this is a refactoring and I'm hoping that the existing tests cover these changes.

r? @jdm
2019-10-26 14:58:54 -04:00
glowe
0ee300479e Extract device_pixels_per_px from global opts
This is also an embedder specific option, so removing it from the
global options makes sense.
2019-10-26 12:00:14 -04:00
glowe
74f1e2ec32 Extract 3 more embedder options
Extracted clean-shutdown, msaa, and no-native-titlebar embedder
specific options out from the global options.

Partially fixes #23009
2019-10-26 11:34:36 -04:00
glowe
6eca38aea3 Make angle and disable-vsync embedder options
The angle and disable-vsync options were declared as global options but
only used in the Glutin embedding for desktop builds. Moving them to
the Glutin embedding code makes them easier to update.

Partially fixes #23009
2019-10-26 11:29:49 -04:00
glowe
24b8408916 Remove some global options access within glutin
Removed opts::get() access for the two glutin specific options: angle
and disable-vsync. This is the first step in a refactoring to separate
these two options from the global options.
2019-10-26 11:22:34 -04:00
Simon Sapin
d3439fb4d1 Upgrade to rustc 1.40.0-nightly (246be7e1a 2019-10-25) 2019-10-26 13:03:49 +02:00
Simon Sapin
642b8b0415 Move items at the root of the script crate to a module 2019-10-26 12:59:17 +02:00
bors-servo
c7c0bfdd8d
Auto merge of #24519 - hbina:cleanup_canvasrenderingcontext, r=jdm
Cleanup canvasrenderingcontext

<!-- 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 #24496
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it is purely a refactoring...so whatever tests we are already using now should suffice.

<!-- 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-10-25 21:50:26 -04:00
bors-servo
6a54d60043
Auto merge of #24555 - servo-wpt-sync:wpt_update_25-10-2019, r=servo-wpt-sync
Sync WPT with upstream (25-10-2019)

Automated downstream sync of changes from upstream as of 25-10-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-10-25 20:10:30 -04:00
bors-servo
45113a6e41
Auto merge of #24551 - nox:i-am-very-smart, r=SimonSapin
Fix a ridiculous bug in layout-2020

Who needs CI anyway?
2019-10-25 17:57:31 -04:00
bors-servo
2dddbadebf
Auto merge of #24550 - servo:rustup_, r=nox
Update html5ever and xml5ever

Pick up https://github.com/servo/html5ever/pull/402
2019-10-25 15:31:08 -04:00
bors-servo
60f9f7c75f
Auto merge of #24535 - servo:doctors-without, r=nox
2020: paint borders
2019-10-25 14:43:44 -04:00
Josh Matthews
d59fd0fb65 Update to ANGLE 2.1.15 nuget package. 2019-10-25 13:35:32 -04:00