aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
Commit message (Collapse)AuthorAgeFilesLines
...
* | Upgrade clang to 9.0 on Windows.Josh Matthews2020-04-151-1/+1
|/
* add missing dependenciesAkshat Agarwal2020-04-151-3/+5
|
* Remove some old requirementsDaniel Alley2020-04-122-52/+9
| | | | Remove some bits left over from Skia and Ubuntu 14.04 support
* Add 'python3-devel' to the DNF bootstrap packages listSean Stangl2020-04-121-1/+1
| | | | | Bootstrapping on Fedora 31 fails with a missing <Python.h> header. That header is provided by the 'python3-devel' package.
* implement mach clean-uwpPaul Rouget2020-04-081-9/+19
|
* Add support for Debian in mach bootstrapDylan Lom2020-04-011-1/+1
|
* Auto merge of #25365 - MeFisto94:autolaunch-vcvars, r=jdmbors-servo2020-03-231-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * Launch vcvarsall.bat for the recognized VS Installation Directory from ↵MeFisto942019-12-231-0/+11
| | | | | | | | python instead of making mach.bat try that on hardcoded paths.
* | Auto merge of #25980 - servo:jdm-patch-44, r=paulrougetbors-servo2020-03-201-4/+5
|\ \ | | | | | | | | | | | | | | | Enable windows unit tests Fixes #25961.
| * | Copy openssl DLLs to unit test directory.Josh Matthews2020-03-171-4/+5
| | |
* | | added pop!_os support for ./mach bootstrapAkshat Agarwal2020-03-201-0/+16
|/ /
* | Properly sign UWP packagePaul Rouget2020-03-091-12/+69
| |
* | Remove azure canvas backendDaniel Alley2020-02-251-7/+1
| | | | | | | | closes #25833
* | Add missing argument to set_osmesa_env.Josh Matthews2020-02-241-1/+1
| |
* | Synchronize ANGLE linking path with VS project.Josh Matthews2020-02-201-2/+14
| |
* | Auto merge of #25761 - luka-zitnik:python-virtualenv-missing, r=jdmbors-servo2020-02-201-20/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * | Instruct intallation of python-vitualenvLuka Zitnik2020-02-141-20/+18
| | | | | | | | | | | | | | | Fixes servo/servo#23210 Closes servo/servo#23212
* | | Auto merge of #25736 - Darkspirit:ossl, r=jdmbors-servo2020-02-141-2/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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](https://github.com/cabforum/documents/blob/16a5a9bb78a193266f8d1465de1ee5a1acf5d184/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.
| * | Switch Android to OpenSSL 1.1.1dJan Andre Ikenmeyer2020-02-121-2/+2
| | |
* | | Build: check for VC142 MSVC redist dirRobert Bragg2020-02-111-1/+1
|/ /
* | Auto merge of #25716 - jdm:revert-angle-up, r=jdmbors-servo2020-02-101-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert ANGLE upgrade. This reverts commit ce6204b904e62307915e0870611bad473cd48843, reversing changes made to 904fcb4317ffd0f1ed6d0400cdb768fedacfda3d. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25683
| * | Revert "Auto merge of #25509 - jdm:angle-up, r=asajeffrey"Josh Matthews2020-02-101-1/+1
| | | | | | | | | | | | | | | This reverts commit ce6204b904e62307915e0870611bad473cd48843, reversing changes made to 904fcb4317ffd0f1ed6d0400cdb768fedacfda3d.
* | | fix zip extraction for python 3takumi2020-02-071-0/+15
|/ /
* | Correctly install 'nigthtly' (without a date) if it’s not installed already.Simon Sapin2020-01-311-1/+6
| | | | | | | | | | | | | | | | Should fix errors like: https://community-tc.services.mozilla.com/tasks/WWNv1op4QUau10ixVuJfFQ/runs/0/logs/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FWWNv1op4QUau10ixVuJfFQ%2Fruns%2F0%2Fartifacts%2Fpublic%2Flogs%2Flive.log#L364-401 … where the previous code would find the string `nightly` in the output of `rustup toolchain list` in a line like `nightly-2020-01-16-x86_64-unknown-linux-gnu` and conclude that that toolchain was already installed.
* | Auto merge of #25617 - zhuowei:python3-bootstrap-android, r=jdmbors-servo2020-01-271-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach: fix `bootstrap-android` on Python 3 When running `python3 ./mach bootstrap-android`, this error occurs: ``` AttributeError: 'HTTPMessage' object has no attribute 'getheader' File "/servo/python/servo/bootstrap_commands.py", line 136, in bootstrap_android download("sdk", tools.format(system=system)) File "/servo/python/servo/bootstrap_commands.py", line 117, in download download_file(filename, url, archive) File "/servo/python/servo/util.py", line 170, in download_file download(desc, src, fd) File "/servo/python/servo/util.py", line 110, in download if resp.info().getheader('Content-Length'): ``` Use the `get()` function instead, which exists in both Python 3 and 2 (where it is a synonym for `getheader()`). Fixes #25616.
| * | mach: fix `bootstrap-android` on Python 3Zhuowei Zhang2020-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running `python3 ./mach bootstrap-android`, this error occurs: ``` AttributeError: 'HTTPMessage' object has no attribute 'getheader' File "/servo/python/servo/bootstrap_commands.py", line 136, in bootstrap_android download("sdk", tools.format(system=system)) File "/servo/python/servo/bootstrap_commands.py", line 117, in download download_file(filename, url, archive) File "/servo/python/servo/util.py", line 170, in download_file download(desc, src, fd) File "/servo/python/servo/util.py", line 110, in download if resp.info().getheader('Content-Length'): ``` Use the `get()` function instead, which exists in both Python 3 and 2 (where it is a synonym for `getheader()`). Fixes #25616.
* | | mach: fix error on Python 3 when specifying a targetZhuowei Zhang2020-01-261-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when running Mach on Python 3, specifying a target when building causes this error: ``` TypeError: a bytes-like object is required, not 'str' File "/servo/python/servo/build_commands.py", line 241, in build self.ensure_bootstrapped(target=target) File "/servo/python/servo/command_base.py", line 1023, in ensure_bootstrapped ["rustup", "target", "list", "--installed", "--toolchain", toolchain] ``` This change encodes the target using utf-8 before comparing. Fixes #25614.
* | Update windows llvm to 8.0.1.Josh Matthews2020-01-231-1/+1
| |
* | Add default arguments so that ./mach test --all worksWarren Fisher2020-01-191-1/+1
| |
* | Update ANGLE for UWP build.Josh Matthews2020-01-131-1/+1
| |
* | Auto merge of #25300 - MeFisto94:improve-msvc-detection, r=jdmbors-servo2020-01-081-2/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mach: Improve Visual Studio detection for non-standard-path installations Improve locating the Visual Studio installation --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25225 - [X] These changes do not require tests because testing build infrastructure is difficult
| * | Mach: Improve Visual Studio detection for non-standard-path installationsMeFisto942019-12-161-2/+26
| | |
* | | Put correct version number in rustup version-requirement string, sys.exit(1) ↵pshaughn2020-01-061-4/+5
| | | | | | | | | | | | on bad rustup version
* | | Don’t run `ensure_bootstrapped` when rustup is not used at all.Simon Sapin2020-01-021-10/+0
| | | | | | | | | | | | Linux WPT tasks on our CI don’t have rustup installed.
* | | Fix Python 3 support in mach’s `ensure_bootstrapped`Simon Sapin2020-01-021-2/+2
| | |
* | | Fix a Python 3 warningSimon Sapin2020-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | ``` /home/simon/projects/servo/python/servo/testing_commands.py:301: SyntaxWarning: "is not" with a literal. Did you mean "!="? if err is not 0: ```
* | | Install `rust-docs` rustup component in `./mach doc`Simon Sapin2020-01-022-5/+7
| | |
* | | mach + rustup: use the minimal profile and install rustc-devSimon Sapin2020-01-022-4/+9
| | |
* | | mach: always call `ensure_bootstrapped` before `call_rustup_run`Simon Sapin2020-01-022-1/+2
| | |
* | | mach: explicitly install the toolchain and target in `ensure_bootstrapped`Simon Sapin2020-01-021-5/+7
| | |
* | | mach: check rustup version in `ensure_bootstrapped()`Simon Sapin2020-01-021-16/+20
| | |
* | | mach: on Windows, opt into MSVC target for all uses of `rust_toolchain()`Simon Sapin2020-01-021-4/+5
| | |
* | | mach: run `rustup target add` in `ensure_bootstrapped`Simon Sapin2020-01-024-11/+12
| | |
* | | Mach: rename default_toolchain to rust_toolchainSimon Sapin2020-01-024-15/+10
| |/ |/|
* | Print OSMesa environment variables when starting debugger under WPT.Josh Matthews2019-12-202-5/+11
| |
* | Enable raqote by defaultpylbrecht2019-12-171-2/+2
| |
* | Add `layout-2020` option to the `.servobuild` fileSimon Sapin2019-12-161-2/+5
|/ | | | … and `--with-layout-2013` command-line option to disable it.
* Auto merge of #25255 - marmeladema:fix-25251, r=jdmbors-servo2019-12-121-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use filename instead of opened file descriptor when calling ZipFile This should fix #25251 <!-- 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: --> - [ ] `./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. -->
| * Use filename instead of already opened file descriptor when calling ZipFilemarmeladema2019-12-121-1/+1
| | | | | | | | This should fix #25251
* | Auto merge of #25247 - pshaughn:clean_virtualenv2.7, r=jdmbors-servo2019-12-121-1/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach clean now finds the right virtualenv to remove <!-- Please describe your changes on the following line: --> mach clean now knows about the https://github.com/servo/servo/commit/00cf7452ef2bcb272dafb09a711301a2ef280ae2 change and will remove _virtualenv2.7 appropriately --- <!-- 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 problems discussed today with SimonSapin in IRC <!-- Either: --> - [X] These changes do not require tests because the functionality being changed uninstalls some of the test framework <!-- 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. -->