Commit graph

14624 commits

Author SHA1 Message Date
Corey Farwell
0316f0bb2b Upgrade dependency: ipc-channel
8306cdf0...6900611d
2015-12-09 16:38:13 -05:00
bors-servo
ec5ef5020d Auto merge of #8901 - vwvww:servo_lib_doc_comment, r=Wafflespeanut
Changes on comments in servo/lib.rs

1. converted the first comments in servo/lib.rs into doc comments.
2. moved doc comment of impl Browser to pub struct Browser.
resolves #8872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8901)
<!-- Reviewable:end -->
2015-12-10 01:08:20 +05:30
bors-servo
8c849cf1a3 Auto merge of #8907 - servo:rustup, r=nox
Update rustc to the 2015-12-09 nightly.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8907)
<!-- Reviewable:end -->
2015-12-10 00:31:31 +05:30
Ms2ger
cfa18bc2e6 Update rustc to the 2015-12-09 nightly. 2015-12-09 13:53:06 -05:00
Beomjin Kim
4d3a6de029 Modified doc command into module-level doc comment. 2015-12-09 16:23:52 +09:00
Beomjin Kim
a2d0e251a0 Removed space between doc comment and the actual code of pub struct Browser 2015-12-09 16:17:50 +09:00
Beomjin Kim
fd7c895094 1. converted the first comments in servo/lib.rs into doc comments.
2. moved doc comment of impl Browser to pub struct Browser.
2015-12-09 16:08:44 +09:00
bors-servo
8ba470d79f Auto merge of #8880 - Ms2ger:test-ref, r=frewsxcv
Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8880)
<!-- Reviewable:end -->
2015-12-09 11:34:22 +05:30
Ms2ger
844965ec2f Move white_space_intrinsic_sizes_a.html to wpt reftests. 2015-12-09 01:03:59 -05:00
bors-servo
f4aa5b42ea Auto merge of #8893 - Ms2ger:byteorder, r=frewsxcv
Update bincode.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8893)
<!-- Reviewable:end -->
2015-12-09 01:36:35 +05:30
Ms2ger
07d837bd03 Update bincode. 2015-12-08 14:49:38 -05:00
bors-servo
d01d20d50c Auto merge of #8889 - Ms2ger:energymon, r=metajack
Update energymon crates.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8889)
<!-- Reviewable:end -->
2015-12-09 00:43:18 +05:30
Ms2ger
dee479e3ad Update energymon crates. 2015-12-08 13:07:14 -05:00
bors-servo
5cfba0cb6e Auto merge of #8887 - mbrubeck:glue-up, r=Ms2ger
Upgrade to android_glue 0.1.3

Fixes scrolling on Android (tomaka/android-rs-glue#70). r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8887)
<!-- Reviewable:end -->
2015-12-08 22:03:32 +05:30
Matt Brubeck
6560a8ad9e Upgrade to android_glue 0.1.3 2015-12-08 07:13:35 -08:00
bors-servo
951ab565d1 Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdm
Move websocket creation to resource task

This is a pull request for part of https://github.com/servo/servo/issues/6638

It includes the following changes:
-The websocket networking code (ie. making a connection, receiving data, and sending data) has been extracted out of components/script/dom/websocket.rs and into the new file components/net/websocket_loader.rs.
-websocket.rs now communicates with the resource task (components/net/resource_task.rs) to instruct it to initiate a new websocket connection
- websocket_loader.rs now provides an API sent over an IPCChannel that allows websocket.rs to receive feedback about this process and to subsequently send and receive data

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8867)
<!-- Reviewable:end -->
2015-12-08 20:40:50 +05:30
bors-servo
fdef1db395 Auto merge of #8885 - Ms2ger:update-js, r=jdm
Update mozjs.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8885)
<!-- Reviewable:end -->
2015-12-08 13:49:51 +05:30
Nova Fallen
e8c8277f34 move websocket creation to resource task 2015-12-08 02:04:40 -05:00
bors-servo
59029325c0 Auto merge of #8827 - jdm:debugmozjscrash, r=Ms2ger
Avoid a null-dereference using debug mozjs builds. This matches the e…

