aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
Commit message (Collapse)AuthorAgeFilesLines
* Use surfman for managing GL surfacesPatrick Walton2019-11-012-4/+7
| | | | | | 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>
* Auto merge of #24542 - jdm:angle-up, r=paulrougetbors-servo2019-10-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Update to ANGLE 2.1.15 nuget package.Josh Matthews2019-10-251-1/+1
| |
* | Update the maximum version of Ubuntu suppported to 19.10David Wagner2019-10-271-1/+1
|/
* Add `./mach test-tidy --no-wpt`, for a git pre-push hookSimon Sapin2019-10-241-2/+7
| | | | | | | | | | | | | | | Disabling WPT manifest checking brings the time it takes to run tidy for ~11 seconds to ~3 seconds, which feels reasonable to have in a git pre-push hook. This can help avoid forgetting to run tidy before opening a PR. ``` $ chmod +x .git/hooks/pre-push $ cat .git/hooks/pre-push #!/bin/sh set -e ./mach test-tidy --no-wpt ```
* Use input() from six instead of raw_input to be compatible with Python3marmeladema2019-10-221-1/+2
|
* Use 'byte' regexp pattern to match on 'byte' stringmarmeladema2019-10-221-1/+1
| | | | This is done in order to be compatible with Python3
* Convert git sha hash to text to be compatible with Python3marmeladema2019-10-221-1/+1
| | | | | This also pin the six module version to 1.12 in order to be sure six.ensure_text is available.
* Use six.text_type instead of str to check instance typemarmeladema2019-10-221-2/+2
|
* Use linux_distribution() from distro package instead of builtin platform modulemarmeladema2019-10-202-17/+24
| | | | | platform.linux_distribution() is deprecated since Python 3.5 and will be removed with Python 3.8.
* Use relative import statements to be compatible with Python3marmeladema2019-10-201-1/+1
|
* Replace call to execfile(...) by call to exec(compile(open(...)))marmeladema2019-10-201-5/+5
| | | | This is done in order to be compatible with Python3
* Auto merge of #24447 - servo:uninit, r=noxbors-servo2019-10-161-0/+4
|\ | | | | | | | | | | Work around deprecation warnings caused by autocfg $RUSTFLAGS handling See https://github.com/servo/servo/issues/24446
| * Work around deprecation warnings caused by autocfg $RUSTFLAGS handlingSimon Sapin2019-10-151-0/+4
| | | | | | | | See https://github.com/servo/servo/issues/24446
* | Auto merge of #24435 - marmeladema:issue-23607/compat, r=jdmbors-servo2019-10-1610-44/+51
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue 23607: first pass of changes for compatibility with Python3 As much as i want to migrate entirely to Python3 (see #23607), it will require some time as changes in web-platform-tests are significant and rely on upstream fixes to be merged and synced downstream. In the meantime, lets improve compatibility with Python3 so that later, migration will be less painful. Build system is definitely not ready yet for Python3, but its a step in the right direction. --- <!-- 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 <!-- 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 StringIO module import to be compatible with Python3marmeladema2019-10-161-2/+2
| | |
| * | Use iteritems from six module for Python3 compatibilitymarmeladema2019-10-161-3/+4
| | |
| * | Use octal literal syntax compatible with Python3marmeladema2019-10-161-1/+1
| | |
| * | Fix except statement in order to be compatible with Python3marmeladema2019-10-162-4/+4
| | |
| * | Use urllib from six module in order to be compatible with Python3marmeladema2019-10-168-28/+28
| | |
| * | Improve print statement compatibility with Python3marmeladema2019-10-163-8/+14
| |/
* | Auto merge of #24451 - servo:jdm-patch-36, r=manishearthbors-servo2019-10-161-2/+16
|\ \ | | | | | | | | | | | | | | | Restore convenience UWP build flags. Restores the build flags removed in 5367da98f86fa0fd033791bc8f48b640e31bba91 to avoid mistakes when specifying the new target.
| * | Fix syntax error.Josh Matthews2019-10-151-1/+1
| | |
| * | Restore convenience UWP build flags.Josh Matthews2019-10-151-2/+16
| |/
* / Allow setting GST_DEBUG on Android through machFernando Jiménez Moreno2019-10-141-0/+3
|/
* Support building UWP with native UWP rustc target.Josh Matthews2019-10-123-17/+16
|
* Create a zip of all UWP packaging artifacts.Josh Matthews2019-10-101-1/+9
|
* Allow building and cleaning for UWP without system GStreamerFernando Jimenez Moreno2019-10-081-2/+4
|
* Auto merge of #24359 - servo:jdm-patch-31, r=jdmbors-servo2019-10-041-35/+0
|\ | | | | | | | | | | | | | | | | | | | | Remove intermittent failure reporting. The frequency with which we hit https://github.com/servo/intermittent-failure-tracker/issues/5 means that this is hurting us more than it helps. <!-- 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/24359) <!-- Reviewable:end -->
| * Remove intermittent failure reporting.Josh Matthews2019-10-041-35/+0
| |
* | Use correct OpenSSL arch in UWP builds.Josh Matthews2019-10-031-1/+1
|/
* Update to UWP compatible OpenSSL build.Josh Matthews2019-10-023-3/+6
|
* Isolate UWP builds from external gstreamersManish Goregaokar2019-10-021-0/+4
|
* Bump gstreamer-uwp msvc-package to 1.16.0.5Manish Goregaokar2019-10-011-1/+1
| | | | This new package contains a hacky gstreamer-webrtc-1.0.pc file so that we can still do self-contained builds without relying on external PKG_CONFIG_PATH.
* Allow playing video/webm on WindowsFernando Jiménez Moreno2019-09-241-0/+1
|
* Auto merge of #24260 - paulrouget:miscUWP, r=jdmbors-servo2019-09-211-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Some small UWP improvements - isolate the default url in its own file. As we keep tweaking it. - allow code generation and local network connections - cleaning the newly introduce AppPackages directory <!-- 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/24260) <!-- Reviewable:end -->
| * Cleanup AppPackages on mach cleanPaul Rouget2019-09-211-0/+1
| |
* | Auto merge of #24185 - jdm:uwp-native-build, r=asajeffreybors-servo2019-09-201-0/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix many WACK errors These changes ensure that all native dependencies are built with the compiler flags that will prevent forbidden API uses. They also incorporate a fork of rand_os that backports UWP support from more recent rand releases. This is necessary in the short term to avoid having to wait for the entire ecosystem to migrate to the most recent rand release. Depends on https://github.com/servo/mozjs/pull/200 and https://github.com/servo/rust-mozjs/pull/471. --- - [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 no windows WACK tests <!-- 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/24185) <!-- Reviewable:end -->
| * Build native dependencies with UWP compatibility.Josh Matthews2019-09-161-0/+5
| |
* | Auto merge of #24226 - paulrouget:openxrup, r=jdmbors-servo2019-09-171-0/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenXR loader update Fix #24181 <!-- 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/24226) <!-- Reviewable:end -->
| * | "mach clean" cleans uwp artifactsPaul Rouget2019-09-171-0/+20
| | |
* | | Auto merge of #24149 - jdm:opt-in-msbuild, r=paulrougetbors-servo2019-09-173-77/+97
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Add explicit packaging step for UWP apps <!-- 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/24149) <!-- Reviewable:end -->
| * | Make APPX build part of package command. Add nightly build for UWP.Josh Matthews2019-09-123-77/+97
| |/
* | Auto merge of #24197 - Manishearth:vs-crt, r=jdmbors-servo2019-09-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull in CRT runtime on VS 2019 as well Building for x64 UWP leads to the build system complaining about this DLL not being in the target/ folder. I think these three VS versions are the only ones we support, perhaps we should remove this check entirely and unconditionally include this DLL? r? @jdm <!-- 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/24197) <!-- Reviewable:end -->
| * | Pull in CRT runtime on VS 2019 as wellManish Goregaokar2019-09-111-1/+1
| |/
* / Use updated gstreamer binaries for UWP.Josh Matthews2019-09-111-1/+1
|/
* Don't run msbuild if packaging failedManish Goregaokar2019-09-041-1/+1
|
* Use OpenXR Loader from NuGetManish Goregaokar2019-09-041-29/+0
|
* Call gstreamer_root with top_dir string, not func.Joel Martin2019-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 72e28dffcdf560543d312abc0ec4ff76b7c7dfaf introduced a build regression on Linux when resolving the in-tree gstreamer libs. The error: ------------------------------------ $ ./mach build --release ... The details of the failure are as follows: AttributeError: 'function' object has no attribute 'endswith' File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/build_commands.py", line 237, in build env = self.build_env(target=target, is_build=True) File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 646, in build_env if self.needs_gstreamer_env(target or host_triple(), env): File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 574, in needs_gstreamer_env if path.isdir(gstreamer_root(effective_target, env, self.get_top_dir)): File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 257, in gstreamer_root return path.join(topdir, "support", "linux", "gstreamer", "gst") File "/usr/lib/python2.7/posixpath.py", line 70, in join elif path == '' or path.endswith('/'): ------------------------------------ The problem is that get_top_dir is being passed as a function to gstreamer_root in a couple of places instead of being invoked first.
* Auto merge of #24063 - paulrouget:missingAdb, r=jdmbors-servo2019-08-271-0/+1
|\ | | | | | | | | | | | | | | | | | | | | Download platform-tools even for non-emulator builds `mach install --android` fails because adb is missing. <!-- 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/24063) <!-- Reviewable:end -->