Ms2ger
d3d1f2b5c4
Simplify DOMTokenList::Item.
2015-11-02 16:04:50 +01:00
Ms2ger
13291c4b64
Avoid some string copies in handle_modify_attribute.
2015-11-02 16:04:49 +01:00
bors-servo
5c11c88e92
Auto merge of #8294 - Ms2ger:layout-input, r=jdm
...
Remove RawLayoutHTMLInputElementHelpers.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8294 )
<!-- Reviewable:end -->
2015-11-02 19:44:51 +05:30
bors-servo
3282174a99
Auto merge of #8291 - ecoal95:webgl-drop, r=jdm
...
Add destructors to some WebGL objects, remove duplicated glutin dependency and try to enable the webgl reftests
The first commit allows to cleanup the gl resources of the webgl task earlier if they aren't being used.
Right now all resources were cleaned up when the context was destroyed, so I think this is
a slightly better approach.
The second commit bumps rust-offscreen-rendering-context to remove the duplicated glutin dependency.
The third one tries to reenable the webgl reftests.
Since the errored builds are deleted, It's the only way I can try to troubleshoot it.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8291 )
<!-- Reviewable:end -->
2015-11-02 18:52:33 +05:30
Emilio Cobos Álvarez
8fff34e2e7
Disable WebGL reftests on linux
2015-11-02 14:05:05 +01:00
Ms2ger
0dacd33102
Remove RawLayoutHTMLInputElementHelpers.
2015-11-02 11:42:39 +01:00
bors-servo
50d51bab7f
Auto merge of #8245 - eefriedman:misc-attribute-fixes, r=nox
...
Use attribute getter/setter macros for misc DOM attributes.
This fixes a few minor bugs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8245 )
<!-- Reviewable:end -->
2015-11-02 15:14:32 +05:30
bors-servo
e72bd1437c
Auto merge of #7400 - dzbarsky:angle, r=mbrubeck
...
Allow more valid use of calc expressions
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7400 )
<!-- Reviewable:end -->
2015-11-02 12:46:43 +05:30
David Zbarsky
00980ea595
Implement calc expressions for more value types
2015-11-01 23:16:14 -08:00
bors-servo
35b452660b
Auto merge of #8193 - dzbarsky:event_type, r=nox
...
Use an Atom for Event.type
Depends on https://github.com/servo/string-cache/pull/113
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8193 )
<!-- Reviewable:end -->
2015-11-02 05:57:28 +05:30
Eli Friedman
cf8f2b1874
Use attribute getter/setter macros for misc DOM attributes.
...
This fixes a few minor bugs.
Also adds some better testing for "unsigned long" attributes.
2015-11-01 12:47:28 -08:00
Emilio Cobos Álvarez
641e54bd41
Bump offscreen_gl_context
...
This new version shold prevent crashing on the linux buildbots.
2015-11-01 20:51:23 +01:00
Emilio Cobos Álvarez
12d1464220
Move WebGL reftests to wpt/mozilla
2015-11-01 20:30:39 +01:00
Emilio Cobos Álvarez
938a05428a
servo/main: Load gl symbols in headless mode
...
This allows running WebGL reftests in wpt.
2015-11-01 20:30:38 +01:00
bors-servo
2e4454a423
Auto merge of #8192 - nxnfufunezn:brotli-decompressor, r=jdm
...
Accept Brotli-compressed HTTP responses #8156
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8192 )
<!-- Reviewable:end -->
2015-11-01 23:13:21 +05:30
David Zbarsky
0070adb71f
Use an Atom for Event.type
2015-11-01 09:42:11 -08:00
bors-servo
0e70a1f8a8
Auto merge of #7965 - frewsxcv:labelable-elements-label-attribute, r=nox
...
Implement 'labels' attribute on 'labelable elements'
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965 )
<!-- Reviewable:end -->
2015-11-01 20:51:18 +05:30
Corey Farwell
9df375195e
Implement 'labels' attribute on 'labelable elements'
2015-11-01 09:50:14 -05:00
Emilio Cobos Álvarez
35473b0009
Try to re-enable webgl reftests
...
I can't reproduce locally the failure that produced them, and since the
builds that triggered them are deleted for some reason (like
http://build.servo.org/builders/linux-dev/builds/419 ), it could be a
good moment to troubleshoot it.
If merged closes #7931
2015-11-01 13:45:02 +01:00
Emilio Cobos Álvarez
2c87249311
Bump offscreen_rendering_context to remove duplicated Glutin dependency
2015-11-01 13:44:31 +01:00
Emilio Cobos Álvarez
95a0d0584f
webgl: Add destructors for texture, program, shader, buffer and framebuffer
...
This allows to cleanup resources earlier if they stop being used. Right
now all resources were cleaned up when the context was destroyed, this is
a slightly better approach.
We ignore the possible failure of the send() call, since we don't keep
track of these resources from the `WebGLRenderingContext` structure, so
a texture could be destroyed after the context and give us problems.
2015-11-01 13:39:20 +01:00
bors-servo
601169c0e5
Auto merge of #8290 - itsmeolivia:store-script-reflow, r=Ms2ger
...
Un-boxed ScriptReflow
As per #8238 I changed `layout_interface::Msg::Reflow` to store `ScriptReflow` rather than `Box<ScriptReflow>`
I ran the tests and believe everything passed but this is my first commit to the project so sorry if I messed up the protocol!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8290 )
<!-- Reviewable:end -->
2015-11-01 14:50:17 +05:30
Olivia Nordquist
aebf87cf5b
Un-boxed ScriptReflow
2015-10-31 22:29:16 -07:00
nxnfufunezn
468eaac096
Accept Brotli-compressed HTTP responses #8156
2015-11-01 08:59:18 +05:30
bors-servo
959ae86bd0
Auto merge of #8274 - bholley:state_restyle_hints, r=pcwalton
...
Implement state-based restyle hints
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8274 )
<!-- Reviewable:end -->
2015-11-01 07:23:51 +05:30
bors-servo
1add1185ab
Auto merge of #8287 - eefriedman:label-unused-var, r=Manishearth
...
Fix unused variable warnings.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8287 )
<!-- Reviewable:end -->
2015-11-01 06:19:03 +05:30
bors-servo
4cf49d4d09
Auto merge of #8037 - eefriedman:net-send-sniff, r=jdm
...
Consistently use content-type sniffing with all protocols.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8037 )
<!-- Reviewable:end -->
2015-11-01 03:50:29 +05:30
Bobby Holley
564170f41b
State restyle hint tests.
...
This handles the state part of #6942 .
2015-10-31 14:28:52 -07:00
Bobby Holley
45fc7f2930
Implement restyle hints for state changes.
2015-10-31 14:28:52 -07:00
Bobby Holley
41dfd07d16
Rev rust-selectors.
2015-10-31 14:28:51 -07:00
Eli Friedman
dcaa764b57
Fix unused variable warnings.
2015-10-31 12:21:51 -07:00
Eli Friedman
aef06f2f20
Consistently use content-type sniffing with all protocols.
2015-10-31 11:26:17 -07:00
bors-servo
53d8f04ac4
Auto merge of #8260 - martiansideofthemoon:my-code-fix, r=Manishearth
...
Implementing activation behavior for <label>
Attempt to resolve #8179
@Manishearth , could you give me some resources having more information about what each function in `Activatable` does? The code compiles on my machine but I guess a lot more is needed
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8260 )
<!-- Reviewable:end -->
2015-10-31 22:25:27 +05:30
bors-servo
f432c3c49f
Auto merge of #7956 - gkbrk:binary_mime, r=jdm
...
Made binary files show an info message instead of garbled text.
Content-types with the TopLevel "Application" such as
* application/octet-stream
* application/pdf
now show an info message instead of trying to view binary data as html.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7956 )
<!-- Reviewable:end -->
2015-10-31 21:30:52 +05:30
KALPESH KRISHNA
af91c980f2
Implementing activation behavior for <label>
2015-10-31 21:12:22 +05:30
bors-servo
789aa5e3a0
Auto merge of #8283 - servo:update-tests, r=Ms2ger
...
Update tests
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8283 )
<!-- Reviewable:end -->
2015-10-31 20:52:17 +05:30
Ms2ger
5450053b02
Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0
2015-10-31 16:21:47 +01:00
Ms2ger
b492a3e8b1
Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5
2015-10-31 16:21:44 +01:00
Gökberk Yaltıraklı
aa7a3919c4
Made binary files show an info message instead of garbled text.
2015-10-31 18:07:13 +03:00
bors-servo
912359fcbd
Auto merge of #8282 - Ms2ger:handle_mouse_move_event, r=Manishearth
...
Cleanup Document::handle_mouse_move_event a bit.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8282 )
<!-- Reviewable:end -->
2015-10-31 18:57:31 +05:30
bors-servo
37c03c7816
Auto merge of #8262 - nxnfufunezn:Remove_JS_root, r=Ms2ger
...
Removed JS::root #8251
Fixes #8251
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8262 )
<!-- Reviewable:end -->
2015-10-31 18:24:23 +05:30
nxnfufunezn
d8ef3809a6
Removed JS::root Fixes #8251
2015-10-31 18:15:16 +05:30
Ms2ger
e05d9d0646
Cleanup Document::handle_mouse_move_event a bit.
2015-10-31 13:25:32 +01:00
bors-servo
521a87180a
Auto merge of #8162 - bholley:centralize_event_states, r=pcwalton
...
Centralize event states in rust-selectors
This still needs a rev bump on rust-selectors once https://github.com/servo/rust-selectors/pull/55 gets merged.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8162 )
<!-- Reviewable:end -->
2015-10-31 10:05:45 +05:30
Bobby Holley
79ac365a68
Move EventState to rust-selectors.
2015-10-30 21:02:35 -07:00
Bobby Holley
f7f27a8146
Hoist checked and indeterminate state into EventState.
...
This is necessary for those selectors to take advantage of restyle hints.
2015-10-30 21:01:50 -07:00
bors-servo
7512aa69c0
Auto merge of #8114 - nfallen:7695, r=eefriedman
...
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695
Here is a draft for issue #7695 with web platform tests.
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastructure.html#domstringmap
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8114 )
<!-- Reviewable:end -->
2015-10-31 08:04:08 +05:30
bors-servo
913ac56875
Auto merge of #8279 - frewsxcv:clippy-fixes, r=eefriedman
...
Fix some rust-clippy violations
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8279 )
<!-- Reviewable:end -->
2015-10-31 06:51:47 +05:30
Nova Fallen
73c4af626a
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames
2015-10-30 21:13:29 -04:00
bors-servo
84bf368c3b
Auto merge of #8276 - mrobinson:fragment-ticks, r=mbrubeck
...
Snap fragment scroll points to pixel boundaries
These don't match hardware pixels, but work well enough when the device
pixel ratio is a whole number.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8276 )
<!-- Reviewable:end -->
2015-10-31 05:48:00 +05:30