From 77114fbda49382e397095d8214bd76996b0cfb57 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 22 Jan 2019 04:03:30 +0900 Subject: [PATCH] chore: update license lines (#1557) --- BUILD.gn | 2 +- Cargo.toml | 2 +- build.rs | 2 +- build_extra/flatbuffers/rust/rust_flatbuffer.gni | 1 + build_extra/rust/BUILD.gn | 2 +- build_extra/rust/empty_crate.rs | 1 + build_extra/rust/get_cargo_info.cmd | 1 + build_extra/rust/get_cargo_info.py | 2 +- build_extra/rust/get_rustc_info.cmd | 1 + build_extra/rust/get_rustc_info.py | 2 +- build_extra/rust/run.py | 1 + build_extra/rust/rust.gni | 1 + gclient_config.py | 2 +- js/buffer.ts | 2 ++ js/buffer_test.ts | 2 ++ js/dir.ts | 2 +- js/dir_test.ts | 2 +- js/dispatch.ts | 2 +- js/dom_file.ts | 2 +- js/dom_types.ts | 2 ++ js/errors.ts | 2 +- js/event.ts | 2 +- js/event_target.ts | 2 +- js/event_target_test.ts | 2 +- js/event_test.ts | 2 +- js/fetch.ts | 2 +- js/fetch_test.ts | 2 +- js/file_info.ts | 2 +- js/file_test.ts | 2 +- js/files.ts | 2 +- js/files_test.ts | 2 +- js/flatbuffers.ts | 2 +- js/form_data.ts | 2 +- js/form_data_test.ts | 2 +- js/global_eval.ts | 2 +- js/globals.ts | 2 +- js/globals_test.ts | 1 + js/headers.ts | 2 +- js/headers_test.ts | 2 +- js/io.ts | 1 + js/libdeno.ts | 2 +- js/make_temp_dir.ts | 2 +- js/make_temp_dir_test.ts | 2 +- js/metrics.ts | 2 +- js/metrics_test.ts | 2 +- js/mixins/dom_iterable.ts | 1 + js/mixins/dom_iterable_test.ts | 2 +- js/mkdir.ts | 2 +- js/mkdir_test.ts | 2 +- js/mock_builtin.js | 2 +- js/net.ts | 2 +- js/net_test.ts | 2 +- js/os.ts | 2 +- js/os_test.ts | 2 +- js/platform.ts | 2 +- js/platform_test.ts | 2 +- js/plugins.d.ts | 2 +- js/process.ts | 2 +- js/process_test.ts | 2 +- js/read_dir.ts | 2 +- js/read_dir_test.ts | 2 +- js/read_file.ts | 2 +- js/read_file_test.ts | 2 +- js/read_link.ts | 2 +- js/read_link_test.ts | 2 +- js/remove.ts | 2 +- js/remove_test.ts | 2 +- js/rename.ts | 2 +- js/rename_test.ts | 2 +- js/repl.ts | 2 +- js/resources.ts | 2 +- js/resources_test.ts | 2 +- js/stat.ts | 2 +- js/stat_test.ts | 2 +- js/symlink.ts | 2 +- js/symlink_test.ts | 2 +- js/test_util.ts | 2 +- js/text_encoding.ts | 1 + js/text_encoding_test.ts | 2 +- js/timers.ts | 2 +- js/timers_test.ts | 2 +- js/truncate.ts | 2 +- js/truncate_test.ts | 2 +- js/types.ts | 2 +- js/unit_tests.ts | 2 +- js/url.ts | 2 +- js/url_search_params.ts | 2 +- js/url_search_params_test.ts | 2 +- js/url_test.ts | 2 +- js/util.ts | 2 +- js/write_file.ts | 2 +- js/write_file_test.ts | 2 +- libdeno/BUILD.gn | 2 +- libdeno/api.cc | 2 +- libdeno/binding.cc | 2 +- libdeno/deno.h | 2 +- libdeno/file_util.cc | 2 +- libdeno/file_util.h | 2 +- libdeno/file_util_test.cc | 2 +- libdeno/internal.h | 2 +- libdeno/libdeno_test.cc | 2 +- libdeno/libdeno_test.js | 2 +- libdeno/snapshot_creator.cc | 2 +- libdeno/test.cc | 2 +- libdeno/test.h | 2 +- rollup.config.js | 2 +- src/msg.rs | 1 + src/permissions.rs | 1 + src/tokio_write.rs | 1 + src/workers.rs | 2 +- tools/benchmark_test.py | 2 +- tools/build.py | 2 +- tools/build_test.py | 2 +- tools/deno_dir_test.py | 2 +- tools/docs.py | 2 +- tools/http_benchmark.py | 2 +- tools/http_server.py | 2 +- tools/hyper_hello.rs | 2 +- tools/integration_tests.py | 2 +- tools/lint.py | 2 +- tools/node_http.js | 2 +- tools/node_tcp.js | 2 +- tools/permission_prompt_test.py | 1 + tools/permission_prompt_test.ts | 1 + tools/prebuilt.py | 1 + tools/prefetch_test.py | 2 +- tools/repl_test.py | 2 +- tools/run_node.py | 1 + tools/rustfmt.toml | 2 +- tools/setup.py | 2 +- tools/setup_test.py | 2 +- tools/sha256sum.py | 2 +- tools/sync_third_party.py | 2 +- tools/test.py | 2 +- tools/third_party.py | 2 +- tools/throughput_benchmark.py | 2 +- tools/ts_library_builder/ast_util.ts | 1 + tools/ts_library_builder/main.ts | 1 + tools/ts_library_builder/test.ts | 1 + tools/unit_tests.py | 2 +- tools/upload_website.py | 2 +- tools/util.py | 2 +- tools/util_test.py | 2 +- website/app.js | 2 +- website/app_test.js | 2 +- 145 files changed, 148 insertions(+), 122 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index f3d69a7405..46b0d314a8 100644 --- a/BUILD.gn +++ b/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("//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 e56f5bbe9d..97b751273e 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. diff --git a/build.rs b/build.rs index fb6f5cc353..72878fd5f0 100644 --- a/build.rs +++ b/build.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. // 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 3d01562beb..bf211c2dd8 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 37306b9c35..9e6866b8d9 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 f328e4d9d0..5a44ccea95 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 9d5ce12a16..e9c64d088b 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 43c964ab76..26e4c6e3cc 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 9d5ce12a16..e9c64d088b 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 66751c20b3..0f39888ee3 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 dc89c09a1f..76fca8b18e 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 c9434be6d6..8bd1bc0852 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 d108986d3e..ca22aca79f 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 9e06eecd4f..db060f2ff6 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 7186a94b6a..47ad205be6 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 diff --git a/js/dir.ts b/js/dir.ts index ff6ead98b6..8da72c16f0 100644 --- a/js/dir.ts +++ b/js/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 { assert } from "./util"; import * as flatbuffers from "./flatbuffers"; diff --git a/js/dir_test.ts b/js/dir_test.ts index ca9548827d..ae0415e1ba 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 b27e5e1b56..e52a6f64c0 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 2c225248bb..88d8ba4a9a 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 549b0057c4..068ae9cfd3 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 c91be23b6d..cd68003f9f 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 29fd8177b5..b0d16ff0a8 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 3226fde96e..112ad17059 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 5771ca17d1..6065c875ad 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 3a12549569..99b82a6be1 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 fd6299c8f7..2823869ca5 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 582f92839e..31e7ecd727 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 785cefc202..cf9ede85cd 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 a32c06947b..37d22709a8 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 e23d19cfe5..b23b66f520 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 03ad7a7cd8..e46ab1684e 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 926cb74251..74eaf40ff8 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 8f89b54b55..f9a76b80bb 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 109220f631..9edd00549d 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 b7c9281901..b447c99544 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 849d2bb3fa..edf7fae8f7 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 e40718f28b..889ca4ecda 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 92077a03f3..31a29111e6 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 440ce4e8aa..2db234addb 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"; diff --git a/js/io.ts b/js/io.ts index 735be19a1a..96f3561364 100644 --- a/js/io.ts +++ b/js/io.ts @@ -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 cbd9a60f05..401ffae40f 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 02c4be3caf..4e9b45745b 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 551d58c268..84b10ae520 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 bacef8d5cf..248b58f284 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 f1572ae544..d81f54c3e4 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 6a2a9fcfea..e2fcd2dbd8 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 ad14dbe600..20e066f949 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 2981976ab3..7a2851813a 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 963f738067..8b36c18f98 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 3171ec18da..9c6730d698 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; diff --git a/js/net.ts b/js/net.ts index 76025869d4..aecff1fde6 100644 --- a/js/net.ts +++ b/js/net.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 { 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 8eaa95e62e..90a6a37535 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"; diff --git a/js/os.ts b/js/os.ts index cbcd9c6651..8932873ccc 100644 --- a/js/os.ts +++ b/js/os.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 { assert } from "./util"; import * as util from "./util"; diff --git a/js/os_test.ts b/js/os_test.ts index 0284671e0c..21ec5e69d0 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 a27241e082..9061b4ed3f 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 65cd2572d1..41b8cc9fee 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 e421bb5de8..842a897de3 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 50df882686..495f6a9ce5 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 8c62719854..0b803bb32c 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 efeea42684..b8fa353d1d 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 2775470485..2415605034 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 5d766f709c..7d0e2b7b4c 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 6d4f71b624..db35dd7020 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 800c452e34..b080fb7a50 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 bf27707c43..d4a2666b74 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 6b242e2c63..ac821f9424 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 eb31f1ba3e..59879df8fb 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 049212c75e..8c54d9b2b3 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 99bca67dc3..bc08f006b2 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 075affc103..806a3e1426 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 c40d52b4e5..0c62c2116e 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 578b6c72ac..7cfcbf1f8f 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 632609e9b2..d734115e63 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 424077dc5a..19db81d378 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 be5a41af8c..1ade319d7c 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 f039334422..b552499f4f 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 d0b55e5ffb..5863c4cec0 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 31b1d8ff62..dd1b22d657 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 1e04cbeb87..41df882e31 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 35744f6720..96bfc8c0fb 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 78f6610c48..1ea566c439 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 1bd5a2c085..f2e7d0240e 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 4b9cae445e..c0e1b163b7 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 954816811a..7355484ac0 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 15b3d461ae..51027c3874 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 diff --git a/js/url.ts b/js/url.ts index 42a2577e16..03c3606c41 100644 --- a/js/url.ts +++ b/js/url.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 fba6f7ac2b..dec7ca869b 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 0637bf0d80..7f31c71119 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 f898452744..d001b83064 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 ec24ec5bd5..f9ca6ced4d 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 98d5d0181f..9fa286c2e3 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 f10343aeb0..e9e6203637 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 39a024c41c..695f22a7c5 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 5b61551189..ebdbea6439 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 #include #include diff --git a/libdeno/binding.cc b/libdeno/binding.cc index 0005293040..495ed28ebe 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 #include #include diff --git a/libdeno/deno.h b/libdeno/deno.h index d800437805..7c8e94244a 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 diff --git a/libdeno/file_util.cc b/libdeno/file_util.cc index 8df0dafea4..256f4f2576 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 #include #include diff --git a/libdeno/file_util.h b/libdeno/file_util.h index 63ecef907a..0177f2c946 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 ac854c52e1..80c8780447 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 3019bc3648..39e578e663 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 78091be597..18cafb2e8f 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 bb36b02d96..5e1430d9e2 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 ff18bed023..74fdef8361 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 #include diff --git a/libdeno/test.cc b/libdeno/test.cc index f48e916b98..4901ba6727 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 83d92e6faf..91e7119e83 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 1996d2b3e5..cd5e8394ab 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 9a146a5d39..74027d3d65 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 15415c3470..fc14bea769 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 68e0d22618..945de375d8 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 0cc2225b61..279cc3cc9e 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 647e72478c..b2c4aa9a6f 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 e9ab9eaac7..32d43c2ffe 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 370bd518d4..0b5f496c1e 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 9f53cf3b9d..4b6c3d8aa1 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 00efd22c5b..dc6a7f9e8e 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 05e54f173f..eb16616db2 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 74402f5366..4df0e7690d 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 08fc21b39c..d46ba3e141 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 86638ce3fd..cca4a75ca4 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 e297c04784..94b79739c3 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 2cdb546478..2439cfc433 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 d4ed6db40a..1e68fc05f2 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 ad23c6557b..5eae5beda7 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 e5c5be3b4d..7f62bc37d2 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 d30b232bef..69dcefdfdd 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 d6de9d3986..bc106d5f5e 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 6836b9f658..620888e4bc 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 4f6c87b910..4023f7586f 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 f0cc026163..faa3d5a33a 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 3ffc631dfd..4958cca2ab 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 bc0a9ecbac..63ddfb4137 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 139368e893..99ca283b16 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 4205c48834..f3c254901a 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 9a0b733595..614395b719 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 0578899cd2..8bbc319b7f 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 7afd3cb81e..4f1c02449a 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 85d0a3480f..9bb7e8edc8 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 e6662577f1..8dc6cfabe7 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 ad0d7cfa14..74d7b05f14 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 8b36fec44f..3f9956d435 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 5153d35aa3..c014888cab 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 a7370950bb..a4355b41f8 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 bf2b92b5a3..b7c054b92d 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 d3b90b2974..cf57341368 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 a4d7eccd07..145e56a85c 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 {