diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-01-22 04:03:30 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-21 13:03:30 -0600 |
commit | 77114fbda49382e397095d8214bd76996b0cfb57 (patch) | |
tree | b7705caf24eae68ecec7cc311a20c5e382ef7f0a | |
parent | 7eb74ba0d6cb492b0710b892bb4cf1c74bf64c90 (diff) |
chore: update license lines (#1557)
145 files changed, 148 insertions, 122 deletions
@@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import("//build/toolchain/cc_wrapper.gni") import("//build_extra/flatbuffers/flatbuffer.gni") import("//build_extra/flatbuffers/rust/rust_flatbuffer.gni") diff --git a/Cargo.toml b/Cargo.toml index e56f5bbe9..97b751273 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Dummy package info required by `cargo fetch`. # Use tools/sync_third_party.py to install deps after editing this file. # Deno does not build with cargo. Deno uses a build system called gn. @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Run "cargo build -vv" if you want to see gn output. diff --git a/build_extra/flatbuffers/rust/rust_flatbuffer.gni b/build_extra/flatbuffers/rust/rust_flatbuffer.gni index 3d01562be..bf211c2dd 100644 --- a/build_extra/flatbuffers/rust/rust_flatbuffer.gni +++ b/build_extra/flatbuffers/rust/rust_flatbuffer.gni @@ -1,3 +1,4 @@ +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import("//build_extra/rust/rust.gni") # TODO(ry) "flatbuffer.gni" should be "flatbuffers.gni" we should be consistent diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 37306b9c3..9e6866b8d 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Dependencies between third party crates is mapped out here manually. This is # not so difficult and having it be tedious to add dependencies might help us diff --git a/build_extra/rust/empty_crate.rs b/build_extra/rust/empty_crate.rs index f328e4d9d..5a44ccea9 100644 --- a/build_extra/rust/empty_crate.rs +++ b/build_extra/rust/empty_crate.rs @@ -1 +1,2 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. fn main() {} diff --git a/build_extra/rust/get_cargo_info.cmd b/build_extra/rust/get_cargo_info.cmd index 9d5ce12a1..e9c64d088 100644 --- a/build_extra/rust/get_cargo_info.cmd +++ b/build_extra/rust/get_cargo_info.cmd @@ -1 +1,2 @@ +REM Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. @"%PYTHON_EXE%" "%~dpn0.py" %* diff --git a/build_extra/rust/get_cargo_info.py b/build_extra/rust/get_cargo_info.py index 43c964ab7..26e4c6e3c 100755 --- a/build_extra/rust/get_cargo_info.py +++ b/build_extra/rust/get_cargo_info.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys import re diff --git a/build_extra/rust/get_rustc_info.cmd b/build_extra/rust/get_rustc_info.cmd index 9d5ce12a1..e9c64d088 100644 --- a/build_extra/rust/get_rustc_info.cmd +++ b/build_extra/rust/get_rustc_info.cmd @@ -1 +1,2 @@ +REM Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. @"%PYTHON_EXE%" "%~dpn0.py" %* diff --git a/build_extra/rust/get_rustc_info.py b/build_extra/rust/get_rustc_info.py index 66751c20b..0f39888ee 100755 --- a/build_extra/rust/get_rustc_info.py +++ b/build_extra/rust/get_rustc_info.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # # The Rust compiler normally builds source code directly into an executable. # Internally, object code is produced, and then the (system) linker is called, diff --git a/build_extra/rust/run.py b/build_extra/rust/run.py index dc89c09a1..76fca8b18 100644 --- a/build_extra/rust/run.py +++ b/build_extra/rust/run.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # This file just executes its arguments, except that also adds GN_OUT_DIR and # CARGO_PKG_VERSION to the environ. This is for compatibility with cargo. import subprocess diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni index c9434be6d..8bd1bc085 100644 --- a/build_extra/rust/rust.gni +++ b/build_extra/rust/rust.gni @@ -1,3 +1,4 @@ +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. declare_args() { # Absolute path of rust build files. rust_build = "//build_extra/rust/" diff --git a/gclient_config.py b/gclient_config.py index d108986d3..ca22aca79 100644 --- a/gclient_config.py +++ b/gclient_config.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. solutions = [{ 'url': 'https://chromium.googlesource.com/v8/v8.git@7.2.502.16', 'name': 'v8', diff --git a/js/buffer.ts b/js/buffer.ts index 9e06eecd4..db060f2ff 100644 --- a/js/buffer.ts +++ b/js/buffer.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + // This code has been ported almost directly from Go's src/bytes/buffer.go // Copyright 2009 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE diff --git a/js/buffer_test.ts b/js/buffer_test.ts index 7186a94b6..47ad205be 100644 --- a/js/buffer_test.ts +++ b/js/buffer_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + import { Buffer, readAll } from "deno"; import * as deno from "deno"; // This code has been ported almost directly from Go's src/bytes/buffer_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import { assert } from "./util"; import * as flatbuffers from "./flatbuffers"; diff --git a/js/dir_test.ts b/js/dir_test.ts index ca9548827..ae0415e1b 100644 --- a/js/dir_test.ts +++ b/js/dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/dispatch.ts b/js/dispatch.ts index b27e5e1b5..e52a6f64c 100644 --- a/js/dispatch.ts +++ b/js/dispatch.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { libdeno } from "./libdeno"; import * as flatbuffers from "./flatbuffers"; import * as msg from "gen/msg_generated"; diff --git a/js/dom_file.ts b/js/dom_file.ts index 2c225248b..88d8ba4a9 100644 --- a/js/dom_file.ts +++ b/js/dom_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import * as blob from "./blob"; diff --git a/js/dom_types.ts b/js/dom_types.ts index 549b0057c..068ae9cfd 100644 --- a/js/dom_types.ts +++ b/js/dom_types.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + /*! **************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use diff --git a/js/errors.ts b/js/errors.ts index c91be23b6..cd68003f9 100644 --- a/js/errors.ts +++ b/js/errors.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { Base, ErrorKind } from "gen/msg_generated"; export { ErrorKind } from "gen/msg_generated"; diff --git a/js/event.ts b/js/event.ts index 29fd8177b..b0d16ff0a 100644 --- a/js/event.ts +++ b/js/event.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import { getPrivateValue } from "./util"; diff --git a/js/event_target.ts b/js/event_target.ts index 3226fde96..112ad1705 100644 --- a/js/event_target.ts +++ b/js/event_target.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; /* TODO: This is an incomplete implementation to provide functionality diff --git a/js/event_target_test.ts b/js/event_target_test.ts index 5771ca17d..6065c875a 100644 --- a/js/event_target_test.ts +++ b/js/event_target_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; test(function addEventListenerTest() { diff --git a/js/event_test.ts b/js/event_test.ts index 3a1254956..99b82a6be 100644 --- a/js/event_test.ts +++ b/js/event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; test(function eventInitializedWithType() { diff --git a/js/fetch.ts b/js/fetch.ts index fd6299c8f..2823869ca 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { assert, createResolvable, notImplemented, isTypedArray } from "./util"; import * as flatbuffers from "./flatbuffers"; import { sendAsync } from "./dispatch"; diff --git a/js/fetch_test.ts b/js/fetch_test.ts index 582f92839..31e7ecd72 100644 --- a/js/fetch_test.ts +++ b/js/fetch_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/file_info.ts b/js/file_info.ts index 785cefc20..cf9ede85c 100644 --- a/js/file_info.ts +++ b/js/file_info.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; /** A FileInfo describes a file and is returned by `stat`, `lstat`, diff --git a/js/file_test.ts b/js/file_test.ts index a32c06947..37d22709a 100644 --- a/js/file_test.ts +++ b/js/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; function testFirstArgument(arg1, expectedSize) { diff --git a/js/files.ts b/js/files.ts index e23d19cfe..b23b66f52 100644 --- a/js/files.ts +++ b/js/files.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { Reader, Writer, Closer, ReadResult } from "./io"; import * as dispatch from "./dispatch"; import * as msg from "gen/msg_generated"; diff --git a/js/files_test.ts b/js/files_test.ts index 03ad7a7cd..e46ab1684 100644 --- a/js/files_test.ts +++ b/js/files_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { test, testPerm, assert, assertEqual } from "./test_util.ts"; diff --git a/js/flatbuffers.ts b/js/flatbuffers.ts index 926cb7425..74eaf40ff 100644 --- a/js/flatbuffers.ts +++ b/js/flatbuffers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { flatbuffers } from "flatbuffers"; import * as util from "./util"; diff --git a/js/form_data.ts b/js/form_data.ts index 8f89b54b5..f9a76b80b 100644 --- a/js/form_data.ts +++ b/js/form_data.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import * as blob from "./blob"; import * as domFile from "./dom_file"; diff --git a/js/form_data_test.ts b/js/form_data_test.ts index 109220f63..9edd00549 100644 --- a/js/form_data_test.ts +++ b/js/form_data_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function formDataHasCorrectNameProp() { diff --git a/js/global_eval.ts b/js/global_eval.ts index b7c928190..b447c9954 100644 --- a/js/global_eval.ts +++ b/js/global_eval.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. /** If you use the eval function indirectly, by invoking it via a reference * other than eval, as of ECMAScript 5 it works in the global scope rather than diff --git a/js/globals.ts b/js/globals.ts index 849d2bb3f..edf7fae8f 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // This is a "special" module, in that it define the global runtime scope of // Deno, and therefore it defines a lot of the runtime environemnt that code // is evaluated in. We use this file to automatically build the runtime type diff --git a/js/globals_test.ts b/js/globals_test.ts index e40718f28..889ca4ecd 100644 --- a/js/globals_test.ts +++ b/js/globals_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; test(function globalThisExists() { diff --git a/js/headers.ts b/js/headers.ts index 92077a03f..31a29111e 100644 --- a/js/headers.ts +++ b/js/headers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import { DomIterableMixin } from "./mixins/dom_iterable"; import { requiredArguments } from "./util"; diff --git a/js/headers_test.ts b/js/headers_test.ts index 440ce4e8a..2db234add 100644 --- a/js/headers_test.ts +++ b/js/headers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Interfaces 100% copied from Go. // Documentation liberally lifted from them too. // Thank you! We love Go! diff --git a/js/libdeno.ts b/js/libdeno.ts index cbd9a60f0..401ffae40 100644 --- a/js/libdeno.ts +++ b/js/libdeno.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { globalEval } from "./global_eval"; // The libdeno functions are moved so that users can't access them. diff --git a/js/make_temp_dir.ts b/js/make_temp_dir.ts index 02c4be3ca..4e9b45745 100644 --- a/js/make_temp_dir.ts +++ b/js/make_temp_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/make_temp_dir_test.ts b/js/make_temp_dir_test.ts index 551d58c26..84b10ae52 100644 --- a/js/make_temp_dir_test.ts +++ b/js/make_temp_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/metrics.ts b/js/metrics.ts index bacef8d5c..248b58f28 100644 --- a/js/metrics.ts +++ b/js/metrics.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/metrics_test.ts b/js/metrics_test.ts index f1572ae54..d81f54c3e 100644 --- a/js/metrics_test.ts +++ b/js/metrics_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/mixins/dom_iterable.ts b/js/mixins/dom_iterable.ts index 6a2a9fcfe..e2fcd2dbd 100644 --- a/js/mixins/dom_iterable.ts +++ b/js/mixins/dom_iterable.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { DomIterable } from "../dom_types"; import { globalEval } from "../global_eval"; import { requiredArguments } from "../util"; diff --git a/js/mixins/dom_iterable_test.ts b/js/mixins/dom_iterable_test.ts index ad14dbe60..20e066f94 100644 --- a/js/mixins/dom_iterable_test.ts +++ b/js/mixins/dom_iterable_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "../test_util.ts"; import { DomIterableMixin } from "deno"; diff --git a/js/mkdir.ts b/js/mkdir.ts index 2981976ab..7a2851813 100644 --- a/js/mkdir.ts +++ b/js/mkdir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/mkdir_test.ts b/js/mkdir_test.ts index 963f73806..8b36c18f9 100644 --- a/js/mkdir_test.ts +++ b/js/mkdir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/mock_builtin.js b/js/mock_builtin.js index 3171ec18d..9c6730d69 100644 --- a/js/mock_builtin.js +++ b/js/mock_builtin.js @@ -1,2 +1,2 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export default undefined; @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { ReadResult, Reader, Writer, Closer } from "./io"; import * as msg from "gen/msg_generated"; import { assert, notImplemented } from "./util"; diff --git a/js/net_test.ts b/js/net_test.ts index 8eaa95e62..90a6a3753 100644 --- a/js/net_test.ts +++ b/js/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { testPerm, assert, assertEqual } from "./test_util.ts"; import { deferred } from "deno"; @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import { assert } from "./util"; import * as util from "./util"; diff --git a/js/os_test.ts b/js/os_test.ts index 0284671e0..21ec5e69d 100644 --- a/js/os_test.ts +++ b/js/os_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/platform.ts b/js/platform.ts index a27241e08..9061b4ed3 100644 --- a/js/platform.ts +++ b/js/platform.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Do not add unsupported platforms. export interface Platform { diff --git a/js/platform_test.ts b/js/platform_test.ts index 65cd2572d..41b8cc9fe 100644 --- a/js/platform_test.ts +++ b/js/platform_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/plugins.d.ts b/js/plugins.d.ts index e421bb5de..842a897de 100644 --- a/js/plugins.d.ts +++ b/js/plugins.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // This allows TypeScript to resolve any modules that end with `!string` // as there is a rollup plugin that will take any mids ending with `!string` diff --git a/js/process.ts b/js/process.ts index 50df88268..495f6a9ce 100644 --- a/js/process.ts +++ b/js/process.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch"; import * as flatbuffers from "./flatbuffers"; import * as msg from "gen/msg_generated"; diff --git a/js/process_test.ts b/js/process_test.ts index 8c6271985..0b803bb32 100644 --- a/js/process_test.ts +++ b/js/process_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import { run, DenoError, ErrorKind } from "deno"; import * as deno from "deno"; diff --git a/js/read_dir.ts b/js/read_dir.ts index efeea4268..b8fa353d1 100644 --- a/js/read_dir.ts +++ b/js/read_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/read_dir_test.ts b/js/read_dir_test.ts index 277547048..241560503 100644 --- a/js/read_dir_test.ts +++ b/js/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; import { FileInfo } from "deno"; diff --git a/js/read_file.ts b/js/read_file.ts index 5d766f709..7d0e2b7b4 100644 --- a/js/read_file.ts +++ b/js/read_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/read_file_test.ts b/js/read_file_test.ts index 6d4f71b62..db35dd702 100644 --- a/js/read_file_test.ts +++ b/js/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/read_link.ts b/js/read_link.ts index 800c452e3..b080fb7a5 100644 --- a/js/read_link.ts +++ b/js/read_link.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/read_link_test.ts b/js/read_link_test.ts index bf27707c4..d4a2666b7 100644 --- a/js/read_link_test.ts +++ b/js/read_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/remove.ts b/js/remove.ts index 6b242e2c6..ac821f942 100644 --- a/js/remove.ts +++ b/js/remove.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/remove_test.ts b/js/remove_test.ts index eb31f1ba3..59879df8f 100644 --- a/js/remove_test.ts +++ b/js/remove_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/rename.ts b/js/rename.ts index 049212c75..8c54d9b2b 100644 --- a/js/rename.ts +++ b/js/rename.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/rename_test.ts b/js/rename_test.ts index 99bca67dc..bc08f006b 100644 --- a/js/rename_test.ts +++ b/js/rename_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/repl.ts b/js/repl.ts index 075affc10..806a3e142 100644 --- a/js/repl.ts +++ b/js/repl.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/resources.ts b/js/resources.ts index c40d52b4e..0c62c2116 100644 --- a/js/resources.ts +++ b/js/resources.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/resources_test.ts b/js/resources_test.ts index 578b6c72a..7cfcbf1f8 100644 --- a/js/resources_test.ts +++ b/js/resources_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/stat.ts b/js/stat.ts index 632609e9b..d734115e6 100644 --- a/js/stat.ts +++ b/js/stat.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/stat_test.ts b/js/stat_test.ts index 424077dc5..19db81d37 100644 --- a/js/stat_test.ts +++ b/js/stat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/symlink.ts b/js/symlink.ts index be5a41af8..1ade319d7 100644 --- a/js/symlink.ts +++ b/js/symlink.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/symlink_test.ts b/js/symlink_test.ts index f03933442..b552499f4 100644 --- a/js/symlink_test.ts +++ b/js/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/test_util.ts b/js/test_util.ts index d0b55e5ff..5863c4cec 100644 --- a/js/test_util.ts +++ b/js/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // // We want to test many ops in deno which have different behavior depending on // the permissions set. These tests can specify which permissions they expect, diff --git a/js/text_encoding.ts b/js/text_encoding.ts index 31b1d8ff6..dd1b22d65 100644 --- a/js/text_encoding.ts +++ b/js/text_encoding.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // The following code is based off of text-encoding at: // https://github.com/inexorabletash/text-encoding // diff --git a/js/text_encoding_test.ts b/js/text_encoding_test.ts index 1e04cbeb8..41df882e3 100644 --- a/js/text_encoding_test.ts +++ b/js/text_encoding_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function atobSuccess() { diff --git a/js/timers.ts b/js/timers.ts index 35744f672..96bfc8c0f 100644 --- a/js/timers.ts +++ b/js/timers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { assert } from "./util"; import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; diff --git a/js/timers_test.ts b/js/timers_test.ts index 78f6610c4..1ea566c43 100644 --- a/js/timers_test.ts +++ b/js/timers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; function deferred() { diff --git a/js/truncate.ts b/js/truncate.ts index 1bd5a2c08..f2e7d0240 100644 --- a/js/truncate.ts +++ b/js/truncate.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/truncate_test.ts b/js/truncate_test.ts index 4b9cae445..c0e1b163b 100644 --- a/js/truncate_test.ts +++ b/js/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/types.ts b/js/types.ts index 954816811..7355484ac 100644 --- a/js/types.ts +++ b/js/types.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export type TypedArray = Uint8Array | Float32Array | Int32Array; // tslint:disable:max-line-length diff --git a/js/unit_tests.ts b/js/unit_tests.ts index 15b3d461a..51027c387 100644 --- a/js/unit_tests.ts +++ b/js/unit_tests.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // This test is executed as part of tools/test.py // But it can also be run manually: ./target/debug/deno js/unit_tests.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as urlSearchParams from "./url_search_params"; interface URLParts { diff --git a/js/url_search_params.ts b/js/url_search_params.ts index fba6f7ac2..dec7ca869 100644 --- a/js/url_search_params.ts +++ b/js/url_search_params.ts @@ -1,6 +1,6 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { requiredArguments } from "./util"; -// Copyright 2018 the Deno authors. All rights reserved. MIT license. export class URLSearchParams { private params: Array<[string, string]> = []; diff --git a/js/url_search_params_test.ts b/js/url_search_params_test.ts index 0637bf0d8..7f31c7111 100644 --- a/js/url_search_params_test.ts +++ b/js/url_search_params_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function urlSearchParamsInitString() { diff --git a/js/url_test.ts b/js/url_test.ts index f89845274..d001b8306 100644 --- a/js/url_test.ts +++ b/js/url_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function urlParsing() { diff --git a/js/util.ts b/js/util.ts index ec24ec5bd..f9ca6ced4 100644 --- a/js/util.ts +++ b/js/util.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { TypedArray } from "./types"; let logDebug = false; diff --git a/js/write_file.ts b/js/write_file.ts index 98d5d0181..9fa286c2e 100644 --- a/js/write_file.ts +++ b/js/write_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/write_file_test.ts b/js/write_file_test.ts index f10343aeb..e9e620363 100644 --- a/js/write_file_test.ts +++ b/js/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/libdeno/BUILD.gn b/libdeno/BUILD.gn index 39a024c41..695f22a7c 100644 --- a/libdeno/BUILD.gn +++ b/libdeno/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import("//third_party/v8/gni/v8.gni") import("./deno.gni") diff --git a/libdeno/api.cc b/libdeno/api.cc index 5b6155118..ebdbea643 100644 --- a/libdeno/api.cc +++ b/libdeno/api.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libdeno/binding.cc b/libdeno/binding.cc index 000529304..495ed28eb 100644 --- a/libdeno/binding.cc +++ b/libdeno/binding.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libdeno/deno.h b/libdeno/deno.h index d80043780..7c8e94244 100644 --- a/libdeno/deno.h +++ b/libdeno/deno.h @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #ifndef DENO_H_ #define DENO_H_ #include <stddef.h> diff --git a/libdeno/file_util.cc b/libdeno/file_util.cc index 8df0dafea..256f4f257 100644 --- a/libdeno/file_util.cc +++ b/libdeno/file_util.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include <inttypes.h> #include <limits.h> #include <stdint.h> diff --git a/libdeno/file_util.h b/libdeno/file_util.h index 63ecef907..0177f2c94 100644 --- a/libdeno/file_util.h +++ b/libdeno/file_util.h @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #ifndef FILE_UTIL_H_ #define FILE_UTIL_H_ diff --git a/libdeno/file_util_test.cc b/libdeno/file_util_test.cc index ac854c52e..80c878044 100644 --- a/libdeno/file_util_test.cc +++ b/libdeno/file_util_test.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include "testing/gtest/include/gtest/gtest.h" #include "file_util.h" diff --git a/libdeno/internal.h b/libdeno/internal.h index 3019bc364..39e578e66 100644 --- a/libdeno/internal.h +++ b/libdeno/internal.h @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #ifndef INTERNAL_H_ #define INTERNAL_H_ diff --git a/libdeno/libdeno_test.cc b/libdeno/libdeno_test.cc index 78091be59..18cafb2e8 100644 --- a/libdeno/libdeno_test.cc +++ b/libdeno/libdeno_test.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include "test.h" TEST(LibDenoTest, InitializesCorrectly) { diff --git a/libdeno/libdeno_test.js b/libdeno/libdeno_test.js index bb36b02d9..5e1430d9e 100644 --- a/libdeno/libdeno_test.js +++ b/libdeno/libdeno_test.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // A simple runtime that doesn't involve typescript or protobufs to test // libdeno. Invoked by libdeno_test.cc diff --git a/libdeno/snapshot_creator.cc b/libdeno/snapshot_creator.cc index ff18bed02..74fdef836 100644 --- a/libdeno/snapshot_creator.cc +++ b/libdeno/snapshot_creator.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Hint: --trace_serializer is a useful debugging flag. #include <fstream> #include <iostream> diff --git a/libdeno/test.cc b/libdeno/test.cc index f48e916b9..4901ba672 100644 --- a/libdeno/test.cc +++ b/libdeno/test.cc @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #include "test.h" #include "file_util.h" diff --git a/libdeno/test.h b/libdeno/test.h index 83d92e6fa..91e7119e8 100644 --- a/libdeno/test.h +++ b/libdeno/test.h @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #ifndef TEST_H #define TEST_H diff --git a/rollup.config.js b/rollup.config.js index 1996d2b3e..cd5e8394a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // @ts-check import * as fs from "fs"; import path from "path"; diff --git a/src/msg.rs b/src/msg.rs index 9a146a5d3..74027d3d6 100644 --- a/src/msg.rs +++ b/src/msg.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. #![allow(unused_imports)] #![allow(dead_code)] #![cfg_attr( diff --git a/src/permissions.rs b/src/permissions.rs index 15415c347..fc14bea76 100644 --- a/src/permissions.rs +++ b/src/permissions.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. use atty; use crate::flags::DenoFlags; diff --git a/src/tokio_write.rs b/src/tokio_write.rs index 68e0d2261..945de375d 100644 --- a/src/tokio_write.rs +++ b/src/tokio_write.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // TODO Submit this file upstream into tokio-io/src/io/write.rs use std::io; use std::mem; diff --git a/src/workers.rs b/src/workers.rs index 0cc2225b6..279cc3cc9 100644 --- a/src/workers.rs +++ b/src/workers.rs @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. use crate::isolate::Buf; use crate::isolate::Isolate; use crate::isolate::IsolateState; diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py index 647e72478..b2c4aa9a6 100644 --- a/tools/benchmark_test.py +++ b/tools/benchmark_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys import os import benchmark diff --git a/tools/build.py b/tools/build.py index e9ab9eaac..32d43c2ff 100755 --- a/tools/build.py +++ b/tools/build.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. from __future__ import print_function import os import sys diff --git a/tools/build_test.py b/tools/build_test.py index 370bd518d..0b5f496c1 100755 --- a/tools/build_test.py +++ b/tools/build_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys from build import main as build from test import main as test diff --git a/tools/deno_dir_test.py b/tools/deno_dir_test.py index 9f53cf3b9..4b6c3d8aa 100755 --- a/tools/deno_dir_test.py +++ b/tools/deno_dir_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Check deno dir is created properly # Usage: deno_dir_test.py [path to deno dir] import os diff --git a/tools/docs.py b/tools/docs.py index 00efd22c5..dc6a7f9e8 100755 --- a/tools/docs.py +++ b/tools/docs.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import tempfile from util import run, root_path diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py index 05e54f173..eb16616db 100755 --- a/tools/http_benchmark.py +++ b/tools/http_benchmark.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import sys import util diff --git a/tools/http_server.py b/tools/http_server.py index 74402f536..4df0e7690 100755 --- a/tools/http_server.py +++ b/tools/http_server.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Many tests expect there to be an http server on port 4545 servering the deno # root directory. import os diff --git a/tools/hyper_hello.rs b/tools/hyper_hello.rs index 08fc21b39..d46ba3e14 100644 --- a/tools/hyper_hello.rs +++ b/tools/hyper_hello.rs @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Adapted from https://github.com/hyperium/hyper/blob/master/examples/hello.rs #![deny(warnings)] diff --git a/tools/integration_tests.py b/tools/integration_tests.py index 86638ce3f..cca4a75ca 100755 --- a/tools/integration_tests.py +++ b/tools/integration_tests.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Given a deno executable, this script executes several integration tests with # it. The tests are stored in /tests/ and each is specified in a .yaml file # where a description, command line, and output are specified. Optionally an diff --git a/tools/lint.py b/tools/lint.py index e297c0478..94b79739c 100755 --- a/tools/lint.py +++ b/tools/lint.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Does google-lint on c++ files and ts-lint on typescript files import os diff --git a/tools/node_http.js b/tools/node_http.js index 2cdb54647..2439cfc43 100644 --- a/tools/node_http.js +++ b/tools/node_http.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/tools/node_tcp.js b/tools/node_tcp.js index d4ed6db40..1e68fc05f 100644 --- a/tools/node_tcp.js +++ b/tools/node_tcp.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Note: this is a keep-alive server. const { Server } = require("net"); const port = process.argv[2] || "4544"; diff --git a/tools/permission_prompt_test.py b/tools/permission_prompt_test.py index ad23c6557..5eae5beda 100755 --- a/tools/permission_prompt_test.py +++ b/tools/permission_prompt_test.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import pty import select diff --git a/tools/permission_prompt_test.ts b/tools/permission_prompt_test.ts index e5c5be3b4..7f62bc37d 100644 --- a/tools/permission_prompt_test.ts +++ b/tools/permission_prompt_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { args, listen, env, exit, makeTempDirSync, run } from "deno"; const name = args[1]; diff --git a/tools/prebuilt.py b/tools/prebuilt.py index d30b232be..69dcefdfd 100644 --- a/tools/prebuilt.py +++ b/tools/prebuilt.py @@ -1,3 +1,4 @@ +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys import os from util import run, root_path diff --git a/tools/prefetch_test.py b/tools/prefetch_test.py index d6de9d398..bc106d5f5 100755 --- a/tools/prefetch_test.py +++ b/tools/prefetch_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import sys from util import tests_path, run_output, build_path, executable_suffix, green_ok diff --git a/tools/repl_test.py b/tools/repl_test.py index 6836b9f65..620888e4b 100644 --- a/tools/repl_test.py +++ b/tools/repl_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os from subprocess import CalledProcessError, PIPE, Popen import sys diff --git a/tools/run_node.py b/tools/run_node.py index 4f6c87b91..4023f7586 100755 --- a/tools/run_node.py +++ b/tools/run_node.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. """ gn can only run python scripts. This launches a subprocess Node process. The working dir of this program is out/Debug/ (AKA root_build_dir) diff --git a/tools/rustfmt.toml b/tools/rustfmt.toml index f0cc02616..faa3d5a33 100644 --- a/tools/rustfmt.toml +++ b/tools/rustfmt.toml @@ -1,3 +1,3 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. max_width = 80 tab_spaces = 2 diff --git a/tools/setup.py b/tools/setup.py index 3ffc631df..4958cca2a 100755 --- a/tools/setup.py +++ b/tools/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import third_party from util import build_mode, build_path, enable_ansi_colors, root_path, run from util import shell_quote diff --git a/tools/setup_test.py b/tools/setup_test.py index bc0a9ecba..63ddfb413 100644 --- a/tools/setup_test.py +++ b/tools/setup_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os from setup import gn_string, read_gn_args, write_gn_args from shutil import rmtree diff --git a/tools/sha256sum.py b/tools/sha256sum.py index 139368e89..99ca283b1 100644 --- a/tools/sha256sum.py +++ b/tools/sha256sum.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. """ Computes the SHA256 hash and formats the result. """ diff --git a/tools/sync_third_party.py b/tools/sync_third_party.py index 4205c4883..f3c254901 100755 --- a/tools/sync_third_party.py +++ b/tools/sync_third_party.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Run this script if you are changing Deno's dependencies. # To update the deno_third_party git repo after running this, try the following: # cd third_party diff --git a/tools/test.py b/tools/test.py index 9a0b73359..614395b71 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Runs the full test suite. # Usage: ./tools/test.py out/Debug import os diff --git a/tools/third_party.py b/tools/third_party.py index 0578899cd..8bbc319b7 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # This script contains helper functions to work with the third_party subrepo. import os diff --git a/tools/throughput_benchmark.py b/tools/throughput_benchmark.py index 7afd3cb81..4f1c02449 100755 --- a/tools/throughput_benchmark.py +++ b/tools/throughput_benchmark.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Performs benchmark and append data to //website/data.json. # If //website/data.json doesn't exist, this script tries to import it from # gh-pages branch. diff --git a/tools/ts_library_builder/ast_util.ts b/tools/ts_library_builder/ast_util.ts index 85d0a3480..9bb7e8edc 100644 --- a/tools/ts_library_builder/ast_util.ts +++ b/tools/ts_library_builder/ast_util.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { relative } from "path"; import { readFileSync } from "fs"; import { EOL } from "os"; diff --git a/tools/ts_library_builder/main.ts b/tools/ts_library_builder/main.ts index e6662577f..8dc6cfabe 100644 --- a/tools/ts_library_builder/main.ts +++ b/tools/ts_library_builder/main.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as path from "path"; import { main as buildRuntimeLib } from "./build_library"; diff --git a/tools/ts_library_builder/test.ts b/tools/ts_library_builder/test.ts index ad0d7cfa1..74d7b05f1 100644 --- a/tools/ts_library_builder/test.ts +++ b/tools/ts_library_builder/test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Run this manually with: // // ./node_modules/.bin/ts-node --project tools/ts_library_builder/tsconfig.json tools/ts_library_builder/test.ts diff --git a/tools/unit_tests.py b/tools/unit_tests.py index 8b36fec44..3f9956d43 100755 --- a/tools/unit_tests.py +++ b/tools/unit_tests.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import util import sys import subprocess diff --git a/tools/upload_website.py b/tools/upload_website.py index 5153d35aa..c014888ca 100755 --- a/tools/upload_website.py +++ b/tools/upload_website.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import tempfile from util import run, root_path diff --git a/tools/util.py b/tools/util.py index a7370950b..a4355b41f 100644 --- a/tools/util.py +++ b/tools/util.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import re import shutil diff --git a/tools/util_test.py b/tools/util_test.py index bf2b92b5a..b7c054b92 100644 --- a/tools/util_test.py +++ b/tools/util_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. from util import pattern_match, parse_exit_code, shell_quote_win import util import os diff --git a/website/app.js b/website/app.js index d3b90b297..cf5734136 100644 --- a/website/app.js +++ b/website/app.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export async function getJson(path) { return (await fetch(path)).json(); diff --git a/website/app_test.js b/website/app_test.js index a4d7eccd0..145e56a85 100644 --- a/website/app_test.js +++ b/website/app_test.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "../js/test_util.ts"; import { |