Commit Graph

579 Commits

Author SHA1 Message Date
Maciej Skrzypkowski
415c8c0758 servo: Merge #10775 - Test for tidy.check_lock function #9152 (from mskrzypkows:tidy_tests); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: edb58040c82c9c333e0c0a04051e17ed6fb17bd7
2016-04-25 00:19:33 -07:00
Zbynek Winkler
a911446820 servo: Merge #10786 - tidy check for vim and emacs modelines (from zwn:tidy-modelines); r=Manishearth
See #10719.

It skips *.webidl files for now since I am not sure where they come from and if they should be edited in tree or not.

Source-Repo: https://github.com/servo/servo
Source-Revision: 04f8ae56db0ba9df798b39a5b2f1bb1e23d6dcf3
2016-04-22 21:46:30 -07:00
Zbynek Winkler
aa72c25a6b servo: Merge #10706 - Turn on unused-extern-crates warning (from zwn:unused-extern-crates); r=nox
As discussed in #9256. It should solve second half of the issue.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0a3a50a1293e4e8f3e04161014d03802765140c7
2016-04-22 13:40:38 -07:00
Zbynek Winkler
a2221f5bbe servo: Merge #10751 - Report lines starting with && in tidy (from zwn:tidy-start-operator); r=Wafflespeanut
Partial implementation of the issue #10692 (the easy part).

Source-Repo: https://github.com/servo/servo
Source-Revision: d926b5d3762a101d5280266f806f2b979f73b695
2016-04-22 10:40:06 -07:00
Josh Matthews
2e5b8dbe5c servo: Merge #10758 - Ensure that we aren't missing any errors in the tidy self-test (from jdm:tidy_check_completeness); r=Wafflespeanut
r? @Wafflespeanut

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f801e3f3f806f55fd955a469ed175915f24d6cb
2016-04-22 02:40:29 -07:00
Per Lundberg
3267646ce3 servo: Merge #10774 - Improve properties.mako.rs file structure, take 2 (from perlun:improve-mako-file-structure-v2); r=SimonSapin
This is a new attempt of #10586, after Simon Sapin's great cleanups in #10749 has landed. I have adjusted the changes to the new structure that was introduced, and also only done a few of the longhand ones. Will certainly continue on this as soon as we have a basic agreement that this style is reasonable.

Source-Repo: https://github.com/servo/servo
Source-Revision: 69acd8e1ccba8ff01e8f7fde4305956ba5ab866d
2016-04-22 01:49:28 +05:00
Ms2ger
49d36a93ae servo: Merge #10631 - Update wptrunner (from servo:wptrunner-20160415); r=KiChjang
Fixes #10540.
Fixes #10392.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c172f49d08fe9019b0ba193ea4d75c6ddb95cda
2016-04-21 13:24:19 +05:00
Simon Sapin
c2199fe815 servo: Merge #10749 - Prepare related files to make it easier to split up the Mako template (from servo:split-mako); r=nox
https://github.com/servo/servo/pull/10586#issuecomment-211490049

r? @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 3bfa4cc7414fea760ce5c503bfbcf25262acb9d7
2016-04-21 10:08:09 +05:00
edunham
59853ded48 servo: Merge #10715 - Allow another wording of apache2/MIT (used by gaol) (from edunham:tidy-licenses); r=larsbergstrom
r? @larsbergstrom

need this for https://github.com/servo/servo/issues/10636

Source-Repo: https://github.com/servo/servo
Source-Revision: a129ce1bccf313db85547a5c32ecf8cd7aac489b
2016-04-20 01:30:16 +05:00
rwa
16dfacb8b6 servo: Merge #10689 - Handle URLError in download() #10679 (from rwakulszowa:bootstrap-disconnected-message); r=Wafflespeanut
Print a human-friendly message if there is no internet connection.

Source-Repo: https://github.com/servo/servo
Source-Revision: f73c6143d5375db80fd2e0b7de96a99c78b5866b
2016-04-19 07:53:36 +05:00
askeing
e3c99fddcd servo: Merge #10653 - Cleanup tidy for external deps (from askeing:cleanup_tidy_for_external_deps); r=edunham
fix #10639

Source-Repo: https://github.com/servo/servo
Source-Revision: 4d80e0634ed58580a7d30fc7f57e6bdf4aa4e19d
2016-04-19 01:51:01 +05:00
Adrian Utrilla
aa70d9722d servo: Merge #10620 - Improved readability of ensure_bootstrapped (from autrilla:mach-command-improvements); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: a87fa103b89213b9306be35dd26980aed22207e0
2016-04-17 10:51:41 +05:00
edunham
1dbf52773f servo: Merge #10635 - Docs and cleanup after moving tidy (from edunham:tidy-cleanup); r=larsbergstrom
Missed a couple things in https://github.com/servo/servo/pull/10590

