aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #28193 - servo:jdm-patch-46, r=jdmbors-servo2021-02-251-1/+1
|\ | | | | | | Fix more python2isms
| * Fix encoding call.Josh Matthews2021-02-241-1/+1
| |
* | Auto merge of #27619 - servo:rustup, r=jdmbors-servo2021-02-252-2/+7
|\ \ | |/ |/| | | | | | | Upgrade to rustc 1.48.0-nightly (623fb90b5 2020-09-26) https://github.com/rust-lang/hashbrown/pull/159 reduced `size_of::<HashMap>()`
| * Silence the warning about `rustup --version` v.s. `rustc --version`Simon Sapin2021-01-261-1/+6
| |
| * Upgrade Xargo to v0.3.22Simon Sapin2021-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Auto merge of #28169 - servo:jdm-patch-49, r=jdmbors-servo2021-02-191-1/+1
|\ \ | | | | | | | | | | | | | | | Fix some residual python2isms Fixes nightly and doc builds.
| * | Fix str/bytes confusion when uploading to s3.Josh Matthews2021-02-191-1/+1
| | |
* | | Updat clang-fmt version check.Josh Matthews2021-02-191-1/+1
| | |
* | | Update to LLVM 11.Josh Matthews2021-02-181-1/+1
|/ /
* / Port some code to Python3Vincent Ricard2021-02-184-5/+14
|/
* Fix bootstrap error on Ubuntu 20.10Vincent Ricard2021-01-141-1/+1
|
* Add support for KDE neon in bootstrapSimon Schmeisser2020-12-271-1/+1
| | | it's based on Ubuntu but provides recent (User edition) or git versions of the KDE Plasma desktop environment and ecosystem
* Auto merge of #27748 - servo:jdm-patch-47, r=jdmbors-servo2020-11-131-3/+5
|\ | | | | | | | | | | Fix mac packaging with recent gstreamer. Fixes #27654.
| * Fix gstreamer packaging on mac.Josh Matthews2020-11-131-3/+5
| |
* | Use new S3 bucketsSimon Sapin2020-11-114-6/+6
|/ | | | CC https://github.com/servo/project/issues/25
* Enable gstreamer media stack for UWP targets.Josh Matthews2020-08-061-0/+1
|
* Auto merge of #27402 - kunalmohan:webgpu-cts, r=jdmbors-servo2020-08-041-2/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Improve intermittent filteringKunal Mohan2020-08-041-2/+12
| |
* | Support Linux Mint 20.04Wyatt Turner2020-08-021-1/+3
|/
* Ignore UWP restrictions for host binaries.Josh Matthews2020-07-301-4/+4
|
* Add more gstreamer plugins to nightly builds.Josh Matthews2020-07-272-4/+28
|
* Auto merge of #27372 - asajeffrey:add-ubuntu-libxcb-dependencies, r=jdmbors-servo2020-07-231-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Add libxcb dependencies to README and bootstrap.pyAlan Jeffrey2020-07-221-0/+1
| |
* | Auto merge of #27333 - jdm:package-macos, r=asajeffreybors-servo2020-07-211-1/+2
|\ \ | |/ |/| | | | | | | Include gstreamer plugins in macOS nightly package. Fixes #27318. Fixes #27332.
| * Add gstreamer plugins to nightly package.Josh Matthews2020-07-201-1/+2
| |
* | Add an implementation of the core float and clear placement logic in layoutPatrick Walton2020-07-201-3/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Load explicit set of gstreamer plugins on macos, and include them in the ↵Josh Matthews2020-07-163-54/+176
| | | | nightly package.
* Add `.servobuild` configuration for the choice of media stackSimon Sapin2020-07-061-5/+8
|
* Fix Gstreamer undefined symbol errorKunal Mohan2020-07-021-0/+1
|
* Auto merge of #26752 - ferjm:datachannel, r=Manishearthbors-servo2020-06-301-1/+3
|\ | | | | | | | | | | | | | | | | | | 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
| * Fix doc buildFernando Jiménez Moreno2020-06-301-1/+3
| |
* | Update Servo logo filesAlex Touchet2020-06-291-1/+1
|/
* Auto merge of #27007 - saschanaz:py3-flake, r=jdmbors-servo2020-06-218-42/+42
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Use except Exception where Py2/3 disagreesKagami Sascha Rosylight2020-06-213-4/+4
| |
| * Fix remaining flake8 warningsKagami Sascha Rosylight2020-06-216-25/+25
| |
| * Replace SubprocessError with FileNotFoundErrorKagami Sascha Rosylight2020-06-211-1/+1
| |
| * Fix new flake8 warningsKagami Sascha Rosylight2020-06-202-17/+17
| |
* | Auto merge of #27005 - saschanaz:py3-tidy, r=jdmbors-servo2020-06-211-2/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Do not raise StopIteration: PEP 479Kagami Sascha Rosylight2020-06-201-2/+4
| |
* | Auto merge of #27004 - saschanaz:py3-env, r=jdmbors-servo2020-06-202-6/+9
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Fix Py3 environment setting failuresKagami Sascha Rosylight2020-06-202-6/+9
| |
* | Fix Py3 failures when installing MSVC dependenciesKagami Sascha Rosylight2020-06-202-2/+3
|/
* Set Content-Type for sha256 uploads.Josh Matthews2020-06-191-1/+3
|
* support Pop!_OS 20.04Akshat Agarwal2020-06-151-1/+3
|
* Auto merge of #26720 - camelid:real-version-hash, r=SimonSapinbors-servo2020-06-061-2/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Use binary strings for compatibility with Python 3camelid2020-05-311-2/+2
| |
| * Don't fail if run on non-bundle commitcamelid2020-05-301-7/+19
| |
| * Add missing bracketscamelid2020-05-301-1/+1
| |
| * Get the real commit hash, not the bundle hashcamelid2020-05-301-2/+9
| | | | | | | | It's extracted from the commit message of the bundle.
* | Run only a supported set of WPT test types by default.Josh Matthews2020-06-031-0/+10
|/