Commit graph

907 commits

Author SHA1 Message Date
Kevin Liu
b3a0ff5f31 Return the error codes instead of implicitly returning None 2016-09-29 16:46:34 -07:00
Simon Sapin
2108fa026e Fix OS-Mesa discovery in debug mode. 2016-09-29 09:15:01 +02:00
bors-servo
13c4393516 Auto merge of #13415 - Manishearth:style-testing-disable, r=SimonSapin
Run style unit tests in testing mode, disable some properties in testing mode

Another crack at making it possible to test geckolib properties.

In the previous PR I added support for a testing mode but neglected to use it in the style unit tests.

Using it brought out some bugs with properties that exist in both gecko and servo but have different names. Added the ability to disable them.

Hopefully this isn't too unweildy.

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13415)
<!-- Reviewable:end -->
2016-09-28 16:39:49 -05:00
UK992
b0fabec6c7 Fix msvc packages download dir for custom .servo location 2016-09-28 22:58:38 +02:00
Vladimir Vukicevic
da8f06b0f9 Use default console subsystem on Windows for dev builds 2016-09-28 13:37:31 -07:00
Glenn Watson
dd4827d85f Update test expectations, remove webrender prefs/cmd line. 2016-09-28 18:42:30 +10:00
Manish Goregaokar
e1e512f86b Run style unit tests in testing mode, disable some properties in testing mode 2016-09-28 10:00:36 +02:00
Glenn Watson
cdb69d4423 Add OSMesa headless mode, run WPT against Webrender, update tests. 2016-09-28 11:57:33 +10:00
bors-servo
99435663f8 Auto merge of #13091 - zack1030:issue-12792, r=shinglyu
Create ./mach test-perf command

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [X] These changes fix #12792 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it is low-risk

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

in **testing_commands.py**, I linked the new command to **test_perf.sh**
in **test_perf.sh**, it prepares tp5n.zip and virtual environment
then runs **test_all.sh**

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13091)
<!-- Reviewable:end -->
2016-09-26 04:36:04 -05:00
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
3bf5813096 Replace instances of old ServiceWorker specification URL with new one
The old specification URL is
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has
been replaced by the new one at https://w3c.github.io/ServiceWorker/.
2016-09-25 20:32:32 +05:30
CHANG FU CHIAO
fd204e0365 Create ./mach test-perf command
in testing_commands.py, I linked the new command to test_perf.sh
in test_perf.sh, it would prepare tp5n.zip and virtual environment
then run test_all.sh
2016-09-25 14:49:51 +08:00
bors-servo
28bce69d24 Auto merge of #13386 - Manishearth:style-testing, r=emilio
Run style tests with all properties included

This turns on all properties (including stylo-only ones) when the style unit tests are compiled. This lets us test the parsing of gecko-only properties.

These tests can't go in tests/stylo since this introduces dependencies on `Gecko_*` symbols. This method lets us test parsing and serialization of geckolib properties compiled in Servo mode (e.g. using Servo atoms, Servo URLs)

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13386)
<!-- Reviewable:end -->
2016-09-24 00:36:28 -05:00
Hugo Thiessard
0ac212afb1 Issue #13350 Report tidy error for space after ( 2016-09-23 14:01:58 +02:00
Manish Goregaokar
c5a7bb2569 Don't crash when -p is specified with test-unit 2016-09-23 15:10:42 +05:30
Manish Goregaokar
1d497828a7
Move sanity checks to stylo tests 2016-09-21 00:05:54 +05:30
Manish Goregaokar
c615a0dabc
Add unit test crate for stylo 2016-09-20 20:26:51 +05:30
UK992
875981ece5 Fix ordering use statements with braces 2016-09-09 04:42:30 +02:00
UK992
fc3555556c Create mach bootstrap based on Mozilla's mozboot bootstrapper 2016-09-07 22:45:05 +02:00
Attila Dusnoki
ccc66d0c32 WebBluetooth Android support 2016-09-06 12:48:04 +02:00
Emilio Cobos Álvarez
e8d7184659
Revert "Remove mako.zip"
This reverts commit 95e3f8333a.
2016-09-04 12:52:30 +08:00
crypto-universe
95e3f8333a Remove mako.zip 2016-09-01 23:33:46 +02:00
Ravi Shankar
b579841183 Minor cleanup of mach and bootstrap script 2016-09-01 17:25:36 +05:30
Ravi Shankar
f83fe9e39b Ensure that we get python and pip from virtualenv 2016-09-01 17:00:18 +05:30
bors-servo
c3ce9f2c90 Auto merge of #13107 - UK992:tidy, r=Wafflespeanut
Tidy: Handle empty files

