Commit graph

13483 commits

Author SHA1 Message Date
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
Corey Farwell
98c621ed43 Remove 'app_units' component from tree
Part of #8012
2015-10-14 19:30:37 -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
Michael Wu
3129fb2330 Throw on bad ByteStrings 2015-10-14 15:30:57 -04:00
Michael Wu
e733a7c46a Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
bors-servo
f35f809938 Auto merge of #7984 - eefriedman:net-send-error, r=jdm
Refactor resource loaders to use send_error utility.

No substantial functional change.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7984)
<!-- Reviewable:end -->
2015-10-14 13:28:14 -06:00
bors-servo
32daa17d5c Auto merge of #7873 - nox:codegen-typeid, r=Ms2ger
Generate the various TypeId enums in codegen

This frees us forever from caring about maintaining these enums. The last commit removes their use from the initialisation of interface objects derived from Node.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7873)
<!-- Reviewable:end -->
2015-10-14 12:47:48 -06:00
Anthony Ramine
aab2c40389 Generate the TypeId enums in codegen 2015-10-14 18:45:35 +02:00
bors-servo
8db8a86ab1 Auto merge of #7552 - meh:viewport, r=glennw
Add viewport configuration support to the compositor

This allows me to do stuff like this.

![this](https://cloud.githubusercontent.com/assets/40204/9701150/58d593ae-541d-11e5-9f57-8d379f5c9ceb.png)

Those are two compositors rendered on the same OpenGL context, I need this so I can split windows and render them without getting mad with textures and framebuffers, it will also allow me to render the proper parts of the chrome as different web pages without involving dozens of framebuffers and textures.

If I recall correctly I did talk to @glennw about this on IRC some time ago.

This pull request requires https://github.com/servo/gleam/pull/39 to be merged first tho.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7552)
<!-- Reviewable:end -->
2015-10-14 10:29:45 -06:00
Rahul Sharma
e0d82556f7 update readme with release build mention 2015-10-14 21:50:43 +05:30
meh
123c19a57a Add viewport configuration support to the compositor 2015-10-14 17:38:29 +02:00
bors-servo
7308d0dd0d Auto merge of #7967 - eefriedman:mime-handling, r=jdm
MIMEClassifier::classify always succeeds; fix the type to reflect this.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7967)
<!-- Reviewable:end -->
2015-10-14 08:46:32 -06:00
bors-servo
55769b2fbf Auto merge of #7829 - frewsxcv:htmltablecellelement-cellindex, r=Ms2ger
Implement HTMLTableCellElement::CellIndex

Extracted from #6936

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7829)
<!-- Reviewable:end -->
2015-10-14 07:39:24 -06:00
Ms2ger
633982b7f7 Move block_formatting_context_with_margin_a.html to wpt reftests. 2015-10-14 11:35:18 +02:00
Ms2ger
10e3c89060 Move block_formatting_context_translation_a.html to wpt reftests. 2015-10-14 11:32:19 +02:00
Ms2ger
ab3b87b92a Move block_formatting_context_relative_a.html to wpt reftests. 2015-10-14 10:31:49 +02:00
Ms2ger
87a22d6368 Move block_formatting_context_overflow_a.html to wpt reftests. 2015-10-14 10:21:25 +02:00
Ms2ger
c62a14b37d Move block_formatting_context_max_width_a.html to wpt reftests. 2015-10-14 10:04:36 +02:00
Ms2ger
c222e60d98 Move block_formatting_context_float_placement_a.html to wpt reftests. 2015-10-14 09:57:21 +02:00
Ms2ger
c3ace6a379 Move block_formatting_context_containing_floats_a.html to wpt reftests. 2015-10-14 09:47:25 +02:00
Ms2ger
424b1a0570 Move block_formatting_context_complex_a.html to wpt reftests. 2015-10-14 09:37:02 +02:00
Ms2ger
0c2c01f84d Move block_formatting_context_cleared_float_a.html to wpt reftests. 2015-10-14 08:43:21 +02:00
Ms2ger
fab0aa2723 Move block_formatting_context_a.html to wpt reftests. 2015-10-14 08:37:42 +02:00
David Rajchenbach-Teller
b7f59691ec Rework image_cache_task to avoid using url as key during the loading 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()`.
2015-10-14 08:08:31 +02:00
bors-servo
dd2f8b6891 Auto merge of #7989 - glennw:update-gleam, r=frewsxcv
Update gleam 0.1.9 -> 0.1.11



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7989)
<!-- Reviewable:end -->
2015-10-13 19:15:39 -06:00