Commit graph

477 commits

Author SHA1 Message Date
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
Attila Dusnoki
e7d70cfabf WebBluetooth API classes 2016-03-16 10:34:48 +01:00
malayaleecoder
4ee331059d Remove submodule update from mach bootstrap. Fixes #10010 2016-03-16 00:02:15 +05:30
Petr Klíma
c0bc90d122 Handle exception with errormessage on topdir with Unicode characters.
https://github.com/servo/servo/issues/10002
2016-03-15 11:08:38 +01:00
malayaleecoder
4b9ee25fdc test_ref() got an unexpected keyword argument 'kind'.Fixes #9986 2016-03-15 01:09:17 +05:30
bors-servo
8eb4fb801b Auto merge of #9966 - mrobinson:tidy-pyc, r=jdm
Do not run WPT tidy on pyc files

Generalize the mechanism for skipping file patterns and use it for
generating the list of WPT files to lint. Add *.pyc to the list of
file patterns to skip.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9966)
<!-- Reviewable:end -->
2016-03-11 12:16:03 +05:30
Martin Robinson
39ace782a9 Do not run WPT tidy on pyc files
Generalize the mechanism for skipping file patterns and use it for
generating the list of WPT files to lint. Add *.pyc to the list of
file patterns to skip.
2016-03-10 18:09:02 -08:00
bors-servo
f1bb0b0fa3 Auto merge of #9889 - MichaelRFairhurst:github-bug-9806-tidy-linting-string-contents, r=ecoal95
Handle escaped strings in rust linting, tidy.py

A little annoying to read since we have to escape for python (\\) and
then escape for re (\\\\) and then even at times escape for single
quotes immediately after, (\\\\\), but tidy.py now strips strings even
if they have escapes before linting.

Fixes #9806 -- basically the problem is that the PR which first revealed this had an escape in one of its strings which included an = sign. The escape meant the string wasn't escaped before it looked for spaces around spaces.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9889)
<!-- Reviewable:end -->
2016-03-11 05:07:43 +05:30
Mike Fairhurst
9b91c7afeb Handle escaped strings in rust linting, tidy.py
tidy.py now strips strings even if they have escapes before linting.

Use raw strings for regex with lots of backslashes

Handle ALL escape sequences in strings for tidy, not just escaped string terminators
2016-03-10 13:18:06 -08:00
Ms2ger
7e7495366c Update the list of files tidy ignores.
The deque file was removed in favour of an external crate.

The sync and sync_css directories are automatically created when updating the
in-tree copies of the wpt and css tests.
2016-03-09 16:18:23 +01:00
Wei Tang
cc1bb8d5df Detect Cygwin environment on Windows
Currently if Servo is built using Cygwin, it is incorrectly classified
as "unknown" host, which makes downloading Rust and Cargo fail. This
commit fixes that.
2016-03-09 10:55:22 +08:00
bors-servo
e3bea4f887 Auto merge of #9908 - UK992:tidy-fix, r=ecoal95
Check tidy for "support/android/build-apk/"

Fixes  #9893
r? @ecoal95

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9908)
<!-- Reviewable:end -->
2016-03-08 12:27:08 +05:30