Commit graph

1707 commits

Author SHA1 Message Date
Simon Sapin
33651a94ed Upgrade Xargo to v0.3.22
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.
2021-01-26 09:14:44 +01:00
Vincent Ricard
02e9fc6ff9 Fix bootstrap error on Ubuntu 20.10 2021-01-14 20:00:20 +01:00
Simon Schmeisser
526faa03f4
Add support for KDE neon in bootstrap
it's based on Ubuntu but provides recent (User edition) or git versions of the KDE Plasma desktop environment and ecosystem
2020-12-27 21:34:11 +01:00
Josh Matthews
f0e8d6ee80
Remove unneeded python dependencies. 2020-11-30 09:04:21 -05:00
bors-servo
917fd001fe
Auto merge of #27748 - servo:jdm-patch-47, r=jdm
Fix mac packaging with recent gstreamer.

Fixes #27654.
2020-11-13 11:56:22 -05:00
Josh Matthews
19b9314b48 Fix gstreamer packaging on mac. 2020-11-13 11:55:56 -05:00
Simon Sapin
68b5657575 Use new S3 buckets
CC https://github.com/servo/project/issues/25
2020-11-11 21:02:51 +01:00
Josh Matthews
261cf4f641 Enable gstreamer media stack for UWP targets. 2020-08-06 18:27:59 -04:00
bors-servo
9fbdbddb0c
Auto merge of #27402 - kunalmohan:webgpu-cts, r=jdm
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. -->
2020-08-04 14:12:45 -04:00
Kunal Mohan
75fb6ca589 Improve intermittent filtering 2020-08-04 21:42:53 +05:30
Wyatt Turner
8b89688b48 Support Linux Mint 20.04 2020-08-02 21:55:39 -07:00
Josh Matthews
64df2c2d60 Fix tidy check when no duplicate versions present. 2020-07-31 10:42:01 -04:00
Kunal Mohan
32a4104f4a changes made for cts to work 2020-07-31 11:07:19 +05:30
Josh Matthews
f21b045cb4
Ignore UWP restrictions for host binaries. 2020-07-30 10:11:12 -04:00
Josh Matthews
4e3621e91e Add more gstreamer plugins to nightly builds. 2020-07-27 23:22:41 -04:00
bors-servo
7eda4d2d86
Auto merge of #27377 - CYBAI:fix-apostrophes, r=jdm
Handle apostrophes for whatwg URL tidy 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
- [x] These changes fix #27366
- [x] These changes do not require tests because it will improve the tidy check for WHATWG URL

<!-- 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. -->
2020-07-24 12:41:39 -04:00
bors-servo
b5710861ec
Auto merge of #27372 - asajeffrey:add-ubuntu-libxcb-dependencies, r=jdm
Add libxcb dependencies to README and bootstrap.py

<!-- Please describe your changes on the following line: -->

Gets servo to build on Ubuntu xenial+ again.

---
<!-- 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 #27327
- [x] These changes do not require tests because it's fixing build breakage

<!-- 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. -->
2020-07-23 11:07:32 -04:00
CYBAI
584e031530 Handle apostrophes for whatwg URL tidy check 2020-07-23 13:05:04 +09:00
Alan Jeffrey
17e49aa25a Add libxcb dependencies to README and bootstrap.py 2020-07-22 16:46:48 -05:00
bors-servo
863a7ee08b
Auto merge of #27333 - jdm:package-macos, r=asajeffrey
Include gstreamer plugins in macOS nightly package.

Fixes #27318. Fixes #27332.
2020-07-21 16:13:22 -04:00
Patrick Walton
5b36d211b4 Add an implementation of the core float and clear placement logic in layout
2020, not yet wired to the rest of layout.

This commit implements an object that handles the 10 rules in CSS 2.1:

https://www.w3.org/TR/CSS2/visuren.html#float-position

The implementation strategy is that of a persistent balanced binary search tree
of float bands. Binary search trees are commonly used for implementing float
positioning; e.g. by WebKit.  Persistence enables each object that interacts
with floats to efficiently contain a snapshot of the float list at the time
that object was laid out. That way, incremental layout can invalidate and start
reflow at any point in a containing block.

