Brandon Fairchild
637afecec9
Move LayerKind and ScrollPolicy enums to gfx_traits
...
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836 .
2015-12-20 20:43:31 -05:00
bors-servo
9a4d82c314
Auto merge of #8863 - simartin:issue_8352, r=jdm
...
Issue #8352 : Dispatch mozbrowsershowmodalprompt event for alert().
Fixes https://github.com/servo/servo/issues/8352
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8863 )
<!-- Reviewable:end -->
2015-12-21 02:28:32 +05:30
bors-servo
5b91daa923
Auto merge of #9025 - k-cross:master, r=nox
...
touchlist dom api #8225
Sorry for the wait, I just finished my finals.
Fixes #8225
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9025 )
<!-- Reviewable:end -->
2015-12-21 01:19:41 +05:30
Beomjin Kim
82f39d5a1c
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
(rebased)
2015-12-20 11:53:41 +09:00
k-cross
ae8d3f67c8
touchlist dom api #8225
2015-12-19 12:10:18 -08:00
bors-servo
8c87477138
Auto merge of #9026 - Manishearth:attack-of-the-clones, r=Ms2ger
...
Remove clone in collect_text_contents
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9026 )
<!-- Reviewable:end -->
2015-12-20 00:14:02 +05:30
Beomjin Kim
2637d30c2a
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
resolving issue #8835 .
2015-12-20 00:31:33 +09:00
Simon Martin
0d910bb934
Issue #8352 : Dispatch mozbrowsershowmodalprompt event for alert().
2015-12-19 12:51:33 +01:00
bors-servo
f9141ef2db
Auto merge of #9019 - magopian:9002-use-url.join, r=SimonSapin
...
Use Url.join instead of UrlParser.base_url(...).parse (#9002 )
Fix issue #9002
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9019 )
<!-- Reviewable:end -->
2015-12-19 01:58:56 +05:30
Manish Goregaokar
ef5de267d9
Remove clone in collect_text_contents
2015-12-19 01:06:16 +05:30
bors-servo
21277b1fa0
Auto merge of #8959 - nox:domtokenlist-stringifier, r=Ms2ger
...
Fix DOMStringMap's stringifier behaviour according to the spec
It should just return its associated attribute's value, if any.
https://github.com/whatwg/dom/issues/105
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8959 )
<!-- Reviewable:end -->
2015-12-19 00:51:17 +05:30
bors-servo
6ba4ef22fa
Auto merge of #8882 - GuillaumeGomez:dom_quad, r=nox
...
Add DOMQuad element
cc @nox
Part of #8821
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8882 )
<!-- Reviewable:end -->
2015-12-18 23:37:12 +05:30
Guillaume Gomez
823e1b96c3
Add DOMQuad element
2015-12-18 17:37:10 +01:00
Anthony Ramine
e7a9f44df9
Fix DOMStringMap's stringifier behaviour according to the spec
...
It should just return its associated attribute's value, if any.
https://github.com/whatwg/dom/issues/105
2015-12-18 17:03:49 +01:00
Mathieu Agopian
11234f5370
Use Url.join instead of UrlParser.base_url(...).parse ( #9002 )
2015-12-18 17:02:41 +01:00
bors-servo
22e1ccae37
Auto merge of #9010 - Ms2ger:warnings, r=jdm
...
Silence warnings in htmlformelement.rs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9010 )
<!-- Reviewable:end -->
2015-12-18 15:16:32 +05:30
bors-servo
8dc4b8dcb9
Auto merge of #8993 - nox:small-codegen-slimming, r=Ms2ger
...
Slightly reduce the output of codegen
Interfaces which we know are never instantiated can generate less code.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8993 )
<!-- Reviewable:end -->
2015-12-18 06:35:15 +05:30
bors-servo
63923bc7c9
Auto merge of #8825 - jmr0:master, r=jdm
...
adding initial support for websocket subprotocol negotation
Addresses #8177
I also noticed some bugs/gaps (and at least one of my TODO's can be an E-Easy)
cc @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8825 )
<!-- Reviewable:end -->
2015-12-18 05:23:15 +05:30
bors-servo
82e73e7a5f
Auto merge of #8723 - dzbarsky:origin_clean, r=dzbarsky
...
Add origin-clean flag tracking for canvas
The resulting failures are because we aren't doing origin-comparison correctly (I bet the image ends up with an empty hostname or something). We could probably hack around that if we care, but it should just go away when we get the origin checking right.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8723 )
<!-- Reviewable:end -->
2015-12-18 04:26:59 +05:30
David Zbarsky
b8e9064fe6
Add origin-clean flag tracking for canvas
2015-12-17 11:40:38 -08:00
Ms2ger
50ff54c37c
Silence warnings in htmlformelement.rs.
2015-12-17 16:03:22 +01:00
jmr0
7d0bede8ba
adding initial support for websocket subprotocol negotation
2015-12-17 09:17:15 -05:00
bors-servo
9570b51565
Auto merge of #8618 - paulrouget:reload, r=jdm
...
Browser API: implement iframe.reload()
fixes #8575
The implementation is naive, and doesn't support the `hardreload` parameter.
And for the test, I'm not sure how else I can test the reload.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8618 )
<!-- Reviewable:end -->
2015-12-17 19:45:44 +05:30
bors-servo
c6ae32abdd
Auto merge of #8612 - glennw:pending-frames, r=jdm
...
Add test to constellation to avoid writing reftest image if there are pending frames.
This changes several tests that contain <iframe></iframe> from FAIL to TIMEOUT. This is correct
since there is a bug that prevents these iframes from ever rendering.
~~~There are also a few previous FAILs that changed to OK. These may be intermittents or they
may genuinely be fixed by this change.~~~
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8612 )
<!-- Reviewable:end -->
2015-12-17 16:19:16 +05:30
Glenn Watson
b670430cb2
Add test to constellation to avoid writing reftest image if there are pending frames.
...
Also change when pipelines become active.
This makes the constellation activate a pipeline as the current frame
when it is ready to do initial reflow, rather than when it is ready
to paint.
This fixes a number of intermittent failures that could previously occur
if an iframe was not visible - which would mean it was never moved from
a pending frame in the constellation to an active frame.
(It happens that webrender exposes these intermittents as permanent failures).
2015-12-17 12:30:19 +10:00
bors-servo
d9bf1ba616
Auto merge of #8747 - KiChjang:form-interactive-validation, r=Manishearth
...
Implement basic framework for static and interactive validation on forms
This came along when I was trying to do #3648 . I was about to do form validation as well, but then I saw it was actually intended to be a student project. Hopefully I didn't step on too many toes on this one; I did leave most of the important bits out (the fun bits I believe, e.g. interactive validation doesn't actually interactively validate anything right now).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8747 )
<!-- Reviewable:end -->
2015-12-17 05:41:45 +05:30
Keith Yeung
5ed03a5466
Remove big blob of commented code
2015-12-16 10:36:13 -08:00
bors-servo
d1ea209f0f
Auto merge of #8996 - nox:rm-empty-modules, r=frewsxcv
...
Do not create modules from files with nothing to codegen (fixes #8711 )
Fixes #8711 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8996 )
<!-- Reviewable:end -->
2015-12-16 21:06:37 +05:30
Corey Farwell
1dee779d45
Delete GenerateCSS2PropertiesWebIDL.py
2015-12-16 09:12:56 -05:00
bors-servo
9c4ca39ebe
Auto merge of #8055 - nox:rm-webidl-patches, r=Ms2ger
...
Remove all our patches to the WebIDL parser
All the tweaks we need can just be made through Configuration.py.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8055 )
<!-- Reviewable:end -->
2015-12-16 15:19:25 +05:30
David Zbarsky
6a72d4dd12
Implement WebGL scissor method
2015-12-15 20:43:38 -08:00
Keith Yeung
3395e54585
Implement basic framework for static and interactive validation on forms
2015-12-15 16:34:42 -08:00
Anthony Ramine
2522cfe539
Do not create modules from files with nothing to codegen ( fixes #8711 )
2015-12-16 01:17:06 +01:00
bors-servo
59a3544279
Auto merge of #8991 - nox:clean-construct-hook, r=frewsxcv
...
Merge CGClassConstructHook and CGClassNameConstructHook (fixes #8934 )
Fixes #8934 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8991 )
<!-- Reviewable:end -->
2015-12-16 05:13:50 +05:30
Anthony Ramine
22d3213737
Mark CSS as [Abstract]
...
It is never instantiated.
2015-12-16 00:42:20 +01:00
Anthony Ramine
372da02a42
Link [Abstract] to the existing concrete descriptor field
...
This makes codegen not emit anything strictly related to the interface which
are never used in the case of abstract interfaces, such as the Wrap method
or the DOMJSClass.
2015-12-16 00:42:15 +01:00
Anthony Ramine
05e456d0d2
Do not export GetProtoObject if the interface has no descendants
2015-12-16 00:39:22 +01:00
Alan Jeffrey
348a68fe2c
Bump string_cache version to 0.2.5.
...
Atom::to_lower_case() now returns an Atom rather than a String,
so there are a few asserts that need a different collection of &s and *s.
2015-12-15 17:00:36 -06:00
Anthony Ramine
561fdbb150
Merge CGClassConstructHook and CGClassNameConstructHook ( fixes #8934 )
2015-12-15 23:55:06 +01:00
Anthony Ramine
c1718a0b1f
Update WebIDL parser
2015-12-15 23:24:16 +01:00
Anthony Ramine
06947965b1
Remove all our local patches to the WebIDL parser
...
All the tweaks we need can just be made through Configuration.py, and
[Abstract] is being submitted upstream by Ms2ger.
2015-12-15 23:06:35 +01:00
Guillaume Gomez
14a22953dd
Fix invalid returned value for dictionary types
2015-12-15 18:26:35 +01:00
GauriGNaik
fc81276c8e
Add pipeline information to CSS error reporting.
2015-12-14 11:18:30 -05:00
bors-servo
6032f8225b
Auto merge of #8963 - Aesthetikx:unforgeable-istrusted, r=jdm
...
Make Event's isTrusted attribute unforgeable
Three failure expectations were able to be removed from `tests/wpt/web-platform-tests/dom/interfaces.html`. This is my first commit to servo and my first time with rust, hopefully I didn't overlook anything.
Fixes #8956 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8963 )
<!-- Reviewable:end -->
2015-12-14 17:43:15 +05:30
bors-servo
201b5c9820
Auto merge of #8966 - GuillaumeGomez:patch-1, r=nox
...
Fix invalid dictionary inheritance
Needed by #8882 .
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8966 )
<!-- Reviewable:end -->
2015-12-14 17:08:23 +05:30
bors-servo
1d7f296fb8
Auto merge of #8955 - askobara:docs-htmlformelement-get_form_dataset, r=waffles
...
Add comments for the "Constructing the form data set" algorithm
Fixes #7852
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8955 )
<!-- Reviewable:end -->
2015-12-14 14:01:25 +05:30
bors-servo
cbd2c9560b
Auto merge of #8964 - nox:replacewith, r=frewsxcv
...
Fix Node::replace_with
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8964 )
<!-- Reviewable:end -->
2015-12-14 10:44:21 +05:30
bors-servo
89d9aad1e1
Auto merge of #8761 - dzbarsky:gl_functions, r=dzbarsky
...
Implement some more WebGL functions
r? @ecoal95
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8761 )
<!-- Reviewable:end -->
2015-12-14 08:25:20 +05:30
Arthur Skobara
8d2f9fc586
Add comments for the "Constructing the form data set" algorithm
2015-12-14 08:37:30 +06:00
David Zbarsky
0f4d6d58aa
Implement various WebGL functions
2015-12-13 17:39:20 -08:00