Commit graph

1693 commits

Author SHA1 Message Date
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
camelid
02d69a0fda Get the real commit hash, not the bundle hash
It's extracted from the commit message of the bundle.
2020-05-30 17:30:22 -07:00
bors-servo
a243b0a741
Auto merge of #26122 - mamins1376:fix/26114, r=paulrouget
Support building on Void Linux

Adds support for building on Void Linux.

Since this distribution uses LibreSSL, currently it's not possible to link against it. So this adds `openssl-src` feature to corresponding crates in order to activate `openssl/vendored`.
Automatic activation of this feature on Void is also included in build system.

*Note*: #26117 will activate `openssl/vendored` by default. If that's the case, I will just keep the package names in `./mach`.

---
<!-- 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 #26114

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because AFAIK there is no way to check for required packages on each distro and they are manually checked.

<!-- 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-05-28 03:44:34 -04:00
atouchet
a33c75cbec Rename glutin port to winit 2020-05-27 20:27:15 -07:00
bors-servo
34a41f57c6
Auto merge of #26662 - servo:rustup, r=jdm
Partial preparations for upgrading to Rust nightly-2020-05-26

CC https://github.com/servo/servo/issues/26661
Fixes https://github.com/servo/servo/issues/26645
2020-05-27 02:55:17 -04:00
Simon Sapin
cfd62cf8dc Partial preparations for upgrading to Rust nightly-2020-05-26
CC https://github.com/servo/servo/issues/26661
Fixes https://github.com/servo/servo/issues/26645
2020-05-26 21:11:23 +02:00
Mohammad Amin Sameti
0b84208a0b Add void packages to mach bootstrap 2020-05-23 02:32:23 +04:30
Josh Matthews
4fec987221 Fix output of test-tidy with duplicated packages. 2020-05-20 14:19:47 -04:00
camelid
1b36a7cf96 Fix file extension for Linux nightly 2020-05-14 11:27:20 -07:00
camelid
6faccf6c3c Only upload latest hash 2020-05-13 11:47:53 -07:00
camelid
f1e37e2dd2 Add integrity hash for nightly builds 2020-05-13 10:03:02 -07:00
complexengine
399ee3fee7
Update Ubuntu version upto 20.04
Update Ubuntu version upto 20.04
2020-04-30 09:10:31 +05:30
Manish Goregaokar
c89dc821ba Add XRHand interface 2020-04-27 17:35:48 -07:00
Simon Sapin
f864697522 OSMesa is no longer a build dependency
Since https://github.com/servo/servo/pull/25853
2020-04-20 22:10:26 +02:00
Ellen Marie Dash
04c38042a8
[python/servo/bootstrap.py] Add missing comma
Add a missing comma in `pkgs_dnf` list.
2020-04-18 22:48:29 -04:00