aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* Add mach build-stable to build with stable rustcGabriel Poesia2016-06-303-28/+107
| | | | | | Github issue: #11806 Building with current stable rust (1.9.0) still fails because of feature pragmas in some dependencies (e.g. serde_item).
* Auto merge of #11262 - campaul:add_version_flag, r=Manishearthbors-servo2016-06-291-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--version` flag - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11241 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ Not 100% sure of a good way to test this, so I'm submitting as is for feedback. Manually testing it appears to work fine. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11262) <!-- Reviewable:end -->
| * Add `--version` flagCameron Paul2016-06-281-0/+16
| |
* | fix dylib relinking issue for mac packagingConnor Brewster2016-06-281-18/+25
| |
* | create an app bundle and package it in dmgConnor Brewster2016-06-281-1/+75
| | | | | | | | | | | | Fix resource lookup, add package prefs fix tidy issues
* | Auto merge of #11740 - perlun:detect-case-sensitive-file-system, r=metajackbors-servo2016-06-271-0/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added detection for case-sensitive file systems - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because they only change Mach code This is needed for the moment because of a bug in virtualenv (reported upstream). r? @metajack (you were the one who suggested that we check this. I did it in a slightly simpler way since I realized we over-complicated things a bit when talking about it the other day.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11740) <!-- Reviewable:end -->
| * | Added detection for case-sensitive file systemsPer Lundberg2016-06-141-0/+15
| | | | | | | | | | | | This is needed for the moment because of a bug in virtualenv (reported upstream).
* | | Auto merge of #11849 - paulrouget:prefNameUpdate, r=jdmbors-servo2016-06-242-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix preference name <!-- 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 - [x] These changes do not require tests because not testable <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Follow up of https://github.com/servo/servo/pull/11735. `.enabled` is missing in the python scripts. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11849) <!-- Reviewable:end -->
| * | | Fix preference namePaul Rouget2016-06-242-2/+2
| | | |
* | | | Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7Ms2ger2016-06-241-1/+1
|/ / /
* | | Auto merge of #11735 - mrmiywj:reload-page-shortcut, r=jdmbors-servo2016-06-232-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add reload keyboard shortcut <!-- 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 #11686 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this cannot be automated tested. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11735) <!-- Reviewable:end -->
| * | | add reload keyboard shortcutmrmiywj2016-06-232-2/+2
| | | | | | | | | | | | | | | | rename the preference to shell.builtin-key-shortcuts.enabled
* | | | Use our copy of RefCell for style data.Simon Sapin2016-06-231-1/+12
|/ / / | | | | | | | | | | | | This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815.
* | | Issue #11388: --debug and --browserhtml are not exclusive in 'mach run'.Simon Martin2016-06-181-19/+19
| | |
* | | Auto merge of #11771 - jdm:osx_gdb, r=Wafflespeanutbors-servo2016-06-171-1/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass Ctr+C to underlying process when invoking commands through mach. This is based on the patch in https://bugzilla.mozilla.org/show_bug.cgi?id=996823 and the [suprocess.check_call documentation](https://docs.python.org/2/library/subprocess.html#subprocess.check_call). --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11770 (github issue number if applicable). - [X] These changes do not require tests because we can't test the mach subprocess invocation <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11771) <!-- Reviewable:end -->
| * | | Pass Ctr+C to underlying process when invoking commands through mach.Josh Matthews2016-06-171-1/+14
| |/ /
* | | Tidy test for ignoring attributesRavi Shankar2016-06-161-0/+1
| | |
* | | Removed unused function and minor cleanupRavi Shankar2016-06-162-77/+64
| | |
* | | Auto merge of #11621 - h4xr:mach_fix, r=Wafflespeanutbors-servo2016-06-143-2/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make mach test-tidy consider ignored dirs Made changes so that mach test-tidy considers the ignored directories Fixes #11386 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11621) <!-- Reviewable:end -->
| * | Make mach consider ignored dirsSaurabh Badhwar2016-06-153-2/+13
| | | | | | | | | | | | Address indentation changes
* | | Add mach command to update public domain list and use a HashSet instead of a ↵Florian Duraffourg2016-06-091-0/+23
| | | | | | | | | | | | Vec to lookup public domains
* | | Auto merge of #11543 - UK992:browserhtml, r=metajackbors-servo2016-06-082-2/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ./mach --browserhtml Rebased https://github.com/servo/servo/pull/10943 and simplified by https://github.com/servo/servo/pull/10943#issuecomment-221643014. Fixes path related issue with browser.html on Windows and enable borderless window only on OSX. r? @metajack <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11543) <!-- Reviewable:end -->
| * | | Only enable borderless browserhtml window on OSX.Adam Casey2016-06-072-2/+19
| | | | | | | | | | | | | | | | Pass browserhtml path as relative path to avoid a mingw->windows path conversion
* | | | mach: Set a nice icon for the binary on the Mac.Patrick Walton2016-06-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's actually a practical reason for this: it helps me pick out the app in Instruments.app. See: http://apple.stackexchange.com/questions/6901/how-can-i-change-a-file-or-folder-icon-using-the-terminal/161984#161984
* | | | servo: Add an `Info.plist` on the Mac and opt into integrated graphics.Patrick Walton2016-06-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discrete GPUs cause power use problems and tend to perform badly with WebRender. See: * https://developer.apple.com/library/mac/qa/qa1734/_index.html * https://reverse.put.as/2013/05/28/gimmedebugah-how-to-embedded-a-info-plist-into-arbitrary-binaries/
* | | | Auto merge of #11516 - DDEFISHER:master, r=metajackbors-servo2016-06-061-0/+9
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add update-manifest command - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11369 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11516) <!-- Reviewable:end -->
| * | | add update-manifest commandDaniel2016-06-061-0/+9
| | | |
* | | | Auto merge of #11210 - edunham:mach-package, r=larsbergstrombors-servo2016-06-063-62/+145
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start on Mach package 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 - these changes don't touch anything that mach build touches> - [ ] `./mach test-tidy --faster` does not report any errors - Tidy errors on some dependencies that I think we'll need for real `package` but aren't using for android - [X] These changes address #9918 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [x] These changes do not require tests because I don't think Mach has tests yet? 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11210) <!-- Reviewable:end -->
| * | | | Create `mach package`edunham2016-06-033-62/+145
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | * Split package commands into their own file * Delete spurious files from build dir * Create runservo.sh to invoke servo with the right browserhtml incantation * Tar it all up with the date and time in the filename
* | | | Add FreeBSD to `host_triple`Daniel Robertson2016-06-051-0/+2
| | | | | | | | | | | | | | | | | | | | Add FreeBSD to `host_triple` so that the correct nightly compiler will be downloaded.
* | | | Auto merge of #11190 - mrmiywj:Root-tidy-checker, r=jdmbors-servo2016-06-053-1/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add &Root<T> checker 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 #11137 (github issue number if applicable). Either: - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11190) <!-- Reviewable:end -->
| * | | add &Root<T> checkermrmiywj2016-06-053-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | update rust_tidy tests update rust_tidy.rs and test_tidy.py
* | | | Auto merge of #11549 - heycam:release-bindings, r=heycambors-servo2016-06-031-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate debug and release Gecko bindings. <!-- Please describe your changes on the following line: --> This makes `generate_style_structs.py` generate bindings for both `DEBUG` and non-`DEBUG` Gecko configurations. The corresponding generated bindings are used in geckolib based on `cfg(debug-assertions)`. I regenerated bindings on top of Gecko master plus https://bugzilla.mozilla.org/show_bug.cgi?id=1277154 (landing soon), which tripped up the bindgen due to bitfield layout issues. r? @emilio --- <!-- 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 - [X] These changes do not require tests because they are geckolib only <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11549) <!-- Reviewable:end -->
| * | | | Generate debug and release Gecko bindings.Cameron McCormack2016-06-031-1/+2
| | | | |
* | | | | mach: Introduce --all flag to run all test suitesAndrew Shu2016-06-021-7/+16
|/ / / / | | | | | | | | | | | | Also remove broken "faster" parameter passed to test-tidy
* | | | implement related sw interface and register methodRahul Sharma2016-06-021-0/+1
| | | |
* | | | Provide a better error message when downloading rustc failsPer Lundberg2016-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | I was running into the error below locally. The previous version of the code hid away important details that helps when debugging; hence, this suggested change. > Error downloading Rust compiler: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590). URL: https://static-rust-lang-org.s3.amazonaws.com/dist/2016-05-17/rustc-nightly-x86_64-pc-windows-gnu.tar.gz
* | | | Warn me when I try to sync upstream tests without requesting a commit.Ms2ger2016-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | This default invariably wastes my time, and I'm about the only person using the sync argument.
* | | | Remove the gonk portLars Bergstrom2016-05-274-105/+2
| | | |
* | | | Auto merge of #11472 - jdm:wip, r=mbrubeckbors-servo2016-05-272-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report blank lines that follow an open brace This automates something that I find myself frequently commenting on in PRs. --- <!-- 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] There are tests for these changes OR <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11472) <!-- Reviewable:end -->
| * | | | Warn about empty lines following an open brace.Josh Matthews2016-05-272-2/+8
| | |_|/ | |/| |
* | | | Auto merge of #11378 - mbrubeck:debug-mozjs, r=larsbergstrombors-servo2016-05-273-2/+17
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default to the same Cargo features in all build commands Fixes #8308 and #7327. r? @larsbergstrom <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11378) <!-- Reviewable:end -->
| * | | Default to the same Cargo features in all build commandsMatt Brubeck2016-05-273-2/+17
| | | | | | | | | | | | | | | | Fixes #8308 and #7327.
* | | | Report use statements that use {} with only one entryCullen Rhodes2016-05-273-0/+4
| | | |
* | | | Auto merge of #11429 - nox:unlimited-referrer-works, r=jdmbors-servo2016-05-261-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially enable referrer-policy tests with some modifications This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11429) <!-- Reviewable:end -->
| * | | | Add mozilla tests for referrer policy in iframe without postmessageRebecca2016-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | Can be removed and web-platform-tests not ignored with postmessage support
* | | | | Auto merge of #11374 - servo:no-microseconds, r=Ms2gerbors-servo2016-05-251-5/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don’t include microsecons when reporting build times. "0:03:40.817715" is harder to read and no more informative than "0:03:40" <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11374) <!-- Reviewable:end -->
| * | | | | Don’t include microsecons when reporting build times.Simon Sapin2016-05-241-5/+9
| | |/ / / | |/| | | | | | | | | | | | | "0:03:40.817715" is harder to read and no more informative than "0:03:40"
* | | | | Auto merge of #11409 - mitchhentges:test-tidy-faster-default, r=aneeshusabors-servo2016-05-251-18/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove --faster flag from test-tidy, go fast by default. Fixes 11217 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 #11217 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [X] These changes do not require tests because they just change command-line options, which aren't tested Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. This finishes #11267 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11409) <!-- Reviewable:end -->
| * | | | | Remove --faster flag from test-tidy, go fast by default. Fixes 11217Mitchell Hentges2016-05-251-18/+3
| | |/ / / | |/| | |