Commit graph

1368 commits

Author SHA1 Message Date
Simon Sapin
75b67a63e6 Use the Taskcluster proxy URL provided by the worker 2019-05-03 18:37:13 +02:00
bors-servo
38e60136b8
Auto merge of #23304 - jdm:nightly-taskcluster, r=SimonSapin
Transfer mac/windows/android nightly builds to Taskcluster

Fixes #23303.

<!-- 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/23304)
<!-- Reviewable:end -->
2019-05-02 19:11:32 -04:00
Josh Matthews
dbdbbeb132 Move taskcluster secrets into appropriate mach commands. 2019-05-02 10:49:24 -04:00
Josh Matthews
7a95cbcf91 Upgrade NDK to v15c. 2019-05-01 15:08:37 -04:00
Paul Rouget
21ed7653f4 Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
bors-servo
880f3b8b7a
Auto merge of #23268 - asajeffrey:magicleap-package-fixes, r=jdm
Magicleap package fixes

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

A couple of fixes for magicleap packaging...
* Move the setting of the debuggable flag into the `.package` file where it belongs,
* Allow compiling with v0.20.0 of the SDK.

---
<!-- 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 do not require tests because it fixes the build

<!-- 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/23268)
<!-- Reviewable:end -->
2019-04-25 18:25:19 -04:00
Alan Jeffrey
82fcab38a4 Move debuggable flag setting for magicleap package to package file 2019-04-25 12:56:37 -05:00
Josh Matthews
c038ba4c7c Force the use of clang-cl.exe for Windows builds. 2019-04-25 10:55:16 -04:00
Josh Matthews
817aa49dc7
Update cmake for MSVC builds. 2019-04-24 15:07:31 -04:00
Alan Jeffrey
61f7f12f58 Updated bootstrap.py 2019-04-23 12:02:40 -05:00
bors-servo
3340214a29
Auto merge of #23098 - TheGoddessInari:py2, r=jdm
Py2

<!-- Please describe your changes on the following line: -->
da3102338c: Rework mach.bat to support VS2019 and user-supplied environments.
4551f6031f: Default mach.bat to using py -2.
03e47081fe: Don't assume the user's environment in mach_bootstrap.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it changes the python bootstrap slightly and the changes are obvious.

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

The virtualenv changes shouldn't disrupt anything as it just uses the existing python (being used) to call itself `-m virtualenv`, and only if it exists. imp is still apparently the preferred builtin way to find this in Python 2.x without actually importing it. Importing it would cause an unused import warning in tidy. It still picks up the new things in _virtualenv, just no longer has a special case for Win32/MSYS because it's no longer needed.

The .bat change is the simplest I could think of that allows fallback in both cases and is no worse than before. `where /Q` is documented by Microsoft to return 0 if a successful match is found, and print nothing in either case.

<!-- 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/23098)
<!-- Reviewable:end -->
2019-04-01 18:48:09 -04:00
bors-servo
e27653ceae
Auto merge of #23126 - servo:jdm-patch-35, r=Manishearth
Fix various Windows dependency issues

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23125 and fix #23104
- [x] There are tests for these changes

<!-- 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/23126)
<!-- Reviewable:end -->
2019-04-01 13:29:07 -04:00
TheGoddessInari
44162ceafb Don't assume the user's environment in mach_bootstrap.
On Windows with multiple Pythons installed, this was causing python2.7
to bootstrap a 3.7 virtualenv that it couldn't make use of.

PIP_NAMES wasn't used at all, and VIRTUALENV_NAMES ends up being unused
now.
2019-04-01 11:15:21 -04:00
bors-servo
41feb83c10
Auto merge of #22355 - gterzian:add_linux_sampler, r=asajeffrey,gterzian
Add linux sampler

<!-- 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 #22203 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes
- [ ] 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. -->

<!-- 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/22355)
<!-- Reviewable:end -->
2019-03-29 23:12:40 -04:00
Gregory Terzian
7bc29205ef add linux sampler 2019-03-29 23:05:44 -04:00
Josh Matthews
73aeee19a5
Support 1.15.2 changes. 2019-03-28 00:42:24 -04:00
Josh Matthews
dc55409757
More gstreamer 1.15 changes. 2019-03-27 23:58:11 -04:00
Josh Matthews
e420c8cf06
Support renamed GStreamer DLLs. Include missing gstgl dependency. 2019-03-27 18:27:43 -04:00
bors-servo
cd8b9cab22
Auto merge of #23117 - asajeffrey:mach-magicleap-package-target, r=jdm
Set the target when packaging for magicleap

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