`licenseck.py` was moved into `tidy/servo_tidy/licenseck.py` by the prior PR

r? @larsbergstrom (sorry for PR spamming today)

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d23d7c0d98e24995243487b55abbf2acd1ec354
2016-04-16 05:35:09 +05:00
Adrian Utrilla
bb7a72b6d8 servo: Merge #10616 - #10614: Mach install now builds servo if it hasn't been built before (from autrilla:10614); r=edunham
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c615233d88967f79efbf78618eda3f3a8479e88
2016-04-16 00:12:04 +05:00
askeing
b7e6a9471a servo: Merge #10590 - Package tidy (from edunham:package-tidy); r=larsbergstrom
This fixes https://github.com/servo/servo/issues/861.

@askeing, I've copied your work from https://github.com/askeing/servo_tidy and attributed the commit to you. My commit in this PR is Git housekeeping to preserve `tidy`'s history. If you'd like to make additional changes, I've given you and @shinglyu push access to my fork of Servo. Apologies if this is already familiar, but the workflow for pushing to my branch is:

```
$ git remote add edunham git@github.com:edunham/servo.git
$ git checkout -b package-tidy
$ git pull edunham package-tidy
$ git push edunham package-tidy
```

Once this lands, I'll look at how to publish it to PyPI and automate that process.

Please don't merge this yet; we still need to discuss how the change should work around https://github.com/servo/servo/blob/master/python/servo/testing_commands.py#L33 , as I've yet to figure out how to get the egg to actually expose its tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: bfe54539d290cb287e59e8ba106a54a3fab6201a
2016-04-15 22:50:16 +05:00
Per Lundberg
16a282b6bb servo: Merge #10619 - mach: Added warning for update-cargo -a (from perlun:add-update-cargo-all-packages-warning); r=Wafflespeanut
To quote Lars Bergstrom:

> yeah, that's a giant footgun :-)

Source-Repo: https://github.com/servo/servo
Source-Revision: db4481b4509db4be83e0f77a66884feccd1878e0
2016-04-15 02:35:48 +05:00
Maciej Skrzypkowski
5f4e0ba7b5 servo: Merge #10563 - Test for check_spec function, for tidy.py #9152 (from mskrzypkows:tidy_tests); r=mbrubeck
Additional test for tidy.py

Source-Repo: https://github.com/servo/servo
Source-Revision: efd672344274758b4cc670fe170a812a29a3c736
2016-04-13 22:58:41 +05:00
Saurav Sachidanand
7d829f5c76 servo: Merge #10565 - Update to byteorder 0.5 (from saurvs:master); r=Ms2ger
Finishes https://github.com/servo/servo/issues/10437.

Source-Repo: https://github.com/servo/servo
Source-Revision: d566f1c143e051b3c3d4ff9e9d8087af8b45dbd6
2016-04-13 19:57:50 +05:00
Maciej Skrzypkowski
04c24e404e servo: Merge #9835 - Initial tests for tidy.py #9152 (from mskrzypkows:tidy_tests); r=Wafflespeanut
I've created tests for spaces check and license. Tell me if it's good direction so I'll add more tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 72eae396795d61c0f68d5f09dd84f0835bf10c79
2016-04-07 19:15:11 +05:00
Ms2ger
34ed2ffe98 servo: Merge #10453 - Update uuid (from Ms2ger:uuid); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 5cf89fea48fb1fc58fd665384cbaa2060decff31
2016-04-07 15:48:20 +05:00
Adrian Utrilla
5960324c7e servo: Merge #10442 - Issue #10441: Added caching support to mach bootstrap (from autrilla:mach-caching); r=Wafflespeanut
As suggested on the issue, files are stored as `.part` and moved to the original name when done.

Source-Repo: https://github.com/servo/servo
Source-Revision: e431bda9ea6c8a79c98d98668dd934fafd4f7092
2016-04-07 13:36:54 +05:00
Josh Matthews
518657cac5 servo: Merge #10435 - Fix warnings from old dependencies (from jdm:glgenbump); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: dc3f199043d4cf74b83f33c94960e199c0cfa7b3
2016-04-07 08:30:23 +05:00
Olaf Buddenhagen
8c9558ca82 servo: Merge #10447 - Update ipc-channel for two important bug fixes (from antrik:update-ipc_channel-5); r=jdm
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0b951f65b969ccc3445079a70686cf2146e365d7
2016-04-07 04:48:03 +05:00
Saurav Sachidanand
e985d24732 servo: Merge #10433 - Implement WebGLRenderingContext.getActiveUniform() (from saurvs:pr3); r=emilio
Fixes https://github.com/servo/servo/issues/10397

