diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-11-07 22:40:18 +0530 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-11-27 00:15:29 -0500 |
commit | dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c (patch) | |
tree | 5a4f80662d4c7b5b18adc49a325015e971380225 /components | |
parent | bc618b0d535e0e67a7ea845c026678113f000d64 (diff) | |
download | servo-dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c.tar.gz servo-dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c.zip |
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
… and libc 0.2 and many other dependencies
Diffstat (limited to 'components')
35 files changed, 414 insertions, 420 deletions
diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml index ed02566e22f..0fb996165a4 100644 --- a/components/compositing/Cargo.toml +++ b/components/compositing/Cargo.toml @@ -64,17 +64,13 @@ git = "https://github.com/servo/ipc-channel" git = "https://github.com/ecoal95/rust-offscreen-rendering-context" features = ["texture_surface"] -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies.gaol] git = "https://github.com/pcwalton/gaol" [dependencies] app_units = {version = "0.1", features = ["plugins"]} -image = "0.4.0" -libc = "0.1" +image = "0.5.0" +libc = "0.2" log = "0.3" num = "0.1.24" time = "0.1.17" @@ -82,6 +78,7 @@ gleam = "0.1" euclid = {version = "0.3", features = ["plugins"]} serde = "0.6" serde_macros = "0.6" +url = "0.5" [target.x86_64-apple-darwin.dependencies] core-graphics = "0.1" diff --git a/components/devtools/Cargo.toml b/components/devtools/Cargo.toml index 133b4351589..e0ed7c5fbf4 100644 --- a/components/devtools/Cargo.toml +++ b/components/devtools/Cargo.toml @@ -7,10 +7,6 @@ authors = ["The Servo Project Developers"] name = "devtools" path = "lib.rs" -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - [dependencies.devtools_traits] path = "../devtools_traits" @@ -26,14 +22,11 @@ path = "../plugins" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] +hyper = { version = "0.7", features = [ "serde-serialization" ] } log = "0.3" time = "0.1" rustc-serialize = "0.3" serde = "0.6" serde_macros = "0.6" - +url = "0.5" diff --git a/components/devtools_traits/Cargo.toml b/components/devtools_traits/Cargo.toml index 7efc73e8524..f7dca5197c3 100644 --- a/components/devtools_traits/Cargo.toml +++ b/components/devtools_traits/Cargo.toml @@ -7,20 +7,12 @@ authors = ["The Servo Project Developers"] name = "devtools_traits" path = "lib.rs" -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - [dependencies.msg] path = "../msg" [dependencies.util] path = "../util" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" @@ -28,9 +20,11 @@ git = "https://github.com/servo/ipc-channel" path = "../plugins" [dependencies] +hyper = { version = "0.7", features = [ "serde-serialization" ] } time = "0.1" rustc-serialize = "0.3" bitflags = "0.3" serde = "0.6" serde_macros = "0.6" +url = "0.5" diff --git a/components/gfx/Cargo.toml b/components/gfx/Cargo.toml index 40ca209c585..c5758e4257d 100644 --- a/components/gfx/Cargo.toml +++ b/components/gfx/Cargo.toml @@ -15,7 +15,7 @@ euclid = {version = "0.3", features = ["plugins"]} fnv = "1.0" harfbuzz-sys = "0.1" lazy_static = "0.1" -libc = "0.1" +libc = "0.2" log = "0.3" rand = "0.3" rustc-serialize = "0.3" @@ -25,6 +25,7 @@ smallvec = "0.1" string_cache = "0.2" time = "0.1.12" unicode-script = { version = "0.1", features = ["harfbuzz"] } +url = "0.5" [dependencies.plugins] path = "../plugins" @@ -67,10 +68,6 @@ path = "../script_traits" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [target.x86_64-apple-darwin.dependencies] core-foundation = "0.1" core-graphics = "0.1" diff --git a/components/gfx/paint_context.rs b/components/gfx/paint_context.rs index b579688e33f..5c7eb8c2016 100644 --- a/components/gfx/paint_context.rs +++ b/components/gfx/paint_context.rs @@ -27,7 +27,6 @@ use euclid::size::Size2D; use filters; use font_context::FontContext; use gfx_traits::color; -use libc::types::common::c99::uint32_t; use msg::compositor_msg::LayerKind; use net_traits::image::base::{Image, PixelFormat}; use std::default::Default; @@ -1803,7 +1802,7 @@ impl ScaledFontExtensionMethods for ScaledFont { let glyph_advance = glyph.advance(); let glyph_offset = glyph.offset().unwrap_or(Point2D::zero()); let azglyph = struct__AzGlyph { - mIndex: glyph.id() as uint32_t, + mIndex: glyph.id() as u32, mPosition: struct__AzPoint { x: (origin.x + glyph_offset.x).to_f32_px(), y: (origin.y + glyph_offset.y).to_f32_px(), @@ -1819,7 +1818,7 @@ impl ScaledFontExtensionMethods for ScaledFont { let mut glyphbuf = struct__AzGlyphBuffer { mGlyphs: azglyphs.as_mut_ptr(), - mNumGlyphs: azglyph_buf_len as uint32_t + mNumGlyphs: azglyph_buf_len as u32 }; unsafe { diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml index e050418a11e..304517cb346 100644 --- a/components/layout/Cargo.toml +++ b/components/layout/Cargo.toml @@ -59,10 +59,6 @@ git = "https://github.com/tomaka/clock_ticks" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] app_units = {version = "0.1", features = ["plugins"]} cssparser = { version = "0.4", features = [ "serde-serialization" ] } @@ -71,7 +67,7 @@ encoding = "0.2" fnv = "1.0" bitflags = "0.3" rustc-serialize = "0.3" -libc = "0.1" +libc = "0.2" selectors = "0.2" smallvec = "0.1" string_cache = "0.2" @@ -81,3 +77,4 @@ serde_macros = "0.6" serde_json = "0.5" unicode-bidi = "0.2" unicode-script = { version = "0.1", features = ["harfbuzz"] } +url = "0.5" diff --git a/components/layout_traits/Cargo.toml b/components/layout_traits/Cargo.toml index e5176785e85..f63b00c794b 100644 --- a/components/layout_traits/Cargo.toml +++ b/components/layout_traits/Cargo.toml @@ -28,12 +28,8 @@ path = "../util" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] euclid = {version = "0.3", features = ["plugins"]} serde = "0.6" serde_macros = "0.6" - +url = "0.5" diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml index 1d22df47fcf..9da2435a5a2 100644 --- a/components/msg/Cargo.toml +++ b/components/msg/Cargo.toml @@ -24,14 +24,6 @@ features = ["plugins"] git = "https://github.com/servo/rust-layers" features = ["plugins"] -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - -[dependencies.url] -version = "0.2.36" -features = [ "serde_serialization" ] - [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" @@ -45,10 +37,12 @@ path = "../plugins" [dependencies] app_units = {version = "0.1", features = ["plugins"]} bitflags = "0.3" +hyper = { version = "0.7", features = [ "serde-serialization" ] } rustc-serialize = "0.3.4" euclid = {version = "0.3", features = ["plugins"]} serde = "0.6" serde_macros = "0.6" +url = "0.5" [target.x86_64-apple-darwin.dependencies] core-foundation = "0.1" diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index d1ee383a23a..9e550a14b40 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -22,27 +22,21 @@ git = "https://github.com/ende76/brotli-rs" [dependencies.plugins] path = "../plugins" -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - [dependencies.msg] path = "../msg" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] +hyper = { version = "0.7", features = [ "serde-serialization" ] } log = "0.3" time = "0.1.17" -openssl="0.6.1" +openssl = "0.7.0" rustc-serialize = "0.3" -cookie = "0.1" +cookie = "0.2" mime_guess = "1.1.1" flate2 = "0.2.0" uuid = "0.1.16" euclid = {version = "0.3", features = ["plugins"]} +url = "0.5" diff --git a/components/net/about_loader.rs b/components/net/about_loader.rs index cd55dd0b42b..c81ecc49b87 100644 --- a/components/net/about_loader.rs +++ b/components/net/about_loader.rs @@ -10,7 +10,6 @@ use mime_classifier::MIMEClassifier; use net_traits::ProgressMsg::Done; use net_traits::{LoadConsumer, LoadData, Metadata}; use resource_task::{CancellationListener, send_error, start_sending_sniffed_opt}; -use std::fs::PathExt; use std::sync::Arc; use url::Url; use util::resource_files::resources_dir_path; diff --git a/components/net/cookie.rs b/components/net/cookie.rs index 67e95661c77..c0f6b1645f6 100644 --- a/components/net/cookie.rs +++ b/components/net/cookie.rs @@ -115,7 +115,7 @@ impl Cookie { pub fn path_match(request_path: &str, cookie_path: &str) -> bool { request_path == cookie_path || ( request_path.starts_with(cookie_path) && - ( request_path.ends_with("/") || request_path.as_bytes()[cookie_path.len() - 1] == b'/' ) + ( request_path.ends_with("/") || request_path[cookie_path.len()..].starts_with("/")) ) } diff --git a/components/net_traits/Cargo.toml b/components/net_traits/Cargo.toml index 161fa57f862..9b0824caf03 100644 --- a/components/net_traits/Cargo.toml +++ b/components/net_traits/Cargo.toml @@ -16,23 +16,17 @@ path = "../msg" [dependencies.stb_image] git = "https://github.com/servo/rust-stb-image" -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies.plugins] path = "../plugins" [dependencies] log = "0.3" euclid = {version = "0.3", features = ["plugins"]} -image = "0.4.0" +hyper = { version = "0.7", features = [ "serde-serialization" ] } +image = "0.5.0" serde = "0.6" serde_macros = "0.6" +url = "0.5" diff --git a/components/plugins/Cargo.toml b/components/plugins/Cargo.toml index f697fe45cf7..03f002376eb 100644 --- a/components/plugins/Cargo.toml +++ b/components/plugins/Cargo.toml @@ -16,8 +16,8 @@ git = "https://github.com/Manishearth/rust-clippy" branch = "servo" optional = true -[dependencies.url] -version = "0.2.36" +[dependencies] +url = "0.5" [features] default = [] diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs index d52ad866879..6662825452b 100644 --- a/components/plugins/lib.rs +++ b/components/plugins/lib.rs @@ -13,7 +13,7 @@ //! - `#[dom_struct]` : Implies `#[privatize]`,`#[derive(JSTraceable)]`, and `#[must_root]`. //! Use this for structs that correspond to a DOM type -#![feature(plugin_registrar, quote, plugin, box_syntax, rustc_private)] +#![feature(plugin_registrar, quote, plugin, box_syntax, rustc_private, slice_patterns)] #[macro_use] extern crate syntax; diff --git a/components/plugins/lints/inheritance_integrity.rs b/components/plugins/lints/inheritance_integrity.rs index 4f5770948aa..8ced4fb4c69 100644 --- a/components/plugins/lints/inheritance_integrity.rs +++ b/components/plugins/lints/inheritance_integrity.rs @@ -24,13 +24,13 @@ impl LintPass for InheritancePass { } impl LateLintPass for InheritancePass { - fn check_struct_def(&mut self, cx: &LateContext, def: &hir::StructDef, _n: ast::Name, + fn check_struct_def(&mut self, cx: &LateContext, def: &hir::VariantData, _n: ast::Name, _gen: &hir::Generics, id: ast::NodeId) { // Lints are run post expansion, so it's fine to use // #[_dom_struct_marker] here without also checking for #[dom_struct] if cx.tcx.has_attr(cx.tcx.map.local_def_id(id), "_dom_struct_marker") { // Find the reflector, if any - let reflector_span = def.fields.iter().enumerate() + let reflector_span = def.fields().iter().enumerate() .find(|&(ctr, f)| { if match_lang_ty(cx, &*f.node.ty, "reflector") { if ctr > 0 { @@ -44,7 +44,7 @@ impl LateLintPass for InheritancePass { }) .map(|(_, f)| f.span); // Find all #[dom_struct] fields - let dom_spans: Vec<_> = def.fields.iter().enumerate().filter_map(|(ctr, f)| { + let dom_spans: Vec<_> = def.fields().iter().enumerate().filter_map(|(ctr, f)| { if let hir::TyPath(..) = f.node.ty.node { if let Some(&def::PathResolution { base_def: def::DefTy(def_id, _), .. }) = cx.tcx.def_map.borrow().get(&f.node.ty.id) { diff --git a/components/plugins/lints/privatize.rs b/components/plugins/lints/privatize.rs index cf3d933c010..704edcdaeda 100644 --- a/components/plugins/lints/privatize.rs +++ b/components/plugins/lints/privatize.rs @@ -25,12 +25,12 @@ impl LintPass for PrivatizePass { impl LateLintPass for PrivatizePass { fn check_struct_def(&mut self, cx: &LateContext, - def: &hir::StructDef, + def: &hir::VariantData, _n: ast::Name, _gen: &hir::Generics, id: ast::NodeId) { if cx.tcx.has_attr(cx.tcx.map.local_def_id(id), "privatize") { - for field in &def.fields { + for field in def.fields() { match field.node { hir::StructField_ { kind: hir::NamedField(name, visibility), .. } if visibility == hir::Public => { cx.span_lint(PRIVATIZE, field.span, diff --git a/components/plugins/lints/unrooted_must_root.rs b/components/plugins/lints/unrooted_must_root.rs index 5b6e16c99e9..7f4eacdbd62 100644 --- a/components/plugins/lints/unrooted_must_root.rs +++ b/components/plugins/lints/unrooted_must_root.rs @@ -80,7 +80,7 @@ impl LateLintPass for UnrootedPass { /// All structs containing #[must_root] types must be #[must_root] themselves fn check_struct_def(&mut self, cx: &LateContext, - def: &hir::StructDef, + def: &hir::VariantData, _n: ast::Name, _gen: &hir::Generics, id: ast::NodeId) { @@ -89,7 +89,7 @@ impl LateLintPass for UnrootedPass { _ => cx.tcx.map.expect_item(cx.tcx.map.get_parent(id)), }; if item.attrs.iter().all(|a| !a.check_name("must_root")) { - for ref field in &def.fields { + for ref field in def.fields() { if is_unrooted_ty(cx, cx.tcx.node_id_to_type(field.node.id), false) { cx.span_lint(UNROOTED_MUST_ROOT, field.span, "Type must be rooted, use #[must_root] on the struct definition to propagate") @@ -101,13 +101,13 @@ impl LateLintPass for UnrootedPass { /// All enums containing #[must_root] types must be #[must_root] themselves fn check_variant(&mut self, cx: &LateContext, var: &hir::Variant, _gen: &hir::Generics) { let ref map = cx.tcx.map; - if map.expect_item(map.get_parent(var.node.id)).attrs.iter().all(|a| !a.check_name("must_root")) { - match var.node.kind { - hir::TupleVariantKind(ref vec) => { + if map.expect_item(map.get_parent(var.node.data.id())).attrs.iter().all(|a| !a.check_name("must_root")) { + match var.node.data { + hir::VariantData::Tuple(ref vec, _) => { for ty in vec { - cx.tcx.ast_ty_to_ty_cache.borrow().get(&ty.id).map(|t| { + cx.tcx.ast_ty_to_ty_cache.borrow().get(&ty.node.id).map(|t| { if is_unrooted_ty(cx, t, false) { - cx.span_lint(UNROOTED_MUST_ROOT, ty.ty.span, + cx.span_lint(UNROOTED_MUST_ROOT, ty.node.ty.span, "Type must be rooted, use #[must_root] on \ the enum definition to propagate") } diff --git a/components/plugins/reflector.rs b/components/plugins/reflector.rs index 84b960168d0..826fb5f7636 100644 --- a/components/plugins/reflector.rs +++ b/components/plugins/reflector.rs @@ -15,7 +15,7 @@ pub fn expand_reflector(cx: &mut ExtCtxt, span: Span, _: &MetaItem, annotatable: if let ast::ItemStruct(ref def, _) = item.node { let struct_name = item.ident; // This path has to be hardcoded, unfortunately, since we can't resolve paths at expansion time - match def.fields.iter().find( + match def.fields().iter().find( |f| match_ty_unwrap(&*f.node.ty, &["dom", "bindings", "reflector", "Reflector"]).is_some()) { // If it has a field that is a Reflector, use that Some(f) => { @@ -34,7 +34,7 @@ pub fn expand_reflector(cx: &mut ExtCtxt, span: Span, _: &MetaItem, annotatable: }, // Or just call it on the first field (supertype). None => { - let field_name = def.fields[0].node.ident(); + let field_name = def.fields()[0].node.ident(); let impl_item = quote_item!(cx, impl ::dom::bindings::reflector::Reflectable for $struct_name { fn reflector<'a>(&'a self) -> &'a ::dom::bindings::reflector::Reflector { diff --git a/components/plugins/url_plugin.rs b/components/plugins/url_plugin.rs index 8ae06624c4b..e757916c4f7 100644 --- a/components/plugins/url_plugin.rs +++ b/components/plugins/url_plugin.rs @@ -16,7 +16,7 @@ use url::{Url, Host, RelativeSchemeData, SchemeData}; pub fn expand_url(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) -> Box<MacResult + 'static> { let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), tts.to_vec()); - let query_expr = cx.expander().fold_expr(parser.parse_expr()); + let query_expr = cx.expander().fold_expr(parser.parse_expr_nopanic().unwrap()); // Ensure a str literal was passed to the macro let query = match parse_str_lit(&query_expr) { @@ -114,17 +114,22 @@ impl<'a> ExtCtxtHelpers for ExtCtxt<'a> { } } - fn expr_host(&self, sp: Span, host: Host) -> syntax::ptr::P<Expr> { + fn expr_host(&self, _sp: Span, host: Host) -> syntax::ptr::P<Expr> { match host { Host::Domain(domain) => quote_expr!(self, ::url::Host::Domain(String::from($domain))), Host::Ipv6(address) => { - let pieces_expr = self.expr_slice_u16(sp, &address.pieces); + let [a, b, c, d, e, f, g, h] = address.segments(); quote_expr!(self, - ::url::Host::Ipv6( - ::url::Ipv6Address { - pieces: $pieces_expr.to_owned() - } - )) + ::url::Host::Ipv6(::std::net::Ipv6Addr::new( + $a, $b, $c, $d, $e, $f, $g, $h + ))) + }, + Host::Ipv4(address) => { + let [a, b, c, d] = address.octets(); + quote_expr!(self, + ::url::Host::Ipv4(::std::net::Ipv4Addr::new( + $a, $b, $c, $d + ))) }, } } diff --git a/components/profile/Cargo.toml b/components/profile/Cargo.toml index 570b929a3b3..119f5b53b46 100644 --- a/components/profile/Cargo.toml +++ b/components/profile/Cargo.toml @@ -24,7 +24,7 @@ git = "https://github.com/servo/ipc-channel" [dependencies] log = "0.3" -libc = "0.1" +libc = "0.2" regex = "0.1.14" time = "0.1.12" diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index f30c63db4a0..06e5f325ccc 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -48,10 +48,6 @@ path = "../canvas_traits" [dependencies.js] git = "https://github.com/servo/rust-mozjs" -[dependencies.url] -version = "0.2.36" -features = ["query_encoding", "serde_serialization"] - [dependencies.offscreen_gl_context] git = "https://github.com/ecoal95/rust-offscreen-rendering-context" @@ -62,10 +58,6 @@ branch = "servo" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.hyper] -version = "0.6" -features = [ "serde-serialization" ] - [dependencies.xml5ever] git = "https://github.com/Ygg01/xml5ever" features = ["unstable"] @@ -76,13 +68,14 @@ cssparser = { version = "0.4", features = [ "serde-serialization" ] } log = "0.3" encoding = "0.2" fnv = "1.0" +hyper = { version = "0.7", features = [ "serde-serialization" ] } time = "0.1.12" bitflags = "0.3" rustc-serialize = "0.3" -libc = "0.1" +libc = "0.2" unicase = "1.0" num = "0.1.24" -websocket = "0.12.0" +websocket = "0.14.0" uuid = "0.1.16" smallvec = "0.1" html5ever = { version = "0.2.1", features = ["unstable"] } @@ -93,4 +86,5 @@ tendril = "0.1.1" rand = "0.3" serde = "0.6" caseless = "0.1.0" -image = "0.4.0" +image = "0.5.0" +url = "0.5" diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 19adfbd490d..a3874f9b64f 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -1659,7 +1659,7 @@ impl DocumentMethods for Document { if let Some(&Host::Ipv6(ipv6)) = origin.host() { // Omit square brackets for IPv6 addresses. - return DOMString::from(ipv6.serialize()); + return DOMString::from(ipv6.to_string()); } DOMString::from(origin.serialize_host().unwrap_or_else(|| "".to_owned())) diff --git a/components/script/dom/websocket.rs b/components/script/dom/websocket.rs index d96ee00311d..f2060566877 100644 --- a/components/script/dom/websocket.rs +++ b/components/script/dom/websocket.rs @@ -39,7 +39,7 @@ use websocket::client::receiver::Receiver; use websocket::client::request::Url; use websocket::client::sender::Sender; use websocket::header::Origin; -use websocket::message::CloseData; +use websocket::message::Type; use websocket::result::WebSocketResult; use websocket::stream::WebSocketStream; use websocket::ws::receiver::Receiver as WSReceiver; @@ -264,23 +264,27 @@ impl WebSocket { sender.send(CommonScriptMsg::RunnableMsg(WebSocketEvent, open_task)).unwrap(); for message in receiver.incoming_messages() { - let message = match message { - Ok(Message::Text(text)) => MessageData::Text(text), - Ok(Message::Binary(data)) => MessageData::Binary(data), - Ok(Message::Ping(data)) => { - ws_sender.lock().unwrap().send_message(Message::Pong(data)).unwrap(); + let message: Message = match message { + Ok(m) => m, + Err(_) => break, + }; + let message = match message.opcode { + Type::Text => MessageData::Text(String::from_utf8_lossy(&message.payload).into_owned()), + Type::Binary => MessageData::Binary(message.payload.into_owned()), + Type::Ping => { + let pong = Message::pong(message.payload); + ws_sender.lock().unwrap().send_message(&pong).unwrap(); continue; }, - Ok(Message::Pong(_)) => continue, - Ok(Message::Close(data)) => { - ws_sender.lock().unwrap().send_message(Message::Close(data)).unwrap(); + Type::Pong => continue, + Type::Close => { + ws_sender.lock().unwrap().send_message(&message).unwrap(); let task = box CloseTask { addr: address, }; sender.send(CommonScriptMsg::RunnableMsg(WebSocketEvent, task)).unwrap(); break; }, - Err(_) => break, }; let message_task = box MessageReceivedTask { address: address.clone(), @@ -385,7 +389,7 @@ impl WebSocketMethods for WebSocket { if send_data { let mut other_sender = self.sender.borrow_mut(); let my_sender = other_sender.as_mut().unwrap(); - let _ = my_sender.lock().unwrap().send_message(Message::Text(data.0)); + let _ = my_sender.lock().unwrap().send_message(&Message::text(data.0)); } Ok(()) @@ -404,7 +408,7 @@ impl WebSocketMethods for WebSocket { if send_data { let mut other_sender = self.sender.borrow_mut(); let my_sender = other_sender.as_mut().unwrap(); - let _ = my_sender.lock().unwrap().send_message(Message::Binary(data.clone_bytes())); + let _ = my_sender.lock().unwrap().send_message(&Message::binary(data.clone_bytes())); } Ok(()) @@ -420,7 +424,7 @@ impl WebSocketMethods for WebSocket { if let Some(sender) = sender.as_mut() { let code: u16 = this.code.get(); let reason = this.reason.borrow().clone(); - let _ = sender.lock().unwrap().send_message(Message::Close(Some(CloseData::new(code, reason)))); + let _ = sender.lock().unwrap().send_message(&Message::close_because(code, reason)); } } diff --git a/components/script_traits/Cargo.toml b/components/script_traits/Cargo.toml index d115787d360..2da8a6b81aa 100644 --- a/components/script_traits/Cargo.toml +++ b/components/script_traits/Cargo.toml @@ -28,14 +28,11 @@ path = "../devtools_traits" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] app_units = {version = "0.1", features = ["plugins"]} -libc = "0.1" +libc = "0.2" euclid = {version = "0.3", features = ["plugins"]} serde = "0.6" serde_macros = "0.6" time = "0.1.12" +url = "0.5" diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 9e3968c794f..e5f784abea8 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -14,13 +14,13 @@ dependencies = [ "gaol 0.0.1 (git+https://github.com/pcwalton/gaol)", "gfx 0.0.1", "gfx_tests 0.0.1", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "glutin_app 0.0.1", - "image 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "image 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "layout 0.0.1", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net 0.0.1", @@ -36,8 +36,8 @@ dependencies = [ "script_traits 0.0.1", "style 0.0.1", "style_tests 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "util_tests 0.0.1", "webdriver_server 0.0.1", @@ -68,9 +68,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "angle" version = "0.1.0" -source = "git+https://github.com/ecoal95/angle?branch=servo#cea8b791169ead77407868db7d90ffbea106e570" +source = "git+https://github.com/ecoal95/angle?branch=servo#2c14c35cdc223eb95efcaf6830d339db5b535d76" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "aster" -version = "0.4.9" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -97,13 +97,13 @@ dependencies = [ "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)", "core-text 0.1.0 (git+https://github.com/servo/core-text-rs)", - "egl 0.1.0 (git+https://github.com/servo/rust-egl)", + "egl 0.2.0 (git+https://github.com/servo/rust-egl)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "freetype 0.1.0 (git+https://github.com/servo/rust-freetype)", "freetype-sys 2.4.11 (git+https://github.com/servo/libfreetype2)", "heapsize 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_plugin 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "skia 0.0.20130412 (git+https://github.com/servo/skia)", @@ -131,7 +131,7 @@ name = "block" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -145,6 +145,11 @@ version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "byteorder" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "canvas" version = "0.0.1" dependencies = [ @@ -153,7 +158,7 @@ dependencies = [ "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)", "gfx_traits 0.0.1", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -190,12 +195,17 @@ dependencies = [ ] [[package]] +name = "cfg-if" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "cgl" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -204,8 +214,8 @@ version = "0.0.3" source = "git+https://github.com/aweinstock314/rust-clipboard#ef4cf77c9c736e0951df797ff4e1a7c945ce2e34" dependencies = [ "clipboard-win 1.6.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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "objc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "objc-foundation 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "objc_id 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "x11 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -216,18 +226,18 @@ name = "clipboard-win" version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "kernel32-sys 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "user32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "clock_ticks" -version = "0.0.6" -source = "git+https://github.com/tomaka/clock_ticks#acfcf96806ae5e3bc647b7412a1c430ce62b79a1" +version = "0.1.0" +source = "git+https://github.com/tomaka/clock_ticks#d4b7f5d53d400ae47f20487ebbbf071c351ea40e" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -237,8 +247,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "objc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -262,12 +272,12 @@ dependencies = [ "gaol 0.0.1 (git+https://github.com/pcwalton/gaol)", "gfx 0.0.1", "gfx_traits 0.0.1", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "image 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "image 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "layout_traits 0.0.1", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", @@ -279,20 +289,20 @@ dependencies = [ "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] [[package]] name = "cookie" -version = "0.1.21" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -300,7 +310,7 @@ name = "core-foundation" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -309,7 +319,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -319,7 +329,7 @@ source = "git+https://github.com/servo/core-text-rs#d97cd4ae33509857f956e64c71f4 dependencies = [ "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)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -351,7 +361,7 @@ name = "devtools" version = "0.0.1" dependencies = [ "devtools_traits 0.0.1", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", @@ -359,8 +369,8 @@ dependencies = [ "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -369,15 +379,15 @@ name = "devtools_traits" version = "0.0.1" dependencies = [ "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)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "msg 0.0.1", "plugins 0.0.1", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -386,7 +396,7 @@ name = "dlib" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -403,15 +413,15 @@ name = "dylib" version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "egl" -version = "0.1.0" -source = "git+https://github.com/servo/rust-egl#b21a3eafc321bd498231fcd4f4704fd90898ebf4" +version = "0.2.0" +source = "git+https://github.com/servo/rust-egl#c59c59f6dc252e2ab17103b045d7ab1e452f32da" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -483,7 +493,7 @@ source = "git+https://github.com/energymon/energymon-rust.git?rev=eba1d8a#eba1d8 dependencies = [ "energy-monitor 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "energymon-default-sys 0.1.0 (git+https://github.com/energymon/energymon-sys.git)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -492,7 +502,7 @@ version = "0.1.0" source = "git+https://github.com/energymon/energymon-sys.git#82756eee725db3ccb658f14857947a0260743d4d" dependencies = [ "energymon-sys 0.1.0 (git+https://github.com/energymon/energymon-sys.git)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -501,12 +511,12 @@ name = "energymon-sys" version = "0.1.0" source = "git+https://github.com/energymon/energymon-sys.git#82756eee725db3ccb658f14857947a0260743d4d" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "enum_primitive" -version = "0.0.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -530,7 +540,7 @@ dependencies = [ "heapsize_plugin 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -546,11 +556,11 @@ dependencies = [ [[package]] name = "flate2" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "miniz-sys 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "miniz-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -564,7 +574,7 @@ version = "0.1.0" source = "git+https://github.com/servo/rust-fontconfig#5ad2ec0436036cd8151f7e03b637d89470daba91" dependencies = [ "fontconfig-sys 2.11.1 (git+https://github.com/servo/libfontconfig)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -582,7 +592,7 @@ name = "freetype" version = "0.1.0" source = "git+https://github.com/servo/rust-freetype#d564ff90a3c69d987f5c015d7ec034cfaee21aff" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -607,9 +617,9 @@ name = "gaol" version = "0.0.1" source = "git+https://github.com/pcwalton/gaol#71865ff8a1824cbc1cbee4d388d56c5ba1b5ffc2" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -650,17 +660,17 @@ dependencies = [ "fontconfig 0.1.0 (git+https://github.com/servo/rust-fontconfig)", "freetype 0.1.0 (git+https://github.com/servo/rust-freetype)", "gfx_traits 0.0.1", - "harfbuzz-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "harfbuzz-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", "plugins 0.0.1", "profile_traits 0.0.1", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "script_traits 0.0.1", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -670,9 +680,9 @@ dependencies = [ "smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -692,11 +702,11 @@ dependencies = [ [[package]] name = "gif" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lzw 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lzw 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -704,12 +714,12 @@ name = "gl_common" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gl_generator" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "khronos_api 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -719,13 +729,12 @@ dependencies = [ [[package]] name = "gleam" -version = "0.1.13" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "gl_common 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "gl_generator 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "gl_generator 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "khronos_api 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -735,8 +744,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "glutin" -version = "0.4.1" -source = "git+https://github.com/servo/glutin?branch=servo#d4ab289f0eee3a168746ab10521edbff244e4b99" +version = "0.4.2" +source = "git+https://github.com/servo/glutin?branch=servo#f04bc869a37752d3d4a4258660428a360588e3a7" dependencies = [ "android_glue 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -746,22 +755,22 @@ dependencies = [ "dwmapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "gl_common 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "gl_generator 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "kernel32-sys 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "gl_generator 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "khronos_api 0.0.8 (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)", - "objc 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "objc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "osmesa-sys 0.0.5 (registry+https://github.com/rust-lang/crates.io-index)", - "shared_library 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "shared_library 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "shell32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "user32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-client 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-kbd 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "wayland-window 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "wayland-window 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "x11 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "x11-dl 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "x11-dl 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -771,17 +780,17 @@ dependencies = [ "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)", + "egl 0.2.0 (git+https://github.com/servo/rust-egl)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "glutin 0.4.1 (git+https://github.com/servo/glutin?branch=servo)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "glutin 0.4.2 (git+https://github.com/servo/glutin?branch=servo)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", "script_traits 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "x11 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -792,26 +801,26 @@ version = "0.0.1" source = "git+https://github.com/servo/rust-glx#75ed2359f50c16c60f871e2f5f146e2016d8453d" dependencies = [ "gl_common 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "gl_generator 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "gl_generator 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "khronos_api 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "harfbuzz-sys" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "hbs-common-sys" version = "0.1.0" -source = "git+https://github.com/libheartbeats/heartbeats-simple-sys.git#d5c58be1ca55b3b82bbd50aa32206be68a711031" +source = "git+https://github.com/libheartbeats/heartbeats-simple-sys.git#5ce01d0e943d4d81e5c84401f85c892e47825415" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -820,16 +829,16 @@ version = "0.1.0" source = "git+https://github.com/libheartbeats/heartbeats-simple-rust.git#70ad49c810da3842e12eef2075d58552f1f6c707" dependencies = [ "hbs-pow-sys 0.1.0 (git+https://github.com/libheartbeats/heartbeats-simple-sys.git)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "hbs-pow-sys" version = "0.1.0" -source = "git+https://github.com/libheartbeats/heartbeats-simple-sys.git#d5c58be1ca55b3b82bbd50aa32206be68a711031" +source = "git+https://github.com/libheartbeats/heartbeats-simple-sys.git#5ce01d0e943d4d81e5c84401f85c892e47825415" dependencies = [ "hbs-common-sys 0.1.0 (git+https://github.com/libheartbeats/heartbeats-simple-sys.git)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -838,7 +847,7 @@ name = "heapsize" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -867,7 +876,7 @@ dependencies = [ "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -877,40 +886,45 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hyper" -version = "0.6.15" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "httparse 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "language-tags 0.0.7 (registry+https://github.com/rust-lang/crates.io-index)", + "language-tags 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "mime 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "solicit 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "image" -version = "0.4.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", - "enum_primitive 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "gif 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "enum_primitive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "gif 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "glob 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", - "png 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "png 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] +name = "inflate" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "io-surface" version = "0.1.1" source = "git+https://github.com/servo/io-surface-rs#aaaa5da1f2d75958fc1a3a06648717be4ea08283" @@ -918,20 +932,20 @@ dependencies = [ "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "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)", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "ipc-channel" version = "0.1.0" -source = "git+https://github.com/servo/ipc-channel#a7da16d710cfbb5d05c8315a5fbc04dd58399887" +source = "git+https://github.com/servo/ipc-channel#8306cdf03008bc32cd3196e1823661b0c773ffd3" dependencies = [ "bincode 0.4.0 (git+https://github.com/TyOverby/bincode)", - "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 0.4.2 (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)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", @@ -940,10 +954,10 @@ dependencies = [ [[package]] name = "js" version = "0.1.1" -source = "git+https://github.com/servo/rust-mozjs#16a084022c58337f0e6f591a084a1dbd9e8fe814" +source = "git+https://github.com/servo/rust-mozjs#d712414c8b1cab4672d88ec0f4861c9768ea27d7" dependencies = [ "heapsize 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "mozjs_sys 0.0.0 (git+https://github.com/servo/mozjs)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -952,7 +966,7 @@ dependencies = [ [[package]] name = "kernel32-sys" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -966,7 +980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "language-tags" -version = "0.0.7" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -977,12 +991,12 @@ dependencies = [ "azure 0.2.0 (git+https://github.com/servo/rust-azure)", "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "egl 0.1.0 (git+https://github.com/servo/rust-egl)", + "egl 0.2.0 (git+https://github.com/servo/rust-egl)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "glx 0.0.1 (git+https://github.com/servo/rust-glx)", "io-surface 0.1.1 (git+https://github.com/servo/io-surface-rs)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "skia 0.0.20130412 (git+https://github.com/servo/skia)", @@ -998,7 +1012,7 @@ dependencies = [ "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)", + "clock_ticks 0.1.0 (git+https://github.com/tomaka/clock_ticks)", "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)", @@ -1007,7 +1021,7 @@ dependencies = [ "gfx_traits 0.0.1", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layout_traits 0.0.1", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", @@ -1026,7 +1040,7 @@ dependencies = [ "style_traits 0.0.1", "unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1043,7 +1057,7 @@ dependencies = [ "script_traits 0.0.1", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1054,7 +1068,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "libc" -version = "0.1.10" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "libc" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -1071,7 +1090,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gcc 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1080,12 +1099,12 @@ name = "log" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "lzw" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -1098,7 +1117,7 @@ name = "malloc_buf" version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1111,7 +1130,7 @@ name = "memchr" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1132,11 +1151,11 @@ dependencies = [ [[package]] name = "miniz-sys" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gcc 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1144,7 +1163,7 @@ name = "mmap" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1153,7 +1172,7 @@ name = "mozjs_sys" version = "0.0.0" source = "git+https://github.com/servo/mozjs#10796a16f6a8aba1e4990a0939b8b2f4a1075e55" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libz-sys 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1167,7 +1186,7 @@ dependencies = [ "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)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "io-surface 0.1.1 (git+https://github.com/servo/io-surface-rs)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", @@ -1177,7 +1196,7 @@ dependencies = [ "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1186,40 +1205,52 @@ name = "net" version = "0.0.1" dependencies = [ "brotli 0.3.17 (git+https://github.com/ende76/brotli-rs)", - "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "flate2 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "flate2 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "mime_guess 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", - "openssl 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] +name = "net2" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "ws2_32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "net_tests" version = "0.0.1" dependencies = [ - "cookie 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", - "flate2 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "flate2 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "msg 0.0.1", "net 0.0.1", "net_traits 0.0.1", "plugins 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1228,16 +1259,16 @@ name = "net_traits" version = "0.0.1" dependencies = [ "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", - "image 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "image 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "plugins 0.0.1", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "stb_image 0.2.0 (git+https://github.com/servo/rust-stb-image)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1253,7 +1284,7 @@ name = "num" version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1262,15 +1293,15 @@ name = "num_cpus" version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "objc" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "malloc_buf 0.0.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1280,8 +1311,8 @@ version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "block 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)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "objc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "objc_id 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1290,23 +1321,23 @@ name = "objc_id" version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "objc 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "objc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "offscreen_gl_context" version = "0.1.0" -source = "git+https://github.com/ecoal95/rust-offscreen-rendering-context#aae6e57969c553973c43ce5e4246831ccc2868f0" +source = "git+https://github.com/ecoal95/rust-offscreen-rendering-context#922819338946a3fa26a8ae49dc34cc1ede8b3705" dependencies = [ "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "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)", - "gl_generator 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "glutin 0.4.1 (git+https://github.com/servo/glutin?branch=servo)", + "gl_generator 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "glutin 0.4.2 (git+https://github.com/servo/glutin?branch=servo)", "khronos_api 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1315,33 +1346,44 @@ dependencies = [ [[package]] name = "openssl" -version = "0.6.7" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys-extras 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "openssl-sys" -version = "0.6.7" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gcc 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libressl-pnacl-sys 2.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] +name = "openssl-sys-extras" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "gcc 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "osmesa-sys" version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "shared_library 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "shared_library 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1368,7 +1410,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "phf_shared 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1386,15 +1428,15 @@ name = "plugin_tests" version = "0.0.1" dependencies = [ "plugins 0.0.1", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "plugins" version = "0.0.1" dependencies = [ - "tenacious 0.0.11 (git+https://github.com/Manishearth/rust-tenacious)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "tenacious 0.0.13 (git+https://github.com/Manishearth/rust-tenacious)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1407,12 +1449,13 @@ dependencies = [ [[package]] name = "png" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "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)", + "flate2 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "inflate 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1422,13 +1465,13 @@ version = "0.0.1" dependencies = [ "hbs-pow 0.1.0 (git+https://github.com/libheartbeats/heartbeats-simple-rust.git)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "profile_traits 0.0.1", "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "task_info 0.0.1", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1442,28 +1485,28 @@ dependencies = [ "plugins 0.0.1", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "quasi" -version = "0.3.2" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "quasi_codegen" -version = "0.3.3" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "aster 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", + "aster 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "quasi_macros" -version = "0.3.2" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "quasi_codegen 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "quasi_codegen 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1477,11 +1520,11 @@ dependencies = [ [[package]] name = "rand" -version = "0.3.11" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1526,11 +1569,11 @@ dependencies = [ "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", - "image 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "image 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "js 0.1.1 (git+https://github.com/servo/rust-mozjs)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", @@ -1538,7 +1581,7 @@ dependencies = [ "offscreen_gl_context 0.1.0 (git+https://github.com/ecoal95/rust-offscreen-rendering-context)", "plugins 0.0.1", "profile_traits 0.0.1", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "script_traits 0.0.1", "selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1548,12 +1591,12 @@ dependencies = [ "style 0.0.1", "style_traits 0.0.1", "tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", - "websocket 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "xml5ever 0.1.0 (git+https://github.com/Ygg01/xml5ever)", ] @@ -1574,15 +1617,15 @@ dependencies = [ "devtools_traits 0.0.1", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", "plugins 0.0.1", "profile_traits 0.0.1", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1610,12 +1653,12 @@ dependencies = [ [[package]] name = "serde_codegen" -version = "0.5.3" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "aster 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", - "quasi 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "quasi_macros 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "aster 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "quasi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", + "quasi_macros 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1632,16 +1675,16 @@ name = "serde_macros" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "serde_codegen 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_codegen 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "shared_library" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1661,18 +1704,18 @@ source = "git+https://github.com/huonw/simd#be4242121e081206d8769cc60a7d2fa8e23c [[package]] name = "skia" version = "0.0.20130412" -source = "git+https://github.com/servo/skia#d1885f1d721d1cb5a32ab932f07866eba7c01c13" +source = "git+https://github.com/servo/skia#a3102fc074612c9f44fb1b402fa1885bba25f233" dependencies = [ "cgl 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "egl 0.1.0 (git+https://github.com/servo/rust-egl)", + "egl 0.2.0 (git+https://github.com/servo/rust-egl)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "expat-sys 2.1.0 (git+https://github.com/servo/libexpat)", "fontconfig 0.1.0 (git+https://github.com/servo/rust-fontconfig)", "freetype-sys 2.4.11 (git+https://github.com/servo/libfreetype2)", - "gleam 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", "glx 0.0.1 (git+https://github.com/servo/rust-glx)", "io-surface 0.1.1 (git+https://github.com/servo/io-surface-rs)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "x11 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1692,10 +1735,10 @@ dependencies = [ [[package]] name = "stb_image" -version = "0.1.0" -source = "git+https://github.com/servo/rust-stb-image#a6831a4e0ce78ec7393d6e9c5b3a26f2f4dc4249" +version = "0.2.0" +source = "git+https://github.com/servo/rust-stb-image#bf1edc24753962e474cae3a2ad376a6d423cd91d" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1732,7 +1775,7 @@ dependencies = [ "smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1748,7 +1791,7 @@ dependencies = [ "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1766,7 +1809,7 @@ dependencies = [ "selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", ] @@ -1782,24 +1825,24 @@ name = "tempdir" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tempfile" -version = "1.1.1" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "kernel32-sys 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tenacious" -version = "0.0.11" -source = "git+https://github.com/Manishearth/rust-tenacious#f9916c35fd76fdbe984659ab3ce30d752739f114" +version = "0.0.13" +source = "git+https://github.com/Manishearth/rust-tenacious#44c943182fb93a1c4b2e6d0b2d8ebb35d8c07775" [[package]] name = "tendril" @@ -1813,11 +1856,11 @@ dependencies = [ [[package]] name = "time" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "kernel32-sys 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1833,7 +1876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "unicase" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -1854,7 +1897,7 @@ name = "unicode-script" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "harfbuzz-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "harfbuzz-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1867,13 +1910,14 @@ dependencies = [ [[package]] name = "url" -version = "0.2.37" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", + "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1896,24 +1940,24 @@ dependencies = [ "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)", "html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "js 0.1.1 (git+https://github.com/servo/rust-mozjs)", "layers 0.1.0 (git+https://github.com/servo/rust-layers)", "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)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1923,7 +1967,7 @@ version = "0.0.1" dependencies = [ "app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "util 0.0.1", ] @@ -1933,7 +1977,7 @@ name = "uuid" version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1950,7 +1994,7 @@ dependencies = [ "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)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1967,20 +2011,20 @@ dependencies = [ [[package]] name = "wayland-window" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", - "tempfile 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "tempfile 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-client 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "webdriver" -version = "0.3.1" -source = "git+https://github.com/jgraham/webdriver-rust.git#e6aac905416c3b55b0b9c6f82b347366be5e9301" +version = "0.4.0" +source = "git+https://github.com/jgraham/webdriver-rust.git#9dffcbe409af052788b75c25c368518aab30fd39" dependencies = [ - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1991,33 +2035,34 @@ dependencies = [ name = "webdriver_server" version = "0.0.1" dependencies = [ - "hyper 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", - "image 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "image 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)", "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "plugins 0.0.1", "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", - "webdriver 0.3.1 (git+https://github.com/jgraham/webdriver-rust.git)", + "webdriver 0.4.0 (git+https://github.com/jgraham/webdriver-rust.git)", ] [[package]] name = "websocket" -version = "0.12.2" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "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)", - "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "net2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "url 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2031,21 +2076,30 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "ws2_32-sys" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "x11" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "x11-dl" -version = "2.0.1" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "dylib 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2069,6 +2123,6 @@ dependencies = [ "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml index 2b1fda73a1f..9a827973f7c 100644 --- a/components/servo/Cargo.toml +++ b/components/servo/Cargo.toml @@ -18,7 +18,7 @@ doc = false bench = false [dev-dependencies] -image = "0.4.0" +image = "0.5.0" [dev-dependencies.gfx_tests] path = "../../tests/unit/gfx" @@ -124,10 +124,6 @@ optional = true version = "0.3" features = ["release_max_level_info"] -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies.euclid] version = "0.3" features = ["plugins"] @@ -152,4 +148,6 @@ git = "https://github.com/ecoal95/rust-offscreen-rendering-context" env_logger = "0.3" time = "0.1.12" bitflags = "0.3" -libc = "0.1" +libc = "0.2" +url = {version = "0.5", features = ["serde_serialization", "query_encoding"]} + diff --git a/components/servo/main.rs b/components/servo/main.rs index 437df310832..3c17be5503d 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -229,7 +229,7 @@ mod android { use std::borrow::ToOwned; pub fn setup_logging() { - use self::libc::consts::os::posix88::{STDERR_FILENO, STDOUT_FILENO}; + use self::libc::{STDERR_FILENO, STDOUT_FILENO}; //use std::env; //env::set_var("RUST_LOG", "servo,gfx,msg,util,layers,js,std,rt,extra"); @@ -239,14 +239,14 @@ mod android { unsafe { super::app_dummy(); } } - struct FilePtr(*mut self::libc::types::common::c95::FILE); + struct FilePtr(*mut self::libc::FILE); unsafe impl Send for FilePtr {} fn redirect_output(file_no: c_int) { - use self::libc::funcs::c95::stdio::fgets; - use self::libc::funcs::posix88::stdio::fdopen; - use self::libc::funcs::posix88::unistd::{pipe, dup2}; + use self::libc::fdopen; + use self::libc::fgets; + use self::libc::{pipe, dup2}; use servo::util::task::spawn_named; use std::ffi::CStr; use std::ffi::CString; diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index 4d725405901..b38295b8b18 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -18,10 +18,6 @@ path = "../util" [dependencies.style_traits] path = "../style_traits" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] app_units = {version = "0.1", features = ["plugins"]} cssparser = { version = "0.4", features = [ "serde-serialization" ] } @@ -39,3 +35,5 @@ string_cache = "0.2" euclid = {version = "0.3", features = ["plugins"]} serde = "0.6" serde_macros = "0.6" +url = "0.5" + diff --git a/components/style_traits/Cargo.toml b/components/style_traits/Cargo.toml index 7db0ab0298a..118e785e96b 100644 --- a/components/style_traits/Cargo.toml +++ b/components/style_traits/Cargo.toml @@ -13,10 +13,6 @@ path = "../util" [dependencies.plugins] path = "../plugins" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] cssparser = { version = "0.4", features = [ "serde-serialization" ] } euclid = {version = "0.3", features = ["plugins"]} @@ -27,3 +23,5 @@ rustc-serialize = "0.3" selectors = "0.2" serde = "0.6" serde_macros = "0.6" +url = "0.5" + diff --git a/components/util/Cargo.toml b/components/util/Cargo.toml index 2abf7560f1f..4a3d126cbf1 100644 --- a/components/util/Cargo.toml +++ b/components/util/Cargo.toml @@ -32,17 +32,13 @@ features = ["plugins"] [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] app_units = {version = "0.1", features = ["plugins"]} cssparser = { version = "0.4", features = [ "serde-serialization" ] } log = "0.3" bitflags = "0.3" html5ever = { version = "0.2.1", features = ["unstable"] } -libc = "0.1" +libc = "0.2" rand = "0.3" rustc-serialize = "0.3" smallvec = "0.1" @@ -55,5 +51,6 @@ serde_macros = "0.6" string_cache = "0.2" lazy_static = "0.1" getopts = "0.2.11" -hyper = "0.6" +hyper = "0.7" +url = "0.5" uuid = "0.1.17" diff --git a/components/util/lib.rs b/components/util/lib.rs index 82fcf7ab62b..da6e382dc7f 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -12,10 +12,8 @@ #![feature(heap_api)] #![feature(oom)] #![feature(optin_builtin_traits)] -#![cfg_attr(not(target_os = "android"), feature(path_ext))] #![feature(plugin)] #![feature(reflect_marker)] -#![feature(slice_splits)] #![feature(step_by)] #![feature(step_trait)] #![feature(zero_one)] diff --git a/components/util/mem.rs b/components/util/mem.rs index 968282eafda..5b976d468e4 100644 --- a/components/util/mem.rs +++ b/components/util/mem.rs @@ -157,7 +157,8 @@ impl HeapSizeOf for url::Host { fn heap_size_of_children(&self) -> usize { match *self { url::Host::Domain(ref str) => str.heap_size_of_children(), - url::Host::Ipv6(_) => 0 + url::Host::Ipv6(_) => 0, + url::Host::Ipv4(_) => 0, } } } diff --git a/components/util/resource_files.rs b/components/util/resource_files.rs index 68d735697c7..cd7363f9c4c 100644 --- a/components/util/resource_files.rs +++ b/components/util/resource_files.rs @@ -26,7 +26,6 @@ pub fn resources_dir_path() -> PathBuf { #[cfg(not(target_os = "android"))] pub fn resources_dir_path() -> PathBuf { use std::env; - use std::fs::PathExt; match *CMD_RESOURCE_DIR.lock().unwrap() { Some(ref path) => PathBuf::from(path), diff --git a/components/util/workqueue.rs b/components/util/workqueue.rs index 26125335b3e..dd7c4dd355a 100644 --- a/components/util/workqueue.rs +++ b/components/util/workqueue.rs @@ -8,7 +8,7 @@ //! higher-level API on top of this could allow safe fork-join parallelism. use deque::{Abort, BufferPool, Data, Empty, Stealer, Worker}; -use libc::funcs::posix88::unistd::usleep; +use libc::usleep; use rand::{Rng, XorShiftRng, weak_rng}; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::mpsc::{Receiver, Sender, channel}; diff --git a/components/webdriver_server/Cargo.toml b/components/webdriver_server/Cargo.toml index d0bbcb2327e..8b091bb802a 100644 --- a/components/webdriver_server/Cargo.toml +++ b/components/webdriver_server/Cargo.toml @@ -22,14 +22,11 @@ git = "https://github.com/jgraham/webdriver-rust.git" [dependencies.ipc-channel] git = "https://github.com/servo/ipc-channel" -[dependencies.url] -version = "0.2" -features = [ "serde_serialization" ] - [dependencies] -image = "0.4.0" +image = "0.5.0" log = "0.3" -hyper = "0.6" +hyper = "0.7" rustc-serialize = "0.3.4" regex = "0.1.33" +url = "0.5" uuid = "0.1" |