Patrick Walton
fec43b49bb
layout: Implement per-glyph font fallback.
...
This improves numerous pages, for example Wikipedia and Ars Technica.
Closes #177 .
2015-05-22 17:16:24 -07:00
bors-servo
e04d9c32a9
Auto merge of #6159 - SimonSapin:no_mod_path, r=Manishearth
...
https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker.
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6159 )
<!-- Reviewable:end -->
2015-05-22 03:13:13 -05:00
Simon Sapin
53c32cdc78
Remove usage of the mod_path compiler plugin.
...
https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker.
2015-05-22 10:08:38 +02:00
bors-servo
ef7fa99bd2
Auto merge of #6156 - Manishearth:warn_fix, r=larsbergstrom
...
r? @larsbergstrom
(The diff is borked here, but I only just added `if let`s and wrapped/unwrapped in `Annotatable`s)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6156 )
<!-- Reviewable:end -->
2015-05-21 13:27:27 -05:00
Manish Goregaokar
8394b82350
Fix deprecated plugin APIs
2015-05-21 23:10:54 +05:30
bors-servo
dd319c1a99
Auto merge of #5727 - jdm:parserinterrupt2, r=mbrubeck
...
...r parsing. Hook up document loading to async networking events.
Relies on https://github.com/servo/html5ever/pull/107 , so we'll likely need to backport it rather than wait for the next rustc upgrade.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5727 )
<!-- Reviewable:end -->
2015-05-21 12:37:06 -05:00
Lars Bergstrom
fd4afc93a8
Update plugins API
2015-05-21 10:13:48 -05:00
Josh Matthews
ef8a127156
Update test expectations. Mark script loads as complete when the response is complete.
2015-05-21 09:53:19 -04:00
bors-servo
b84aa41c22
Auto merge of #6154 - Nashenas88:websocket-parse-url-typo, r=jdm
...
This is a really small typo fix for an issue I worked on recently.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6154 )
<!-- Reviewable:end -->
2015-05-21 06:59:06 -05:00
Paul Faria
d4be93613b
Adding in a missed algorithm step number in the comments.
2015-05-20 22:17:07 -04:00
bors-servo
1060cfde68
Auto merge of #6152 - glennw:runnable-panic, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6152 )
<!-- Reviewable:end -->
2015-05-20 20:01:32 -05:00
Glenn Watson
b84c6fa5db
Fix document load event firing after pipeline is closed.
2015-05-21 08:39:09 +10:00
Manish Goregaokar
4bc9445b9e
Upgrade rust to 716f920b7e234b450f272346fea961832505c06e (Tue May 19 05:39:29 2015 +0000)
2015-05-20 15:39:02 -07:00
bors-servo
77099b25d5
Auto merge of #5586 - pcwalton:no-broken-background-image-redux, r=glennw
...
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5586 )
<!-- Reviewable:end -->
2015-05-20 16:43:31 -05:00
bors-servo
ad53e95080
Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton
...
I've done a bit of job to get this done. Right now readback is still used, but we have a `LayerId` -> `CanvasRenderer` map on the paint task, that we can use to get rid of that.
I'd want review, to see if this is a good approach (I know it's not the initial `CanvasId` -> renderer approach, but it's pretty similar, since a canvas involves a `PaintLayer`).
I had to do a bit of refactoring to avoid cyclic dependencies between canvas and gfx. I'd want you to review them too.
It's mergeable and doesn't break any tests :P
Some of my main concerns:
* Does the canvas render really need to be behind an `Arc<Mutex<T>>`?
* I can't clone a `NativeSurface` right now (that's why the `SendNativeSurface()` msg is unimplemented in the WebGL task). It should be easy to add that to rust-layers, supposing the caller is responsible to mark it as non-leaking, any reason to not do it?
cc @jdm @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6083 )
<!-- Reviewable:end -->
2015-05-20 15:42:06 -05:00
bors-servo
fada39164c
Auto merge of #5858 - pgonda:tabindex-focus-flag, r=jdm
...
Added support for the tabindex field, also added its correct defaults (-2 TODOs for things not supported in Servo yet). Also added tabindex logic into Element::is_focusable_area.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5858 )
<!-- Reviewable:end -->
2015-05-20 14:34:31 -05:00
Patrick Walton
7e7675c1dc
net: Don't load the placeholder image for background images, only for
...
image fragments.
This also changes the way the placeholder is handled in the image cache
task to decode it up front instead of each time an image fails to load,
both because it was more convenient to implement that way and because
it saves CPU cycles to do so.
This matches the behavior of Gecko and WebKit. It improves the look of
our cached copy of Wikipedia.
2015-05-20 12:00:33 -07:00
bors-servo
ee147c164a
Auto merge of #5577 - pcwalton:iframe-size-attributes, r=jdm
...
Improves Amazon and Ars Technica.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5577 )
<!-- Reviewable:end -->
2015-05-20 13:51:05 -05:00
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
Patrick Walton
1a3395e077
script: Implement the width
and height
attributes for iframes per
...
HTML5 § 4.8.6.
Improves Amazon and Ars Technica.
2015-05-20 11:15:25 -07:00
Patrick Walton
0098d9e9e8
compositing: Support multiple events per frame.
...
Improves scrolling performance on Mac.
2015-05-20 10:53:48 -07:00
ecoal95
3350522306
Layerize canvas
...
Note that this keeps using readback right now, `NativeSurface` painting
will be implemented soon.
Also see https://github.com/servo/servo/issues/6142
2015-05-20 19:10:50 +02: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
Peter
717b443eec
fixes #6069
2015-05-20 10:58:30 -04:00
Peter
1c96eed544
fixes #5603 , adds support for tabindex
2015-05-20 10:34:16 -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