servo: Merge #4766 - Import the util crate as util rather than servo_util (from Ms2ger:util); r=Manishearth

This used to conflict with the util crate from the standard library, which
has long since been removed.

The import in layout has not been changed because of a conflict with the
util mod there.

Source-Repo: https://github.com/servo/servo
Source-Revision: 27e0f16407629422b5e047e067d458142372c97e
This commit is contained in:
Ms2ger 2015-01-29 05:12:49 -07:00
parent d668ccc421
commit 3cee792603
182 changed files with 294 additions and 294 deletions

View File

@ -6,7 +6,7 @@ use azure::azure_hl::{DrawTarget, Color, SurfaceFormat, BackendType, StrokeOptio
use azure::azure_hl::{ColorPattern, PatternRef}; use azure::azure_hl::{ColorPattern, PatternRef};
use geom::rect::Rect; use geom::rect::Rect;
use geom::size::Size2D; use geom::size::Size2D;
use servo_util::task::spawn_named; use util::task::spawn_named;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::sync::mpsc::{channel, Sender}; use std::sync::mpsc::{channel, Sender};

View File

@ -9,6 +9,6 @@
extern crate azure; extern crate azure;
extern crate geom; extern crate geom;
extern crate "util" as servo_util; extern crate util;
pub mod canvas_paint_task; pub mod canvas_paint_task;

View File

@ -35,11 +35,11 @@ use servo_msg::constellation_msg::{ConstellationChan, NavigationDirection};
use servo_msg::constellation_msg::Msg as ConstellationMsg; use servo_msg::constellation_msg::Msg as ConstellationMsg;
use servo_msg::constellation_msg::{Key, KeyModifiers, KeyState, LoadData}; use servo_msg::constellation_msg::{Key, KeyModifiers, KeyState, LoadData};
use servo_msg::constellation_msg::{PipelineId, WindowSizeData}; use servo_msg::constellation_msg::{PipelineId, WindowSizeData};
use servo_util::geometry::{PagePx, ScreenPx, ViewportPx}; use util::geometry::{PagePx, ScreenPx, ViewportPx};
use servo_util::memory::MemoryProfilerChan; use util::memory::MemoryProfilerChan;
use servo_util::opts; use util::opts;
use servo_util::time::{TimeProfilerCategory, profile, TimeProfilerChan}; use util::time::{TimeProfilerCategory, profile, TimeProfilerChan};
use servo_util::{memory, time}; use util::{memory, time};
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::path::Path; use std::path::Path;

View File

@ -22,10 +22,10 @@ use servo_msg::compositor_msg::{Epoch, LayerId, LayerMetadata, ReadyState};
use servo_msg::compositor_msg::{PaintListener, PaintState, ScriptListener, ScrollPolicy}; use servo_msg::compositor_msg::{PaintListener, PaintState, ScriptListener, ScrollPolicy};
use servo_msg::constellation_msg::{ConstellationChan, LoadData, PipelineId}; use servo_msg::constellation_msg::{ConstellationChan, LoadData, PipelineId};
use servo_msg::constellation_msg::{Key, KeyState, KeyModifiers}; use servo_msg::constellation_msg::{Key, KeyState, KeyModifiers};
use servo_util::cursor::Cursor; use util::cursor::Cursor;
use servo_util::geometry::PagePx; use util::geometry::PagePx;
use servo_util::memory::MemoryProfilerChan; use util::memory::MemoryProfilerChan;
use servo_util::time::TimeProfilerChan; use util::time::TimeProfilerChan;
use std::sync::mpsc::{channel, Sender, Receiver}; use std::sync::mpsc::{channel, Sender, Receiver};
use std::fmt::{Error, Formatter, Show}; use std::fmt::{Error, Formatter, Show};
use std::rc::Rc; use std::rc::Rc;

View File

@ -28,11 +28,11 @@ use servo_net::image_cache_task::{ImageCacheTask, ImageCacheTaskClient};
use servo_net::resource_task::ResourceTask; use servo_net::resource_task::ResourceTask;
use servo_net::resource_task; use servo_net::resource_task;
use servo_net::storage_task::{StorageTask, StorageTaskMsg}; use servo_net::storage_task::{StorageTask, StorageTaskMsg};
use servo_util::cursor::Cursor; use util::cursor::Cursor;
use servo_util::geometry::{PagePx, ViewportPx}; use util::geometry::{PagePx, ViewportPx};
use servo_util::opts; use util::opts;
use servo_util::task::spawn_named; use util::task::spawn_named;
use servo_util::time::TimeProfilerChan; use util::time::TimeProfilerChan;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};

View File

@ -9,10 +9,10 @@ use geom::scale_factor::ScaleFactor;
use geom::size::TypedSize2D; use geom::size::TypedSize2D;
use servo_msg::constellation_msg::Msg as ConstellationMsg; use servo_msg::constellation_msg::Msg as ConstellationMsg;
use servo_msg::constellation_msg::{ConstellationChan, WindowSizeData}; use servo_msg::constellation_msg::{ConstellationChan, WindowSizeData};
use servo_util::memory::MemoryProfilerChan; use util::memory::MemoryProfilerChan;
use servo_util::memory; use util::memory;
use servo_util::time::TimeProfilerChan; use util::time::TimeProfilerChan;
use servo_util::time; use util::time;
/// Starts the compositor, which listens for messages on the specified port. /// Starts the compositor, which listens for messages on the specified port.
/// ///

View File

@ -24,7 +24,7 @@ extern crate script_traits;
extern crate "msg" as servo_msg; extern crate "msg" as servo_msg;
extern crate "net" as servo_net; extern crate "net" as servo_net;
#[macro_use] #[macro_use]
extern crate "util" as servo_util; extern crate util;
extern crate gleam; extern crate gleam;
extern crate libc; extern crate libc;

View File

