Commit graph

10454 commits

Author SHA1 Message Date
Josh Matthews
8082df7d0d Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events. 2015-05-20 14:22:09 -04:00
bors-servo
e52197d126 Auto merge of #6147 - mbrubeck:experimental, r=SimonSapin
No longer needed after #6138.  r? @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6147)
<!-- Reviewable:end -->
2015-05-20 11:29:01 -05:00
bors-servo
d68730a0fc Auto merge of #6074 - pgonda:lint-fix-struct-enum-variants, r=Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6074)
<!-- Reviewable:end -->
2015-05-20 10:29:48 -05:00
Matt Brubeck
9355186fa6 Remove "experimental" from direction:rtl reftests
No longer needed after #6138.
2015-05-20 08:17:02 -07:00
Peter
717b443eec fixes #6069 2015-05-20 10:58:30 -04:00
bors-servo
165bfd6d5f Auto merge of #6143 - michaelwu:truetype-only, r=pcwalton
I have a number of pcf fonts installed. One of them is Adobe Helvetica, and it turns out many websites try to use Helvetica. This crashes servo.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6143)
<!-- Reviewable:end -->
2015-05-20 02:36:43 -05:00
bors-servo
6481058309 Auto merge of #6139 - michaelwu:rustup-fixes, r=SimonSapin
Mutable transmutes and wrong transmutes fixed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6139)
<!-- Reviewable:end -->
2015-05-20 01:55:43 -05:00
bors-servo
d869a3c7a8 Auto merge of #6127 - Nashenas88:websockets-invalid-urls, r=Ms2ger
Fix #6061.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6127)
<!-- Reviewable:end -->
2015-05-20 01:13:57 -05:00
bors-servo
fe8760cce2 Auto merge of #6094 - Nashenas88:websockets-USVString, r=Ms2ger
Fix #6063
Fix #6062
Fixed definition of Close and Send in WebSocket.webidl and updated implementation in websocket.rs.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6094)
<!-- Reviewable:end -->
2015-05-20 00:20:06 -05:00
bors-servo
79ed6250f0 Auto merge of #6129 - KiChjang:fetch-spec, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6129)
<!-- Reviewable:end -->
2015-05-19 23:08:41 -05:00
Paul Faria
66e9b33a52 Fixed definition of Close and Send in WebSocket.webidl and updated implementation in websocket.rs. 2015-05-19 23:59:22 -04:00
Paul Faria
51ae7334f5 Responded to more code review comments. Simplified code a lot. 2015-05-19 23:54:38 -04:00
Paul Faria
fe0b77d669 Responded to code review comments, general cleanup 2015-05-19 23:54:36 -04:00
Paul Faria
8e78564dc3 Fixing one missed trailing whitespace, and fixed url 2015-05-19 23:54:34 -04:00
Paul Faria
0362d254b8 Removing trailing whitespace 2015-05-19 23:54:31 -04:00
Paul Faria
31b709a7c2 Initial work on #6061. 2015-05-19 23:54:29 -04:00
Keith Yeung
3351ddf213 Implement fetch (partial #4576) 2015-05-19 23:35:27 -04:00
bors-servo
fed48ca59b Auto merge of #6138 - mbrubeck:enable-rtl, r=pcwalton
r? @pcwalton or @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6138)
<!-- Reviewable:end -->
2015-05-19 22:27:17 -05:00
bors-servo
c51e9f0455 Auto merge of #6131 - glennw:jquery-exit-fix, r=jdm
This fixes a hang found while testing the jQuery test suite.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6131)
<!-- Reviewable:end -->
2015-05-19 21:44:45 -05:00
bors-servo
e2b0922d42 Auto merge of #6084 - WriterOfAlicrow:radiobutton-fix, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6084)
<!-- Reviewable:end -->
2015-05-19 20:49:32 -05:00
Michael Wu
51503a2816 Avoid selecting bitmap fonts from fontconfig 2015-05-19 21:10:04 -04:00
bors-servo
0880e54f98 Auto merge of #6053 - pcwalton:displayports, r=glennw
This improves Servo's performance on large pages.

Please double-check the logic when it comes to nested layers—I'm sure I've messed up some of the geometry calculations :)

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6053)
<!-- Reviewable:end -->
2015-05-19 19:40:36 -05:00
Patrick Walton
6a197719b3 compositing: Implement display ports and avoid creating display lists
for items outside it.

This improves Servo's performance on large pages.
2015-05-19 16:53:51 -07:00
bors-servo
ba340ec71b Auto merge of #5989 - pcwalton:font-color, r=jdm
Improves Hacker News.

