Commit graph

13154 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
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
Corey Farwell
54d9d813a1 Move table_specified_width_a.html to wpt reftests. 2015-10-15 21:03:40 -04: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
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
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
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
Corey Farwell
a3d799e8c6 Move vertical_align_text_top_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
c71d9cdd51 Move vertical_align_top_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
18590c5b9b Move vertical_align_top_bottom_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
ff57bd5d26 Move visibility_hidden.html to wpt reftests. 2015-10-15 08:27:54 -04:00
Corey Farwell
77d5f85b25 Move vertical_align_top_span_a.html to wpt reftests. 2015-10-15 08:27:54 -04:00
bors-servo
f8ada66919 Auto merge of #8024 - tareqak:warning_message_about_os_x_notifications_is_unclear, r=frewsxcv
Add clarity to warning message about OS X notifications

I made this change with respect to this issue: https://github.com/servo/servo/issues/7840

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8024)
<!-- Reviewable:end -->
2015-10-14 19:29:54 -06:00
bors-servo
bae2ca0e39 Auto merge of #8016 - creativcoder:wpt-readme, r=frewsxcv
Updated readme with release build mention

Updated readme with release build mention. Please review PR.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8016)
<!-- Reviewable:end -->
2015-10-14 18:35:31 -06:00
bors-servo
ac73374609 Auto merge of #8009 - glennw:webdriver-subpage, r=jdm
Remove webdriver use of SubpageId



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8009)
<!-- Reviewable:end -->
2015-10-14 18:05:17 -06:00
Tareq A Khandaker
4d994bbf4b Add clarity to missing notification module messages 2015-10-14 19:39:35 -04:00
bors-servo
4f767430a4 Auto merge of #7894 - Yoric:image-url, r=glennw
Rework image_cache_task to avoid using `url` as key during the loadin…

…g of an image.

A `url` can be very large, in particular if it is a data: url, so using it as a key for lookups whenever we load a few bytes is not a very good idea. This patch introduces an intermediate `LoadKey` (internally, an u64) that makes hashmap lookups faster. Somewhere along the way, we also get rid of a few calls to `url.clone()`.

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



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8011)
<!-- Reviewable:end -->
2015-10-14 16:26:36 -06:00
bors-servo
35d1b13b72 Auto merge of #7993 - connorimes:energymon-arm-updates, r=larsbergstrom
Update energymon-sys and energymon-default-sys versions

Includes build script updates to support Rust linking to static libs on ARM systems as well as some changes to ODROID Smart Power and RAPL energymon implementations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7993)
<!-- Reviewable:end -->
2015-10-14 15:26:51 -06:00
Glenn Watson
ed72e5766b Remove webdriver use of SubpageId 2015-10-15 07:11:31 +10:00
bors-servo
b34fd5bd7e Auto merge of #7727 - michaelwu:update-bindings, r=jdm
Support the updated spidermonkey bindings

Still need to finish the rust-mozjs update and make cargo use it, but it's close enough that I don't expect much to change on the servo side.

Some changes here
- bools are properly translated now
- char16_t is handled as u16 now
- JS_GlobalObjectTraceHook isn't mangled now
- JSJitInfo has been adjusted
- A const fn is used to generate bitfields in JSJitInfo
- Manually generating handles now requires calling an unsafe function. It's not actually required, but it's too much of a hassle to generate them manually now due to bindgen++ adding base classes now.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7727)
<!-- Reviewable:end -->
2015-10-14 14:48:44 -06:00
Anthony Ramine
617fc08783 Generate all Derived implementations in codegen 2015-10-14 22:04:20 +02:00
Anthony Ramine
da67630931 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.
2015-10-14 21:52:16 +02:00