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/snapshot_toolchain.gni")
|
||||
import("//build_extra/flatbuffers/flatbuffer.gni")
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
template("run_node") {
|
||||
action(target_name) {
|
||||
forward_variables_from(invoker, "*")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
||||
# All rights reserved. MIT License.
|
||||
|
||||
# Copyright 2018 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,
|
||||
# but this all happens under the covers.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// tslint:disable-next-line:no-reference
|
||||
/// <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>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
type MessageCallback = (msg: Uint8Array) => void;
|
||||
|
||||
interface Deno {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
// Public deno module.
|
||||
// TODO get rid of deno.d.ts
|
||||
export { pub, sub } from "./dispatch";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { typedArrayToArrayBuffer } from "./util";
|
||||
import { deno as fbs } from "./msg_generated";
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import {
|
||||
assert,
|
||||
log,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// 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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
// tslint:disable-next-line:no-reference
|
||||
/// <reference path="deno.d.ts" />
|
||||
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
|
||||
// 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>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { ModuleInfo } from "./types";
|
||||
import { deno as fbs } from "./msg_generated";
|
||||
import { assert } from "./util";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
// Glossary
|
||||
// outputCode = generated javascript code
|
||||
// sourceCode = typescript code (or input javascript code)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. 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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { deno as pb } from "./msg.pb";
|
||||
import { pubInternal, sub } from "./dispatch";
|
||||
import { assert } from "./util";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
export type TypedArray = Uint8Array | Float32Array | Int32Array;
|
||||
|
||||
export interface ModuleInfo {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
//import { debug } from "./main";
|
||||
const debug = false;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// Copyright 2014 Evan Wallace
|
||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. 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";
|
||||
|
|
|
@ -1,24 +1,4 @@
|
|||
/*
|
||||
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.
|
||||
*/
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#![allow(dead_code)]
|
||||
|
||||
extern crate libc;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#ifndef DENO_H_
|
||||
#define DENO_H_
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <fstream>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#ifndef FILE_UTIL_H_
|
||||
#define FILE_UTIL_H_
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#include "file_util.h"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#ifndef FLATBUFFER_BUILDER_H_
|
||||
#define FLATBUFFER_BUILDER_H_
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Bert Belder <bertbelder@gmail.com>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#ifndef HANDLERS_H_
|
||||
#define HANDLERS_H_
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
extern crate libc;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#ifndef INTERNAL_H_
|
||||
#define INTERNAL_H_
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#include "deno.h"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// When Rust Flatbuffer support is complete this file should be ported
|
||||
// to Rust and removed: https://github.com/google/flatbuffers/pull/3894
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// 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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
// Hint: --trace_serializer is a useful debugging flag.
|
||||
#include <fstream>
|
||||
#include "deno.h"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
#include "deno.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue