Patrick Walton
053296e131
Merge pull request #6329 from glennw/remove-generic
...
Updates for changes in rust-geom and rust-layers
2015-06-10 14:14:24 -07:00
Glenn Watson
8fb29c91e6
Updates for changes in rust-geom and rust-layers
2015-06-11 07:05:56 +10:00
Simon Sapin
ac3d78c309
Pick up memory safety fix in rust-smallvec
2015-06-10 17:21:07 +02:00
Corey Farwell
4f47b41fa7
Remove fnv & smallvec crate reexports from util
...
The util component specified fnv and smallvec as dependencies and publicly
reexported both of them. Several other components utilized these reexports,
presumably because fnv and smallvec used to live in the tree so reexporting
made the transition easier.
These indirect dependencies through the util component are unnecessary.
This commit removes the fnv & smallvec crate reexports in the util component.
It exchange, it adds fnv & smallvec as dependencies to non-util components
wherever needed. Finally, it removes the fnv dependency from util as it is not
utilized anywhere in the util component.
2015-06-10 07:14:55 -07:00
Anthony Ramine
2fc4b9d4cd
Update gleam to 98f889861aa1c8dee088ac751ab03ca639715bbe
2015-06-08 19:36:07 +02:00
Jack Moffitt
b5ebbaefe3
Clean up dependencies.
2015-06-07 12:14:38 -06:00
Eduard Burtescu
00e8e5f77d
Use the correct log crate and setup env_logger in main.
2015-06-06 23:20:40 +03:00
Matt Brubeck
bd5747cc1d
Update expat-sys
2015-06-03 15:18:50 -07:00
bors-servo
2ca606aaba
Auto merge of #6188 - Manishearth:sizeof, r=nnethercote
...
Fixes #5914
r? @nnethercote for the gfx changes
r? @kmcallister or @jdm for the plugin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6188 )
<!-- Reviewable:end -->
2015-06-02 23:48:03 -05:00
Mike Blumenkrantz
3316dd6798
update glutin
2015-06-02 22:41:04 -04:00
Manish Goregaokar
7bc88d541f
Add unit test for plugin
2015-06-03 07:14:24 +05:30
Manish Goregaokar
f80f99fe1e
Move to latest hyper everywhere
2015-06-02 20:12:14 +05:30
James Graham
49f1b13ad9
Add support for switching frames with the webdriver API.
...
This moves webdriver_traits into msg to avoid a circular dependency.
2015-06-01 23:18:55 +01:00
bors-servo
83a0b78221
Auto merge of #6243 - servo:rustup_20150601, r=nox
...
cc @nox
r? @Ms2ger @kmcallister @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6243 )
<!-- Reviewable:end -->
2015-06-01 11:45:42 -05:00
Manish Goregaokar
f94eced1f5
Upgrade to rustc 1.2.0-dev (474c6e0ae 2015-05-30)
2015-06-01 22:03:27 +05:30
bors-servo
e6c4ca4960
Auto merge of #6220 - metajack:task-info-build-cleanup, r=nox
...
This is the first bit of build cleanup on my quest to make Cargo faster.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6220 )
<!-- Reviewable:end -->
2015-06-01 11:04:23 -05:00
bors-servo
0de09b936e
Auto merge of #6183 - ecoal95:webglcontextattributes, r=nox
...
r? @jdm
I couldn't add the `getContextAttributes` method since `CodegenRust`
doesn't know how to return a dictionary value, I'll take a look at it ASAP.
I think the helper functions can return directly the renderer, since they're used just for that, but I wanted to hear your opinions about this.
By the way I'm interested in adding more serious tests for WebGL, and I think the [khronos conformance suit](https://github.com/KhronosGroup/WebGL/tree/master/conformance-suites/1.0.3 ) should be the best option.
Should I try to integrate it in wpt, or making a `tests/webgl` directory (or similar) inside the servo tree? (Maybe this question should be for @Ms2ger)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6183 )
<!-- Reviewable:end -->
2015-06-01 08:37:48 -05:00
ecoal95
b3ac346749
Add WebGLContextAttributes support
...
This commit also:
* Allows to return non-rootable dictionaries from
Codegen.
* Merges the two context types in an enum type.
2015-06-01 15:29:38 +02:00
Tony Baker
262e0efbe1
Update libfontconfig
2015-05-31 17:02:07 -04:00
Jack Moffitt
29fcdce5e0
Switch task_info to use modern Cargo tools.
2015-05-29 17:40:15 -06:00
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
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
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
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
Patrick Walton
a0980091cf
gfx: Implement paint flashing, which will be useful for debugging
...
invalidation.
2015-05-14 15:45:41 -07: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