Commit graph

488 commits

Author SHA1 Message Date
askeing
ee433a030c Add servo_tidy_tests into ignore dirs, and modify setup.py to fit the tidy check
- fix the issue of '$ ./mach test-tidy --no-progress'
2016-04-15 11:16:03 +08:00
edunham
e20def068e Use local tidy
https://github.com/servo/servo/issues/861#issuecomment-209547756

"I think the most important concern is that it's possible to modify tidy.py
and see how those changes affect ./mach test-tidy with the fewest possible
intermediate steps." - jdm

This takes publishing complexity away from the contributor when testing
changes and makes it an infra problem instead, where it's much easier to
automate & saner to manage pypi credentials
2016-04-14 09:22:00 -07:00
askeing
8c4c899ef9 Modified the servo_tidy_tests for both "./mach" and "make test"
- fix `cd python/tidy; make test` fail issue
2016-04-14 21:19:16 +09:00
askeing
753db5e119 Modify the description of setup.py 2016-04-14 16:13:21 +08:00
askeing
bfe460de9e Package tidy
- Modified the testing commands
- Added the requirements
- Moved python/tidy/tests to python/tidy/servo_tidy_tests for self tidy tests
2016-04-14 15:55:25 +08:00
edunham
cd4cabf5a6 add tidy to README 2016-04-13 16:07:36 -07:00
Askeing Yen (fyen)
af2ca1fa80 Create a Python package of Tidy 2016-04-13 16:07:04 -07:00
edunham
711bfe2860 start Tidy move 2016-04-13 15:56:16 -07:00
bors-servo
efd6723442 Auto merge of #10563 - mskrzypkows:tidy_tests, r=mbrubeck
Test for check_spec function, for tidy.py  #9152

Additional test for tidy.py

<!-- 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/10563)
<!-- Reviewable:end -->
2016-04-13 23:28:41 +05:30
Saurav Sachidanand
647d9874c2 Update to byteorder 0.5 2016-04-13 16:36:02 +05:30
Maciej Skrzypkowski
13847a1131 Test for check_spec function, for tidy.py #9152 2016-04-13 12:18:13 +02:00
Maciej Skrzypkowski
b8c9a288e9 tests for tidy.py #9152 2016-04-07 15:22:52 +02:00
bors-servo
5cf89fea48 Auto merge of #10453 - Ms2ger:uuid, r=KiChjang
Update uuid.

<!-- 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/10453)
<!-- Reviewable:end -->
2016-04-07 16:18:20 +05:30
bors-servo
e431bda9ea Auto merge of #10442 - autrilla:mach-caching, r=Wafflespeanut
Issue #10441: Added caching support to mach bootstrap

As suggested on the issue, files are stored as `.part` and moved to the original name when done.

<!-- 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/10442)
<!-- Reviewable:end -->
2016-04-07 14:06:54 +05:30
Adrian Utrilla
78b2c5d323 Added caching support to mach bootstrap 2016-04-07 08:10:42 +00:00
Ms2ger
489d2e5e49 Update uuid. 2016-04-07 09:00:22 +02:00
Josh Matthews
7b9a7bdaec Remove gl_generator version exception. 2016-04-06 23:28:38 -04:00
Olaf Buddenhagen
808244df63 Update ipc-channel for two important bug fixes
This fixes https://github.com/servo/servo/issues/10260 by pulling in
https://github.com/servo/ipc-channel/pull/61 (fix receive for messages
close to packet size) and https://github.com/servo/ipc-channel/pull/62
(properly handle ENOBUFS); where the latter is not critical per se, as
there was a workaround already -- but that workaround aggrevated the
first bug, resulting in the urgent issue...

This bump requires a tidy override for `uuid`: `ipc-channel` was updated
to `uuid 0.2` in https://github.com/servo/ipc-channel/pull/63 (don't
know why...), while other crates are still with `0.1`. That was blocking
this urgent bug fix; and according to a discussion with @mbrubeck on
IRC, the override should be OK in this case.
2016-04-07 01:32:09 +02:00
bors-servo
4cc241c858 Auto merge of #10433 - saurvs:pr3, r=emilio
Implement WebGLRenderingContext.getActiveUniform()

Fixes https://github.com/servo/servo/issues/10397

<!-- 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/10433)
<!-- Reviewable:end -->
2016-04-07 03:59:01 +05:30
Saurav Sachidanand
56eef10718 Implement WebGLRenderingContext.getActiveUniform() 2016-04-06 20:02:45 +05:30
bors-servo
0ff8adb097 Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeck
forcetouch events

https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html

Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811)
<!-- Reviewable:end -->
2016-04-05 21:07:05 +05:30
Paul Rouget
0d529274a4 Ignore ForceTouchEvent.webidl 2016-04-05 18:42:29 +08:00
zakorgyula
fad0b369a7 Fix ./mach test-tidy --faster issue
issue number: 9778
2016-04-05 07:29:34 +02:00
Adrian Utrilla
7f2c220335 mach run -b now passes additional params to servo 2016-04-02 13:49:56 +02:00
bors-servo
f335586ff5 Auto merge of #10292 - jdm:cssom, r=jdm
Initial steps for CSSOM

Squashed and rebased #10133.

<!-- 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/10292)
<!-- Reviewable:end -->
2016-04-01 04:29:08 +05:30
Mohamed Albashir
b7a57ef487 Initial steps for CSSOM API 2016-03-31 18:17:30 -04:00
Emilio Cobos Álvarez
97f4ef28d4 Update webrender to master
I'll rebase #10224 against it.
2016-03-31 15:49:22 +02:00
bors-servo
e148571812 Auto merge of #10238 - jdm:winunit, r=larsbergstrom
Run unit tests on appveyor

