aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* XMLHTTPRequest Mutator - Initial step Mutation testingSandeep Hegde2017-11-061-0/+35
|
* Auto merge of #19017 - tigercosmos:test, r=jdmbors-servo2017-11-032-11/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print the full path for errors occurring in the servo crate <!-- Please describe your changes on the following line: --> `Cargo` will print the path where it runs. Origin python script `cd` into the crate folder, so the root path is set in the crate. Now I use `--manifest-path PATH` to `cargo build`, so the root path is at `servo`. Origin path in error message: ``` error: expected one of `!` or `::`, found `#` --> lib.rs:24:1 ``` Now it would be: ``` error: expected one of `!` or `::`, found `use` --> ports/geckolib/glue.rs:11:1 ``` --- <!-- 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 #9895 (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/19017) <!-- Reviewable:end -->
| * Print the full path for errors occurring in the servo cratetigercosmos2017-11-032-11/+20
| |
* | Auto merge of #19109 - tigercosmos:ndk, r=jdmbors-servo2017-11-031-0/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check if the NDK version is 12 <!-- Please describe your changes on the following line: --> Since we only support NDK 12(b), we should add some script to check for that. User might download 15 or 16, and would get some errors. --- <!-- 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 #19095 (github issue number if applicable). <!-- 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/19109) <!-- Reviewable:end -->
| * Check if the NDK version is 12tigercosmos2017-11-031-0/+8
| |
* | Auto merge of #19091 - MortimerGoro:webgl2_suite, r=jdmbors-servo2017-11-021-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WebGL conformance 2.0.0 tests <!-- Please describe your changes on the following line: --> This PR includes WebGL conformance 2.0.0 tests. For now I have disabled three folders in the new suite: - `Conformance`: Tests WebGL 1.0 API like the current 1.0.3 suite we are using, but it includes a lot more tests and many expectations have to be updated. This is better to do in a separate PR because it will require to update github intermittent paths again and maybe detect new intermittents. - `Conformance2\textures`: It causes a lot of timeouts because of using videos, svgs, and other complicated formats. - `deqp`: It's a extra GPU testing suite included in the Khronos 2.0.0 suite. Disabled for now because it causes some timeouts. So in a nutshell, it uses part of the 2.0.0 suite to test webgl 2.0 and keeps using 1.0.3 in order to test WebGL 1.0. It's good enough to enable TDD for the new WebGL 2.0 features We can create follow-up issues for the next steps: * deprecate 1.0.3 and use the new 'conformance' folder in 2.0.0 in order to test WebGL 1.0 * Enable `conformance2/textures` and 'deqp' tests once WebGL 2.0 implementation is more advanced or the timeouts are monitored in more detail. --- <!-- 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/19091) <!-- Reviewable:end -->
| * Add WebGL conformance 2.0.0 patchesImanol Fernandez2017-11-021-1/+1
| |
* | Auto merge of #19070 - jdm:csstests, r=metajackbors-servo2017-11-022-40/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Enable CSS tests. Do not merge this; I'm looking into what it takes to stop running the test-css jobs. <!-- 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/19070) <!-- Reviewable:end -->
| * Remove all outdated CSS-related mach commands.Josh Matthews2017-11-021-39/+0
| |
| * Account for changes to Cargo.lock format.Josh Matthews2017-11-021-1/+1
| |
* | Check full triples for "alt" compiler support, not just platforms.Simon Sapin2017-10-311-3/+7
| | | | | | | | Fixes https://github.com/servo/servo/issues/19075
* | Update WebGL conformance suite 1.0.3 from upstreamImanol Fernandez2017-10-311-1/+1
| |
* | Create match command to update WebGL conformance suite from upstreamImanol Fernandez2017-10-311-0/+22
|/
* Auto merge of #18953 - servo:keep, r=jdmbors-servo2017-10-201-1/+4
|\ | | | | | | | | | | | | | | | | | | Fix './mach clean-nightlies --keep 3' not keeping anything. This affects CI, re-downloading Nightly for every build. <!-- 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/18953) <!-- Reviewable:end -->
| * Fix './mach clean-nightlies --keep 3' not keeping anything.Simon Sapin2017-10-191-1/+4
| |
* | Auto merge of #18942 - servo:static.rlo, r=jdm,mbrubeckbors-servo2017-10-204-19/+42
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bootstrap from more permanent URLs The `rust-lang-ci` S3 bucket is ephemeral. `static-rust-lang-org.s3.amazonaws.com` is not going away soon, but using `static.rust-lang.org` when possible keeps things working if it ever does. https://internals.rust-lang.org/t/updates-on-rusts-ci-uploads/6062 https://internals.rust-lang.org/t/public-stable-rust-services/6072 We’ll still need to find a solution for "alt" rustc builds. In the meantime, this is a step. <!-- 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/18942) <!-- Reviewable:end -->
| * | Only pass cafile argument to urlopen in Python versions that support it.Simon Sapin2017-10-194-15/+22
| | |
| * | Bootstrap: use 'certifi' package to obtain up-to-date root CA list.Simon Sapin2017-10-192-1/+7
| | | | | | | | | | | | | | | The default root CA store on our Windows CI builders does not trust static.rust-lang.org
| * | Bootstrap from official static.rust-lang.org when SNI is availableSimon Sapin2017-10-183-15/+26
| | |
| * | Bootstrap: print URLs being downloaded.Simon Sapin2017-10-181-2/+2
| | |
| * | Download "non-alt" rustc builds from more permanent URLsSimon Sapin2017-10-181-5/+4
| |/ | | | | | | | | | | | | | | | | | | The `rust-lang-ci` S3 bucket is ephemeral: https://internals.rust-lang.org/t/updates-on-rusts-ci-uploads/6062 https://internals.rust-lang.org/t/public-stable-rust-services/6072 We’ll still need to find a solution for "alt" rustc builds. In the meantime, this is a step.
* | Update mozlog dependencyJosh Matthews2017-10-191-1/+1
| |
* | Stop relying on linking details of std’s default allocatorSimon Sapin2017-10-191-0/+4
|/ | | | | | | | | | | | We’ve been bitten before by symbol names changing: https://github.com/servo/heapsize/pull/46 and upstream is planning to stop using jemalloc by default: https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465 So use the (relatively) new `#[global_allocator]` attribute to explicitly select the system allocator on Windows and jemalloc (now in an external crate) on other platforms. This choice matches current defaults.
* Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-172-3/+3
| | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments.
* Auto merge of #18145 - tigercosmos:master, r=larsbergstrombors-servo2017-10-161-15/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix windows build issue #18055 <!-- Please describe your changes on the following line: --> With some reasons, the windows and VS environment do not set the `env("PLATFORM")` variable. So, there's no need to check the variable, and set `os_type` equl to `pc-windows-msvc` as default. Then the script can get correct url to download `rustc`. --- <!-- 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 #18055 (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/18145) <!-- Reviewable:end -->
| * fix windows build issuetigercosmos2017-08-191-15/+2
| |
* | CEF: use `cargo rustc -C link-args=...` instead of `#[link_args="..."]`Simon Sapin2017-10-161-2/+8
| | | | | | | | The latter is an unstable feature that might be changed or removed.
* | Update domparsing spec links to not point at WHATWGKafji2017-10-141-1/+0
| | | | | | | | | | | | - Change domparsing spec link from domparsing.spec.whatwg.org to w3c.github.io/DOM-Parsing - Remove from tidy since it's already covered by w3c.github.io - Update test manifest
* | Auto merge of #18828 - servo:clean, r=asajeffreybors-servo2017-10-131-6/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | Fix a couple bugs in `./mach clean-nightlies` <!-- 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/18828) <!-- Reviewable:end -->
| * | mach clean-nightlies: don’t remove everything versioned by dateSimon Sapin2017-10-111-5/+3
| | | | | | | | | | | | (Dates contain `-`.)
| * | mach clean-nightlies: fix removing cargo versioned by rust commitSimon Sapin2017-10-111-1/+1
| | |
* | | Auto merge of #18851 - jdm:updatewpt4, r=jdmbors-servo2017-10-121-5/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WPT This syncs us with 524bea1dd8d0ad58733072bd4e8b8044042f589e from web-platform-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/18851) <!-- Reviewable:end -->
| * | | Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326Josh Matthews2017-10-121-5/+3
| | | |
* | | | Auto merge of #18797 - servo:THICC-LTO, r=emiliobors-servo2017-10-121-0/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Update Rust to 1.22.0-nightly (a47c9f870 2017-10-11) <!-- 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/18797) <!-- Reviewable:end -->
| * | | Update Rust to 1.22.0-nightly (a47c9f870 2017-10-11)Anthony Ramine2017-10-121-0/+3
| |/ / | | | | | | | | | This allows us to start experimenting with -Z thinlto
* / / Fix './mach check' to build ports/servo, not components/servoSimon Sapin2017-10-121-1/+1
|/ /
* | Auto merge of #18753 - upsuper:binding-structs, r=emiliobors-servo2017-10-051-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only generate structs file for the current build This PR changes build_gecko.rs to only generate the `structs.rs` for the current build (rather than both), depending on whether `gecko_debug` feature is set. The in-tree files are switched to use the previous release one, because that's what we currently use for stylo test and it is in general what we really care about. For this change, `gecko_debug` mode is removed from Servo CI (in `build-geckolib`) with the assumption that people general do that build locally for stylo development, so it is less likely to be broken than release. <!-- 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/18753) <!-- Reviewable:end -->
| * | Don't do gecko_debug build in build-geckolibXidorn Quan2017-10-051-2/+0
| | |
* | | Use upstream wptrunner from web-platform-tests.Josh Matthews2017-10-052-27/+1
|/ /
* | Auto merge of #18680 - MortimerGoro:android_flavors, r=larsbergstrombors-servo2017-09-303-2/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Gradle flavors for Android VR compilations <!-- Please describe your changes on the following line: --> This PR adds support to easily generate Android VR builds. Rust/Java VR dependencies are not added by default. Default build (No VR support) ``` ./mach build --release --android ./mach package --release --android ./mach install --release --android ``` GoogleVR builds (e.g. Daydream) ``` ./mach build --release --android --features googlevr ./mach package --release --android --flavor googlevr ./mach install --release --android ``` OculusVR builds (e.g. Gear VR) ``` ./mach build --release --android --features oculusvr ./mach package --release --android --flavor oculusvr ./mach install --release --android ``` --- <!-- 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/18680) <!-- Reviewable:end -->
| * | Implement Gradle flavorsImanol Fernandez2017-09-303-2/+17
| | |
* | | mach: Don't overwrite RUSTFLAGS when enabling debug assertionsMatt Brubeck2017-09-291-1/+1
|/ /
* | Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-263-7/+7
| | | | | | | | | | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* | Rename MutJS<T> to MutDom<T>Anthony Ramine2017-09-264-8/+8
| |
* | Rename JS<T> to Dom<T>Anthony Ramine2017-09-263-7/+7
| |
* | Fix some messages in the tidy scriptAnthony Ramine2017-09-263-5/+5
| | | | | | | | It's MutJS<T>, not MutJS<JS<T>>.
* | Make tidy aware of Rust multiline stringsMichael Droettboom2017-09-213-11/+51
| | | | | | | | | | | | As a result of tighter and more correct handling of character literals, this now catches a few kinds of syntax involving lifetimes that were previously missed, so those have been updated.
* | Update osmesa-src to support building with machSimon Sapin2017-09-182-1/+2
| |
* | Auto merge of #18031 - jhlin:android-build-on-macos, r=mbrubeckbors-servo2017-09-151-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Android build errors on macOS. - Add sysroot path to environment variable 'CPPFLAGS': When checking C preprocessor, the 'configure' script of libbacktrace uses 'CPPFLAGS' rather than 'CFLAGS' and doesn't get the correct search path. (#15758) This check passes on Linux because the '/lib/cpp' fallback is available there. - Introduce CMake toolchain file for Android cross compiling: CMake needs several variables [1] to cross compile for Android. It works (accidentally) on Linux because cmake-rs sets compilers correctly and binutils for Linux & Android are pretty much the same. [1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk <!-- 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 - [x] These changes fix #15758 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it's a fix to build 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. --> <!-- 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/18031) <!-- Reviewable:end -->
| * | Fix Android build errors on macOS.John Lin2017-08-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add sysroot path to environment variable 'CPPFLAGS': When checking C preprocessor, the 'configure' script of libbacktrace uses 'CPPFLAGS' rather than 'CFLAGS' and doesn't get the correct search path. (#15758) This check passes on Linux because the '/lib/cpp' fallback is available there. - Introduce CMake toolchain file for Android cross compiling: CMake needs several variables [1] to cross compile for Android. It works (accidentally) on Linux because cmake-rs sets compilers correctly and binutils for Linux & Android are pretty much the same. [1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk