mirror of
https://github.com/denoland/deno.git
synced 2025-07-28 23:53:53 +00:00
Add missing copyrights (#1024)
This commit is contained in:
parent
7210e7b33b
commit
b809a82fd9
46 changed files with 39 additions and 12 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
version: '{build}.{branch}'
|
version: '{build}.{branch}'
|
||||||
|
|
||||||
skip_branch_with_pr: true
|
skip_branch_with_pr: true
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
language: c++
|
language: c++
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Dummy package info required by `cargo fetch`.
|
# Dummy package info required by `cargo fetch`.
|
||||||
# Use tools/sync_third_party.py to install deps after editing this file.
|
# 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.
|
# Deno does not build with cargo. Deno uses a build system called gn.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
solutions = [{
|
solutions = [{
|
||||||
'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.276.15',
|
'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.276.15',
|
||||||
'name': 'v8',
|
'name': 'v8',
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// tslint:disable-next-line:no-any
|
// tslint:disable-next-line:no-any
|
||||||
type ConsoleContext = Set<any>;
|
type ConsoleContext = Set<any>;
|
||||||
type ConsoleOptions = Partial<{
|
type ConsoleOptions = Partial<{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
import { stringifyArgs } from "./console.ts";
|
import { stringifyArgs } from "./console.ts";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Public deno module.
|
// Public deno module.
|
||||||
/// <amd-module name="deno"/>
|
/// <amd-module name="deno"/>
|
||||||
export { env, exit } from "./os";
|
export { env, exit } from "./os";
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { Base, ErrorKind } from "gen/msg_generated";
|
import { Base, ErrorKind } from "gen/msg_generated";
|
||||||
export { ErrorKind } from "gen/msg_generated";
|
export { ErrorKind } from "gen/msg_generated";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import { Reader, Writer, Closer, ReadResult } from "./io";
|
import { Reader, Writer, Closer, ReadResult } from "./io";
|
||||||
import * as dispatch from "./dispatch";
|
import * as dispatch from "./dispatch";
|
||||||
import * as msg from "gen/msg_generated";
|
import * as msg from "gen/msg_generated";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import { flatbuffers } from "flatbuffers";
|
import { flatbuffers } from "flatbuffers";
|
||||||
import * as util from "./util";
|
import * as util from "./util";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
/** If you use the eval function indirectly, by invoking it via a reference
|
/** 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
|
* other than eval, as of ECMAScript 5 it works in the global scope rather than
|
||||||
* the local scope. This means, for instance, that function declarations create
|
* the local scope. This means, for instance, that function declarations create
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import * as blob from "./blob";
|
import * as blob from "./blob";
|
||||||
import * as console from "./console";
|
import * as console from "./console";
|
||||||
import * as fetch_ from "./fetch";
|
import * as fetch_ from "./fetch";
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { RawSourceMap } from "./types";
|
import { RawSourceMap } from "./types";
|
||||||
import { globalEval } from "./global_eval";
|
import { globalEval } from "./global_eval";
|
||||||
|
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
export default undefined;
|
export default undefined;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import { ReadResult, Reader, Writer, Closer } from "./io";
|
import { ReadResult, Reader, Writer, Closer } from "./io";
|
||||||
import * as msg from "gen/msg_generated";
|
import * as msg from "gen/msg_generated";
|
||||||
import { assert, notImplemented } from "./util";
|
import { assert, notImplemented } from "./util";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import { deferred } from "./util.ts";
|
import { deferred } from "./util.ts";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Do not add unsupported platforms.
|
// Do not add unsupported platforms.
|
||||||
export interface Platform {
|
export interface Platform {
|
||||||
/** The operating system CPU architecture. */
|
/** The operating system CPU architecture. */
|
||||||
|
|
2
js/plugins.d.ts
vendored
2
js/plugins.d.ts
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// This allows TypeScript to resolve any modules that end with `!string`
|
// 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`
|
// as there is a rollup plugin that will take any mids ending with `!string`
|
||||||
// and return them as a string to rollup for inlining
|
// and return them as a string to rollup for inlining
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { PromiseRejectEvent } from "./libdeno";
|
import { PromiseRejectEvent } from "./libdeno";
|
||||||
|
|
||||||
/* tslint:disable-next-line:no-any */
|
/* tslint:disable-next-line:no-any */
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { testPerm, assertEqual } from "./test_util.ts";
|
import { testPerm, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// This test is executed as part of tools/test.py
|
// This test is executed as part of tools/test.py
|
||||||
// But it can also be run manually: ./out/debug/deno js/unit_tests.ts
|
// But it can also be run manually: ./out/debug/deno js/unit_tests.ts
|
||||||
import "./compiler_test.ts";
|
import "./compiler_test.ts";
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import alias from "rollup-plugin-alias";
|
import alias from "rollup-plugin-alias";
|
||||||
import { plugin as analyze } from "rollup-plugin-analyzer";
|
import { plugin as analyze } from "rollup-plugin-analyzer";
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
use std;
|
use std;
|
||||||
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
|
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
|
||||||
use std::io::ErrorKind;
|
use std::io::ErrorKind;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
use errors;
|
use errors;
|
||||||
use errors::{DenoError, DenoResult};
|
use errors::{DenoError, DenoResult};
|
||||||
use tokio_util;
|
use tokio_util;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
use errors;
|
use errors;
|
||||||
use errors::permission_denied;
|
use errors::permission_denied;
|
||||||
use errors::{DenoError, DenoResult, ErrorKind};
|
use errors::{DenoError, DenoResult, ErrorKind};
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
use resources::Resource;
|
use resources::Resource;
|
||||||
|
|
||||||
use futures;
|
use futures;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import benchmark
|
import benchmark
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import sys
|
import sys
|
||||||
from build import main as build
|
from build import main as build
|
||||||
from test import main as test
|
from test import main as test
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Given a deno executable, this script execute several integration tests
|
# Given a deno executable, this script execute several integration tests
|
||||||
# with it. The tests are stored in //tests/ and each script has a corresponding
|
# with it. The tests are stored in //tests/ and each script has a corresponding
|
||||||
# .out file which specifies what the stdout should be.
|
# .out file which specifies what the stdout should be.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Check deno dir is created properly
|
# Check deno dir is created properly
|
||||||
# Usage: deno_dir_test.py [path to deno dir]
|
# Usage: deno_dir_test.py [path to deno dir]
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
from glob import glob
|
from glob import glob
|
||||||
import os
|
import os
|
||||||
from third_party import third_party_path, fix_symlinks, google_env, clang_format_path
|
from third_party import third_party_path, fix_symlinks, google_env, clang_format_path
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import util
|
import util
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Many tests expect there to be an http server on port 4545 servering the deno
|
# Many tests expect there to be an http server on port 4545 servering the deno
|
||||||
# root directory.
|
# root directory.
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Does google-lint on c++ files and ts-lint on typescript files
|
# Does google-lint on c++ files and ts-lint on typescript files
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
const http = require("http");
|
const http = require("http");
|
||||||
const port = process.argv[2] || "4544";
|
const port = process.argv[2] || "4544";
|
||||||
console.log("port", port);
|
console.log("port", port);
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
max_width = 80
|
max_width = 80
|
||||||
tab_spaces = 2
|
tab_spaces = 2
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import third_party
|
import third_party
|
||||||
from util import build_mode, build_path, enable_ansi_colors, root_path, run
|
from util import build_mode, build_path, enable_ansi_colors, root_path, run
|
||||||
from util import shell_quote
|
from util import shell_quote
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from setup import gn_string, read_gn_args, write_gn_args
|
from setup import gn_string, read_gn_args, write_gn_args
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Run this script if you are changing Deno's dependencies.
|
# Run this script if you are changing Deno's dependencies.
|
||||||
# To update the deno_third_party git repo after running this, try the following:
|
# To update the deno_third_party git repo after running this, try the following:
|
||||||
# cd third_party
|
# cd third_party
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# Runs the full test suite.
|
# Runs the full test suite.
|
||||||
# Usage: ./tools/test.py out/Debug
|
# Usage: ./tools/test.py out/Debug
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# This script contains helper functions to work with the third_party subrepo.
|
# This script contains helper functions to work with the third_party subrepo.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import util
|
import util
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- Copyright 2018 the Deno authors. All rights reserved. MIT license. -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue