aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* chore(mach): update the required clang-format version to 13yvt2021-10-161-1/+1
|
* chore(mach): update the required clang-format version to 12yvt2021-10-041-1/+1
|
* chore(mach): upgrade `blessings` to 1.7yvt2021-09-201-1/+1
|
* Auto merge of #28598 - witte:simpleservo-macos, r=jdmbors-servo2021-09-141-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix simpleservo binary check on macos <!-- Please describe your changes on the following line: --> When compiling libsimpleservo on MacOS 11.5.2 I would get an error at the end of the process saying ``` Error running mach: ['build', '-d', '--libsimpleservo'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: servo.command_base.BuildNotFound: No Servo binary found. Perhaps you forgot to run `./mach build`? File "/Users/yuriwitte/_HtmlTests/servo/python/servo/build_commands.py", line 734, in build self.get_binary_path(release, dev, target=target, simpleservo=libsimpleservo) File "/Users/yuriwitte/_HtmlTests/servo/python/servo/command_base.py", line 394, in get_binary_path raise BuildNotFound('No Servo binary found.' ``` The binary is there, it's just that `get_binary_path` on `command_base.py` checks for a libsimpleservo **.so** instead of a **.dylib**. This pr fixes this check. --- <!-- 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: didn't find a specific issue for this, but these two are also related to file extensions on MacOS: https://github.com/servo/servo/issues/27654 https://github.com/servo/servo/issues/27318 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because: they _are_ the tests I guess? <!-- 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. -->
| * Fix simpleservo binary check on macosYuri Witte2021-09-121-1/+6
| |
* | docs: clarify 'clean' commandFlorian-Schoenherr2021-08-211-2/+2
|/ | | | Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
* mach: cleanup after dropping Python 2 supportDavid Heidelberg2021-07-191-3/+3
| | | | Signed-off-by: David Heidelberg <david@ixit.cz>
* Auto merge of #28473 - jdm:codesign-build, r=jdmbors-servo2021-07-021-2/+2
|\ | | | | | | Enable codesigning for non-nightly UWP builds
| * Load codesigning secret without JSON.Josh Matthews2021-07-021-2/+2
| |
* | bootstrap: add support for Ubuntu 21.04Tristan Matthews2021-07-021-1/+1
| | | | | | | | Signed-off-by: Tristan Matthews <tmatth@videolan.org>
* | Auto merge of #28463 - mkg20001:nixos-mach, r=jdmbors-servo2021-06-251-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add NixOS support to mach and automatically re-launch mach in nix-shell <!-- Please describe your changes on the following line: --> This is a followup for #28454 which adds nixos support directly to mach, saving the user from typing `nix-shell` everytime --- <!-- 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 - [x] These changes do not require tests because they just extend 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. -->
| * | extend message about nixOS shellMaciej Krüger2021-06-211-2/+6
| | |
| * | add NixOS support to mach and automatically re-launch mach in nix-shellMaciej Krüger2021-06-041-0/+6
| |/
* / Use `#!/usr/bin/env bash` in shell scripts for NixOS compatibilityyvt2021-06-141-1/+1
|/ | | | Signed-off-by: yvt <i@yvt.jp>
* Add UWP builds to github actions.Josh Matthews2021-05-291-0/+5
|
* Convert more taskcluster jobs to Github Actions.Josh Matthews2021-05-231-1/+8
|
* Auto merge of #28408 - jdm:pyfixes, r=jdmbors-servo2021-05-032-2/+2
|\ | | | | | | | | | | Python3 fixes Fixes #28363.
| * Fix bytes/string py3 confusion.Josh Matthews2021-05-031-1/+1
| |
| * Fix deprecated gzipfile constructor argument.Josh Matthews2021-05-031-1/+1
| |
* | feat: fix build error on apple m1zhengrenzhe2021-04-241-12/+12
| |
* | build(deps): bump pyyaml from 5.1 to 5.4 in /python/tidydependabot[bot]2021-03-251-1/+1
| | | | | | | | | | | | | | | | Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4) Signed-off-by: dependabot[bot] <support@github.com>
* | Update mozdebug for py3 fixes.Josh Matthews2021-03-211-1/+1
| |
* | Update boto3Josh Matthews2021-03-141-1/+1
|/
* Auto merge of #27865 - servo:github-actions-dev, r=jdmbors-servo2021-03-112-14/+17
|\ | | | | | | Add Github Actions workflow for mac/linux/windows builds
| * Ensure clang-cl is always used in windows builds.Josh Matthews2021-02-262-9/+9
| |
| * Don't package gstreamer when it's disabled.Josh Matthews2021-02-261-5/+8
| |
* | Support extra arguments when running with --debug.Josh Matthews2021-03-051-1/+1
| |
* | add missing llvm package for fedoraSoveu2021-02-261-1/+1
| |
* | Auto merge of #27647 - jdm:build-std, r=SimonSapinbors-servo2021-02-253-6/+2
|\ \ | | | | | | | | | | | | | | | Use build-std instead of xargo. The changes to num-integer and indexmap are to work around https://github.com/cuviper/autocfg/issues/34.
| * | Use build-std instead of xargo.Josh Matthews2021-02-253-6/+2
| | |
* | | Port `./mach rustup` to Python 3Simon Sapin2021-02-251-3/+3
|/ /
* | Auto merge of #28193 - servo:jdm-patch-46, r=jdmbors-servo2021-02-251-1/+1
|\ \ | | | | | | | | | Fix more python2isms
| * | Fix encoding call.Josh Matthews2021-02-241-1/+1
| |/
* | Auto merge of #27619 - servo:rustup, r=jdmbors-servo2021-02-252-2/+7
|\ \ | |/ |/| | | | | | | Upgrade to rustc 1.48.0-nightly (623fb90b5 2020-09-26) https://github.com/rust-lang/hashbrown/pull/159 reduced `size_of::<HashMap>()`
| * Silence the warning about `rustup --version` v.s. `rustc --version`Simon Sapin2021-01-261-1/+6
| |
| * Upgrade Xargo to v0.3.22Simon Sapin2021-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a “Fix for changed rustc directory layout.” change: https://github.com/japaric/xargo/blob/master/CHANGELOG.md#v0322---2020-07-29 We use Xargo to compile rust-std for Windows UWP targets. I built `xargo.exe` on Taskcluster with task https://community-tc.services.mozilla.com/tasks/IHwGq_ViRpGuomBx82XmpQ created through https://community-tc.services.mozilla.com/tasks/create with this definition: ```yaml provisionerId: proj-servo workerType: win2016 schedulerId: taskcluster-github created: '2021-01-25T19:39:29.952Z' deadline: '2021-01-26T19:39:29.952Z' expires: '2022-01-25T19:39:29.952Z' payload: mounts: - file: rustup-init.exe content: url: https://win.rustup.rs/x86_64 command: - '%HOMEDRIVE%%HOMEPATH%\rustup-init.exe --profile=minimal -y' - set PATH=%HOMEDRIVE%%HOMEPATH%\.cargo\bin;%PATH% - |- cargo install xargo --version 0.3.22 copy %HOMEDRIVE%%HOMEPATH%\.cargo\bin\xargo.exe . artifacts: - name: public/xargo.exe path: xargo.exe type: file expires: '2022-01-25T15:07:23.782706Z' maxRunTime: 5400 metadata: name: Xargo build for Windows description: '' owner: infra@servo.org source: https://community-tc.services.mozilla.com/tasks/create ``` (Note the "update timestamps" button in the bottom-right menu.) I then created a ZIP file that contains `xargo-v0.3.22/xargo.exe` and uploaded it with `aws s3 cp ./xargo-v0.3.22.zip s3://servo-deps-2/msvc-deps/` where our build system can find it.
* | Auto merge of #28169 - servo:jdm-patch-49, r=jdmbors-servo2021-02-191-1/+1
|\ \ | | | | | | | | | | | | | | | Fix some residual python2isms Fixes nightly and doc builds.
| * | Fix str/bytes confusion when uploading to s3.Josh Matthews2021-02-191-1/+1
| | |
* | | Updat clang-fmt version check.Josh Matthews2021-02-191-1/+1
| | |
* | | Update to LLVM 11.Josh Matthews2021-02-181-1/+1
|/ /
* / Port some code to Python3Vincent Ricard2021-02-185-9/+18
|/
* Fix bootstrap error on Ubuntu 20.10Vincent Ricard2021-01-141-1/+1
|
* Add support for KDE neon in bootstrapSimon Schmeisser2020-12-271-1/+1
| | | it's based on Ubuntu but provides recent (User edition) or git versions of the KDE Plasma desktop environment and ecosystem
* Remove unneeded python dependencies.Josh Matthews2020-11-301-4/+0
|
* Auto merge of #27748 - servo:jdm-patch-47, r=jdmbors-servo2020-11-131-3/+5
|\ | | | | | | | | | | Fix mac packaging with recent gstreamer. Fixes #27654.
| * Fix gstreamer packaging on mac.Josh Matthews2020-11-131-3/+5
| |
* | Use new S3 bucketsSimon Sapin2020-11-114-6/+6
|/ | | | CC https://github.com/servo/project/issues/25
* Enable gstreamer media stack for UWP targets.Josh Matthews2020-08-061-0/+1
|
* Auto merge of #27402 - kunalmohan:webgpu-cts, r=jdmbors-servo2020-08-042-3/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a copy of WebGPU CTS to wpt. <!-- Please describe your changes on the following line: --> The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts We already have 6/44 tests passing and a number of subtests in other tests also pass. r?@jdm cc @kvark --- <!-- 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 #27395 (GitHub issue number if applicable) <!-- Either: --> - [X] These changes do not require tests because we don't have tests for 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. -->
| * Improve intermittent filteringKunal Mohan2020-08-041-2/+12
| |