mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
Change copyrights to be 'Deno authors'.
This commit is contained in:
parent
dcaf9b3227
commit
1de16af1f3
37 changed files with 40 additions and 86 deletions
1
BUILD.gn
1
BUILD.gn
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import("//third_party/v8/gni/v8.gni")
|
import("//third_party/v8/gni/v8.gni")
|
||||||
import("//third_party/v8/snapshot_toolchain.gni")
|
import("//third_party/v8/snapshot_toolchain.gni")
|
||||||
import("//build_extra/flatbuffers/flatbuffer.gni")
|
import("//build_extra/flatbuffers/flatbuffer.gni")
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
template("run_node") {
|
template("run_node") {
|
||||||
action(target_name) {
|
action(target_name) {
|
||||||
forward_variables_from(invoker, "*")
|
forward_variables_from(invoker, "*")
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
# All rights reserved. MIT License.
|
#
|
||||||
|
|
||||||
# The Rust compiler normally builds source code directly into an executable.
|
# The Rust compiler normally builds source code directly into an executable.
|
||||||
# Internally, object code is produced, and then the (system) linker is called,
|
# Internally, object code is produced, and then the (system) linker is called,
|
||||||
# but this all happens under the covers.
|
# but this all happens under the covers.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
// tslint:disable-next-line:no-reference
|
// tslint:disable-next-line:no-reference
|
||||||
/// <reference path="plugins.d.ts" />
|
/// <reference path="plugins.d.ts" />
|
||||||
|
|
3
js/deno.d.ts
vendored
3
js/deno.d.ts
vendored
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
type MessageCallback = (msg: Uint8Array) => void;
|
type MessageCallback = (msg: Uint8Array) => void;
|
||||||
|
|
||||||
interface Deno {
|
interface Deno {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
// Public deno module.
|
// Public deno module.
|
||||||
// TODO get rid of deno.d.ts
|
// TODO get rid of deno.d.ts
|
||||||
export { pub, sub } from "./dispatch";
|
export { pub, sub } from "./dispatch";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
import { typedArrayToArrayBuffer } from "./util";
|
import { typedArrayToArrayBuffer } from "./util";
|
||||||
import { deno as fbs } from "./msg_generated";
|
import { deno as fbs } from "./msg_generated";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
import {
|
import {
|
||||||
assert,
|
assert,
|
||||||
log,
|
log,
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// 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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// tslint:disable-next-line:no-reference
|
// tslint:disable-next-line:no-reference
|
||||||
/// <reference path="deno.d.ts" />
|
/// <reference path="deno.d.ts" />
|
||||||
import { flatbuffers } from "flatbuffers";
|
import { flatbuffers } from "flatbuffers";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// A simple runtime that doesn't involve typescript or protobufs to test
|
// A simple runtime that doesn't involve typescript or protobufs to test
|
||||||
// libdeno. Invoked by mock_runtime_test.cc
|
// libdeno. Invoked by mock_runtime_test.cc
|
||||||
|
|
||||||
|
|
3
js/os.ts
3
js/os.ts
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
import { ModuleInfo } from "./types";
|
import { ModuleInfo } from "./types";
|
||||||
import { deno as fbs } from "./msg_generated";
|
import { deno as fbs } from "./msg_generated";
|
||||||
import { assert } from "./util";
|
import { assert } from "./util";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
// Glossary
|
// Glossary
|
||||||
// outputCode = generated javascript code
|
// outputCode = generated javascript code
|
||||||
// sourceCode = typescript code (or input javascript code)
|
// sourceCode = typescript code (or input javascript code)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
// This test is executed as part of integration_test.go
|
// This test is executed as part of integration_test.go
|
||||||
// But it can also be run manually:
|
// But it can also be run manually:
|
||||||
// ./deno tests.ts
|
// ./deno tests.ts
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
import { deno as pb } from "./msg.pb";
|
import { deno as pb } from "./msg.pb";
|
||||||
import { pubInternal, sub } from "./dispatch";
|
import { pubInternal, sub } from "./dispatch";
|
||||||
import { assert } from "./util";
|
import { assert } from "./util";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
export type TypedArray = Uint8Array | Float32Array | Int32Array;
|
export type TypedArray = Uint8Array | Float32Array | Int32Array;
|
||||||
|
|
||||||
export interface ModuleInfo {
|
export interface ModuleInfo {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
//import { debug } from "./main";
|
//import { debug } from "./main";
|
||||||
const debug = false;
|
const debug = false;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
// Copyright 2014 Evan Wallace
|
// Copyright 2014 Evan Wallace
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
// Originated from source-map-support but has been heavily modified for deno.
|
// Originated from source-map-support but has been heavily modified for deno.
|
||||||
import { SourceMapConsumer, MappedPosition } from "source-map";
|
import { SourceMapConsumer, MappedPosition } from "source-map";
|
||||||
import * as base64 from "base64-js";
|
import * as base64 from "base64-js";
|
||||||
|
|
|
@ -1,24 +1,4 @@
|
||||||
/*
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
Copyright 2018 Ryan Dahl <ry@tinyclouds.org>. All rights reserved.
|
|
||||||
|
|
||||||
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.
|
|
||||||
*/
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#ifndef DENO_H_
|
#ifndef DENO_H_
|
||||||
#define DENO_H_
|
#define DENO_H_
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#ifndef FILE_UTIL_H_
|
#ifndef FILE_UTIL_H_
|
||||||
#define FILE_UTIL_H_
|
#define FILE_UTIL_H_
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include "testing/gtest/include/gtest/gtest.h"
|
#include "testing/gtest/include/gtest/gtest.h"
|
||||||
|
|
||||||
#include "file_util.h"
|
#include "file_util.h"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#ifndef FLATBUFFER_BUILDER_H_
|
#ifndef FLATBUFFER_BUILDER_H_
|
||||||
#define FLATBUFFER_BUILDER_H_
|
#define FLATBUFFER_BUILDER_H_
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#ifndef HANDLERS_H_
|
#ifndef HANDLERS_H_
|
||||||
#define HANDLERS_H_
|
#define HANDLERS_H_
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#ifndef INTERNAL_H_
|
#ifndef INTERNAL_H_
|
||||||
#define INTERNAL_H_
|
#define INTERNAL_H_
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include "testing/gtest/include/gtest/gtest.h"
|
#include "testing/gtest/include/gtest/gtest.h"
|
||||||
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
// When Rust Flatbuffer support is complete this file should be ported
|
// When Rust Flatbuffer support is complete this file should be ported
|
||||||
// to Rust and removed: https://github.com/google/flatbuffers/pull/3894
|
// to Rust and removed: https://github.com/google/flatbuffers/pull/3894
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
|
|
||||||
// TODO(ry) This library handles parsing and sending Flatbuffers. It's written
|
// TODO(ry) This library handles parsing and sending Flatbuffers. It's written
|
||||||
// in C++ because flatbuffer support for Rust is not quite there. However, once
|
// in C++ because flatbuffer support for Rust is not quite there. However, once
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
// Hint: --trace_serializer is a useful debugging flag.
|
// Hint: --trace_serializer is a useful debugging flag.
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
// All rights reserved. MIT License.
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
#include "testing/gtest/include/gtest/gtest.h"
|
#include "testing/gtest/include/gtest/gtest.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue