diff --git a/Cargo.lock b/Cargo.lock index 5dbcead94ae..c4a25f18ba6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,14 +93,14 @@ dependencies = [ [[package]] name = "azure" -version = "0.22.0" -source = "git+https://github.com/servo/rust-azure#9d9de88b30abd878c99488dfbbf841d132d94198" +version = "0.23.0" +source = "git+https://github.com/servo/rust-azure#6fdedc63c9f57290a743e1c43bc037997defd9be" dependencies = [ "cmake 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", "servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "servo-skia 0.30000007.0 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-skia 0.30000008.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -291,7 +291,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "canvas" version = "0.0.1" dependencies = [ - "azure 0.22.0 (git+https://github.com/servo/rust-azure)", + "azure 0.23.0 (git+https://github.com/servo/rust-azure)", "canvas_traits 0.0.1", "compositing 0.0.1", "cssparser 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -303,8 +303,8 @@ dependencies = [ "num-traits 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "servo_config 0.0.1", - "webrender 0.53.2 (git+https://github.com/servo/webrender)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender 0.54.0 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -321,7 +321,7 @@ dependencies = [ "offscreen_gl_context 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", "servo_config 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -425,12 +425,12 @@ dependencies = [ [[package]] name = "cocoa" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "block 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -477,8 +477,8 @@ dependencies = [ "servo_url 0.0.1", "style_traits 0.0.1", "time 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender 0.53.2 (git+https://github.com/servo/webrender)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender 0.54.0 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -515,7 +515,7 @@ dependencies = [ "servo_remutex 0.0.1", "servo_url 0.0.1", "style_traits 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "webvr_traits 0.0.1", ] @@ -554,21 +554,23 @@ dependencies = [ [[package]] name = "core-graphics" -version = "0.9.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "foreign-types 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "core-text" -version = "7.0.0" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "foreign-types 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -799,7 +801,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "embedding" version = "0.0.1" dependencies = [ - "cocoa 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cocoa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "devtools 0.0.1", "euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -816,7 +818,7 @@ dependencies = [ "servo_geometry 0.0.1", "servo_url 0.0.1", "style_traits 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "x11 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -965,6 +967,11 @@ name = "foreign-types" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "foreign-types" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "freetype" version = "0.3.0" @@ -1070,8 +1077,8 @@ dependencies = [ "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "core-text 7.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "core-text 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1104,7 +1111,7 @@ dependencies = [ "truetype 0.26.0 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-bidi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "xi-unicode 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "xml5ever 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1179,13 +1186,13 @@ dependencies = [ "osmesa-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "script_traits 0.0.1", "servo-egl 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "servo-glutin 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-glutin 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "servo_config 0.0.1", "servo_geometry 0.0.1", "servo_url 0.0.1", "style_traits 0.0.1", "user32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "x11 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1514,7 +1521,7 @@ dependencies = [ "style_traits 0.0.1", "unicode-bidi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -1564,7 +1571,7 @@ dependencies = [ "servo_url 0.0.1", "style 0.0.1", "style_traits 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -1579,7 +1586,7 @@ dependencies = [ "profile_traits 0.0.1", "script_traits 0.0.1", "servo_url 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -1663,8 +1670,8 @@ dependencies = [ "style 0.0.1", "style_traits 0.0.1", "webdriver_server 0.0.1", - "webrender 0.53.2 (git+https://github.com/servo/webrender)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender 0.54.0 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "webvr 0.0.1", "webvr_traits 0.0.1", ] @@ -1717,7 +1724,7 @@ dependencies = [ "smallvec 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "xml5ever 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1935,7 +1942,7 @@ dependencies = [ "malloc_size_of_derive 0.0.1", "nonzero 0.0.1", "serde 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -1993,7 +2000,7 @@ dependencies = [ "unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -2050,7 +2057,7 @@ dependencies = [ "servo_url 0.0.1", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -2681,7 +2688,7 @@ dependencies = [ "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "utf-8 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "webvr_traits 0.0.1", "xml5ever 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2714,7 +2721,7 @@ dependencies = [ "servo_atoms 0.0.1", "servo_url 0.0.1", "style 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -2758,7 +2765,7 @@ dependencies = [ "style_traits 0.0.1", "time 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", "webvr_traits 0.0.1", ] @@ -2909,14 +2916,14 @@ dependencies = [ [[package]] name = "servo-glutin" -version = "0.12.3" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "android_glue 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cocoa 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cocoa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", "dwmapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "gl_generator 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2935,7 +2942,7 @@ dependencies = [ [[package]] name = "servo-skia" -version = "0.30000007.0" +version = "0.30000008.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cgl 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2949,7 +2956,7 @@ dependencies = [ "servo-egl 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "servo-fontconfig-sys 4.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "servo-glutin 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-glutin 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "x11 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3271,7 +3278,7 @@ dependencies = [ "serde 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", "servo_arc 0.0.1", "servo_atoms 0.0.1", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] @@ -3664,16 +3671,16 @@ dependencies = [ [[package]] name = "webrender" -version = "0.53.2" -source = "git+https://github.com/servo/webrender#d57f591c3c53a6cd3e707a8cbfeec7db4bdebb74" +version = "0.54.0" +source = "git+https://github.com/servo/webrender#7753167532643cb7c30fff7bf4234dd908760bf0" dependencies = [ "app_units 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "core-text 7.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "core-text 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)", "freetype 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3686,20 +3693,20 @@ dependencies = [ "rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "thread_profiler 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", - "webrender_api 0.53.2 (git+https://github.com/servo/webrender)", + "webrender_api 0.54.0 (git+https://github.com/servo/webrender)", ] [[package]] name = "webrender_api" -version = "0.53.2" -source = "git+https://github.com/servo/webrender#d57f591c3c53a6cd3e707a8cbfeec7db4bdebb74" +version = "0.54.0" +source = "git+https://github.com/servo/webrender#7753167532643cb7c30fff7bf4234dd908760bf0" dependencies = [ "app_units 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3854,7 +3861,7 @@ dependencies = [ "checksum atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fb2dcb6e6d35f20276943cc04bb98e538b348d525a04ac79c10021561d202f21" "checksum atty 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "21e50800ec991574876040fff8ee46b136a53e985286fbe6a3bdfe6421b78860" "checksum audio-video-metadata 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "efc6ddcb9cf4d6587f4c4dec8444a35cc5098edb91043f02556dffec31278e3e" -"checksum azure 0.22.0 (git+https://github.com/servo/rust-azure)" = "" +"checksum azure 0.23.0 (git+https://github.com/servo/rust-azure)" = "" "checksum backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "72f9b4182546f4b04ebc4ab7f84948953a118bd6021a1b6a6c909e3e94f6be76" "checksum backtrace-sys 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "3a0d842ea781ce92be2bf78a9b38883948542749640b8378b3b2f03d1fd9f1ff" "checksum base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "96434f987501f0ed4eb336a411e0631ecd1afa11574fe148587adc4ff96143c9" @@ -3887,15 +3894,15 @@ dependencies = [ "checksum clipboard-win 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "693b1280c514045382dfdbb78d1594b1b03cdb66320aeb7ebd2bd38d49bae959" "checksum cmake 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)" = "9b0ec063cbc2034e27f7166d04aa7aa1b9ed85b6c7c2414fb68aff20d1ebf604" "checksum coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c06169f5beb7e31c7c67ebf5540b8b472d23e3eade3b2ec7d1f5b504a85f91bd" -"checksum cocoa 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "79e7105114e16c4b6f52b117f23b5d5892cd6c4e24276bcf92d305698e3e1ad6" +"checksum cocoa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac0d785ff4faf0ff23d7b5561346bb50dc7ef9a11cb0e65e07ef776b7752938f" "checksum color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a475fc4af42d83d28adf72968d9bcfaf035a1a9381642d8e85d8a04957767b0d" "checksum compiletest_rs 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "617b23d0ed4f57b3bcff6b5fe0a78f0010f1efb636298317665a960b6dbc0533" "checksum cookie 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "30b3493e12a550c2f96be785088d1da8d93189e7237c8a8d0d871bc9070334c3" "checksum cookie 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "477eb650753e319be2ae77ec368a58c638f9f0c4d941c39bad95e950fb1d1d0d" "checksum core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5909502e547762013619f4c4e01cc7393c20fe2d52d7fa471c1210adb2320dc7" "checksum core-foundation-sys 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bc9fb3d6cb663e6fd7cf1c63f9b144ee2b1e4a78595a0451dd34bff85b9a3387" -"checksum core-graphics 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2fd47addfc77b7e574d24e5434f95bb64a863769dfd4f1d451ca4ff5530ba01a" -"checksum core-text 7.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2a23bef779fab70e5e6af23e36eed03a48e1c1687dea8929505d405ea48d1f5e" +"checksum core-graphics 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "5dc0a78ab2ac23b6ea7b3fe5fe93b227900dc0956979735b8f68032417976dd4" +"checksum core-text 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bcad23756dd1dc4b47bf6a914ace27aadb8fa68889db5837af2308d018d0467c" "checksum cssparser 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44313341610282488e1156ad1fedebca51c54766c87a041d0287b10499c04ba1" "checksum cssparser-macros 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "079adec4af52bb5275eadd004292028c79eb3c5f5b4ee8086a36d4197032f6df" "checksum cubeb-ffi 0.0.2 (git+https://github.com/djg/cubeb-pulse-rs?branch=dev)" = "" @@ -3930,6 +3937,7 @@ dependencies = [ "checksum fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6cc484842f1e2884faf56f529f960cc12ad8c71ce96cc7abba0a067c98fee344" "checksum fontsan 0.4.0 (git+https://github.com/servo/fontsan)" = "" "checksum foreign-types 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e4056b9bd47f8ac5ba12be771f77a0dae796d1bbaaf5fd0b9c2d38b69b8a29d" +"checksum foreign-types 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5ebc04f19019fff1f2d627b5581574ead502f80c48c88900575a46e0840fe5d0" "checksum freetype 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "398b8a11884898184d55aca9806f002b3cf68f0e860e0cbb4586f834ee39b0e7" "checksum futf 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "51f93f3de6ba1794dcd5810b3546d004600a59a98266487c8407bc4b24e398f3" "checksum futures 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "55f0008e13fc853f79ea8fc86e931486860d4c4c156cdffb59fa5f7fa833660a" @@ -4073,8 +4081,8 @@ dependencies = [ "checksum servo-fontconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "93f799b649b4a2bf362398910eca35240704c7e765e780349b2bb1070d892262" "checksum servo-fontconfig-sys 4.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "38b494f03009ee81914b0e7d387ad7c145cafcd69747c2ec89b0e17bb94f303a" "checksum servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9232032c2e85118c0282c6562c84cab12316e655491ba0a5d1905b2320060d1b" -"checksum servo-glutin 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "91cdbc8014ea1171264622545b9b3d653f20336abb0e924682e98c951171fa58" -"checksum servo-skia 0.30000007.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0abf282739e8b8e987f2b69736a0287a83b0f87189f53cc786a97bd2019e543d" +"checksum servo-glutin 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8f085f5223a3796d64ac6805f8c2512204453cd2db55be7f79e5d3115b8bb4c7" +"checksum servo-skia 0.30000008.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a0eac765c0ba8eb7b5e86f54c55907a35cae0c97bbf829c626c72f22f8a7e7ed" "checksum servo-websocket 0.20.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efde78dfcf2178d5a11e1e2268e0d8df0627dfe2724546db8585d6678e1af150" "checksum sha1 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cc30b1e1e8c40c121ca33b86c23308a090d19974ef001b4bf6e61fd1a0fb095c" "checksum shared_library 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb04126b6fcfd2710fb5b6d18f4207b6c535f2850a7e1a43bcd526d44f30a79a" @@ -4134,8 +4142,8 @@ dependencies = [ "checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" "checksum walkdir 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "bb08f9e670fab86099470b97cd2b252d6527f0b3cc1401acdb595ffc9dd288ff" "checksum webdriver 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b982fb5fe268cc124931035ca0c4b65d39e6d9c9fed319186b7d17493bf98984" -"checksum webrender 0.53.2 (git+https://github.com/servo/webrender)" = "" -"checksum webrender_api 0.53.2 (git+https://github.com/servo/webrender)" = "" +"checksum webrender 0.54.0 (git+https://github.com/servo/webrender)" = "" +"checksum webrender_api 0.54.0 (git+https://github.com/servo/webrender)" = "" "checksum which 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4be6cfa54dab45266e98b5d7be2f8ce959ddd49abd141a05d52dce4b07f803bb" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs index 28bb0a52443..09213114109 100644 --- a/components/compositing/compositor.rs +++ b/components/compositing/compositor.rs @@ -329,12 +329,21 @@ impl webrender_api::RenderNotifier for RenderNotifier { Box::new(RenderNotifier::new(self.compositor_proxy.clone())) } - fn new_frame_ready(&self) { + fn wake_up(&self) { self.compositor_proxy.recomposite(CompositingReason::NewWebRenderFrame); } - fn new_scroll_frame_ready(&self, composite_needed: bool) { - self.compositor_proxy.send(Msg::NewScrollFrameReady(composite_needed)); + fn new_document_ready( + &self, + _document_id: webrender_api::DocumentId, + scrolled: bool, + composite_needed: bool, + ) { + if scrolled { + self.compositor_proxy.send(Msg::NewScrollFrameReady(composite_needed)); + } else { + self.wake_up(); + } } } diff --git a/components/gfx/Cargo.toml b/components/gfx/Cargo.toml index 47283a0c254..d28403e2708 100644 --- a/components/gfx/Cargo.toml +++ b/components/gfx/Cargo.toml @@ -48,8 +48,8 @@ xi-unicode = "0.1.0" [target.'cfg(target_os = "macos")'.dependencies] byteorder = "1.0" core-foundation = "0.4" -core-graphics = "0.9" -core-text = "7.0" +core-graphics = "0.12.2" +core-text = "8.0" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] freetype = "0.3" diff --git a/components/gfx/platform/macos/font_template.rs b/components/gfx/platform/macos/font_template.rs index d71dc84254e..c4c14cfd420 100644 --- a/components/gfx/platform/macos/font_template.rs +++ b/components/gfx/platform/macos/font_template.rs @@ -17,7 +17,7 @@ use std::fmt; use std::fs::File; use std::io::{Read, Error as IoError}; use std::ops::Deref; -use std::sync::Mutex; +use std::sync::{Arc, Mutex}; use webrender_api::NativeFontHandle; /// Platform specific font representation for mac. @@ -36,7 +36,7 @@ pub struct FontTemplateData { ctfont: CachedCTFont, pub identifier: Atom, - pub font_data: Option> + pub font_data: Option>> } unsafe impl Send for FontTemplateData {} @@ -47,7 +47,7 @@ impl FontTemplateData { Ok(FontTemplateData { ctfont: CachedCTFont(Mutex::new(HashMap::new())), identifier: identifier.to_owned(), - font_data: font_data + font_data: font_data.map(Arc::new) }) } @@ -61,7 +61,7 @@ impl FontTemplateData { let clamped_pt_size = pt_size.max(0.01); let ctfont = match self.font_data { Some(ref bytes) => { - let fontprov = CGDataProvider::from_buffer(bytes); + let fontprov = CGDataProvider::from_buffer(bytes.clone()); let cgfont_result = CGFont::from_data_provider(fontprov); match cgfont_result { Ok(cgfont) => { @@ -103,7 +103,7 @@ impl FontTemplateData { /// Returns a clone of the bytes in this font if they are in memory. This function never /// performs disk I/O. pub fn bytes_if_in_memory(&self) -> Option> { - self.font_data.clone() + self.font_data.as_ref().map(|bytes| (**bytes).clone()) } /// Returns the native font that underlies this font template, if applicable. diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 1542b429f0d..e1df5dde425 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -204,7 +204,8 @@ impl Servo where Window: WindowMethods + 'static { }; let webrender_api = webrender_api_sender.create_api(); - let webrender_document = webrender_api.add_document(window.framebuffer_size()); + let wr_document_layer = 0; //TODO + let webrender_document = webrender_api.add_document(window.framebuffer_size(), wr_document_layer); // Important that this call is done in a single-threaded fashion, we // can't defer it after `create_constellation` has started. diff --git a/ports/cef/Cargo.toml b/ports/cef/Cargo.toml index 20693cd8385..7f91fc6184a 100644 --- a/ports/cef/Cargo.toml +++ b/ports/cef/Cargo.toml @@ -40,7 +40,7 @@ webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]} [target.'cfg(target_os="macos")'.dependencies] objc = "0.2" -cocoa = "0.10" +cocoa = "0.13" [target.'cfg(target_os="linux")'.dependencies] x11 = "2.3" diff --git a/ports/glutin/Cargo.toml b/ports/glutin/Cargo.toml index 7f40a3e6b02..36f72d7a8da 100644 --- a/ports/glutin/Cargo.toml +++ b/ports/glutin/Cargo.toml @@ -18,7 +18,7 @@ log = "0.3.5" msg = {path = "../../components/msg"} net_traits = {path = "../../components/net_traits"} script_traits = {path = "../../components/script_traits"} -servo-glutin = "0.12" +servo-glutin = "0.13" servo_geometry = {path = "../../components/geometry"} servo_config = {path = "../../components/config"} servo_url = {path = "../../components/url"} diff --git a/servo-tidy.toml b/servo-tidy.toml index 19b33a3643f..e3fc3ff782e 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -36,6 +36,7 @@ num = [] packages = [ "bitflags", "cookie", + "foreign-types", "mime", "semver", "toml",