Commit graph

30 commits

Author SHA1 Message Date
Glenn Watson
69d98204a0 Fix missing field in CEF port. 2014-10-07 08:17:51 +10:00
Martin Robinson
62ef7cd7ff Use LayerPixel for Layer bounds and most arguments
When interacting with Layers it is simpler to use LayerPixels, which
are unscaled pixels in the Layer coordinate system. This removes a lot
of room for error and makes things simpler.
2014-09-30 17:42:00 -07:00
bors-servo
698b916c09 auto merge of #3530 : kmcallister/servo/namespace-atom, r=Ms2ger 2014-09-30 02:42:23 -06:00
Keegan McAllister
d50114c41d Use string-cache's Namespace type 2014-09-29 21:40:54 -07:00
Glenn Watson
2e32720129 Enable acid2 reftest on Linux. Update rust-layers. 2014-09-30 14:31:11 +10:00
Keegan McAllister
6429750b33 Eliminate servo_util::atom
We only needed this for Encodable, and now we use JSTraceable instead.
2014-09-29 18:39:36 -07:00
Matt Brubeck
5f0d2ae98c Pass a viewport to the rendering code
Part of servo/rust-layers#114
2014-09-29 15:48:42 -07:00
Simon Sapin
b3245fa407 Upgrade to rustc d2b30f7d3 2014-09-23 2014-09-29 17:41:45 +01:00
bors-servo
177127e597 Merge pull request #3398 from glennw/config-res
Allow resolution to be configured on command line. Default to 1280x1024.

Reviewed-by: SimonSapin
2014-09-25 18:27:38 -06:00
Martin Robinson
80433f7ea0 Properly size root layers
Root layers should be sized to their frame rectangles and the root of
the root layers should track the window size. This is important because
layers need to be properly sized to scroll.
2014-09-25 07:57:44 -07:00
Glenn Watson
c2522ec127 Change default back to 800x600 as mac travis builders don't work with 1280x1024 2014-09-24 06:59:05 +10:00
Glenn Watson
c33f18b7df Allow resolution to be configured on command line. Default to 1280x1024. 2014-09-24 06:59:05 +10:00
Manish Goregaokar
5b866e9e46 Fix CEF 2014-09-23 17:37:28 +05:30
Simon Sapin
c228b81ca8 Merge pull request #3437 from SimonSapin/https-deps
Use HTTPS for Cargo dependencies
2014-09-21 11:00:34 +01:00
Simon Sapin
a40b94d7f9 Use upstream lazy_static!() macro through Cargo
... instead of having our own copy.

https://github.com/Kimundi/lazy-static.rs
2014-09-20 13:32:52 -07:00
Simon Sapin
afe28ae422 Use HTTPS for Cargo dependencies 2014-09-20 21:19:09 +01:00
Keegan McAllister
2f46b9aede Update the CEF port 2014-09-20 13:00:06 -07:00
Keegan McAllister
a640a7c5c3 Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) 2014-09-20 13:00:06 -07:00
Josh Matthews
f0f7e98dfa Dump initial prototype of devtools server into the build. Expect lies if you try to use it for anything real. 2014-09-18 15:06:40 -04:00
Josh Matthews
9607b468bc Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
This reverts commit 874db26104.
2014-09-18 09:20:19 -04:00
Patrick Walton
874db26104 script: Use atom comparison in more places, especially for attributes.
75% improvement in style recalc for Guardians of the Galaxy.
2014-09-17 13:17:12 -07:00
Patrick Walton
05b7573b62 Update string-cache for real 2014-09-17 08:33:32 -07:00
Patrick Walton
ee2b4e208f build: Update string-cache to fix a nasty race 2014-09-17 08:20:54 -07:00
Keegan McAllister
ffd126a0ff Merge pull request #3318 from mrobinson/scrolling
Store content offset in unscaled pixels
2014-09-16 13:00:44 -07:00
Martin Robinson
ea14fca1dc Store content offset in unscaled pixels
Content offset is now stored in unscaled pixels, so that it can be
applied to tile positions during compositor rendering without unscaling
it. This means that when using it in calculations of layer size (stored
in device pixels), we need to scale it. Scene scale is now stored as a
scale rather than a transformation.

Fixes #3269.
Fixes #3042.
2014-09-16 08:57:08 -07:00
Clark Gaebel
acd83ff47b Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00
Patrick Walton
21b8a182a4 build: Update submodules 2014-09-12 18:00:54 -07:00
Matt Brubeck
158308894a Remove reference to old extlibs dir 2014-09-09 16:42:11 -07:00
Jack Moffitt
cc0cf9dc2b Only pass extra link flags on OS X.
Fixes #3249
2014-09-09 11:12:02 -06:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00