Commit graph

1654 commits

Author SHA1 Message Date
atouchet
a33c75cbec Rename glutin port to winit 2020-05-27 20:27:15 -07:00
bors-servo
34a41f57c6
Auto merge of #26662 - servo:rustup, r=jdm
Partial preparations for upgrading to Rust nightly-2020-05-26

CC https://github.com/servo/servo/issues/26661
Fixes https://github.com/servo/servo/issues/26645
2020-05-27 02:55:17 -04:00
Simon Sapin
cfd62cf8dc Partial preparations for upgrading to Rust nightly-2020-05-26
CC https://github.com/servo/servo/issues/26661
Fixes https://github.com/servo/servo/issues/26645
2020-05-26 21:11:23 +02:00
Josh Matthews
4fec987221 Fix output of test-tidy with duplicated packages. 2020-05-20 14:19:47 -04:00
camelid
1b36a7cf96 Fix file extension for Linux nightly 2020-05-14 11:27:20 -07:00
camelid
6faccf6c3c Only upload latest hash 2020-05-13 11:47:53 -07:00
camelid
f1e37e2dd2 Add integrity hash for nightly builds 2020-05-13 10:03:02 -07:00
complexengine
399ee3fee7
Update Ubuntu version upto 20.04
Update Ubuntu version upto 20.04
2020-04-30 09:10:31 +05:30
Manish Goregaokar
c89dc821ba Add XRHand interface 2020-04-27 17:35:48 -07: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
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
bors-servo
306e8ac5f9
Auto merge of #25853 - asajeffrey:surfmanup, r=jdm
Replace glutin by winit + surfman 0.2

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

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.

---
<!-- 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 this should all be invisible

<!-- 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-18 21:03:25 -04:00
bors-servo
c6ec063a31
Auto merge of #26217 - servo:jdm-patch-40, r=asajeffrey
Disable RUST_BACKTRACE in unit tests on macOS.

This works around #26192 which is a new relatively frequent intermittent crash on CI.
2020-04-18 02:59:52 -04:00
Alan Jeffrey
8bb1732258 Update surfman to 0.2 and remove glutin 2020-04-17 23:44:53 -05:00
bors-servo
66f14773c6
Auto merge of #26207 - servo:jdm-patch-36, r=Manishearth
Publish new UWP package

This fixes an issue where the latest UWP package is published at http://download.servo.org/nightly/uwp/servo-latest.0.0.0_Test.zip because the full filename contains "1.0.0.0" and we don't detect file extensions correctly.
2020-04-17 19:30:04 -04:00
Josh Matthews
b54b3aca64
Disable RUST_BACKTRACE in unit tests on macOS. 2020-04-17 18:20:35 -04:00
Josh Matthews
15751b13fd Only create UWP archive if the app packages are signed. 2020-04-17 11:34:25 -04:00
Josh Matthews
699cf5b29b Remove version number from generated UWP archive. 2020-04-17 11:32:36 -04:00
Manish Goregaokar
015805de65 Add VCINSTALLDIR to the 'do not run within vcvarsall' check 2020-04-16 14:51:34 -07:00
Josh Matthews
03e6787bf9
Find upload package extension correctly. 2020-04-16 17:45:14 -04:00
bors-servo
2829945963
Auto merge of #26202 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See individual commits for details.

https://bugzilla.mozilla.org/show_bug.cgi?id=1630676
2020-04-16 16:35:43 -04:00
Emilio Cobos Álvarez
124f462d09 python: Use updated mako path in package_commands.py. 2020-04-16 21:25:16 +02:00
bors-servo
7d3617a0d4
Auto merge of #26198 - Manishearth:vcvarsall-fail, r=jdm
Report error when vcvarsall fails

In trying to get my Windows cross build working on my desktop, I ended up spending a lot of time trying to replicate a failure within servo's build system that ultimately turned out to be vcvarsall silently failing (I was missing a trailing slash in my `VSINSTALLDIR` env var, which vcvarsall does not handle well at all)

We should report an error when this happens.

r? @jdm
2020-04-16 15:05:42 -04:00
Manish Goregaokar
371ba67d55 Report error when vcvarsall fails 2020-04-16 10:01:17 -07:00
Josh Matthews
3a8af93abe
Update required clang-format version. 2020-04-15 22:24:09 -04:00
Josh Matthews
c32b1ac940
Upgrade clang to 9.0 on Windows. 2020-04-15 15:03:03 -04:00
Akshat Agarwal
4ab2d59fea add missing dependencies 2020-04-15 15:34:06 +05:30
Daniel Alley
a3bb64c33c Remove some old requirements
Remove some bits left over from Skia and Ubuntu 14.04 support
2020-04-12 22:41:42 -04:00
Sean Stangl
3ba621e764 Add 'python3-devel' to the DNF bootstrap packages list
Bootstrapping on Fedora 31 fails with a missing <Python.h> header.
That header is provided by the 'python3-devel' package.
2020-04-12 13:47:01 -06:00
bors-servo
9fd668488e
Auto merge of #26071 - servo:rustup, r=nox
Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07)