This commit features extensive use of
[QuickCheck](https://github.com/BurntSushi/quickcheck) to ensure that the rules
of the CSS specification are followed.

Because this is not yet connected to layout, floats will not actually be laid
out in Web pages yet.

Note that unit tests as set up in Servo currently require types that they
access to be public. Therefore, some internal layout 2020 types that were
previously private have been made public. This is somewhat unfortunate.

Part of #25167.
2020-07-20 12:42:34 -07:00
Josh Matthews
919e9e39f6 Add gstreamer plugins to nightly package. 2020-07-20 14:27:35 -04:00
Josh Matthews
72040be69b Load explicit set of gstreamer plugins on macos, and include them in the nightly package. 2020-07-16 22:42:22 -04:00
bors-servo
cbbbe16936
Auto merge of #27088 - jdm:group, r=ferjm
Implement Console grouping APIs.

These are used by Hubs and other sites we want to run.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #9274
- [x] These changes do not require tests because we can't test stdout content or devtools messages.
2020-07-07 01:24:03 -04:00
Josh Matthews
2d7effddef Implement Console grouping APIs. 2020-07-06 19:36:26 -04:00
Simon Sapin
1a8c5fed6f Add .servobuild configuration for the choice of media stack 2020-07-06 17:34:17 +02:00
Kunal Mohan
c0df7e0a9a Fix Gstreamer undefined symbol error 2020-07-02 21:04:05 +05:30
bors-servo
4b034ede46
Auto merge of #26752 - ferjm:datachannel, r=Manishearth
WebRTC data channels support

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #26212

This depends on https://github.com/servo/media/pull/350 and contains the basic pieces to make a  simple test like https://ferjm.github.io/samples/src/content/datachannel/basic/ work
2020-06-30 13:53:32 -04:00
Fernando Jiménez Moreno
c2968fa2e5 Fix doc build 2020-06-30 17:38:18 +02:00
Alex Touchet
c379b65307
Update Servo logo files 2020-06-29 23:20:54 -07:00
bors-servo
3f999ce785
Auto merge of #27007 - saschanaz:py3-flake, r=jdm
Upgrade flake8/pyflakes for Py3 compatibility

<!-- 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
- [ ] 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. -->
2020-06-21 11:35:20 -04:00
bors-servo
fde47f8937
Auto merge of #27005 - saschanaz:py3-tidy, r=jdm
Do not raise StopIteration: PEP 479

<!-- Please describe your changes on the following line: -->

This fixes `test-tidy` Py3 compatibility, as [PEP 479](https://www.python.org/dev/peps/pep-0479/) says `return` must be used to stop iteration inside generator instead of `raise StopIteration`.

This introduces subtle behavior change where `FileList()` constructor now won't implicitly stop the caller generator when the list is empty. `wpt_lint.py` is modified to explicitly stop when empty, to match the change.

---
<!-- 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. -->
2020-06-21 02:19:55 -04:00
Kagami Sascha Rosylight
1d2e618e5b Return early when no merge base commit 2020-06-21 05:26:55 +02:00
Kagami Sascha Rosylight
57eed5baa4 Use except Exception where Py2/3 disagrees 2020-06-21 04:30:23 +02:00
Kagami Sascha Rosylight
d01648d637 Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
Kagami Sascha Rosylight
c953931621 Replace SubprocessError with FileNotFoundError 2020-06-21 01:13:31 +02:00
Kagami Sascha Rosylight
96b8f39277 Fix new flake8 warnings 2020-06-20 23:53:49 +02:00
Kagami Sascha Rosylight
98a40a432c Upgrade flake8/pyflakes for Py3 compatibility 2020-06-20 23:33:16 +02:00
Kagami Sascha Rosylight
97bfab73b4 Initialize colorama only once 2020-06-20 22:36:54 +02:00
Kagami Sascha Rosylight
90449ae147 Do not raise StopIteration: PEP 479 2020-06-20 21:46:28 +02:00
bors-servo
232d9269e7
Auto merge of #27004 - saschanaz:py3-env, r=jdm
Fix Py3 environment setting failures

<!-- Please describe your changes on the following line: -->

`python3 mach build -d` now proceeds to actual build. Since Gecko landed full Python 3 support, updating mozjs should allow us to drop Python 2 to build Servo. (I still see failures on other commands e.g. `test-tidy`.)

---
<!-- 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. -->
2020-06-20 14:11:51 -04:00
Kagami Sascha Rosylight
a202a1d5b6 Fix Py3 environment setting failures 2020-06-20 17:36:01 +02:00
Kagami Sascha Rosylight
74e0d02c03 Fix Py3 failures when installing MSVC dependencies 2020-06-20 16:40:01 +02:00
Josh Matthews
e65b4489d1
Set Content-Type for sha256 uploads. 2020-06-19 00:43:36 -04:00
Akshat Agarwal
1d789867d2 support Pop!_OS 20.04 2020-06-15 04:05:34 +05:30
bors-servo
51fd0e83e9
Auto merge of #26720 - camelid:real-version-hash, r=SimonSapin
Show the real commit hash for `./servo --version`, not the bundle hash

<!-- Please describe your changes on the following line: -->
Show the real commit hash of the build when run on a bundle commit, rather than showing the bundle's hash.

It gets the real commit hash by extracting it from the bundle commit message, which has the form `Shallow version of commit {sha1}`, where `{sha1}` is the real commit hash.

---
<!-- 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 (edits Python code, no Rust changes)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #26386 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this only changes infrastructure

<!-- 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. -->
2020-06-06 11:40:22 -04:00
Josh Matthews
21b670fad8 Run only a supported set of WPT test types by default. 2020-06-03 16:37:59 -04:00
camelid
2e5ad99022 Use binary strings for compatibility with Python 3 2020-05-31 09:20:08 -07:00
camelid
e362538bf2 Don't fail if run on non-bundle commit 2020-05-30 17:56:18 -07:00
camelid
dd4a558ce5 Add missing brackets 2020-05-30 17:42:34 -07:00