@ -16,7 +16,7 @@ use servo_net::image_cache_task::ImageCacheTask;
use gfx::font_cache_task::FontCacheTask; use gfx::font_cache_task::FontCacheTask;
use servo_net::resource_task::ResourceTask; use servo_net::resource_task::ResourceTask;
use servo_net::storage_task::StorageTask; use servo_net::storage_task::StorageTask;
use servo_util::time::TimeProfilerChan; use util::time::TimeProfilerChan;
use std::rc::Rc; use std::rc::Rc;
use std::sync::mpsc::{Receiver, channel}; use std::sync::mpsc::{Receiver, channel};

View File

@ -13,8 +13,8 @@ use layers::geometry::DevicePixel;
use layers::platform::surface::NativeGraphicsMetadata; use layers::platform::surface::NativeGraphicsMetadata;
use servo_msg::compositor_msg::{PaintState, ReadyState}; use servo_msg::compositor_msg::{PaintState, ReadyState};
use servo_msg::constellation_msg::{Key, KeyState, KeyModifiers, LoadData}; use servo_msg::constellation_msg::{Key, KeyState, KeyModifiers, LoadData};
use servo_util::cursor::Cursor; use util::cursor::Cursor;
use servo_util::geometry::ScreenPx; use util::geometry::ScreenPx;
use std::fmt::{Error, Formatter, Show}; use std::fmt::{Error, Formatter, Show};
use std::rc::Rc; use std::rc::Rc;

View File

@ -25,7 +25,7 @@ extern crate devtools_traits;
extern crate "serialize" as rustc_serialize; extern crate "serialize" as rustc_serialize;
extern crate serialize; extern crate serialize;
extern crate "msg" as servo_msg; extern crate "msg" as servo_msg;
extern crate "util" as servo_util; extern crate util;
use actor::{Actor, ActorRegistry}; use actor::{Actor, ActorRegistry};
use actors::console::ConsoleActor; use actors::console::ConsoleActor;
@ -36,7 +36,7 @@ use protocol::JsonPacketStream;
use devtools_traits::{ServerExitMsg, DevtoolsControlMsg, NewGlobal, DevtoolScriptControlMsg, DevtoolsPageInfo}; use devtools_traits::{ServerExitMsg, DevtoolsControlMsg, NewGlobal, DevtoolScriptControlMsg, DevtoolsPageInfo};
use servo_msg::constellation_msg::PipelineId; use servo_msg::constellation_msg::PipelineId;
use servo_util::task::spawn_named; use util::task::spawn_named;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cell::RefCell; use std::cell::RefCell;

View File

@ -18,7 +18,7 @@
extern crate "msg" as servo_msg; extern crate "msg" as servo_msg;
extern crate serialize; extern crate serialize;
extern crate url; extern crate url;
extern crate "util" as servo_util; extern crate util;
pub use self::DevtoolsControlMsg::*; pub use self::DevtoolsControlMsg::*;
pub use self::DevtoolScriptControlMsg::*; pub use self::DevtoolScriptControlMsg::*;
@ -26,7 +26,7 @@ pub use self::EvaluateJSReply::*;
use serialize::{Decodable, Decoder}; use serialize::{Decodable, Decoder};
use servo_msg::constellation_msg::PipelineId; use servo_msg::constellation_msg::PipelineId;
use servo_util::str::DOMString; use util::str::DOMString;
use url::Url; use url::Url;
use std::sync::mpsc::{Sender, Receiver}; use std::sync::mpsc::{Sender, Receiver};

View File

@ -32,11 +32,11 @@ use libc::uintptr_t;
use paint_task::PaintLayer; use paint_task::PaintLayer;
use servo_msg::compositor_msg::LayerId; use servo_msg::compositor_msg::LayerId;
use servo_net::image::base::Image; use servo_net::image::base::Image;
use servo_util::cursor::Cursor; use util::cursor::Cursor;
use servo_util::dlist as servo_dlist; use util::dlist as servo_dlist;
use servo_util::geometry::{self, Au, MAX_RECT, ZERO_RECT}; use util::geometry::{self, Au, MAX_RECT, ZERO_RECT};
use servo_util::range::Range; use util::range::Range;
use servo_util::smallvec::{SmallVec, SmallVec8}; use util::smallvec::{SmallVec, SmallVec8};
use std::fmt; use std::fmt;
use std::slice::Iter; use std::slice::Iter;
use std::sync::Arc; use std::sync::Arc;

View File

@ -8,7 +8,7 @@ use display_list::{DisplayItem, DisplayList, StackingContext};
use collections::dlist::DList; use collections::dlist::DList;
use geom::rect::Rect; use geom::rect::Rect;
use servo_util::geometry::{self, Au}; use util::geometry::{self, Au};
use std::sync::Arc; use std::sync::Arc;
/// Transforms a display list to produce a visually-equivalent, but cheaper-to-paint, one. /// Transforms a display list to produce a visually-equivalent, but cheaper-to-paint, one.

View File

@ -8,8 +8,8 @@ use std::mem;
use std::slice; use std::slice;
use std::rc::Rc; use std::rc::Rc;
use std::cell::RefCell; use std::cell::RefCell;
use servo_util::cache::HashCache; use util::cache::HashCache;
use servo_util::smallvec::{SmallVec, SmallVec8}; use util::smallvec::{SmallVec, SmallVec8};
use style::computed_values::{font_stretch, font_variant, font_weight}; use style::computed_values::{font_stretch, font_variant, font_weight};
use style::style_structs::Font as FontStyle; use style::style_structs::Font as FontStyle;
use std::sync::Arc; use std::sync::Arc;
@ -17,7 +17,7 @@ use std::sync::Arc;
use std::hash::Hash; use std::hash::Hash;
use platform::font_context::FontContextHandle; use platform::font_context::FontContextHandle;
use platform::font::{FontHandle, FontTable}; use platform::font::{FontHandle, FontTable};
use servo_util::geometry::Au; use util::geometry::Au;
use text::glyph::{GlyphStore, GlyphId}; use text::glyph::{GlyphStore, GlyphId};
use text::shaping::ShaperMethods; use text::shaping::ShaperMethods;
use text::{Shaper, TextRun}; use text::{Shaper, TextRun};

