Commit graph

3278 commits

Author SHA1 Message Date
Bobby Holley
dec296ddbc Use features to prevent the util component from entraining the world in GeckoLib builds. 2016-01-11 19:38:43 -08:00
Bobby Holley
384cdfcfff Hoist ParseErrorReporter into style and remove the dependency on msg.
The pipeline id stuff is currently unused. If someone needs it, they can add
an additional trait bound on their css error reporter to get the pipeline id.
2016-01-11 18:01:48 -08:00
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
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
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
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
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
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
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
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
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
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
bors-servo
809f64a283 Auto merge of #9188 - frewsxcv:unused-codegen-options, r=Manishearth
Remove unused command-line Python codegen arguments

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9188)
<!-- Reviewable:end -->
2016-01-09 10:20:45 +05:30
bors-servo
654636cf79 Auto merge of #9187 - Ms2ger:script-comments, r=jdm
Update specification references and TODO comments in HTMLScriptElement.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9187)
<!-- Reviewable:end -->
2016-01-09 08:30:08 +05:30
Corey Farwell
7973bb7d70 Fix broken spec link in HTMLScriptElement 2016-01-08 20:51:33 -05:00
Corey Farwell
8f35652f25 Update HTMLFormElement WebIDL to match spec
https://html.spec.whatwg.org/multipage/#htmlformelement
2016-01-08 20:38:56 -05:00
Corey Farwell
a1795a54d0 Update HTMLFieldSetElement WebIDL to match spec
https://github.com/whatwg/html/pull/413

https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
2016-01-08 20:37:30 -05:00
Brandon Fairchild
fb0304cfdb Rename fire_simple_event_params to fire_event
Fixes #9180.
2016-01-07 13:49:49 -05:00
Matt Brubeck
e4f4b2ab81 Remove unused import in script 2016-01-07 09:12:41 -08:00
bors-servo
72ecbbe221 Auto merge of #9184 - servo:clippy, r=frewsxcv
Fix some clippy warnings.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9184)
<!-- Reviewable:end -->
2016-01-07 20:13:03 +05:30
Ms2ger
a7afb25e9f Use Option::cloned() in HTMLCanvasElement::GetContext(). 2016-01-07 14:51:19 +01:00
Ms2ger
ad1035f0a0 Remove an unused argument to CustomEvent::init_custom_event. 2016-01-07 14:51:18 +01:00
Corey Farwell
62a0cac3c0 Remove unused command-line Python codegen arguments 2016-01-07 08:51:06 -05:00
Ms2ger
649614eedc Update specification references and TODO comments in HTMLScriptElement. 2016-01-07 14:47:50 +01:00
bors-servo
e5fcb7a5b7 Auto merge of #9182 - Ms2ger:es-warning, r=Manishearth
Silence a warning in EventSourceReadyState.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9182)
<!-- Reviewable:end -->
2016-01-07 15:10:23 +05:30
Ms2ger
27ad50cfa7 Silence a warning in EventSourceReadyState. 2016-01-07 09:45:12 +01:00
Manish Goregaokar
f67e208630 Remove virtual call and unconditionally dirty node on set_focus_state 2016-01-07 13:38:05 +05:30
bors-servo
0fcee73ef3 Auto merge of #8860 - craftytrickster:8801/blob-vec, r=jdm
Changing blob to use arc pointers in order to limit wasteful copying …

Fixes #8801.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8860)
<!-- Reviewable:end -->
2016-01-07 13:07:42 +05:30
Brandon Fairchild
0b25737113 script_task.rs: Use self::MixedMessage in handle_msgs
handle_msgs contains many references to variants of MixedMessage.

The function should directly reference the variants instead of
prepending `MixedMessage::`.

Fixes #9169.
2016-01-07 00:13:05 -05:00
David Raifaizen
76f689cd06 Changed blob to use DataSlice with Arc in order to limit wasteful copying of byte vector 2016-01-06 19:41:52 -05:00
bors-servo
238a8786de Auto merge of #9029 - KiChjang:event-source, r=jdm
Implement EventSource and update test expectations

Partial #8925.

Most of the processing model for `EventSource` are unimplemented because we currently don't have a fetch implementation.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9029)
<!-- Reviewable:end -->
2016-01-07 00:38:25 +05:30
bors-servo
f4a2fe9501 Auto merge of #9164 - paulrouget:updatePipelineURL, r=jdm
update pipeline url after redirections

`pipeline.url` is not updated after a redirection.

Fixes #8902

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9164)
<!-- Reviewable:end -->
2016-01-06 21:53:41 +05:30
Paul Rouget
268e285439 update pipeline url after redirections 2016-01-06 06:49:49 +01:00