…quivalent code upstream in Gecko.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8827)
<!-- Reviewable:end -->
2015-12-08 12:11:53 +05:30
Ms2ger
f724493738 Update mozjs and gcc. 2015-12-07 23:59:01 -05:00
bors-servo
cad77d5f1c Auto merge of #8824 - Ms2ger:tidy-lock, r=Wafflespeanut
Rewrite the Cargo.lock tidy check.

Fixes #8691.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8824)
<!-- Reviewable:end -->
2015-12-08 10:21:55 +05:30
bors-servo
9cccd34bc4 Auto merge of #8876 - ecoal95:webgl-nits, r=jdm
WebGL nits

This improves support for running our triangle test (see: https://github.com/servo/servo/pull/8831), and adds missing error in `BufferSubData`

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8876)
<!-- Reviewable:end -->
2015-12-08 03:56:52 +05:30
Ms2ger
29feccd02e Move append_style_a.html to wpt reftests. 2015-12-07 15:06:33 -05:00
Ms2ger
82183aebd7 Move acid2_noscroll.html to wpt reftests. 2015-12-07 15:06:32 -05:00
bors-servo
a4f617bf18 Auto merge of #8873 - apechimp:master, r=Manishearth
Run unit tests in ci

Fixes #8856.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8873)
<!-- Reviewable:end -->
2015-12-08 01:29:18 +05:30
Josh Matthews
30d1ff6abc Avoid a null-dereference using debug mozjs builds. This matches the equivalent code upstream in Gecko. 2015-12-07 14:58:00 -05:00
bors-servo
02f4be9c9f Auto merge of #8862 - fstr:move_workerid, r=Ms2ger
Moved WorkerId type to devtools_traits

Fixes #8846.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8862)
<!-- Reviewable:end -->
2015-12-08 00:53:40 +05:30
Florian Strübe
b81f712ce1 Moved WorkerId type to devtools_traits 2015-12-07 20:11:26 +01:00
bors-servo
7fb5f3c976 Auto merge of #8877 - Ms2ger:update-hbs, r=jdm
Update heartbeats libraries.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8877)
<!-- Reviewable:end -->
2015-12-07 23:07:12 +05:30
Ms2ger
0545ba08af Update heartbeats libraries. 2015-12-07 12:32:11 -05:00
Emilio Cobos Álvarez
a14b605c8e webgl: Add correct error handling to BufferSubData
From the WebGL spec:

> If data is null then an INVALID_VALUE error is generated.
2015-12-07 18:03:36 +01:00
Emilio Cobos Álvarez
89b65f3a02 webgl: Use mediump in triangle test
Support for this should be almost universal.
2015-12-07 18:02:24 +01:00
bors-servo
9f9d3570fc Auto merge of #8874 - Ms2ger:clock-ticks, r=jdm
Move from clock_ticks to time.

This is recommended at <https://github.com/tomaka/clock_ticks>.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8874)
<!-- Reviewable:end -->
2015-12-07 21:38:16 +05:30
Ms2ger
2e40297885 Move from clock_ticks to time.
This is recommended at <https://github.com/tomaka/clock_ticks>.
2015-12-07 11:03:48 -05:00
Mike Atkins
4417b8fd4a Run unit tests in ci
This resolves #8856
2015-12-07 09:43:57 -05:00
bors-servo
f5d05a39af Auto merge of #8866 - frewsxcv:update-packages, r=jdm
Update some Rust dependencies

