Skip to content

Commit

Permalink
chore: Start adopting SPDX license headers (#2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Dec 8, 2023
1 parent f28f8f6 commit 36c07ab
Show file tree
Hide file tree
Showing 780 changed files with 1,694 additions and 724 deletions.
3 changes: 2 additions & 1 deletion examples/benchmarks/app-website.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/benchmarks/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {PureComponent} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/3d-tiles-with-cesium/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global Cesium */
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/3d-tiles-with-cesium/tile-parsers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global Cesium */
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/3d-tiles-with-cesium/tileset-loader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global Cesium */
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/3d-tiles-with-three.js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global mapboxgl */ // Imported via <script> tag
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import * as THREE from 'three';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import * as THREE from 'three';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import * as THREE from 'three';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import * as THREE from 'three';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {load} from '@loaders.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/gltf-with-deck.gl/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {PureComponent} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/gltf-with-deck.gl/environment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {GLTFEnvironment} from '@luma.gl/experimental';
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/gltf-with-deck.gl/file-drop.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

// Add drag and drop functions for given canvas
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/gltf-with-raw-webgl/lib/gl-matrix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/**
Expand Down
3 changes: 2 additions & 1 deletion examples/experimental/terrain/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* eslint-disable max-statements */
Expand Down
6 changes: 4 additions & 2 deletions examples/get-started/bundle-with-nextjs/app.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

'use client'
Expand Down
3 changes: 2 additions & 1 deletion examples/get-started/bundle-with-rollup/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {parse} from '@loaders.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/get-started/bundle-with-vite/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {parse} from '@loaders.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/get-started/bundle-with-vite/empty.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export class Worker {}
3 changes: 2 additions & 1 deletion examples/get-started/bundle-with-webpack-4/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {parse} from '@loaders.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/get-started/bundle-with-webpack-5/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {parse} from '@loaders.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/3d-tiles/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {PureComponent} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/3d-tiles/components/control-panel.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import styled from 'styled-components';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/geospatial/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useState, useEffect} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/geospatial/examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export const INITIAL_LOADER_NAME = 'GeoParquet';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/gltf/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* eslint-disable camelcase */
Expand Down
3 changes: 2 additions & 1 deletion examples/website/gltf/controller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Matrix4} from '@math.gl/core';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/gltf/create-gltf-objects.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

// TODO - move to @luma.gl/addons
Expand Down
3 changes: 2 additions & 1 deletion examples/website/tiles/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useState, useEffect} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/tiles/components/control-panel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import styled from 'styled-components';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/tiles/components/tile-source-layer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {CompositeLayer, Layer} from '@deck.gl/core/typed';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/tiles/examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export const LOADERS_URI = 'https://raw.githubusercontent.com/visgl/loaders.gl/master';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/wms/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {PureComponent} from 'react';
Expand Down
3 changes: 2 additions & 1 deletion examples/website/wms/examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// loaders.gl, MIT license
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export const LOADERS_URI = 'https://raw.githubusercontent.com/visgl/loaders.gl/master';
Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/3d-tiles-archive-loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import type {LoaderOptions, LoaderWithParser} from '@loaders.gl/loader-utils';
import {DataViewFile} from '@loaders.gl/loader-utils';
import {parse3DTilesArchive as parse3DTilesArchiveFromProvider} from './3d-tiles-archive/3d-tiles-archive-parser';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import {FileProvider} from '@loaders.gl/loader-utils';
import {MD5Hash} from '@loaders.gl/crypto';
import {DeflateCompression, NoCompression} from '@loaders.gl/compression';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import {FileProvider} from '@loaders.gl/loader-utils';
import {
CD_HEADER_SIGNATURE,
Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/cesium-ion-loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import type {LoaderOptions, LoaderWithParser} from '@loaders.gl/loader-utils';
import {Tiles3DLoader} from './tiles-3d-loader';
import {getIonTilesetMetadata} from './lib/ion/ion';
Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

// LOADERS
export {Tiles3DLoader} from './tiles-3d-loader';
export {CesiumIonLoader} from './cesium-ion-loader';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import {GLType} from '@loaders.gl/math'; // '@math.gl/geometry';
import {assert} from '@loaders.gl/loader-utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/classes/tile-3d-batch-table.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/classes/tile-3d-feature-table.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

// TILE TYPES

export const TILE3D_TYPE = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/encoders/encode-3d-tile-composite.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/encoders/encode-3d-tile.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT AND Apache-2.0
// Copyright vis.gl contributors

// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

// HELPER ENCODERS
import {assert} from '@loaders.gl/loader-utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

import {FileProvider} from '@loaders.gl/loader-utils';
import {
ZipFileSystem,
Expand Down
4 changes: 4 additions & 0 deletions modules/3d-tiles/src/lib/ion/ion.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright vis.gl contributors

// Minimal support to load tilsets from the Cesium ION services

import {fetchFile} from '@loaders.gl/core';
Expand Down
Loading

0 comments on commit 36c07ab

Please sign in to comment.