aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* win32: force PATH to be non-unicode on win32, if virtualenv munges itVladimir Vukicevic2016-01-201-0/+8
|
* win32: mach and build command fixesVladimir Vukicevic2016-01-206-49/+74
| | | | | | | - Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot - Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo) - Fix up win32 executable checking (use .exe suffix) - fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
* Auto merge of #9284 - bholley:bootstrap_stylo, r=SimonSapinbors-servo2016-01-191-0/+1
|\ | | | | | | | | | | | | | | | | | | Add Partial Implementation of style DOM traits for Gecko, and some basic glue to let Gecko call into Servo The wrapper stuff is partially-complete, modulo some unimplemented methods. The glue code is just a toy for now. Regardless, I think it's worth getting some of this stuff in-tree to minimize breakage. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9284) <!-- Reviewable:end -->
| * Basic wrappers and glue for GeckoLib.Bobby Holley2016-01-131-0/+1
| |
* | Auto merge of #9333 - servo:list-properties, r=larsbergstrombors-servo2016-01-161-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a script to list all CSS properties parsed by Servo. I’ve been asked for that list by two different people this week :) r? @larsbergstrom <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333) <!-- Reviewable:end -->
| * | Make the properties list JSON and add some more info.Simon Sapin2016-01-151-2/+3
| | |
| * | Add a script to list all CSS properties parsed by Servo.Simon Sapin2016-01-151-0/+8
| | |
* | | Remove gold hack, since it's in rustc automatically nowLars Bergstrom2016-01-151-6/+0
|/ /
* | Remove the legacy reftest framework.Ms2ger2016-01-141-46/+5
| |
* | Remove legacy reftest lints.Ms2ger2016-01-141-50/+1
| |
* | Auto merge of #9273 - apopiak:fix_mach_test_error_9253, r=Wafflespeanutbors-servo2016-01-141-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add `faster` flag to `./mach test` command in order to call `test-tidy` properly close #9253 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9273) <!-- Reviewable:end -->
| * | add `faster` flag to `./mach test` command in order to call `test-tidy` properlyapopiak2016-01-131-2/+5
| |/
* / Call WPT lint directly in tidy, fixes #9189PythonNut2016-01-121-5/+6
|/
* Fix literal braces in string formatting in tidy.py, fixes #9151PythonNut2016-01-111-4/+4
|
* Auto merge of #9209 - bholley:geckolib, r=SimonSapinbors-servo2016-01-102-0/+38
|\ | | | | | | | | | | | | | | Implement a geckolib target <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9209) <!-- Reviewable:end -->
| * Implement a geckolib target.Bobby Holley2016-01-092-0/+38
| |
* | Auto merge of #9118 - dsprenkels:test-tidy-faster, r=Wafflespeanutbors-servo2016-01-082-9/+32
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Add 'test-tidy-faster' command to ./mach For issue #9088, this adds a `--changes` option to `./mach test-tidy`. If this option is set, `tidy.py` will only check files that have been modified since `FETCH_HEAD`. Mention: @Wafflespeanut <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9118) <!-- Reviewable:end -->
| * add a --faster option to ./mach test-tidyDaan Sprenkels2016-01-072-9/+32
| | | | | | | | | | | | which will - only check files changed since the last merge by bors - and skip the wpt-lint
* | Auto merge of #9150 - mbrubeck:run-android, r=larsbergstrombors-servo2016-01-051-2/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Make "mach run" use --android by default when enabled in .servobuild When `.servobuild` has `android = true`, the `mach run` command should default to running on Android. r? @larsbergstrom <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9150) <!-- Reviewable:end -->
| * Use build.android config in mach runMatt Brubeck2016-01-041-2/+5
| |
* | Auto merge of #9073 - dsprenkels:issue-8733, r=Wafflespeanutbors-servo2015-12-311-89/+67
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | tidy.py: remove duplicate code patterns in `check_rust(file_name, lines)` This is an attempt at a reasonable fix for #8733. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9073) <!-- Reviewable:end -->
| * | tidy.py: made `check_rust(file_name, lines)` more readableDaan Sprenkels2015-12-311-89/+67
| | | | | | | | | | | | | | | also added a rule that requires a space before '-' (except in cases of scientific notation) fixes #8733
* | | Rename rust-snapshot-hash to rust-nightly-dateSimon Sapin2015-12-302-31/+30
| | | | | | | | | | | | | | | | | | … and remove mentions of "snapshots". We now use rust-lang.org nightly builds rather than our own snapshots.
* | | Remove "Servo does not bootstrap 32bit snapshots of Rust" messageSimon Sapin2015-12-301-7/+0
| | | | | | | | | | | | We now use rust-lang.org nightly builds rather than our own snapshots.
* | | Auto merge of #9062 - antrik:rust-gdb, r=SimonSapinbors-servo2015-12-301-1/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach run --debug: Try using rust-gdb/rust-lldb if available If the selected debugger (requested explicitly or detected by mozdebug) is gdb or lldb, use rust-gdb or rust-lldb instead, if it's available in the path and appears to be working. (This should usually be the case when using the default debugger on GNU/Linux or MacOS, as rust-gdb or rust-lldb is provided by the Rust snapshot in use.) Note: I cobbled this together without *any* previous Python experience -- so if it violates three dozen rules, and only works by luck on my own system during a favourable moon phase, don't hesitate to suggest improvements :-) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9062) <!-- Reviewable:end -->
| * | mach run --debug: Try using rust-gdb/rust-lldb if availableOlaf Buddenhagen2015-12-241-1/+10
| |/ | | | | | | | | | | | | | | | | | | If the selected debugger (requested explicitly or detected by mozdebug) is gdb or lldb, use rust-gdb or rust-lldb instead, if it's available in the path and appears to be working. (This should usually be the case when using the default debugger on GNU/Linux or MacOS, as rust-gdb or rust-lldb is provided by the Rust snapshot in use.)
* | tidy.py: split checking functions into {normal,line}-checking categoriesDaan Sprenkels2015-12-261-27/+29
| | | | | | | | | | | | | | | | This is done, because the majority of the functions splits the lines, and it would be better to do this just once. This commit also optimised the licence checking function slightly by only checking the fist lines of the file (where the amount of lines is the line span of the longest license)
* | Issue #9042: Report incorrect number of spaces around => in the style checker.Simon Martin2015-12-231-3/+13
|/
* Update `mach run` to use android_params fileMatt Brubeck2015-12-181-11/+15
|
* Print tidy errors as they happen instead of all-at-onceCorey Farwell2015-12-141-6/+8
|
* Auto merge of #8891 - mbrubeck:mach-install, r=larsbergstrombors-servo2015-12-121-4/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android build system improvements This PR adds a `mach install` command (a convenient way to run `adb install`), and does some minor code cleanup. It also fixes parallelism in the OpenSSL build. For [complicated reasons][1], a sub-Make will not inherit `-j` options from its parent process unless it is invoked directly from another Makefile. This means we should run make from openssl.makefile rather than openssl.sh. r? @larsbergstrom [1]: http://make.mad-scientist.net/papers/jobserver-implementation/ <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8891) <!-- Reviewable:end -->
| * Add mach install command (Android-only for now)Matt Brubeck2015-12-121-0/+23
| |
| * Remove unused params from mach package commandMatt Brubeck2015-12-121-4/+1
| |
* | Update bincode.Ms2ger2015-12-081-1/+1
|/
* Auto merge of #8824 - Ms2ger:tidy-lock, r=Wafflespeanutbors-servo2015-12-081-35/+42
|\ | | | | | | | | | | | | | | | | | | Rewrite the Cargo.lock tidy check. Fixes #8691. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8824) <!-- Reviewable:end -->
| * Rewrite the Cargo.lock tidy check.Ms2ger2015-12-041-35/+42
| |
* | Auto merge of #8750 - GuillaumeGomez:master, r=Wafflespeanutbors-servo2015-12-061-46/+50
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that tidy follows the same procedure for sorting Fixes #8734 cc @Wafflespeanut <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8750) <!-- Reviewable:end -->
| * | Improve checking algorithmsGuillaume Gomez2015-12-061-46/+50
| | |
* | | Auto merge of #8626 - mskrzypkows:build_commands_android, r=larsbergstrombors-servo2015-12-052-2/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Draft, Move OpenSSL Android build to the target directory #8568 I've created a draft, please give me feedback. Is it good direction? Fixes #8568 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8626) <!-- Reviewable:end -->
| * | Move OpenSSL Android build to the target directory #8568Maciej Skrzypkowski2015-12-022-2/+12
| | |
* | | Auto merge of #7734 - nerith:headless, r=metajackbors-servo2015-12-041-4/+22
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow `./mach build` to enable Servo's headless mode As mentioned in #7512 and #7637, the environment variable SERVO_HEADLESS enables building the OSMesa version of Servo when it is set to 1. Instead, this should be a command line option to mach's build command. Fixes #7637. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7734) <!-- Reviewable:end -->
| * | Allow `./mach build-tests` to enable Servo's headless modeBrandon Fairchild2015-12-031-9/+19
| | | | | | | | | | | | | | | This allows mach's build-tests command to use the option --headless instead of checking for the value of SERVO_HEADLESS.
| * | Allow `./mach build` to enable Servo's headless modeBrandon Fairchild2015-12-021-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | As mentioned in #7512 and #7637, the environment variable SERVO_HEADLESS enables building the OSMesa version of Servo when it is set to 1. Instead, this should be a command line option to mach's build command. Fixes #7637.
* | | Auto merge of #8757 - servo:skia, r=mbrubeckbors-servo2015-12-031-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use skia and deps from crates.io. This makes the initial download for skia go from a 300 MB git repository to a 5 MB tarball. This should help with issues like #6132 and #7687. Fix https://github.com/servo/skia/issues/70 This builds, but the at the moment causes a number of tidy errors for duplicated crates. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8757) <!-- Reviewable:end -->
| * | | Tidy ports/cef/Cargo.lockSimon Sapin2015-12-021-0/+2
| | | | | | | | | | | | | | | | Despite the rest of ports/cef/ being ignored.
| * | | Use skia and deps from crates.io.Simon Sapin2015-12-021-3/+10
| | | | | | | | | | | | | | | | Fix https://github.com/servo/skia/issues/70
* | | | Fix the parsing of the chromium HSTS preload listSam Gibson2015-12-021-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Urg! The Chromium HSTS preload JSON file contains single line comments. Previously these were filtered out with a very simple regex that just looked for '//' and removed the line. Now the file has added a couple fields that have URLs in them that were erroneously removed and caused the JSON parsing to fail. This commit slightly complicates the regex to fix this specific problem. If this happens again, it's likely worth it to figure out how to use a real parser to remove the comments. servo/servo#8760
* | | adding wpt lint script to tidy checksjmr02015-11-301-2/+12
| | |
* | | Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanutbors-servo2015-11-281-3/+16
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Ensure crate are alphabetically sorted cc @nox <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692) <!-- Reviewable:end -->
| * | Add check up on extern crate order and sort extern crates alphabeticallyGuillaume Gomez2015-11-281-3/+16
| | |