Commit graph

41328 commits

Author SHA1 Message Date
Alan Jeffrey
c00eb62090 Add a dummy implementation of contentEditable 2020-04-21 19:12:52 -05:00
bors-servo
b60c70bab6
Auto merge of #26241 - servo:graph, r=nox
Add a minimal alternative to `cargo graph`

I tried `cargo graph` and some of its successors, but didn’t manage to make them produce what I wanted (or in some cases make them work at all.)

This Python script reimplements similar functionality based on parsing the (JSON) output of `cargo metadata`.

Graphviz graphs can become hard to read very quickly as the number of nodes grows. Servo’s dependency graph is very large, so pruning as much as possible is important. This only shows `path` dependencies (that have their source in this repo), and can take a parameter to only show recursive dependencies of a given crate.

See https://github.com/servo/servo/issues/19422#issuecomment-617038366 for an example.

I find that `xdot` is best for visualization since it is interactive.

This script is not used by anything. I am making this PR only so that we have it somewhere in case it becomes useful again at some point.
2020-04-21 09:34:52 -04:00
bors-servo
354001a8dc
Auto merge of #26242 - servo-wpt-sync:wpt_update_21-04-2020, r=servo-wpt-sync
Sync WPT with upstream (21-04-2020)

Automated downstream sync of changes from upstream as of 21-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-21 09:24:31 -04:00
WPT Sync Bot
906e45aab0 Update web-platform-tests to revision 9a6026305062c90d84a567d81434010dde6c6c22 2020-04-21 11:23:54 +00:00
Simon Sapin
d2041e5b47 Add a minimal alternative to cargo graph
I tried `cargo graph` and some of its successors,
but didn’t manage to make them produce what I wanted
(or in some cases make them work at all.)

This Python script reimplements similar functionality
based on parsing the (JSON) output of `cargo metadata`.

Graphviz graphs can become hard to read very quickly as the number of nodes grows.
Servo’s dependency graph is very large, so pruning as much as possible is important.
This only shows `path` dependencies (that have their source in this repo),
and can take a parameter to only show recursive dependencies of a given crate.

See https://github.com/servo/servo/issues/19422#issuecomment-617038366 for an example.

I find that `xdot` is best for visualization since it is interactive.

This script is not used by anything.
I am making this PR only so that we have it somewhere
in case it becomes useful again at some point.
2020-04-21 10:54:21 +02:00
bors-servo
c1f85c2a22
Auto merge of #26238 - servo:jdm-patch-36, r=Manishearth
Only enable RUST_BACKTRACE in non-mac build environment on CI.

This should help work around #26192 and would explain why we're still seeing it on CI after #26217.
2020-04-21 04:05:06 -04:00
bors-servo
d77bf218fa
Auto merge of #26239 - servo:unglutin, r=emilio
Remove glutin from the dependency graph
2020-04-21 00:41:52 -04:00
bors-servo
a5fe8f0e7a
Auto merge of #26237 - servo:unosmesa, r=asajeffrey
OSMesa is no longer a build dependency

Since https://github.com/servo/servo/pull/25853
2020-04-20 22:29:00 -04:00
bors-servo
61275d8d94
Auto merge of #25944 - Manishearth:update-angle-toolchain, r=jdm
Update UWP toolchain version

I've been working with these patches applied for a while, they seem to work great.

r? @jdm
2020-04-20 21:32:15 -04:00
Simon Sapin
50bd2508c0 Update gl_generator in simpleservo 2020-04-20 23:52:23 +02:00
Simon Sapin
1ff54253f9 Update webxr, remove glutin 2020-04-20 23:49:39 +02:00
Josh Matthews
53ed2ca0a0
Only enable RUST_BACKTRACE in non-mac build environment on CI. 2020-04-20 17:06:40 -04:00
Simon Sapin
f864697522 OSMesa is no longer a build dependency
Since https://github.com/servo/servo/pull/25853
2020-04-20 22:10:26 +02:00
Simon Sapin
bbed751bbc Remove use of webrender::RendererKind
It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587
CC https://bugzilla.mozilla.org/show_bug.cgi?id=1631579
2020-04-20 22:05:59 +02:00
bors-servo
4c8413d532
Auto merge of #26229 - servo:jdm-patch-36, r=SimonSapin
Use python binary to run multiprocess tests.

The python2 binary doesn't exist in the path on macOS. This change uses an existing python2 on macOS and whatever the default python version is on linux.
2020-04-20 15:02:26 -04:00
Josh Matthews
a3587e608e Pass a protocol to the TimedRunner constructor instead of a session. 2020-04-20 13:12:58 -04:00
Josh Matthews
34c3030ddd
Propagate pipe failure. 2020-04-20 12:02:41 -04:00
bors-servo
4c4f588178
Auto merge of #26227 - servo:layout-2020-rule-tree-threadsafe, r=emilio
Make the rule tree actually threadsafe

RuleTree::gc is now a safe method that any thread can call
at any time, and StrongRuleNode values can all be dropped
whenever their owner want to, on any thread.
2020-04-20 11:45:59 -04:00
Anthony Ramine
7f54d14904 Make the rule tree actually threadsafe
RuleTree::gc is now a safe method that any thread can call
at any time, and StrongRuleNode values can all be dropped
whenever their owner want to, on any thread.
2020-04-20 17:39:19 +02:00
Josh Matthews
2777134efb
Use python binary to run multiprocess tests. 2020-04-20 11:22:01 -04:00
bors-servo
5f5643e7aa
Auto merge of #26228 - servo-wpt-sync:wpt_update_20-04-2020, r=servo-wpt-sync
Sync WPT with upstream (20-04-2020)