r? @Ms2ger

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5989)
<!-- Reviewable:end -->
2015-05-19 18:33:03 -05:00
Patrick Walton
7d9eda916b script: Implement the color attribute of the <font> element.
Improves Hacker News.
2015-05-19 16:31:20 -07:00
Glenn Watson
41c243e853 Add closed pipelines record as a debugging aid 2015-05-20 09:22:08 +10:00
Glenn Watson
23b18a8417 Handle case where a page fetch completes after pipeline exits. 2015-05-20 07:55:22 +10:00
Glenn Watson
decfb0da6e Address review comments 2015-05-20 07:10:55 +10:00
bors-servo
acb9824229 Auto merge of #5993 - pcwalton:inline-block-percentage-widths, r=mbrubeck
Improves Twitter.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5993)
<!-- Reviewable:end -->
2015-05-19 16:03:15 -05:00
Patrick Walton
d5ca1a18dc layout: Support percentage widths in inline-blocks.
Improves Twitter.
2015-05-19 13:35:02 -07:00
bors-servo
c981e9b2e3 Auto merge of #6136 - r0e:master, r=mbrubeck
Fixes issue #6112 
update-cargo and cargo-update both require that the user specifies the "-p" flag along with a specified package OR specify the "-a" flag to update all packages.

Let me know if this is not the right functionality.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6136)
<!-- Reviewable:end -->
2015-05-19 14:39:23 -05:00
Michael Wu
7772984e0b Fix borrow_unchecked in LayoutDataRef 2015-05-19 15:27:40 -04:00
Michael Wu
c2ed42d2bc Fix mutable transmutes 2015-05-19 15:27:40 -04:00
bors-servo
16793d0e24 Auto merge of #6124 - pcwalton:inline-incremental-reflow, r=mbrubeck
r?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6124)
<!-- Reviewable:end -->
2015-05-19 13:51:30 -05:00
Matt Brubeck
52ff175279 Enable 'direction' without --experimental 2015-05-19 11:42:43 -07:00
r0e
3e10adfa01 corrected help text for cargo-update 2015-05-19 11:16:05 -07:00
bors-servo
0a737d90f2 Auto merge of #6120 - zmike:cmap, r=larsbergstrom
@larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6120)
<!-- Reviewable:end -->
2015-05-19 13:10:44 -05:00
Patrick Walton
72f031e2a1 layout: Support inline incremental reflow, and stop reconstructing all
flows when mousing over the document.

This exposes more "jumpiness" on sites like Hacker News, but the bug
that causes it was pre-existing.
2015-05-19 11:08:27 -07:00
bors-servo
40dded8b3a Auto merge of #6134 - Ms2ger:fetch, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6134)
<!-- Reviewable:end -->
2015-05-19 12:13:37 -05:00
bors-servo
360c5d8235 Auto merge of #6130 - mbrubeck:float-rtl, r=pcwalton
This fixes panics in RTL pages with floats (#6113) and partially fixes the positioning of RTL floats.  There are some remaining issues with the layout of floats in RTL flows, which I'll file follow-up issues for.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6130)
<!-- Reviewable:end -->
2015-05-19 11:29:34 -05:00
bors-servo
cbc06ef62c Auto merge of #6121 - servo:mbrubeck-readme, r=metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6121)
<!-- Reviewable:end -->
2015-05-19 10:45:31 -05:00
Ms2ger
fa4fe01757 Use snake case in fetch. 2015-05-19 17:41:31 +02:00
Ms2ger
4ca6325bad Remove an unwrap() call in HTTP fetch. 2015-05-19 17:38:56 +02:00
bors-servo
b23f4266ad Auto merge of #6133 - jgraham:servodriver, r=Ms2ger
This runs tests using the WebDriver protocol without restarting
the browser each time, and is currently enabled with
--product servodriver on the command line

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6133)
<!-- Reviewable:end -->
2015-05-19 07:14:24 -05:00
James Graham
413d005bb8 Update wptrunner and enable non-default support for servodriver executor.
This runs tests using the WebDriver protocol without restarting
the browser each time, and is currently enabled with
--product servodriver on the command line
2015-05-19 10:57:51 +01:00
Glenn Watson
35a570ab66 Fix several hangs / panics during pipeline cleanup of in progress loads.
This fixes a hang found while testing the jQuery test suite.
2015-05-19 16:14:25 +10:00
r0e
b1f5fb0a6d forces user to update cargo packages individually 2015-05-18 17:28:15 -07:00
Matt Brubeck
0048b4f2ab Positioning fixes for RTL floats 2015-05-18 17:25:06 -07:00
Matt Brubeck
ec5c333347 Use the correct writing mode for Floats fields
Fixes #6113 (assertion failures caused by floats in mixed-direction pages).
2015-05-18 17:24:43 -07:00
bors-servo
913c5677ab Auto merge of #6118 - Ryman:gh5856, r=pcwalton
Fixes #5856 

This stops the panic, but the empty fragments tend to be non-empty if extended by `info.range_end_including_stripped_whitespace`, so I'm unsure if it's a requirement to include that instead of skipping for correctness? Perhaps there's a testcase needed for this behaviour?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6118)
<!-- Reviewable:end -->
2015-05-18 16:19:34 -05:00