View File

@ -16,8 +16,8 @@ use std::sync::mpsc::{Sender, Receiver, channel};
use font_template::{FontTemplate, FontTemplateDescriptor}; use font_template::{FontTemplate, FontTemplateDescriptor};
use platform::font_template::FontTemplateData; use platform::font_template::FontTemplateData;
use servo_net::resource_task::{ResourceTask, load_whole_resource}; use servo_net::resource_task::{ResourceTask, load_whole_resource};
use servo_util::task::spawn_named; use util::task::spawn_named;
use servo_util::str::LowercaseString; use util::str::LowercaseString;
use style::Source; use style::Source;
/// A list of font templates that make up a given font family. /// A list of font templates that make up a given font family.

View File

@ -12,10 +12,10 @@ use font_template::FontTemplateDescriptor;
use platform::font_template::FontTemplateData; use platform::font_template::FontTemplateData;
use font::FontHandleMethods; use font::FontHandleMethods;
use platform::font::FontHandle; use platform::font::FontHandle;
use servo_util::cache::HashCache; use util::cache::HashCache;
use servo_util::smallvec::{SmallVec, SmallVec8}; use util::smallvec::{SmallVec, SmallVec8};
use servo_util::geometry::Au; use util::geometry::Au;
use servo_util::arc_ptr_eq; use util::arc_ptr_eq;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::rc::Rc; use std::rc::Rc;

View File

@ -26,7 +26,7 @@ extern crate unicode;
extern crate "plugins" as servo_plugins; extern crate "plugins" as servo_plugins;
extern crate "net" as servo_net; extern crate "net" as servo_net;
#[macro_use] #[macro_use]
extern crate "util" as servo_util; extern crate util;
extern crate "msg" as servo_msg; extern crate "msg" as servo_msg;
extern crate style; extern crate style;
extern crate time; extern crate time;

View File

@ -26,9 +26,9 @@ use libc::size_t;
use libc::types::common::c99::{uint16_t, uint32_t}; use libc::types::common::c99::{uint16_t, uint32_t};
use png::PixelsByColorType; use png::PixelsByColorType;
use servo_net::image::base::Image; use servo_net::image::base::Image;
use servo_util::geometry::{Au, MAX_RECT}; use util::geometry::{Au, MAX_RECT};
use servo_util::opts; use util::opts;
use servo_util::range::Range; use util::range::Range;
use std::default::Default; use std::default::Default;
use std::f32; use std::f32;
use std::mem; use std::mem;

View File

@ -25,12 +25,12 @@ use servo_msg::compositor_msg::{LayerMetadata, PaintListener, ScrollPolicy};
use servo_msg::constellation_msg::Msg as ConstellationMsg; use servo_msg::constellation_msg::Msg as ConstellationMsg;
use servo_msg::constellation_msg::{ConstellationChan, Failure, PipelineId}; use servo_msg::constellation_msg::{ConstellationChan, Failure, PipelineId};
use servo_msg::constellation_msg::PipelineExitType; use servo_msg::constellation_msg::PipelineExitType;
use servo_util::geometry::{Au, ZERO_POINT}; use util::geometry::{Au, ZERO_POINT};
use servo_util::opts; use util::opts;
use servo_util::smallvec::SmallVec; use util::smallvec::SmallVec;
use servo_util::task::spawn_named_with_send_on_failure; use util::task::spawn_named_with_send_on_failure;
use servo_util::task_state; use util::task_state;
use servo_util::time::{TimeProfilerChan, TimeProfilerCategory, profile}; use util::time::{TimeProfilerChan, TimeProfilerCategory, profile};
use std::mem; use std::mem;
use std::thread::Builder; use std::thread::Builder;
use std::sync::Arc; use std::sync::Arc;

View File

@ -6,9 +6,9 @@ extern crate freetype;
use font::{FontHandleMethods, FontMetrics, FontTableMethods}; use font::{FontHandleMethods, FontMetrics, FontTableMethods};
use font::{FontTableTag, FractionalPixel}; use font::{FontTableTag, FractionalPixel};
use servo_util::geometry::Au; use util::geometry::Au;
use servo_util::geometry; use util::geometry;
use servo_util::str::c_str_to_string; use util::str::c_str_to_string;
use platform::font_context::FontContextHandle; use platform::font_context::FontContextHandle;
use text::glyph::GlyphId; use text::glyph::GlyphId;
use text::util::{float_to_fixed, fixed_to_float}; use text::util::{float_to_fixed, fixed_to_float};

View File

@ -20,7 +20,7 @@ use fontconfig::fontconfig::{
FcObjectSetAdd, FcPatternGetInteger FcObjectSetAdd, FcPatternGetInteger
}; };
use servo_util::str::c_str_to_string; use util::str::c_str_to_string;
use libc; use libc;
use libc::{c_int, c_char}; use libc::{c_int, c_char};

View File

@ -11,8 +11,8 @@ extern crate core_text;
use font::{FontHandleMethods, FontMetrics, FontTableMethods}; use font::{FontHandleMethods, FontMetrics, FontTableMethods};
use font::FontTableTag; use font::FontTableTag;
use font::FractionalPixel; use font::FractionalPixel;
use servo_util::geometry::{Au, px_to_pt}; use util::geometry::{Au, px_to_pt};
use servo_util::geometry; use util::geometry;
use platform::macos::font_context::FontContextHandle; use platform::macos::font_context::FontContextHandle;
use text::glyph::GlyphId; use text::glyph::GlyphId;
use style::computed_values::{font_stretch, font_weight}; use style::computed_values::{font_stretch, font_weight};

View File

@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use servo_util::vec::*; use util::vec::*;
use servo_util::range; use util::range;
use servo_util::range::{Range, RangeIndex, EachIndex}; use util::range::{Range, RangeIndex, EachIndex};
use servo_util::geometry::Au; use util::geometry::Au;
use std::cmp::{Ordering, PartialOrd}; use std::cmp::{Ordering, PartialOrd};
use std::iter::repeat; use std::iter::repeat;

