Commit graph

2134 commits

Author SHA1 Message Date
bors-servo
5dae1de2f5 auto merge of #3902 : mbrubeck/servo/share_directory, r=jdm
This is @acmiyaguchi's already-reviewed patch from #3388, rebased and squashed onto servo master. Fixes #3353.
2014-11-05 18:51:36 -07:00
Matt Brubeck
2ee516fa7c Automatically update cargo when necessary 2014-11-05 14:07:02 -08:00
Orvar Segerström
1641568b05 Panic when bootstrap downloads fail
Also hints that 32bit snapshots are unavailable on failure

Resolves #3739

fixup! Panic when bootstrap downloads fail
2014-11-05 22:31:57 +01:00
Anthony Miyaguchi
75b340a243 Fixes #3353: rust snapshot downloads to home directory 2014-11-05 11:14:21 -08:00
Philip Munksgaard
04146c934b Add serve-docs command to mach
This enables the user to run `./mach serve-docs` (with an optional port
number), starting a local web server that hosts the documentation for
Servo and Rust.

This closes #3807
2014-11-05 13:58:59 +01:00
Josh Matthews
a1b2f4b590 Add an optional --debug-mozjs argument to mach build that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support. 2014-10-24 16:18:25 -04:00
Fabrice Desré
38ccbe61ae Update toml.py to upstream 1069d2449760525535ca77514a92e9237ee0deaf 2014-10-20 22:20:15 -07:00
Matt Brubeck
77d32ee447 Move windowing code out of the compositor
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
Ms2ger
3659fe142b Fetch the Cargo nightly over HTTP. 2014-10-06 17:29:14 +02:00
Ms2ger
e4eaf88179 Pin Cargo to the 2014-10-02 nightly.
Relevant to #3580.
2014-10-06 17:05:06 +02:00
Matt Brubeck
b736256d53 Add Android build config to mach/servobuild 2014-10-03 14:29:54 -07:00
Jack Moffitt
7f6f072b02 Fix up and run unit tests.
This adds the subpackages to `./mach test-unit`.
2014-10-02 23:14:42 -06:00
Jack Moffitt
f93dd447b1 Add --verbose to build-cef command 2014-10-02 11:32:00 -06:00
Simon Sapin
04d839328b Have the Rust snapshot directory include the Rust version and hash.
That way, whenever rust-snapshot-hash changes, mach will look for
the Rust snapshot in a different directory and re-boostrap as needed.

However, older rust version will be left behind never cleaned up.
This is good for git-bisect, but not for disk space:
the current snapshot is 618 MB.

In the future, we may want `mach clean` or some other comment
to remove unused Rust snapshots.

CC #3388
2014-09-29 17:41:45 +01:00
Simon Sapin
516b608a2f Add a 'mach rust-root' command. 2014-09-29 17:41:45 +01:00
Simon Sapin
cd45258bf3 Fix /python/servo code formatting.
(My editor screams at me for flake8 lint errors.)
2014-09-26 23:12:51 +01:00
Simon Sapin
f329de0581 Have mach update (not just init) submodules as needed. Fix #3447 2014-09-22 00:16:52 +01:00
Andreas Tolfsen
a5b5d358fb Support dumb terminals in bootstrap downloads
Dumb terminals can only interpret a limited number of control codes,
and rewriting the terminal buffer will make `./mach build` very talkative
on these terminals.

This can be tested by setting the environment variable TERM to "dumb"
as such:

	TERM=dumb ./mach build
2014-09-18 12:16:49 +01:00
Matt Brubeck
340ebdfd85 Merge pull request #3372 from mbrubeck/wpt-params
Make test_wpt params optional. r=me
2014-09-17 17:05:59 -07:00
Tetsuharu OHZEKI
b0cd45e2da Fix mach cargo is missing 2014-09-17 11:52:05 +09:00
Matt Brubeck
4154d3291b Make test_wpt params optional
Fixes an exception in `mach test`.
2014-09-16 09:38:22 -07:00
Matt Brubeck
e69fbc22de Don't throw on non-zero exit in mach commands
Fixes #3344.
2014-09-15 08:32:46 -07:00
Jack Moffitt
203144e207 Merge pull request #3334 from mbrubeck/mach-rustc
Add a `mach rustc` command
2014-09-14 13:38:30 -06:00
Matt Brubeck
2df61655cc Add a mach rustc command 2014-09-14 11:46:18 -07:00
Matt Brubeck
e6b31a616f Add more arguments to mach test commands 2014-09-12 21:57:07 -07:00
Tetsuharu OHZEKI
8bed778a3d Add 'mach clean'. 2014-09-13 04:39:18 +09:00
Dirk Leifeld
f2a692e0ff Add -v or --verbose to mach build 2014-09-11 18:46:18 +02:00
Jack Moffitt
3924652aa3 Merge pull request #3263 from duncankl/refactor-test-tidy
Refactor python/tidy.py (updated post-cargoify)
2014-09-09 22:46:34 -06:00
Duncan Keall
74cc288cdb Use os.path.join instead of manually inserting slashes. 2014-09-10 11:03:21 +12:00
Duncan Keall
8e25e958ab Cleaned up python/licenseck.py
- Moved logic into tidy.py
- Removed explicit BSD license exceptions, they are already ignored by
  being inside the codegen directory.
2014-09-10 10:01:46 +12:00
Duncan Keall
6c48066565 Refactor python/tidy.py to not use globals. Fixes #3242 2014-09-10 10:01:46 +12:00
Matt Brubeck
0d19453290 Fix typo in 'mach cargo --help' 2014-09-09 14:57:26 -07:00
Matt Brubeck
965ba08c75 Pass --target option from mach to cargo 2014-09-09 14:56:51 -07:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00