If we don't set the target during packaging, we get errors checking for gstreamer.

---
<!-- 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 do not require tests because it fixes packaging errors.

<!-- 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/23117)
<!-- Reviewable:end -->
2019-03-27 14:28:04 -04:00
Alan Jeffrey
733ff9512c Set the target when packaging for magicleap 2019-03-27 12:31:12 -05:00
Fernando Jiménez Moreno
10585be25c Update mach bootstrap-gstreamer to use the latest binaries 2019-03-27 11:17:18 +01:00
bors-servo
7b8a898ac2
Auto merge of #23095 - jdm:mozjsprofiling, r=jdm
Use mozjs profiling feature when building with frame pointer enabled

This makes it possible to get more meaningful profiles with #23080.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #23081
- [x] There are no tests for these changes

<!-- 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/23095)
<!-- Reviewable:end -->
2019-03-26 14:00:56 -04:00
Josh Matthews
896aae1c14 Add mozjs feature for profiling. 2019-03-25 16:13:56 -04:00
CYBAI
181efc0d9c Compare gstreamer version via pkg-config --modversion 2019-03-21 12:09:47 +09:00
bors-servo
581df9da2c
Auto merge of #22806 - ferjm:webrtc.gst.plugins, r=jdm
Update gstreamer binaries for Android with webrtc related plugins

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

I updated the binaries for Android with the required plugins for WebRTC as suggested [here](https://github.com/servo/servo/pull/22780#discussion_r252767768)

<!-- 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/22806)
<!-- Reviewable:end -->
2019-02-05 10:15:28 -05:00
UK992
4c236222c1 Add more GStreamer DLLs 2019-02-02 13:37:39 +01:00
UK992
ac8ac39ef3 Alphabetically sort GStreamer dlls 2019-02-02 13:36:12 +01:00
bors-servo
363073568e
Auto merge of #21968 - UK992:mach-package, r=jdm
Windows: Add missing dependencies

Rebased https://github.com/servo/servo/pull/16445 and updated with Gstreamer DLLs.

About msi installer, there is also included gstreamer installer, should be removed and replaced by needed gstreamer DLLs or keep it at is it?

Fixes #16422.

<!-- 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/21968)
<!-- Reviewable:end -->
2019-02-01 18:02:59 -05:00
Fernando Jiménez Moreno
c2e975affb Update gstreamer binaries for Android with webrtc related plugins 2019-02-01 17:10:26 +01:00
bors-servo
6b648429f5
Auto merge of #22780 - Manishearth:webrtc, r=jdm
Initial webrtc and getUserMedia DOM support

This is able to reach the point where connections are properly negotiated and ready to exchange streams.

<s>The `toJSON()` stuff doesn't work yet, so most example code will need to be tweaked to manually construct JSON first before sending SDP and ICE messages over websockets. I'll add support for this soon. (This may need webidl tweaks to support `[Default]` and `toJSON()`)</s>

For some reason I haven't yet figured out, connections are one-way, Servo is able to receive streams but the other end doesn't see the streams Servo sends. I don't think this is due to https://github.com/servo/media/issues/191, but that bug is making it harder to test.

This implementation simply drops streams that it receives, without connecting them up to any output elements, since servo-media-player doesn't yet have mediastream support.

Since servo can neither effectively send nor receive streams this implementation isn't useful yet, however it is getting large and I figured I'd get it reviewed and landed early as a base.

r? @jdm

<!-- 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/22780)
<!-- Reviewable:end -->
2019-01-31 12:14:16 -05:00
Fernando Jiménez Moreno
351723e6da Update gstreamer binaries for Android with webrtc related plugins 2019-01-31 18:01:03 +01:00
bors-servo
d44e9aced2
Auto merge of #22745 - asajeffrey:magicleap-xor-debugmozjs, r=jdm
Stop building debugmozjs for magicleap

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

Block trying to build `--debug-mozjs` and `--magicleap` because that leads to horrid link errors.

---
<!-- 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 do not require tests because we don't test our CI as much as we probably should

