Commit graph

14672 commits

Author SHA1 Message Date
Corey Farwell
b1de1d4829 Move table_width_attribute_a.html to wpt reftests. 2015-10-15 21:47:02 -04:00
Corey Farwell
f32f38031c Move text_align_justify_a.html to wpt reftests. 2015-10-15 21:45:02 -04:00
Corey Farwell
a987b849a0 Move table_row_direction_a.html to wpt reftests. 2015-10-15 21:39:41 -04:00
Corey Farwell
7dc6fc94d5 Move text_indent_a.html to wpt reftests. 2015-10-15 21:37:22 -04:00
Corey Farwell
75244e6ba7 Move text_transform_uppercase_a.html to wpt reftests. 2015-10-15 21:34:56 -04:00
Corey Farwell
47dd629d6a Move text_transform_none_a.html to wpt reftests. 2015-10-15 21:32:50 -04:00
Corey Farwell
6975cd97e9 Move text_transform_lowercase_a.html to wpt reftests. 2015-10-15 21:31:02 -04:00
Corey Farwell
dd2f59b2f5 Move text_align_complex_a.html to wpt reftests. 2015-10-15 21:28:42 -04:00
Corey Farwell
53def3b3fd Move text_align_rtl.html to wpt reftests. 2015-10-15 21:26:44 -04:00
bors-servo
36998cd5b1 Auto merge of #8044 - gilles-leblanc:issue-7998, r=Manishearth
Adds a tidy check for single-page HTML specification links

Flags links to the single-page WHATWG specification and suggests the URL
for the multi page one.

Fixes #7998

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8044)
<!-- Reviewable:end -->
2015-10-15 19:25:53 -06:00
Corey Farwell
c8182e78ed Move text_shadow_decorations_a.html to wpt reftests. 2015-10-15 21:22:03 -04:00
Corey Farwell
1fc2989fa6 Move text_overflow_basic_a.html to wpt reftests. 2015-10-15 21:14:28 -04:00
Corey Farwell
7c4b2aa754 Move text_shadow_simple_a.html to wpt reftests. 2015-10-15 21:08:37 -04:00
Corey Farwell
15459e35e8 Move text_shadow_blur_a.html to wpt reftests. 2015-10-15 21:05:52 -04:00
Gilles Leblanc
d99149701f Adds a tidy check for single-page HTML specification links
Flags links to the single-page WHATWG specification and suggests the URL
for the multi page one.

Fixes #7998
2015-10-15 21:03:58 -04:00
Corey Farwell
54d9d813a1 Move table_specified_width_a.html to wpt reftests. 2015-10-15 21:03:40 -04:00
Eli Friedman
827f2b873c Simplify AsyncResponseListener implementations. 2015-10-15 16:53:47 -07:00
Eli Friedman
c1aff0b678 Make AsyncResponseListener methods take &mut self. 2015-10-15 16:44:39 -07:00
Jim Berlage
380a9ce22b Adds bufferedAmount to Websocket (fixes #7856). 2015-10-15 17:06:24 -05:00
KALPESH KRISHNA
a183eacb63 Adding window.onstorage EventHandler 2015-10-16 02:37:27 +05:30
Eli Friedman
9de42c8935 Simplify extracting a reference from an Option<Root<T>>, per review comments. 2015-10-15 14:03:58 -07:00
Eli Friedman
5713867778 Fix documentation for JS<T> and friends. 2015-10-15 14:03:57 -07:00
Eli Friedman
5bdf6bb1d3 Fix remaining MutHeap methods not to expose JS<T>. 2015-10-15 14:03:57 -07:00
Eli Friedman
57584e74c6 Make get() and set() on MutNullableHeap use the correct types.
get() must always return a rooted value, because we have no way of
ensuring the value won't be invalidated. set() takes an &T because it's
convenient; there isn't any need to expose JS<T>.
2015-10-15 14:03:56 -07:00
Eli Friedman
7a08b29201 Don't use MutNullableHeap in HTMLCanvasElement.
MutNullableHeap is going away in favor of MutNullableHeapJS.
2015-10-15 14:03:55 -07:00
Eli Friedman
2d3c3ece97 Don't return a JS<T> from bound_texture_for/
It's never correct to return a JS<T>.  Maybe the lint should catch this?
2015-10-15 14:03:55 -07:00
Eli Friedman
88a1cbb28b Stop implementing Copy for JS<T>.
A copy of a JS<T> doesn't have the rooting properties of the original,
so it makes no sense for it to implement Copy.
2015-10-15 14:02:45 -07:00
bors-servo
9d5f09e09c Auto merge of #8030 - Manishearth:fix-lint-fn, r=frewsxcv
Fix unrooted_must_root lint to handle arguments/return types properly

r? @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8030)
<!-- Reviewable:end -->
2015-10-15 15:00:00 -06:00
bors-servo
6f1db0fcd3 Auto merge of #8010 - frewsxcv:migrate-test-ref, r=Ms2ger
Use wptrunner for some old-style reftests.

