diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-02 15:00:29 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-02 20:12:14 +0530 |
commit | f80f99fe1ea63726006f73b31869d71c2e522d27 (patch) | |
tree | 2d2a440126e02a413331bd2d98c0f96434f197b8 | |
parent | ec79881471bf3e952f40ee7021b561532a9020c6 (diff) | |
download | servo-f80f99fe1ea63726006f73b31869d71c2e522d27.tar.gz servo-f80f99fe1ea63726006f73b31869d71c2e522d27.zip |
Move to latest hyper everywhere
-rw-r--r-- | components/devtools/Cargo.toml | 2 | ||||
-rw-r--r-- | components/devtools_traits/Cargo.toml | 2 | ||||
-rw-r--r-- | components/layout/incremental.rs | 2 | ||||
-rw-r--r-- | components/msg/Cargo.toml | 2 | ||||
-rw-r--r-- | components/net/Cargo.toml | 2 | ||||
-rw-r--r-- | components/net/http_loader.rs | 2 | ||||
-rw-r--r-- | components/net_traits/Cargo.toml | 2 | ||||
-rw-r--r-- | components/script/Cargo.toml | 4 | ||||
-rw-r--r-- | components/servo/Cargo.lock | 135 | ||||
-rw-r--r-- | components/util/logical_geometry.rs | 4 | ||||
-rw-r--r-- | components/util/task_state.rs | 1 | ||||
-rw-r--r-- | ports/cef/Cargo.lock | 129 | ||||
-rw-r--r-- | ports/glutin/window.rs | 1 | ||||
-rw-r--r-- | ports/gonk/Cargo.lock | 125 | ||||
-rw-r--r-- | tests/unit/net/Cargo.toml | 2 |
15 files changed, 178 insertions, 237 deletions
diff --git a/components/devtools/Cargo.toml b/components/devtools/Cargo.toml index c42e37c9967..08e65063181 100644 --- a/components/devtools/Cargo.toml +++ b/components/devtools/Cargo.toml @@ -20,4 +20,4 @@ path = "../util" time = "*" rustc-serialize = "0.3" url = "*" -hyper = "0.4" +hyper = "0.5" diff --git a/components/devtools_traits/Cargo.toml b/components/devtools_traits/Cargo.toml index f787628d153..b937361ab8d 100644 --- a/components/devtools_traits/Cargo.toml +++ b/components/devtools_traits/Cargo.toml @@ -17,5 +17,5 @@ path = "../util" time = "*" rustc-serialize = "0.3" url = "*" -hyper = "0.4" +hyper = "0.5" bitflags = "*" diff --git a/components/layout/incremental.rs b/components/layout/incremental.rs index 9a8cbd822f5..c5f80511c5f 100644 --- a/components/layout/incremental.rs +++ b/components/layout/incremental.rs @@ -89,7 +89,7 @@ impl RestyleDamage { } } -impl fmt::Debug for RestyleDamage { +impl fmt::Display for RestyleDamage { fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { let mut first_elem = true; diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml index 53d152d60ec..adeac33d953 100644 --- a/components/msg/Cargo.toml +++ b/components/msg/Cargo.toml @@ -34,5 +34,5 @@ git = "https://github.com/servo/rust-png" [dependencies] url = "0.2.16" bitflags = "*" -hyper = "0.4" +hyper = "0.5" rustc-serialize = "0.3.4"
\ No newline at end of file diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index 9dda02741aa..089dcb5a226 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -30,6 +30,6 @@ rustc-serialize = "0.3" cookie="*" regex = "0.1.14" regex_macros = "0.1.8" -hyper = "0.4" +hyper = "0.5" flate2 = "0.2.0" uuid = "0.1.16" diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index 9024ff3989f..661554c69ca 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -131,7 +131,7 @@ reason: \"certificate verify failed\" }]))"; let mut connector = if opts::get().nossl { HttpConnector(None) } else { - HttpConnector(Some(box verifier as Box<FnMut(&mut SslContext) + Send>)) + HttpConnector(Some(box verifier as Box<Fn(&mut SslContext) + Send>)) }; let mut req = match Request::with_connector(load_data.method.clone(), url.clone(), &mut connector) { diff --git a/components/net_traits/Cargo.toml b/components/net_traits/Cargo.toml index 54ceafc6c93..e0dae294dfd 100644 --- a/components/net_traits/Cargo.toml +++ b/components/net_traits/Cargo.toml @@ -24,4 +24,4 @@ git = "https://github.com/servo/rust-stb-image" [dependencies] url = "0.2.16" -hyper = "0.4" +hyper = "0.5" diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 400fb35d462..3f4a5c132be 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -79,9 +79,9 @@ time = "0.1.12" bitflags = "*" rustc-serialize = "*" libc = "*" -hyper = "0.4" +hyper = "0.5" cssparser = "0.3.1" unicase = "0.1" num = "0.1.24" -websocket = "0.11.0" +websocket = "0.12" uuid = "0.1.16" diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 523aee5d030..e698c8811a7 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.0.2", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "devtools 0.0.1", "devtools_traits 0.0.1", @@ -23,7 +23,7 @@ dependencies = [ "script_tests 0.0.1", "style_tests 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "util_tests 0.0.1", "webdriver_server 0.0.1", @@ -61,6 +61,11 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "bitflags" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "byteorder" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -144,19 +149,19 @@ dependencies = [ "script_traits 0.0.1", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] [[package]] name = "cookie" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -205,11 +210,11 @@ name = "devtools" version = "0.0.1" dependencies = [ "devtools_traits 0.0.1", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -217,12 +222,12 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -370,7 +375,7 @@ name = "gfx" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "core_graphics 0.1.0 (git+https://github.com/servo/rust-core-graphics)", @@ -395,7 +400,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -469,7 +474,7 @@ dependencies = [ name = "glutin_app" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.0.1 (git+https://github.com/servo/rust-cgl)", "compositing 0.0.1", "egl 0.1.0 (git+https://github.com/servo/rust-egl)", @@ -482,7 +487,7 @@ dependencies = [ "net 0.0.1", "script_traits 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "x11 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -564,29 +569,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hyper" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", - "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "traitobject 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "hyper" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", @@ -597,7 +583,7 @@ dependencies = [ "traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -661,7 +647,7 @@ name = "layout" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (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)", @@ -684,7 +670,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -698,7 +684,7 @@ dependencies = [ "net_traits 0.0.1", "profile_traits 0.0.1", "script_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -778,16 +764,16 @@ name = "msg" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -795,11 +781,11 @@ dependencies = [ name = "net" version = "0.0.1" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "net_traits 0.0.1", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "png 0.1.0 (git+https://github.com/servo/rust-png)", @@ -807,7 +793,7 @@ dependencies = [ "regex_macros 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -816,11 +802,11 @@ dependencies = [ name = "net_tests" version = "0.0.1" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "net 0.0.1", "net_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -829,11 +815,11 @@ name = "net_traits" version = "0.0.1" dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -994,7 +980,7 @@ name = "profile_traits" version = "0.0.1" dependencies = [ "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1040,7 +1026,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "script" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1049,7 +1035,7 @@ dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", "gfx 0.0.1", "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", @@ -1067,10 +1053,10 @@ dependencies = [ "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "websocket 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", + "websocket 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1090,7 +1076,7 @@ dependencies = [ "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1171,7 +1157,7 @@ source = "git+https://github.com/servo/string-cache#c5912f925e9c1db7dbe4a7980fbc name = "style" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1183,7 +1169,7 @@ dependencies = [ "selectors 0.1.0 (git+https://github.com/servo/rust-selectors)", "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1197,7 +1183,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1236,11 +1222,6 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "traitobject" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] name = "typeable" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1252,7 +1233,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "url" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1274,7 +1255,7 @@ name = "util" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1291,7 +1272,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1314,9 +1295,9 @@ dependencies = [ [[package]] name = "webdriver" version = "0.2.0" -source = "git+https://github.com/jgraham/webdriver-rust.git#038c1828c5dd4ab7b8f70b3d859c0ff988e6ca25" +source = "git+https://github.com/jgraham/webdriver-rust.git#b9cf2b1f65d4f01f593de29a581518feeb6b5a64" dependencies = [ - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1330,7 +1311,7 @@ dependencies = [ "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", "webdriver 0.2.0 (git+https://github.com/jgraham/webdriver-rust.git)", @@ -1338,17 +1319,17 @@ dependencies = [ [[package]] name = "websocket" -version = "0.11.11" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.10 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1376,9 +1357,9 @@ dependencies = [ [[package]] name = "xlib" version = "0.1.0" -source = "git+https://github.com/servo/rust-xlib#1a0f3d48fbebf96e2d1bf83ac71309b27f49e0c7" +source = "git+https://github.com/servo/rust-xlib#184533f276bfad3c78bf06e35ec68f09c18b89c4" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1387,6 +1368,6 @@ name = "xml-rs" version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/components/util/logical_geometry.rs b/components/util/logical_geometry.rs index a16e3192e00..02739ab4548 100644 --- a/components/util/logical_geometry.rs +++ b/components/util/logical_geometry.rs @@ -7,7 +7,7 @@ use geom::{Size2D, Point2D, SideOffsets2D, Rect}; use geom::num::Zero; use std::cmp::{min, max}; -use std::fmt::{Debug, Formatter, Error}; +use std::fmt::{self, Debug, Formatter, Error}; use std::ops::{Add, Sub}; bitflags!( @@ -87,7 +87,7 @@ impl WritingMode { } } -impl Debug for WritingMode { +impl fmt::Display for WritingMode { fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error> { if self.is_vertical() { try!(write!(formatter, "V")); diff --git a/components/util/task_state.rs b/components/util/task_state.rs index b816c56038c..0072fb00fb6 100644 --- a/components/util/task_state.rs +++ b/components/util/task_state.rs @@ -11,7 +11,6 @@ pub use self::imp::{initialize, get, enter, exit}; bitflags! { - #[derive(Debug)] flags TaskState: u32 { const SCRIPT = 0x01, const LAYOUT = 0x02, diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index f151d2d65a3..1064c98ffed 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -27,7 +27,7 @@ dependencies = [ "servo 0.0.1", "stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "x11 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -60,6 +60,11 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "bitflags" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "byteorder" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -153,19 +158,19 @@ dependencies = [ "script_traits 0.0.1", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] [[package]] name = "cookie" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -214,11 +219,11 @@ name = "devtools" version = "0.0.1" dependencies = [ "devtools_traits 0.0.1", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -226,12 +231,12 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -379,7 +384,7 @@ name = "gfx" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "core_graphics 0.1.0 (git+https://github.com/servo/rust-core-graphics)", @@ -404,7 +409,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -471,7 +476,7 @@ dependencies = [ name = "glutin_app" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.0.1 (git+https://github.com/servo/rust-cgl)", "compositing 0.0.1", "egl 0.1.0 (git+https://github.com/servo/rust-egl)", @@ -484,7 +489,7 @@ dependencies = [ "net 0.0.1", "script_traits 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "x11 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -566,29 +571,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hyper" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", - "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "traitobject 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "hyper" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", @@ -599,7 +585,7 @@ dependencies = [ "traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -663,7 +649,7 @@ name = "layout" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (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)", @@ -686,7 +672,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -700,7 +686,7 @@ dependencies = [ "net_traits 0.0.1", "profile_traits 0.0.1", "script_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -780,16 +766,16 @@ name = "msg" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -797,11 +783,11 @@ dependencies = [ name = "net" version = "0.0.1" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "net_traits 0.0.1", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "png 0.1.0 (git+https://github.com/servo/rust-png)", @@ -809,7 +795,7 @@ dependencies = [ "regex_macros 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -819,11 +805,11 @@ name = "net_traits" version = "0.0.1" dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -984,7 +970,7 @@ name = "profile_traits" version = "0.0.1" dependencies = [ "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1030,7 +1016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "script" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1039,7 +1025,7 @@ dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", "gfx 0.0.1", "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", @@ -1057,10 +1043,10 @@ dependencies = [ "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "websocket 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", + "websocket 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1072,7 +1058,7 @@ dependencies = [ "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1094,7 +1080,7 @@ dependencies = [ name = "servo" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "devtools 0.0.1", "devtools_traits 0.0.1", @@ -1110,7 +1096,7 @@ dependencies = [ "profile_traits 0.0.1", "script 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "webdriver_server 0.0.1", ] @@ -1178,7 +1164,7 @@ source = "git+https://github.com/servo/string-cache#c5912f925e9c1db7dbe4a7980fbc name = "style" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1190,7 +1176,7 @@ dependencies = [ "selectors 0.1.0 (git+https://github.com/servo/rust-selectors)", "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1229,11 +1215,6 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "traitobject" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] name = "typeable" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1245,7 +1226,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "url" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1267,7 +1248,7 @@ name = "util" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1284,7 +1265,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1299,9 +1280,9 @@ dependencies = [ [[package]] name = "webdriver" version = "0.2.0" -source = "git+https://github.com/jgraham/webdriver-rust.git#038c1828c5dd4ab7b8f70b3d859c0ff988e6ca25" +source = "git+https://github.com/jgraham/webdriver-rust.git#b9cf2b1f65d4f01f593de29a581518feeb6b5a64" dependencies = [ - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1315,7 +1296,7 @@ dependencies = [ "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", "webdriver 0.2.0 (git+https://github.com/jgraham/webdriver-rust.git)", @@ -1323,17 +1304,17 @@ dependencies = [ [[package]] name = "websocket" -version = "0.11.11" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.10 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1361,9 +1342,9 @@ dependencies = [ [[package]] name = "xlib" version = "0.1.0" -source = "git+https://github.com/servo/rust-xlib#1a0f3d48fbebf96e2d1bf83ac71309b27f49e0c7" +source = "git+https://github.com/servo/rust-xlib#184533f276bfad3c78bf06e35ec68f09c18b89c4" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1372,6 +1353,6 @@ name = "xml-rs" version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 44c1d225979..1892a45a069 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -44,7 +44,6 @@ static mut g_nested_event_loop_listener: Option<*mut (NestedEventLoopListener + #[cfg(feature = "window")] bitflags! { - #[derive(Debug)] flags KeyModifiers: u8 { const LEFT_CONTROL = 1, const RIGHT_CONTROL = 2, diff --git a/ports/gonk/Cargo.lock b/ports/gonk/Cargo.lock index 3c401923a84..eb9e914a87a 100644 --- a/ports/gonk/Cargo.lock +++ b/ports/gonk/Cargo.lock @@ -20,7 +20,7 @@ dependencies = [ "script_traits 0.0.1", "servo 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -47,6 +47,11 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "bitflags" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "byteorder" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -130,19 +135,19 @@ dependencies = [ "script_traits 0.0.1", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] [[package]] name = "cookie" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -191,11 +196,11 @@ name = "devtools" version = "0.0.1" dependencies = [ "devtools_traits 0.0.1", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -203,12 +208,12 @@ dependencies = [ name = "devtools_traits" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -358,7 +363,7 @@ name = "gfx" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "core_graphics 0.1.0 (git+https://github.com/servo/rust-core-graphics)", @@ -383,7 +388,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -473,29 +478,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hyper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", - "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "traitobject 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "hyper" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "httparse 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "mime 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)", @@ -506,7 +492,7 @@ dependencies = [ "traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -570,7 +556,7 @@ name = "layout" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (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)", @@ -593,7 +579,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -607,7 +593,7 @@ dependencies = [ "net_traits 0.0.1", "profile_traits 0.0.1", "script_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -679,16 +665,16 @@ name = "msg" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -696,11 +682,11 @@ dependencies = [ name = "net" version = "0.0.1" dependencies = [ - "cookie 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "net_traits 0.0.1", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "png 0.1.0 (git+https://github.com/servo/rust-png)", @@ -708,7 +694,7 @@ dependencies = [ "regex_macros 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -718,11 +704,11 @@ name = "net_traits" version = "0.0.1" dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -865,7 +851,7 @@ name = "profile_traits" version = "0.0.1" dependencies = [ "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -911,7 +897,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "script" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "canvas 0.0.1", "canvas_traits 0.0.1", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -920,7 +906,7 @@ dependencies = [ "geom 0.1.0 (git+https://github.com/servo/rust-geom)", "gfx 0.0.1", "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", @@ -938,10 +924,10 @@ dependencies = [ "style 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "websocket 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", + "websocket 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -953,7 +939,7 @@ dependencies = [ "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -975,7 +961,7 @@ dependencies = [ name = "servo" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "devtools 0.0.1", "devtools_traits 0.0.1", @@ -990,7 +976,7 @@ dependencies = [ "profile_traits 0.0.1", "script 0.0.1", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "webdriver_server 0.0.1", ] @@ -1049,7 +1035,7 @@ source = "git+https://github.com/servo/string-cache#c5912f925e9c1db7dbe4a7980fbc name = "style" version = "0.0.1" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1061,7 +1047,7 @@ dependencies = [ "selectors 0.1.0 (git+https://github.com/servo/rust-selectors)", "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1100,11 +1086,6 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "traitobject" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] name = "typeable" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1116,7 +1097,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "url" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1129,7 +1110,7 @@ name = "util" version = "0.0.1" dependencies = [ "azure 0.1.0 (git+https://github.com/servo/rust-azure)", - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", @@ -1146,7 +1127,7 @@ dependencies = [ "string_cache 0.1.0 (git+https://github.com/servo/string-cache)", "string_cache_plugin 0.1.1 (git+https://github.com/servo/string-cache)", "time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1161,9 +1142,9 @@ dependencies = [ [[package]] name = "webdriver" version = "0.2.0" -source = "git+https://github.com/jgraham/webdriver-rust.git#038c1828c5dd4ab7b8f70b3d859c0ff988e6ca25" +source = "git+https://github.com/jgraham/webdriver-rust.git#b9cf2b1f65d4f01f593de29a581518feeb6b5a64" dependencies = [ - "hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1177,7 +1158,7 @@ dependencies = [ "msg 0.0.1", "png 0.1.0 (git+https://github.com/servo/rust-png)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", "webdriver 0.2.0 (git+https://github.com/jgraham/webdriver-rust.git)", @@ -1185,17 +1166,17 @@ dependencies = [ [[package]] name = "websocket" -version = "0.11.11" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.3.10 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1218,9 +1199,9 @@ dependencies = [ [[package]] name = "xlib" version = "0.1.0" -source = "git+https://github.com/servo/rust-xlib#1a0f3d48fbebf96e2d1bf83ac71309b27f49e0c7" +source = "git+https://github.com/servo/rust-xlib#184533f276bfad3c78bf06e35ec68f09c18b89c4" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1229,6 +1210,6 @@ name = "xml-rs" version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/tests/unit/net/Cargo.toml b/tests/unit/net/Cargo.toml index 3e12cb18f5d..c03bbf28bec 100644 --- a/tests/unit/net/Cargo.toml +++ b/tests/unit/net/Cargo.toml @@ -19,5 +19,5 @@ path = "../../../components/util" [dependencies] cookie = "*" -hyper = "0.4" +hyper = "0.5" url = "*" |