Commit graph

1766 commits

Author SHA1 Message Date
marmeladema
17233f2dd2 Write subprocess stdout/stderr logs to raw stdout buffer when using Python3 2019-12-10 16:11:02 +00:00
marmeladema
176e63284e Replace usage of basestring by six.string_types for Python3 compatibility 2019-12-10 16:11:02 +00:00
marmeladema
267eaad4eb Properly open file as 'wb' in archive_deterministically 2019-12-10 16:10:58 +00:00
Josh Matthews
ba8c52854e Update ANGLE for UWP fix. 2019-12-09 14:40:33 -05:00
marmeladema
3f48f2863c Convert cmp= to key= in sort method call for Python3 compatibility 2019-12-09 19:31:46 +00:00
marmeladema
67c2c115c0 Allow to run mach with Python3 (>=3.5) 2019-12-09 19:31:46 +00:00
marmeladema
01c1a6c4c9 Update mach to version 1.0.0 2019-12-09 19:31:46 +00:00
marmeladema
76ff22f5d0 Allow to specify glob pattern for ignored directories in servo-tidy.toml 2019-12-09 19:31:46 +00:00
marmeladema
00cf7452ef Generate per python version virtualenv 2019-12-09 19:31:45 +00:00
Simon Sapin
7282839cf7 Fix Python Unicode error in './mach filter-intermittents'
Fix https://github.com/servo/servo/issues/25062
2019-12-05 15:48:39 +01:00
Simon Sapin
14f049ddd1 Fix Python Unicode error on macOS CI 2019-12-03 17:55:51 +01:00
Simon Sapin
0ac021c1a5 Include test output in filtered WPT logs 2019-12-03 16:49:23 +01:00
Josh Matthews
fcdf347d83
Support overriding the moztools path order. 2019-11-27 11:56:47 -05:00
Simon Sapin
c156bf2dd9 Add a .servobuild option for --with-debug-assertions 2019-11-26 16:36:24 +01:00
bors-servo
f1aa5d8dbd
Auto merge of #24857 - pshaughn:master, r=jdm
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. -->
2019-11-25 13:09:42 -05:00
Alan Jeffrey
57af033a28 Require gstreamer 1.16 in mach 2019-11-25 10:12:05 -06:00
bors-servo
ea32495504
Auto merge of #24708 - szeged:webgpu-base, r=gterzian,kvark
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 -->
2019-11-25 00:00:46 -05:00
Patrick Shaughnessy
a2a3ecac93 Merge branch 'master' of https://github.com/pshaughn/servo 2019-11-23 22:08:43 -05:00
Patrick Shaughnessy
f1b34aa995 llvm-dev is required on Debian 2019-11-23 22:06:39 -05:00
Tuncer Ayaz
81c439a899 Extract media_stack pick into CommandBase 2019-11-21 20:08:04 +00:00
Tuncer Ayaz
6d8f35c590 Allow media_stack in run_cargo_build_like_command 2019-11-21 20:08:04 +00:00
Tuncer Ayaz
d641585679 Implement ./mach check --media-stack
While at it, extract --media-stack flag into command_base.py.
2019-11-21 20:08:03 +00:00
Tuncer Ayaz
ba3169e65d Implement ./mach doc --media-stack={dummy|gstreamer} 2019-11-21 20:08:03 +00:00
Tuncer Ayaz
528322cfed Fix needs_gstreamer_env() signature
Use iterable default value for `features`.
2019-11-21 20:08:01 +00:00
Tuncer Ayaz
a3ef594470 Pass feature list to build_env() 2019-11-21 20:08:01 +00:00
Alan Jeffrey
4e3f164f7b Allow mach build to explicitly set the media stack
You can select the media backend by building as follows:

$ ./mach build -d --media-stack=dummy
or
$ ./mach build -d --media-stack=gstreamer
2019-11-21 20:08:01 +00:00
bors-servo
91b612f8df
Auto merge of #24692 - paulrouget:checkcpp-tc, r=jdm
Run test-tidy with CPP files check on Windows
2019-11-21 12:11:37 -05:00
Paul Rouget
b71774d8fe Run test-tidy on Windows 2019-11-21 09:56:39 +01:00
Zakor Gyula
12893aa010 Initial implementation of WebGPU API 2019-11-21 08:30:26 +01:00
Simon Sapin
889a8d1d7c Prepend -Ztimings=info, don’t append, so it can be overridden 2019-11-19 09:14:51 +01:00
Manish Goregaokar
77e3311bfb Update xargo 2019-11-18 00:27:27 -08:00
Simon Sapin
591d7ad6c1 Make Cargo print timing information to stdout
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
```
2019-11-16 14:11:52 +01:00
bors-servo
2caa227e10
Auto merge of #24567 - JoshMcguigan:mach-venv, r=SimonSapin
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?
2019-11-14 20:07:04 -05:00
bors-servo
eb05af27d2
Auto merge of #24711 - servo:rustc-dev, r=jdm
Make `./mach rustup` install the rustc-dev component
2019-11-13 01:55:15 -05:00
Simon Sapin
b7389a9637 Make ./mach rustup install the rustc-dev component 2019-11-12 13:57:46 +01:00
Jan Andre Ikenmeyer
c241442aec
Fix Debian bootstrap 2019-11-10 19:57:39 +01:00
bors-servo
748f10dfc3
Auto merge of #24662 - servo:tc-urls, r=jdm
Run a decision task on both TC deployments
2019-11-05 18:56:49 -05:00
Simon Sapin
08705345d6 Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or $TASKCLUSTER_ROOT_URL 2019-11-05 14:25:33 +01:00
Paul Rouget
b1753fea2d remove allfiles option for clang-format 2019-11-04 12:44:52 +01:00
bors-servo
f626355b67
Auto merge of #24552 - paulrouget:clangformat, r=jdm
mach fmt calls clang-format

Fix #24031

What would be the right way to also integrate this with tidy?
2019-11-04 04:48:20 -05:00
Paul Rouget
36c1669215 Format support/hololens/ 2019-11-04 07:05:06 +01:00
bors-servo
4ad08fff04
Auto merge of #24619 - gabrielmartin:gabrielmartin-fix-linuxmint-bootstrap, 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. -->
2019-11-01 20:55:44 -04:00
Patrick Walton
a358bca766 Use surfman for managing GL surfaces
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>
2019-11-01 08:47:11 -05:00
Gabe Martin
477cb8c181 fix: adding a check for Linux Mint with a space 2019-11-01 09:27:50 -04:00
Paul Rouget
70823e3032 Format CPP code with clang-format 2019-10-30 11:00:33 +01:00
Josh Mcguigan
ecc1244e59 mach bootstrap factor out common is_firefox check 2019-10-28 05:12:20 -07:00
Josh Mcguigan
01978ccf32 mach activate virtual env for bootstrap 2019-10-28 04:58:28 -07:00
bors-servo
b052a1a020
Auto merge of #24542 - jdm:angle-up, r=paulrouget
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
2019-10-28 05:32:45 -04:00
David Wagner
9483442007 Update the maximum version of Ubuntu suppported to 19.10 2019-10-27 22:14:27 +00:00
Josh Matthews
d59fd0fb65 Update to ANGLE 2.1.15 nuget package. 2019-10-25 13:35:32 -04:00