mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use the correct license header.
This commit is contained in:
parent
9199c4f478
commit
84e5f1e85b
17 changed files with 51 additions and 136 deletions
|
@ -1,10 +1,5 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
mod text_util;
|
mod text_util;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use gfx::text::util::{CompressionMode, transform_text};
|
use gfx::text::util::{CompressionMode, transform_text};
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
#![feature(plugin)]
|
#![feature(plugin)]
|
||||||
#![cfg_attr(test, feature(net, alloc))]
|
#![cfg_attr(test, feature(net, alloc))]
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
extern crate "cookie" as cookie_rs;
|
extern crate "cookie" as cookie_rs;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use net_traits::LoadData;
|
use net_traits::LoadData;
|
||||||
use net_traits::ProgressMsg::{Payload, Done};
|
use net_traits::ProgressMsg::{Payload, Done};
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use net::image_cache_task::*;
|
use net::image_cache_task::*;
|
||||||
use net_traits::image_cache_task::ImageResponseMsg::*;
|
use net_traits::image_cache_task::ImageResponseMsg::*;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
mod cookie;
|
mod cookie;
|
||||||
mod data_loader;
|
mod data_loader;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use net::resource_task::{new_resource_task, parse_hostsfile, replace_hosts};
|
use net::resource_task::{new_resource_task, parse_hostsfile, replace_hosts};
|
||||||
use net_traits::{ControlMsg, LoadData};
|
use net_traits::{ControlMsg, LoadData};
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
#[cfg(target_pointer_width = "64")] mod size_of;
|
#[cfg(target_pointer_width = "64")] mod size_of;
|
||||||
mod textinput;
|
mod textinput;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use geom::size::TypedSize2D;
|
use geom::size::TypedSize2D;
|
||||||
use style::stylesheets::{iter_stylesheet_media_rules, iter_stylesheet_style_rules, Stylesheet};
|
use style::stylesheets::{iter_stylesheet_media_rules, iter_stylesheet_style_rules, Stylesheet};
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use util::logical_geometry::WritingMode;
|
use util::logical_geometry::WritingMode;
|
||||||
use style::properties::{INITIAL_VALUES, get_writing_mode};
|
use style::properties::{INITIAL_VALUES, get_writing_mode};
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use std::borrow::ToOwned;
|
use std::borrow::ToOwned;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use util::cache::{HashCache, LRUCache};
|
use util::cache::{HashCache, LRUCache};
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use geom::{Size2D, Point2D, SideOffsets2D, Rect};
|
use geom::{Size2D, Point2D, SideOffsets2D, Rect};
|
||||||
use util::logical_geometry::{WritingMode, LogicalSize, LogicalPoint, LogicalMargin, LogicalRect,
|
use util::logical_geometry::{WritingMode, LogicalSize, LogicalPoint, LogicalMargin, LogicalRect,
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
mod cache;
|
mod cache;
|
||||||
mod logical_geometry;
|
mod logical_geometry;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use std::borrow::ToOwned;
|
use std::borrow::ToOwned;
|
||||||
use util::task::spawn_named;
|
use util::task::spawn_named;
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// file at the top-level directory of this distribution.
|
* 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/. */
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use util::vec::BinarySearchMethods;
|
use util::vec::BinarySearchMethods;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue