Use the correct license header.

This commit is contained in:
Simon Sapin 2015-04-08 00:48:18 +02:00
parent 9199c4f478
commit 84e5f1e85b
17 changed files with 51 additions and 136 deletions

View file

@ -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;

View file

@ -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};

View file

@ -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))]

View file

@ -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;

View file

@ -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};

View file

@ -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::*;

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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,

View file

@ -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;

View file

@ -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;

View file

@ -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;