Source-Repo: https://github.com/servo/servo
Source-Revision: 4cc241c858ce8ee7894495d082a3bfc6233d80e8
2016-04-07 03:29:01 +05:00
Paul Rouget
7a4d0e7568 servo: Merge #9811 - forcetouch events (from paulrouget:forceTouch); r=mbrubeck
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0ff8adb09778402e88fe0d0ad92f4b399ca8ca01
2016-04-05 20:37:05 +05:00
zakorgyula
a4dbbd1293 servo: Merge #10074 - Fix ./mach test-tidy --faster issue (from zakorgy:tidyfix); r=Wafflespeanut
issue #9778

Source-Repo: https://github.com/servo/servo
Source-Revision: a8ed5c3fc66ab9ea57b6b78311485040dae27328
2016-04-05 19:34:54 +05:00
Adrian Utrilla
c4401ea9ea servo: Merge #10363 - Issue #10357: mach run -b now passes additional params to servo (from autrilla:issue#10357); r=emilio
Previously `./mach run` with the `-b` flag set ignored everything passed after the `--`, so for example when running `./mach run -d -b -- --help`, `--help` was not passed to servo - it is now.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5e73e1015b588da6b641a7a4175e51430d9b7019
2016-04-02 17:31:13 +05:00
Mohamed Albashir
d0fae49187 servo: Merge #10292 - Initial steps for CSSOM (from jdm:cssom); r=jdm
Squashed and rebased #10133.

Source-Repo: https://github.com/servo/servo
Source-Revision: f335586ff538004c708d836876b359704ebed86a
2016-04-01 03:59:08 +05:00
Emilio Cobos Álvarez
bd70866e46 servo: Merge #10302 - Update webrender to master (from emilio:webrender-up); r=nox
I'll rebase #10224 against it.

Sorry for the blocking of #10224, I expected it to be reviewed way sooner, my fault for landing breaking changes.

r? @nox or @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 84a3dee67ea7a45d6ec505f59c7a55162621f11e
2016-03-31 21:21:06 +05:00
Josh Matthews
624fd58613 servo: Merge #10238 - Run unit tests on appveyor (from jdm:winunit); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: e1485718128bff632eff5445583e925ff796bdba
2016-03-30 19:28:30 +05:00
Ms2ger
95f4930593 servo: Merge #10265 - Remove dead code that used to support the legacy reftest framework (from Ms2ger:reftest); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e19d9c45965c05397172daae96f92133139d0d11
2016-03-29 21:22:48 +05:00
Jussi Räsänen
88fce4ffa2 servo: Merge #10208 - Generate html and json of supported css properties (from jrasanen:jr/issue10196); r=SimonSapin
Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages.

Source-Repo: https://github.com/servo/servo
Source-Revision: df73a18a61e57f62e2e17541d45dcd3818b35b7c
2016-03-29 13:04:08 +05:00
Michael Howell
f72d7780fc servo: Merge #8641 - No more headless compositor. Just the normal one (from notriddle:no_headless); r=glennw
Fixes #8573

Source-Repo: https://github.com/servo/servo
Source-Revision: aac2da75f40f4c55a4b450b6d9d134429fcf741e
2016-03-29 12:12:01 +05:00
UK992
0591c2eb2f servo: Merge #10223 - Fix ./mach run and ./mach test-unit on Windows (from UK992:win32); r=larsbergstrom
This small hack fix conflict with mingw and rustc ``libstdc++-6.dll``.
This fixes https://github.com/servo/servo/issues/9465 and https://github.com/servo/servo/issues/10048

CC @larsbergstrom @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: d22a7a1912c7cf513931463e7081d2d345e11ff0
2016-03-27 19:51:37 +05:00
Lars Bergstrom
7d6f8d5511 servo: Merge #10193 - Use rustflags (from larsbergstrom:use_rustflags); r=Ms2ger
r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: a211bd1a12254a6a08987bb61f30c8b0e5ce2830
2016-03-25 22:12:17 +05:00
Bobby Holley
c3e649c731 servo: Merge #10155 - Generalize the style structs (from bholley:generalize_style_structs); r=SimonSapin
This allows geckolib to pass gecko style structs and have the style system write to them directly, provided we implement all the traits.

Source-Repo: https://github.com/servo/servo
Source-Revision: 605842f193aedc1151ab38a99c49f693c76e5cf3
2016-03-25 02:57:33 +05:00
malayaleecoder
4523d7b8a9 servo: Merge #10148 - Remove test-ref command from testing_commands.py. Fixes #10125 (from malayaleecoder:master); r=Manishearth
Tries to fix #10125

