aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|/
* Auto merge of #26122 - mamins1376:fix/26114, r=paulrougetbors-servo2020-05-281-10/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. -->
| * Add void packages to mach bootstrapMohammad Amin Sameti2020-05-231-10/+27
| |
* | Rename glutin port to winitatouchet2020-05-271-2/+2
| |
* | Partial preparations for upgrading to Rust nightly-2020-05-26Simon Sapin2020-05-261-1/+7
|/ | | | | CC https://github.com/servo/servo/issues/26661 Fixes https://github.com/servo/servo/issues/26645
* Fix file extension for Linux nightlycamelid2020-05-141-3/+3
|
* Only upload latest hashcamelid2020-05-131-7/+1
|
* Add integrity hash for nightly buildscamelid2020-05-131-0/+22
|
* Update Ubuntu version upto 20.04complexengine2020-04-301-1/+1
| | | Update Ubuntu version upto 20.04
* OSMesa is no longer a build dependencySimon Sapin2020-04-201-2/+2
| | | | Since https://github.com/servo/servo/pull/25853
* [python/servo/bootstrap.py] Add missing commaEllen Marie Dash2020-04-181-1/+1
| | | Add a missing comma in `pkgs_dnf` list.
* Auto merge of #25853 - asajeffrey:surfmanup, r=jdmbors-servo2020-04-183-48/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace glutin by winit + surfman 0.2 <!-- Please describe your changes on the following line: --> This PR updates surfman to 0.2, and replaces glutin with winit+surfman. --- <!-- 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 do not require tests because this should all be invisible <!-- 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. -->
| * Update surfman to 0.2 and remove glutinAlan Jeffrey2020-04-173-48/+3
| |
* | Auto merge of #26217 - servo:jdm-patch-40, r=asajeffreybors-servo2020-04-181-1/+3
|\ \ | | | | | | | | | | | | | | | Disable RUST_BACKTRACE in unit tests on macOS. This works around #26192 which is a new relatively frequent intermittent crash on CI.
| * | Disable RUST_BACKTRACE in unit tests on macOS.Josh Matthews2020-04-171-1/+3
| |/
* | Auto merge of #26207 - servo:jdm-patch-36, r=Manishearthbors-servo2020-04-171-17/+22
|\ \ | |/ |/| | | | | | | Publish new UWP package This fixes an issue where the latest UWP package is published at http://download.servo.org/nightly/uwp/servo-latest.0.0.0_Test.zip because the full filename contains "1.0.0.0" and we don't detect file extensions correctly.
| * Only create UWP archive if the app packages are signed.Josh Matthews2020-04-171-7/+9
| |
| * Remove version number from generated UWP archive.Josh Matthews2020-04-171-10/+13
| |
| * Find upload package extension correctly.Josh Matthews2020-04-161-2/+2
| |
* | Add VCINSTALLDIR to the 'do not run within vcvarsall' checkManish Goregaokar2020-04-161-2/+3
|/
* Auto merge of #26202 - emilio:gecko-sync, r=emiliobors-servo2020-04-161-1/+1
|\ | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See individual commits for details. https://bugzilla.mozilla.org/show_bug.cgi?id=1630676
| * python: Use updated mako path in package_commands.py.Emilio Cobos Álvarez2020-04-161-1/+1
| |
* | Auto merge of #26198 - Manishearth:vcvarsall-fail, r=jdmbors-servo2020-04-161-1/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | Report error when vcvarsall fails In trying to get my Windows cross build working on my desktop, I ended up spending a lot of time trying to replicate a failure within servo's build system that ultimately turned out to be vcvarsall silently failing (I was missing a trailing slash in my `VSINSTALLDIR` env var, which vcvarsall does not handle well at all) We should report an error when this happens. r? @jdm
| * Report error when vcvarsall failsManish Goregaokar2020-04-161-1/+5
| |
* | Update required clang-format version.Josh Matthews2020-04-151-1/+1
| |