Mike Blumenkrantz
f957f989cf
embedding: cef_string_list_append()
2014-10-15 11:08:14 -04:00
Mike Blumenkrantz
ee8ef615a6
embedding: cef_string_list_size()
2014-10-15 11:04:36 -04:00
Mike Blumenkrantz
4d8ed45e7b
embedding: begin cef string_list api
...
cef_string_list_alloc()
2014-10-15 11:04:36 -04:00
Mike Blumenkrantz
9fe95fc77e
embedding: implement cef_string_utf16_cmp()
2014-10-15 11:04:36 -04:00
Josh Matthews
a96bae4b94
Update rust-http to pick up latest additions.
2014-10-15 00:05:02 -04:00
bors-servo
0487671dab
auto merge of #3672 : mrobinson/servo/background-color, r=zwarich
...
Instead of relying on a scene-wide background color, all layers can now
have their own background color.
2014-10-14 21:27:26 -06:00
Clark Gaebel
f552e2f750
try to reset flows which need reflow, since reflow isn't yet idempotent
2014-10-14 10:33:46 -07:00
Martin Robinson
fbd0b6f9d0
Allow individual layers to render their own background color
...
Instead of relying on a scene-wide background color, all layers can now
have their own background color.
2014-10-14 09:59:07 -07:00
Mike Blumenkrantz
5bbce40efe
handle str::from_utf8() failure, improve return calls
2014-10-13 01:46:00 -04:00
Mike Blumenkrantz
62deac9346
use enc.len() for cef_string_utf8_to_utf16 conversion size
2014-10-13 01:32:32 -04:00
Mike Blumenkrantz
cb5d7b98bf
remove rust-encoding usage from cef
2014-10-12 23:36:43 -04:00
Mike Blumenkrantz
f657e76e13
implement cef_string_utf16_to_utf8()
2014-10-12 06:00:01 -04:00
Mike Blumenkrantz
e794f856cf
implement cef_string_utf8_to_utf16()
2014-10-12 06:00:01 -04:00
Mike Blumenkrantz
ddbecf2882
use rust-encoding to correctly(?) set utf16 strings for cmdline args as expected
2014-10-12 06:00:01 -04:00
Matt Brubeck
77d32ee447
Move windowing code out of the compositor
...
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
Patrick Walton
01c90d8d6a
layout: Implement z-index
.
2014-10-08 22:30:44 -07:00
Robin Stocker
8a5c6a0d3b
Allow to specify port with --devtools option ( fixes #3597 )
...
Note that using `servo --devtools http://example.org ` doesn't work. In
that case either the port must be specified or the option moved to the
end. This is done by getopts and is the same for other such options,
e.g. `--profile`.
2014-10-09 00:39:31 +11:00
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