View File

@ -40,8 +40,8 @@ use harfbuzz::{hb_glyph_position_t};
use harfbuzz::{hb_position_t, hb_tag_t}; use harfbuzz::{hb_position_t, hb_tag_t};
use harfbuzz::{RUST_hb_shape, RUST_hb_buffer_get_glyph_infos}; use harfbuzz::{RUST_hb_shape, RUST_hb_buffer_get_glyph_infos};
use libc::{c_uint, c_int, c_void, c_char}; use libc::{c_uint, c_int, c_void, c_char};
use servo_util::geometry::Au; use util::geometry::Au;
use servo_util::range::Range; use util::range::Range;
use std::char; use std::char;
use std::iter::repeat; use std::iter::repeat;
use std::mem; use std::mem;

View File

@ -5,9 +5,9 @@
use font::{Font, FontHandleMethods, FontMetrics, IS_WHITESPACE_SHAPING_FLAG, RunMetrics}; use font::{Font, FontHandleMethods, FontMetrics, IS_WHITESPACE_SHAPING_FLAG, RunMetrics};
use font::{ShapingOptions}; use font::{ShapingOptions};
use platform::font_template::FontTemplateData; use platform::font_template::FontTemplateData;
use servo_util::geometry::Au; use util::geometry::Au;
use servo_util::range::Range; use util::range::Range;
use servo_util::vec::{Comparator, FullBinarySearchMethods}; use util::vec::{Comparator, FullBinarySearchMethods};
use std::cmp::Ordering; use std::cmp::Ordering;
use std::slice::Iter; use std::slice::Iter;
use std::sync::Arc; use std::sync::Arc;

View File

@ -10,7 +10,7 @@ extern crate gfx;
extern crate script_traits; extern crate script_traits;
extern crate "msg" as servo_msg; extern crate "msg" as servo_msg;
extern crate "net" as servo_net; extern crate "net" as servo_net;
extern crate "util" as servo_util; extern crate util;
// This module contains traits in layout used generically // This module contains traits in layout used generically
// in the rest of Servo. // in the rest of Servo.
@ -22,7 +22,7 @@ use gfx::paint_task::PaintChan;
use servo_msg::constellation_msg::{ConstellationChan, Failure, PipelineId, PipelineExitType}; use servo_msg::constellation_msg::{ConstellationChan, Failure, PipelineId, PipelineExitType};
use servo_net::image_cache_task::ImageCacheTask; use servo_net::image_cache_task::ImageCacheTask;
use servo_net::resource_task::ResourceTask; use servo_net::resource_task::ResourceTask;
use servo_util::time::TimeProfilerChan; use util::time::TimeProfilerChan;
use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel}; use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel};
use std::sync::mpsc::{Sender, Receiver}; use std::sync::mpsc::{Sender, Receiver};

View File

@ -11,8 +11,8 @@ use geom::scale_factor::ScaleFactor;
use hyper::header::Headers; use hyper::header::Headers;
use hyper::method::Method; use hyper::method::Method;
use layers::geometry::DevicePixel; use layers::geometry::DevicePixel;
use servo_util::cursor::Cursor; use util::cursor::Cursor;
use servo_util::geometry::{PagePx, ViewportPx}; use util::geometry::{PagePx, ViewportPx};
use std::sync::mpsc::{channel, Sender, Receiver}; use std::sync::mpsc::{channel, Sender, Receiver};
use url::Url; use url::Url;

View File

@ -14,7 +14,7 @@ extern crate geom;
extern crate hyper; extern crate hyper;
extern crate layers; extern crate layers;
extern crate serialize; extern crate serialize;
extern crate "util" as servo_util; extern crate util;
extern crate url; extern crate url;
#[cfg(target_os="macos")] #[cfg(target_os="macos")]

View File

@ -8,7 +8,7 @@ use file_loader;
use url::Url; use url::Url;
use hyper::http::RawStatus; use hyper::http::RawStatus;
use servo_util::resource_files::resources_dir_path; use util::resource_files::resources_dir_path;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::io::fs::PathExtensions; use std::io::fs::PathExtensions;

View File

@ -9,7 +9,7 @@ use std::borrow::ToOwned;
use std::io; use std::io;
use std::io::File; use std::io::File;
use std::sync::mpsc::Sender; use std::sync::mpsc::Sender;
use servo_util::task::spawn_named; use util::task::spawn_named;
static READ_SIZE: uint = 8192; static READ_SIZE: uint = 8192;

View File

