Commit graph

16155 commits

Author SHA1 Message Date
Matt McCoy
a2bf5b6b51 Moving MouseEventType from msg to script_traits 2016-01-11 19:54:51 -05:00
bors-servo
a03747e12b Auto merge of #9258 - mbrubeck:stb-up, r=jdm
Upgrade to latest stb_image 0.2.1 from crates.io

Includes servo/rust-stb-image#84.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9258)
<!-- Reviewable:end -->
2016-01-12 04:38:41 +05:30
bors-servo
a5a7a8318c Auto merge of #8972 - GauriGNaik:expose-css-errors-1, r=jdm
M1501: CSS Error Reporting: Final Steps Last Part

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8972)
<!-- Reviewable:end -->
2016-01-12 03:47:50 +05:30
bors-servo
bd7255dd24 Auto merge of #9249 - Ms2ger:msg, r=nox
Remove unused dependencies from the msg crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9249)
<!-- Reviewable:end -->
2016-01-12 02:18:47 +05:30
bors-servo
fed41a42da Auto merge of #9257 - fmmartins:refactor-scripttraits, r=jdm
Move IFrameLoadInfo and IFrameSandboxState to script_traits

Hi, this should fix #8841!
Any change that might be needed please tell me

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9257)
<!-- Reviewable:end -->
2016-01-12 01:44:27 +05:30
bors-servo
47617578af Auto merge of #9245 - Ms2ger:reexports, r=nox
Stop reexporting style types from layout_interface.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9245)
<!-- Reviewable:end -->
2016-01-11 23:57:51 +05:30
Fernando Martins
0ef003c20a moved IFrameLoadInfo and IFrameSandboxState to script_traits 2016-01-11 18:24:08 +00:00
Matt Brubeck
d0fd7c83f6 Upgrade to latest stb_image 0.2.1 crates.io 2016-01-11 10:18:52 -08:00
bors-servo
099beee85c Auto merge of #8983 - Manishearth:cursors, r=jdm
Various textinput fixes

 - Currently the cursor sticks around if you click elsewhere. Now the text inputs are relayout-ed on blur.
 - Currently whitespace gets collapsed in text input (https://github.com/servo/servo/issues/8772). Not anymore.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8983)
<!-- Reviewable:end -->
2016-01-11 23:21:03 +05:30
Ms2ger
7e3d1f88a0 Remove unused dependencies from the msg crate. 2016-01-11 14:25:40 +01:00
GauriGNaik
907322c666 Final steps 2016-01-11 18:48:54 +05:30
Ms2ger
9dc85e0d40 Stop reexporting ReflowGoal from layout_interface. 2016-01-11 10:00:17 +01:00
Ms2ger
39ba25572b Stop reexporting Animation from layout_interface. 2016-01-11 09:47:08 +01:00
bors-servo
e89dd05a16 Auto merge of #9230 - Aesthetikx:move_epoch_to_gfx_traits, r=KiChjang
Move Epoch to gfx_traits

Resolves #9222. Moved Epoch from components/msg/compositor_msg to
components/gfx_traits/lib. Updated use statements to reflect the move.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9230)
<!-- Reviewable:end -->
2016-01-11 09:19:23 +05:30
Chad Kimes
2703568227 Remove unused enum GlobalField 2016-01-10 22:46:38 -05:00
Chad Kimes
efaf4cdeca Remove global field from FileReader 2016-01-10 22:45:31 -05:00
Chad Kimes
9371c041a3 Remove global field from XMLHttpRequest 2016-01-10 22:34:44 -05:00
Chad Kimes
9b79f2f5a3 Remove global field from Worker 2016-01-10 22:29:42 -05:00
Chad Kimes
fbe9107614 Remove global field from WebSocket 2016-01-10 22:24:33 -05:00
Chad Kimes
25814021ea Remove global field from WebGLRenderingContext 2016-01-10 22:13:20 -05:00
Chad Kimes
c62f1e15fb Remove global field from Storage 2016-01-10 22:07:59 -05:00
Chad Kimes
0d217b5f71 Remove global field from FormData 2016-01-10 22:01:04 -05:00
Chad Kimes
d90141a8f6 Remove global field from CanvasRenderingContext2D 2016-01-10 21:53:18 -05:00
Chad Kimes
5e3bbdcafb Remove global field from Blob 2016-01-10 21:20:31 -05:00
bors-servo
4d8d6bf7ff Auto merge of #9242 - frewsxcv:form-elements-sameobject, r=ecoal95
HTMLFormElement::Elements should honor [SameObject] attribute

Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:

https://github.com/w3c/web-platform-tests/issues/2462

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9242)
<!-- Reviewable:end -->
2016-01-11 05:19:56 +05:30
Corey Farwell
1ff1ec69dd HTMLFormElement::Elements should honor [SameObject] attribute
Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:

