diff options
-rw-r--r-- | LICENSE.txt | 20 | ||||
-rw-r--r-- | deno.d.ts | 2 | ||||
-rw-r--r-- | deno_dir.go | 2 | ||||
-rw-r--r-- | deno_dir_test.go | 2 | ||||
-rw-r--r-- | dispatch.go | 2 | ||||
-rw-r--r-- | dispatch.ts | 2 | ||||
-rw-r--r-- | echo.go | 2 | ||||
-rw-r--r-- | fetch.go | 2 | ||||
-rw-r--r-- | fetch.ts | 2 | ||||
-rw-r--r-- | globals.ts | 2 | ||||
-rw-r--r-- | integration_test.go | 2 | ||||
-rw-r--r-- | main.go | 2 | ||||
-rw-r--r-- | main.ts | 2 | ||||
-rw-r--r-- | msg.proto | 2 | ||||
-rw-r--r-- | os.go | 2 | ||||
-rw-r--r-- | os.ts | 2 | ||||
-rw-r--r-- | os_test.go | 2 | ||||
-rw-r--r-- | runtime.ts | 2 | ||||
-rw-r--r-- | tests.ts | 2 | ||||
-rw-r--r-- | text-encoding.d.ts | 2 | ||||
-rw-r--r-- | timers.go | 2 | ||||
-rw-r--r-- | timers.ts | 2 | ||||
-rw-r--r-- | types.ts | 2 | ||||
-rw-r--r-- | url.js | 2 | ||||
-rw-r--r-- | util.go | 2 | ||||
-rw-r--r-- | util.ts | 2 | ||||
-rw-r--r-- | v8_source_maps.ts | 4 | ||||
-rw-r--r-- | v8worker2.d.ts | 2 |
28 files changed, 76 insertions, 0 deletions
diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 000000000..fa4d722f0 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,20 @@ +Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +All rights reserved. MIT License. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. declare module "deno" { type MessageCallback = (msg: Uint8Array) => void; function sub(channel: string, cb: MessageCallback): void; diff --git a/deno_dir.go b/deno_dir.go index 84ead16f7..7f9dac445 100644 --- a/deno_dir.go +++ b/deno_dir.go @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( diff --git a/deno_dir_test.go b/deno_dir_test.go index 2e98461eb..404d589cb 100644 --- a/deno_dir_test.go +++ b/deno_dir_test.go @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( diff --git a/dispatch.go b/dispatch.go index 8f22f8f5d..bbb696e6d 100644 --- a/dispatch.go +++ b/dispatch.go @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( diff --git a/dispatch.ts b/dispatch.ts index 41f736fff..f6823ceff 100644 --- a/dispatch.ts +++ b/dispatch.ts @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import { typedArrayToArrayBuffer } from "./util"; import { _global } from "./globals"; import { main as pb } from "./msg.pb"; @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main // For testing @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import { assert, log, createResolvable, Resolvable } from "./util"; import * as util from "./util"; import * as dispatch from "./dispatch"; diff --git a/globals.ts b/globals.ts index 184f25163..ed60bc46a 100644 --- a/globals.ts +++ b/globals.ts @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import * as timer from "./timers"; // If you use the eval function indirectly, by invoking it via a reference diff --git a/integration_test.go b/integration_test.go index a3f8f16ce..28411e6da 100644 --- a/integration_test.go +++ b/integration_test.go @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. // This allows us to have async/await in our code. It must be loaded first. import "babel-polyfill"; @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. syntax = "proto3"; package main; @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import { ModuleInfo } from "./types"; import { sendMsg } from "./dispatch"; import { main as pb } from "./msg.pb"; diff --git a/os_test.go b/os_test.go index 0d1f39171..1f9ae69e7 100644 --- a/os_test.go +++ b/os_test.go @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( diff --git a/runtime.ts b/runtime.ts index e46c73c61..2c4703362 100644 --- a/runtime.ts +++ b/runtime.ts @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. // Glossary // outputCode = generated javascript code // sourceCode = typescript code (or input javascript code) @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. // This test is executed as part of integration_test.go // But it can also be run manually: // ./deno tests.ts diff --git a/text-encoding.d.ts b/text-encoding.d.ts index 014c95eff..42d2be942 100644 --- a/text-encoding.d.ts +++ b/text-encoding.d.ts @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. // Type definitions for text-encoding // Project: https://github.com/inexorabletash/text-encoding // Definitions by: MIZUNE Pine <https://github.com/pine613> @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import { main as pb } from "./msg.pb"; import * as dispatch from "./dispatch"; import { assert } from "./util"; @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. export type TypedArray = Uint8Array | Float32Array | Int32Array; export interface ModuleInfo { @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ * Forked from https://github.com/github/url-polyfill @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. package main import ( @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. import { debug } from "./main"; import { TypedArray } from "./types"; diff --git a/v8_source_maps.ts b/v8_source_maps.ts index 5f5b1c779..170978984 100644 --- a/v8_source_maps.ts +++ b/v8_source_maps.ts @@ -1,3 +1,7 @@ +// Copyright 2014 Evan Wallace +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. +// Originated from source-map-support but has been heavily modified for deno. import { SourceMapConsumer, MappedPosition } from "source-map"; import * as base64 from "base64-js"; diff --git a/v8worker2.d.ts b/v8worker2.d.ts index 9ace56ff7..1c39653a4 100644 --- a/v8worker2.d.ts +++ b/v8worker2.d.ts @@ -1,3 +1,5 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. declare namespace V8Worker2 { function print(...args: any[]): void; type RecvCallback = (ab: ArrayBuffer) => void; |