Fix index error ``list index out of range``, when file is empty.

r? @Wafflespeanut

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13107)
<!-- Reviewable:end -->
2016-08-31 07:42:25 -05:00
edunham
ed05d45c6e bump Tidy version no 2016-08-29 15:43:45 -07:00
UK992
d5b76c9f6d Tidy: Handle empty files 2016-08-29 18:33:03 +02:00
yoyo930021
1acded3f85 Need better description for mach subcommands #12402 6 2016-08-28 21:00:46 +08:00
yoyo930021
37eb05dc61 Need better description for mach subcommands #12402 5 2016-08-28 20:57:59 +08:00
yoyo930021
2767a7b860 Need better description for mach subcommands #12402 4 2016-08-28 20:46:34 +08:00
yoyo930021
856b85ad95 Need better description for mach subcommands #12402 3 2016-08-28 20:32:48 +08:00
yoyo930021
326cd670d4 Need better description for mach subcommands #12402 2 2016-08-28 19:36:20 +08:00
yoyo930021
b39d4a6542 Need better description for mach subcommands #12402 2016-08-28 14:38:06 +08:00
UK992
0f07517049 Check for license only in Cargo.toml 2016-08-25 06:50:23 +02:00
bors-servo
eec56ca50e Auto merge of #12976 - Wafflespeanut:tidy_fixes, r=nox
A few minor cleanups in tidy

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] These changes do not require tests because it's just a cleanup

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12976)
<!-- Reviewable:end -->
2016-08-23 03:29:05 -05:00
Ravi Shankar
33d7b3967e Some cleanups in tidy 2016-08-23 00:53:09 +05:30
tp6vup54
55af3e3c27 Change the separator used in rust path into os.path.join 2016-08-22 23:32:02 +08:00
bors-servo
1c9650cc90 Auto merge of #12877 - UK992:tidy-toml, r=Wafflespeanut
Tidy config file

This is wip workaround for https://github.com/servo/servo/issues/10841
Adds ``servo-tidy.toml`` with configs and ignored dirs, files and packages.
This will allow to set custom configuration per repo.
It's an example how could config file looks like.
I want opinion on that, if this is right approaches and how to improve it.

cc @edunham

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12877)
<!-- Reviewable:end -->
2016-08-20 22:27:06 -05:00
UK992
74dba5cbdd Check for errors in tidy config file 2016-08-20 22:51:46 +02:00
UK992
0ad905ae42 Tidy config file 2016-08-20 22:50:56 +02:00
bors-servo
5a5c16776c Auto merge of #12250 - ConnorGBrewster:mac_about_version, r=larsbergstrom
Add servo version to mac about servo window.

<!-- Please describe your changes on the following line: -->
<img width="396" alt="screen shot 2016-07-04 at 8 43 44 pm" src="30a6dd6c-4228-11e6-9098-68c49900b14e.png">

cc @aneeshusa

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes are a temporary solution for #12052 (github issue number if applicable).

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12250)
<!-- Reviewable:end -->
2016-08-19 19:45:00 -05:00
Connor Brewster
fe61124c15 Add servo version to mac about servo window. 2016-08-19 18:55:27 -05:00
Xidorn Quan
0510b4a198 Check PLATFORM for proper toolchain when use msvc 2016-08-18 21:19:27 +10:00
Vladimir Vukicevic
a25c3da27a Set up PATH to find DLLs for tests 2016-08-17 09:51:45 -04:00
Vladimir Vukicevic
ab007315c2 Copy in DLLs to servo.exe dir 2016-08-17 09:51:42 -04:00
Vladimir Vukicevic
e7dd579ebf Ignore TOML failing to parse Cargo.lock, due to a bug 2016-08-17 09:51:38 -04:00
Vladimir Vukicevic
59da96def1 Use mingw windows subsystem syntax for gcc only 2016-08-17 09:51:14 -04:00
Vladimir Vukicevic
5ab760e698 Fix unicode env issues for call() 2016-08-17 09:51:09 -04:00
Vladimir Vukicevic
0aa5ad4197 Don't enforce line length in Cargo.toml files 2016-08-17 09:51:02 -04:00
Vladimir Vukicevic
0e32871591 Add proper Win32 notification for builds 2016-08-17 09:50:58 -04:00
Vladimir Vukicevic
82df8e9399 Set windows subsystem on MSVC builds with editbin 2016-08-17 09:50:54 -04:00