Source-Repo: https://github.com/servo/servo
Source-Revision: 5886493fb056daa326bf7ea88fc32cc4225cbc7a
2016-03-24 03:40:20 +05:00
edunham
eacb2f3ac2 servo: Merge #10127 - Read rustc-with-gold setting from env var when no .servobuild (from edunham:gold-env-var); r=larsbergstrom
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.

I figured it's worth throwing the helper function in now in case we later want to read booleans from other env vars, but there's currently no need to make up a name for and read from an env var for every single setting.

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 003fdd41769652188a5954e6499f3cb44eef6b10
2016-03-23 01:22:21 +05:00
Ms2ger
a5035eef64 servo: Merge #10123 - Remove unused use_nightly_rust function (from Ms2ger:use_nightly_rust); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 805aa3a3ab6506cd7178cebf7886c306802137a5
2016-03-22 21:08:50 +05:00
Ms2ger
49335b058c servo: Merge #10076 - Update to Rust 2016-03-18 (from servo:rustup); r=larsbergstrom,manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: aa35d7721b0e1e7893e48af1eb91bf8ad2495d46
2016-03-20 14:06:17 +05:00
Petr Klíma
3ecfa38a15 servo: Merge #10003 - Patch handles exception with errormessage on topdir with Unicode characters (from qaxi:master); r=metajack
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

Source-Repo: https://github.com/servo/servo
Source-Revision: 42c7472f336e687200507dafdf1087d8f0ea4d55
2016-03-17 00:15:22 +05:00
Attila Dusnoki
0d4709c4e3 servo: Merge #9838 - WebBluetooth API classes (from szeged:webbluetooth); r=jdm
Basic implementation of WebBluetooth API
API spec.: https://webbluetoothcg.github.io/web-bluetooth/

Source-Repo: https://github.com/servo/servo
Source-Revision: 37574065e0a1a22493bdbf1ce8dd0480aa88c758
2016-03-16 20:31:18 +05:00
Ms2ger
2c1eb66693 servo: Merge #10033 - Make the jquery test runner work again (from Ms2ger:jquery); r=jdm
CC #10032.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c5bfca53e6f61e4a7d60c8b5d65478e479c9bf5
2016-03-16 18:51:31 +05:00
malayaleecoder
221d0552fa servo: Merge #10013 - Remove submodule update from mach bootstrap. Fixes #10010 (from malayaleecoder:master); r=Wafflespeanut
Tries to fix #10010 . Please have a look.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1a60e07ee8ce3f8bd55348e6ff26639bf4c1822b
2016-03-15 23:49:04 +05:00
malayaleecoder
aea1976a56 servo: Merge #9995 - test_ref() got an unexpected keyword argument 'kind'.Fixes #9986 (from malayaleecoder:master); r=Manishearth
Tries to fix #9986. Please have a look.

Source-Repo: https://github.com/servo/servo
Source-Revision: 075ce980a24d1e31ad704915681ef3f7edd03ccb
2016-03-15 11:24:58 +05:00
Martin Robinson
9f3ee660ff servo: Merge #9966 - Do not run WPT tidy on pyc files (from mrobinson:tidy-pyc); r=jdm
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8eb4fb801b00ff9cacdfe13476bf1ac562d47ec6
2016-03-11 11:46:03 +05:00
Mike Fairhurst
067fa5b6a9 servo: Merge #9889 - Handle escaped strings in rust linting, tidy.py (from MichaelRFairhurst:github-bug-9806-tidy-linting-string-contents); r=ecoal95
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: f1bb0b0fa3eacac718a825c103cbdd1a0365fbf9
2016-03-11 04:37:43 +05:00
Ms2ger
73d73f2d4a servo: Merge #9941 - Update the list of files tidy ignores (from Ms2ger:tidy-ignore); r=jdm
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25c6c29a27d2a176a967ee49d97a29ad1d3a140e
2016-03-09 21:14:35 +05:00
Wei Tang
527ab0df0b servo: Merge #9937 - Detect Cygwin environment on Windows (from sorpaas:fix/cygwin); r=Wafflespeanut
Currently if Servo is built using Cygwin, it is incorrectly classified as "unknown" host, which makes downloading Rust and Cargo fail. This pull request fixes that.

Source-Repo: https://github.com/servo/servo
Source-Revision: 31bdcbe7258cfa796b88505f5e29d75920e5c708
2016-03-09 17:23:01 +05:00
UK992
5da2e959b4 servo: Merge #9908 - Check tidy for "support/android/build-apk/" (from UK992:tidy-fix); r=ecoal95
Fixes  #9893
r? @ecoal95

Source-Repo: https://github.com/servo/servo
Source-Revision: e3bea4f88724c9fc7dfceab590dd0df90a0a7a3f
2016-03-08 11:57:08 +05:00