* [winapi](292ddcdbd2...2d9b5ba0eb)
* [aho-corasick](https://github.com/BurntSushi/aho-corasick/compare/0.3.2...0.4.0)
* [memchr](https://github.com/BurntSushi/rust-memchr/compare/0.1.6...0.1.7)
* [num](4d7cb95740...659c1a73c3)
* [block](https://github.com/SSheldon/rust-block/compare/0.1.1...0.1.4)
* [regex](f07df445db...8ca7815092)
* [cgl](https://github.com/servo/cgl-rs/compare/v0.1.0...v0.1.2)
* [clipboard-win](38f69c2fa0...730f239337)
* [openssl](https://github.com/sfackler/rust-openssl/compare/v0.7.0...v0.7.1)
* [string-cache](https://github.com/servo/string-cache/compare/1bd99f16042ef58d0d06ad0a28e61bf9d4382797...v0.2.2)
* [num_cpus](https://github.com/seanmonstar/num_cpus/compare/b393c1d4a8776b501321d1b4a870983938c7bff0...ac827925a1f3125a7441042ba661ed311c1abe68)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8866)
<!-- Reviewable:end -->
2015-12-07 20:05:21 +05:30
bors-servo
c8daedb1e9 Auto merge of #8861 - salty-horse:wpt_fixes, r=mrobinson
Fix redraw of WPT UI output, and slightly improve line counting

See discussion in PR #8551.

Redraw of the first test name was broken due to a mix-up between two ANSI escape codes.
I also took the opportunity to change the way line count is calculated. It's a bit cleaner that way (the new operation is ~%20 faster, but that's unnoticeable).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8861)
<!-- Reviewable:end -->
2015-12-07 16:47:28 +05:30
Corey Farwell
1c52aee7a8 Update some Rust dependencies 2015-12-06 22:21:54 -05:00
bors-servo
ef000a458a Auto merge of #8853 - KiChjang:generic-task-sources, r=jdm
Split fn script_chan into 5 different task channel fn

Partial #7959.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8853)
<!-- Reviewable:end -->
2015-12-07 07:46:10 +05:30
bors-servo
95e6b1d101 Auto merge of #8831 - simartin:ticket_6791, r=eefriedman
Issue #6791: Allow more array types in bufferData and bufferSubData.

Fix https://github.com/servo/servo/issues/6791

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8831)
<!-- Reviewable:end -->
2015-12-07 02:39:32 +05:30
Keith Yeung
8d90034d29 Split fn script_chan into 5 different task channel fn 2015-12-06 12:12:14 -08:00
Ori Avtalion
dfac35c77d Improve line counting operation in WPT UI output 2015-12-06 21:24:14 +02:00
Ori Avtalion
359d812ed7 Fix redraw of WPT UI output 2015-12-06 21:05:44 +02:00
bors-servo
e16c930f36 Auto merge of #8855 - romankl:move-focus-enum, r=Ms2ger
move FocusType enum to the script crate

This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`.

Fixes #8840

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8855)
<!-- Reviewable:end -->
2015-12-06 20:16:23 +05:30
Roman Klauke
bcc53edda4 move FocusType enum to the script crate
This commit moves the FocusType enum to the script crate and replaces
all usages with the new `usage`.

Fixes #8840
2015-12-06 15:39:45 +01:00
Simon Martin
fa555d0e2e Issue #6791: Allow more array types in bufferData and bufferSubData. 2015-12-06 15:28:59 +01:00
bors-servo
7d9a6a8397 Auto merge of #8750 - GuillaumeGomez:master, r=Wafflespeanut
Ensure that tidy follows the same procedure for sorting

Fixes #8734

cc @Wafflespeanut

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8750)
<!-- Reviewable:end -->
2015-12-06 17:23:43 +05:30
Guillaume Gomez
db3457e498 Improve checking algorithms 2015-12-06 03:34:59 +01:00
bors-servo
98972d0434 Auto merge of #8740 - dzbarsky:ispointinpath, r=frewsxcv
Implement IsPointInPath for Canvas

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8740)
<!-- Reviewable:end -->
2015-12-06 07:19:23 +05:30
David Zbarsky
789a90a82f Implement IsPointInPath 2015-12-05 17:49:49 -08:00