aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Auto merge of #24692 - paulrouget:checkcpp-tc, r=jdmbors-servo2019-11-213-45/+55
|\ | | | | | | Run test-tidy with CPP files check on Windows
| * Run test-tidy on WindowsPaul Rouget2019-11-213-45/+55
| |
* | Prepend `-Ztimings=info`, don’t append, so it can be overriddenSimon Sapin2019-11-191-1/+3
|/
* Update xargoManish Goregaokar2019-11-181-1/+1
|
* Make Cargo print timing information to stdoutSimon Sapin2019-11-161-0/+3
| | | | | | | | | | This adds lines such as ``` Completed cssparser v0.27.1 custom-build in 2.4s Completed cssparser v0.27.1 custom-build (run) in 0.6s Completed cssparser v0.27.1 in 1.1s ```
* Auto merge of #24567 - JoshMcguigan:mach-venv, r=SimonSapinbors-servo2019-11-141-4/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach bootstrap - activate virtual env This modifies the `./mach bootstrap` script to activate the python virtual environment, fixing issues on systems that don't have `six` and `distro` pre-installed. --- <!-- 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 #24561 (also relevant to #24541) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they are in the `./mach bootstrap` script - although this may be something that could be checked in CI - Is there any interest in setting this up?
| * mach bootstrap factor out common is_firefox checkJosh Mcguigan2019-10-281-7/+7
| |
| * mach activate virtual env for bootstrapJosh Mcguigan2019-10-281-0/+8
| |
* | Auto merge of #24711 - servo:rustc-dev, r=jdmbors-servo2019-11-131-1/+1
|\ \ | | | | | | | | | Make `./mach rustup` install the rustc-dev component
| * | Make `./mach rustup` install the rustc-dev componentSimon Sapin2019-11-121-1/+1
| | |
* | | Fix Debian bootstrapJan Andre Ikenmeyer2019-11-101-1/+1
|/ /
* | Auto merge of #24662 - servo:tc-urls, r=jdmbors-servo2019-11-051-1/+1
|\ \ | | | | | | | | | Run a decision task on both TC deployments
| * | Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or ↵Simon Sapin2019-11-051-1/+1
| | | | | | | | | | | | $TASKCLUSTER_ROOT_URL
* | | remove allfiles option for clang-formatPaul Rouget2019-11-041-5/+3
|/ /
* | Auto merge of #24552 - paulrouget:clangformat, r=jdmbors-servo2019-11-041-5/+47
|\ \ | | | | | | | | | | | | | | | | | | | | | mach fmt calls clang-format Fix #24031 What would be the right way to also integrate this with tidy?
| * | Format support/hololens/Paul Rouget2019-11-041-1/+1
| | |
| * | Format CPP code with clang-formatPaul Rouget2019-10-301-5/+47
| | |
* | | Auto merge of #24619 - gabrielmartin:gabrielmartin-fix-linuxmint-bootstrap, ↵bors-servo2019-11-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=jdm Adding a check for "Linux Mint" with a space <!-- Please describe your changes on the following line: --> While trying to run `./mach bootstrap` on Linux Mint I encountered the following error: ``` $ ./mach bootstrap Traceback (most recent call last): File "./mach", line 103, in <module> main(sys.argv) File "./mach", line 31, in main sys.exit(mach_bootstrap.bootstrap_command_only(topdir)) File "/home/gmartin/servo/python/mach_bootstrap.py", line 234, in bootstrap_command_only bootstrap(context, force) File "/home/gmartin/servo/python/servo/bootstrap.py", line 403, in bootstrap distrib, version = get_linux_distribution() File "/home/gmartin/servo/python/servo/bootstrap.py", line 391, in get_linux_distribution raise Exception('mach bootstrap does not support %s, please file a bug' % distrib) Exception: mach bootstrap does not support Linux Mint, please file a bug ``` The solution is to add another check for Linux Mint which included a space in the distro name. Question: Is it generally a requirement to open an issue if I also have the fix ready to go (as is the case here)? --- <!-- 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: --> - [X] These changes do not require tests because I couldn't find any existing unit tests for [python/servo/bootstrap.py](python/servo/bootstrap.py) <!-- 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: adding a check for Linux Mint with a spaceGabe Martin2019-11-011-1/+1
| |/ /
* / / Use surfman for managing GL surfacesPatrick Walton2019-11-012-4/+7
|/ / | | | | | | | | | | Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* | Auto merge of #24542 - jdm:angle-up, r=paulrougetbors-servo2019-10-281-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update UWP ANGLE to a modern version The previous UWP ANGLE builds were made from https://github.com/servo/ms-angle/tree/servo-master which was based on an abandoned revision of ANGLE from >2 years ago. This is lacking some features that are necessary for https://github.com/servo/webxr/issues/46, so this is a new build produced from https://github.com/google/angle/ instead. I've documented the process for releasing new ANGLE builds at https://github.com/servo/servo/wiki/Publishing-a-new-ANGLE-NuGet-version. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24199 - [x] These changes do not require tests because the windows testing situation is sad, and the UWP testing situation is sadder
| * | Update to ANGLE 2.1.15 nuget package.Josh Matthews2019-10-251-1/+1
| |/
* / Update the maximum version of Ubuntu suppported to 19.10David Wagner2019-10-271-1/+1
|/
* Add `./mach test-tidy --no-wpt`, for a git pre-push hookSimon Sapin2019-10-241-2/+7
| | | | | | | | | | | | | | | Disabling WPT manifest checking brings the time it takes to run tidy for ~11 seconds to ~3 seconds, which feels reasonable to have in a git pre-push hook. This can help avoid forgetting to run tidy before opening a PR. ``` $ chmod +x .git/hooks/pre-push $ cat .git/hooks/pre-push #!/bin/sh set -e ./mach test-tidy --no-wpt ```
* Use input() from six instead of raw_input to be compatible with Python3marmeladema2019-10-221-1/+2
|
* Use 'byte' regexp pattern to match on 'byte' stringmarmeladema2019-10-221-1/+1
| | | | This is done in order to be compatible with Python3
* Convert git sha hash to text to be compatible with Python3marmeladema2019-10-221-1/+1
| | | | | This also pin the six module version to 1.12 in order to be sure six.ensure_text is available.
* Use six.text_type instead of str to check instance typemarmeladema2019-10-221-2/+2
|
* Fix call to flake8 broken when using distro module during test-tidymarmeladema2019-10-221-16/+7
|
* Use linux_distribution() from distro package instead of builtin platform modulemarmeladema2019-10-203-17/+25
| | | | | platform.linux_distribution() is deprecated since Python 3.5 and will be removed with Python 3.8.
* Pin six module version to 1.12marmeladema2019-10-201-1/+1
|
* Use relative import statements to be compatible with Python3marmeladema2019-10-202-2/+2
|
* Replace call to execfile(...) by call to exec(compile(open(...)))marmeladema2019-10-202-6/+6
| | | | This is done in order to be compatible with Python3
* Auto merge of #24447 - servo:uninit, r=noxbors-servo2019-10-161-0/+4
|\ | | | | | | | | | | Work around deprecation warnings caused by autocfg $RUSTFLAGS handling See https://github.com/servo/servo/issues/24446
| * Work around deprecation warnings caused by autocfg $RUSTFLAGS handlingSimon Sapin2019-10-151-0/+4
| | | | | | | | See https://github.com/servo/servo/issues/24446
* | Auto merge of #24435 - marmeladema:issue-23607/compat, r=jdmbors-servo2019-10-1612-56/+69
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue 23607: first pass of changes for compatibility with Python3 As much as i want to migrate entirely to Python3 (see #23607), it will require some time as changes in web-platform-tests are significant and rely on upstream fixes to be merged and synced downstream. In the meantime, lets improve compatibility with Python3 so that later, migration will be less painful. Build system is definitely not ready yet for Python3, but its a step in the right direction. --- <!-- 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 <!-- 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 StringIO module import to be compatible with Python3marmeladema2019-10-162-4/+4
| | |
| * | Use iteritems from six module for Python3 compatibilitymarmeladema2019-10-162-5/+7
| | |
| * | Use octal literal syntax compatible with Python3marmeladema2019-10-161-1/+1
| | |
| * | Fix except statement in order to be compatible with Python3marmeladema2019-10-162-4/+4
| | |
| * | Use urllib from six module in order to be compatible with Python3marmeladema2019-10-168-28/+28
| | |
| * | Add six module to python requirements.txt for Python3 compatibilitymarmeladema2019-10-161-0/+3
| | |
| * | Improve print statement compatibility with Python3marmeladema2019-10-164-16/+24
| |/