Automated downstream sync of changes from upstream as of 20-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-20 08:24:30 -04:00
Anthony Ramine
1c2de5641c Change Map::get_or_insert_with to Map::entry 2020-04-20 14:17:14 +02:00
WPT Sync Bot
10112eddce Update web-platform-tests to revision 9b5bdedc2ad7797a6b99895157aeaa2b3a2d61e6 2020-04-20 11:12:41 +00:00
Manish Goregaokar
3e8a01f5a2 Retarget solution to 10.0.18362 2020-04-19 22:50:31 -07:00
bors-servo
99cd30eaad
Auto merge of #26171 - Manishearth:hittest, r=asajeffrey
Implement hit testing API

Depends on https://github.com/servo/webxr/pull/149 , https://github.com/servo/servo/pull/26170

This implements non-transient hit tests.

The tests that do not pass are due to https://github.com/web-platform-tests/wpt/issues/22898 , https://github.com/web-platform-tests/wpt/issues/22900, https://github.com/web-platform-tests/wpt/issues/22901 , and https://github.com/immersive-web/hit-test/issues/86
2020-04-20 00:30:46 -04:00
Manish Goregaokar
2a579668f5 Update interfaces.html test 2020-04-19 20:29:14 -07:00
Manish Goregaokar
9659243e72 Update dependencies to dedup autocfg 2020-04-19 20:29:14 -07:00
Manish Goregaokar
30cd89d2d8 Add feature gating for hit tests 2020-04-19 20:29:14 -07:00
Manish Goregaokar
1b07b77323 Add XRSession::requestHitTestSource() 2020-04-19 20:29:14 -07:00
Manish Goregaokar
f1d6a89150 Add XRFrame::getHitTestResults() 2020-04-19 20:29:14 -07:00
Manish Goregaokar
87bce8cde9 Add XRHitTestResult::getPose 2020-04-19 20:29:14 -07:00
Manish Goregaokar
c7b91523d0 Add XRHitTestResult 2020-04-19 20:29:14 -07:00
Manish Goregaokar
341d36a826 Add XRHitTestSource 2020-04-19 20:29:14 -07:00
Manish Goregaokar
83f92a3181 Update XRRay semantics
Implements changes from https://github.com/immersive-web/hit-test/pull/85
2020-04-19 20:29:14 -07:00
Manish Goregaokar
7dd2a71d6d Add XRRay.matrix 2020-04-19 20:29:14 -07:00
Manish Goregaokar
e7ba4e5a47 Add XRRay(transform) constructor 2020-04-19 20:29:14 -07:00
Manish Goregaokar
977b36d855 Add XRRay constructors 2020-04-19 20:29:14 -07:00
Manish Goregaokar
98ff97783e Add origin/direction methods to XRRay 2020-04-19 20:29:14 -07:00
Manish Goregaokar
b6a9e41bb8 Add stub XRRay 2020-04-19 20:29:14 -07:00
Manish Goregaokar
7f353033f4 Support .supportedModes to enable newer tests 2020-04-19 20:29:14 -07:00
bors-servo
bc1e740973
Auto merge of #26222 - servo-wpt-sync:wpt_update_19-04-2020, r=jdm
Sync WPT with upstream (19-04-2020)

Automated downstream sync of changes from upstream as of 19-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-19 15:04:17 -04:00
Manish Goregaokar
ef6ee5e2a1 Add hit test mocking after initialization 2020-04-19 11:43:50 -07:00
Manish Goregaokar
d01d9065aa Add hit test mocking at initialization 2020-04-19 11:43:50 -07:00
Manish Goregaokar
3f88310e23 Update webxr 2020-04-19 11:43:49 -07:00
bors-servo
4f8de6fd02
Auto merge of #26221 - duckinator:patch-1, r=jdm
[python/servo/bootstrap.py] Add missing comma

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

Add a missing comma in `pkgs_dnf` list, so `python3 ./mach bootstrap` works on Fedora.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
Unfortunately I can't actually build Servo right now because of lack of RAM (whoops), but hopefully adding a single comma between elements of a list is small enough of a change for you to overlook that. 😅

- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] (N/A) These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's in the bootstrap script, which afaik doesn't have 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. -->
2020-04-19 12:59:47 -04:00
Josh Matthews
4f7bea50b4
Remove intermittent failure. 2020-04-19 11:21:20 -04:00
bors-servo
240b58a826
Auto merge of #26223 - Eijebong:dirs, r=nox
Dedupe the dirs dependency
2020-04-19 11:18:06 -04:00
Bastien Orivel
3c895666e1 Dedupe the dirs dependency 2020-04-19 13:54:02 +02:00
WPT Sync Bot
e116a19f0b Update web-platform-tests to revision 9d583db6a1a16763322dce912bf057490cd7b0c7 2020-04-19 11:09:10 +00:00
Ellen Marie Dash
04c38042a8
[python/servo/bootstrap.py] Add missing comma
Add a missing comma in `pkgs_dnf` list.
2020-04-18 22:48:29 -04:00