bors-servo
9ed2df3de7
Auto merge of #6993 - frewsxcv:rm-dead-codegen, r=Ms2ger
...
Remove dead Python code in binding generating code
Fixes #6956
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6993 )
<!-- Reviewable:end -->
2015-08-07 04:51:31 -06:00
Ms2ger
2a97ab36f7
Dispatch message events for WebSocket.
2015-08-07 10:58:33 +02:00
bors-servo
44c4bb00c1
Auto merge of #7053 - connorimes:move-net-error-list, r=mbrubeck
...
Move net_error_list from net to net_traits. Fixes #7050 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7053 )
<!-- Reviewable:end -->
2015-08-07 01:55:20 -06:00
bors-servo
17263a525b
Auto merge of #7043 - pcwalton:th-width, r=Ms2ger
...
script: Make the legacy presentational attributes on `<td>` apply to `<th>` too.
Makes the Google SERPs not so narrow.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7043 )
<!-- Reviewable:end -->
2015-08-07 00:40:54 -06:00
bors-servo
50a30121bf
Auto merge of #7021 - glennw:fix-7018, r=pcwalton
...
Fix display list optimization on retina displays. Fixes #7018 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7021 )
<!-- Reviewable:end -->
2015-08-06 23:26:24 -06:00
bors-servo
1ddef2997a
Auto merge of #6977 - pcwalton:containing-block-link-crash, r=mbrubeck
...
layout: Make sure anonymous table flows are statically positioned.
The failing `float-applies-to-*` CSS 2.1 tests never really should have
been passing in the first place; they depend on floats inside
fixed-layout tables working properly, which they don't.
Closes #6078 .
Closes #6709 .
Closes #6858 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6977 )
<!-- Reviewable:end -->
2015-08-06 22:11:04 -06:00
Patrick Walton
ed4172b2c6
layout: Make sure anonymous table flows are statically positioned.
...
The failing `float-applies-to-*` CSS 2.1 tests never really should have
been passing in the first place; they depend on floats inside
fixed-layout tables working properly, which they don't.
Closes #6078 .
Closes #6709 .
Closes #6858 .
2015-08-06 18:49:07 -07:00
bors-servo
78792cced2
Auto merge of #7017 - glennw:stb-update, r=pcwalton
...
Update stb-image to get JPEG progressive support.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7017 )
<!-- Reviewable:end -->
2015-08-06 19:46:19 -06:00
bors-servo
da06c2dda0
Auto merge of #7011 - pcwalton:inline-margin-intrinsic-size, r=mbrubeck
...
layout: Take inline margins into account when determining the intrinsic sizes of fragments.
Avoids a needless wrapped line in the repository name on GitHub.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7011 )
<!-- Reviewable:end -->
2015-08-06 18:28:13 -06:00
bors-servo
76b4bae6ee
Auto merge of #7054 - Manishearth:rollup, r=Manishearth
...
Rollup of 3 pull requests
- Successful merges: #7028 , #7034 , #7039
- Failed merges:
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7054 )
<!-- Reviewable:end -->
2015-08-06 17:43:09 -06:00
Manish Goregaokar
730ee4d341
Rollup merge of #7034 - Ms2ger:mem, r=jdm
...
Create a run_with_memory_reporting method to reduce the boilerplate a…
…ssociated with registering memory reporters.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7034 )
<!-- Reviewable:end -->
2015-08-07 03:45:29 +05:30
Manish Goregaokar
fb28b3ddb4
Rollup merge of #7028 - Yoric:master, r=SimonSapin
...
Issue #5478 - use std::process::exit instead of lib::exit in constellation.rs
First patch.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7028 )
<!-- Reviewable:end -->
2015-08-07 03:45:28 +05:30
bors-servo
b21584c862
Auto merge of #7052 - mbrubeck:rollup, r=mbrubeck
...
Rollup of 2 pull requests
- Successful merges: #7014 , #7015
- Failed merges:
2015-08-06 16:13:12 -06:00
Connor Imes
b526214a3d
Move net_error_list from net to net_traits. Fixes #7050 .
2015-08-06 16:37:08 -05:00
Matt Brubeck
b5f9c06776
Rollup merge of #7015 - mbrubeck:arc-box, r=Ms2ger
...
Replace Arc<Box<TextRun>> with Arc<TextRun>
Removes an extraneous level of indirection.
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7015 )
<!-- Reviewable:end -->
2015-08-06 14:07:32 -07:00
Matt Brubeck
26087aab38
Rollup merge of #7014 - mbrubeck:box-string, r=pcwalton
...
Use Box<str> instead of Box<String> for UnscannedTextFragmentInfo
This removes an extraneous layer of indirection, without increasing the size of the `SpecificFragmentInfo` enum (because `Box<str>` is a fat pointer, which is the same size as the `FlowRef` trait object that is already stored in `InlineAbsoluteHypotheticalFragmentInfo`)
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7014 )
<!-- Reviewable:end -->
2015-08-06 14:07:31 -07:00
bors-servo
889ef3aef0
Auto merge of #7010 - HarryLovesCode:master, r=jdm
...
Fixes #6879 (Improper connections to the devtools server)
Modifies how we behave in the case that something attempts to communicate with the devtools server improperly. This includes...
- Invalid encoding (Non `UTF8`) of the packet length / error parsing / none specified
- JSON encoding error (such as a `Parser::SyntaxError` or a `Parser::IoError`)
Happy to make changes if anyone has an issue with this or feels another way is more idiomatic!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7010 )
<!-- Reviewable:end -->
2015-08-06 14:00:26 -06:00
bors-servo
522ebe7a3b
Auto merge of #7027 - Ms2ger:lock-stderr, r=jdm
...
Lock stderr while printing the alert() message.
2a7f262b7d
was unsufficient for the case where
the interleaved output was actually on stderr rather than stdout, such as
output from the error macro.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7027 )
<!-- Reviewable:end -->
2015-08-06 12:46:31 -06:00
Ms2ger
c98d35ea6b
Lock stderr while printing the alert() message.
...
2a7f262b7d
was unsufficient for the case where
the interleaved output was actually on stderr rather than stdout, such as
output from the error macro.
2015-08-06 20:11:37 +02:00
bors-servo
cf4b411832
Auto merge of #7008 - pcwalton:floated-negative-margins, r=mbrubeck
...
layout: Take negative margins of floats into account when placing them.
Removes extraneous inline space on GitHub pull requests.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7008 )
<!-- Reviewable:end -->
2015-08-06 11:55:58 -06:00
Patrick Walton
df29b1e878
script: Make the legacy presentational attributes on <td>
apply to
...
`<th>` too.
Makes the Google SERPs not so narrow.
2015-08-06 10:26:45 -07:00
Michael Howell
7cb4d77c74
GC profiling.
...
* Closes #6968 .
* Test case for GC profiling thanks to @jdm!
2015-08-06 09:45:11 -07:00
bors-servo
0a8ea98183
Auto merge of #7002 - Ms2ger:eventtarget, r=jdm
...
Remove the unused WorkerGlobalScope::eventtarget method.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7002 )
<!-- Reviewable:end -->
2015-08-06 10:31:58 -06:00
bors-servo
d2ba81ead2
Auto merge of #6998 - mbrubeck:upgrade, r=Manishearth
...
Update to unicode-bidi 0.2.1
Also includes some missing changes from #6416 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6998 )
<!-- Reviewable:end -->
2015-08-06 08:57:53 -06:00
Matt Brubeck
73ce2325a2
Update to unicode-bidi 0.2.1
...
Fixes #6978 .
2015-08-06 06:52:17 -07:00
bors-servo
106361443d
Auto merge of #6451 - jgraham:onkey_attributes, r=Ms2ger
...
Add onkey* global event handler attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6451 )
<!-- Reviewable:end -->
2015-08-06 07:44:51 -06:00
Ms2ger
bf3ecaa901
Create a run_with_memory_reporting method to reduce the boilerplate associated with registering memory reporters.
2015-08-06 15:24:27 +02:00
bors-servo
ddd2840eed
Auto merge of #7001 - farodin91:filereader, r=Ms2ger
...
Remove Unnecessary Code in FileReader #6753
@jdm r?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7001 )
<!-- Reviewable:end -->
2015-08-06 06:13:56 -06:00
bors-servo
4726f58d15
Auto merge of #6970 - dzbarsky:getimagedata, r=Ms2ger
...
GetImageData should return un-premultiplied alpha values
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6970 )
<!-- Reviewable:end -->
2015-08-06 04:34:20 -06:00
David Rajchenbach-Teller
d2a3a68170
Resolves #5478 - use std::process::exit instead of lib::exit in constellation.rs
2015-08-06 12:10:26 +02:00
bors-servo
172f046688
Auto merge of #6836 - nick-thompson:layout_refactor, r=Ms2ger
...
Extract layout query code into layout/query.rs
Fix for #6787 . I left the commits split up for ease of review, happy to squash when this gets accepted.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6836 )
<!-- Reviewable:end -->
2015-08-06 03:29:16 -06:00
David Zbarsky
fee8abe5a2
GetImageData should return un-premultiplied alpha values
2015-08-06 05:14:53 -04:00
bors-servo
1b54e9c30c
Auto merge of #6985 - dzbarsky:drawimage_refactor, r=jdm
...
Refactor DrawImage implementations to avoid code duplication
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6985 )
<!-- Reviewable:end -->
2015-08-06 00:24:02 -06:00
bors-servo
b9dcd49778
Auto merge of #6989 - dzbarsky:compositing, r=metajack
...
Respect the composition op when drawing images.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6989 )
<!-- Reviewable:end -->
2015-08-05 22:57:20 -06:00
David Zbarsky
8690414a47
Refactor DrawImage implementations to avoid code duplication
2015-08-06 00:52:28 -04:00
Glenn Watson
6333961844
Fix display list optimization on retina displays. Fixes #7018 .
2015-08-06 14:11:27 +10:00
bors-servo
be8798b73a
Auto merge of #6994 - servo:warnings, r=Manishearth
...
Fix unused mutability warnings.
They were introduced in 35ba731123
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6994 )
<!-- Reviewable:end -->
2015-08-05 22:02:45 -06:00
Glenn Watson
2e08f42ae4
Update stb-image to get JPEG progressive support.
2015-08-06 12:48:59 +10:00
Jack Moffitt
f570da28c2
Merge pull request #6988 from glennw/no-arc
...
No need for paint layer in stacking context to be an arc.
2015-08-05 20:06:09 -06:00
Matt Brubeck
8a09f738d4
Replace Arc<Box<TextRun>> with Arc<TextRun>
2015-08-05 18:28:20 -07:00
Matt Brubeck
c4dde7297e
Use Box<str> instead of Box<String> for UnscannedTextFragmentInfo
...
This removes an extraneous layer of indirection, without increasing the size
of the `SpecificFragmentInfo` enum (because `Box<str>` is a fat pointer, which
is the same size as the `FlowRef` trait object that is already stored in
`InlineAbsoluteHypotheticalFragmentInfo`)
2015-08-05 18:05:05 -07:00
David Zbarsky
1d02239804
Respect the composition op when drawing images
2015-08-05 20:38:48 -04:00
bors-servo
afe3d7e747
Auto merge of #6990 - Ms2ger:update-animatiom-timimg, r=saneyuki
...
Update Animation Timing links and terminology to the HTML specification.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6990 )
<!-- Reviewable:end -->
2015-08-05 14:55:55 -06:00
Patrick Walton
fba0a8164d
layout: Take inline margins into account when determining the intrinsic
...
sizes of fragments.
Avoids a needless wrapped line in the repository name on GitHub.
2015-08-05 12:29:16 -07:00
Harrison G
8943f11e54
Fixes #6879
2015-08-05 14:53:53 -04:00
bors-servo
315c4f5ed7
Auto merge of #6983 - glennw:tf2, r=pcwalton
...
Support transforms for display list optimization. Prevents clipping in #6643 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6983 )
<!-- Reviewable:end -->
2015-08-05 12:50:36 -06:00
Connor Imes
8c3cf90e6e
Remove typedefs DevtoolsControlChan and DevtoolsControlPort. Fixes #6923 .
2015-08-05 13:30:25 -05:00
Patrick Walton
95c9d3cefe
layout: Take negative margins of floats into account when placing them.
...
Removes extraneous inline space on GitHub pull requests.
2015-08-05 11:15:32 -07:00
Georg Brandl
8b3247d22c
Fix minor typo in lint docstring.
...
It checks for public, not private fields.
2015-08-05 20:00:39 +02:00
bors-servo
debd7d87d6
Auto merge of #6974 - dzbarsky:tiny-create, r=jdm
...
Fix createImageData with sizes < 1 pixel
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6974 )
<!-- Reviewable:end -->
2015-08-05 11:40:20 -06:00