Commit graph

69 commits

Author SHA1 Message Date
o0Ignition0o
10822ce730 Add a --nightly | -n flag to download and extract a specific nightly version to run mach commands against. This currently only work on linux, but windows and mac os support will follow in subsequent PRs. 2018-03-06 23:09:50 +01:00
Paul Rouget
019fdaa1bd remove bhtml 2018-02-11 08:02:39 +01:00
o0Ignition0o
c3b2751eef Add a --bin flag to the |mach run and rr-record commands to specify which servo binary to run 2018-02-04 13:00:30 +01:00
Simon Sapin
365a139716 Use rustup.rs instead of custom bootstrap
Fixes #11361, closes #18874
2018-01-10 18:05:44 +01:00
Imanol Fernandez
7a2a90959e Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
Matthias Devlamynck
a465fbb87a Allow running servo in software rendering mode from ./mach run 2017-01-21 18:15:42 +01:00
Ravi Shankar
b061ada836 Fix browserhtml path 2017-01-03 13:05:13 +05:30
Teodor Szente
48df976bcd Move get_browserhtml_path to command_base #14815
Remove unused import of find_dep_path_newest #14815

Move get_browserhtml_path top along with find_dep_path_newest #14815
2017-01-02 16:39:20 +02:00
KimSnj
b5b76e8053 Use software rendering when running servo in headless mode 2016-11-27 18:15:51 +01:00
Matt Brubeck
02f189060c Run cargo doc in the ports/servo directory
Running it in components/servo isn't guaranteed to work because there's
no Cargo.lock checked in there.  Followup to #14254.
2016-11-18 11:07:38 -08:00
Matt Brubeck
39a221ae5d Run cargo doc on libservo crate
Fixes `./mach doc` regression caused by #14172.
2016-11-16 16:54:34 -08:00
Emilio Cobos Álvarez
157c1674ed
python: Make --debugger imply --debug 2016-11-12 23:25:37 +01:00
Glenn Watson
dd4827d85f Update test expectations, remove webrender prefs/cmd line. 2016-09-28 18:42:30 +10:00
Glenn Watson
cdb69d4423 Add OSMesa headless mode, run WPT against Webrender, update tests. 2016-09-28 11:57:33 +10:00
Paul Rouget
c40a658e9c Revert "Enable multiprocess and sandbox"
This reverts commit 663f8530cf.
2016-08-15 03:44:46 +02:00
Paul Rouget
663f8530cf Enable multiprocess and sandbox
Enable multiprocess and sandbox for Mac and Linux when running
browserhtml.
2016-08-03 06:19:59 +02:00
Paul Rouget
8836250d71 Fix preference name 2016-06-24 12:03:01 +02:00
mrmiywj
909f0da3c2 add reload keyboard shortcut
rename the preference to shell.builtin-key-shortcuts.enabled
2016-06-23 17:37:56 +08:00
Simon Martin
ec5792ed2a Issue #11388: --debug and --browserhtml are not exclusive in 'mach run'. 2016-06-18 00:15:29 +02:00
Adam Casey
64c5c3ee9d Only enable borderless browserhtml window on OSX.
Pass browserhtml path as relative path to avoid a mingw->windows path conversion
2016-06-07 14:38:51 +02:00
edunham
a1a8e08dca Create mach package
* 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
2016-06-03 14:47:21 -07:00
Paul Rouget
3a05f387a0 browserhtml update 2016-05-23 06:22:57 +02:00
Olaf Buddenhagen
15066559a5 mach run --debug: Cleanup: Use nicer syntax in rust-gdb/rust-lldb check
Follow-up on f3cd5d2961 : after actually
reading a Python tutorial, I realised this can be handled in a more
elegant fashion :-)
2016-05-04 22:13:42 +02:00
Adrian Utrilla
739410e52d
mach install now builds servo if it hasn't been built before 2016-04-15 19:11:48 +02:00
Adrian Utrilla
7f2c220335 mach run -b now passes additional params to servo 2016-04-02 13:49:56 +02:00
Jack Moffitt
96cbe7ac97 Add --browserhtml/-b command to ./mach run
This will run Servo with browser.html. We use the latest package in the
dependency tree if there are multiple copies, since there is no way for
Cargo to tell us which one is canonical.
2016-03-04 15:07:32 -07:00
Vladimir Vukicevic
ee863fde59 win32: mach and build command fixes
- 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)
2016-01-20 08:38:24 -06:00
bors-servo
ea4206e362 Auto merge of #9150 - mbrubeck:run-android, r=larsbergstrom
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 -->
2016-01-05 01:22:53 +05:30
Matt Brubeck
b9fc84ddcc Use build.android config in mach run 2016-01-04 10:52:06 -08:00
Olaf Buddenhagen
f3cd5d2961 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.)
2015-12-24 14:26:31 +01:00
Matt Brubeck
d7ba536ad6 Update mach run to use android_params file 2015-12-18 10:09:48 -08:00
Matt Brubeck
53871321a3 Add mach install command (Android-only for now) 2015-12-12 04:58:33 -08:00
Matt Brubeck
2a00eb6c08 Remove unused params from mach package command 2015-12-12 04:58:32 -08:00
Yanir Seroussi
4b71bc5c42 Reduce duplication in binary path determinition for Android target (fixes issue #8349) 2015-11-19 14:35:10 +11:00
Simon Sapin
8051f2ff8c Very hackish support for ./mach run --android 2015-11-13 21:35:50 +01:00
Lars Bergstrom
17a6cb5873 New Android suppport 2015-11-04 16:29:39 -06:00
Simon Sapin
fb7a53c6cf Use the gold linker when available.
This shaves 50 seconds off the build time on my machine.
2015-08-15 18:09:18 +02:00
Simon Sapin
c85bfe1350 Include private items in ./mach doc and http://doc.servo.org/
See https://github.com/rust-lang/rust/issues/15347
2015-07-17 22:31:57 +02:00
Jack Moffitt
a0237085c6 Use Cargo's target directory sharing.
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
Matt Brubeck
4b5c43835b Handle non-zero return codes in mach run 2015-06-04 13:52:23 -07:00
Corey Farwell
848c57653c Add flake8 to the tidy process for Python files
Fixes #6236

Also included in this commit are the changes need to make flake8 pass
for the existing python file
2015-06-04 11:17:34 -04:00
Corey Farwell
e3b71c65bf Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
bors-servo
713f18a58d Auto merge of #6201 - glennw:jquery-runner, r=metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6201)
<!-- Reviewable:end -->
2015-05-31 21:20:57 -05:00
Glenn Watson
be7ae0c732 Add jQuery test runner and mach integration. 2015-06-01 09:36:24 +10:00
Corey Farwell
7bddb1185f Remove unused imports in the Python files
Found using flake8
2015-05-31 19:15:32 -04:00
Matt Brubeck
4f65720f19 Make "mach run -d" an alias for "mach run --dev"
(And the same for `rr-record`.) For consistency with `mach build`.
2015-05-15 07:59:45 -07:00
Kyle Cesare
f55c85f42f Add space in mach command suggestion. 2015-03-31 15:37:42 -07:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Jack Moffitt
aedd157035 Fix post build commands.
`./mach run --release` was completely broken and always ran the dev profile.
2015-03-06 10:36:45 -07:00
Prabhjyot Singh Sodhi
cb6c675b2e mach commands now warn when it's ambiguous which binary to run
Fixes#5080
2015-03-02 18:50:06 -05:00