Commit graph

15202 commits

Author SHA1 Message Date
Simon Sapin
2222f345c8 Make the properties list JSON and add some more info. 2016-01-15 18:13:12 +01:00
Simon Sapin
9d29c3d2f5 Add a script to list all CSS properties parsed by Servo. 2016-01-15 15:50:32 +01:00
bors-servo
679d1280dd Auto merge of #9330 - Ms2ger:enable-parsing, r=Manishearth
Enable some parsing tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9330)
<!-- Reviewable:end -->
2016-01-15 15:06:47 +05:30
Ms2ger
f8e87516e2 Enable some parsing tests. 2016-01-15 10:24:27 +01:00
bors-servo
c7e8641174 Auto merge of #9328 - frewsxcv:window-broken-link, r=jdm
Fix broken spec link on Window::Document

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9328)
<!-- Reviewable:end -->
2016-01-15 09:09:40 +05:30
bors-servo
0bc25369d1 Auto merge of #9318 - shssoichiro:rename-script-task-root, r=KiChjang
Rename SCRIPT_TASK_ROOT to SCRIPT_THREAD_ROOT

Resolves #9316

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9318)
<!-- Reviewable:end -->
2016-01-15 08:25:15 +05:30
Corey Farwell
f6dc6ad463 Fix broken spec link on Window::Document 2016-01-14 21:13:14 -05:00
bors-servo
0c500a9da5 Auto merge of #9317 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
DOMContentLoaded should bubble.

DOMContentLoaded event is currently set as non bubbling event.
Test :
./tests/wpt/web-platform-tests/html/syntax/parsing/the-end.html

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9317)
<!-- Reviewable:end -->
2016-01-15 06:53:12 +05:30
Joshua Holmer
4d7f304ef7 Rename SCRIPT_TASK_ROOT to SCRIPT_THREAD_ROOT
Resolves #9316
2016-01-14 12:01:11 -05:00
Lanza
eb018c0a04 DOMContentLoaded should bubble. 2016-01-14 17:11:30 +01:00
bors-servo
a28b5cb438 Auto merge of #9296 - apopiak:implement_as_class_9287, r=ecoal95
implement NonCallbackInterfaceObjectClass::as_jsclass()

close #9287

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9296)
<!-- Reviewable:end -->
2016-01-14 18:24:03 +05:30
apopiak
e2160cb3b9 implement NonCallbackInterfaceObjectClass::as_jsclass() 2016-01-14 12:51:16 +01:00
bors-servo
d28fb42201 Auto merge of #9293 - Ms2ger:reftests, r=SimonSapin
Remove the legacy reftest framework.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9293)
<!-- Reviewable:end -->
2016-01-14 15:00:14 +05:30
Ms2ger
d8511c8b8d Remove the legacy reftest framework. 2016-01-14 09:49:43 +01:00
Ms2ger
671cfd9940 Remove legacy reftest lints. 2016-01-14 09:49:42 +01:00
Ms2ger
f7db33eb33 Move acid2.html to wpt reftests. 2016-01-14 09:49:41 +01:00
bors-servo
a76de4b0cc Auto merge of #9300 - antrik:assert_empty_fontgroup, r=Ms2ger
layout/text.rs: Add assertion for empty fontgroup

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9300)
<!-- Reviewable:end -->
2016-01-14 14:11:56 +05:30
Olaf Buddenhagen
422639fb60 layout/text.rs: Add assertion for empty fontgroup 2016-01-14 08:35:32 +01:00
bors-servo
396d411ac8 Auto merge of #9297 - KiChjang:document-new-elements, r=ecoal95
Add instructions to update create.rs when adding new DOM interfaces

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9297)
<!-- Reviewable:end -->
2016-01-14 11:10:10 +05:30
bors-servo
42372dbdf1 Auto merge of #9299 - antrik:update-ipc_channel, r=pcwalton
cargo-update ipc-channel to get important fixes

This pulls in https://github.com/servo/ipc-channel/pull/25 and
https://github.com/servo/ipc-channel/pull/27, thus fixing fallout from
the multiprocess split, and making Servo work on my system again.

(It also pulls in https://github.com/servo/ipc-channel/pull/12 -- I
guess that's fine?)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9299)
<!-- Reviewable:end -->
2016-01-14 10:27:52 +05:30
bors-servo
9c713cb468 Auto merge of #9298 - nikkisquared:test_fetch, r=KiChjang
Implement a basic test for Fetch

As per @jdm's suggestion that I start minimally testing the Fetch protocol to catch any errors, I wrote a very simple test that just calls Fetch and checks that the response isn't a network error. I've made changes as necessary for every failure I encountered, although this doesn't mean the implementation is faultless yet.

As always, I look forward to any feedback for improvements regarding the test itself, the changes to the fetch files I've made, and anything that I missed and should update.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9298)
<!-- Reviewable:end -->
2016-01-14 08:20:05 +05:30
bors-servo
b26c7bd7ea Auto merge of #9295 - shssoichiro:move-animationstate, r=KiChjang
Move AnimationState to script_traits

Resolves #9223

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9295)
<!-- Reviewable:end -->
2016-01-14 06:30:05 +05:30
Nikki
5a8c533755 Implement a basic test for Fetch and fix errors it finds 2016-01-13 16:45:57 -07:00
Joshua Holmer
83e66d6959 Move AnimationState to script_traits
Resolves #9223
2016-01-13 18:14:12 -05:00
Olaf Buddenhagen
a450c8f67b cargo-update ipc-channel to get important fixes
This pulls in https://github.com/servo/ipc-channel/pull/25 and
https://github.com/servo/ipc-channel/pull/27, thus fixing fallout from
the multiprocess split, and making Servo work on my system again.

