From de23fef9cac266b58ece5a44cf0415c8322c18d5 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 17 Nov 2015 09:30:57 +0100 Subject: [PATCH 1/3] Update bitflags. --- components/servo/Cargo.lock | 34 +++++++++++++++++----------------- ports/cef/Cargo.lock | 34 +++++++++++++++++----------------- ports/gonk/Cargo.lock | 32 ++++++++++++++++---------------- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 15bb05c1609..f0d37d70faa 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -3,7 +3,7 @@ name = "servo" version = "0.0.1" dependencies = [ "android_glue 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "compositing 0.0.1", @@ -125,7 +125,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitflags" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -237,7 +237,7 @@ name = "cocoa" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -366,7 +366,7 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/pcwalton/ipc-channel)", "msg 0.0.1", @@ -628,7 +628,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -756,7 +756,7 @@ dependencies = [ name = "glutin_app" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "egl 0.1.0 (git+https://github.com/servo/rust-egl)", @@ -992,7 +992,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "clock_ticks 0.0.6 (git+https://github.com/tomaka/clock_ticks)", @@ -1152,7 +1152,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1309,7 +1309,7 @@ name = "openssl" version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "openssl-sys 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1392,7 +1392,7 @@ name = "png" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1506,7 +1506,7 @@ version = "0.0.1" dependencies = [ "angle 0.1.0 (git+https://github.com/ecoal95/angle?branch=servo)", "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1581,7 +1581,7 @@ name = "selectors" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1725,7 +1725,7 @@ name = "style" version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1902,7 +1902,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1957,7 +1957,7 @@ name = "wayland-client" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "dlib 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2020,7 +2020,7 @@ name = "websocket" version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2063,7 +2063,7 @@ name = "xml-rs" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index a8d060f7dee..0fb84a80b8c 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -117,7 +117,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitflags" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -229,7 +229,7 @@ name = "cocoa" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -358,7 +358,7 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/pcwalton/ipc-channel)", "msg 0.0.1", @@ -587,7 +587,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -708,7 +708,7 @@ dependencies = [ name = "glutin_app" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "egl 0.1.0 (git+https://github.com/servo/rust-egl)", @@ -944,7 +944,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "clock_ticks 0.0.6 (git+https://github.com/tomaka/clock_ticks)", @@ -1104,7 +1104,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1237,7 +1237,7 @@ name = "openssl" version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "openssl-sys 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1320,7 +1320,7 @@ name = "png" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1432,7 +1432,7 @@ version = "0.0.1" dependencies = [ "angle 0.1.0 (git+https://github.com/ecoal95/angle?branch=servo)", "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1498,7 +1498,7 @@ name = "selectors" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1547,7 +1547,7 @@ dependencies = [ name = "servo" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "compositing 0.0.1", @@ -1676,7 +1676,7 @@ name = "style" version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1837,7 +1837,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1881,7 +1881,7 @@ name = "wayland-client" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "dlib 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1944,7 +1944,7 @@ name = "websocket" version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1987,7 +1987,7 @@ name = "xml-rs" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/ports/gonk/Cargo.lock b/ports/gonk/Cargo.lock index 7035def036c..531f2b92268 100644 --- a/ports/gonk/Cargo.lock +++ b/ports/gonk/Cargo.lock @@ -109,7 +109,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitflags" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -221,7 +221,7 @@ name = "cocoa" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -350,7 +350,7 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/pcwalton/ipc-channel)", "msg 0.0.1", @@ -589,7 +589,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -924,7 +924,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "clock_ticks 0.0.6 (git+https://github.com/tomaka/clock_ticks)", @@ -1084,7 +1084,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1217,7 +1217,7 @@ name = "openssl" version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "openssl-sys 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1300,7 +1300,7 @@ name = "png" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1412,7 +1412,7 @@ version = "0.0.1" dependencies = [ "angle 0.1.0 (git+https://github.com/ecoal95/angle?branch=servo)", "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1478,7 +1478,7 @@ name = "selectors" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1527,7 +1527,7 @@ dependencies = [ name = "servo" version = "0.0.1" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "compositing 0.0.1", @@ -1654,7 +1654,7 @@ name = "style" version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1815,7 +1815,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "azure 0.2.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1859,7 +1859,7 @@ name = "wayland-client" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "dlib 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1892,7 +1892,7 @@ name = "websocket" version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1935,7 +1935,7 @@ name = "xml-rs" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] From 5ec1cdea9b3e0b07a417bdba5487c7368367bda6 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 16 Nov 2015 19:24:11 +0100 Subject: [PATCH 2/3] Remove dead code from layout. --- components/layout/css/matching.rs | 7 ----- components/layout/floats.rs | 4 --- components/layout/flow.rs | 9 ------- components/layout/flow_list.rs | 40 ----------------------------- components/layout/fragment.rs | 13 +--------- components/layout/inline.rs | 10 -------- components/layout/parallel.rs | 12 --------- components/layout/table.rs | 7 ----- components/layout/table_row.rs | 7 +++-- components/layout/table_rowgroup.rs | 4 --- components/layout/wrapper.rs | 7 ----- 11 files changed, 4 insertions(+), 116 deletions(-) diff --git a/components/layout/css/matching.rs b/components/layout/css/matching.rs index d0260fa5c98..4afd9a77815 100644 --- a/components/layout/css/matching.rs +++ b/components/layout/css/matching.rs @@ -51,13 +51,6 @@ impl ApplicableDeclarations { normal_shareable: false, } } - - pub fn clear(&mut self) { - self.normal = SmallVec::new(); - self.before = Vec::new(); - self.after = Vec::new(); - self.normal_shareable = false; - } } #[derive(Clone)] diff --git a/components/layout/floats.rs b/components/layout/floats.rs index f406cd2194b..9385bd69afc 100644 --- a/components/layout/floats.rs +++ b/components/layout/floats.rs @@ -153,10 +153,6 @@ impl Floats { } } - pub fn len(&self) -> usize { - self.list.floats.len() - } - /// Returns a rectangle that encloses the region from block-start to block-start + block-size, /// with inline-size small enough that it doesn't collide with any floats. max_x is the /// inline-size beyond which floats have no effect. (Generally this is the containing block diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 6902341edae..8251bd88b6c 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -1430,11 +1430,6 @@ impl ContainingBlockLink { self.link = Some(Arc::downgrade(&link)) } - #[allow(unsafe_code)] - pub unsafe fn get(&mut self) -> &mut Option { - &mut self.link - } - #[inline] pub fn generated_containing_block_size(&self, for_flow: OpaqueFlow) -> LogicalSize { match self.link { @@ -1483,8 +1478,4 @@ impl OpaqueFlow { OpaqueFlow(object.data as usize) } } - - pub fn from_base_flow(base_flow: &BaseFlow) -> OpaqueFlow { - OpaqueFlow(base_flow as *const BaseFlow as usize) - } } diff --git a/components/layout/flow_list.rs b/components/layout/flow_list.rs index 786cf4b5d63..94045f21d3d 100644 --- a/components/layout/flow_list.rs +++ b/components/layout/flow_list.rs @@ -22,46 +22,6 @@ pub struct MutFlowListIterator<'a> { } impl FlowList { - /// Provide a reference to the front element, or None if the list is empty - #[inline] - pub fn front(&self) -> Option<&Flow> { - self.flows.front().map(|head| &**head) - } - - /// Provide a mutable reference to the front element, or None if the list is empty - #[inline] - #[allow(unsafe_code)] - pub unsafe fn front_mut(&mut self) -> Option<&mut Flow> { - self.flows.front_mut().map(flow_ref::deref_mut) - } - - /// Provide a reference to the back element, or None if the list is empty - #[inline] - pub fn back(&self) -> Option<&Flow> { - self.flows.back().map(|tail| &**tail) - } - - /// Provide a mutable reference to the back element, or None if the list is empty - #[inline] - #[allow(unsafe_code)] - pub unsafe fn back_mut(&mut self) -> Option<&mut Flow> { - self.flows.back_mut().map(flow_ref::deref_mut) - } - - /// Add an element first in the list - /// - /// O(1) - pub fn push_front(&mut self, new_head: FlowRef) { - self.flows.push_front(new_head); - } - - /// Remove the first element and return it, or None if the list is empty - /// - /// O(1) - pub fn pop_front(&mut self) -> Option { - self.flows.pop_front() - } - /// Add an element last in the list /// /// O(1) diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index ce0047e3ce9..1814e1ad664 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -37,7 +37,7 @@ use std::sync::{Arc, Mutex}; use string_cache::Atom; use style::computed_values::content::ContentItem; use style::computed_values::{border_collapse, clear, display, mix_blend_mode, overflow_wrap}; -use style::computed_values::{overflow_x, position, text_align, text_decoration, transform_style}; +use style::computed_values::{overflow_x, position, text_decoration, transform_style}; use style::computed_values::{white_space, word_break, z_index}; use style::properties::ComputedValues; use style::values::computed::{LengthOrPercentage, LengthOrPercentageOrAuto}; @@ -812,11 +812,6 @@ impl Fragment { } } - pub fn reset_inline_sizes(&mut self) { - self.border_padding = LogicalMargin::zero(self.style.writing_mode); - self.margin = LogicalMargin::zero(self.style.writing_mode); - } - /// Returns a debug ID of this fragment. This ID should not be considered stable across /// multiple layouts or fragment manipulations. pub fn debug_id(&self) -> u16 { @@ -1239,12 +1234,6 @@ impl Fragment { &*self.style } - /// Returns the text alignment of the computed style of the nearest ancestor-or-self `Element` - /// node. - pub fn text_align(&self) -> text_align::T { - self.style().get_inheritedtext().text_align - } - pub fn white_space(&self) -> white_space::T { self.style().get_inheritedtext().white_space } diff --git a/components/layout/inline.rs b/components/layout/inline.rs index fe798496e11..4cee4454620 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -804,16 +804,6 @@ impl InlineFragments { self.fragments.is_empty() } - /// Pushes a new inline fragment. - pub fn push(&mut self, fragment: &mut Fragment) { - self.fragments.push(fragment.clone()); - } - - /// Merges another set of inline fragments with this one. - pub fn push_all(&mut self, mut other: InlineFragments) { - self.fragments.append(&mut other.fragments); - } - /// A convenience function to return the fragment at a given index. pub fn get(&self, index: usize) -> &Fragment { &self.fragments[index] diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index 658ce8030d6..1b1f4056706 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -44,12 +44,6 @@ fn null_unsafe_flow() -> UnsafeFlow { (0, 0) } -pub fn owned_flow_to_unsafe_flow(flow: *const FlowRef) -> UnsafeFlow { - unsafe { - mem::transmute::<&Flow, UnsafeFlow>(&**flow) - } -} - pub fn mut_owned_flow_to_unsafe_flow(flow: *mut FlowRef) -> UnsafeFlow { unsafe { mem::transmute::<&Flow, UnsafeFlow>(&**flow) @@ -62,12 +56,6 @@ pub fn borrowed_flow_to_unsafe_flow(flow: &Flow) -> UnsafeFlow { } } -pub fn mut_borrowed_flow_to_unsafe_flow(flow: &mut Flow) -> UnsafeFlow { - unsafe { - mem::transmute::<&Flow, UnsafeFlow>(flow) - } -} - /// Information that we need stored in each DOM node. pub struct DomParallelInfo { /// The number of children that still need work done. diff --git a/components/layout/table.rs b/components/layout/table.rs index c6785d52340..2876fd3bf69 100644 --- a/components/layout/table.rs +++ b/components/layout/table.rs @@ -632,13 +632,6 @@ impl ColumnIntrinsicInlineSize { } } - /// Returns the true minimum size of this column, given the containing block's inline size. - /// Beware that this is generally only correct for fixed table layout. (Compare CSS 2.1 § - /// 17.5.2.1 with the algorithm in INTRINSIC § 4.) - pub fn minimum(&self, containing_block_inline_size: Au) -> Au { - cmp::max(self.minimum_length, containing_block_inline_size.scale_by(self.percentage)) - } - /// Returns the higher of the two percentages specified in `self` and `other`. pub fn greatest_percentage(&self, other: &ColumnIntrinsicInlineSize) -> CSSFloat { if self.percentage > other.percentage { diff --git a/components/layout/table_row.rs b/components/layout/table_row.rs index 24dde406441..6f6eafab9ab 100644 --- a/components/layout/table_row.rs +++ b/components/layout/table_row.rs @@ -95,10 +95,6 @@ impl TableRowFlow { } } - pub fn fragment(&mut self) -> &Fragment { - &self.block_flow.fragment - } - /// Assign block-size for table-row flow. /// /// TODO(pcwalton): This doesn't handle floats and positioned elements right. @@ -538,6 +534,9 @@ impl Encodable for CollapsedBorder { /// /// The integer values here correspond to the border conflict resolution rules in CSS 2.1 § /// 17.6.2.1. Higher values override lower values. +// FIXME(#8586): FromTableRow, FromTableRowGroup, FromTableColumn, +// FromTableColumnGroup are unused +#[allow(dead_code)] #[derive(Copy, Clone, Debug, PartialEq, RustcEncodable)] pub enum CollapsedBorderProvenance { FromPreviousTableCell = 6, diff --git a/components/layout/table_rowgroup.rs b/components/layout/table_rowgroup.rs index be927b2fa23..04c49c4c071 100644 --- a/components/layout/table_rowgroup.rs +++ b/components/layout/table_rowgroup.rs @@ -78,10 +78,6 @@ impl TableRowGroupFlow { } } - pub fn fragment(&mut self) -> &Fragment { - &self.block_flow.fragment - } - pub fn populate_collapsed_border_spacing<'a, I>( &mut self, collapsed_inline_direction_border_widths_for_table: &[Au], diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index c463f7146c1..11a4a0e514e 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -672,13 +672,6 @@ impl PseudoElementType { } } - pub fn is_after(&self) -> bool { - match *self { - PseudoElementType::After(_) => true, - _ => false, - } - } - pub fn strip(&self) -> PseudoElementType<()> { match *self { PseudoElementType::Normal => PseudoElementType::Normal, From 8b786cca9afb1cc435616dd2df82bc01a281e3fa Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 16 Nov 2015 17:48:08 +0100 Subject: [PATCH 3/3] Make layout's modules private. --- components/layout/lib.rs | 68 ++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/components/layout/lib.rs b/components/layout/lib.rs index fa8e939839c..85c6e506e92 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -58,42 +58,42 @@ extern crate unicode_script; extern crate url; #[macro_use] -pub mod layout_debug; +mod layout_debug; -pub mod animation; -pub mod block; -pub mod construct; -pub mod context; -pub mod data; -pub mod display_list_builder; -pub mod flex; -pub mod floats; -pub mod flow; -pub mod flow_list; -pub mod flow_ref; -pub mod fragment; -pub mod generated_content; -pub mod incremental; -pub mod inline; +mod animation; +mod block; +mod construct; +mod context; +mod data; +mod display_list_builder; +mod flex; +mod floats; +mod flow; +mod flow_list; +mod flow_ref; +mod fragment; +mod generated_content; +mod incremental; +mod inline; pub mod layout_task; -pub mod list_item; -pub mod model; -pub mod multicol; -pub mod opaque_node; -pub mod parallel; -pub mod query; -pub mod sequential; -pub mod table; -pub mod table_caption; -pub mod table_cell; -pub mod table_colgroup; -pub mod table_row; -pub mod table_rowgroup; -pub mod table_wrapper; -pub mod text; -pub mod traversal; -pub mod wrapper; +mod list_item; +mod model; +mod multicol; +mod opaque_node; +mod parallel; +mod query; +mod sequential; +mod table; +mod table_caption; +mod table_cell; +mod table_colgroup; +mod table_row; +mod table_rowgroup; +mod table_wrapper; +mod text; +mod traversal; +mod wrapper; -pub mod css { +mod css { pub mod matching; }