From f563f32f8245aad3a5ea56ae3f74ab1643690b78 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 6 Oct 2023 20:52:36 +0200 Subject: [PATCH] Add SPDX identifier to license headers SPDX is an ISO standard for describing licenses in a computer readable format, which is useful when applying license compliance tools and the like to source code. In addition to ensuring that the Wuffs C distribution is properly annotated to the benefit of projects using Wuffs and SPDX-supporting tools, add it everywhere else where there's a license in this repo for consistency, too. --- build-all.sh | 2 ++ build-example.sh | 2 ++ build-fuzz.sh | 2 ++ cmd/commonflags/commonflags.go | 2 ++ cmd/dumbindent/main.go | 2 ++ cmd/ractool/data.go | 2 ++ cmd/ractool/gen.go | 4 ++++ cmd/ractool/main.go | 2 ++ cmd/wuffs-c/genlib.go | 2 ++ cmd/wuffs-c/main.go | 2 ++ cmd/wuffs-c/release.go | 2 ++ cmd/wuffs-c/test.go | 2 ++ cmd/wuffs/gen.go | 2 ++ cmd/wuffs/main.go | 2 ++ cmd/wuffs/release.go | 2 ++ cmd/wuffs/test.go | 2 ++ cmd/wuffsfmt/main.go | 2 ++ example/bzcat/bzcat.c | 2 ++ example/cbor-to-json/cbor-to-json.cc | 2 ++ example/convert-to-nia/convert-to-nia.c | 2 ++ example/crc32/crc32.cc | 2 ++ example/gifplayer/gifplayer.c | 2 ++ example/imageviewer/imageviewer.cc | 2 ++ example/json-to-cbor/json-to-cbor.cc | 2 ++ example/jsonfindptrs/jsonfindptrs.cc | 2 ++ example/jsonptr/jsonptr.cc | 2 ++ example/sdl-imageviewer/sdl-imageviewer.cc | 2 ++ example/toy-aux-image/toy-aux-image.cc | 2 ++ example/toy-genlib/toy-genlib.c | 2 ++ example/zcat/zcat.c | 2 ++ fuzz/c/fuzzlib/fuzzlib.c | 2 ++ fuzz/c/fuzzlib/fuzzlib_image_decoder.c | 2 ++ fuzz/c/std/bmp_fuzzer.c | 2 ++ fuzz/c/std/bzip2_fuzzer.c | 2 ++ fuzz/c/std/cbor_fuzzer.c | 2 ++ fuzz/c/std/gif_fuzzer.c | 2 ++ fuzz/c/std/jpeg_fuzzer.c | 2 ++ fuzz/c/std/json_fuzzer.cc | 2 ++ fuzz/c/std/pixel_swizzler_fuzzer.c | 2 ++ fuzz/c/std/png_fuzzer.c | 2 ++ fuzz/c/std/tga_fuzzer.c | 2 ++ fuzz/c/std/zlib_fuzzer.c | 2 ++ hello-wuffs-c/main.c | 2 ++ hello-wuffs-c/naive-parse.c | 2 ++ hello-wuffs-c/parse.wuffs | 2 ++ hello-wuffs-c/run.sh | 2 ++ hello-wuffs-c/wuffs-base.c | 2 ++ hello-wuffs-c/wuffs-parse.c | 2 ++ internal/cgen/auxiliary/base.cc | 2 ++ internal/cgen/auxiliary/base.hh | 2 ++ internal/cgen/auxiliary/cbor.cc | 2 ++ internal/cgen/auxiliary/cbor.hh | 2 ++ internal/cgen/auxiliary/image.cc | 2 ++ internal/cgen/auxiliary/image.hh | 2 ++ internal/cgen/auxiliary/json.cc | 2 ++ internal/cgen/auxiliary/json.hh | 2 ++ internal/cgen/base/all-impl.c | 2 ++ internal/cgen/base/floatconv-submodule-code.c | 2 ++ internal/cgen/base/floatconv-submodule-data.c | 2 ++ internal/cgen/base/fundamental-private.h | 2 ++ internal/cgen/base/fundamental-public.h | 2 ++ internal/cgen/base/image-private.h | 2 ++ internal/cgen/base/image-public.h | 2 ++ internal/cgen/base/intconv-submodule.c | 2 ++ internal/cgen/base/io-private.h | 2 ++ internal/cgen/base/io-public.h | 2 ++ internal/cgen/base/magic-submodule.c | 2 ++ internal/cgen/base/memory-private.h | 2 ++ internal/cgen/base/memory-public.h | 2 ++ internal/cgen/base/pixconv-submodule-regular.c | 2 ++ internal/cgen/base/pixconv-submodule-x86-avx2.c | 2 ++ internal/cgen/base/pixconv-submodule-ycck.c | 2 ++ internal/cgen/base/range-private.h | 2 ++ internal/cgen/base/range-public.h | 2 ++ internal/cgen/base/strconv-private.h | 2 ++ internal/cgen/base/strconv-public.h | 2 ++ internal/cgen/base/token-private.h | 2 ++ internal/cgen/base/token-public.h | 2 ++ internal/cgen/base/utf8-submodule.c | 2 ++ internal/cgen/builtin.go | 2 ++ internal/cgen/cgen.go | 2 ++ internal/cgen/embed.go | 2 ++ internal/cgen/expr.go | 2 ++ internal/cgen/func.go | 2 ++ internal/cgen/liveness.go | 2 ++ internal/cgen/statement.go | 2 ++ internal/cgen/var.go | 2 ++ internal/testcut/testcut.go | 2 ++ lang/ast/ast.go | 2 ++ lang/ast/eq.go | 2 ++ lang/ast/sort.go | 2 ++ lang/ast/string.go | 2 ++ lang/ast/string_test.go | 2 ++ lang/builtin/builtin.go | 2 ++ lang/builtin/data.go | 2 ++ lang/builtin/gen.go | 4 ++++ lang/check/assert.go | 2 ++ lang/check/bounds.go | 2 ++ lang/check/check.go | 2 ++ lang/check/check_test.go | 2 ++ lang/check/data.go | 2 ++ lang/check/gen.go | 4 ++++ lang/check/optimize.go | 2 ++ lang/check/resolve.go | 2 ++ lang/check/type.go | 2 ++ lang/generate/generate.go | 2 ++ lang/parse/parse.go | 2 ++ lang/render/render.go | 2 ++ lang/token/list.go | 2 ++ lang/token/token.go | 2 ++ lang/wuffsroot/wuffsroot.go | 2 ++ lib/armneonintrinsics/ani.go | 2 ++ lib/armneonintrinsics/data.go | 2 ++ lib/armneonintrinsics/example_test.go | 2 ++ lib/armneonintrinsics/gen.go | 4 ++++ lib/armneonintrinsics/type.go | 2 ++ lib/base38/base38.go | 2 ++ lib/base38/base38_test.go | 2 ++ lib/cgolz4/cgolz4.go | 2 ++ lib/cgolz4/cgolz4_test.go | 2 ++ lib/cgolz4/notcgo.go | 2 ++ lib/cgozlib/cgozlib.go | 2 ++ lib/cgozlib/cgozlib_test.go | 2 ++ lib/cgozlib/notcgo.go | 2 ++ lib/cgozstd/cgozstd.go | 2 ++ lib/cgozstd/cgozstd_test.go | 2 ++ lib/cgozstd/notcgo.go | 2 ++ lib/compression/compression.go | 2 ++ lib/compression/compression_test.go | 2 ++ lib/dumbindent/dumbindent.go | 2 ++ lib/dumbindent/dumbindent_test.go | 2 ++ lib/flatecut/flatecut.go | 2 ++ lib/flatecut/flatecut_test.go | 2 ++ lib/internal/racdict/racdict.go | 2 ++ lib/interval/interval.go | 2 ++ lib/interval/interval_test.go | 2 ++ lib/interval/radial_test.go | 2 ++ lib/litonlylzma/example_test.go | 2 ++ lib/litonlylzma/litonlylzma.go | 2 ++ lib/litonlylzma/litonlylzma_test.go | 2 ++ lib/nie/nie.go | 2 ++ lib/rac/chunk_reader.go | 2 ++ lib/rac/chunk_writer.go | 2 ++ lib/rac/conc_reader.go | 2 ++ lib/rac/example_test.go | 2 ++ lib/rac/rac.go | 2 ++ lib/rac/rac_test.go | 2 ++ lib/rac/reader.go | 2 ++ lib/rac/writer.go | 2 ++ lib/raclz4/example_test.go | 2 ++ lib/raclz4/raclz4.go | 2 ++ lib/raczlib/example_test.go | 2 ++ lib/raczlib/make_cgo.go | 2 ++ lib/raczlib/make_notcgo.go | 2 ++ lib/raczlib/raczlib.go | 2 ++ lib/raczlib/raczlib_test.go | 2 ++ lib/raczstd/example_test.go | 2 ++ lib/raczstd/raczstd.go | 2 ++ lib/readerat/readerat.go | 2 ++ lib/zlibcut/example_test.go | 2 ++ lib/zlibcut/zlibcut.go | 2 ++ lib/zlibcut/zlibcut_test.go | 2 ++ release/c/wuffs-unsupported-snapshot.c | 2 ++ release/c/wuffs-v0.4.c | 2 ++ script/adler32-standalone.c | 2 ++ script/base38-encode.go | 2 ++ script/bench-c-deflate-fragmentation.c | 2 ++ script/bench-go-deflate/main.go | 2 ++ script/bench-go-gif/main.go | 2 ++ script/bench-go-jpeg/main.go | 2 ++ script/bench-go-png/main.go | 2 ++ script/bench-history.sh | 2 ++ script/bench-rust-deflate/src/main.rs | 2 ++ script/bench-rust-gif-dot-rs/src/main.rs | 2 ++ script/bench-rust-gif/src/main.rs | 2 ++ script/bench-rust-jpeg/src/main.rs | 2 ++ script/bench-rust-png/src/main.rs | 2 ++ script/benchstat-ratio.go | 2 ++ script/checksum.go | 2 ++ script/compress-giflzw.go | 2 ++ script/confirm-matches-djpeg.sh | 2 ++ script/convert-nie-to-png.go | 2 ++ script/convert-png-to-wbmp.go | 2 ++ script/crawl.go | 2 ++ script/draw-with-mask.go | 2 ++ script/extract-cbor-rfc-7049-examples.go | 2 ++ script/extract-deflate-offsets.go | 2 ++ script/extract-giflzw.go | 2 ++ script/extract-nia-frames.go | 2 ++ script/extract-palette-indexes.go | 2 ++ script/inline-c-relative-includes.go | 2 ++ script/litonlylzma.go | 2 ++ script/make-artificial.go | 2 ++ script/make-red-blue-gradient.go | 2 ++ script/manual-test-parse-number-f64.cc | 2 ++ script/manual-test-truncated-input.cc | 2 ++ script/mmap-ring-buffer.c | 2 ++ script/preprocess-wuffs.go | 2 ++ script/print-average-pixel.cc | 2 ++ script/print-bits.go | 2 ++ script/print-byte-frequencies.go | 2 ++ script/print-crc32-example.go | 2 ++ script/print-crc32-magic-numbers.go | 2 ++ script/print-crc32-x86-sse42-magic-numbers.go | 2 ++ script/print-deflate-huff-table-size.go | 2 ++ script/print-deflate-magic-numbers.go | 2 ++ script/print-file-sizes-json.go | 2 ++ script/print-hpd-left-shift.go | 2 ++ script/print-image-metadata.cc | 2 ++ script/print-jpeg-idct-code.go | 2 ++ script/print-jpeg-markers.go | 2 ++ script/print-json-ascii-escapes.go | 2 ++ script/print-json-token-debug-format.c | 2 ++ script/print-lzw-example.go | 2 ++ script/print-markdown-links.go | 2 ++ script/print-mpb-powers-of-10.go | 2 ++ script/print-nia-checksums.sh | 2 ++ script/print-png-latin-1.go | 2 ++ script/print-render-number-f64-tests.go | 2 ++ script/process-json-numbers.c | 2 ++ script/rac-random-seek-test.go | 2 ++ script/run-json-test-suite.sh | 2 ++ script/strip-png-ancillary-chunks.go | 2 ++ script/truncate-progressive-jpeg.go | 2 ++ script/wuffs-deflate-decoder-decode-huffman.c | 2 ++ std/adler32/common_adler32.wuffs | 2 ++ std/adler32/common_up_arm_neon.wuffs | 2 ++ std/adler32/common_up_x86_sse42.wuffs | 2 ++ std/bmp/decode_bmp.wuffs | 2 ++ std/bzip2/decode_bzip2.wuffs | 2 ++ std/bzip2/decode_flush_fast.wuffs | 2 ++ std/bzip2/decode_flush_slow.wuffs | 2 ++ std/bzip2/decode_huffman_fast.wuffs | 2 ++ std/bzip2/decode_huffman_slow.wuffs | 2 ++ std/cbor/decode_cbor.wuffs | 2 ++ std/crc32/common_crc32.wuffs | 2 ++ std/crc32/common_up_arm_crc32.wuffs | 2 ++ std/crc32/common_up_x86_avx2.wuffs | 2 ++ std/crc32/common_up_x86_sse42.wuffs | 2 ++ std/deflate/common_consts.wuffs | 2 ++ std/deflate/decode_deflate.wuffs | 2 ++ std/deflate/decode_huffman_bmi2.wuffs | 2 ++ std/deflate/decode_huffman_fast32.wuffs | 2 ++ std/deflate/decode_huffman_fast64.wuffs | 2 ++ std/deflate/decode_huffman_slow.wuffs | 2 ++ std/gif/common_consts.wuffs | 2 ++ std/gif/decode_gif.wuffs | 2 ++ std/gif/decode_lzw.wuffs | 2 ++ std/gif/decode_quirks.wuffs | 2 ++ std/gzip/decode_gzip.wuffs | 2 ++ std/jpeg/common_consts.wuffs | 2 ++ std/jpeg/decode_idct_default.wuffs | 2 ++ std/jpeg/decode_idct_x86_avx2.wuffs | 2 ++ std/jpeg/decode_jpeg.wuffs | 2 ++ std/jpeg/decode_load_smooth.wuffs | 2 ++ std/jpeg/decode_mcu_default.wuffs | 2 ++ std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs | 2 ++ std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs | 2 ++ std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs | 2 ++ std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs | 2 ++ std/json/common_consts.wuffs | 2 ++ std/json/decode_json.wuffs | 2 ++ std/json/decode_quirks.wuffs | 2 ++ std/lzw/decode_lzw.wuffs | 2 ++ std/lzw/decode_quirks.wuffs | 2 ++ std/netpbm/decode_netpbm.wuffs | 2 ++ std/nie/decode_nie.wuffs | 2 ++ std/png/common_consts.wuffs | 2 ++ std/png/decode_filter_arm_neon.wuffs | 2 ++ std/png/decode_filter_fallback.wuffs | 2 ++ std/png/decode_filter_x86_sse42.wuffs | 2 ++ std/png/decode_png.wuffs | 2 ++ std/png/decode_swizzle_default.wuffs | 2 ++ std/png/decode_swizzle_tricky.wuffs | 2 ++ std/tga/decode_tga.wuffs | 2 ++ std/wbmp/decode_wbmp.wuffs | 2 ++ std/xxhash32/common_xxhash32.wuffs | 2 ++ std/xxhash64/common_xxhash64.wuffs | 2 ++ std/zlib/decode_quirks.wuffs | 2 ++ std/zlib/decode_zlib.wuffs | 2 ++ test/3pdata/fetch-blinksuite.sh | 2 ++ test/3pdata/fetch-bmpsuite.sh | 2 ++ test/3pdata/fetch-golangsuite.sh | 2 ++ test/3pdata/fetch-pngsuite.sh | 2 ++ test/3pdata/fetch-tgasuite.sh | 2 ++ test/c/mimiclib/bzip2.c | 2 ++ test/c/mimiclib/deflate-gzip-zlib.c | 2 ++ test/c/mimiclib/gif.c | 2 ++ test/c/mimiclib/jpeg.c | 2 ++ test/c/mimiclib/png.c | 2 ++ test/c/mimiclib/stb.c | 2 ++ test/c/mimiclib/xxhash.c | 2 ++ test/c/std/adler32.c | 2 ++ test/c/std/bmp.c | 2 ++ test/c/std/bzip2.c | 2 ++ test/c/std/cbor.c | 2 ++ test/c/std/crc32.c | 2 ++ test/c/std/deflate.c | 2 ++ test/c/std/gif.c | 2 ++ test/c/std/gzip.c | 2 ++ test/c/std/jpeg.c | 2 ++ test/c/std/json.c | 2 ++ test/c/std/lzw.c | 2 ++ test/c/std/netpbm.c | 2 ++ test/c/std/nie.c | 2 ++ test/c/std/png.c | 2 ++ test/c/std/tga.c | 2 ++ test/c/std/wbmp.c | 2 ++ test/c/std/xxhash32.c | 2 ++ test/c/std/xxhash64.c | 2 ++ test/c/std/zlib.c | 2 ++ test/c/testlib/testlib.c | 2 ++ test/data/hello.sh | 2 ++ 313 files changed, 634 insertions(+) diff --git a/build-all.sh b/build-all.sh index 9f0e0b3a..39fd423e 100755 --- a/build-all.sh +++ b/build-all.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/build-example.sh b/build-example.sh index 239101ae..0d212fc5 100755 --- a/build-example.sh +++ b/build-example.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/build-fuzz.sh b/build-fuzz.sh index 38b41cd8..6d51fad7 100755 --- a/build-fuzz.sh +++ b/build-fuzz.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/cmd/commonflags/commonflags.go b/cmd/commonflags/commonflags.go index 61ff7e66..b93764cb 100644 --- a/cmd/commonflags/commonflags.go +++ b/cmd/commonflags/commonflags.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/cmd/dumbindent/main.go b/cmd/dumbindent/main.go index 68530c28..2e0393af 100644 --- a/cmd/dumbindent/main.go +++ b/cmd/dumbindent/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/cmd/ractool/data.go b/cmd/ractool/data.go index b2640046..6b5ce52a 100644 --- a/cmd/ractool/data.go +++ b/cmd/ractool/data.go @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/ractool/gen.go b/cmd/ractool/gen.go index 6978011e..14674413 100644 --- a/cmd/ractool/gen.go +++ b/cmd/ractool/gen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore @@ -56,6 +58,8 @@ func main1() error { // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/ractool/main.go b/cmd/ractool/main.go index 1e31fcdf..c6456594 100644 --- a/cmd/ractool/main.go +++ b/cmd/ractool/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/cmd/wuffs-c/genlib.go b/cmd/wuffs-c/genlib.go index 082edc4f..e40cdcfd 100644 --- a/cmd/wuffs-c/genlib.go +++ b/cmd/wuffs-c/genlib.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffs-c/main.go b/cmd/wuffs-c/main.go index ad7761a1..bae99d0e 100644 --- a/cmd/wuffs-c/main.go +++ b/cmd/wuffs-c/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/cmd/wuffs-c/release.go b/cmd/wuffs-c/release.go index 61d1de07..25cdff36 100644 --- a/cmd/wuffs-c/release.go +++ b/cmd/wuffs-c/release.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffs-c/test.go b/cmd/wuffs-c/test.go index e0a230ac..1a7144de 100644 --- a/cmd/wuffs-c/test.go +++ b/cmd/wuffs-c/test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffs/gen.go b/cmd/wuffs/gen.go index 7be20669..8402fe2b 100644 --- a/cmd/wuffs/gen.go +++ b/cmd/wuffs/gen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffs/main.go b/cmd/wuffs/main.go index 085ed6ca..1250210d 100644 --- a/cmd/wuffs/main.go +++ b/cmd/wuffs/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/cmd/wuffs/release.go b/cmd/wuffs/release.go index 62a5aa64..2d42d7e7 100644 --- a/cmd/wuffs/release.go +++ b/cmd/wuffs/release.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffs/test.go b/cmd/wuffs/test.go index ac24af63..e6fc4f7a 100644 --- a/cmd/wuffs/test.go +++ b/cmd/wuffs/test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package main diff --git a/cmd/wuffsfmt/main.go b/cmd/wuffsfmt/main.go index 2ea6f0b8..0f4630ca 100644 --- a/cmd/wuffsfmt/main.go +++ b/cmd/wuffsfmt/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/bzcat/bzcat.c b/example/bzcat/bzcat.c index 9036adca..55bf56d8 100644 --- a/example/bzcat/bzcat.c +++ b/example/bzcat/bzcat.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/cbor-to-json/cbor-to-json.cc b/example/cbor-to-json/cbor-to-json.cc index 956223d5..10c80f4b 100644 --- a/example/cbor-to-json/cbor-to-json.cc +++ b/example/cbor-to-json/cbor-to-json.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/convert-to-nia/convert-to-nia.c b/example/convert-to-nia/convert-to-nia.c index c3640d1e..e2d0a99f 100644 --- a/example/convert-to-nia/convert-to-nia.c +++ b/example/convert-to-nia/convert-to-nia.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/crc32/crc32.cc b/example/crc32/crc32.cc index 41404f7b..683621ad 100644 --- a/example/crc32/crc32.cc +++ b/example/crc32/crc32.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/gifplayer/gifplayer.c b/example/gifplayer/gifplayer.c index e5e5f0d0..9de06058 100644 --- a/example/gifplayer/gifplayer.c +++ b/example/gifplayer/gifplayer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/imageviewer/imageviewer.cc b/example/imageviewer/imageviewer.cc index 29a18fd7..e89bd7d3 100644 --- a/example/imageviewer/imageviewer.cc +++ b/example/imageviewer/imageviewer.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/json-to-cbor/json-to-cbor.cc b/example/json-to-cbor/json-to-cbor.cc index 5a824865..f884e79e 100644 --- a/example/json-to-cbor/json-to-cbor.cc +++ b/example/json-to-cbor/json-to-cbor.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/jsonfindptrs/jsonfindptrs.cc b/example/jsonfindptrs/jsonfindptrs.cc index 96960320..064c833b 100644 --- a/example/jsonfindptrs/jsonfindptrs.cc +++ b/example/jsonfindptrs/jsonfindptrs.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/jsonptr/jsonptr.cc b/example/jsonptr/jsonptr.cc index 8b8aaef7..22acd230 100644 --- a/example/jsonptr/jsonptr.cc +++ b/example/jsonptr/jsonptr.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/sdl-imageviewer/sdl-imageviewer.cc b/example/sdl-imageviewer/sdl-imageviewer.cc index e775b359..3d186f0a 100644 --- a/example/sdl-imageviewer/sdl-imageviewer.cc +++ b/example/sdl-imageviewer/sdl-imageviewer.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/toy-aux-image/toy-aux-image.cc b/example/toy-aux-image/toy-aux-image.cc index 66c192ec..2873d112 100644 --- a/example/toy-aux-image/toy-aux-image.cc +++ b/example/toy-aux-image/toy-aux-image.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/toy-genlib/toy-genlib.c b/example/toy-genlib/toy-genlib.c index fae13bb5..915e46f9 100644 --- a/example/toy-genlib/toy-genlib.c +++ b/example/toy-genlib/toy-genlib.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/example/zcat/zcat.c b/example/zcat/zcat.c index 5240e5c2..b5db09c4 100644 --- a/example/zcat/zcat.c +++ b/example/zcat/zcat.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/fuzzlib/fuzzlib.c b/fuzz/c/fuzzlib/fuzzlib.c index 0af1623e..de34988f 100644 --- a/fuzz/c/fuzzlib/fuzzlib.c +++ b/fuzz/c/fuzzlib/fuzzlib.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/fuzz/c/fuzzlib/fuzzlib_image_decoder.c b/fuzz/c/fuzzlib/fuzzlib_image_decoder.c index 980b9549..38f14cf3 100644 --- a/fuzz/c/fuzzlib/fuzzlib_image_decoder.c +++ b/fuzz/c/fuzzlib/fuzzlib_image_decoder.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #ifndef WUFFS_INCLUDE_GUARD #error "Wuffs' .h files need to be included before this file" diff --git a/fuzz/c/std/bmp_fuzzer.c b/fuzz/c/std/bmp_fuzzer.c index a0971b80..19691d42 100644 --- a/fuzz/c/std/bmp_fuzzer.c +++ b/fuzz/c/std/bmp_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/bzip2_fuzzer.c b/fuzz/c/std/bzip2_fuzzer.c index 17a785a2..875327f5 100644 --- a/fuzz/c/std/bzip2_fuzzer.c +++ b/fuzz/c/std/bzip2_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/cbor_fuzzer.c b/fuzz/c/std/cbor_fuzzer.c index 80dc8815..be7fc5b4 100644 --- a/fuzz/c/std/cbor_fuzzer.c +++ b/fuzz/c/std/cbor_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/gif_fuzzer.c b/fuzz/c/std/gif_fuzzer.c index 92803311..0ee4daa0 100644 --- a/fuzz/c/std/gif_fuzzer.c +++ b/fuzz/c/std/gif_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/jpeg_fuzzer.c b/fuzz/c/std/jpeg_fuzzer.c index 67763847..62d7c076 100644 --- a/fuzz/c/std/jpeg_fuzzer.c +++ b/fuzz/c/std/jpeg_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/json_fuzzer.cc b/fuzz/c/std/json_fuzzer.cc index 42dbdd70..102aa8af 100644 --- a/fuzz/c/std/json_fuzzer.cc +++ b/fuzz/c/std/json_fuzzer.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/pixel_swizzler_fuzzer.c b/fuzz/c/std/pixel_swizzler_fuzzer.c index 6d1d1545..a57513a7 100644 --- a/fuzz/c/std/pixel_swizzler_fuzzer.c +++ b/fuzz/c/std/pixel_swizzler_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/png_fuzzer.c b/fuzz/c/std/png_fuzzer.c index defa14e0..2a87b762 100644 --- a/fuzz/c/std/png_fuzzer.c +++ b/fuzz/c/std/png_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/tga_fuzzer.c b/fuzz/c/std/tga_fuzzer.c index 841d359e..6fbb0b55 100644 --- a/fuzz/c/std/tga_fuzzer.c +++ b/fuzz/c/std/tga_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/fuzz/c/std/zlib_fuzzer.c b/fuzz/c/std/zlib_fuzzer.c index 1b69d6ed..3209f746 100644 --- a/fuzz/c/std/zlib_fuzzer.c +++ b/fuzz/c/std/zlib_fuzzer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/hello-wuffs-c/main.c b/hello-wuffs-c/main.c index 1cc41821..7f357384 100644 --- a/hello-wuffs-c/main.c +++ b/hello-wuffs-c/main.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/hello-wuffs-c/naive-parse.c b/hello-wuffs-c/naive-parse.c index c6de6410..2ddb575d 100644 --- a/hello-wuffs-c/naive-parse.c +++ b/hello-wuffs-c/naive-parse.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/hello-wuffs-c/parse.wuffs b/hello-wuffs-c/parse.wuffs index 0e15fa32..2e6ba6f5 100644 --- a/hello-wuffs-c/parse.wuffs +++ b/hello-wuffs-c/parse.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri status "#not a digit" pri status "#too large" diff --git a/hello-wuffs-c/run.sh b/hello-wuffs-c/run.sh index 9d7bc76a..e985c9a7 100755 --- a/hello-wuffs-c/run.sh +++ b/hello-wuffs-c/run.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/hello-wuffs-c/wuffs-base.c b/hello-wuffs-c/wuffs-base.c index 828c873a..65fe9bfb 100644 --- a/hello-wuffs-c/wuffs-base.c +++ b/hello-wuffs-c/wuffs-base.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/hello-wuffs-c/wuffs-parse.c b/hello-wuffs-c/wuffs-parse.c index f9afd6d4..adbec626 100644 --- a/hello-wuffs-c/wuffs-parse.c +++ b/hello-wuffs-c/wuffs-parse.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/internal/cgen/auxiliary/base.cc b/internal/cgen/auxiliary/base.cc index 8c048e66..3ec75729 100644 --- a/internal/cgen/auxiliary/base.cc +++ b/internal/cgen/auxiliary/base.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - Base diff --git a/internal/cgen/auxiliary/base.hh b/internal/cgen/auxiliary/base.hh index f1b96b7d..f0b2447c 100644 --- a/internal/cgen/auxiliary/base.hh +++ b/internal/cgen/auxiliary/base.hh @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - Base diff --git a/internal/cgen/auxiliary/cbor.cc b/internal/cgen/auxiliary/cbor.cc index 944753c2..fb55a5d7 100644 --- a/internal/cgen/auxiliary/cbor.cc +++ b/internal/cgen/auxiliary/cbor.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - CBOR diff --git a/internal/cgen/auxiliary/cbor.hh b/internal/cgen/auxiliary/cbor.hh index 1a109651..c45e1149 100644 --- a/internal/cgen/auxiliary/cbor.hh +++ b/internal/cgen/auxiliary/cbor.hh @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - CBOR diff --git a/internal/cgen/auxiliary/image.cc b/internal/cgen/auxiliary/image.cc index 1199f6de..a723ecaa 100644 --- a/internal/cgen/auxiliary/image.cc +++ b/internal/cgen/auxiliary/image.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - Image diff --git a/internal/cgen/auxiliary/image.hh b/internal/cgen/auxiliary/image.hh index 90327516..efe3d6c2 100644 --- a/internal/cgen/auxiliary/image.hh +++ b/internal/cgen/auxiliary/image.hh @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - Image diff --git a/internal/cgen/auxiliary/json.cc b/internal/cgen/auxiliary/json.cc index 1c2d5ec8..ffef6124 100644 --- a/internal/cgen/auxiliary/json.cc +++ b/internal/cgen/auxiliary/json.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - JSON diff --git a/internal/cgen/auxiliary/json.hh b/internal/cgen/auxiliary/json.hh index bc5fd9ba..c0ce43f8 100644 --- a/internal/cgen/auxiliary/json.hh +++ b/internal/cgen/auxiliary/json.hh @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Auxiliary - JSON diff --git a/internal/cgen/base/all-impl.c b/internal/cgen/base/all-impl.c index 2f63c61c..4a9ed532 100644 --- a/internal/cgen/base/all-impl.c +++ b/internal/cgen/base/all-impl.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #ifndef WUFFS_INCLUDE_GUARD__BASE #define WUFFS_INCLUDE_GUARD__BASE diff --git a/internal/cgen/base/floatconv-submodule-code.c b/internal/cgen/base/floatconv-submodule-code.c index 460dbd76..672f65e1 100644 --- a/internal/cgen/base/floatconv-submodule-code.c +++ b/internal/cgen/base/floatconv-submodule-code.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- IEEE 754 Floating Point diff --git a/internal/cgen/base/floatconv-submodule-data.c b/internal/cgen/base/floatconv-submodule-data.c index 465f3d72..4f6d7bd9 100644 --- a/internal/cgen/base/floatconv-submodule-data.c +++ b/internal/cgen/base/floatconv-submodule-data.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- IEEE 754 Floating Point diff --git a/internal/cgen/base/fundamental-private.h b/internal/cgen/base/fundamental-private.h index 7c9cd4e9..f1aad9ed 100644 --- a/internal/cgen/base/fundamental-private.h +++ b/internal/cgen/base/fundamental-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Fundamentals diff --git a/internal/cgen/base/fundamental-public.h b/internal/cgen/base/fundamental-public.h index 84090df5..4fdc5bb4 100644 --- a/internal/cgen/base/fundamental-public.h +++ b/internal/cgen/base/fundamental-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Version diff --git a/internal/cgen/base/image-private.h b/internal/cgen/base/image-private.h index f96d0951..87797293 100644 --- a/internal/cgen/base/image-private.h +++ b/internal/cgen/base/image-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Images diff --git a/internal/cgen/base/image-public.h b/internal/cgen/base/image-public.h index 22c0c5f1..ce16e1f0 100644 --- a/internal/cgen/base/image-public.h +++ b/internal/cgen/base/image-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Images diff --git a/internal/cgen/base/intconv-submodule.c b/internal/cgen/base/intconv-submodule.c index 86191eb7..d9c4b9f2 100644 --- a/internal/cgen/base/intconv-submodule.c +++ b/internal/cgen/base/intconv-submodule.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Integer diff --git a/internal/cgen/base/io-private.h b/internal/cgen/base/io-private.h index 20ee0b3a..4b879a3f 100644 --- a/internal/cgen/base/io-private.h +++ b/internal/cgen/base/io-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- I/O diff --git a/internal/cgen/base/io-public.h b/internal/cgen/base/io-public.h index 07715ff9..55137959 100644 --- a/internal/cgen/base/io-public.h +++ b/internal/cgen/base/io-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- I/O // diff --git a/internal/cgen/base/magic-submodule.c b/internal/cgen/base/magic-submodule.c index cd1d96dc..76184604 100644 --- a/internal/cgen/base/magic-submodule.c +++ b/internal/cgen/base/magic-submodule.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Magic Numbers diff --git a/internal/cgen/base/memory-private.h b/internal/cgen/base/memory-private.h index 4835c004..29d64bbd 100644 --- a/internal/cgen/base/memory-private.h +++ b/internal/cgen/base/memory-private.h @@ -5,5 +5,7 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Memory Allocation diff --git a/internal/cgen/base/memory-public.h b/internal/cgen/base/memory-public.h index 9eff2d9c..bef9cf8d 100644 --- a/internal/cgen/base/memory-public.h +++ b/internal/cgen/base/memory-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Memory Allocation diff --git a/internal/cgen/base/pixconv-submodule-regular.c b/internal/cgen/base/pixconv-submodule-regular.c index e511c576..662fc115 100644 --- a/internal/cgen/base/pixconv-submodule-regular.c +++ b/internal/cgen/base/pixconv-submodule-regular.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Pixel Swizzler diff --git a/internal/cgen/base/pixconv-submodule-x86-avx2.c b/internal/cgen/base/pixconv-submodule-x86-avx2.c index ba5947c0..c0b31d3e 100644 --- a/internal/cgen/base/pixconv-submodule-x86-avx2.c +++ b/internal/cgen/base/pixconv-submodule-x86-avx2.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/internal/cgen/base/pixconv-submodule-ycck.c b/internal/cgen/base/pixconv-submodule-ycck.c index 66e2e1bd..2a636803 100644 --- a/internal/cgen/base/pixconv-submodule-ycck.c +++ b/internal/cgen/base/pixconv-submodule-ycck.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/internal/cgen/base/range-private.h b/internal/cgen/base/range-private.h index 775374ac..12da4e97 100644 --- a/internal/cgen/base/range-private.h +++ b/internal/cgen/base/range-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Ranges and Rects diff --git a/internal/cgen/base/range-public.h b/internal/cgen/base/range-public.h index 84ed5ece..06facfac 100644 --- a/internal/cgen/base/range-public.h +++ b/internal/cgen/base/range-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Ranges and Rects diff --git a/internal/cgen/base/strconv-private.h b/internal/cgen/base/strconv-private.h index a9189254..05d22aaf 100644 --- a/internal/cgen/base/strconv-private.h +++ b/internal/cgen/base/strconv-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- String Conversions diff --git a/internal/cgen/base/strconv-public.h b/internal/cgen/base/strconv-public.h index 0b2afe5b..1f5efb18 100644 --- a/internal/cgen/base/strconv-public.h +++ b/internal/cgen/base/strconv-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- String Conversions diff --git a/internal/cgen/base/token-private.h b/internal/cgen/base/token-private.h index 7740402f..c8a8b2d9 100644 --- a/internal/cgen/base/token-private.h +++ b/internal/cgen/base/token-private.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Tokens diff --git a/internal/cgen/base/token-public.h b/internal/cgen/base/token-public.h index e1846f79..acb3eb7a 100644 --- a/internal/cgen/base/token-public.h +++ b/internal/cgen/base/token-public.h @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Tokens diff --git a/internal/cgen/base/utf8-submodule.c b/internal/cgen/base/utf8-submodule.c index 1d01d8dc..e49854bd 100644 --- a/internal/cgen/base/utf8-submodule.c +++ b/internal/cgen/base/utf8-submodule.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- Unicode and UTF-8 diff --git a/internal/cgen/builtin.go b/internal/cgen/builtin.go index f6d90e74..bddd675d 100644 --- a/internal/cgen/builtin.go +++ b/internal/cgen/builtin.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/cgen.go b/internal/cgen/cgen.go index 18517fa1..dee7409f 100644 --- a/internal/cgen/cgen.go +++ b/internal/cgen/cgen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/embed.go b/internal/cgen/embed.go index e45c6077..40f4231d 100644 --- a/internal/cgen/embed.go +++ b/internal/cgen/embed.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/expr.go b/internal/cgen/expr.go index cb6a77e5..da09b1d7 100644 --- a/internal/cgen/expr.go +++ b/internal/cgen/expr.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/func.go b/internal/cgen/func.go index 389a49da..380a0cd7 100644 --- a/internal/cgen/func.go +++ b/internal/cgen/func.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/liveness.go b/internal/cgen/liveness.go index 0dc3da0c..8b940622 100644 --- a/internal/cgen/liveness.go +++ b/internal/cgen/liveness.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/statement.go b/internal/cgen/statement.go index 108a9149..4678d521 100644 --- a/internal/cgen/statement.go +++ b/internal/cgen/statement.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/cgen/var.go b/internal/cgen/var.go index cb52d527..6569ac69 100644 --- a/internal/cgen/var.go +++ b/internal/cgen/var.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgen diff --git a/internal/testcut/testcut.go b/internal/testcut/testcut.go index 81e65fad..19ed6dfd 100644 --- a/internal/testcut/testcut.go +++ b/internal/testcut/testcut.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // Package testcut provides support for testing flatecut and zlibcut. package testcut diff --git a/lang/ast/ast.go b/lang/ast/ast.go index 0a203d0b..67d08f14 100644 --- a/lang/ast/ast.go +++ b/lang/ast/ast.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package ast diff --git a/lang/ast/eq.go b/lang/ast/eq.go index d2a1710c..afa905ba 100644 --- a/lang/ast/eq.go +++ b/lang/ast/eq.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package ast diff --git a/lang/ast/sort.go b/lang/ast/sort.go index 1cf8c56a..d49cde50 100644 --- a/lang/ast/sort.go +++ b/lang/ast/sort.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package ast diff --git a/lang/ast/string.go b/lang/ast/string.go index 859dc574..69c38343 100644 --- a/lang/ast/string.go +++ b/lang/ast/string.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package ast diff --git a/lang/ast/string_test.go b/lang/ast/string_test.go index 79ee0c76..90a6494c 100644 --- a/lang/ast/string_test.go +++ b/lang/ast/string_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package ast_test diff --git a/lang/builtin/builtin.go b/lang/builtin/builtin.go index 8abb51e4..5ffb64ad 100644 --- a/lang/builtin/builtin.go +++ b/lang/builtin/builtin.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:generate go run gen.go diff --git a/lang/builtin/data.go b/lang/builtin/data.go index 05525546..79a5c66e 100644 --- a/lang/builtin/data.go +++ b/lang/builtin/data.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // See the License for the specific language governing permissions and // limitations under the License. diff --git a/lang/builtin/gen.go b/lang/builtin/gen.go index 553b67f2..84b6c3eb 100644 --- a/lang/builtin/gen.go +++ b/lang/builtin/gen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore @@ -170,6 +172,8 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package builtin diff --git a/lang/check/assert.go b/lang/check/assert.go index 8772f158..15a1ba66 100644 --- a/lang/check/assert.go +++ b/lang/check/assert.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/bounds.go b/lang/check/bounds.go index df4dbde1..c8809b12 100644 --- a/lang/check/bounds.go +++ b/lang/check/bounds.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/check.go b/lang/check/check.go index 5be43860..2ad59084 100644 --- a/lang/check/check.go +++ b/lang/check/check.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:generate go run gen.go diff --git a/lang/check/check_test.go b/lang/check/check_test.go index f42d7839..c47aca7a 100644 --- a/lang/check/check_test.go +++ b/lang/check/check_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/data.go b/lang/check/data.go index 0da2a975..e381f8de 100644 --- a/lang/check/data.go +++ b/lang/check/data.go @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/gen.go b/lang/check/gen.go index 16ddbf3b..5bc34c84 100644 --- a/lang/check/gen.go +++ b/lang/check/gen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore @@ -339,6 +341,8 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/optimize.go b/lang/check/optimize.go index dea174d2..42458e7e 100644 --- a/lang/check/optimize.go +++ b/lang/check/optimize.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/resolve.go b/lang/check/resolve.go index 6725b10e..1bfa17f9 100644 --- a/lang/check/resolve.go +++ b/lang/check/resolve.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/check/type.go b/lang/check/type.go index 766e0816..cecf843e 100644 --- a/lang/check/type.go +++ b/lang/check/type.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package check diff --git a/lang/generate/generate.go b/lang/generate/generate.go index 4cba13e3..f896e70d 100644 --- a/lang/generate/generate.go +++ b/lang/generate/generate.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package generate diff --git a/lang/parse/parse.go b/lang/parse/parse.go index d72a836d..b50433de 100644 --- a/lang/parse/parse.go +++ b/lang/parse/parse.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package parse diff --git a/lang/render/render.go b/lang/render/render.go index eff91d7d..1cfb41ce 100644 --- a/lang/render/render.go +++ b/lang/render/render.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package render diff --git a/lang/token/list.go b/lang/token/list.go index 4994fd80..7278d600 100644 --- a/lang/token/list.go +++ b/lang/token/list.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package token diff --git a/lang/token/token.go b/lang/token/token.go index 5e9d74d8..1b981a07 100644 --- a/lang/token/token.go +++ b/lang/token/token.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package token diff --git a/lang/wuffsroot/wuffsroot.go b/lang/wuffsroot/wuffsroot.go index b88e13c0..b48938fd 100644 --- a/lang/wuffsroot/wuffsroot.go +++ b/lang/wuffsroot/wuffsroot.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package wuffsroot diff --git a/lib/armneonintrinsics/ani.go b/lib/armneonintrinsics/ani.go index b5916154..58d236f9 100644 --- a/lib/armneonintrinsics/ani.go +++ b/lib/armneonintrinsics/ani.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/armneonintrinsics/data.go b/lib/armneonintrinsics/data.go index 2b319db7..51a95681 100644 --- a/lib/armneonintrinsics/data.go +++ b/lib/armneonintrinsics/data.go @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package armneonintrinsics diff --git a/lib/armneonintrinsics/example_test.go b/lib/armneonintrinsics/example_test.go index e09cd407..0b97492d 100644 --- a/lib/armneonintrinsics/example_test.go +++ b/lib/armneonintrinsics/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package armneonintrinsics_test diff --git a/lib/armneonintrinsics/gen.go b/lib/armneonintrinsics/gen.go index ece0bc8c..196b9c7c 100644 --- a/lib/armneonintrinsics/gen.go +++ b/lib/armneonintrinsics/gen.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- @@ -381,6 +383,8 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package armneonintrinsics ` diff --git a/lib/armneonintrinsics/type.go b/lib/armneonintrinsics/type.go index 9767231f..19284930 100644 --- a/lib/armneonintrinsics/type.go +++ b/lib/armneonintrinsics/type.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package armneonintrinsics diff --git a/lib/base38/base38.go b/lib/base38/base38.go index 08b72e7b..48e08e30 100644 --- a/lib/base38/base38.go +++ b/lib/base38/base38.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/base38/base38_test.go b/lib/base38/base38_test.go index 3d28000a..7f2ba40f 100644 --- a/lib/base38/base38_test.go +++ b/lib/base38/base38_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package base38 diff --git a/lib/cgolz4/cgolz4.go b/lib/cgolz4/cgolz4.go index 723ea739..7230fa63 100644 --- a/lib/cgolz4/cgolz4.go +++ b/lib/cgolz4/cgolz4.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/cgolz4/cgolz4_test.go b/lib/cgolz4/cgolz4_test.go index 3f7a1dde..45c00c12 100644 --- a/lib/cgolz4/cgolz4_test.go +++ b/lib/cgolz4/cgolz4_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgolz4 diff --git a/lib/cgolz4/notcgo.go b/lib/cgolz4/notcgo.go index a5c3dbc8..f055becf 100644 --- a/lib/cgolz4/notcgo.go +++ b/lib/cgolz4/notcgo.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/cgozlib/cgozlib.go b/lib/cgozlib/cgozlib.go index e78e6b53..f6bfc1fe 100644 --- a/lib/cgozlib/cgozlib.go +++ b/lib/cgozlib/cgozlib.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/cgozlib/cgozlib_test.go b/lib/cgozlib/cgozlib_test.go index 2d581b28..697bba1c 100644 --- a/lib/cgozlib/cgozlib_test.go +++ b/lib/cgozlib/cgozlib_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgozlib diff --git a/lib/cgozlib/notcgo.go b/lib/cgozlib/notcgo.go index 49b60f92..08e60376 100644 --- a/lib/cgozlib/notcgo.go +++ b/lib/cgozlib/notcgo.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/cgozstd/cgozstd.go b/lib/cgozstd/cgozstd.go index 00896c80..84eba34b 100644 --- a/lib/cgozstd/cgozstd.go +++ b/lib/cgozstd/cgozstd.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/cgozstd/cgozstd_test.go b/lib/cgozstd/cgozstd_test.go index 5a7e620c..66bd0aee 100644 --- a/lib/cgozstd/cgozstd_test.go +++ b/lib/cgozstd/cgozstd_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package cgozstd diff --git a/lib/cgozstd/notcgo.go b/lib/cgozstd/notcgo.go index 1545cba8..850371ce 100644 --- a/lib/cgozstd/notcgo.go +++ b/lib/cgozstd/notcgo.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/compression/compression.go b/lib/compression/compression.go index e22eeca4..97db736e 100644 --- a/lib/compression/compression.go +++ b/lib/compression/compression.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/compression/compression_test.go b/lib/compression/compression_test.go index 83c54211..4ea63fff 100644 --- a/lib/compression/compression_test.go +++ b/lib/compression/compression_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package compression diff --git a/lib/dumbindent/dumbindent.go b/lib/dumbindent/dumbindent.go index 2f394f46..cf2ea6cd 100644 --- a/lib/dumbindent/dumbindent.go +++ b/lib/dumbindent/dumbindent.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/dumbindent/dumbindent_test.go b/lib/dumbindent/dumbindent_test.go index af869b59..e6e3b045 100644 --- a/lib/dumbindent/dumbindent_test.go +++ b/lib/dumbindent/dumbindent_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package dumbindent diff --git a/lib/flatecut/flatecut.go b/lib/flatecut/flatecut.go index df9d96fa..befe9dbf 100644 --- a/lib/flatecut/flatecut.go +++ b/lib/flatecut/flatecut.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/flatecut/flatecut_test.go b/lib/flatecut/flatecut_test.go index a64c136c..d2823d7a 100644 --- a/lib/flatecut/flatecut_test.go +++ b/lib/flatecut/flatecut_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package flatecut diff --git a/lib/internal/racdict/racdict.go b/lib/internal/racdict/racdict.go index 8e278b98..26b0e1fe 100644 --- a/lib/internal/racdict/racdict.go +++ b/lib/internal/racdict/racdict.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/interval/interval.go b/lib/interval/interval.go index 2fd28084..776cce20 100644 --- a/lib/interval/interval.go +++ b/lib/interval/interval.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/interval/interval_test.go b/lib/interval/interval_test.go index b51cf7a6..2a555805 100644 --- a/lib/interval/interval_test.go +++ b/lib/interval/interval_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package interval diff --git a/lib/interval/radial_test.go b/lib/interval/radial_test.go index 57f26c3d..681f2a7b 100644 --- a/lib/interval/radial_test.go +++ b/lib/interval/radial_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package interval diff --git a/lib/litonlylzma/example_test.go b/lib/litonlylzma/example_test.go index 121306e6..e421450d 100644 --- a/lib/litonlylzma/example_test.go +++ b/lib/litonlylzma/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package litonlylzma_test diff --git a/lib/litonlylzma/litonlylzma.go b/lib/litonlylzma/litonlylzma.go index c4a7ca25..591c2ed6 100644 --- a/lib/litonlylzma/litonlylzma.go +++ b/lib/litonlylzma/litonlylzma.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/litonlylzma/litonlylzma_test.go b/lib/litonlylzma/litonlylzma_test.go index 8e4962aa..cfd3dc99 100644 --- a/lib/litonlylzma/litonlylzma_test.go +++ b/lib/litonlylzma/litonlylzma_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package litonlylzma diff --git a/lib/nie/nie.go b/lib/nie/nie.go index 84b4d709..14506983 100644 --- a/lib/nie/nie.go +++ b/lib/nie/nie.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/rac/chunk_reader.go b/lib/rac/chunk_reader.go index 501a67b7..8588b09f 100644 --- a/lib/rac/chunk_reader.go +++ b/lib/rac/chunk_reader.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/rac/chunk_writer.go b/lib/rac/chunk_writer.go index e72619cf..2882d38c 100644 --- a/lib/rac/chunk_writer.go +++ b/lib/rac/chunk_writer.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/rac/conc_reader.go b/lib/rac/conc_reader.go index e84e7539..8fdc2006 100644 --- a/lib/rac/conc_reader.go +++ b/lib/rac/conc_reader.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/rac/example_test.go b/lib/rac/example_test.go index e473fce5..c5bb8d66 100644 --- a/lib/rac/example_test.go +++ b/lib/rac/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac_test diff --git a/lib/rac/rac.go b/lib/rac/rac.go index 60900e1c..71455739 100644 --- a/lib/rac/rac.go +++ b/lib/rac/rac.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/rac/rac_test.go b/lib/rac/rac_test.go index 94260d1e..4016f1ae 100644 --- a/lib/rac/rac_test.go +++ b/lib/rac/rac_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/rac/reader.go b/lib/rac/reader.go index 6e82026f..eed3f4e9 100644 --- a/lib/rac/reader.go +++ b/lib/rac/reader.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/rac/writer.go b/lib/rac/writer.go index 1743a74d..22d0c7b9 100644 --- a/lib/rac/writer.go +++ b/lib/rac/writer.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package rac diff --git a/lib/raclz4/example_test.go b/lib/raclz4/example_test.go index 61f45dc3..b968d640 100644 --- a/lib/raclz4/example_test.go +++ b/lib/raclz4/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package raclz4_test diff --git a/lib/raclz4/raclz4.go b/lib/raclz4/raclz4.go index bd30136a..20f50d82 100644 --- a/lib/raclz4/raclz4.go +++ b/lib/raclz4/raclz4.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/raczlib/example_test.go b/lib/raczlib/example_test.go index c580a7fa..ac5fd9f0 100644 --- a/lib/raczlib/example_test.go +++ b/lib/raczlib/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package raczlib_test diff --git a/lib/raczlib/make_cgo.go b/lib/raczlib/make_cgo.go index e1aa8b43..7449520f 100644 --- a/lib/raczlib/make_cgo.go +++ b/lib/raczlib/make_cgo.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build cgo // +build cgo diff --git a/lib/raczlib/make_notcgo.go b/lib/raczlib/make_notcgo.go index edc7b9bb..c533d16d 100644 --- a/lib/raczlib/make_notcgo.go +++ b/lib/raczlib/make_notcgo.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build !cgo // +build !cgo diff --git a/lib/raczlib/raczlib.go b/lib/raczlib/raczlib.go index e94fc0be..99981271 100644 --- a/lib/raczlib/raczlib.go +++ b/lib/raczlib/raczlib.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/raczlib/raczlib_test.go b/lib/raczlib/raczlib_test.go index 98b97b28..955cbec0 100644 --- a/lib/raczlib/raczlib_test.go +++ b/lib/raczlib/raczlib_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package raczlib diff --git a/lib/raczstd/example_test.go b/lib/raczstd/example_test.go index 1b69f5f4..d98f82df 100644 --- a/lib/raczstd/example_test.go +++ b/lib/raczstd/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package raczstd_test diff --git a/lib/raczstd/raczstd.go b/lib/raczstd/raczstd.go index 4e5b5828..2e4e876d 100644 --- a/lib/raczstd/raczstd.go +++ b/lib/raczstd/raczstd.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/readerat/readerat.go b/lib/readerat/readerat.go index 8a77c318..a0b5c58e 100644 --- a/lib/readerat/readerat.go +++ b/lib/readerat/readerat.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/zlibcut/example_test.go b/lib/zlibcut/example_test.go index e4f7fa91..2333eb49 100644 --- a/lib/zlibcut/example_test.go +++ b/lib/zlibcut/example_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package zlibcut_test diff --git a/lib/zlibcut/zlibcut.go b/lib/zlibcut/zlibcut.go index 351c0b61..48f9e8e5 100644 --- a/lib/zlibcut/zlibcut.go +++ b/lib/zlibcut/zlibcut.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/lib/zlibcut/zlibcut_test.go b/lib/zlibcut/zlibcut_test.go index 7df0f626..f3d5d41a 100644 --- a/lib/zlibcut/zlibcut_test.go +++ b/lib/zlibcut/zlibcut_test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT package zlibcut diff --git a/release/c/wuffs-unsupported-snapshot.c b/release/c/wuffs-unsupported-snapshot.c index 57c64814..dcbe66f4 100644 --- a/release/c/wuffs-unsupported-snapshot.c +++ b/release/c/wuffs-unsupported-snapshot.c @@ -42,6 +42,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/release/c/wuffs-v0.4.c b/release/c/wuffs-v0.4.c index 5e8ec2fb..751b6670 100644 --- a/release/c/wuffs-v0.4.c +++ b/release/c/wuffs-v0.4.c @@ -42,6 +42,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/script/adler32-standalone.c b/script/adler32-standalone.c index 55433d73..a3d6c02d 100644 --- a/script/adler32-standalone.c +++ b/script/adler32-standalone.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/base38-encode.go b/script/base38-encode.go index 2c49580a..ee3fb395 100644 --- a/script/base38-encode.go +++ b/script/base38-encode.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/bench-c-deflate-fragmentation.c b/script/bench-c-deflate-fragmentation.c index 1eee0e5f..652ac729 100644 --- a/script/bench-c-deflate-fragmentation.c +++ b/script/bench-c-deflate-fragmentation.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/bench-go-deflate/main.go b/script/bench-go-deflate/main.go index f0320776..544f7b0f 100644 --- a/script/bench-go-deflate/main.go +++ b/script/bench-go-deflate/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/bench-go-gif/main.go b/script/bench-go-gif/main.go index dfd997e7..93fa83b4 100644 --- a/script/bench-go-gif/main.go +++ b/script/bench-go-gif/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/bench-go-jpeg/main.go b/script/bench-go-jpeg/main.go index 946786aa..85b0df23 100644 --- a/script/bench-go-jpeg/main.go +++ b/script/bench-go-jpeg/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/bench-go-png/main.go b/script/bench-go-png/main.go index 50289cda..b0ee35a5 100644 --- a/script/bench-go-png/main.go +++ b/script/bench-go-png/main.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/bench-history.sh b/script/bench-history.sh index bd31a757..1c2aeeb1 100755 --- a/script/bench-history.sh +++ b/script/bench-history.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/script/bench-rust-deflate/src/main.rs b/script/bench-rust-deflate/src/main.rs index d130952c..a9f446d6 100644 --- a/script/bench-rust-deflate/src/main.rs +++ b/script/bench-rust-deflate/src/main.rs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/bench-rust-gif-dot-rs/src/main.rs b/script/bench-rust-gif-dot-rs/src/main.rs index 94a4db1d..1602004d 100644 --- a/script/bench-rust-gif-dot-rs/src/main.rs +++ b/script/bench-rust-gif-dot-rs/src/main.rs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/bench-rust-gif/src/main.rs b/script/bench-rust-gif/src/main.rs index b6363d00..eeb0df27 100644 --- a/script/bench-rust-gif/src/main.rs +++ b/script/bench-rust-gif/src/main.rs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/bench-rust-jpeg/src/main.rs b/script/bench-rust-jpeg/src/main.rs index 07fc088a..63ae4b18 100644 --- a/script/bench-rust-jpeg/src/main.rs +++ b/script/bench-rust-jpeg/src/main.rs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/bench-rust-png/src/main.rs b/script/bench-rust-png/src/main.rs index 90632b55..1260671d 100644 --- a/script/bench-rust-png/src/main.rs +++ b/script/bench-rust-png/src/main.rs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/benchstat-ratio.go b/script/benchstat-ratio.go index cce894ef..2e5efec7 100644 --- a/script/benchstat-ratio.go +++ b/script/benchstat-ratio.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/checksum.go b/script/checksum.go index 3ce583b0..45d32e29 100644 --- a/script/checksum.go +++ b/script/checksum.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/compress-giflzw.go b/script/compress-giflzw.go index 45e78495..f1d48188 100644 --- a/script/compress-giflzw.go +++ b/script/compress-giflzw.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/confirm-matches-djpeg.sh b/script/confirm-matches-djpeg.sh index e5352f20..70004f75 100755 --- a/script/confirm-matches-djpeg.sh +++ b/script/confirm-matches-djpeg.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/script/convert-nie-to-png.go b/script/convert-nie-to-png.go index d4c4c098..bd876c2f 100644 --- a/script/convert-nie-to-png.go +++ b/script/convert-nie-to-png.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/convert-png-to-wbmp.go b/script/convert-png-to-wbmp.go index 0aec2c6a..af3239c4 100644 --- a/script/convert-png-to-wbmp.go +++ b/script/convert-png-to-wbmp.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/crawl.go b/script/crawl.go index 1778a277..b19b0069 100644 --- a/script/crawl.go +++ b/script/crawl.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/draw-with-mask.go b/script/draw-with-mask.go index fda3704c..80308768 100644 --- a/script/draw-with-mask.go +++ b/script/draw-with-mask.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/extract-cbor-rfc-7049-examples.go b/script/extract-cbor-rfc-7049-examples.go index 938604d2..51ff08dc 100644 --- a/script/extract-cbor-rfc-7049-examples.go +++ b/script/extract-cbor-rfc-7049-examples.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/extract-deflate-offsets.go b/script/extract-deflate-offsets.go index 19ae77a6..6f5a6cb6 100644 --- a/script/extract-deflate-offsets.go +++ b/script/extract-deflate-offsets.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/extract-giflzw.go b/script/extract-giflzw.go index 544966a0..d7c71999 100644 --- a/script/extract-giflzw.go +++ b/script/extract-giflzw.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/extract-nia-frames.go b/script/extract-nia-frames.go index 440486c2..22ceaf6b 100644 --- a/script/extract-nia-frames.go +++ b/script/extract-nia-frames.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/extract-palette-indexes.go b/script/extract-palette-indexes.go index 4aa79267..6b1080c3 100644 --- a/script/extract-palette-indexes.go +++ b/script/extract-palette-indexes.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/inline-c-relative-includes.go b/script/inline-c-relative-includes.go index 05cfaab7..2cd1213f 100644 --- a/script/inline-c-relative-includes.go +++ b/script/inline-c-relative-includes.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/litonlylzma.go b/script/litonlylzma.go index 54d9a4b5..8a1f8215 100644 --- a/script/litonlylzma.go +++ b/script/litonlylzma.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/make-artificial.go b/script/make-artificial.go index 6b9b8315..3dd7d2da 100644 --- a/script/make-artificial.go +++ b/script/make-artificial.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/make-red-blue-gradient.go b/script/make-red-blue-gradient.go index fe439838..23e4e2ce 100644 --- a/script/make-red-blue-gradient.go +++ b/script/make-red-blue-gradient.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/manual-test-parse-number-f64.cc b/script/manual-test-parse-number-f64.cc index eb3cad46..a3e38b5e 100644 --- a/script/manual-test-parse-number-f64.cc +++ b/script/manual-test-parse-number-f64.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/manual-test-truncated-input.cc b/script/manual-test-truncated-input.cc index 0362aa8b..6022490f 100644 --- a/script/manual-test-truncated-input.cc +++ b/script/manual-test-truncated-input.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/mmap-ring-buffer.c b/script/mmap-ring-buffer.c index 3ac9a3bd..52a2cb77 100644 --- a/script/mmap-ring-buffer.c +++ b/script/mmap-ring-buffer.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/preprocess-wuffs.go b/script/preprocess-wuffs.go index 2bdd466e..28fd291f 100644 --- a/script/preprocess-wuffs.go +++ b/script/preprocess-wuffs.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-average-pixel.cc b/script/print-average-pixel.cc index ae26d9f2..69cfa6a2 100644 --- a/script/print-average-pixel.cc +++ b/script/print-average-pixel.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/print-bits.go b/script/print-bits.go index 85c838a3..c9d30a60 100644 --- a/script/print-bits.go +++ b/script/print-bits.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-byte-frequencies.go b/script/print-byte-frequencies.go index 299ce739..c2b34fc7 100644 --- a/script/print-byte-frequencies.go +++ b/script/print-byte-frequencies.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-crc32-example.go b/script/print-crc32-example.go index f75d9861..7de6518f 100644 --- a/script/print-crc32-example.go +++ b/script/print-crc32-example.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-crc32-magic-numbers.go b/script/print-crc32-magic-numbers.go index 6dbd8ff0..8698ecef 100644 --- a/script/print-crc32-magic-numbers.go +++ b/script/print-crc32-magic-numbers.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-crc32-x86-sse42-magic-numbers.go b/script/print-crc32-x86-sse42-magic-numbers.go index ac2082f6..de8d995a 100644 --- a/script/print-crc32-x86-sse42-magic-numbers.go +++ b/script/print-crc32-x86-sse42-magic-numbers.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-deflate-huff-table-size.go b/script/print-deflate-huff-table-size.go index 85d7f0e7..d4d47409 100644 --- a/script/print-deflate-huff-table-size.go +++ b/script/print-deflate-huff-table-size.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-deflate-magic-numbers.go b/script/print-deflate-magic-numbers.go index f40b5fd1..1b21150b 100644 --- a/script/print-deflate-magic-numbers.go +++ b/script/print-deflate-magic-numbers.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-file-sizes-json.go b/script/print-file-sizes-json.go index 7bdf4fda..913eb8dc 100644 --- a/script/print-file-sizes-json.go +++ b/script/print-file-sizes-json.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-hpd-left-shift.go b/script/print-hpd-left-shift.go index bc486542..1186c212 100644 --- a/script/print-hpd-left-shift.go +++ b/script/print-hpd-left-shift.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-image-metadata.cc b/script/print-image-metadata.cc index 0518dfad..03a9b6ef 100644 --- a/script/print-image-metadata.cc +++ b/script/print-image-metadata.cc @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/print-jpeg-idct-code.go b/script/print-jpeg-idct-code.go index e63d87bd..992ef519 100644 --- a/script/print-jpeg-idct-code.go +++ b/script/print-jpeg-idct-code.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-jpeg-markers.go b/script/print-jpeg-markers.go index 1d1ecc9b..a9110678 100644 --- a/script/print-jpeg-markers.go +++ b/script/print-jpeg-markers.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-json-ascii-escapes.go b/script/print-json-ascii-escapes.go index 3697e4d2..b2a5a5ff 100644 --- a/script/print-json-ascii-escapes.go +++ b/script/print-json-ascii-escapes.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-json-token-debug-format.c b/script/print-json-token-debug-format.c index fe1a2440..522e9847 100644 --- a/script/print-json-token-debug-format.c +++ b/script/print-json-token-debug-format.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/print-lzw-example.go b/script/print-lzw-example.go index 372ccd14..bdcb30b8 100644 --- a/script/print-lzw-example.go +++ b/script/print-lzw-example.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-markdown-links.go b/script/print-markdown-links.go index 5829c7fb..901cd5ba 100644 --- a/script/print-markdown-links.go +++ b/script/print-markdown-links.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-mpb-powers-of-10.go b/script/print-mpb-powers-of-10.go index bd08534d..fdc06fd0 100644 --- a/script/print-mpb-powers-of-10.go +++ b/script/print-mpb-powers-of-10.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-nia-checksums.sh b/script/print-nia-checksums.sh index f4e6ce29..77e17383 100755 --- a/script/print-nia-checksums.sh +++ b/script/print-nia-checksums.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/script/print-png-latin-1.go b/script/print-png-latin-1.go index a96c4a0f..f7ad7a79 100644 --- a/script/print-png-latin-1.go +++ b/script/print-png-latin-1.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/print-render-number-f64-tests.go b/script/print-render-number-f64-tests.go index 260b1adc..ba8ec3cb 100644 --- a/script/print-render-number-f64-tests.go +++ b/script/print-render-number-f64-tests.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/process-json-numbers.c b/script/process-json-numbers.c index 55c9d445..782d3492 100644 --- a/script/process-json-numbers.c +++ b/script/process-json-numbers.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/script/rac-random-seek-test.go b/script/rac-random-seek-test.go index 68373635..71678468 100644 --- a/script/rac-random-seek-test.go +++ b/script/rac-random-seek-test.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/run-json-test-suite.sh b/script/run-json-test-suite.sh index 317cf0b3..afd5df9f 100755 --- a/script/run-json-test-suite.sh +++ b/script/run-json-test-suite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/script/strip-png-ancillary-chunks.go b/script/strip-png-ancillary-chunks.go index 3e7e00e3..f22a8467 100644 --- a/script/strip-png-ancillary-chunks.go +++ b/script/strip-png-ancillary-chunks.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/truncate-progressive-jpeg.go b/script/truncate-progressive-jpeg.go index 90eaf45b..ed318cef 100644 --- a/script/truncate-progressive-jpeg.go +++ b/script/truncate-progressive-jpeg.go @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT //go:build ignore // +build ignore diff --git a/script/wuffs-deflate-decoder-decode-huffman.c b/script/wuffs-deflate-decoder-decode-huffman.c index 60d33caa..99ecc19f 100644 --- a/script/wuffs-deflate-decoder-decode-huffman.c +++ b/script/wuffs-deflate-decoder-decode-huffman.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/std/adler32/common_adler32.wuffs b/std/adler32/common_adler32.wuffs index 37bb7151..f3b8a7fc 100644 --- a/std/adler32/common_adler32.wuffs +++ b/std/adler32/common_adler32.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // TODO: drop the '?' but still generate wuffs_adler32__hasher__initialize? pub struct hasher? implements base.hasher_u32( diff --git a/std/adler32/common_up_arm_neon.wuffs b/std/adler32/common_up_arm_neon.wuffs index cf95c231..7e0b9fcc 100644 --- a/std/adler32/common_up_arm_neon.wuffs +++ b/std/adler32/common_up_arm_neon.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func hasher.up_arm_neon!(x: roslice base.u8), choose cpu_arch >= arm_neon, diff --git a/std/adler32/common_up_x86_sse42.wuffs b/std/adler32/common_up_x86_sse42.wuffs index 57686df3..e8067025 100644 --- a/std/adler32/common_up_x86_sse42.wuffs +++ b/std/adler32/common_up_x86_sse42.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func hasher.up_x86_sse42!(x: roslice base.u8), choose cpu_arch >= x86_sse42, diff --git a/std/bmp/decode_bmp.wuffs b/std/bmp/decode_bmp.wuffs index 799a9424..3995a2f7 100644 --- a/std/bmp/decode_bmp.wuffs +++ b/std/bmp/decode_bmp.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad header" pub status "#bad RLE compression" diff --git a/std/bzip2/decode_bzip2.wuffs b/std/bzip2/decode_bzip2.wuffs index c93fc7c1..30cc7e67 100644 --- a/std/bzip2/decode_bzip2.wuffs +++ b/std/bzip2/decode_bzip2.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad Huffman code (over-subscribed)" pub status "#bad Huffman code (under-subscribed)" diff --git a/std/bzip2/decode_flush_fast.wuffs b/std/bzip2/decode_flush_fast.wuffs index f8204c17..777a462f 100644 --- a/std/bzip2/decode_flush_fast.wuffs +++ b/std/bzip2/decode_flush_fast.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.flush_fast!(dst: base.io_writer) { var flush_pointer : base.u32[..= 1_048575] diff --git a/std/bzip2/decode_flush_slow.wuffs b/std/bzip2/decode_flush_slow.wuffs index 3621e580..be6b2298 100644 --- a/std/bzip2/decode_flush_slow.wuffs +++ b/std/bzip2/decode_flush_slow.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.flush_slow?(dst: base.io_writer) { var flush_pointer : base.u32[..= 1_048575] diff --git a/std/bzip2/decode_huffman_fast.wuffs b/std/bzip2/decode_huffman_fast.wuffs index b307bfd3..3c7264ca 100644 --- a/std/bzip2/decode_huffman_fast.wuffs +++ b/std/bzip2/decode_huffman_fast.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_huffman_fast!(src: base.io_reader) base.status { var bits : base.u32 diff --git a/std/bzip2/decode_huffman_slow.wuffs b/std/bzip2/decode_huffman_slow.wuffs index f8da8f3e..16d384b8 100644 --- a/std/bzip2/decode_huffman_slow.wuffs +++ b/std/bzip2/decode_huffman_slow.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_huffman_slow?(src: base.io_reader) { var c : base.u8 diff --git a/std/cbor/decode_cbor.wuffs b/std/cbor/decode_cbor.wuffs index 8d81b3b1..660f2a18 100644 --- a/std/cbor/decode_cbor.wuffs +++ b/std/cbor/decode_cbor.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad input" pub status "#unsupported recursion depth" diff --git a/std/crc32/common_crc32.wuffs b/std/crc32/common_crc32.wuffs index dc19d3a4..13c1d8c4 100644 --- a/std/crc32/common_crc32.wuffs +++ b/std/crc32/common_crc32.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // TODO: drop the '?' but still generate wuffs_crc32__ieee_hasher__initialize? pub struct ieee_hasher? implements base.hasher_u32( diff --git a/std/crc32/common_up_arm_crc32.wuffs b/std/crc32/common_up_arm_crc32.wuffs index c5f2fa92..9d72ae5c 100644 --- a/std/crc32/common_up_arm_crc32.wuffs +++ b/std/crc32/common_up_arm_crc32.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func ieee_hasher.up_arm_crc32!(x: roslice base.u8), choose cpu_arch >= arm_crc32, diff --git a/std/crc32/common_up_x86_avx2.wuffs b/std/crc32/common_up_x86_avx2.wuffs index d35d0389..94ead633 100644 --- a/std/crc32/common_up_x86_avx2.wuffs +++ b/std/crc32/common_up_x86_avx2.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/crc32/common_up_x86_sse42.wuffs b/std/crc32/common_up_x86_sse42.wuffs index a51379b1..9e26b906 100644 --- a/std/crc32/common_up_x86_sse42.wuffs +++ b/std/crc32/common_up_x86_sse42.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/deflate/common_consts.wuffs b/std/deflate/common_consts.wuffs index ae9270c4..65b44dad 100644 --- a/std/deflate/common_consts.wuffs +++ b/std/deflate/common_consts.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // CODE_ORDER is defined in the RFC section 3.2.7. pri const CODE_ORDER : roarray[19] base.u8[..= 18] = [ diff --git a/std/deflate/decode_deflate.wuffs b/std/deflate/decode_deflate.wuffs index eb1fe593..6ef92d93 100644 --- a/std/deflate/decode_deflate.wuffs +++ b/std/deflate/decode_deflate.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad Huffman code (over-subscribed)" pub status "#bad Huffman code (under-subscribed)" diff --git a/std/deflate/decode_huffman_bmi2.wuffs b/std/deflate/decode_huffman_bmi2.wuffs index d9a71f21..8bdb9ca6 100644 --- a/std/deflate/decode_huffman_bmi2.wuffs +++ b/std/deflate/decode_huffman_bmi2.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // decode_huffman_bmi2 is exactly the same as decode_huffman_fast64 except for // the "choose cpu_arch >= x86_bmi2". Unsurprisingly, having Bit Manipulation diff --git a/std/deflate/decode_huffman_fast32.wuffs b/std/deflate/decode_huffman_fast32.wuffs index bd611a0a..04fab25a 100644 --- a/std/deflate/decode_huffman_fast32.wuffs +++ b/std/deflate/decode_huffman_fast32.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // TODO: describe how the xxx_fastxx version differs from the xxx_slow one, the // assumptions that xxx_fastxx makes, and how that makes it fast. diff --git a/std/deflate/decode_huffman_fast64.wuffs b/std/deflate/decode_huffman_fast64.wuffs index 5d33871b..66222252 100644 --- a/std/deflate/decode_huffman_fast64.wuffs +++ b/std/deflate/decode_huffman_fast64.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // TODO: describe how the xxx_fastxx version differs from the xxx_slow one, the // assumptions that xxx_fastxx makes, and how that makes it fast. diff --git a/std/deflate/decode_huffman_slow.wuffs b/std/deflate/decode_huffman_slow.wuffs index e27ca188..176a65b0 100644 --- a/std/deflate/decode_huffman_slow.wuffs +++ b/std/deflate/decode_huffman_slow.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_huffman_slow?(dst: base.io_writer, src: base.io_reader) { var bits : base.u32 diff --git a/std/gif/common_consts.wuffs b/std/gif/common_consts.wuffs index 812e2c3d..a80015a6 100644 --- a/std/gif/common_consts.wuffs +++ b/std/gif/common_consts.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad LZW code" pub status "#bad extension label" diff --git a/std/gif/decode_gif.wuffs b/std/gif/decode_gif.wuffs index 63fc8422..83782f8d 100644 --- a/std/gif/decode_gif.wuffs +++ b/std/gif/decode_gif.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub struct decoder? implements base.image_decoder( // These upper bounds should be 0xFFFF, on a strict reading of the GIF diff --git a/std/gif/decode_lzw.wuffs b/std/gif/decode_lzw.wuffs index e0c641fa..05b81da3 100644 --- a/std/gif/decode_lzw.wuffs +++ b/std/gif/decode_lzw.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/gif/decode_quirks.wuffs b/std/gif/decode_quirks.wuffs index d58b0fff..c9720b83 100644 --- a/std/gif/decode_quirks.wuffs +++ b/std/gif/decode_quirks.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/gzip/decode_gzip.wuffs b/std/gzip/decode_gzip.wuffs index b2c95841..48ae9288 100644 --- a/std/gzip/decode_gzip.wuffs +++ b/std/gzip/decode_gzip.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT use "std/crc32" use "std/deflate" diff --git a/std/jpeg/common_consts.wuffs b/std/jpeg/common_consts.wuffs index dad83091..b6db49c1 100644 --- a/std/jpeg/common_consts.wuffs +++ b/std/jpeg/common_consts.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/jpeg/decode_idct_default.wuffs b/std/jpeg/decode_idct_default.wuffs index b866d317..59283e2c 100644 --- a/std/jpeg/decode_idct_default.wuffs +++ b/std/jpeg/decode_idct_default.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_idct!(dst_buffer: slice base.u8, dst_stride: base.u64, q: base.u32[..= 3]), choosy, diff --git a/std/jpeg/decode_idct_x86_avx2.wuffs b/std/jpeg/decode_idct_x86_avx2.wuffs index dc5789d3..9c14eb49 100644 --- a/std/jpeg/decode_idct_x86_avx2.wuffs +++ b/std/jpeg/decode_idct_x86_avx2.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_idct_x86_avx2!(dst_buffer: slice base.u8, dst_stride: base.u64, q: base.u32[..= 3]), choose cpu_arch >= x86_avx2, diff --git a/std/jpeg/decode_jpeg.wuffs b/std/jpeg/decode_jpeg.wuffs index 40175a6f..8c2eb584 100644 --- a/std/jpeg/decode_jpeg.wuffs +++ b/std/jpeg/decode_jpeg.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad DHT marker" pub status "#bad DQT marker" diff --git a/std/jpeg/decode_load_smooth.wuffs b/std/jpeg/decode_load_smooth.wuffs index 75712658..c42d642c 100644 --- a/std/jpeg/decode_load_smooth.wuffs +++ b/std/jpeg/decode_load_smooth.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---- diff --git a/std/jpeg/decode_mcu_default.wuffs b/std/jpeg/decode_mcu_default.wuffs index 75e1931c..397cc741 100644 --- a/std/jpeg/decode_mcu_default.wuffs +++ b/std/jpeg/decode_mcu_default.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_mcu!(workbuf: slice base.u8, mx: base.u32[..= 0x1FFF], my: base.u32[..= 0x1FFF]) base.u32, choosy, diff --git a/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs b/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs index aaef165d..1c8795b6 100644 --- a/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs +++ b/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_mcu_progressive_ac_high_bits!(workbuf: slice base.u8, mx: base.u32[..= 0x1FFF], my: base.u32[..= 0x1FFF]) base.u32 { var ret : base.u32 diff --git a/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs b/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs index 0ea58b8a..f08c0108 100644 --- a/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs +++ b/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_mcu_progressive_ac_low_bit!(workbuf: slice base.u8, mx: base.u32[..= 0x1FFF], my: base.u32[..= 0x1FFF]) base.u32 { var ret : base.u32 diff --git a/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs b/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs index 222be1ec..54242a9a 100644 --- a/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs +++ b/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_mcu_progressive_dc_high_bits!(workbuf: slice base.u8, mx: base.u32[..= 0x1FFF], my: base.u32[..= 0x1FFF]) base.u32 { var ret : base.u32 diff --git a/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs b/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs index 3768db36..2afa0dbf 100644 --- a/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs +++ b/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.decode_mcu_progressive_dc_low_bit!(workbuf: slice base.u8, mx: base.u32[..= 0x1FFF], my: base.u32[..= 0x1FFF]) base.u32 { var ret : base.u32 diff --git a/std/json/common_consts.wuffs b/std/json/common_consts.wuffs index 71d7adb2..36947c00 100644 --- a/std/json/common_consts.wuffs +++ b/std/json/common_consts.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad C0 control code" pub status "#bad UTF-8" diff --git a/std/json/decode_json.wuffs b/std/json/decode_json.wuffs index e8824079..3c83a405 100644 --- a/std/json/decode_json.wuffs +++ b/std/json/decode_json.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub struct decoder? implements base.token_decoder( quirks : array[QUIRKS_COUNT] base.bool, diff --git a/std/json/decode_quirks.wuffs b/std/json/decode_quirks.wuffs index 9d3ebb53..72b8d93f 100644 --- a/std/json/decode_quirks.wuffs +++ b/std/json/decode_quirks.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/lzw/decode_lzw.wuffs b/std/lzw/decode_lzw.wuffs index 857826db..3b474aad 100644 --- a/std/lzw/decode_lzw.wuffs +++ b/std/lzw/decode_lzw.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad code" pub status "#truncated input" diff --git a/std/lzw/decode_quirks.wuffs b/std/lzw/decode_quirks.wuffs index fc58e2f8..0bdd6ef2 100644 --- a/std/lzw/decode_quirks.wuffs +++ b/std/lzw/decode_quirks.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/netpbm/decode_netpbm.wuffs b/std/netpbm/decode_netpbm.wuffs index ba76841a..ca38fec3 100644 --- a/std/netpbm/decode_netpbm.wuffs +++ b/std/netpbm/decode_netpbm.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad header" pub status "#truncated input" diff --git a/std/nie/decode_nie.wuffs b/std/nie/decode_nie.wuffs index 77d3bae5..e5ee5baa 100644 --- a/std/nie/decode_nie.wuffs +++ b/std/nie/decode_nie.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad header" pub status "#truncated input" diff --git a/std/png/common_consts.wuffs b/std/png/common_consts.wuffs index 5a335333..35cdb2d5 100644 --- a/std/png/common_consts.wuffs +++ b/std/png/common_consts.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad animation sequence number" pub status "#bad checksum" diff --git a/std/png/decode_filter_arm_neon.wuffs b/std/png/decode_filter_arm_neon.wuffs index 5b1fd7c9..86b4abaa 100644 --- a/std/png/decode_filter_arm_neon.wuffs +++ b/std/png/decode_filter_arm_neon.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/png/decode_filter_fallback.wuffs b/std/png/decode_filter_fallback.wuffs index 976271cb..5b0cb683 100644 --- a/std/png/decode_filter_fallback.wuffs +++ b/std/png/decode_filter_fallback.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/png/decode_filter_x86_sse42.wuffs b/std/png/decode_filter_x86_sse42.wuffs index a5eecc45..7d6e6b05 100644 --- a/std/png/decode_filter_x86_sse42.wuffs +++ b/std/png/decode_filter_x86_sse42.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/png/decode_png.wuffs b/std/png/decode_png.wuffs index 9ebe1608..8b3d51f0 100644 --- a/std/png/decode_png.wuffs +++ b/std/png/decode_png.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT use "std/crc32" use "std/zlib" diff --git a/std/png/decode_swizzle_default.wuffs b/std/png/decode_swizzle_default.wuffs index 72e968ea..329f2c33 100644 --- a/std/png/decode_swizzle_default.wuffs +++ b/std/png/decode_swizzle_default.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.filter_and_swizzle!(dst: ptr base.pixel_buffer, workbuf: slice base.u8) base.status, choosy, diff --git a/std/png/decode_swizzle_tricky.wuffs b/std/png/decode_swizzle_tricky.wuffs index 3a8c77f3..d99c6c96 100644 --- a/std/png/decode_swizzle_tricky.wuffs +++ b/std/png/decode_swizzle_tricky.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri func decoder.filter_and_swizzle_tricky!(dst: ptr base.pixel_buffer, workbuf: slice base.u8) base.status { var dst_pixfmt : base.pixel_format diff --git a/std/tga/decode_tga.wuffs b/std/tga/decode_tga.wuffs index 3aa961ad..4bc8e387 100644 --- a/std/tga/decode_tga.wuffs +++ b/std/tga/decode_tga.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad header" pub status "#bad run length encoding" diff --git a/std/wbmp/decode_wbmp.wuffs b/std/wbmp/decode_wbmp.wuffs index 680a5f3d..1aacc2eb 100644 --- a/std/wbmp/decode_wbmp.wuffs +++ b/std/wbmp/decode_wbmp.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pub status "#bad header" pub status "#truncated input" diff --git a/std/xxhash32/common_xxhash32.wuffs b/std/xxhash32/common_xxhash32.wuffs index 1c515c95..d1515c4c 100644 --- a/std/xxhash32/common_xxhash32.wuffs +++ b/std/xxhash32/common_xxhash32.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri const XXH_PRIME32_1 : base.u32 = 0x9E37_79B1 pri const XXH_PRIME32_2 : base.u32 = 0x85EB_CA77 diff --git a/std/xxhash64/common_xxhash64.wuffs b/std/xxhash64/common_xxhash64.wuffs index 0d2c0d0d..e34d73cd 100644 --- a/std/xxhash64/common_xxhash64.wuffs +++ b/std/xxhash64/common_xxhash64.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT pri const XXH_PRIME64_1 : base.u64 = 0x9E37_79B1_85EB_CA87 pri const XXH_PRIME64_2 : base.u64 = 0xC2B2_AE3D_27D4_EB4F diff --git a/std/zlib/decode_quirks.wuffs b/std/zlib/decode_quirks.wuffs index df2cde5b..f0e7bbb9 100644 --- a/std/zlib/decode_quirks.wuffs +++ b/std/zlib/decode_quirks.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // -------- diff --git a/std/zlib/decode_zlib.wuffs b/std/zlib/decode_zlib.wuffs index c73fbb60..050d3755 100644 --- a/std/zlib/decode_zlib.wuffs +++ b/std/zlib/decode_zlib.wuffs @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT use "std/adler32" use "std/deflate" diff --git a/test/3pdata/fetch-blinksuite.sh b/test/3pdata/fetch-blinksuite.sh index e76fe393..20f52a0a 100755 --- a/test/3pdata/fetch-blinksuite.sh +++ b/test/3pdata/fetch-blinksuite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/test/3pdata/fetch-bmpsuite.sh b/test/3pdata/fetch-bmpsuite.sh index 2b309696..0e57e2f6 100755 --- a/test/3pdata/fetch-bmpsuite.sh +++ b/test/3pdata/fetch-bmpsuite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/test/3pdata/fetch-golangsuite.sh b/test/3pdata/fetch-golangsuite.sh index db4521a2..17d02c34 100755 --- a/test/3pdata/fetch-golangsuite.sh +++ b/test/3pdata/fetch-golangsuite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/test/3pdata/fetch-pngsuite.sh b/test/3pdata/fetch-pngsuite.sh index 8b7094c2..85975881 100755 --- a/test/3pdata/fetch-pngsuite.sh +++ b/test/3pdata/fetch-pngsuite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/test/3pdata/fetch-tgasuite.sh b/test/3pdata/fetch-tgasuite.sh index e730d984..437e3dc7 100755 --- a/test/3pdata/fetch-tgasuite.sh +++ b/test/3pdata/fetch-tgasuite.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- diff --git a/test/c/mimiclib/bzip2.c b/test/c/mimiclib/bzip2.c index f2a9d687..e31d30d9 100644 --- a/test/c/mimiclib/bzip2.c +++ b/test/c/mimiclib/bzip2.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include "bzlib.h" diff --git a/test/c/mimiclib/deflate-gzip-zlib.c b/test/c/mimiclib/deflate-gzip-zlib.c index cd1d1639..8478a412 100644 --- a/test/c/mimiclib/deflate-gzip-zlib.c +++ b/test/c/mimiclib/deflate-gzip-zlib.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/mimiclib/gif.c b/test/c/mimiclib/gif.c index 53eb8cf1..0258028a 100644 --- a/test/c/mimiclib/gif.c +++ b/test/c/mimiclib/gif.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include "gif_lib.h" diff --git a/test/c/mimiclib/jpeg.c b/test/c/mimiclib/jpeg.c index 225c882a..766bb84a 100644 --- a/test/c/mimiclib/jpeg.c +++ b/test/c/mimiclib/jpeg.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/mimiclib/png.c b/test/c/mimiclib/png.c index f6faa09e..82cc35ff 100644 --- a/test/c/mimiclib/png.c +++ b/test/c/mimiclib/png.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/mimiclib/stb.c b/test/c/mimiclib/stb.c index 0bc16428..15a6be38 100644 --- a/test/c/mimiclib/stb.c +++ b/test/c/mimiclib/stb.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // We #include a foo.cpp file, not a foo.h file, as stb_image is a "single file // C library". diff --git a/test/c/mimiclib/xxhash.c b/test/c/mimiclib/xxhash.c index 4aa8c209..e0607d07 100644 --- a/test/c/mimiclib/xxhash.c +++ b/test/c/mimiclib/xxhash.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include "xxhash.h" diff --git a/test/c/std/adler32.c b/test/c/std/adler32.c index 001d0f28..1a73e2c3 100644 --- a/test/c/std/adler32.c +++ b/test/c/std/adler32.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/bmp.c b/test/c/std/bmp.c index 19d1c6aa..1d1becc8 100644 --- a/test/c/std/bmp.c +++ b/test/c/std/bmp.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/bzip2.c b/test/c/std/bzip2.c index ba64f82b..27270b16 100644 --- a/test/c/std/bzip2.c +++ b/test/c/std/bzip2.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/cbor.c b/test/c/std/cbor.c index 95dca134..4649ca16 100644 --- a/test/c/std/cbor.c +++ b/test/c/std/cbor.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/crc32.c b/test/c/std/crc32.c index c920b39d..91a8656d 100644 --- a/test/c/std/crc32.c +++ b/test/c/std/crc32.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/deflate.c b/test/c/std/deflate.c index e4287ae7..1bc2046a 100644 --- a/test/c/std/deflate.c +++ b/test/c/std/deflate.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 15eadf30..d9644912 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/gzip.c b/test/c/std/gzip.c index 9c036d85..11ee98e6 100644 --- a/test/c/std/gzip.c +++ b/test/c/std/gzip.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/jpeg.c b/test/c/std/jpeg.c index 8693259e..ad15a203 100644 --- a/test/c/std/jpeg.c +++ b/test/c/std/jpeg.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/json.c b/test/c/std/json.c index eeb81ab8..c0c5d5e3 100644 --- a/test/c/std/json.c +++ b/test/c/std/json.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/lzw.c b/test/c/std/lzw.c index c89d3e60..6b839dea 100644 --- a/test/c/std/lzw.c +++ b/test/c/std/lzw.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/netpbm.c b/test/c/std/netpbm.c index 9ccba3ad..25b929f7 100644 --- a/test/c/std/netpbm.c +++ b/test/c/std/netpbm.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/nie.c b/test/c/std/nie.c index bbe02382..7332835a 100644 --- a/test/c/std/nie.c +++ b/test/c/std/nie.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/png.c b/test/c/std/png.c index 986ffb61..cafb670c 100644 --- a/test/c/std/png.c +++ b/test/c/std/png.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/tga.c b/test/c/std/tga.c index 4baa2b64..1404fb16 100644 --- a/test/c/std/tga.c +++ b/test/c/std/tga.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/wbmp.c b/test/c/std/wbmp.c index b7b04f37..276ffd0f 100644 --- a/test/c/std/wbmp.c +++ b/test/c/std/wbmp.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/xxhash32.c b/test/c/std/xxhash32.c index 02eccd0b..4745dfae 100644 --- a/test/c/std/xxhash32.c +++ b/test/c/std/xxhash32.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/xxhash64.c b/test/c/std/xxhash64.c index bde81f4b..f9b76971 100644 --- a/test/c/std/xxhash64.c +++ b/test/c/std/xxhash64.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/std/zlib.c b/test/c/std/zlib.c index fba21292..558c047e 100644 --- a/test/c/std/zlib.c +++ b/test/c/std/zlib.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT // ---------------- diff --git a/test/c/testlib/testlib.c b/test/c/testlib/testlib.c index 8a2c047e..d8d66ff3 100644 --- a/test/c/testlib/testlib.c +++ b/test/c/testlib/testlib.c @@ -5,6 +5,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT #include #include diff --git a/test/data/hello.sh b/test/data/hello.sh index 1deb9898..27a1d3e9 100755 --- a/test/data/hello.sh +++ b/test/data/hello.sh @@ -6,6 +6,8 @@ # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. +# +# SPDX-License-Identifier: Apache-2.0 OR MIT # ----------------