(It also pulls in https://github.com/servo/ipc-channel/pull/12 -- I
guess that's fine?)
2016-01-13 23:46:24 +01:00
bors-servo
3c6e16c9ad Auto merge of #9289 - mskrzypkows:move_FrameTreeId, r=KiChjang
Move FrameTreeId type to gfx_traits #9221

Fixes #9221.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9289)
<!-- Reviewable:end -->
2016-01-14 02:06:47 +05:30
bors-servo
a345608a94 Auto merge of #9273 - apopiak:fix_mach_test_error_9253, r=Wafflespeanut
add `faster` flag to `./mach test` command

in order to call `test-tidy` properly

close #9253

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9273)
<!-- Reviewable:end -->
2016-01-14 01:08:29 +05:30
Keith Yeung
b4a0d5b857 Add instructions to update create.rs when adding new DOM interfaces 2016-01-13 13:53:54 -05:00
bors-servo
897007f134 Auto merge of #9271 - apopiak:moveMozBrowserEvent_9225, r=KiChjang
Move `MozBrowserEvent` to `script_traits`

close #9225

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9271)
<!-- Reviewable:end -->
2016-01-14 00:10:48 +05:30
apopiak
4b773cefe9 move MozBrowserEvent to script_traits (+ documentation) 2016-01-13 17:48:50 +01:00
bors-servo
c13e84010d Auto merge of #9107 - ecoal95:webgl-uniforms-and-nits, r=simartin
webgl: Track the current program, implement some uniform functions, and nits

Was done while implementing sequence arguments.

Depends on #9056.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9107)
<!-- Reviewable:end -->
2016-01-13 22:14:59 +05:30
apopiak
f34d2a53c8 add faster flag to ./mach test command in order to call test-tidy properly 2016-01-13 16:48:38 +01:00
bors-servo
0b5dda3e9c Auto merge of #9275 - Ms2ger:extern-crate, r=larsbergstrom
Remove some unused extern crates.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9275)
<!-- Reviewable:end -->
2016-01-13 21:16:35 +05:30
Emilio Cobos Álvarez
4092ffd245 webgl: Check shader compilation status on use_program. 2016-01-13 15:28:36 +01:00
Emilio Cobos Álvarez
cf479a2b4f webgl: Fix draw_arrays_simple reftests
It used pre-shader translation syntax
2016-01-13 15:28:35 +01:00
Emilio Cobos Álvarez
48962bd6b6 webgl: Improve debugging
Now we can keep track of errors more easily.
2016-01-13 15:28:34 +01:00
Emilio Cobos Álvarez
5c23c3851a webgl: Remove old WebGLContextEvent idl
It's already defined in its own idl file.
2016-01-13 13:41:32 +01:00
Emilio Cobos Álvarez
e3532dda24 webgl: Check for bound element array buffer on DrawElements
And remove outdated TODOs
2016-01-13 13:41:32 +01:00
Emilio Cobos Álvarez
910b2260ab webgl: Check for pending current_program errors 2016-01-13 13:41:31 +01:00
Emilio Cobos Álvarez
221a583784 webgl: Track uniformlocation's program 2016-01-13 13:41:30 +01:00
Emilio Cobos Álvarez
532b53ddc9 webgl: Implement Uniform1f, Uniform1fv, and Uniform4f
I was going to implement Uniform4fv with sequences, (since it
practically implemented), but we can't until we support Float32Array
args because codegen doesn't know how tu differenciate between both.
2016-01-13 13:41:30 +01:00
Maciej Skrzypkowski
e52c53a7f2 Move FrameTreeId type to gfx_traits #9221 2016-01-13 13:36:28 +01:00
bors-servo
0e6bca8e8e Auto merge of #9272 - Ms2ger:dpi, r=ato
Support device-pixel-ratio in wpt reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9272)
<!-- Reviewable:end -->
2016-01-13 16:46:52 +05:30
bors-servo
ee5aead60b Auto merge of #9282 - mattnenterprise:create-attribute-lowercase, r=nox
Making create attribute lowercase

This should fix #9252. I need some help getting the test case to work correctly. I get output that "TITLE" should FAIL, but it PASS. How do I make it to where it should PASS?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9282)
<!-- Reviewable:end -->
2016-01-13 15:46:13 +05:30
Ms2ger
86d3c576f2 Remove some unused extern crates. 2016-01-13 09:37:28 +01:00
bors-servo
9c8382cbde Auto merge of #9277 - PythonNut:master, r=Wafflespeanut
Call WPT lint directly in tidy, fixes #9189

This should be fairly straightforward. :)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9277)
<!-- Reviewable:end -->
2016-01-13 12:39:24 +05:30
Matt McCoy
e684a20a1a Making create attribute lowercase 2016-01-12 21:03:50 -05:00
bors-servo
cbb5a0d872 Auto merge of #9279 - nerith:documentstate, r=nox
Move DocumentState to script_traits

Fixes #9224.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9279)
<!-- Reviewable:end -->
2016-01-13 02:58:32 +05:30
PythonNut
fcd33e2b70 Call WPT lint directly in tidy, fixes #9189 2016-01-12 21:13:54 +00:00
bors-servo
64b0e47c27 Auto merge of #9264 - waterlink:debian-linuxes-requirements-add-build-essential, r=jdm
Add build-essential to Debian based Linuxes' requirements

This is discovered here: #9262

Particularly `make` needs to be available.

Usually on developer workstation `build-essential` is already installed. That is why it wasn't there in requirements.

It occurs that if you use minimal ubuntu image for some kind of automated build, it doesn't have `build-essential` by default. So would be nice to still have `build-essential` there in the command.

--
Kind Regards,
Oleksii

--

/cc @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9264)
<!-- Reviewable:end -->
2016-01-13 00:57:13 +05:30