Commit graph

416 commits

Author SHA1 Message Date
Tony Baker
2ab1051bd9 Update dependencies for js, fontconfig-sys and mozjs_sys 2015-05-29 17:44:00 -04:00
Mátyás Mustoha
f4c0bd3b80 Turn off default antialiasing for most DrawOptions. 2015-05-28 18:42:16 +02:00
bors-servo
af81db5479 Auto merge of #6198 - Jinwoo-Song:freetype, r=metajack
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.

Fixes #6191.

r? @jdm @nnethercote 
cc @yichoi

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6198)
<!-- Reviewable:end -->
2015-05-27 21:06:12 -05:00
Jinwoo Song
557bb11bde Use FT_Done_Library instead of FT_Done_Freetype
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.

Fixes #6191.
2015-05-28 10:17:06 +09:00
bors-servo
b1a773a15b Auto merge of #6196 - mbrubeck:metadata, r=SimonSapin
#6088. r? @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6196)
<!-- Reviewable:end -->
2015-05-27 14:57:41 -05:00
Mike Blumenkrantz
b1ae5e7523 make Opts.url an Option<> type, only emit initial url load if url exists
this is a necessary change for embedded apps to prevent an initial about:blank
page load from overwriting whatever the app was actually trying to load
2015-05-27 14:45:57 -04:00
Matt Brubeck
0fd9953802 Update azure and its dependencies
Part of #6088
2015-05-27 11:22:45 -07:00
bors-servo
d87af8ac52 Auto merge of #6192 - nox:cleanup-urlsearchparams, r=Manishearth
It now uses rust-url for its serializer.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6192)
<!-- Reviewable:end -->
2015-05-27 05:21:05 -05:00
Anthony Ramine
6802bafc39 Cleanup URLSearchParams
It now uses rust-url for its serializer.
2015-05-27 12:19:16 +02:00
bors-servo
54afa01dd6 Auto merge of #6186 - SimonSapin:harfbuzz-crates.io, r=Manishearth
https://github.com/servo/rust-harfbuzz/issues/39
https://www.mail-archive.com/dev-servo@lists.mozilla.org/msg01289.html

r? @Manishearth

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6186)
<!-- Reviewable:end -->
2015-05-26 15:16:40 -05:00
Tamir Duberstein
b5f74eb54c Implemented GetCachedMessages 2015-05-26 10:04:31 -04:00
Simon Sapin
56af011355 Use harfbuzz bindings from crates.io
https://github.com/servo/rust-harfbuzz/issues/39
https://www.mail-archive.com/dev-servo@lists.mozilla.org/msg01289.html
2015-05-26 14:47:34 +02:00
bors-servo
4a95bce9f2 Auto merge of #6125 - zmike:renderrenderrenderrender, r=larsbergstrom
A collection of commits which improves embedding integration and rendering.

@larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6125)
<!-- Reviewable:end -->
2015-05-24 19:26:00 -05:00
Mike Blumenkrantz
c884b43b71 another glutin update 2015-05-24 19:53:44 -04:00
Mike Blumenkrantz
fcb5cf9c6d update offscreen_gl_context 2015-05-23 08:39:37 -04:00
Mike Blumenkrantz
c6a4bdb787 x11 version bump 2015-05-22 21:11:08 -04:00
Lars Bergstrom
442bfb716b Update various Cargo patches and deal with the fallout 2015-05-22 16:16:50 -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
Mike Blumenkrantz
f53fc1900d update pkg-config for cargo 2015-05-21 21:16:23 -04:00
Mike Blumenkrantz
9b8585f20d update cargo layers rust thing checkout 2015-05-21 21:15:23 -04:00
Mike Blumenkrantz
82cf1d53e3 bump rust-layers version 2015-05-21 21:15:22 -04: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
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
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
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
Mike Blumenkrantz
5ce23cd36c update glutin repo ref 2015-05-18 12:26:46 -04:00
Glenn Watson
b38557a7f0 Fix android logging since the rustup 2015-05-18 10:16:03 +10:00
Ms2ger
0067cb2101 Remove some clones. 2015-05-15 17:52:53 +02:00
bors-servo
a97f81b83d Auto merge of #6016 - zmike:embedding-windowing, r=larsbergstrom
Depends on glutin PR #21

@glennw  @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016)
<!-- Reviewable:end -->
2015-05-14 20:06:04 -05:00
bors-servo
74ef5d6aa8 Auto merge of #6055 - pcwalton:paint-flashing, r=mbrubeck
r? @mbrubeck (or whoever)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6055)
<!-- Reviewable:end -->
2015-05-14 18:00:52 -05:00
Patrick Walton
a0980091cf gfx: Implement paint flashing, which will be useful for debugging
invalidation.
2015-05-14 15:45:41 -07:00
Lars Bergstrom
2521bc551b Update the environment variable debug code for new Rust 2015-05-14 16:51:47 -05:00
Mike Blumenkrantz
6c32998100 update rust-layers version 2015-05-13 17:13:36 -04:00
bors-servo
a388a76d82 Auto merge of #5995 - zmike:glutin-parenting, r=jdm
needed for embedding api usage

Depends on https://github.com/servo/glutin/pull/20

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5995)
<!-- Reviewable:end -->
2015-05-13 15:27:47 -05:00
Mike Blumenkrantz
d2133b2467 bump glutin version for cargo 2015-05-13 13:25:00 -04:00
Mike Blumenkrantz
16a9712ab7 add parent window setting when creating windows with glutin
needed for embedding api usage
2015-05-13 13:24:56 -04:00
Simon Sapin
8292f5749e Upgrade to Hyper 0.4.0 2015-05-12 16:48:21 +02:00
bors-servo
ca9c703bf5 Auto merge of #6010 - brson:next, r=pcwalton
Just cleanup.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6010)
<!-- Reviewable:end -->
2015-05-12 03:26:54 -05:00
James Graham
6e639de664 Add support for getActiveElement webdriver command 2015-05-11 17:31:23 +01:00
Ms2ger
fa31d7d909 Replace TElement::get_link() by specific methods. 2015-05-11 10:52:58 +02:00
bors-servo
d1a0aacc60 Auto merge of #6001 - Ms2ger:runtime, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6001)
<!-- Reviewable:end -->
2015-05-10 15:14:37 -05:00
Ms2ger
34e35df986 Move get_attr and get_attrs into TElementAttributes.
These methods are only called on LayoutElement.
2015-05-10 18:26:06 +02:00
Ms2ger
cfe240d117 Remove reference counting from the Runtime implementation. 2015-05-10 18:09:09 +02:00
Ms2ger
9abe47b76f Move evaluate_script to Runtime. 2015-05-10 18:01:09 +02:00
Ms2ger
ddf6cf6a16 Update js. 2015-05-10 17:16:14 +02:00
Ms2ger
076d15992a Update js. 2015-05-10 15:58:07 +02:00
Brian Anderson
df9c132551 util: Set the experimental_enabled flag when options are set 2015-05-09 02:22:59 -07:00