Part of #5618

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8010)
<!-- Reviewable:end -->
2015-10-15 14:13:09 -06:00
Corey Farwell
dbe6da874b Travis CI building cleanup, enable caching
The only reason the Dockerfile was introduced is because the default
machines that Travis uses are based on Ubuntu 12.04, which has some very
old incompatible dependencies with Servo. Docker allowed use to use a
new version of Ubuntu, allowing us to compile with ease. I just learned
that they are currently beta testing 14.04 support:

http://docs.travis-ci.com/user/trusty-ci-environment/

This commit updates our Travis config to remove our dependency on Docker
and just build directly on the images, reducing some complexity and also
overhead of downloading Docker images.

In addition, this commit also enables caching of the .servo and .cargo
directories on Travis in an attempt to reduce build times.

http://docs.travis-ci.com/user/caching/#Arbitrary-directories
2015-10-15 15:54:03 -04:00
Manish Goregaokar
8819f0d8b8 Update script to work with lint changes 2015-10-16 01:20:27 +05:30
Manish Goregaokar
7022bedba3 Fix unrooted_must_root lint to handle arguments/return types properly (fixes #8022) 2015-10-16 01:15:28 +05:30
bors-servo
417cf5738e Auto merge of #8020 - nox:codegen-derived, r=Ms2ger
Generate all Derived implementations in codegen

Follow-up of #7873.

@Ms2ger r? :)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8020)
<!-- Reviewable:end -->
2015-10-15 12:53:08 -06:00
Stephen Li
e83d5a9669 Issue 8028: parse_html should take Url rather than &Url 2015-10-15 13:48:29 -04:00
Anthony Ramine
7d6ea83479 Explicitly customise flags of new nodes where needed
Given codegen now generates the various TypeId enums, it seems pointless to
still have to write their respective values in every DOM struct inheriting from
Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in
form controls.
2015-10-15 17:30:41 +02:00
Rahul Sharma
1141f00212 added spec link for type mapping 2015-10-15 19:28:56 +05:30
bors-servo
5a0a91eba7 Auto merge of #7972 - nox:codegen-heapsize, r=Ms2ger
Introduce DOMClass::heap_size_of

It holds a function pointer to the HeapSizeOf::heap_size_of_children()
implementation corresponding to that IDL interface.

This removes the need for a clumsly TypeId-based match expression in the
former heap_size_of_eventtarget() function.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7972)
<!-- Reviewable:end -->
2015-10-15 07:13:55 -06:00
Corey Farwell
5df2375d35 Move transform_optimization.html to wpt reftests. 2015-10-15 08:28:18 -04:00
Corey Farwell
9216468a86 Move vertical_align_bottom_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
ac7635056a Move vertical_align_inline_block_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
dbbfde7793 Move vertical_align_inside_table_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
3c44beee30 Move vertical_align_sub_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
bca2106a06 Move vertical_align_super_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
18ae331f84 Move vertical_align_super_nested_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
c3e8d5d47e Move vertical_align_text_bottom_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
be594f6c09 Move transform_simple_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
0ae55ed5cc Move transform_skew_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
60000ea17c Move transform_stacking_context_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
57244111db Move transition_calc.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
089fc93ff7 Move upper_id_attr.html to wpt reftests. 2015-10-15 08:27:54 -04:00