<!-- 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/10238)
<!-- Reviewable:end -->
2016-03-30 19:58:30 +05:30
bors-servo
e19d9c4596 Auto merge of #10265 - Ms2ger:reftest, r=jdm
Remove dead code that used to support the legacy reftest framework.

<!-- 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/10265)
<!-- Reviewable:end -->
2016-03-29 21:52:48 +05:30
Ms2ger
a5ccebff5a Remove dead code that used to support the legacy reftest framework. 2016-03-29 11:28:45 +02:00
bors-servo
df73a18a61 Auto merge of #10208 - jrasanen:jr/issue10196, r=SimonSapin
Generate html and json of supported css properties.

Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages.

<!-- 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/10208)
<!-- Reviewable:end -->
2016-03-29 13:34:08 +05:30
bors-servo
aac2da75f4 Auto merge of #8641 - notriddle:no_headless, r=glennw
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
2016-03-29 12:42:01 +05:30
Josh Matthews
55bc3fdccb Always use backtraces on appveyor. 2016-03-28 23:16:11 -04:00
Jussi Räsänen
6de7228945 Fixed a typo 2016-03-28 17:42:31 +03:00
Jussi Räsänen
5098ad7d93 Changed mach test to use generated json file of properties 2016-03-28 17:19:04 +03:00
UK992
d069841caf Fix ./mach run 2016-03-27 14:08:34 +02:00
bors-servo
a211bd1a12 Auto merge of #10193 - larsbergstrom:use_rustflags, r=Ms2ger
Use rustflags

r? @Ms2ger

<!-- 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/10193)
<!-- Reviewable:end -->
2016-03-25 22:42:17 +05:30
Lars Bergstrom
e83369dd25 Enable NEON feature to get hard floats on Android devices 2016-03-25 10:50:54 -05:00
Lars Bergstrom
0f1107baef Remove rustc wrapper script for gold in favor of using RUSTFLAGS 2016-03-25 10:50:21 -05:00
bors-servo
605842f193 Auto merge of #10155 - bholley:generalize_style_structs, r=SimonSapin
Generalize the style structs

This allows geckolib to pass gecko style structs and have the style system write to them directly, provided we implement all the traits.

<!-- 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/10155)
<!-- Reviewable:end -->
2016-03-25 03:27:33 +05:30
Michael Howell
c9cb4839e4 No more headless compositor. Just the normal one.
This changes headless operation to strictly be a runtime option, rather
than a compile-time one. Note that the old headless version still relied
on a display server to support WebGL, while it now requires one all the
time.

Fixes #8573
2016-03-24 11:18:54 -07:00
bors-servo
5886493fb0 Auto merge of #10148 - malayaleecoder:master, r=Manishearth
Remove test-ref command from testing_commands.py. Fixes #10125

Tries to fix #10125

<!-- 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/10148)
<!-- Reviewable:end -->
2016-03-24 04:10:20 +05:30
Bobby Holley
d8cf9729ac Ignore a few things in in tidy check.
We need to ignore geckolib/tools, otherwise we need to clobber stuff
to avoid a bunch of tidy errors in rust-bindgen etc.

We also preemtively ignore the soon-to-be-added build.rs for the same reason
it's ignored in style/, and gecko_style_structs.rs for the same reason that
bindings.rs is ignored.
2016-03-23 11:07:21 -07:00
malayaleecoder
644e8d09eb Remove test-ref command from testing_commands.py. Fixes #10125 2016-03-23 20:17:02 +05:30
edunham
e6a3f85383 Read SERVO_RUSTC_WITH_GOLD if no .servobuild
The build system needs to disable gold on arm64 slaves. Other configuration is
done through environment variables, and buildbot hosts currently don't use a
.servobuild file at all.

This change adds the `get_env_bool` function to cast an environment variable's
string contents into a Python boolean, and uses it to retrieve the optional
SERVO_RUSTC_WITH_GOLD setting.
2016-03-22 13:10:37 -07:00
Ms2ger
031a20df74 Remove unused use_nightly_rust function. 2016-03-22 17:06:57 +01:00
Ms2ger
6f679c124c Update to Rust 2016-03-18. 2016-03-20 10:05:45 +01:00
bors-servo
42c7472f33 Auto merge of #10003 - qaxi:master, r=metajack
Patch handles exception with errormessage on topdir with Unicode characters.

https://github.com/servo/servo/issues/10002
./mach does not support paths with Unicode characters for now

it fail on original line 154 with exception UnicodeDecodeError
This patch handles the exception

<!-- 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/10003)
<!-- Reviewable:end -->
2016-03-17 00:45:22 +05:30
bors-servo
37574065e0 Auto merge of #9838 - szeged:webbluetooth, r=jdm
WebBluetooth API classes

Basic implementation of WebBluetooth API
API spec.: https://webbluetoothcg.github.io/web-bluetooth/

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9838)
<!-- Reviewable:end -->
2016-03-16 21:01:18 +05:30
Ms2ger
c15fa8bf25 Use call rather than check_call in jquery_test_runner.
The contract for mach commands is to return zero / non-zero to indicate
success / failure, rather than throwing an exception. Since run_jquery.py
uses a 1 exit code when there are unexpected results, this would cause an
exception from check_call, which would then be printed with a stack trace.
2016-03-16 14:47:26 +01:00