<!-- 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/22745)
<!-- Reviewable:end -->
2019-01-26 15:35:59 -05:00
Josh Matthews
f50ca64913
Upgrade LLVM on windows. 2019-01-24 13:24:17 -05:00
Alan Jeffrey
b55c9cf98b Stop building debugmozjs for magicleap 2019-01-22 15:22:54 -06:00
bors-servo
c3608c0cb5
Auto merge of #22726 - learning:patch-elementary-os, r=jdm
Add support for elementary os

<!-- Please describe your changes on the following line: -->
Add support for elementary os

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

<!-- Either: -->
- [X] These changes do not require tests because it's a patch to `mach`

<!-- 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/22726)
<!-- Reviewable:end -->
2019-01-21 17:07:30 -05:00
Learning
9c1683bcef Fix BadZipfile error while install msvc dependencies 2019-01-21 23:21:48 +08:00
Learning
4302fa28d3 Add support for elementary os 2019-01-18 15:05:26 +08:00
Shanavas M
650a92ac9c Treat url strings are unsplittable
Fixes #22498
2019-01-08 17:36:46 +05:30
Josh Matthews
e4120a5e23
Upgrade pyyaml dependency. 2019-01-04 15:04:59 -05:00
bors-servo
c4a6dcfe4b
Auto merge of #22528 - Manishearth:webxr, r=jdm,MortimerGoro
Preliminary WebXR support

This implements just enough WebXR to display to 3DOF devices in
immersive mode only.

Couple missing things:

 - [ ] Handling reference spaces (even if just supporting eye-level spaces)
 - [x] Spec links
 - [ ] We enter immersive mode when baseLayer is set, but it seems like
we're supposed to do this when requestSession is called (https://github.com/immersive-web/webxr/issues/453)
 - [ ] VR/XR should block less (https://github.com/servo/servo/issues/22505)
 - [x] More pref-gating
 - [x] `views` is a method instead of an attribute because we don't support FrozenArray

<s>Once I add spec links and pref gating</s> this can be landed as-is for further experimentation.

r? @jdm @MortimerGoro

<!-- 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/22528)
<!-- Reviewable:end -->
2019-01-04 02:54:16 -05:00
bors-servo
1753cda362
Auto merge of #22596 - shanavas786:fix-certifi, r=SimonSapin
Fix certifi import error while running ./match bootstrap

Fixes #22590

<!-- 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 bootstrap` does not report any errors
- [x] These changes fix #22590

<!-- 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/22596)
<!-- Reviewable:end -->
2019-01-03 06:17:03 -05:00
Shanavas M
1bc8f23232 Fix certifi import error while running ./match bootstrap
Fixes #22590
2019-01-03 14:41:54 +05:30
Shanavas M
448f3c84a7 Delete virtualenv when executing mach clean
Closes #22588
2019-01-03 09:51:05 +05:30
Paul Rouget
16a00a107f Split simpleservo into 3 crates for rust, c and jni apis 2018-12-28 09:35:23 +01:00
Fernando Jiménez Moreno
40337181c3 Make create-wpt mach command use new manifest update implementation 2018-12-24 14:47:09 +01:00
Manish Goregaokar
c6c6b518cb Add spec links 2018-12-22 22:30:42 -08:00
bors-servo
72f64c4b6e
Auto merge of #22387 - o0Ignition0o:mach_run_nightly_macos, r=jdm
./mach run -n on mac os.

<!-- Please describe your changes on the following line: -->
Add macos support to the -n flag.

Followup to #20122 , this PR will add macos support to the -n flag.
 This is part of step two for #19505

---
<!-- 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
- [X] These changes do not require tests because this mach command does not build anything

<!-- 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/22387)
<!-- Reviewable:end -->
2018-12-22 13:48:50 -05:00
Simon Sapin
1f018b09c8 Create filtered-wpt-errorsummary.log even if it would be empty 2018-12-14 17:08:21 +01:00
bors-servo
f7fd128881
Auto merge of #22442 - servo:wpt-logs, r=jdm
Taskcluster: make WPT logs more readable

Fixes #22438

<!-- 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/22442)
<!-- Reviewable:end -->
2018-12-13 23:48:51 -05:00
Josh Matthews
8d6fda6ca5
Don't lint subdirectories of virtual manifest paths. 2018-12-13 16:19:06 -05:00