Commit graph

109 commits

Author SHA1 Message Date
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
Ms2ger
322bf23db8 Make 'args' a list in the mach run handler.
This fixes a regression from 894e58f714.
2015-02-24 11:19:13 +01:00
Nathan Froyd
894e58f714 add basic |mach rr-{record,replay}| commands
These are very basic commands for invoking Servo underneath rr.  rr
currently doesn't support all the syscalls that Servo requires, but
that's easy to fix on the rr side.

Fixes #4177.
2015-02-23 23:05:41 -05:00
Prabhjyot Singh Sodhi
1ff95c33ca improving mach run error message in case of missing binaries 2015-02-13 00:20:01 +05:30
Prabhjyot Singh Sodhi
d322811bfb adding --release flag to mach run command 2015-02-06 00:42:31 +05:30
Manish Goregaokar
954a044570 Import registrar 2015-02-03 15:41:47 +05:30
Manish Goregaokar
a3cab14183 Fix doc upload 2015-02-03 00:14:45 +05:30
Simon Sapin
2b7eb1ca1e Fix 'mach browse-doc' to use the right target directory. 2014-12-03 15:59:51 -08:00
Simon Sapin
7efad39ccd Make 'mach doc' not fail when components/servo/target doesn’t exist. 2014-12-03 15:50:21 -08:00
Simon Sapin
96c3c6fd43 Replace mach serve-docs by mach browse-doc, fix #3913 2014-12-02 21:49:30 -08:00
Simon Sapin
d25c66904e Have 'mach doc' copy Rust documentation. 2014-12-02 21:48:52 -08:00