1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

Add missing copyrights (#1024)

This commit is contained in:
ztplz 2018-10-20 03:25:29 +08:00 committed by Ryan Dahl
parent 7210e7b33b
commit b809a82fd9
46 changed files with 39 additions and 12 deletions

View file

@ -1,3 +1,4 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
version: '{build}.{branch}'
skip_branch_with_pr: true

View file

@ -1,3 +1,4 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
language: c++
matrix:
include:

View file

@ -1,3 +1,4 @@
# Copyright 2018 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.

View file

@ -1,3 +1,4 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
solutions = [{
'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.276.15',
'name': 'v8',

View file

@ -1,3 +1,5 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// tslint:disable-next-line:no-any
type ConsoleContext = Set<any>;
type ConsoleOptions = Partial<{

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { test, assert, assertEqual } from "./test_util.ts";
import { stringifyArgs } from "./console.ts";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { testPerm, assert, assertEqual } from "./test_util.ts";
import * as deno from "deno";

View file

@ -1,4 +1,5 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// Public deno module.
/// <amd-module name="deno"/>
export { env, exit } from "./os";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
import * as deno from "deno";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { Base, ErrorKind } from "gen/msg_generated";
export { ErrorKind } from "gen/msg_generated";

View file

@ -1,5 +1,4 @@
// Copyright 2018 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";

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import * as deno from "deno";
import { test, assert, assertEqual } from "./test_util.ts";

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { flatbuffers } from "flatbuffers";
import * as util from "./util";

View file

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

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import * as blob from "./blob";
import * as console from "./console";
import * as fetch_ from "./fetch";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { RawSourceMap } from "./types";
import { globalEval } from "./global_eval";

View file

@ -1 +1,2 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
export default undefined;

View file

@ -1,5 +1,4 @@
// Copyright 2018 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";

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import * as deno from "deno";
import { testPerm, assert, assertEqual } from "./test_util.ts";
import { deferred } from "./util.ts";

View file

@ -1,3 +1,5 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// Do not add unsupported platforms.
export interface Platform {
/** The operating system CPU architecture. */

2
js/plugins.d.ts vendored
View file

@ -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`
// as there is a rollup plugin that will take any mids ending with `!string`
// and return them as a string to rollup for inlining

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { PromiseRejectEvent } from "./libdeno";
/* tslint:disable-next-line:no-any */

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import { testPerm, assertEqual } from "./test_util.ts";
import * as deno from "deno";

View file

@ -1,4 +1,5 @@
// Copyright 2018 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: ./out/debug/deno js/unit_tests.ts
import "./compiler_test.ts";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
import path from "path";
import alias from "rollup-plugin-alias";
import { plugin as analyze } from "rollup-plugin-analyzer";

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
use std;
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
use std::io::ErrorKind;

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
use errors;
use errors::{DenoError, DenoResult};
use tokio_util;

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
use errors;
use errors::permission_denied;
use errors::{DenoError, DenoResult, ErrorKind};

View file

@ -1,5 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
use resources::Resource;
use futures;

View file

@ -1,3 +1,4 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import sys
import os
import benchmark

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import sys
from build import main as build
from test import main as test

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# Given a deno executable, this script execute several integration tests
# with it. The tests are stored in //tests/ and each script has a corresponding
# .out file which specifies what the stdout should be.

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 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

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
from glob import glob
import os
from third_party import third_party_path, fix_symlinks, google_env, clang_format_path

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import os
import sys
import util

View file

@ -1,4 +1,5 @@
#!/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
# root directory.
import os

View file

@ -1,4 +1,5 @@
#!/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
import os

View file

@ -1,3 +1,4 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);

View file

@ -1,2 +1,3 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 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

View file

@ -1,5 +1,4 @@
# Copyright 2018 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

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 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

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# Runs the full test suite.
# Usage: ./tools/test.py out/Debug
import os

View file

@ -1,4 +1,5 @@
#!/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.
import os

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import util
import sys
import subprocess

View file

@ -1,3 +1,4 @@
<!-- Copyright 2018 the Deno authors. All rights reserved. MIT license. -->
<!DOCTYPE html>
<html>
<head>