From 74a6ea2fcde0eaa9476d4b6bf8004bef966611d2 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 5 Oct 2023 23:30:42 +1100 Subject: [PATCH] all: relicense from Apache2 to dual Apache2/MIT The LICENSE has changed from a single license (Apache2) to a dual license (Apache2 or MIT, at your option). If you've previously used Wuffs under the Apache2 license, you are able to keep doing so. No further action required by you. The two files listed below (previous releases) are exceptions, as they are older snapshots, frozen in time. Their license has not changed: release/c/wuffs-v0.2.c release/c/wuffs-v0.3.c Every name in the AUTHORS file, other than Google Inc., has signed Google's CLA (Contributor License Agreement). --- LICENSE | 34 ++++ LICENSE-APACHE | 177 ++++++++++++++++++ LICENSE-MIT | 25 +++ README.md | 5 +- build-all.sh | 16 +- build-example.sh | 16 +- build-fuzz.sh | 16 +- cmd/commonflags/commonflags.go | 16 +- cmd/dumbindent/main.go | 16 +- cmd/ractool/data.go | 16 +- cmd/ractool/gen.go | 32 +--- cmd/ractool/main.go | 16 +- cmd/wuffs-c/genlib.go | 16 +- cmd/wuffs-c/main.go | 16 +- cmd/wuffs-c/release.go | 16 +- cmd/wuffs-c/test.go | 16 +- cmd/wuffs/gen.go | 16 +- cmd/wuffs/main.go | 16 +- cmd/wuffs/release.go | 16 +- cmd/wuffs/test.go | 16 +- cmd/wuffsfmt/main.go | 16 +- doc/changelog.md | 3 + example/bzcat/bzcat.c | 16 +- example/cbor-to-json/cbor-to-json.cc | 16 +- example/convert-to-nia/convert-to-nia.c | 16 +- example/crc32/crc32.cc | 16 +- example/gifplayer/gifplayer.c | 16 +- example/imageviewer/imageviewer.cc | 16 +- example/json-to-cbor/json-to-cbor.cc | 16 +- example/jsonfindptrs/jsonfindptrs.cc | 16 +- example/jsonptr/jsonptr.cc | 16 +- example/sdl-imageviewer/sdl-imageviewer.cc | 16 +- example/toy-aux-image/toy-aux-image.cc | 16 +- example/toy-genlib/toy-genlib.c | 16 +- example/zcat/zcat.c | 16 +- fuzz/c/fuzzlib/fuzzlib.c | 16 +- fuzz/c/fuzzlib/fuzzlib_image_decoder.c | 16 +- fuzz/c/std/bmp_fuzzer.c | 16 +- fuzz/c/std/bzip2_fuzzer.c | 16 +- fuzz/c/std/cbor_fuzzer.c | 16 +- fuzz/c/std/gif_fuzzer.c | 16 +- fuzz/c/std/jpeg_fuzzer.c | 16 +- fuzz/c/std/json_fuzzer.cc | 16 +- fuzz/c/std/pixel_swizzler_fuzzer.c | 16 +- fuzz/c/std/png_fuzzer.c | 16 +- fuzz/c/std/tga_fuzzer.c | 16 +- fuzz/c/std/zlib_fuzzer.c | 16 +- hello-wuffs-c/main.c | 16 +- hello-wuffs-c/naive-parse.c | 16 +- hello-wuffs-c/parse.wuffs | 16 +- hello-wuffs-c/run.sh | 16 +- hello-wuffs-c/wuffs-base.c | 16 +- hello-wuffs-c/wuffs-parse.c | 16 +- internal/cgen/auxiliary/base.cc | 16 +- internal/cgen/auxiliary/base.hh | 16 +- internal/cgen/auxiliary/cbor.cc | 16 +- internal/cgen/auxiliary/cbor.hh | 16 +- internal/cgen/auxiliary/image.cc | 16 +- internal/cgen/auxiliary/image.hh | 16 +- internal/cgen/auxiliary/json.cc | 16 +- internal/cgen/auxiliary/json.hh | 16 +- internal/cgen/base/all-impl.c | 16 +- internal/cgen/base/floatconv-submodule-code.c | 16 +- internal/cgen/base/floatconv-submodule-data.c | 16 +- internal/cgen/base/fundamental-private.h | 16 +- internal/cgen/base/fundamental-public.h | 16 +- internal/cgen/base/image-private.h | 16 +- internal/cgen/base/image-public.h | 16 +- internal/cgen/base/intconv-submodule.c | 16 +- internal/cgen/base/io-private.h | 16 +- internal/cgen/base/io-public.h | 16 +- internal/cgen/base/magic-submodule.c | 16 +- internal/cgen/base/memory-private.h | 16 +- internal/cgen/base/memory-public.h | 16 +- .../cgen/base/pixconv-submodule-regular.c | 16 +- .../cgen/base/pixconv-submodule-x86-avx2.c | 16 +- internal/cgen/base/pixconv-submodule-ycck.c | 16 +- internal/cgen/base/range-private.h | 16 +- internal/cgen/base/range-public.h | 16 +- internal/cgen/base/strconv-private.h | 16 +- internal/cgen/base/strconv-public.h | 16 +- internal/cgen/base/token-private.h | 16 +- internal/cgen/base/token-public.h | 16 +- internal/cgen/base/utf8-submodule.c | 16 +- internal/cgen/builtin.go | 16 +- internal/cgen/cgen.go | 16 +- internal/cgen/embed.go | 16 +- internal/cgen/expr.go | 16 +- internal/cgen/func.go | 16 +- internal/cgen/liveness.go | 16 +- internal/cgen/statement.go | 16 +- internal/cgen/var.go | 16 +- internal/testcut/testcut.go | 16 +- lang/ast/ast.go | 16 +- lang/ast/eq.go | 16 +- lang/ast/sort.go | 16 +- lang/ast/string.go | 16 +- lang/ast/string_test.go | 16 +- lang/builtin/builtin.go | 16 +- lang/builtin/data.go | 16 +- lang/builtin/gen.go | 32 +--- lang/check/assert.go | 16 +- lang/check/bounds.go | 16 +- lang/check/check.go | 16 +- lang/check/check_test.go | 16 +- lang/check/data.go | 16 +- lang/check/gen.go | 32 +--- lang/check/optimize.go | 16 +- lang/check/resolve.go | 16 +- lang/check/type.go | 16 +- lang/generate/generate.go | 16 +- lang/parse/parse.go | 16 +- lang/render/render.go | 16 +- lang/token/list.go | 16 +- lang/token/token.go | 16 +- lang/wuffsroot/wuffsroot.go | 16 +- lib/armneonintrinsics/ani.go | 16 +- lib/armneonintrinsics/data.go | 16 +- lib/armneonintrinsics/example_test.go | 16 +- lib/armneonintrinsics/gen.go | 32 +--- lib/armneonintrinsics/type.go | 16 +- lib/base38/base38.go | 16 +- lib/base38/base38_test.go | 16 +- lib/cgolz4/cgolz4.go | 16 +- lib/cgolz4/cgolz4_test.go | 16 +- lib/cgolz4/notcgo.go | 16 +- lib/cgozlib/cgozlib.go | 16 +- lib/cgozlib/cgozlib_test.go | 16 +- lib/cgozlib/notcgo.go | 16 +- lib/cgozstd/cgozstd.go | 16 +- lib/cgozstd/cgozstd_test.go | 16 +- lib/cgozstd/notcgo.go | 16 +- lib/compression/compression.go | 16 +- lib/compression/compression_test.go | 16 +- lib/dumbindent/dumbindent.go | 16 +- lib/dumbindent/dumbindent_test.go | 16 +- lib/flatecut/flatecut.go | 16 +- lib/flatecut/flatecut_test.go | 16 +- lib/internal/racdict/racdict.go | 16 +- lib/interval/interval.go | 16 +- lib/interval/interval_test.go | 16 +- lib/interval/radial_test.go | 16 +- lib/litonlylzma/example_test.go | 16 +- lib/litonlylzma/litonlylzma.go | 16 +- lib/litonlylzma/litonlylzma_test.go | 16 +- lib/nie/nie.go | 16 +- lib/rac/chunk_reader.go | 16 +- lib/rac/chunk_writer.go | 16 +- lib/rac/conc_reader.go | 16 +- lib/rac/example_test.go | 16 +- lib/rac/rac.go | 16 +- lib/rac/rac_test.go | 16 +- lib/rac/reader.go | 16 +- lib/rac/writer.go | 16 +- lib/raclz4/example_test.go | 16 +- lib/raclz4/raclz4.go | 16 +- lib/raczlib/example_test.go | 16 +- lib/raczlib/make_cgo.go | 16 +- lib/raczlib/make_notcgo.go | 16 +- lib/raczlib/raczlib.go | 16 +- lib/raczlib/raczlib_test.go | 16 +- lib/raczstd/example_test.go | 16 +- lib/raczstd/raczstd.go | 16 +- lib/readerat/readerat.go | 16 +- lib/zlibcut/example_test.go | 16 +- lib/zlibcut/zlibcut.go | 16 +- lib/zlibcut/zlibcut_test.go | 16 +- release/c/wuffs-unsupported-snapshot.c | 16 +- script/adler32-standalone.c | 16 +- script/base38-encode.go | 16 +- script/bench-c-deflate-fragmentation.c | 16 +- script/bench-go-deflate/main.go | 16 +- script/bench-go-gif/main.go | 16 +- script/bench-go-jpeg/main.go | 16 +- script/bench-go-png/main.go | 16 +- script/bench-history.sh | 16 +- script/bench-rust-deflate/src/main.rs | 16 +- script/bench-rust-gif-dot-rs/src/main.rs | 16 +- script/bench-rust-gif/src/main.rs | 16 +- script/bench-rust-jpeg/src/main.rs | 16 +- script/bench-rust-png/src/main.rs | 16 +- script/benchstat-ratio.go | 16 +- script/checksum.go | 16 +- script/compress-giflzw.go | 16 +- script/confirm-matches-djpeg.sh | 16 +- script/convert-nie-to-png.go | 16 +- script/convert-png-to-wbmp.go | 16 +- script/crawl.go | 16 +- script/draw-with-mask.go | 16 +- script/extract-cbor-rfc-7049-examples.go | 16 +- script/extract-deflate-offsets.go | 16 +- script/extract-giflzw.go | 16 +- script/extract-nia-frames.go | 16 +- script/extract-palette-indexes.go | 16 +- script/inline-c-relative-includes.go | 16 +- script/litonlylzma.go | 16 +- script/make-artificial.go | 16 +- script/make-red-blue-gradient.go | 16 +- script/manual-test-parse-number-f64.cc | 16 +- script/manual-test-truncated-input.cc | 16 +- script/mmap-ring-buffer.c | 16 +- script/preprocess-wuffs.go | 16 +- script/print-average-pixel.cc | 16 +- script/print-bits.go | 16 +- script/print-byte-frequencies.go | 16 +- script/print-crc32-example.go | 16 +- script/print-crc32-magic-numbers.go | 16 +- script/print-crc32-x86-sse42-magic-numbers.go | 16 +- script/print-deflate-huff-table-size.go | 16 +- script/print-deflate-magic-numbers.go | 16 +- script/print-file-sizes-json.go | 16 +- script/print-hpd-left-shift.go | 16 +- script/print-image-metadata.cc | 16 +- script/print-jpeg-idct-code.go | 16 +- script/print-jpeg-markers.go | 16 +- script/print-json-ascii-escapes.go | 16 +- script/print-json-token-debug-format.c | 16 +- script/print-lzw-example.go | 16 +- script/print-markdown-links.go | 16 +- script/print-mpb-powers-of-10.go | 16 +- script/print-nia-checksums.sh | 16 +- script/print-png-latin-1.go | 16 +- script/print-render-number-f64-tests.go | 16 +- script/process-json-numbers.c | 16 +- script/rac-random-seek-test.go | 16 +- script/run-json-test-suite.sh | 16 +- script/strip-png-ancillary-chunks.go | 16 +- script/truncate-progressive-jpeg.go | 16 +- script/wuffs-deflate-decoder-decode-huffman.c | 16 +- std/adler32/common_adler32.wuffs | 16 +- std/adler32/common_up_arm_neon.wuffs | 16 +- std/adler32/common_up_x86_sse42.wuffs | 16 +- std/bmp/decode_bmp.wuffs | 16 +- std/bzip2/decode_bzip2.wuffs | 16 +- std/bzip2/decode_flush_fast.wuffs | 16 +- std/bzip2/decode_flush_slow.wuffs | 16 +- std/bzip2/decode_huffman_fast.wuffs | 16 +- std/bzip2/decode_huffman_slow.wuffs | 16 +- std/cbor/decode_cbor.wuffs | 16 +- std/crc32/common_crc32.wuffs | 16 +- std/crc32/common_up_arm_crc32.wuffs | 16 +- std/crc32/common_up_x86_avx2.wuffs | 16 +- std/crc32/common_up_x86_sse42.wuffs | 16 +- std/deflate/common_consts.wuffs | 16 +- std/deflate/decode_deflate.wuffs | 16 +- std/deflate/decode_huffman_bmi2.wuffs | 16 +- std/deflate/decode_huffman_fast32.wuffs | 16 +- std/deflate/decode_huffman_fast64.wuffs | 16 +- std/deflate/decode_huffman_slow.wuffs | 16 +- std/gif/common_consts.wuffs | 16 +- std/gif/decode_gif.wuffs | 16 +- std/gif/decode_lzw.wuffs | 16 +- std/gif/decode_quirks.wuffs | 16 +- std/gzip/decode_gzip.wuffs | 16 +- std/jpeg/common_consts.wuffs | 16 +- std/jpeg/decode_idct_default.wuffs | 16 +- std/jpeg/decode_idct_x86_avx2.wuffs | 16 +- std/jpeg/decode_jpeg.wuffs | 16 +- std/jpeg/decode_load_smooth.wuffs | 16 +- std/jpeg/decode_mcu_default.wuffs | 16 +- .../decode_mcu_progressive_ac_high_bits.wuffs | 16 +- .../decode_mcu_progressive_ac_low_bit.wuffs | 16 +- .../decode_mcu_progressive_dc_high_bits.wuffs | 16 +- .../decode_mcu_progressive_dc_low_bit.wuffs | 16 +- std/json/common_consts.wuffs | 16 +- std/json/decode_json.wuffs | 16 +- std/json/decode_quirks.wuffs | 16 +- std/lzw/decode_lzw.wuffs | 16 +- std/lzw/decode_quirks.wuffs | 16 +- std/netpbm/decode_netpbm.wuffs | 16 +- std/nie/decode_nie.wuffs | 16 +- std/png/common_consts.wuffs | 16 +- std/png/decode_filter_arm_neon.wuffs | 16 +- std/png/decode_filter_fallback.wuffs | 16 +- std/png/decode_filter_x86_sse42.wuffs | 16 +- std/png/decode_png.wuffs | 16 +- std/png/decode_swizzle_default.wuffs | 16 +- std/png/decode_swizzle_tricky.wuffs | 16 +- std/tga/decode_tga.wuffs | 16 +- std/wbmp/decode_wbmp.wuffs | 16 +- std/xxhash32/common_xxhash32.wuffs | 16 +- std/zlib/decode_quirks.wuffs | 16 +- std/zlib/decode_zlib.wuffs | 16 +- test/3pdata/fetch-blinksuite.sh | 16 +- test/3pdata/fetch-bmpsuite.sh | 16 +- test/3pdata/fetch-golangsuite.sh | 16 +- test/3pdata/fetch-pngsuite.sh | 16 +- test/3pdata/fetch-tgasuite.sh | 16 +- test/c/mimiclib/bzip2.c | 16 +- test/c/mimiclib/deflate-gzip-zlib.c | 16 +- test/c/mimiclib/gif.c | 16 +- test/c/mimiclib/jpeg.c | 16 +- test/c/mimiclib/png.c | 16 +- test/c/mimiclib/stb.c | 16 +- test/c/mimiclib/xxhash32.c | 16 +- test/c/std/adler32.c | 16 +- test/c/std/bmp.c | 16 +- test/c/std/bzip2.c | 16 +- test/c/std/cbor.c | 16 +- test/c/std/crc32.c | 16 +- test/c/std/deflate.c | 16 +- test/c/std/gif.c | 16 +- test/c/std/gzip.c | 16 +- test/c/std/jpeg.c | 16 +- test/c/std/json.c | 16 +- test/c/std/lzw.c | 16 +- test/c/std/netpbm.c | 16 +- test/c/std/nie.c | 16 +- test/c/std/png.c | 16 +- test/c/std/tga.c | 16 +- test/c/std/wbmp.c | 16 +- test/c/std/xxhash32.c | 16 +- test/c/std/zlib.c | 16 +- test/c/testlib/testlib.c | 16 +- test/data/hello.sh | 16 +- 315 files changed, 1813 insertions(+), 3455 deletions(-) create mode 100644 LICENSE-APACHE create mode 100644 LICENSE-MIT diff --git a/LICENSE b/LICENSE index f433b1a5..279e3cc7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,37 @@ +This software is distributed under the terms of both the MIT license and the +Apache License (Version 2.0). + + +MIT license + +Copyright 2023 The Wuffs Authors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +Apache 2 license Apache License Version 2.0, January 2004 diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 00000000..f433b1a5 --- /dev/null +++ b/LICENSE-APACHE @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 00000000..87cf6995 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,25 @@ +Copyright 2023 The Wuffs Authors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 8810d07a..a1e58754 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,10 @@ Source code is [auto-formatted](/doc/note/auto-formatting.md). # License -Apache 2. See the LICENSE file for details. +This software is distributed under the terms of both the MIT license and the +Apache License (Version 2.0). + +See LICENSE for details. # Disclaimer diff --git a/build-all.sh b/build-all.sh index 230e5183..9f0e0b3a 100755 --- a/build-all.sh +++ b/build-all.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2018 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/build-example.sh b/build-example.sh index 4a6e91e1..239101ae 100755 --- a/build-example.sh +++ b/build-example.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2018 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/build-fuzz.sh b/build-fuzz.sh index b5f43495..38b41cd8 100755 --- a/build-fuzz.sh +++ b/build-fuzz.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2018 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/cmd/commonflags/commonflags.go b/cmd/commonflags/commonflags.go index c9dec92f..61ff7e66 100644 --- a/cmd/commonflags/commonflags.go +++ b/cmd/commonflags/commonflags.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/cmd/dumbindent/main.go b/cmd/dumbindent/main.go index 601c6bf9..68530c28 100644 --- a/cmd/dumbindent/main.go +++ b/cmd/dumbindent/main.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/cmd/ractool/data.go b/cmd/ractool/data.go index ec00c721..b2640046 100644 --- a/cmd/ractool/data.go +++ b/cmd/ractool/data.go @@ -2,17 +2,11 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/ractool/gen.go b/cmd/ractool/gen.go index cdde253b..6978011e 100644 --- a/cmd/ractool/gen.go +++ b/cmd/ractool/gen.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore @@ -57,17 +51,11 @@ func main1() error { // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/ractool/main.go b/cmd/ractool/main.go index 92f5968d..1e31fcdf 100644 --- a/cmd/ractool/main.go +++ b/cmd/ractool/main.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/cmd/wuffs-c/genlib.go b/cmd/wuffs-c/genlib.go index 31a17120..082edc4f 100644 --- a/cmd/wuffs-c/genlib.go +++ b/cmd/wuffs-c/genlib.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffs-c/main.go b/cmd/wuffs-c/main.go index ae1d032d..ad7761a1 100644 --- a/cmd/wuffs-c/main.go +++ b/cmd/wuffs-c/main.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/cmd/wuffs-c/release.go b/cmd/wuffs-c/release.go index d102e151..61d1de07 100644 --- a/cmd/wuffs-c/release.go +++ b/cmd/wuffs-c/release.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffs-c/test.go b/cmd/wuffs-c/test.go index 3463717b..e0a230ac 100644 --- a/cmd/wuffs-c/test.go +++ b/cmd/wuffs-c/test.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffs/gen.go b/cmd/wuffs/gen.go index b20aa277..7be20669 100644 --- a/cmd/wuffs/gen.go +++ b/cmd/wuffs/gen.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffs/main.go b/cmd/wuffs/main.go index e0a433cc..085ed6ca 100644 --- a/cmd/wuffs/main.go +++ b/cmd/wuffs/main.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/cmd/wuffs/release.go b/cmd/wuffs/release.go index 905c572c..62a5aa64 100644 --- a/cmd/wuffs/release.go +++ b/cmd/wuffs/release.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffs/test.go b/cmd/wuffs/test.go index f67166e5..ac24af63 100644 --- a/cmd/wuffs/test.go +++ b/cmd/wuffs/test.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package main diff --git a/cmd/wuffsfmt/main.go b/cmd/wuffsfmt/main.go index fbc3bc43..2ea6f0b8 100644 --- a/cmd/wuffsfmt/main.go +++ b/cmd/wuffsfmt/main.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/doc/changelog.md b/doc/changelog.md index 9ee799b3..acf37be8 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -3,6 +3,9 @@ ## Work In Progress +The LICENSE has changed from a single license (Apache 2) to a dual license +(Apache 2 or MIT, at your option). + - Added `compact_retaining` and `history_retain_length`. - Added `example/toy-aux-image`. - Added `get_quirk(key: u32) u64`. diff --git a/example/bzcat/bzcat.c b/example/bzcat/bzcat.c index 3086a348..9036adca 100644 --- a/example/bzcat/bzcat.c +++ b/example/bzcat/bzcat.c @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/cbor-to-json/cbor-to-json.cc b/example/cbor-to-json/cbor-to-json.cc index 467b5cbb..956223d5 100644 --- a/example/cbor-to-json/cbor-to-json.cc +++ b/example/cbor-to-json/cbor-to-json.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/convert-to-nia/convert-to-nia.c b/example/convert-to-nia/convert-to-nia.c index d2225a90..c3640d1e 100644 --- a/example/convert-to-nia/convert-to-nia.c +++ b/example/convert-to-nia/convert-to-nia.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/crc32/crc32.cc b/example/crc32/crc32.cc index eb554a03..41404f7b 100644 --- a/example/crc32/crc32.cc +++ b/example/crc32/crc32.cc @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/gifplayer/gifplayer.c b/example/gifplayer/gifplayer.c index 0317ff8c..e5e5f0d0 100644 --- a/example/gifplayer/gifplayer.c +++ b/example/gifplayer/gifplayer.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/imageviewer/imageviewer.cc b/example/imageviewer/imageviewer.cc index fe91b42c..29a18fd7 100644 --- a/example/imageviewer/imageviewer.cc +++ b/example/imageviewer/imageviewer.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/json-to-cbor/json-to-cbor.cc b/example/json-to-cbor/json-to-cbor.cc index 7462f137..5a824865 100644 --- a/example/json-to-cbor/json-to-cbor.cc +++ b/example/json-to-cbor/json-to-cbor.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/jsonfindptrs/jsonfindptrs.cc b/example/jsonfindptrs/jsonfindptrs.cc index ca6d1e80..96960320 100644 --- a/example/jsonfindptrs/jsonfindptrs.cc +++ b/example/jsonfindptrs/jsonfindptrs.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/jsonptr/jsonptr.cc b/example/jsonptr/jsonptr.cc index 5deb98a2..8b8aaef7 100644 --- a/example/jsonptr/jsonptr.cc +++ b/example/jsonptr/jsonptr.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/sdl-imageviewer/sdl-imageviewer.cc b/example/sdl-imageviewer/sdl-imageviewer.cc index 6b2eb096..e775b359 100644 --- a/example/sdl-imageviewer/sdl-imageviewer.cc +++ b/example/sdl-imageviewer/sdl-imageviewer.cc @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/toy-aux-image/toy-aux-image.cc b/example/toy-aux-image/toy-aux-image.cc index b3d7313a..66c192ec 100644 --- a/example/toy-aux-image/toy-aux-image.cc +++ b/example/toy-aux-image/toy-aux-image.cc @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/toy-genlib/toy-genlib.c b/example/toy-genlib/toy-genlib.c index 6eb735e4..fae13bb5 100644 --- a/example/toy-genlib/toy-genlib.c +++ b/example/toy-genlib/toy-genlib.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/example/zcat/zcat.c b/example/zcat/zcat.c index 508de731..5240e5c2 100644 --- a/example/zcat/zcat.c +++ b/example/zcat/zcat.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/fuzzlib/fuzzlib.c b/fuzz/c/fuzzlib/fuzzlib.c index e890b3a6..0af1623e 100644 --- a/fuzz/c/fuzzlib/fuzzlib.c +++ b/fuzz/c/fuzzlib/fuzzlib.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include #include diff --git a/fuzz/c/fuzzlib/fuzzlib_image_decoder.c b/fuzz/c/fuzzlib/fuzzlib_image_decoder.c index ae3d9798..980b9549 100644 --- a/fuzz/c/fuzzlib/fuzzlib_image_decoder.c +++ b/fuzz/c/fuzzlib/fuzzlib_image_decoder.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #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 d9a0eca3..a0971b80 100644 --- a/fuzz/c/std/bmp_fuzzer.c +++ b/fuzz/c/std/bmp_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/bzip2_fuzzer.c b/fuzz/c/std/bzip2_fuzzer.c index 54e88386..17a785a2 100644 --- a/fuzz/c/std/bzip2_fuzzer.c +++ b/fuzz/c/std/bzip2_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/cbor_fuzzer.c b/fuzz/c/std/cbor_fuzzer.c index 6d5f4a44..80dc8815 100644 --- a/fuzz/c/std/cbor_fuzzer.c +++ b/fuzz/c/std/cbor_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/gif_fuzzer.c b/fuzz/c/std/gif_fuzzer.c index 515f83a8..92803311 100644 --- a/fuzz/c/std/gif_fuzzer.c +++ b/fuzz/c/std/gif_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/jpeg_fuzzer.c b/fuzz/c/std/jpeg_fuzzer.c index c8182eb9..67763847 100644 --- a/fuzz/c/std/jpeg_fuzzer.c +++ b/fuzz/c/std/jpeg_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/json_fuzzer.cc b/fuzz/c/std/json_fuzzer.cc index db2b3997..42dbdd70 100644 --- a/fuzz/c/std/json_fuzzer.cc +++ b/fuzz/c/std/json_fuzzer.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/pixel_swizzler_fuzzer.c b/fuzz/c/std/pixel_swizzler_fuzzer.c index 4be6bb2e..6d1d1545 100644 --- a/fuzz/c/std/pixel_swizzler_fuzzer.c +++ b/fuzz/c/std/pixel_swizzler_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/png_fuzzer.c b/fuzz/c/std/png_fuzzer.c index 2b3a6402..defa14e0 100644 --- a/fuzz/c/std/png_fuzzer.c +++ b/fuzz/c/std/png_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/tga_fuzzer.c b/fuzz/c/std/tga_fuzzer.c index b2803c5a..841d359e 100644 --- a/fuzz/c/std/tga_fuzzer.c +++ b/fuzz/c/std/tga_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/fuzz/c/std/zlib_fuzzer.c b/fuzz/c/std/zlib_fuzzer.c index 4a276b69..1b69d6ed 100644 --- a/fuzz/c/std/zlib_fuzzer.c +++ b/fuzz/c/std/zlib_fuzzer.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/hello-wuffs-c/main.c b/hello-wuffs-c/main.c index d4ef4303..1cc41821 100644 --- a/hello-wuffs-c/main.c +++ b/hello-wuffs-c/main.c @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include #include diff --git a/hello-wuffs-c/naive-parse.c b/hello-wuffs-c/naive-parse.c index d2b205ca..c6de6410 100644 --- a/hello-wuffs-c/naive-parse.c +++ b/hello-wuffs-c/naive-parse.c @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include #include diff --git a/hello-wuffs-c/parse.wuffs b/hello-wuffs-c/parse.wuffs index b66bb735..0e15fa32 100644 --- a/hello-wuffs-c/parse.wuffs +++ b/hello-wuffs-c/parse.wuffs @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pri status "#not a digit" pri status "#too large" diff --git a/hello-wuffs-c/run.sh b/hello-wuffs-c/run.sh index 86de7024..9d7bc76a 100755 --- a/hello-wuffs-c/run.sh +++ b/hello-wuffs-c/run.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2019 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/hello-wuffs-c/wuffs-base.c b/hello-wuffs-c/wuffs-base.c index 95a34718..828c873a 100644 --- a/hello-wuffs-c/wuffs-base.c +++ b/hello-wuffs-c/wuffs-base.c @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/hello-wuffs-c/wuffs-parse.c b/hello-wuffs-c/wuffs-parse.c index b19e5889..f9afd6d4 100644 --- a/hello-wuffs-c/wuffs-parse.c +++ b/hello-wuffs-c/wuffs-parse.c @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include diff --git a/internal/cgen/auxiliary/base.cc b/internal/cgen/auxiliary/base.cc index 0b6cc681..8c048e66 100644 --- a/internal/cgen/auxiliary/base.cc +++ b/internal/cgen/auxiliary/base.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - Base diff --git a/internal/cgen/auxiliary/base.hh b/internal/cgen/auxiliary/base.hh index e312eaf5..f1b96b7d 100644 --- a/internal/cgen/auxiliary/base.hh +++ b/internal/cgen/auxiliary/base.hh @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - Base diff --git a/internal/cgen/auxiliary/cbor.cc b/internal/cgen/auxiliary/cbor.cc index 44e80638..944753c2 100644 --- a/internal/cgen/auxiliary/cbor.cc +++ b/internal/cgen/auxiliary/cbor.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - CBOR diff --git a/internal/cgen/auxiliary/cbor.hh b/internal/cgen/auxiliary/cbor.hh index 129aad0f..1a109651 100644 --- a/internal/cgen/auxiliary/cbor.hh +++ b/internal/cgen/auxiliary/cbor.hh @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - CBOR diff --git a/internal/cgen/auxiliary/image.cc b/internal/cgen/auxiliary/image.cc index 6c810aba..1199f6de 100644 --- a/internal/cgen/auxiliary/image.cc +++ b/internal/cgen/auxiliary/image.cc @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - Image diff --git a/internal/cgen/auxiliary/image.hh b/internal/cgen/auxiliary/image.hh index e16e65f5..90327516 100644 --- a/internal/cgen/auxiliary/image.hh +++ b/internal/cgen/auxiliary/image.hh @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - Image diff --git a/internal/cgen/auxiliary/json.cc b/internal/cgen/auxiliary/json.cc index 58e79efe..1c2d5ec8 100644 --- a/internal/cgen/auxiliary/json.cc +++ b/internal/cgen/auxiliary/json.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - JSON diff --git a/internal/cgen/auxiliary/json.hh b/internal/cgen/auxiliary/json.hh index 9b68a328..bc5fd9ba 100644 --- a/internal/cgen/auxiliary/json.hh +++ b/internal/cgen/auxiliary/json.hh @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Auxiliary - JSON diff --git a/internal/cgen/base/all-impl.c b/internal/cgen/base/all-impl.c index 58d447fb..2f63c61c 100644 --- a/internal/cgen/base/all-impl.c +++ b/internal/cgen/base/all-impl.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #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 ca109643..460dbd76 100644 --- a/internal/cgen/base/floatconv-submodule-code.c +++ b/internal/cgen/base/floatconv-submodule-code.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- IEEE 754 Floating Point diff --git a/internal/cgen/base/floatconv-submodule-data.c b/internal/cgen/base/floatconv-submodule-data.c index 7e4db5b5..465f3d72 100644 --- a/internal/cgen/base/floatconv-submodule-data.c +++ b/internal/cgen/base/floatconv-submodule-data.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- IEEE 754 Floating Point diff --git a/internal/cgen/base/fundamental-private.h b/internal/cgen/base/fundamental-private.h index f075f0c4..7c9cd4e9 100644 --- a/internal/cgen/base/fundamental-private.h +++ b/internal/cgen/base/fundamental-private.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Fundamentals diff --git a/internal/cgen/base/fundamental-public.h b/internal/cgen/base/fundamental-public.h index fc0a5e05..84090df5 100644 --- a/internal/cgen/base/fundamental-public.h +++ b/internal/cgen/base/fundamental-public.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Version diff --git a/internal/cgen/base/image-private.h b/internal/cgen/base/image-private.h index f6b1a2ee..f96d0951 100644 --- a/internal/cgen/base/image-private.h +++ b/internal/cgen/base/image-private.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Images diff --git a/internal/cgen/base/image-public.h b/internal/cgen/base/image-public.h index 2c341fcc..22c0c5f1 100644 --- a/internal/cgen/base/image-public.h +++ b/internal/cgen/base/image-public.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Images diff --git a/internal/cgen/base/intconv-submodule.c b/internal/cgen/base/intconv-submodule.c index c0632674..86191eb7 100644 --- a/internal/cgen/base/intconv-submodule.c +++ b/internal/cgen/base/intconv-submodule.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Integer diff --git a/internal/cgen/base/io-private.h b/internal/cgen/base/io-private.h index 0fb00c54..20ee0b3a 100644 --- a/internal/cgen/base/io-private.h +++ b/internal/cgen/base/io-private.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- I/O diff --git a/internal/cgen/base/io-public.h b/internal/cgen/base/io-public.h index dd5d454b..07715ff9 100644 --- a/internal/cgen/base/io-public.h +++ b/internal/cgen/base/io-public.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- I/O // diff --git a/internal/cgen/base/magic-submodule.c b/internal/cgen/base/magic-submodule.c index 697407de..cd1d96dc 100644 --- a/internal/cgen/base/magic-submodule.c +++ b/internal/cgen/base/magic-submodule.c @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Magic Numbers diff --git a/internal/cgen/base/memory-private.h b/internal/cgen/base/memory-private.h index 15ff0974..4835c004 100644 --- a/internal/cgen/base/memory-private.h +++ b/internal/cgen/base/memory-private.h @@ -1,15 +1,9 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Memory Allocation diff --git a/internal/cgen/base/memory-public.h b/internal/cgen/base/memory-public.h index c5527049..9eff2d9c 100644 --- a/internal/cgen/base/memory-public.h +++ b/internal/cgen/base/memory-public.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Memory Allocation diff --git a/internal/cgen/base/pixconv-submodule-regular.c b/internal/cgen/base/pixconv-submodule-regular.c index 568e628a..e511c576 100644 --- a/internal/cgen/base/pixconv-submodule-regular.c +++ b/internal/cgen/base/pixconv-submodule-regular.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Pixel Swizzler diff --git a/internal/cgen/base/pixconv-submodule-x86-avx2.c b/internal/cgen/base/pixconv-submodule-x86-avx2.c index 3402af1d..ba5947c0 100644 --- a/internal/cgen/base/pixconv-submodule-x86-avx2.c +++ b/internal/cgen/base/pixconv-submodule-x86-avx2.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/internal/cgen/base/pixconv-submodule-ycck.c b/internal/cgen/base/pixconv-submodule-ycck.c index a638cbbd..66e2e1bd 100644 --- a/internal/cgen/base/pixconv-submodule-ycck.c +++ b/internal/cgen/base/pixconv-submodule-ycck.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/internal/cgen/base/range-private.h b/internal/cgen/base/range-private.h index 010ed7ee..775374ac 100644 --- a/internal/cgen/base/range-private.h +++ b/internal/cgen/base/range-private.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Ranges and Rects diff --git a/internal/cgen/base/range-public.h b/internal/cgen/base/range-public.h index eba356ef..84ed5ece 100644 --- a/internal/cgen/base/range-public.h +++ b/internal/cgen/base/range-public.h @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Ranges and Rects diff --git a/internal/cgen/base/strconv-private.h b/internal/cgen/base/strconv-private.h index 1cd9e051..a9189254 100644 --- a/internal/cgen/base/strconv-private.h +++ b/internal/cgen/base/strconv-private.h @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- String Conversions diff --git a/internal/cgen/base/strconv-public.h b/internal/cgen/base/strconv-public.h index 447c2e52..0b2afe5b 100644 --- a/internal/cgen/base/strconv-public.h +++ b/internal/cgen/base/strconv-public.h @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- String Conversions diff --git a/internal/cgen/base/token-private.h b/internal/cgen/base/token-private.h index 26c48644..7740402f 100644 --- a/internal/cgen/base/token-private.h +++ b/internal/cgen/base/token-private.h @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Tokens diff --git a/internal/cgen/base/token-public.h b/internal/cgen/base/token-public.h index 0f865157..e1846f79 100644 --- a/internal/cgen/base/token-public.h +++ b/internal/cgen/base/token-public.h @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Tokens diff --git a/internal/cgen/base/utf8-submodule.c b/internal/cgen/base/utf8-submodule.c index 8020542b..1d01d8dc 100644 --- a/internal/cgen/base/utf8-submodule.c +++ b/internal/cgen/base/utf8-submodule.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- Unicode and UTF-8 diff --git a/internal/cgen/builtin.go b/internal/cgen/builtin.go index 6a49e628..f6d90e74 100644 --- a/internal/cgen/builtin.go +++ b/internal/cgen/builtin.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/cgen.go b/internal/cgen/cgen.go index 31586a1f..18517fa1 100644 --- a/internal/cgen/cgen.go +++ b/internal/cgen/cgen.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/embed.go b/internal/cgen/embed.go index 36e14dd5..e45c6077 100644 --- a/internal/cgen/embed.go +++ b/internal/cgen/embed.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/expr.go b/internal/cgen/expr.go index 7d06ca82..cb6a77e5 100644 --- a/internal/cgen/expr.go +++ b/internal/cgen/expr.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/func.go b/internal/cgen/func.go index 88ea9132..389a49da 100644 --- a/internal/cgen/func.go +++ b/internal/cgen/func.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/liveness.go b/internal/cgen/liveness.go index 3d7db147..0dc3da0c 100644 --- a/internal/cgen/liveness.go +++ b/internal/cgen/liveness.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/statement.go b/internal/cgen/statement.go index d98edc38..108a9149 100644 --- a/internal/cgen/statement.go +++ b/internal/cgen/statement.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/cgen/var.go b/internal/cgen/var.go index 54a6aa4c..cb52d527 100644 --- a/internal/cgen/var.go +++ b/internal/cgen/var.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgen diff --git a/internal/testcut/testcut.go b/internal/testcut/testcut.go index d5a9b807..81e65fad 100644 --- a/internal/testcut/testcut.go +++ b/internal/testcut/testcut.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // Package testcut provides support for testing flatecut and zlibcut. package testcut diff --git a/lang/ast/ast.go b/lang/ast/ast.go index 523448ff..0a203d0b 100644 --- a/lang/ast/ast.go +++ b/lang/ast/ast.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package ast diff --git a/lang/ast/eq.go b/lang/ast/eq.go index 8a52ae53..d2a1710c 100644 --- a/lang/ast/eq.go +++ b/lang/ast/eq.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package ast diff --git a/lang/ast/sort.go b/lang/ast/sort.go index 21657cd2..1cf8c56a 100644 --- a/lang/ast/sort.go +++ b/lang/ast/sort.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package ast diff --git a/lang/ast/string.go b/lang/ast/string.go index ee3ea4ab..859dc574 100644 --- a/lang/ast/string.go +++ b/lang/ast/string.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package ast diff --git a/lang/ast/string_test.go b/lang/ast/string_test.go index b4f32208..79ee0c76 100644 --- a/lang/ast/string_test.go +++ b/lang/ast/string_test.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package ast_test diff --git a/lang/builtin/builtin.go b/lang/builtin/builtin.go index 17d6e55e..a91f8961 100644 --- a/lang/builtin/builtin.go +++ b/lang/builtin/builtin.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:generate go run gen.go diff --git a/lang/builtin/data.go b/lang/builtin/data.go index d6db0fed..05525546 100644 --- a/lang/builtin/data.go +++ b/lang/builtin/data.go @@ -1,16 +1,10 @@ // Code generated by running "go generate". DO NOT EDIT. -// Copyright 2021 The Wuffs Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 086b1748..553b67f2 100644 --- a/lang/builtin/gen.go +++ b/lang/builtin/gen.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore @@ -171,17 +165,11 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package builtin diff --git a/lang/check/assert.go b/lang/check/assert.go index 077568d0..8772f158 100644 --- a/lang/check/assert.go +++ b/lang/check/assert.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/bounds.go b/lang/check/bounds.go index 8547b852..df4dbde1 100644 --- a/lang/check/bounds.go +++ b/lang/check/bounds.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/check.go b/lang/check/check.go index 6a4334b0..f6bf25d7 100644 --- a/lang/check/check.go +++ b/lang/check/check.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:generate go run gen.go diff --git a/lang/check/check_test.go b/lang/check/check_test.go index dfcf6b68..f42d7839 100644 --- a/lang/check/check_test.go +++ b/lang/check/check_test.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/data.go b/lang/check/data.go index 22994540..0da2a975 100644 --- a/lang/check/data.go +++ b/lang/check/data.go @@ -2,17 +2,11 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/gen.go b/lang/check/gen.go index 0c004be9..16ddbf3b 100644 --- a/lang/check/gen.go +++ b/lang/check/gen.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore @@ -340,17 +334,11 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/optimize.go b/lang/check/optimize.go index 3c8780fe..dea174d2 100644 --- a/lang/check/optimize.go +++ b/lang/check/optimize.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/resolve.go b/lang/check/resolve.go index 4d9ade93..6725b10e 100644 --- a/lang/check/resolve.go +++ b/lang/check/resolve.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/check/type.go b/lang/check/type.go index 52c4b253..766e0816 100644 --- a/lang/check/type.go +++ b/lang/check/type.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package check diff --git a/lang/generate/generate.go b/lang/generate/generate.go index b5b4c7ad..4cba13e3 100644 --- a/lang/generate/generate.go +++ b/lang/generate/generate.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package generate diff --git a/lang/parse/parse.go b/lang/parse/parse.go index fae47e0d..d72a836d 100644 --- a/lang/parse/parse.go +++ b/lang/parse/parse.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package parse diff --git a/lang/render/render.go b/lang/render/render.go index f1cb8820..eff91d7d 100644 --- a/lang/render/render.go +++ b/lang/render/render.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package render diff --git a/lang/token/list.go b/lang/token/list.go index c76d2055..4994fd80 100644 --- a/lang/token/list.go +++ b/lang/token/list.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package token diff --git a/lang/token/token.go b/lang/token/token.go index f6623c44..5e9d74d8 100644 --- a/lang/token/token.go +++ b/lang/token/token.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package token diff --git a/lang/wuffsroot/wuffsroot.go b/lang/wuffsroot/wuffsroot.go index d1a24f07..b88e13c0 100644 --- a/lang/wuffsroot/wuffsroot.go +++ b/lang/wuffsroot/wuffsroot.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package wuffsroot diff --git a/lib/armneonintrinsics/ani.go b/lib/armneonintrinsics/ani.go index 5ab23636..b5916154 100644 --- a/lib/armneonintrinsics/ani.go +++ b/lib/armneonintrinsics/ani.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/armneonintrinsics/data.go b/lib/armneonintrinsics/data.go index 43561581..2b319db7 100644 --- a/lib/armneonintrinsics/data.go +++ b/lib/armneonintrinsics/data.go @@ -2,17 +2,11 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package armneonintrinsics diff --git a/lib/armneonintrinsics/example_test.go b/lib/armneonintrinsics/example_test.go index 7e3b6318..e09cd407 100644 --- a/lib/armneonintrinsics/example_test.go +++ b/lib/armneonintrinsics/example_test.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package armneonintrinsics_test diff --git a/lib/armneonintrinsics/gen.go b/lib/armneonintrinsics/gen.go index 229ea2e3..ece0bc8c 100644 --- a/lib/armneonintrinsics/gen.go +++ b/lib/armneonintrinsics/gen.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- @@ -382,17 +376,11 @@ const header = `// Code generated by running "go generate". DO NOT EDIT. // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package armneonintrinsics ` diff --git a/lib/armneonintrinsics/type.go b/lib/armneonintrinsics/type.go index 19f452ec..9767231f 100644 --- a/lib/armneonintrinsics/type.go +++ b/lib/armneonintrinsics/type.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package armneonintrinsics diff --git a/lib/base38/base38.go b/lib/base38/base38.go index e22f8e5c..08b72e7b 100644 --- a/lib/base38/base38.go +++ b/lib/base38/base38.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/base38/base38_test.go b/lib/base38/base38_test.go index d35dd7c0..3d28000a 100644 --- a/lib/base38/base38_test.go +++ b/lib/base38/base38_test.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package base38 diff --git a/lib/cgolz4/cgolz4.go b/lib/cgolz4/cgolz4.go index 84c226cf..723ea739 100644 --- a/lib/cgolz4/cgolz4.go +++ b/lib/cgolz4/cgolz4.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/cgolz4/cgolz4_test.go b/lib/cgolz4/cgolz4_test.go index a5364406..3f7a1dde 100644 --- a/lib/cgolz4/cgolz4_test.go +++ b/lib/cgolz4/cgolz4_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgolz4 diff --git a/lib/cgolz4/notcgo.go b/lib/cgolz4/notcgo.go index 09c20064..a5c3dbc8 100644 --- a/lib/cgolz4/notcgo.go +++ b/lib/cgolz4/notcgo.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/cgozlib/cgozlib.go b/lib/cgozlib/cgozlib.go index 5c9d6e06..e78e6b53 100644 --- a/lib/cgozlib/cgozlib.go +++ b/lib/cgozlib/cgozlib.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/cgozlib/cgozlib_test.go b/lib/cgozlib/cgozlib_test.go index 48ea6086..2d581b28 100644 --- a/lib/cgozlib/cgozlib_test.go +++ b/lib/cgozlib/cgozlib_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgozlib diff --git a/lib/cgozlib/notcgo.go b/lib/cgozlib/notcgo.go index e4b86ffe..49b60f92 100644 --- a/lib/cgozlib/notcgo.go +++ b/lib/cgozlib/notcgo.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/cgozstd/cgozstd.go b/lib/cgozstd/cgozstd.go index e8958846..00896c80 100644 --- a/lib/cgozstd/cgozstd.go +++ b/lib/cgozstd/cgozstd.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/cgozstd/cgozstd_test.go b/lib/cgozstd/cgozstd_test.go index fa4ef60e..5a7e620c 100644 --- a/lib/cgozstd/cgozstd_test.go +++ b/lib/cgozstd/cgozstd_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package cgozstd diff --git a/lib/cgozstd/notcgo.go b/lib/cgozstd/notcgo.go index 01ef6705..1545cba8 100644 --- a/lib/cgozstd/notcgo.go +++ b/lib/cgozstd/notcgo.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/compression/compression.go b/lib/compression/compression.go index 3f68f6f9..e22eeca4 100644 --- a/lib/compression/compression.go +++ b/lib/compression/compression.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/compression/compression_test.go b/lib/compression/compression_test.go index 1ac715fe..83c54211 100644 --- a/lib/compression/compression_test.go +++ b/lib/compression/compression_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package compression diff --git a/lib/dumbindent/dumbindent.go b/lib/dumbindent/dumbindent.go index 1881df5d..2f394f46 100644 --- a/lib/dumbindent/dumbindent.go +++ b/lib/dumbindent/dumbindent.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/dumbindent/dumbindent_test.go b/lib/dumbindent/dumbindent_test.go index a93f1a79..af869b59 100644 --- a/lib/dumbindent/dumbindent_test.go +++ b/lib/dumbindent/dumbindent_test.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package dumbindent diff --git a/lib/flatecut/flatecut.go b/lib/flatecut/flatecut.go index 4515c5dd..df9d96fa 100644 --- a/lib/flatecut/flatecut.go +++ b/lib/flatecut/flatecut.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/flatecut/flatecut_test.go b/lib/flatecut/flatecut_test.go index b3ad86c4..a64c136c 100644 --- a/lib/flatecut/flatecut_test.go +++ b/lib/flatecut/flatecut_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package flatecut diff --git a/lib/internal/racdict/racdict.go b/lib/internal/racdict/racdict.go index c859a858..8e278b98 100644 --- a/lib/internal/racdict/racdict.go +++ b/lib/internal/racdict/racdict.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/interval/interval.go b/lib/interval/interval.go index d70d88cb..2fd28084 100644 --- a/lib/interval/interval.go +++ b/lib/interval/interval.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/interval/interval_test.go b/lib/interval/interval_test.go index 17271957..b51cf7a6 100644 --- a/lib/interval/interval_test.go +++ b/lib/interval/interval_test.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package interval diff --git a/lib/interval/radial_test.go b/lib/interval/radial_test.go index f28e5297..57f26c3d 100644 --- a/lib/interval/radial_test.go +++ b/lib/interval/radial_test.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package interval diff --git a/lib/litonlylzma/example_test.go b/lib/litonlylzma/example_test.go index 18250306..121306e6 100644 --- a/lib/litonlylzma/example_test.go +++ b/lib/litonlylzma/example_test.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package litonlylzma_test diff --git a/lib/litonlylzma/litonlylzma.go b/lib/litonlylzma/litonlylzma.go index 70286a23..c4a7ca25 100644 --- a/lib/litonlylzma/litonlylzma.go +++ b/lib/litonlylzma/litonlylzma.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/litonlylzma/litonlylzma_test.go b/lib/litonlylzma/litonlylzma_test.go index 2935a6c1..8e4962aa 100644 --- a/lib/litonlylzma/litonlylzma_test.go +++ b/lib/litonlylzma/litonlylzma_test.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package litonlylzma diff --git a/lib/nie/nie.go b/lib/nie/nie.go index 5c0d5d98..84b4d709 100644 --- a/lib/nie/nie.go +++ b/lib/nie/nie.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/rac/chunk_reader.go b/lib/rac/chunk_reader.go index e6bdfa25..501a67b7 100644 --- a/lib/rac/chunk_reader.go +++ b/lib/rac/chunk_reader.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/rac/chunk_writer.go b/lib/rac/chunk_writer.go index f07442ea..e72619cf 100644 --- a/lib/rac/chunk_writer.go +++ b/lib/rac/chunk_writer.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/rac/conc_reader.go b/lib/rac/conc_reader.go index 6acb47cc..e84e7539 100644 --- a/lib/rac/conc_reader.go +++ b/lib/rac/conc_reader.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/rac/example_test.go b/lib/rac/example_test.go index e84a547e..e473fce5 100644 --- a/lib/rac/example_test.go +++ b/lib/rac/example_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac_test diff --git a/lib/rac/rac.go b/lib/rac/rac.go index 07408545..60900e1c 100644 --- a/lib/rac/rac.go +++ b/lib/rac/rac.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/rac/rac_test.go b/lib/rac/rac_test.go index 26ae6059..94260d1e 100644 --- a/lib/rac/rac_test.go +++ b/lib/rac/rac_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/rac/reader.go b/lib/rac/reader.go index 8b3517ed..6e82026f 100644 --- a/lib/rac/reader.go +++ b/lib/rac/reader.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/rac/writer.go b/lib/rac/writer.go index 8ad09e42..1743a74d 100644 --- a/lib/rac/writer.go +++ b/lib/rac/writer.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package rac diff --git a/lib/raclz4/example_test.go b/lib/raclz4/example_test.go index 1579d4f9..61f45dc3 100644 --- a/lib/raclz4/example_test.go +++ b/lib/raclz4/example_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package raclz4_test diff --git a/lib/raclz4/raclz4.go b/lib/raclz4/raclz4.go index 07899d4a..bd30136a 100644 --- a/lib/raclz4/raclz4.go +++ b/lib/raclz4/raclz4.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/raczlib/example_test.go b/lib/raczlib/example_test.go index 5c5ac43e..c580a7fa 100644 --- a/lib/raczlib/example_test.go +++ b/lib/raczlib/example_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package raczlib_test diff --git a/lib/raczlib/make_cgo.go b/lib/raczlib/make_cgo.go index ce17a829..e1aa8b43 100644 --- a/lib/raczlib/make_cgo.go +++ b/lib/raczlib/make_cgo.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build cgo // +build cgo diff --git a/lib/raczlib/make_notcgo.go b/lib/raczlib/make_notcgo.go index 08e8bcbf..edc7b9bb 100644 --- a/lib/raczlib/make_notcgo.go +++ b/lib/raczlib/make_notcgo.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build !cgo // +build !cgo diff --git a/lib/raczlib/raczlib.go b/lib/raczlib/raczlib.go index 289535da..e94fc0be 100644 --- a/lib/raczlib/raczlib.go +++ b/lib/raczlib/raczlib.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/raczlib/raczlib_test.go b/lib/raczlib/raczlib_test.go index 4816bc42..98b97b28 100644 --- a/lib/raczlib/raczlib_test.go +++ b/lib/raczlib/raczlib_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package raczlib diff --git a/lib/raczstd/example_test.go b/lib/raczstd/example_test.go index 214627f5..1b69f5f4 100644 --- a/lib/raczstd/example_test.go +++ b/lib/raczstd/example_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package raczstd_test diff --git a/lib/raczstd/raczstd.go b/lib/raczstd/raczstd.go index 9513170f..4e5b5828 100644 --- a/lib/raczstd/raczstd.go +++ b/lib/raczstd/raczstd.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/readerat/readerat.go b/lib/readerat/readerat.go index ef819f7c..8a77c318 100644 --- a/lib/readerat/readerat.go +++ b/lib/readerat/readerat.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/zlibcut/example_test.go b/lib/zlibcut/example_test.go index 2a196977..e4f7fa91 100644 --- a/lib/zlibcut/example_test.go +++ b/lib/zlibcut/example_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package zlibcut_test diff --git a/lib/zlibcut/zlibcut.go b/lib/zlibcut/zlibcut.go index 6554ea11..351c0b61 100644 --- a/lib/zlibcut/zlibcut.go +++ b/lib/zlibcut/zlibcut.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/lib/zlibcut/zlibcut_test.go b/lib/zlibcut/zlibcut_test.go index e93b8e3f..7df0f626 100644 --- a/lib/zlibcut/zlibcut_test.go +++ b/lib/zlibcut/zlibcut_test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. package zlibcut diff --git a/release/c/wuffs-unsupported-snapshot.c b/release/c/wuffs-unsupported-snapshot.c index 9a4cb667..f96c92ad 100644 --- a/release/c/wuffs-unsupported-snapshot.c +++ b/release/c/wuffs-unsupported-snapshot.c @@ -37,17 +37,11 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include #include diff --git a/script/adler32-standalone.c b/script/adler32-standalone.c index a2e22b96..55433d73 100644 --- a/script/adler32-standalone.c +++ b/script/adler32-standalone.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/base38-encode.go b/script/base38-encode.go index 29a999d4..2c49580a 100644 --- a/script/base38-encode.go +++ b/script/base38-encode.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/bench-c-deflate-fragmentation.c b/script/bench-c-deflate-fragmentation.c index 2adb6016..1eee0e5f 100644 --- a/script/bench-c-deflate-fragmentation.c +++ b/script/bench-c-deflate-fragmentation.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/bench-go-deflate/main.go b/script/bench-go-deflate/main.go index afe89e39..f0320776 100644 --- a/script/bench-go-deflate/main.go +++ b/script/bench-go-deflate/main.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/bench-go-gif/main.go b/script/bench-go-gif/main.go index 4dd74b2b..dfd997e7 100644 --- a/script/bench-go-gif/main.go +++ b/script/bench-go-gif/main.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/bench-go-jpeg/main.go b/script/bench-go-jpeg/main.go index 398ac7db..946786aa 100644 --- a/script/bench-go-jpeg/main.go +++ b/script/bench-go-jpeg/main.go @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/bench-go-png/main.go b/script/bench-go-png/main.go index e6bd31c9..50289cda 100644 --- a/script/bench-go-png/main.go +++ b/script/bench-go-png/main.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/bench-history.sh b/script/bench-history.sh index bc583024..bd31a757 100755 --- a/script/bench-history.sh +++ b/script/bench-history.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2019 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/script/bench-rust-deflate/src/main.rs b/script/bench-rust-deflate/src/main.rs index 84b2008e..d130952c 100644 --- a/script/bench-rust-deflate/src/main.rs +++ b/script/bench-rust-deflate/src/main.rs @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +//// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/bench-rust-gif-dot-rs/src/main.rs b/script/bench-rust-gif-dot-rs/src/main.rs index e3d2e99f..94a4db1d 100644 --- a/script/bench-rust-gif-dot-rs/src/main.rs +++ b/script/bench-rust-gif-dot-rs/src/main.rs @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +//// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/bench-rust-gif/src/main.rs b/script/bench-rust-gif/src/main.rs index 9634ff87..b6363d00 100644 --- a/script/bench-rust-gif/src/main.rs +++ b/script/bench-rust-gif/src/main.rs @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +//// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/bench-rust-jpeg/src/main.rs b/script/bench-rust-jpeg/src/main.rs index 570f3477..07fc088a 100644 --- a/script/bench-rust-jpeg/src/main.rs +++ b/script/bench-rust-jpeg/src/main.rs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +//// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/bench-rust-png/src/main.rs b/script/bench-rust-png/src/main.rs index 95a4c67e..90632b55 100644 --- a/script/bench-rust-png/src/main.rs +++ b/script/bench-rust-png/src/main.rs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +//// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/benchstat-ratio.go b/script/benchstat-ratio.go index 3f6498ee..cce894ef 100644 --- a/script/benchstat-ratio.go +++ b/script/benchstat-ratio.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/checksum.go b/script/checksum.go index 68958fb7..00182b8b 100644 --- a/script/checksum.go +++ b/script/checksum.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/compress-giflzw.go b/script/compress-giflzw.go index 9427381b..45e78495 100644 --- a/script/compress-giflzw.go +++ b/script/compress-giflzw.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/confirm-matches-djpeg.sh b/script/confirm-matches-djpeg.sh index 389560a2..e5352f20 100755 --- a/script/confirm-matches-djpeg.sh +++ b/script/confirm-matches-djpeg.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2023 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/script/convert-nie-to-png.go b/script/convert-nie-to-png.go index 0e7918ee..d4c4c098 100644 --- a/script/convert-nie-to-png.go +++ b/script/convert-nie-to-png.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/convert-png-to-wbmp.go b/script/convert-png-to-wbmp.go index feeb126f..0aec2c6a 100644 --- a/script/convert-png-to-wbmp.go +++ b/script/convert-png-to-wbmp.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/crawl.go b/script/crawl.go index 5811fd72..1778a277 100644 --- a/script/crawl.go +++ b/script/crawl.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/draw-with-mask.go b/script/draw-with-mask.go index dfff8b6a..fda3704c 100644 --- a/script/draw-with-mask.go +++ b/script/draw-with-mask.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/extract-cbor-rfc-7049-examples.go b/script/extract-cbor-rfc-7049-examples.go index bbbd5c49..938604d2 100644 --- a/script/extract-cbor-rfc-7049-examples.go +++ b/script/extract-cbor-rfc-7049-examples.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/extract-deflate-offsets.go b/script/extract-deflate-offsets.go index f18b2299..19ae77a6 100644 --- a/script/extract-deflate-offsets.go +++ b/script/extract-deflate-offsets.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/extract-giflzw.go b/script/extract-giflzw.go index e994d0b4..544966a0 100644 --- a/script/extract-giflzw.go +++ b/script/extract-giflzw.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/extract-nia-frames.go b/script/extract-nia-frames.go index 56c70671..440486c2 100644 --- a/script/extract-nia-frames.go +++ b/script/extract-nia-frames.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/extract-palette-indexes.go b/script/extract-palette-indexes.go index 04020421..4aa79267 100644 --- a/script/extract-palette-indexes.go +++ b/script/extract-palette-indexes.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/inline-c-relative-includes.go b/script/inline-c-relative-includes.go index 8c700e2f..05cfaab7 100644 --- a/script/inline-c-relative-includes.go +++ b/script/inline-c-relative-includes.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/litonlylzma.go b/script/litonlylzma.go index f4f01605..54d9a4b5 100644 --- a/script/litonlylzma.go +++ b/script/litonlylzma.go @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/make-artificial.go b/script/make-artificial.go index fe41d8cc..6b9b8315 100644 --- a/script/make-artificial.go +++ b/script/make-artificial.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/make-red-blue-gradient.go b/script/make-red-blue-gradient.go index a704efec..fe439838 100644 --- a/script/make-red-blue-gradient.go +++ b/script/make-red-blue-gradient.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/manual-test-parse-number-f64.cc b/script/manual-test-parse-number-f64.cc index d4ac7f3d..eb3cad46 100644 --- a/script/manual-test-parse-number-f64.cc +++ b/script/manual-test-parse-number-f64.cc @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/manual-test-truncated-input.cc b/script/manual-test-truncated-input.cc index 138958b6..0362aa8b 100644 --- a/script/manual-test-truncated-input.cc +++ b/script/manual-test-truncated-input.cc @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/mmap-ring-buffer.c b/script/mmap-ring-buffer.c index 2a258258..3ac9a3bd 100644 --- a/script/mmap-ring-buffer.c +++ b/script/mmap-ring-buffer.c @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/preprocess-wuffs.go b/script/preprocess-wuffs.go index 8afd4113..2bdd466e 100644 --- a/script/preprocess-wuffs.go +++ b/script/preprocess-wuffs.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-average-pixel.cc b/script/print-average-pixel.cc index 35e5878d..ae26d9f2 100644 --- a/script/print-average-pixel.cc +++ b/script/print-average-pixel.cc @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/print-bits.go b/script/print-bits.go index 9f27696b..85c838a3 100644 --- a/script/print-bits.go +++ b/script/print-bits.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-byte-frequencies.go b/script/print-byte-frequencies.go index c9df7695..299ce739 100644 --- a/script/print-byte-frequencies.go +++ b/script/print-byte-frequencies.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-crc32-example.go b/script/print-crc32-example.go index e3308494..f75d9861 100644 --- a/script/print-crc32-example.go +++ b/script/print-crc32-example.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-crc32-magic-numbers.go b/script/print-crc32-magic-numbers.go index 1c3c2727..6dbd8ff0 100644 --- a/script/print-crc32-magic-numbers.go +++ b/script/print-crc32-magic-numbers.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //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 b54b81ad..ac2082f6 100644 --- a/script/print-crc32-x86-sse42-magic-numbers.go +++ b/script/print-crc32-x86-sse42-magic-numbers.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-deflate-huff-table-size.go b/script/print-deflate-huff-table-size.go index d10f2c44..85d7f0e7 100644 --- a/script/print-deflate-huff-table-size.go +++ b/script/print-deflate-huff-table-size.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-deflate-magic-numbers.go b/script/print-deflate-magic-numbers.go index 61730a42..f40b5fd1 100644 --- a/script/print-deflate-magic-numbers.go +++ b/script/print-deflate-magic-numbers.go @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-file-sizes-json.go b/script/print-file-sizes-json.go index b527c37b..7bdf4fda 100644 --- a/script/print-file-sizes-json.go +++ b/script/print-file-sizes-json.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-hpd-left-shift.go b/script/print-hpd-left-shift.go index 5f95651a..bc486542 100644 --- a/script/print-hpd-left-shift.go +++ b/script/print-hpd-left-shift.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-image-metadata.cc b/script/print-image-metadata.cc index 1ff7a6be..0518dfad 100644 --- a/script/print-image-metadata.cc +++ b/script/print-image-metadata.cc @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/print-jpeg-idct-code.go b/script/print-jpeg-idct-code.go index 22bed641..e63d87bd 100644 --- a/script/print-jpeg-idct-code.go +++ b/script/print-jpeg-idct-code.go @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-jpeg-markers.go b/script/print-jpeg-markers.go index 433d6ce5..1d1ecc9b 100644 --- a/script/print-jpeg-markers.go +++ b/script/print-jpeg-markers.go @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-json-ascii-escapes.go b/script/print-json-ascii-escapes.go index 1a30bd19..3697e4d2 100644 --- a/script/print-json-ascii-escapes.go +++ b/script/print-json-ascii-escapes.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-json-token-debug-format.c b/script/print-json-token-debug-format.c index d2bf86d5..fe1a2440 100644 --- a/script/print-json-token-debug-format.c +++ b/script/print-json-token-debug-format.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/print-lzw-example.go b/script/print-lzw-example.go index 6001e948..372ccd14 100644 --- a/script/print-lzw-example.go +++ b/script/print-lzw-example.go @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-markdown-links.go b/script/print-markdown-links.go index cc8d1359..5829c7fb 100644 --- a/script/print-markdown-links.go +++ b/script/print-markdown-links.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-mpb-powers-of-10.go b/script/print-mpb-powers-of-10.go index ac3a7d45..bd08534d 100644 --- a/script/print-mpb-powers-of-10.go +++ b/script/print-mpb-powers-of-10.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-nia-checksums.sh b/script/print-nia-checksums.sh index 8c1ed46d..f4e6ce29 100755 --- a/script/print-nia-checksums.sh +++ b/script/print-nia-checksums.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2021 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/script/print-png-latin-1.go b/script/print-png-latin-1.go index 34fc86fe..a96c4a0f 100644 --- a/script/print-png-latin-1.go +++ b/script/print-png-latin-1.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/print-render-number-f64-tests.go b/script/print-render-number-f64-tests.go index ef47c1c5..260b1adc 100644 --- a/script/print-render-number-f64-tests.go +++ b/script/print-render-number-f64-tests.go @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/process-json-numbers.c b/script/process-json-numbers.c index 282a692a..55c9d445 100644 --- a/script/process-json-numbers.c +++ b/script/process-json-numbers.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/script/rac-random-seek-test.go b/script/rac-random-seek-test.go index f571ea3e..68373635 100644 --- a/script/rac-random-seek-test.go +++ b/script/rac-random-seek-test.go @@ -1,16 +1,10 @@ // Copyright 2019 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/run-json-test-suite.sh b/script/run-json-test-suite.sh index c7d86566..317cf0b3 100755 --- a/script/run-json-test-suite.sh +++ b/script/run-json-test-suite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2020 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/script/strip-png-ancillary-chunks.go b/script/strip-png-ancillary-chunks.go index 747e5e18..3e7e00e3 100644 --- a/script/strip-png-ancillary-chunks.go +++ b/script/strip-png-ancillary-chunks.go @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/truncate-progressive-jpeg.go b/script/truncate-progressive-jpeg.go index 594cbc6b..90eaf45b 100644 --- a/script/truncate-progressive-jpeg.go +++ b/script/truncate-progressive-jpeg.go @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. //go:build ignore // +build ignore diff --git a/script/wuffs-deflate-decoder-decode-huffman.c b/script/wuffs-deflate-decoder-decode-huffman.c index 35b09e38..60d33caa 100644 --- a/script/wuffs-deflate-decoder-decode-huffman.c +++ b/script/wuffs-deflate-decoder-decode-huffman.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/std/adler32/common_adler32.wuffs b/std/adler32/common_adler32.wuffs index b78350d9..37bb7151 100644 --- a/std/adler32/common_adler32.wuffs +++ b/std/adler32/common_adler32.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 138538f4..cf95c231 100644 --- a/std/adler32/common_up_arm_neon.wuffs +++ b/std/adler32/common_up_arm_neon.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 31e1faee..57686df3 100644 --- a/std/adler32/common_up_x86_sse42.wuffs +++ b/std/adler32/common_up_x86_sse42.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 3fa44aed..799a9424 100644 --- a/std/bmp/decode_bmp.wuffs +++ b/std/bmp/decode_bmp.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad header" pub status "#bad RLE compression" diff --git a/std/bzip2/decode_bzip2.wuffs b/std/bzip2/decode_bzip2.wuffs index 760f83ba..c93fc7c1 100644 --- a/std/bzip2/decode_bzip2.wuffs +++ b/std/bzip2/decode_bzip2.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 2bcc1b8d..f8204c17 100644 --- a/std/bzip2/decode_flush_fast.wuffs +++ b/std/bzip2/decode_flush_fast.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 14cc0568..3621e580 100644 --- a/std/bzip2/decode_flush_slow.wuffs +++ b/std/bzip2/decode_flush_slow.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 3420435a..b307bfd3 100644 --- a/std/bzip2/decode_huffman_fast.wuffs +++ b/std/bzip2/decode_huffman_fast.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 6d03200d..f8da8f3e 100644 --- a/std/bzip2/decode_huffman_slow.wuffs +++ b/std/bzip2/decode_huffman_slow.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 bafa1b7c..8d81b3b1 100644 --- a/std/cbor/decode_cbor.wuffs +++ b/std/cbor/decode_cbor.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad input" pub status "#unsupported recursion depth" diff --git a/std/crc32/common_crc32.wuffs b/std/crc32/common_crc32.wuffs index 74ad533b..dc19d3a4 100644 --- a/std/crc32/common_crc32.wuffs +++ b/std/crc32/common_crc32.wuffs @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 8f222ea3..c5f2fa92 100644 --- a/std/crc32/common_up_arm_crc32.wuffs +++ b/std/crc32/common_up_arm_crc32.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 dea2dd5b..d35d0389 100644 --- a/std/crc32/common_up_x86_avx2.wuffs +++ b/std/crc32/common_up_x86_avx2.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/crc32/common_up_x86_sse42.wuffs b/std/crc32/common_up_x86_sse42.wuffs index 4ba343ff..a51379b1 100644 --- a/std/crc32/common_up_x86_sse42.wuffs +++ b/std/crc32/common_up_x86_sse42.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/deflate/common_consts.wuffs b/std/deflate/common_consts.wuffs index e6e81a0d..ae9270c4 100644 --- a/std/deflate/common_consts.wuffs +++ b/std/deflate/common_consts.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 a78ec5b9..eb1fe593 100644 --- a/std/deflate/decode_deflate.wuffs +++ b/std/deflate/decode_deflate.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 52c020ef..d9a71f21 100644 --- a/std/deflate/decode_huffman_bmi2.wuffs +++ b/std/deflate/decode_huffman_bmi2.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 c1b6c0d0..bd611a0a 100644 --- a/std/deflate/decode_huffman_fast32.wuffs +++ b/std/deflate/decode_huffman_fast32.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 69fc2078..5d33871b 100644 --- a/std/deflate/decode_huffman_fast64.wuffs +++ b/std/deflate/decode_huffman_fast64.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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 086998fc..e27ca188 100644 --- a/std/deflate/decode_huffman_slow.wuffs +++ b/std/deflate/decode_huffman_slow.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 dcae73c3..812e2c3d 100644 --- a/std/gif/common_consts.wuffs +++ b/std/gif/common_consts.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 9fac5fc5..63fc8422 100644 --- a/std/gif/decode_gif.wuffs +++ b/std/gif/decode_gif.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 7c836d3b..e0c641fa 100644 --- a/std/gif/decode_lzw.wuffs +++ b/std/gif/decode_lzw.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/gif/decode_quirks.wuffs b/std/gif/decode_quirks.wuffs index 860cca87..d58b0fff 100644 --- a/std/gif/decode_quirks.wuffs +++ b/std/gif/decode_quirks.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/gzip/decode_gzip.wuffs b/std/gzip/decode_gzip.wuffs index e330ecd3..b2c95841 100644 --- a/std/gzip/decode_gzip.wuffs +++ b/std/gzip/decode_gzip.wuffs @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. use "std/crc32" use "std/deflate" diff --git a/std/jpeg/common_consts.wuffs b/std/jpeg/common_consts.wuffs index 895059f4..dad83091 100644 --- a/std/jpeg/common_consts.wuffs +++ b/std/jpeg/common_consts.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/jpeg/decode_idct_default.wuffs b/std/jpeg/decode_idct_default.wuffs index 459ccb3a..b866d317 100644 --- a/std/jpeg/decode_idct_default.wuffs +++ b/std/jpeg/decode_idct_default.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 c8ddb39b..dc5789d3 100644 --- a/std/jpeg/decode_idct_x86_avx2.wuffs +++ b/std/jpeg/decode_idct_x86_avx2.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 03d88f9f..40175a6f 100644 --- a/std/jpeg/decode_jpeg.wuffs +++ b/std/jpeg/decode_jpeg.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 f8d4eb40..75712658 100644 --- a/std/jpeg/decode_load_smooth.wuffs +++ b/std/jpeg/decode_load_smooth.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---- diff --git a/std/jpeg/decode_mcu_default.wuffs b/std/jpeg/decode_mcu_default.wuffs index 252d0f30..75e1931c 100644 --- a/std/jpeg/decode_mcu_default.wuffs +++ b/std/jpeg/decode_mcu_default.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 c47f4d6d..aaef165d 100644 --- a/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs +++ b/std/jpeg/decode_mcu_progressive_ac_high_bits.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 13a37ef4..0ea58b8a 100644 --- a/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs +++ b/std/jpeg/decode_mcu_progressive_ac_low_bit.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 8df36a30..222be1ec 100644 --- a/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs +++ b/std/jpeg/decode_mcu_progressive_dc_high_bits.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 91a0c4ed..3768db36 100644 --- a/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs +++ b/std/jpeg/decode_mcu_progressive_dc_low_bit.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 4d9b928a..71d7adb2 100644 --- a/std/json/common_consts.wuffs +++ b/std/json/common_consts.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 4ed75da7..e8824079 100644 --- a/std/json/decode_json.wuffs +++ b/std/json/decode_json.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 95c29fce..9d3ebb53 100644 --- a/std/json/decode_quirks.wuffs +++ b/std/json/decode_quirks.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/lzw/decode_lzw.wuffs b/std/lzw/decode_lzw.wuffs index f4e0c9b4..857826db 100644 --- a/std/lzw/decode_lzw.wuffs +++ b/std/lzw/decode_lzw.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad code" pub status "#truncated input" diff --git a/std/lzw/decode_quirks.wuffs b/std/lzw/decode_quirks.wuffs index 4a29a07b..fc58e2f8 100644 --- a/std/lzw/decode_quirks.wuffs +++ b/std/lzw/decode_quirks.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/netpbm/decode_netpbm.wuffs b/std/netpbm/decode_netpbm.wuffs index 9f9edda4..ba76841a 100644 --- a/std/netpbm/decode_netpbm.wuffs +++ b/std/netpbm/decode_netpbm.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad header" pub status "#truncated input" diff --git a/std/nie/decode_nie.wuffs b/std/nie/decode_nie.wuffs index fa06d0ce..77d3bae5 100644 --- a/std/nie/decode_nie.wuffs +++ b/std/nie/decode_nie.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad header" pub status "#truncated input" diff --git a/std/png/common_consts.wuffs b/std/png/common_consts.wuffs index 9401d13a..5a335333 100644 --- a/std/png/common_consts.wuffs +++ b/std/png/common_consts.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 663d1551..5b1fd7c9 100644 --- a/std/png/decode_filter_arm_neon.wuffs +++ b/std/png/decode_filter_arm_neon.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/png/decode_filter_fallback.wuffs b/std/png/decode_filter_fallback.wuffs index 6a13b9c2..976271cb 100644 --- a/std/png/decode_filter_fallback.wuffs +++ b/std/png/decode_filter_fallback.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/png/decode_filter_x86_sse42.wuffs b/std/png/decode_filter_x86_sse42.wuffs index e4a11331..a5eecc45 100644 --- a/std/png/decode_filter_x86_sse42.wuffs +++ b/std/png/decode_filter_x86_sse42.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/png/decode_png.wuffs b/std/png/decode_png.wuffs index a4120466..9ebe1608 100644 --- a/std/png/decode_png.wuffs +++ b/std/png/decode_png.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. use "std/crc32" use "std/zlib" diff --git a/std/png/decode_swizzle_default.wuffs b/std/png/decode_swizzle_default.wuffs index ac738f57..72e968ea 100644 --- a/std/png/decode_swizzle_default.wuffs +++ b/std/png/decode_swizzle_default.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 53ce9898..3a8c77f3 100644 --- a/std/png/decode_swizzle_tricky.wuffs +++ b/std/png/decode_swizzle_tricky.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 09c508da..3aa961ad 100644 --- a/std/tga/decode_tga.wuffs +++ b/std/tga/decode_tga.wuffs @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. 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 afbfc6a2..680a5f3d 100644 --- a/std/wbmp/decode_wbmp.wuffs +++ b/std/wbmp/decode_wbmp.wuffs @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pub status "#bad header" pub status "#truncated input" diff --git a/std/xxhash32/common_xxhash32.wuffs b/std/xxhash32/common_xxhash32.wuffs index a7fad5e8..b7257ca4 100644 --- a/std/xxhash32/common_xxhash32.wuffs +++ b/std/xxhash32/common_xxhash32.wuffs @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. pri const XXH_PRIME32_1 : base.u32 = 0x9E37_79B1 pri const XXH_PRIME32_2 : base.u32 = 0x85EB_CA77 diff --git a/std/zlib/decode_quirks.wuffs b/std/zlib/decode_quirks.wuffs index 02b73d40..df2cde5b 100644 --- a/std/zlib/decode_quirks.wuffs +++ b/std/zlib/decode_quirks.wuffs @@ -1,16 +1,10 @@ // Copyright 2021 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // -------- diff --git a/std/zlib/decode_zlib.wuffs b/std/zlib/decode_zlib.wuffs index 4270a17d..c73fbb60 100644 --- a/std/zlib/decode_zlib.wuffs +++ b/std/zlib/decode_zlib.wuffs @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. use "std/adler32" use "std/deflate" diff --git a/test/3pdata/fetch-blinksuite.sh b/test/3pdata/fetch-blinksuite.sh index 1dd2b500..e76fe393 100755 --- a/test/3pdata/fetch-blinksuite.sh +++ b/test/3pdata/fetch-blinksuite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2023 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/test/3pdata/fetch-bmpsuite.sh b/test/3pdata/fetch-bmpsuite.sh index 13adc298..2b309696 100755 --- a/test/3pdata/fetch-bmpsuite.sh +++ b/test/3pdata/fetch-bmpsuite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2023 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/test/3pdata/fetch-golangsuite.sh b/test/3pdata/fetch-golangsuite.sh index 5f335721..db4521a2 100755 --- a/test/3pdata/fetch-golangsuite.sh +++ b/test/3pdata/fetch-golangsuite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2023 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/test/3pdata/fetch-pngsuite.sh b/test/3pdata/fetch-pngsuite.sh index c22e8fc5..8b7094c2 100755 --- a/test/3pdata/fetch-pngsuite.sh +++ b/test/3pdata/fetch-pngsuite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2021 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/test/3pdata/fetch-tgasuite.sh b/test/3pdata/fetch-tgasuite.sh index a615e9f2..e730d984 100755 --- a/test/3pdata/fetch-tgasuite.sh +++ b/test/3pdata/fetch-tgasuite.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2022 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ---------------- diff --git a/test/c/mimiclib/bzip2.c b/test/c/mimiclib/bzip2.c index 211fb0ba..f2a9d687 100644 --- a/test/c/mimiclib/bzip2.c +++ b/test/c/mimiclib/bzip2.c @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include "bzlib.h" diff --git a/test/c/mimiclib/deflate-gzip-zlib.c b/test/c/mimiclib/deflate-gzip-zlib.c index a24374bf..cd1d1639 100644 --- a/test/c/mimiclib/deflate-gzip-zlib.c +++ b/test/c/mimiclib/deflate-gzip-zlib.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/mimiclib/gif.c b/test/c/mimiclib/gif.c index 3ed9c94e..53eb8cf1 100644 --- a/test/c/mimiclib/gif.c +++ b/test/c/mimiclib/gif.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include "gif_lib.h" diff --git a/test/c/mimiclib/jpeg.c b/test/c/mimiclib/jpeg.c index 7747007f..225c882a 100644 --- a/test/c/mimiclib/jpeg.c +++ b/test/c/mimiclib/jpeg.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/mimiclib/png.c b/test/c/mimiclib/png.c index 10e817cb..f6faa09e 100644 --- a/test/c/mimiclib/png.c +++ b/test/c/mimiclib/png.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/mimiclib/stb.c b/test/c/mimiclib/stb.c index 3887ac7b..0bc16428 100644 --- a/test/c/mimiclib/stb.c +++ b/test/c/mimiclib/stb.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // 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/xxhash32.c b/test/c/mimiclib/xxhash32.c index 1315102f..86830a73 100644 --- a/test/c/mimiclib/xxhash32.c +++ b/test/c/mimiclib/xxhash32.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include "xxhash.h" diff --git a/test/c/std/adler32.c b/test/c/std/adler32.c index e48b9d4b..001d0f28 100644 --- a/test/c/std/adler32.c +++ b/test/c/std/adler32.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/bmp.c b/test/c/std/bmp.c index fe6873a0..19d1c6aa 100644 --- a/test/c/std/bmp.c +++ b/test/c/std/bmp.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/bzip2.c b/test/c/std/bzip2.c index 380496bc..ba64f82b 100644 --- a/test/c/std/bzip2.c +++ b/test/c/std/bzip2.c @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/cbor.c b/test/c/std/cbor.c index 910e997a..95dca134 100644 --- a/test/c/std/cbor.c +++ b/test/c/std/cbor.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/crc32.c b/test/c/std/crc32.c index 92b34e21..c920b39d 100644 --- a/test/c/std/crc32.c +++ b/test/c/std/crc32.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/deflate.c b/test/c/std/deflate.c index de2dff6e..e4287ae7 100644 --- a/test/c/std/deflate.c +++ b/test/c/std/deflate.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 92bcc05a..15eadf30 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/gzip.c b/test/c/std/gzip.c index 9ddc17d2..9c036d85 100644 --- a/test/c/std/gzip.c +++ b/test/c/std/gzip.c @@ -1,16 +1,10 @@ // Copyright 2018 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/jpeg.c b/test/c/std/jpeg.c index e8d6b3ee..8693259e 100644 --- a/test/c/std/jpeg.c +++ b/test/c/std/jpeg.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/json.c b/test/c/std/json.c index a9f43404..eeb81ab8 100644 --- a/test/c/std/json.c +++ b/test/c/std/json.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/lzw.c b/test/c/std/lzw.c index eeee121b..c89d3e60 100644 --- a/test/c/std/lzw.c +++ b/test/c/std/lzw.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/netpbm.c b/test/c/std/netpbm.c index 371c0e97..9ccba3ad 100644 --- a/test/c/std/netpbm.c +++ b/test/c/std/netpbm.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/nie.c b/test/c/std/nie.c index 328cda1c..bbe02382 100644 --- a/test/c/std/nie.c +++ b/test/c/std/nie.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/png.c b/test/c/std/png.c index 0ab5e837..986ffb61 100644 --- a/test/c/std/png.c +++ b/test/c/std/png.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/tga.c b/test/c/std/tga.c index 0794e83c..4baa2b64 100644 --- a/test/c/std/tga.c +++ b/test/c/std/tga.c @@ -1,16 +1,10 @@ // Copyright 2022 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/wbmp.c b/test/c/std/wbmp.c index a5bf507f..b7b04f37 100644 --- a/test/c/std/wbmp.c +++ b/test/c/std/wbmp.c @@ -1,16 +1,10 @@ // Copyright 2020 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/xxhash32.c b/test/c/std/xxhash32.c index c3093311..45121257 100644 --- a/test/c/std/xxhash32.c +++ b/test/c/std/xxhash32.c @@ -1,16 +1,10 @@ // Copyright 2023 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/std/zlib.c b/test/c/std/zlib.c index 98c68104..fba21292 100644 --- a/test/c/std/zlib.c +++ b/test/c/std/zlib.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. // ---------------- diff --git a/test/c/testlib/testlib.c b/test/c/testlib/testlib.c index e6a81b99..bc8c761c 100644 --- a/test/c/testlib/testlib.c +++ b/test/c/testlib/testlib.c @@ -1,16 +1,10 @@ // Copyright 2017 The Wuffs Authors. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #include #include diff --git a/test/data/hello.sh b/test/data/hello.sh index db0f9d4c..1deb9898 100755 --- a/test/data/hello.sh +++ b/test/data/hello.sh @@ -1,17 +1,11 @@ #!/bin/bash -eu # Copyright 2021 The Wuffs Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed under the Apache License, Version 2.0 or the MIT license +# , at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. # ----------------