Commit Graph

151 Commits

Author SHA1 Message Date
James Graham
c655d64503 servo: Update the README files to reflect the changes to the update procedure.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b8aaf3c57c930263a4cd22ac9b4803bb26ff110
2015-04-01 13:27:27 +01:00
James Graham
5a37924f77 servo: Add support for running W3C CSS tests.
These are run through the same harness as the web-platform-tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: b2a5225831a8eee3ff596dce2be8dc08df4300a0
2015-03-27 21:23:44 +00:00
James Graham
b926fd1ee6 servo: Make the test-wpt mach command support all the command line arguments of wptrunner.
Also remove the shell script and ensure that default options are set in a single location

Source-Repo: https://github.com/servo/servo
Source-Revision: 2bde318d24a2ecd2698edd108013c138630bec9d
2015-03-27 21:22:40 +00:00
James Graham
0b1489def1 servo: Put a copy of mozlog in the tree.
This is required to import the command line options for the wpt tests from the harness

Source-Repo: https://github.com/servo/servo
Source-Revision: f7ff2aa5584fa16c61f66f35a25de0ceacdd4eb5
2015-03-27 21:13:33 +00:00
Kyle Cesare
b9261b3fed servo: Merge #5405 - Add space in mach command suggestion (from kylc:fix_mach_help_msg); r=Ms2ger
Running `./mach run --release` without a release profile built suggests running `./mach build--release`. This PR adds a space before `--release`.

Source-Repo: https://github.com/servo/servo
Source-Revision: b20cc69a7a30f62fcdfee5c7f5ca61454199d425
2015-03-31 17:15:52 -06:00
Prabhjyot Singh Sodhi
4cd50717da servo: Merge #5039 - Make Tidy check ports/cef and ports/glutin (from psdh:tidy); r=jdm
Fixes #5034

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f3493b5bbfc6f0c40385fb41a32e006092e0f3a
2015-03-31 12:42:56 -06:00
Matt Brubeck
6d7875dcca servo: Merge #5200 - Add an environment variable to override cache-dir (from mbrubeck:cache-dir); r=larsbergstrom
This will be set in servo/saltfs to prevent our buildbot builders from re-downloading the build tools for every build.

r? @larsbergstrom or @metajack or @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 82f70c5d501a50d914d69bcd3743d81d5aac69d2
2015-03-19 13:57:52 -06:00
Ms2ger
f4ea3a3dd0 servo: Merge #5256 - Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-de (from servo:rustup_20150311); r=jdm
...v.

Relies on:
* https://github.com/servo/rust-geom/pull/72
* https://github.com/servo/rust-glx/pull/10
* https://github.com/servo/gleam/pull/15
* https://github.com/servo/rust-mozjs/pull/137
* https://github.com/servo/rust-core-text/pull/35
* https://github.com/servo/rust-io-surface/pull/28

Source-Repo: https://github.com/servo/servo
Source-Revision: 99cf9dbfc107bacb84dfe5afa9539a0ede3beac2
2015-03-18 11:25:00 -06:00
Ms2ger
f9cfa9247c servo: Merge #5146 - Update web-platform-tests (from Ms2ger:wpt_20150304); r=jgraham,Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: ff39ae6cb14405360efa171b337b1ae5c414ed0e
2015-03-17 15:24:49 -06:00
Daniel Le
ef71290295 servo: Merge #5210 - Add HOST_FILE environment variable for test-wpt (from GreenRecycleBin:#4968); r=jdm
`./mach test tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm` is still failing with the same message as reported in #3219.

Source-Repo: https://github.com/servo/servo
Source-Revision: cf39c672b66640ab28d12ab9e6c97c0af9344212
2015-03-16 11:42:59 -06:00
Andreas Tolfsen
8d8c1d23b3 servo: Merge #5221 - Ensure wpt is bootstrapped before running (from andreastt:ato/wpt-bootstrap); r=Manishearth
`./mach test-wpt` will fail in non-obvious ways unless all wpt submodules have recursively been checked out first.  This ensure they have been when running the command in a checkout of Servo that hasn't been bootstrapped yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7a299913824ad51897338ba32250a7c100b3f1e4
2015-03-15 12:12:54 -06:00
Manish Goregaokar
263b2e76cf servo: Merge #5168 - Add support for $CARGO_HOME in servobuild (from Manishearth:cargo-home); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: e8ea41658111cccc0cd2b4fd85e511750f907daa
2015-03-08 00:03:45 -07:00
Simon Sapin
2eeb47d83f servo: Merge #5172 - Organize reftest list alphabetically and make the tidy script check it (from servo:alpha); r=SimonSapin
Rebase of #5123. (Fixes #5123.) Thanks @gille-leblanc!

