Skip to content

Commit

Permalink
chore: Clean up license text
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Oct 24, 2023
1 parent 5b6cab0 commit d840dc7
Show file tree
Hide file tree
Showing 381 changed files with 393 additions and 104 deletions.
14 changes: 7 additions & 7 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
Copyright (c) 2015 Uber Technologies, Inc.

This software includes parts of PhiloGL (https://github.com/philogb/philogl)
under MIT license. PhiloGL parts Copyright © 2013 Sencha Labs.
loaders.gl is licensed under the MIT license

This software includes adaptations of postprocessing code from THREE.js (https://github.com/mrdoob/three.js/) under MIT license. Additional attribution given in specific source files. THREE.js parts Copyright © 2010-2018 three.js authors.
Copyright (c) vis.gl contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -23,8 +20,12 @@ 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 (c) 2015 Uber Technologies, Inc.

loaders.gl includes certain files from Cesium (https://github.com/AnalyticalGraphicsInc/cesium) under the Apache 2 License:
loaders.gl includes certain files from Cesium (https://github.com/AnalyticalGraphicsInc/cesium)
under the Apache 2 License (found in the submodule: modules/3d-tiles):)

Copyright 2011-2018 CesiumJS Contributors

Expand All @@ -38,4 +39,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.

Cesium-derived code can be found in the submodule: modules/3d-tiles
1 change: 1 addition & 0 deletions examples/website/tiles/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import React, {useState, useEffect} from 'react';
import {createRoot} from 'react-dom/client';
Expand Down
1 change: 1 addition & 0 deletions examples/website/tiles/examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export const LOADERS_URI = 'https://raw.githubusercontent.com/visgl/loaders.gl/master';

Expand Down
1 change: 1 addition & 0 deletions examples/website/wms/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import React, {PureComponent} from 'react';
import {createRoot} from 'react-dom/client';
Expand Down
1 change: 1 addition & 0 deletions examples/website/wms/examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export const LOADERS_URI = 'https://raw.githubusercontent.com/visgl/loaders.gl/master';

Expand Down
1 change: 1 addition & 0 deletions modules/3d-tiles/src/lib/parsers/parse-3d-tile-gltf.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {parseFromContext, LoaderContext} from '@loaders.gl/loader-utils';
import {_getMemoryUsageGLTF, GLTFLoader, postProcessGLTF} from '@loaders.gl/gltf';
Expand Down
1 change: 1 addition & 0 deletions modules/3d-tiles/src/lib/utils/s2/s2-token-functions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import Long from 'long';

Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/arrow-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';
import type {ArrowTable} from './lib/arrow-table';

Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/lib/arrow-table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Batch, Schema} from '@loaders.gl/schema';
import type {Table as ApacheArrowTable} from 'apache-arrow';
Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/lib/convert-table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {Table as ApacheArrowTable} from 'apache-arrow';
import type {ArrowTable} from './arrow-table';
Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/schema/arrow-type-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {TypedArray} from '@loaders.gl/schema';
import {
Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/schema/convert-schema-arrow.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {DataType, Field, Schema, SchemaMetadata} from '@loaders.gl/schema';
import {
Expand Down
1 change: 1 addition & 0 deletions modules/arrow/src/schema/convert-table-to-arrow.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

// import {
// Table as ApacheArrowTable,
Expand Down
1 change: 1 addition & 0 deletions modules/bson/src/bson-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
import type {ParseBSONOptions} from './lib/parsers/parse-bson';
import {parseBSONSync} from './lib/parsers/parse-bson';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/src/bson-writer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';
import type {EncodeBSONOptions} from './lib/encoders/encode-bson';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export type {BSONLoaderOptions} from './bson-loader';
export {BSONLoader} from './bson-loader';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/src/lib/encoders/encode-bson.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {SerializeOptions} from 'bson';
import {serialize} from 'bson';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/src/lib/parsers/parse-bson.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {DeserializeOptions} from 'bson';
import {deserialize} from 'bson';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/test/bson-loader.bench.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {BSONLoader} from '@loaders.gl/bson';
import {load} from '@loaders.gl/core';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/test/bson-loader.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import test from 'tape-promise/tape';
import {load, parseSync} from '@loaders.gl/core';
Expand Down
1 change: 1 addition & 0 deletions modules/bson/test/data/js-bson/corrupt.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
export default {
description: 'Corrupted BSON',
documents: [
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

// TYPES
export type {
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/encode-table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// Copyright 2022 Foursquare Labs, Inc

/* global TextEncoder, TextDecoder */
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/load-in-batches.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {
LoaderWithParser,
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/load.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {DataType, Loader, LoaderContext, LoaderOptions} from '@loaders.gl/loader-utils';
import type {LoaderOptionsType, LoaderReturnType} from '@loaders.gl/loader-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/parse-in-batches.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Batch} from '@loaders.gl/schema';
import type {Loader, LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/parse-sync.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Loader, LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
import type {LoaderContext, SyncDataType} from '@loaders.gl/loader-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/api/parse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Loader, LoaderContext, LoaderOptions} from '@loaders.gl/loader-utils';
import type {DataType, LoaderWithParser} from '@loaders.gl/loader-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/fetch/fetch-file.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {resolvePath} from '@loaders.gl/loader-utils';
import {makeResponse} from '../utils/response-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/fetch/read-array-buffer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

/**
* Reads a chunk from a random access file
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/init.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {log} from './utils/log';

// @ts-ignore TS2304: Cannot find name '__VERSION__'.
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/loader-utils/check-errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

/**
* Check reponse status, if not OK extract error message and throw error
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/loader-utils/get-fetch-function.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {LoaderContext, LoaderOptions, FetchLike} from '@loaders.gl/loader-utils';
import {isObject} from '../../javascript-utils/is-type';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/loader-utils/option-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';
import {isPureObject, isObject} from '../../javascript-utils/is-type';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/utils/log.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {Log} from '@probe.gl/log';

export const log = new Log({id: 'loaders.gl'});
1 change: 1 addition & 0 deletions modules/core/src/lib/utils/resource-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {isResponse, isBlob} from '../../javascript-utils/is-type';
import {parseMIMEType, parseMIMETypeFromURL} from './mime-type-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/utils/url-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

const QUERY_STRING_PATTERN = /\?.*/;

Expand Down
1 change: 1 addition & 0 deletions modules/crypto/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

// __VERSION__ is injected by babel-plugin-version-inline
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
Expand Down
1 change: 1 addition & 0 deletions modules/crypto/src/lib/utils/digest-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {asciiToBase64, base64ToAscii} from './base64-utils';

Expand Down
1 change: 1 addition & 0 deletions modules/csv/src/csv-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
import type {ArrayRowTable, ObjectRowTable, TableBatch} from '@loaders.gl/schema';
Expand Down
1 change: 1 addition & 0 deletions modules/csv/src/csv-writer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

/* global TextEncoder */
import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';
Expand Down
1 change: 1 addition & 0 deletions modules/csv/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export type {CSVLoaderOptions} from './csv-loader';
export {CSVLoader} from './csv-loader';
Expand Down
1 change: 1 addition & 0 deletions modules/csv/src/lib/encoders/encode-csv.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// Copyright 2022 Foursquare Labs, Inc.

import {Table, makeArrayRowIterator, getTableNumCols} from '@loaders.gl/schema';
Expand Down
1 change: 1 addition & 0 deletions modules/csv/test/csv-writer.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// Copyright 2022 Foursquare Labs, Inc.

import test from 'tape-promise/tape';
Expand Down
1 change: 1 addition & 0 deletions modules/draco/src/draco-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';
import type {DracoMesh} from './lib/draco-types';
import type {DracoParseOptions} from './lib/draco-parser';
Expand Down
1 change: 1 addition & 0 deletions modules/draco/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {LoaderWithParser} from '@loaders.gl/loader-utils';
import type {DracoMesh, DracoLoaderData} from './lib/draco-types';
import type {DracoLoaderOptions} from './draco-loader';
Expand Down
1 change: 1 addition & 0 deletions modules/draco/test/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import './lib/utils/get-draco-schema.spec';

Expand Down
1 change: 1 addition & 0 deletions modules/excel/src/excel-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';
import type {ObjectRowTable} from '@loaders.gl/schema';
Expand Down
1 change: 1 addition & 0 deletions modules/excel/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {LoaderWithParser} from '@loaders.gl/loader-utils';
import type {ObjectRowTable} from '@loaders.gl/schema';
Expand Down
1 change: 1 addition & 0 deletions modules/flatgeobuf/src/lib/binary-geometries.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {Geometry as FGBGeometry, Feature as FGBFeature} from 'flatgeobuf';
// import {GeometryType} from 'flatgeobuf/generic';
Expand Down
1 change: 1 addition & 0 deletions modules/flatgeobuf/src/lib/parse-flatgeobuf.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {Proj4Projection} from '@math.gl/proj4';
import {transformGeoJsonCoords} from '@loaders.gl/gis';
Expand Down
1 change: 1 addition & 0 deletions modules/geopackage/src/geopackage-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
import {Tables, GeoJSONTable} from '@loaders.gl/schema';
Expand Down
1 change: 1 addition & 0 deletions modules/geopackage/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export {GeoPackageLoader} from './geopackage-loader';
1 change: 1 addition & 0 deletions modules/geopackage/src/workers/geopackage-worker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {createLoaderWorker} from '@loaders.gl/loader-utils';
import {GeoPackageLoader} from '../geopackage-loader';
Expand Down
1 change: 1 addition & 0 deletions modules/geopackage/test/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import './geopackage-loader.spec';
1 change: 1 addition & 0 deletions modules/gis/src/lib/binary-to-geojson.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {
BinaryGeometry,
Expand Down
1 change: 1 addition & 0 deletions modules/gis/test/data/geometry-test-cases.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {BinaryGeometry, Geometry} from '@loaders.gl/schema';

export type GeometryTestCase = {
Expand Down
1 change: 1 addition & 0 deletions modules/gltf/src/glb-writer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';
import type {GLB} from './lib/types/glb-types';
Expand Down
1 change: 1 addition & 0 deletions modules/gltf/src/lib/api/gltf-scenegraph.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {GLTFWithBuffers} from '../types/gltf-types';
import type {
Expand Down
1 change: 1 addition & 0 deletions modules/gltf/src/lib/api/post-process-gltf.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import type {GLTFWithBuffers} from '../types/gltf-types';
import type {ParseGLTFOptions} from '../parsers/parse-gltf';
Expand Down
1 change: 1 addition & 0 deletions modules/i3s/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

export type {
BoundingVolumes,
Expand Down
1 change: 1 addition & 0 deletions modules/i3s/src/lib/parsers/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {GL} from '@loaders.gl/math';

Expand Down
1 change: 1 addition & 0 deletions modules/i3s/src/lib/parsers/parse-i3s-attribute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

import {TypedArray} from '@loaders.gl/schema';

Expand Down
Loading

0 comments on commit d840dc7

Please sign in to comment.