aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Auto merge of #25354 - lberrymage:dom-domroot-lint-check, r=jdmbors-servo2019-12-213-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add &DomRoot<T> lint check So far, the lint check code appears to work as intended. However, some trait implementations require modification to pass the lint check and I'm not sure how to fix these. Commit 92cf5d5 attempts to correct one of the implementations, but fails to compile with error: ``` --> components/script/dom/servoparser/xml.rs:76:36 | 76 | tree_builder.trace_handles(&tracer); | ^^^^^^^ expected struct `dom::bindings::root::Dom`, found struct `dom::node::Node` | = note: expected struct `dom::bindings::root::Dom<dom::node::Node>` found struct `dom::node::Node` = note: required for the cast to the object type `dyn html5ever::tree_builder::Tracer<Handle = dom::bindings::root::Dom<dom::node::Node>>` ``` I've tried to debug further but to no avail. I also don't want to mangle too much existing code unnecessarily. Any help is appreciated. <!-- 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 - [X] `./mach test-tidy` does not report any errors `./mach test-tidy --all` does, and some are directly related to this PR - [ ] These changes fix #25342 The fix is a WIP <!-- Either: --> - [X] There are tests for these changes Note that I will clean up the commit history before the final PR. <!-- 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. -->
| * Add lint check for `&DomRoot<T>`lberrymage2019-12-213-1/+3
| | | | | | | | | | `&DomRoot<T> is strictly less expressive than `&T`, so using it is pointless.
* | 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.
* Make `mach test-tidy --self-test` compatible with Python3marmeladema2019-12-142-77/+77
|
* 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. -->
| * mach clean now finds the right virtualenvPatrick Shaughnessy2019-12-111-1/+2
| |
* | Fix tidiness errors for Python3 compatibility across whole repomarmeladema2019-12-113-11/+11
| |
* | Make `mach test-tidy --no-wpt` compatible with Python3marmeladema2019-12-112-66/+66
|/ | | | | Note: tidiness tests of Python file using flake8 was effectively broken since a previous commit for Python3 compatibility
* Auto merge of #24575 - marmeladema:issue-23607/compat, r=SimonSapinbors-servo2019-12-104-17/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable some mach commands to be run with python3 This change finally enable the following commands to be run with python3: * `build` * `test-unit` * `package` As previously explained, `test-tidy` will require more work in the wpt repository directly. Maybe `test-tidy --no-wpt` is achievable relatively quickly though. For possible remaining bits that might need to be worked on, see https://github.com/servo/servo/issues/23607 --- <!-- 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 <!-- Either: --> - [x] There are tests for these changes <!-- 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 is_linux to check for current platform instead of relying on sys.platformmarmeladema2019-12-101-3/+3
| |
| * Write subprocess stdout/stderr logs to raw stdout buffer when using Python3marmeladema2019-12-101-2/+11
| |
| * Replace usage of basestring by six.string_types for Python3 compatibilitymarmeladema2019-12-101-1/+2
| |
| * Properly open file as 'wb' in archive_deterministicallymarmeladema2019-12-101-2/+2
| |
| * Convert cmp= to key= in sort method call for Python3 compatibilitymarmeladema2019-12-091-1/+2
| |
| * Allow to run mach with Python3 (>=3.5)marmeladema2019-12-091-4/+5
| |
| * Update mach to version 1.0.0marmeladema2019-12-091-1/+1
| |
| * Allow to specify glob pattern for ignored directories in servo-tidy.tomlmarmeladema2019-12-091-2/+4
| |
| * Generate per python version virtualenvmarmeladema2019-12-091-1/+1
| |
* | Auto merge of #25219 - jdm:angle-uwp-up, r=paulrougetbors-servo2019-12-101-1/+1
|\ \ | |/ |/| | | | | | | Update ANGLE for UWP fix. This fixes a WACK error where the ANGLE DLLs do not contain the App Container feature.
| * Update ANGLE for UWP fix.Josh Matthews2019-12-091-1/+1
| |
* | Fix Python Unicode error in './mach filter-intermittents'Simon Sapin2019-12-051-5/+2
|/ | | | Fix https://github.com/servo/servo/issues/25062
* Fix Python Unicode error on macOS CISimon Sapin2019-12-031-3/+6
|
* Include test output in filtered WPT logsSimon Sapin2019-12-031-26/+25
|
* Support overriding the moztools path order.Josh Matthews2019-11-271-2/+8
|
* Add a .servobuild option for --with-debug-assertionsSimon Sapin2019-11-261-1/+2
|
* Auto merge of #24857 - pshaughn:master, r=jdmbors-servo2019-11-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add llvm-dev to Debian requirements <!-- 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 - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #24852 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it's the build process itself, not servo code <!-- 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. -->
| * Merge branch 'master' of https://github.com/pshaughn/servoPatrick Shaughnessy2019-11-231-0/+1
| |\
| * | llvm-dev is required on DebianPatrick Shaughnessy2019-11-231-1/+1
| | |
* | | Require gstreamer 1.16 in machAlan Jeffrey2019-11-252-4/+4
| |/ |/|
* | Auto merge of #24708 - szeged:webgpu-base, r=gterzian,kvarkbors-servo2019-11-251-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial implementation of WebGPU API <!-- Please describe your changes on the following line: --> - Added the WebIDL bindings for GPU and GPUadapter interfaces. - Created a background thread for WebGPU api calls. - Established the async communication between the background thread and the WebGPU interfaces. - Implemented the `requesAdapter` function of `navigator.gpu` `./mach test-tidy` reports an error due to the different `arrayvec` version used in `servo` and `webgpu`, so added it to the ignore list in `servo-tidy.toml` --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [ ] These changes addresses a part of #https://github.com/servo/servo/issues/24706 <!-- 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. --> cc @jdm, cc @kvark <!-- 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/24708) <!-- Reviewable:end -->
| * Initial implementation of WebGPU APIZakor Gyula2019-11-211-0/+1
| |
* | Extract media_stack pick into CommandBaseTuncer Ayaz2019-11-214-36/+16
| |
* | Allow media_stack in run_cargo_build_like_commandTuncer Ayaz2019-11-211-1/+1
| |
* | Implement `./mach check --media-stack`Tuncer Ayaz2019-11-214-10/+26
| | | | | | | | While at it, extract --media-stack flag into command_base.py.
* | Implement `./mach doc --media-stack={dummy|gstreamer}`Tuncer Ayaz2019-11-211-1/+22
| |
* | Fix needs_gstreamer_env() signatureTuncer Ayaz2019-11-211-1/+1
| | | | | | | | Use iterable default value for `features`.
* | Pass feature list to build_env()Tuncer Ayaz2019-11-212-4/+6
| |
* | Allow mach build to explicitly set the media stackAlan Jeffrey2019-11-211-1/+18
| | | | | | | | | | | | | | | | You can select the media backend by building as follows: $ ./mach build -d --media-stack=dummy or $ ./mach build -d --media-stack=gstreamer