https://github.com/w3c/web-platform-tests/issues/2462
2016-01-10 18:27:07 -05:00
John DeSilva
f32995543d Move Epoch to gfx_traits
Resolves #9222. Moved Epoch from components/msg/compositor_msg to
components/gfx_traits/lib. Updated use statements to reflect the move.
2016-01-10 17:36:52 -05:00
bors-servo
663ac945c1 Auto merge of #9204 - connorimes:update-hb-energymon, r=Manishearth
Update heartbeats and energymon dependencies

Also aligns the heartbeats profiling script with current ProfilerCategory values.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9204)
<!-- Reviewable:end -->
2016-01-11 03:41:06 +05:30
bors-servo
85792d2819 Auto merge of #9200 - frewsxcv:unnecessary-sorting-functions, r=nox
Remove unneeded dict sorting functions in CodegenRust.py

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9200)
<!-- Reviewable:end -->
2016-01-11 02:41:42 +05:30
Corey Farwell
f72d153c8d Implement HTMLFormElement::Length 2016-01-10 14:44:13 -05:00
Josh Leverette
bc1850240f Refactor WebGLPaintTask to prevent creating extra IPC channels #9228 2016-01-10 13:26:15 -06:00
bors-servo
99d0142293 Auto merge of #9237 - frewsxcv:htmlformelement-elements, r=KiChjang
Implement HTMLFormElement::Elements

Fixes #8566

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9237)
<!-- Reviewable:end -->
2016-01-10 22:55:15 +05:30
Corey Farwell
d63c9d79d3 Remove unneeded dict sorting functions in CodegenRust.py 2016-01-10 12:20:46 -05:00
Corey Farwell
bff8947e43 Implement HTMLFormElement::Elements
Fixes #8566
2016-01-10 12:08:24 -05:00
bors-servo
d3889b4be4 Auto merge of #9236 - tgummerer:fix-9220, r=Wafflespeanut
Move LayerType enum to gfx_trait

The LayerType enum is only used in gfx_traits and layout, so it
shouldn't be defined in msg.  Move the definition to gfx_traits
instead.

Fixes #9220

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9236)
<!-- Reviewable:end -->
2016-01-10 21:18:45 +05:30
Thomas Gummerer
70a2179cd2 Move LayerType enum to gfx_trait
The LayerType enum is only used in gfx_traits and layout, so it
shouldn't be defined in msg.  Move the definition to gfx_traits
instead.

Fixes #9220
2016-01-10 16:20:37 +01:00
Simon Martin
3f3e50574a Issue #9095: Send a notification when a file load is cancelled. 2016-01-10 14:06:03 +01:00
bors-servo
280c4e95f5 Auto merge of #9214 - frewsxcv:refactor-htmlfieldsetelement-elements, r=KiChjang
Refactor 'listed element' logic for HTMLFieldSetElement::Elements

`HTMLElement::is_listed_element` method was added, which matches the
`HTMLElement::is_labelable_element` method directly above

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9214)
<!-- Reviewable:end -->
2016-01-10 16:33:19 +05:30
bors-servo
d3e2f94f20 Auto merge of #9201 - wenderen:8512-task-thread, r=jdm
task -> thread

for #8512

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9201)
<!-- Reviewable:end -->
2016-01-10 15:49:04 +05:30
rohan.prinja
1f02c4ebbb task -> thread 2016-01-10 17:58:13 +09:00
bors-servo
aa713c9fbb Auto merge of #9209 - bholley:geckolib, r=SimonSapin
Implement a geckolib target

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9209)
<!-- Reviewable:end -->
2016-01-10 07:14:17 +05:30
bors-servo
42eee54967 Auto merge of #9212 - frewsxcv:webidl-spec-updates, r=KiChjang
Update a couple WebIDL files to match spec

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9212)
<!-- Reviewable:end -->
2016-01-10 02:38:34 +05:30
Bobby Holley
840df61ba3 Implement a geckolib target. 2016-01-09 12:37:56 -08:00
Corey Farwell
e3728f6167 Refactor 'listed element' logic for HTMLFieldSetElement::Elements
`HTMLElement::is_listed_element` method was added, which matches the
`HTMLElement::is_labelable_element` method directly above
2016-01-09 13:22:15 -05:00
bors-servo
2c0f81087b Auto merge of #9226 - nox:clean-console, r=KiChjang
Clean up Console a bit

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9226)
<!-- Reviewable:end -->
2016-01-09 23:06:57 +05:30
Anthony Ramine
189d373cbe Introduce Console::send_to_devtools
This replaces propagate_console_msg and wraps prepare_message.
2016-01-09 17:31:32 +01:00
Anthony Ramine
0e3f066e8a Remove the global field from Console
We can just go through the reflector.
2016-01-09 16:02:41 +01:00
Keith Yeung
c3f73b36e1 Fix documentation links for EventTarget 2016-01-09 06:33:36 -05:00
bors-servo
f00532bab0 Auto merge of #9213 - frewsxcv:broken-link, r=KiChjang
Fix broken spec link in HTMLScriptElement

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9213)
<!-- Reviewable:end -->
2016-01-09 14:17:20 +05:30
bors-servo
1819b6ea82 Auto merge of #9192 - mbrubeck:unused-encoding, r=pcwalton
Remove unused import in script

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