@ -14,7 +14,7 @@ use hyper::status::StatusClass;
use std::error::Error; use std::error::Error;
use std::io::Reader; use std::io::Reader;
use std::sync::mpsc::Sender; use std::sync::mpsc::Sender;
use servo_util::task::spawn_named; use util::task::spawn_named;
use url::{Url, UrlParser}; use url::{Url, UrlParser};
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -7,8 +7,8 @@ use resource_task;
use resource_task::{LoadData, ResourceTask}; use resource_task::{LoadData, ResourceTask};
use resource_task::ProgressMsg::{Payload, Done}; use resource_task::ProgressMsg::{Payload, Done};
use servo_util::task::spawn_named; use util::task::spawn_named;
use servo_util::taskpool::TaskPool; use util::taskpool::TaskPool;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::collections::hash_map::Entry::{Occupied, Vacant};
@ -484,7 +484,7 @@ mod tests {
use resource_task::ProgressMsg::{Payload, Done}; use resource_task::ProgressMsg::{Payload, Done};
use sniffer_task; use sniffer_task;
use image::base::test_image_bin; use image::base::test_image_bin;
use servo_util::taskpool::TaskPool; use util::taskpool::TaskPool;
use std::sync::mpsc::{Sender, channel, Receiver}; use std::sync::mpsc::{Sender, channel, Receiver};
use url::Url; use url::Url;

View File

@ -18,7 +18,7 @@ extern crate png;
#[macro_use] #[macro_use]
extern crate log; extern crate log;
extern crate serialize; extern crate serialize;
extern crate "util" as servo_util; extern crate util;
extern crate stb_image; extern crate stb_image;
extern crate time; extern crate time;
extern crate url; extern crate url;

View File

@ -14,7 +14,7 @@ use std::borrow::ToOwned;
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::sync::mpsc::{Receiver, channel}; use std::sync::mpsc::{Receiver, channel};
use servo_util::task::spawn_named; use util::task::spawn_named;
use url::Url; use url::Url;
pub trait ImageResponder<NodeAddress: Send> { pub trait ImageResponder<NodeAddress: Send> {

View File

@ -11,7 +11,7 @@ use http_loader;
use sniffer_task; use sniffer_task;
use sniffer_task::SnifferTask; use sniffer_task::SnifferTask;
use servo_util::task::spawn_named; use util::task::spawn_named;
use hyper::header::common::UserAgent; use hyper::header::common::UserAgent;
use hyper::header::Headers; use hyper::header::Headers;

View File

@ -8,8 +8,8 @@ use std::collections::BTreeMap;
use std::sync::mpsc::{channel, Receiver, Sender}; use std::sync::mpsc::{channel, Receiver, Sender};
use url::Url; use url::Url;
use servo_util::str::DOMString; use util::str::DOMString;
use servo_util::task::spawn_named; use util::task::spawn_named;
/// Request operations on the storage data associated with a particular url /// Request operations on the storage data associated with a particular url
pub enum StorageTaskMsg { pub enum StorageTaskMsg {

View File

@ -16,7 +16,7 @@ use dom::window::Window;
use dom::virtualmethods::vtable_for; use dom::virtualmethods::vtable_for;
use devtools_traits::AttrInfo; use devtools_traits::AttrInfo;
use servo_util::str::{DOMString, split_html_space_chars}; use util::str::{DOMString, split_html_space_chars};
use string_cache::{Atom, Namespace}; use string_cache::{Atom, Namespace};

View File

@ -7,8 +7,8 @@
use dom::bindings::trace::JSTraceable; use dom::bindings::trace::JSTraceable;
use js::jsapi::{JSTracer}; use js::jsapi::{JSTracer};
use servo_util::task_state; use util::task_state;
use servo_util::task_state::{SCRIPT, IN_GC}; use util::task_state::{SCRIPT, IN_GC};
use std::cell::{RefCell, Ref, RefMut}; use std::cell::{RefCell, Ref, RefMut};

View File

@ -1677,7 +1677,7 @@ def UnionTypes(descriptors, dictionaries, callbacks, config):
'dom::types::*', 'dom::types::*',
'js::jsapi::JSContext', 'js::jsapi::JSContext',
'js::jsval::JSVal', 'js::jsval::JSVal',
'servo_util::str::DOMString', 'util::str::DOMString',
] ]
# Now find all the things we'll need as arguments and return values because # Now find all the things we'll need as arguments and return values because
@ -4587,7 +4587,7 @@ class CGBindingRoot(CGThing):
'dom::bindings::str::ByteString', 'dom::bindings::str::ByteString',
'page::JSPageInfo', 'page::JSPageInfo',
'libc', 'libc',
'servo_util::str::DOMString', 'util::str::DOMString',
'std::borrow::ToOwned', 'std::borrow::ToOwned',
'std::cmp', 'std::cmp',
'std::iter::repeat', 'std::iter::repeat',

View File

@ -8,7 +8,7 @@ use dom::bindings::codegen::PrototypeList;
use dom::bindings::js::{JS, JSRef, Root}; use dom::bindings::js::{JS, JSRef, Root};
use dom::bindings::str::ByteString; use dom::bindings::str::ByteString;
use dom::bindings::utils::{Reflectable, Reflector, DOMClass}; use dom::bindings::utils::{Reflectable, Reflector, DOMClass};
use servo_util::str::DOMString; use util::str::DOMString;
use js; use js;
use js::glue::{RUST_JSID_TO_STRING, RUST_JSID_IS_STRING}; use js::glue::{RUST_JSID_TO_STRING, RUST_JSID_IS_STRING};

View File

@ -52,7 +52,7 @@ use js::jsval::JSVal;
use layout_interface::TrustedNodeAddress; use layout_interface::TrustedNodeAddress;
use script_task::STACK_ROOTS; use script_task::STACK_ROOTS;
use servo_util::smallvec::{SmallVec, SmallVec16}; use util::smallvec::{SmallVec, SmallVec16};
use std::cell::{Cell, UnsafeCell}; use std::cell::{Cell, UnsafeCell};
use std::default::Default; use std::default::Default;
use std::marker::ContravariantLifetime; use std::marker::ContravariantLifetime;

View File

@ -47,8 +47,8 @@ use script_traits::ScriptControlChan;
use script_traits::UntrustedNodeAddress; use script_traits::UntrustedNodeAddress;
use servo_msg::compositor_msg::ScriptListener; use servo_msg::compositor_msg::ScriptListener;
use servo_msg::constellation_msg::ConstellationChan; use servo_msg::constellation_msg::ConstellationChan;
use servo_util::smallvec::{SmallVec1, SmallVec}; use util::smallvec::{SmallVec1, SmallVec};
use servo_util::str::{LengthOrPercentageOrAuto}; use util::str::{LengthOrPercentageOrAuto};
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::hash_state::HashState; use std::collections::hash_state::HashState;

View File

@ -10,7 +10,7 @@ use dom::bindings::error::Fallible;
use dom::bindings::codegen::Bindings::BlobBinding; use dom::bindings::codegen::Bindings::BlobBinding;
use dom::bindings::codegen::Bindings::BlobBinding::BlobMethods; use dom::bindings::codegen::Bindings::BlobBinding::BlobMethods;
use servo_util::str::DOMString; use util::str::DOMString;
use std::ascii::AsciiExt; use std::ascii::AsciiExt;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -14,7 +14,7 @@ use dom::document::Document;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::node::{Node, NodeHelpers, NodeTypeId}; use dom::node::{Node, NodeHelpers, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cell::Ref; use std::cell::Ref;

View File

@ -12,7 +12,7 @@ use dom::characterdata::CharacterData;
use dom::document::Document; use dom::document::Document;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
/// An HTML comment. /// An HTML comment.
#[dom_struct] #[dom_struct]

View File

@ -7,7 +7,7 @@ use dom::bindings::codegen::Bindings::ConsoleBinding::ConsoleMethods;
use dom::bindings::global::GlobalRef; use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::bindings::utils::{Reflector, reflect_dom_object};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct Console { pub struct Console {

View File

@ -75,7 +75,7 @@ use dom::htmlulistelement::HTMLUListElement;
use dom::htmlunknownelement::HTMLUnknownElement; use dom::htmlunknownelement::HTMLUnknownElement;
use dom::htmlvideoelement::HTMLVideoElement; use dom::htmlvideoelement::HTMLVideoElement;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::QualName; use string_cache::QualName;

View File

@ -15,7 +15,7 @@ use dom::element::{Element, ElementHelpers, StylePriority};
use dom::htmlelement::HTMLElement; use dom::htmlelement::HTMLElement;
use dom::node::{window_from_node, document_from_node, NodeDamage, Node}; use dom::node::{window_from_node, document_from_node, NodeDamage, Node};
use dom::window::Window; use dom::window::Window;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::Atom; use string_cache::Atom;
use style::{is_supported_property, longhands_from_shorthand, parse_style_attribute}; use style::{is_supported_property, longhands_from_shorthand, parse_style_attribute};
use style::PropertyDeclaration; use style::PropertyDeclaration;

View File

@ -13,7 +13,7 @@ use dom::bindings::utils::reflect_dom_object;
use dom::event::{Event, EventTypeId}; use dom::event::{Event, EventTypeId};
use js::jsapi::JSContext; use js::jsapi::JSContext;
use js::jsval::{JSVal, NullValue}; use js::jsval::{JSVal, NullValue};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct CustomEvent { pub struct CustomEvent {

View File

@ -23,9 +23,9 @@ use script_task::{ScriptTask, ScriptChan, ScriptMsg, TimerSource};
use script_task::StackRootTLS; use script_task::StackRootTLS;
use servo_net::resource_task::{ResourceTask, load_whole_resource}; use servo_net::resource_task::{ResourceTask, load_whole_resource};
use servo_util::task::spawn_named; use util::task::spawn_named;
use servo_util::task_state; use util::task_state;
use servo_util::task_state::{SCRIPT, IN_WORKER}; use util::task_state::{SCRIPT, IN_WORKER};
use js::jsapi::JSContext; use js::jsapi::JSContext;
use js::jsval::JSVal; use js::jsval::JSVal;

View File

@ -55,8 +55,8 @@ use dom::range::Range;
use dom::treewalker::TreeWalker; use dom::treewalker::TreeWalker;
use dom::uievent::UIEvent; use dom::uievent::UIEvent;
use dom::window::{Window, WindowHelpers}; use dom::window::{Window, WindowHelpers};
use servo_util::namespace; use util::namespace;
use servo_util::str::{DOMString, split_html_space_chars}; use util::str::{DOMString, split_html_space_chars};
use html5ever::tree_builder::{QuirksMode, NoQuirks, LimitedQuirks, Quirks}; use html5ever::tree_builder::{QuirksMode, NoQuirks, LimitedQuirks, Quirks};
use layout_interface::{LayoutChan, Msg}; use layout_interface::{LayoutChan, Msg};

View File

@ -15,7 +15,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlcollection::HTMLCollection; use dom::htmlcollection::HTMLCollection;
use dom::node::{Node, NodeHelpers, NodeTypeId, window_from_node}; use dom::node::{Node, NodeHelpers, NodeTypeId, window_from_node};
use dom::nodelist::NodeList; use dom::nodelist::NodeList;
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct DocumentFragment { pub struct DocumentFragment {

View File

@ -9,7 +9,7 @@ use dom::bindings::js::{JSRef, Temporary};
use dom::document::Document; use dom::document::Document;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::node::{Node, NodeHelpers, NodeTypeId}; use dom::node::{Node, NodeHelpers, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -9,7 +9,7 @@ use dom::bindings::error::Error;
use dom::bindings::global::GlobalRef; use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::bindings::utils::{Reflector, reflect_dom_object};
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -23,7 +23,7 @@ use dom::htmlhtmlelement::HTMLHtmlElement;
use dom::htmltitleelement::HTMLTitleElement; use dom::htmltitleelement::HTMLTitleElement;
use dom::node::Node; use dom::node::Node;
use dom::text::Text; use dom::text::Text;
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -15,7 +15,7 @@ use dom::document::{Document, DocumentHelpers, IsHTMLDocument};
use dom::document::DocumentSource; use dom::document::DocumentSource;
use dom::window::Window; use dom::window::Window;
use parse::html::{HTMLInput, parse_html}; use parse::html::{HTMLInput, parse_html};
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -8,7 +8,7 @@ use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::window::Window; use dom::window::Window;
use servo_util::geometry::Au; use util::geometry::Au;
use std::num::Float; use std::num::Float;
#[dom_struct] #[dom_struct]

View File

@ -10,7 +10,7 @@ use dom::bindings::js::{JS, JSRef, Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::node::window_from_node; use dom::node::window_from_node;
use dom::htmlelement::{HTMLElement, HTMLElementCustomAttributeHelpers}; use dom::htmlelement::{HTMLElement, HTMLElementCustomAttributeHelpers};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct DOMStringMap { pub struct DOMStringMap {

View File

@ -13,7 +13,7 @@ use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::element::{Element, AttributeHandlers}; use dom::element::{Element, AttributeHandlers};
use dom::node::window_from_node; use dom::node::window_from_node;
use servo_util::str::{DOMString, HTML_SPACE_CHARACTERS}; use util::str::{DOMString, HTML_SPACE_CHARACTERS};
use string_cache::Atom; use string_cache::Atom;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -52,8 +52,8 @@ use dom::virtualmethods::{VirtualMethods, vtable_for};
use devtools_traits::AttrInfo; use devtools_traits::AttrInfo;
use style::{self, SimpleColorAttribute, UnsignedIntegerAttribute}; use style::{self, SimpleColorAttribute, UnsignedIntegerAttribute};
use style::{IntegerAttribute, LengthAttribute, matches}; use style::{IntegerAttribute, LengthAttribute, matches};
use servo_util::namespace; use util::namespace;
use servo_util::str::{DOMString, LengthOrPercentageOrAuto}; use util::str::{DOMString, LengthOrPercentageOrAuto};
use html5ever::tree_builder::{NoQuirks, LimitedQuirks, Quirks}; use html5ever::tree_builder::{NoQuirks, LimitedQuirks, Quirks};

View File

@ -14,7 +14,7 @@ use dom::bindings::trace::JSTraceable;
use dom::bindings::utils::reflect_dom_object; use dom::bindings::utils::reflect_dom_object;
use dom::event::{Event, EventTypeId, EventBubbles, EventCancelable}; use dom::event::{Event, EventTypeId, EventBubbles, EventCancelable};
use servo_util::str::DOMString; use util::str::DOMString;
use dom::bindings::cell::DOMRefCell; use dom::bindings::cell::DOMRefCell;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -10,7 +10,7 @@ use dom::bindings::global::GlobalRef;
use dom::bindings::js::{MutNullableJS, JSRef, Temporary}; use dom::bindings::js::{MutNullableJS, JSRef, Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::eventtarget::EventTarget; use dom::eventtarget::EventTarget;
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cell::Cell; use std::cell::Cell;

View File

@ -19,8 +19,8 @@ use dom::xmlhttprequesteventtarget::XMLHttpRequestEventTargetTypeId;
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use js::jsapi::{JS_CompileUCFunction, JS_GetFunctionObject, JS_CloneFunctionObject}; use js::jsapi::{JS_CompileUCFunction, JS_GetFunctionObject, JS_CloneFunctionObject};
use js::jsapi::{JSContext, JSObject}; use js::jsapi::{JSContext, JSObject};
use servo_util::fnv::FnvHasher; use util::fnv::FnvHasher;
use servo_util::str::DOMString; use util::str::DOMString;
use libc::{c_char, size_t}; use libc::{c_char, size_t};
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -8,7 +8,7 @@ use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::reflect_dom_object; use dom::bindings::utils::reflect_dom_object;
use dom::blob::{Blob, BlobTypeId}; use dom::blob::{Blob, BlobTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct File { pub struct File {

View File

@ -15,7 +15,7 @@ use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::blob::Blob; use dom::blob::Blob;
use dom::file::File; use dom::file::File;
use dom::htmlformelement::HTMLFormElement; use dom::htmlformelement::HTMLFormElement;
use servo_util::str::DOMString; use util::str::DOMString;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::collections::HashMap; use std::collections::HashMap;

View File

@ -22,7 +22,7 @@ use dom::virtualmethods::VirtualMethods;
use std::default::Default; use std::default::Default;
use string_cache::Atom; use string_cache::Atom;
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLAnchorElement { pub struct HTMLAnchorElement {

View File

@ -10,7 +10,7 @@ use dom::element::ElementTypeId;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLAppletElement { pub struct HTMLAppletElement {

View File

@ -19,7 +19,7 @@ use dom::virtualmethods::VirtualMethods;
use std::default::Default; use std::default::Default;
use string_cache::Atom; use string_cache::Atom;
use servo_util::str::DOMString; use util::str::DOMString;
#[jstraceable] #[jstraceable]
#[must_root] #[must_root]

View File

@ -11,7 +11,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::HTMLElementTypeId; use dom::htmlelement::HTMLElementTypeId;
use dom::htmlmediaelement::{HTMLMediaElement, HTMLMediaElementTypeId}; use dom::htmlmediaelement::{HTMLMediaElement, HTMLMediaElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLAudioElement { pub struct HTMLAudioElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLBaseElement { pub struct HTMLBaseElement {

View File

@ -18,7 +18,7 @@ use dom::node::{Node, NodeTypeId, window_from_node};
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use cssparser::RGBA; use cssparser::RGBA;
use servo_util::str::{self, DOMString}; use util::str::{self, DOMString};
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cell::Cell; use std::cell::Cell;

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLBRElement { pub struct HTMLBRElement {

View File

@ -20,7 +20,7 @@ use dom::virtualmethods::VirtualMethods;
use std::ascii::OwnedAsciiExt; use std::ascii::OwnedAsciiExt;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::Atom; use string_cache::Atom;
#[dom_struct] #[dom_struct]

View File

@ -20,7 +20,7 @@ use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId, window_from_node}; use dom::node::{Node, NodeTypeId, window_from_node};
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use servo_util::str::{DOMString, parse_unsigned_integer}; use util::str::{DOMString, parse_unsigned_integer};
use geom::size::Size2D; use geom::size::Size2D;

View File

@ -12,8 +12,8 @@ use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::element::{Element, AttributeHandlers, ElementHelpers}; use dom::element::{Element, AttributeHandlers, ElementHelpers};
use dom::node::{Node, NodeHelpers, TreeIterator}; use dom::node::{Node, NodeHelpers, TreeIterator};
use dom::window::Window; use dom::window::Window;
use servo_util::namespace; use util::namespace;
use servo_util::str::{DOMString, split_html_space_chars}; use util::str::{DOMString, split_html_space_chars};
use std::ascii::AsciiExt; use std::ascii::AsciiExt;
use std::iter::{FilterMap, Skip}; use std::iter::{FilterMap, Skip};

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLDataElement { pub struct HTMLDataElement {

View File

@ -14,7 +14,7 @@ use dom::htmlcollection::{HTMLCollection, CollectionFilter};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId, window_from_node}; use dom::node::{Node, NodeTypeId, window_from_node};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLDataListElement { pub struct HTMLDataListElement {

View File

@ -10,7 +10,7 @@ use dom::element::ElementTypeId;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLDirectoryElement { pub struct HTMLDirectoryElement {

View File

@ -10,7 +10,7 @@ use dom::element::ElementTypeId;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLDivElement { pub struct HTMLDivElement {

View File

@ -10,7 +10,7 @@ use dom::element::ElementTypeId;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLDListElement { pub struct HTMLDListElement {

View File

@ -27,7 +27,7 @@ use dom::htmltablecellelement::HTMLTableCellElementTypeId;
use dom::node::{Node, NodeTypeId, window_from_node}; use dom::node::{Node, NodeTypeId, window_from_node};
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::Atom; use string_cache::Atom;

View File

@ -10,7 +10,7 @@ use dom::element::ElementTypeId;
use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLEmbedElement { pub struct HTMLEmbedElement {

View File

@ -19,7 +19,7 @@ use dom::node::{DisabledStateHelpers, Node, NodeHelpers, NodeTypeId, window_from
use dom::validitystate::ValidityState; use dom::validitystate::ValidityState;
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use servo_util::str::{DOMString, StaticStringVec}; use util::str::{DOMString, StaticStringVec};
use string_cache::Atom; use string_cache::Atom;
#[dom_struct] #[dom_struct]

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLFontElement { pub struct HTMLFontElement {

View File

@ -23,7 +23,7 @@ use dom::htmltextareaelement::HTMLTextAreaElement;
use dom::node::{Node, NodeHelpers, NodeTypeId, document_from_node, window_from_node}; use dom::node::{Node, NodeHelpers, NodeTypeId, document_from_node, window_from_node};
use hyper::method::Method; use hyper::method::Method;
use servo_msg::constellation_msg::LoadData; use servo_msg::constellation_msg::LoadData;
use servo_util::str::DOMString; use util::str::DOMString;
use script_task::{ScriptChan, ScriptMsg}; use script_task::{ScriptChan, ScriptMsg};
use std::ascii::OwnedAsciiExt; use std::ascii::OwnedAsciiExt;
use url::UrlParser; use url::UrlParser;

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLFrameElement { pub struct HTMLFrameElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLFrameSetElement { pub struct HTMLFrameSetElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLHeadElement { pub struct HTMLHeadElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[jstraceable] #[jstraceable]
pub enum HeadingLevel { pub enum HeadingLevel {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLHRElement { pub struct HTMLHRElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLHtmlElement { pub struct HTMLHtmlElement {

View File

@ -25,7 +25,7 @@ use page::{IterablePage, Page};
use servo_msg::constellation_msg::{PipelineId, SubpageId, ConstellationChan}; use servo_msg::constellation_msg::{PipelineId, SubpageId, ConstellationChan};
use servo_msg::constellation_msg::IFrameSandboxState::{IFrameSandboxed, IFrameUnsandboxed}; use servo_msg::constellation_msg::IFrameSandboxState::{IFrameSandboxed, IFrameUnsandboxed};
use servo_msg::constellation_msg::Msg as ConstellationMsg; use servo_msg::constellation_msg::Msg as ConstellationMsg;
use servo_util::str::DOMString; use util::str::DOMString;
use std::ascii::AsciiExt; use std::ascii::AsciiExt;
use std::cell::Cell; use std::cell::Cell;

View File

@ -18,8 +18,8 @@ use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId, NodeHelpers, NodeDamage, window_from_node}; use dom::node::{Node, NodeTypeId, NodeHelpers, NodeDamage, window_from_node};
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use servo_net::image_cache_task; use servo_net::image_cache_task;
use servo_util::geometry::to_px; use util::geometry::to_px;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::Atom; use string_cache::Atom;
use url::{Url, UrlParser}; use url::{Url, UrlParser};

View File

@ -34,7 +34,7 @@ use textinput::TextInput;
use textinput::KeyReaction::{TriggerDefaultAction, DispatchInput, Nothing}; use textinput::KeyReaction::{TriggerDefaultAction, DispatchInput, Nothing};
use textinput::Lines::Single; use textinput::Lines::Single;
use servo_util::str::DOMString; use util::str::DOMString;
use string_cache::Atom; use string_cache::Atom;
use std::ascii::OwnedAsciiExt; use std::ascii::OwnedAsciiExt;

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLLabelElement { pub struct HTMLLabelElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLLegendElement { pub struct HTMLLegendElement {

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLLIElement { pub struct HTMLLIElement {

View File

@ -18,7 +18,7 @@ use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeHelpers, NodeTypeId, window_from_node}; use dom::node::{Node, NodeHelpers, NodeTypeId, window_from_node};
use dom::virtualmethods::VirtualMethods; use dom::virtualmethods::VirtualMethods;
use layout_interface::{LayoutChan, Msg}; use layout_interface::{LayoutChan, Msg};
use servo_util::str::{DOMString, HTML_SPACE_CHARACTERS}; use util::str::{DOMString, HTML_SPACE_CHARACTERS};
use std::ascii::AsciiExt; use std::ascii::AsciiExt;
use std::borrow::ToOwned; use std::borrow::ToOwned;

View File

@ -10,7 +10,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId}; use dom::node::{Node, NodeTypeId};
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLMapElement { pub struct HTMLMapElement {

View File

@ -9,7 +9,7 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
use dom::element::ElementTypeId; use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::NodeTypeId; use dom::node::NodeTypeId;
use servo_util::str::DOMString; use util::str::DOMString;
#[dom_struct] #[dom_struct]
pub struct HTMLMediaElement { pub struct HTMLMediaElement {

Some files were not shown because too many files have changed in this diff Show More