Reftest list check is checked using Python's default string comparison.
Also added a notice in the tidy script when there are no errors.

Fixes #5092

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b14df16c6d60fd5e379203d8035e933777e0221
2015-03-07 10:48:51 -07:00
Jack Moffitt
c380c60ece servo: Merge #5167 - Fix post build commands (from metajack:fix-post-build); r=mbrubeck
`./mach run --release` was completely broken and always ran the dev profile.

Source-Repo: https://github.com/servo/servo
Source-Revision: f7725b666773d43b9f743e96b3a5a2ca6abad439
2015-03-06 12:18:56 -07:00
Simon Sapin
7e2be25d5f servo: Merge #5141 - Make submodule sync silent (and recursive) (from SimonSapin:silent-submodule-sync); r=Manishearth
This eliminates the

    Synchronizing submodule url for 'support/android-rs-glue'
    Synchronizing submodule url for 'tests/wpt/web-platform-tests'

messages that appeared for every `mach build` command.

Source-Repo: https://github.com/servo/servo
Source-Revision: 373a720dfdf7a5849b32c03865d96e047cdea647
2015-03-04 05:51:44 -07:00
Avi Weinstock
3a6de7b591 servo: Merge #5122 - Filter out "Downloading rust snapshot" percent indicator in mach's outpu (from aweinstock314:master); r=kmcallister
...t based on sys.stdout.isatty() (Issue #5043).

Source-Repo: https://github.com/servo/servo
Source-Revision: 315a2349e8e0064be3d8ba1ab42cdd38ff3451a7
2015-03-02 20:18:49 -07:00
Prabhjyot Singh Sodhi
2e69fa9fa9 servo: Merge #5115 - mach commands now warn when it's ambiguous which binary to run (from psdh:improveBinRun); r=mbrubeck
Fixes #5080

Source-Repo: https://github.com/servo/servo
Source-Revision: 801b939479f359777c6ee68cd634da0f7c73984b
2015-03-02 19:06:51 -07:00
Manish Goregaokar
f267c73788 servo: Merge #5033 - Fix gonk warnings, add to tidy (from Manishearth:gonk-warn); r=Ms2ger
Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe,
however `ANativeWindow` is marked as `#[repr(C)]` and should be okay.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8bc4d07e50aa38371ef383b8f22ec9f7cacaae96
2015-02-28 14:09:48 -07:00
Robo
b36b6d7841 servo: Merge #5053 - default to number of available cpu for wpt-tests (from deepak1556:script_patch); r=jdm
fixes #5046

Source-Repo: https://github.com/servo/servo
Source-Revision: 39273d6b533c540ff4965a660802d0ed8a9b9f92
2015-02-28 12:57:50 -07:00
dhneio
b56d9b83e8 servo: Merge #5052 - Remove outdated warning from test-unit (from dhneio:5042); r=Manishearth
This warning is no longer applicable due to a change in cargo's behavior, see https://github.com/servo/servo/issues/5042

Source-Repo: https://github.com/servo/servo
Source-Revision: 862c66e78e9a590229acbcc9ce139653da7c1e52
2015-02-25 08:52:18 -07:00
Ms2ger
88f804533c servo: Merge #5049 - Make 'args' a list in the mach run handler (from servo:Ms2ger-patch-1); r=Manishearth
This fixes a regression from 894e58f714de0f3d65aeb943dbf8f569feb8c1d6.

Source-Repo: https://github.com/servo/servo
Source-Revision: 337433cde572099ff2975fd5cade49a9b79911d2
2015-02-24 06:54:46 -07:00
Nathan Froyd
4b6d152fd1 servo: Merge #5047 - add basic |mach rr-{record,replay}| commands (from jdm:rr-mach-commands); r=jdm
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. Rebased from #4237.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6264e4dcdc75b83c8d08eb6bbbc9ed8412a2115c
2015-02-23 21:09:46 -07:00
Prabhjyot Singh Sodhi
20a589c974 servo: Merge #5011 - changin os.exit to sys.exit (from psdh:ossys); r=Manishearth
Fixes #5009

Source-Repo: https://github.com/servo/servo
Source-Revision: a5f52bf086fcb4ec4c3d22917b928ebd0997ff84
2015-02-21 13:42:45 -07:00
Manish Goregaokar
ec73aa2e35 servo: Merge #4991 - Add ./mach build-gonk; unbreak gonk build; document (from Manishearth:gonkup); r=larsbergstrom
r? @larsbergstrom

cc @mwu

Source-Repo: https://github.com/servo/servo
Source-Revision: d326e75c5e0314903ed2d297dcb72e535c543c2f
2015-02-20 22:27:49 -07:00
Prabhjyot Singh Sodhi
54412d02e1 servo: Merge #4992 - ./mach cargo now cd's to servo dir if in root (from psdh:cargodir); r=Manishearth
Fixes #4976

Source-Repo: https://github.com/servo/servo
Source-Revision: ff10deb81415d2d1822166d1c0ca0d9f484f48c6
2015-02-20 16:24:53 -07:00
awlnx
e32dbab688 servo: Merge #4958 - fixes issue #4103 (from awlnx:master); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bc0e13a46db491b778f2ec47782d03282775eedc
2015-02-20 14:33:54 -07:00
Prabhjyot Singh Sodhi
ad2888040e servo: Merge #4930 - Mach bootstrapping will sync modules (from psdh:sync); r=Manishearth
Fixes #4916

Source-Repo: https://github.com/servo/servo
Source-Revision: 5622366bc5d40e387114ad51fdfb3a321772351d
2015-02-18 13:18:50 -07:00
Prabhjyot Singh Sodhi
6f70b0d192 servo: Merge #4877 - improving mach run error message in case of missing binaries (from psdh:imperror); r=jdm
#4874

Source-Repo: https://github.com/servo/servo
Source-Revision: b70e3cc5be5474cf3e45b7db251cf1ee494e26f1
2015-02-18 11:33:55 -07:00
awlnx
62c6722c62 servo: Merge #4913 - Added cleaning of packages to mach (from awlnx:master); r=jdm
issue #4898

Source-Repo: https://github.com/servo/servo
Source-Revision: c0e2a237ec14d1aaecc5240e7ebb8f324c946834
2015-02-13 06:15:48 -07:00
Prabhjyot Singh Sodhi
978ecd8d53 servo: Merge #4851 - adding --release flag to mach run command (from psdh:release); r=mbrubeck
#4834

Source-Repo: https://github.com/servo/servo
Source-Revision: 149053c2a770f919538133350f9398510c998bcf
2015-02-05 13:18:47 -07:00
Maciej Skrzypkowski
362e77800c servo: Merge #4816 - Added "-j" flag usage for building OpenSSL for android (from mskrzypkows:mskrzypkows_b); r=jdm
Sorry again the same pull request because I accidentally removed commit from branch.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3da41c2b16d84a8eb4c616b50124afd1252d1123
2015-02-03 07:09:52 -07:00
Manish Goregaokar
dcf80f334d servo: Merge #4813 - Fix the fix of the fix for fixing docs (from Manishearth:fix-fix-fix-doc); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 4622961d01533fbc9c310c485c98546724be0eea
2015-02-03 04:21:50 -07:00
Manish Goregaokar
8537b72ab0 servo: Merge #4812 - Fix the fix for doc upload (from Manishearth:doc-fix-fix); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ff53354ba7716fadc7656891d7b0723a3730e890
2015-02-03 03:27:51 -07:00
Manish Goregaokar
0a94d74e8c servo: Merge #4805 - Fix doc upload (from Manishearth:doc-upload); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 68ceb6323172ad1b914064cdc496f4c3a2699f76
2015-02-02 14:54:52 -07:00
Glenn Watson
7776eb3879 servo: Merge #4798 - Remove the glfw port (it doesn't compile since last rustup anyway) (from glennw:remove-glfw); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 896cdcb96a98d4b4858d24806ee67db6f63c9fb1
2015-02-02 01:30:50 -07:00
Matt Brubeck
da246a4107 servo: Merge #4755 - Move snapshot dir inside the source dir by default (from mbrubeck:cache-dir); r=metajack
As discussed in a previous weekly meeting, this avoids changing any directories outside the repo, which is better for some automation scenarios.

The servobuild.example file has a "cache-dir" setting that restores the previous default location of `~/.servo`, which is useful for developers working with multiple clones on the same machine.

I'm not sure which setting we want to use for our buildbot hosts.

r? @metajack or @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 74e32d119c864f527510a3ca008f88c26818df0b
2015-01-28 16:06:52 -07:00
Josh Matthews
b11f7d94dc servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3f9012864a2cd927cf17a8e11dfa6922add1b7df
2015-01-27 18:15:50 -07:00
Glenn Watson
f94c8edec9 servo: Merge #4707 - Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both (from glennw:split-headless); r=larsbergstrom
The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b496d80dec4f202e0f318ee60ac156ad74256ff
2015-01-22 14:48:48 -07:00
Glenn Watson
38d15b4315 servo: Merge #4672 - Switch the default windowing system to glutin. See below for details (from glennw:make-glutin-default); r=larsbergstrom
This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.

Source-Repo: https://github.com/servo/servo
Source-Revision: ccf5f96fa91540ca73cfb24dd130d5124975fc6e
2015-01-19 16:30:47 -07:00
Ms2ger
f59ae9c05a servo: Merge #4662 - Disallow lines that span more than 160 columns (from Ms2ger:overlong); r=larsbergstrom
The Rust style guide suggests 100, but we have too many violations in the
tree already. This check can be tightened over time.

Source-Repo: https://github.com/servo/servo
Source-Revision: ee94b3e8bf659c847bda967700272f8f98fdb0cc
2015-01-19 08:33:48 -07:00
Glenn Watson
81653d18b6 servo: Merge #4581 - Update android openssl version due to security advisory https://www.openssl.org/news/secadv_20150108.txt (from glennw:openssl-update); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 78798026ac245187f92d7d3f88f7fe012c63ff9d
2015-01-08 17:15:50 -07:00
Ms2ger
b3c7f9d2ca servo: Merge #4554 - Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19 (from servo:rustup_20141221); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1d7148c79f9124779a910fd5291c5fa0543b2dae
2015-01-08 08:00:57 -07:00
Thomas Jespersen
84e9778ee4 servo: Merge #4549 - Check for no parameters when invoking cargo (from laumann:master); r=jdm
When invoking `./mach cargo` the following error appeared
```
Error running mach:

    ['cargo']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

TypeError: can only concatenate list (not "NoneType") to list

  File "/home/tj/servo/python/servo/devenv_commands.py", line 24, in cargo
    return subprocess.call(["cargo"] + params,
```
it seems to be that all that's missing is checking whether params is None or not.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3639c4e9818c5421659827b1da1844a9bbb792be
2015-01-05 08:36:53 -07:00
Ms2ger
c1b8a95d26 servo: Merge #4466 - Add a test that wptrunner fails when it should (from Ms2ger:failing-test); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: c92a7898b47ded1382221fc78526b87bfa9bd897
2014-12-23 05:36:44 -07:00
Matthew Rasmus
9a9af60d09 servo: Merge #4048 - Rebuild after ./mach test-unit (from mttr:mach_unit_test_fix); r=larsbergstrom
This is a quick and dirty workaround for issue #3928. Basically, `cargo test` is deleting `./target/servo`, which is clearly not ideal if we want to do anything with servo after running the unit tests. This PR makes sure to rebuild after running `./mach test-unit`.

I'm not familiar enough with cargo yet to know why it's doing this or what better alternatives there are to fixing this. Having to rebuild afterwards feels pretty ugly to me, but my rationalization right now is that the time it takes to build is negligible in comparison to the time it takes to run the tests. Ideally, this should be something we could take care of in Cargo.toml, but again, I'm new to this (and the documentation seems less than helpful from what I can tell so far).

I won't be available for the rest of the day, so if anyone has suggestions, or wants to wait for a better solution, I'll get back to it tomorrow probably. Otherwise, this PR at least makes `./mach test` work properly, so there's that.

Source-Repo: https://github.com/servo/servo
Source-Revision: f06e0a818db47ff872b98070077f274dbc7eb704
2014-12-22 14:05:34 -07:00
Simon Sapin
66d7332a20 servo: Merge #4420 - Fix warnings (from servo:fix-warnings); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: eea49ee1d986c306a8eec32b64be9b10cb2278fc
2014-12-18 04:42:50 -07:00
Glenn Watson
3f2a32f566 servo: Merge #4343 - Remove glut port now that android glutin has landed (from glennw:remove-glut); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918
2014-12-11 19:42:55 -07:00
Glenn Watson
6b14b072a8 servo: Merge #4327 - Switch android to glutin (from glennw:glutin-android); r=larsbergstrom,larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 15187cb4512baa57902ac07fe902df14b3c99500
2014-12-11 17:09:54 -07:00
Glenn Watson
75fc135fe4 servo: Merge #4322 - Update ./mach update-cargo to include gonk Cargo.lock (from glennw:gonk-update-cargo); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 80756a11d2fc9dbc67eda580e7ed9c22b354647e
2014-12-10 18:21:54 -07:00
Patrick Walton
755e7a69c3 servo: Merge #4193 - ports/cef: Implement accelerated compositing for the CEF port (from pcwalton:cef-redux); r=pcwalton,metajack
@glennw, is it possible to rebase your stuff on top of this? Sorry for the mess.

r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: ba06d50e3a611d1c27c6c9aa0b21441282911c3f
2014-12-10 09:40:03 -07:00