aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #16395 - UK992:msvc2017, r=metajackbors-servo2017-06-161-2/+2
|\ | | | | | | | | | | | | | | | | | | | | Bootstrap: Fix cmake version parsing Fixes https://github.com/servo/servo/issues/16387 <!-- 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/16395) <!-- Reviewable:end -->
| * Bootstrap: Fix cmake version parsingUK9922017-05-091-2/+2
| |
* | Auto merge of #17276 - servo:jdm-patch-3, r=mbrubeckbors-servo2017-06-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use new ARM target for nightly upload. This should fix #17275 after the changes in #17008. <!-- 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/17276) <!-- Reviewable:end -->
| * | Use new ARM target for nightly upload.Josh Matthews2017-06-121-1/+1
| | |
* | | Auto merge of #17240 - o0Ignition0o:openssl_from_mirror, r=jdmbors-servo2017-06-121-1/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #17079 : Changed the openssl url and bumped the version. <!-- Please describe your changes on the following line: --> Changed the openssl url and bumped the version. It's a wip because I haven't figured out a relevant way to write a test about it yet. --- <!-- 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 #17079 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because The mach command will fail if anything goes wrong. <!-- 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. --> <!-- 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/17240) <!-- Reviewable:end -->
| * | Changed the openssl url and bumped the version. Refactored the openssl.sh ↵Jeremy Lempereur2017-06-121-1/+2
| | | | | | | | | | | | script to avoid version duplication in the code.
* | | Auto merge of #16752 - jdm:css-parse-error, r=SimonSapinbors-servo2017-06-091-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report more informative CSS errors This requires https://github.com/servo/rust-cssparser/pull/143 for the final commit. There's no better way to split that work up, unfortunately, and it's extremely easy to bitrot. I would appreciate if we could expedite reviewing this work. This is the work necessary to enable https://bugzilla.mozilla.org/show_bug.cgi?id=1352669. It makes sense to merge it separately because it's so much effort to keep it up to date with the ongoing Stylo work. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- 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/16752) <!-- Reviewable:end -->
| * | | Thread ParseError return values through CSS parsing.Josh Matthews2017-06-091-0/+9
| | | |
* | | | Allow running selectors tests with test-unit.Josh Matthews2017-06-091-0/+8
|/ / /
* | | Set the initial disk image size for mac packages.Josh Matthews2017-06-051-1/+5
| | | | | | | | | | | | Various stackoverflow answers suggest that setting an initial size can avoid errors while resizing the disk during the process of creating it.
* | | Make armv7-linux-androideabi default target on Android Imanol Fernandez2017-05-312-3/+20
|/ /
* | Shim subprocess.DEVNULL for Python 2Aneesh Agrawal2017-05-301-7/+9
| | | | | | | | This was introduced in Python 3.3, so provide our own version.
* | Fix `./mach upload-nightly macbrew`Aneesh Agrawal2017-05-302-3/+44
| |
* | Improve `clean-cargo-cache`UK9922017-05-251-19/+20
| |
* | Auto merge of #16565 - aneeshusa:move-upload-nightly-script-to-python, ↵bors-servo2017-05-221-1/+121
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=metajack Convert nightly upload script to Python Now that MinGW and MSYS have been removed from the Windows builders, bash is not available to run the previous upload_nightlies.sh script. Convert the script to Python 2 for cross-platform support. Additionally, switch to the `boto3` library for easy uploading without needing to install `s3cmd`, and move the code into mach for easy `boto3` installation as the new `./mach upload-nightly` command. Also, hard-code the paths to the packages instead of using globs to look for them, as the paths are static. (The paths used to contain timestamps, but we now insert timestamps when uploading to S3 to improve reproducibility.) <!-- 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 - [x] These changes fix #16560 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because Buildbot will test them. <!-- 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. --> <!-- 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/16565) <!-- Reviewable:end -->
| * | Move nightly upload script into MachAneesh Agrawal2017-05-201-1/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that MinGW and MSYS have been removed from the Windows builders, bash is not available to run the previous upload_nightlies.sh script. Convert the script to Python 2 for cross-platform support. Additionally, switch to the `boto3` library for easy uploading without needing to install `s3cmd`, and move the code into mach for easy `boto3` installation as the new `./mach upload-nightly` command. Also, hard-code the paths to the packages instead of using globs to look for them, as the paths are static. (The paths used to contain timestamps, but we now insert timestamps when uploading to S3 to improve reproducibility.)
* | | Update WR (Intel driver workaround, subpixel and other bugfixes).Glenn Watson2017-05-221-0/+8
| | | | | | | | | | | | Fixes #16777.
* | | Add test name filtering to 'mach test-stylo'Simon Sapin2017-05-191-3/+6
| | |
* | | Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emiliobors-servo2017-05-191-6/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move bindings tests out of the style crate This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ``` <!-- 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/16935) <!-- Reviewable:end -->
| * | | Move bindings tests out of the style crate.Simon Sapin2017-05-181-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ```
* | | | Remove --with-gecko from build-geckolib because it is not usable.Xidorn Quan2017-05-191-7/+1
|/ / /
* | | Auto merge of #16852 - servo:illegal_floating_point_literal_pattern, ↵bors-servo2017-05-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=jdm+SimonSapin Fix illegal_floating_point_literal_pattern again and rustup… … to compiler that has it, to avoid regressing again. Upgrade to (rustc 1.19.0-nightly (e17a1227a 2017-05-12) <!-- 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/16852) <!-- Reviewable:end -->
| * | | Fix UnicodeDecodeError in mach clean-nightliesSimon Sapin2017-05-131-1/+1
| | | |
* | | | Auto merge of #16769 - MortimerGoro:android_archs, r=larsbergstrombors-servo2017-05-133-7/+49
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for Android armv7 and aarch64 target triples <!-- Please describe your changes on the following line: --> Support for Android armv7 and aarch64 target triples in python build scripts (build + packaging) `--android` build parameter works as always (arm-linux-androideabi still the default) `./mach build --release --android` New compilation modes for android `./mach build --release --target=arm-linux-androideabi` `./mach build --release --target=armv7-linux-androideabi` `./mach build --release --target=aarch64-linux-android` See https://github.com/servo/servo/issues/11921. When all crates are ready we'll switch default android compilations to` armv7-linux-androideabi` target triple. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] 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. --> <!-- 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/16769) <!-- Reviewable:end -->
| * | | | Support for Android armv7 and aarch64 target triplesImanol Fernandez2017-05-083-7/+49
| | | | |
* | | | | Add 'mach check' and 'mach check-geckolib'Simon Sapin2017-05-131-18/+52
| |/ / / |/| | |
* | | | Make `./mach rustup` use the latest nightly rather than master.Simon Sapin2017-05-131-4/+16
| |_|/ |/| | | | | | | | | | | | | | | | | This will help avoid situation where we upgrade Servo and dependencies for a Rust breaking change that hasn’t reach Nightly yet. The old behavior is still available with `./mach rustup --master`.
* | | Add clobber mechanismUK9922017-05-082-4/+34
| | |
* | | Auto merge of #16762 - upsuper:buildtime-pseudo, r=emiliobors-servo2017-05-081-19/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate atom files at build-time The commits here basically do the following things: 1. move all generated files for gecko into "gecko/generated" so that we can copy all of them around 2. make regen_atoms.py generate file to the out dir rather than in-tree 3. make the build script invoke regen_atoms.py when bindgen feature is enabled <!-- 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/16762) <!-- Reviewable:end -->
| * | Stop touching in-tree files from build-geckolib.Xidorn Quan2017-05-081-19/+1
| | | | | | | | | | | | | | | | | | This stops: * generating atom helper files from regen_atoms.py * copying generated binding files to in-tree
* | | Auto merge of #16593 - UK992:clean-cargo-cache, r=wafflespeanutbors-servo2017-05-081-1/+174
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mach: Add `mach clean-cargo-cache` command <!-- 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: --> - [x] `./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. --> <!-- 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/16593) <!-- Reviewable:end -->
| * | Add `mach clean-cargo-cache` commandUK9922017-05-081-1/+174
| | |
* | | Auto merge of #16655 - servo:jdm-patch-1, r=emiliobors-servo2017-05-031-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix broken unit tests These are tests that only get run on TravisCI, apparently, so they were broken by https://github.com/servo/servo/commit/be0139ff3ccaeff621788043b721660ab4bdf36b and https://github.com/servo/servo/commit/32c624e5852a91fbcd2fcc495cacd00a63452c6a without anybody noticing. <!-- 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/16655) <!-- Reviewable:end -->
| * | | Make unit tests pass on TravisCI.Josh Matthews2017-05-031-0/+4
| |/ /
* / / Keep stable rustc versions in `clean-nightlies`Aneesh Agrawal2017-05-021-14/+22
|/ / | | | | | | | | Check the `rust-stable-version` file to keep the last n versions of both the nightly and the stable compiler.
* | Auto merge of #16601 - servo:cargoup, r=noxbors-servo2017-04-272-4/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to cargo 0.19.0-nightly (994e552 2017-04-25) This should be unblocked now: https://github.com/servo/servo/pull/15852#issuecomment-296379226 <!-- 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/16601) <!-- Reviewable:end -->
| * | Add `./mach cargoup`Simon Sapin2017-04-252-4/+23
| | |
* | | Auto merge of #16639 - ↵bors-servo2017-04-271-0/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aneeshusa:skip-nonexisting-dirs-when-cleaning-nightlies, r=jdm Avoid searching for old nightlies in missing dirs These directories may be missing (e.g. a first time build or due to Buildbot cleaning), so don't try to look inside them for old nightlies if so. I noticed this in http://build.servo.org/builders/arm32/builds/6815/steps/shell__1/logs/stdio. <!-- 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. --> <!-- 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/16639) <!-- Reviewable:end -->
| * | Avoid searching for old nightlies in missing dirsAneesh Agrawal2017-04-271-0/+2
| |/ | | | | | | | | These directories may be missing (e.g. a first time build), so don't try to look inside them for old nightlies if so.
* | Add `./mach rustup`Simon Sapin2017-04-241-0/+18
| |
* | Auto merge of #16573 - UK992:travis, r=aneeshusabors-servo2017-04-221-9/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto clean old nightlies on Travis This could solve `no space left` problem. <!-- 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/16573) <!-- Reviewable:end -->
| * | Optimize `clean-nightlies`UK9922017-04-231-9/+4
| |/
* | Auto merge of #16550 - froydnj:gecko-bindings-gecko-debug, r=froydnjbors-servo2017-04-221-1/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch gecko_bindings over to the gecko_debug feature [DO NOT MERGE] ...so that they use the correct Gecko structs regardless of whether Rust code is being compiled with debug assertions or not. This is the second part of the Servo-side changes for https://bugzilla.mozilla.org/show_bug.cgi?id=1357556 - [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 building is a sufficient test. <!-- 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/16550) <!-- Reviewable:end -->
| * | switch gecko_bindings over to the gecko_debug featureNathan Froyd2017-04-221-1/+7
| | | | | | | | | | | | | | | ...so that they use the correct Gecko structs regardless of whether Rust code is being compiled with debug assertions or not.
* | | Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444Josh Matthews2017-04-221-1/+1
| |/ |/|
* | Android life cycle improvements and Gradle integrationImanol Fernandez2017-04-212-29/+7
|/
* Automatically clean old nightliesAneesh Agrawal2017-04-181-15/+46
| | | | | | | | Add a new `-keep` flag to `./mach clean-nightlies` to control how many nightlies to keep, which keeps the n most recent nightlies found in git. Use this to clean old nightlies at the start of each build, currently keeping 3 nightlies at a time.
* Move delete function to util.pyAneesh Agrawal2017-04-182-12/+14
| | | | This makes it easier to reuse in other places.
* Stop segfaulting at the end of mach bootstrapAneesh Agrawal2017-04-171-11/+7
| | | | | | | | | | | | | | | `mach bootstrap` will finish succesfully, but then segfault inside glibc while exiting. It seems to have to do with the MarkupSafe library used by Mako; delaying the Mako import from the top level to inside functions where it is used avoids the problem. (It seems to interact with the call to pip to install the Salt requirements in the virtualenv, as commenting that pip call out separately will also fix the segfault.) Also, use the Mako installed in the Python virtualenv while running packaging commands (instead of the one from the bundled zip file), and cleanup imports in the package_commands.py file.
* Remove more deprecated Windows GNU code/docsAneesh Agrawal2017-04-167-103/+25
|