~Blocked on https://github.com/rust-lang/rust/issues/70280~
2020-04-10 00:37:54 -04:00
Simon Sapin
4227425c1e Remove the lint added in https://github.com/servo/servo/pull/14589
Per https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a8a5a716b3bdf52fa7960a1e4ee89add
it looks like the drop order of temporaries was changed at some point and this pattern is no longer problematic.
2020-04-08 15:59:17 +02:00
Paul Rouget
3efa840674 implement mach clean-uwp 2020-04-08 13:18:42 +02:00
Dylan Lom
16bb61bd54 Add support for Debian in mach bootstrap 2020-04-01 11:36:47 +11:00
bors-servo
d1c76edecf
Auto merge of #25365 - MeFisto94:autolaunch-vcvars, r=jdm
Launch vcvarsall.bat for the recognized VS Installation Directory from python instead of making mach.bat try that on hardcoded paths.

Move the Execution of vcvars (which sets up the environment for visual studio tools) from mach.bat to python, so that ./mach works under mozilla-build and that #25300 can be used.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25360 #25336
- [X] These changes do not require tests because changes to build infra
2020-03-23 20:55:25 -04:00
bors-servo
7ef4c65ac3
Auto merge of #25980 - servo:jdm-patch-44, r=paulrouget
Enable windows unit tests

Fixes #25961.
2020-03-20 10:33:45 -04:00
Akshat Agarwal
d26ff91c3c added pop!_os support for ./mach bootstrap 2020-03-20 03:11:13 +05:30
Josh Matthews
d30e51b779
Copy openssl DLLs to unit test directory. 2020-03-17 14:30:56 -04:00
Paul Rouget
f50f4df496 Properly sign UWP package 2020-03-09 09:35:47 +01:00
pylbrecht
3f8350ee6b Upgrade to mozdebug 0.2 2020-02-28 21:21:53 +01:00
Daniel Alley
430a65be07 Remove azure canvas backend
closes #25833
2020-02-25 00:14:24 -05:00
Josh Matthews
42f94a837d
Add missing argument to set_osmesa_env. 2020-02-24 09:35:49 -05:00
Josh Matthews
fb5213c8fc Synchronize ANGLE linking path with VS project. 2020-02-20 16:27:08 -05:00
bors-servo
7786464dad
Auto merge of #25761 - luka-zitnik:python-virtualenv-missing, r=jdm
Instruct intallation of python-virtualenv

Fixes servo/servo#23210
Closes servo/servo#23212

<!-- Please describe your changes on the following line: -->
(Re-)enable `./mach bootstrap` by requiring a separate installation step for packages python, python-pip and python-virtualenv.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because bootstrap command is not covered by 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-02-20 08:19:05 -05:00
bors-servo
cdd5dc17aa
Auto merge of #25736 - Darkspirit:ossl, r=jdm
Add OpenSSL 1.1.1 build check, Update HSTS Preload list

* This variant also works with cross-compilation. PR should fail in CI on Android at first:
  The net crate successfully compiled after switching to OpenSSL 1.1.1 on Android. It seemed openssl.sh doesn't need any changes.(?)
* Updated HSTS preload list and public suffix list.
* Configured OpenSSL [SECLEVEL=2](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html) like [Debian](https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1) Stable:
  > As a result RSA, DSA and DH keys shorter than [2048 bits](16a5a9bb78/docs/BR.md (6153-subscriber-certificates)) and ECC keys shorter than 224 bits are prohibited.
* Although all other crates compile I generally get a `libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8` error on simpleservo_jniapi, I guess Debian Testing is too new and I just haven't found the right steps so far.
./mach build -d --android
```
  = note: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/deps/libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          toolchain: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
          libs dir: /home/darkspirit/github/servo/android-toolchains/ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a
          sysroot: /home/darkspirit/github/servo/android-toolchains/ndk/platforms/android-21/arch-arm
          targetdir: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/build/simpleservo_jniapi-26ef18debb5b3630/out/../../..
```

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25708, fix #25619.
2020-02-14 12:57:22 -05:00
Luka Zitnik
a15775bad7 Instruct intallation of python-vitualenv
Fixes servo/servo#23210
Closes servo/servo#23212
2020-02-14 03:09:38 +01:00
Jan Andre Ikenmeyer
ad9ee36e7b
Switch Android to OpenSSL 1.1.1d 2020-02-12 13:51:35 +01:00
Robert Bragg
8902aa93e4 Build: check for VC142 MSVC redist dir 2020-02-11 13:56:00 +00:00
bors-servo
39133ee059
Auto merge of #25716 - jdm:revert-angle-up, r=jdm
Revert ANGLE upgrade.

This reverts commit ce6204b904, reversing
changes made to 904fcb4317.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25683
2020-02-10 13:33:07 -05:00
Josh Matthews
4a4b8bd9bd Revert "Auto merge of #25509 - jdm:angle-up, r=asajeffrey"
This reverts commit ce6204b904, reversing
changes made to 904fcb4317.
2020-02-10 11:25:46 -05:00
takumi
4dec35ca87 fix zip extraction for python 3 2020-02-07 17:56:30 +09:00