From ec32f359bc4f7d5f8cb70f0a1e3a8033321947d3 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sat, 31 Oct 2026 14:21:50 -0500 Subject: [PATCH] ws-game: licenses: blast.c (zlib) for the DCL tables in codecs/compress/Explode --- licenses/NOTICE.md | 1 + licenses/blast-LICENSE.txt | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 licenses/blast-LICENSE.txt diff --git a/licenses/NOTICE.md b/licenses/NOTICE.md index d78888d..bef9ca8 100644 --- a/licenses/NOTICE.md +++ b/licenses/NOTICE.md @@ -39,6 +39,7 @@ | `src/Formats/codecs/H264/` (Tables: CAVLC / CABAC / deblocking / scaling constant tables of ITU-T H.264, extracted from openh264 sources; the decoder itself is written from the spec) | openh264 2.x (Cisco) | BSD-2-Clause: [openh264-LICENSE.txt](openh264-LICENSE.txt) | | `tests/gen/h264_jvt` (downloaded at fixture time, not committed) | ITU-T H.264.1 / JVT conformance bitstreams (itu.int) | ITU-T test data | | `tests/gen/wad` (cut down from the nix freedoom package at fixture time, not committed) | Freedoom 0.13 (freedoom.github.io) | BSD-3-Clause: [freedoom-COPYING.txt](freedoom-COPYING.txt) | +| `src/Formats/codecs/compress/Explode.luau` (the PKWARE DCL code tables and bit order) | blast.c 1.3 (Mark Adler, zlib contrib) | zlib: [blast-LICENSE.txt](blast-LICENSE.txt) | Ports of third-party code (minimp3, stb_vorbis, libopus, ...) add a row here and their upstream licence text in this folder (see docs/STYLE.md, "Absorbing an existing repo"). diff --git a/licenses/blast-LICENSE.txt b/licenses/blast-LICENSE.txt new file mode 100644 index 0000000..3e75ff4 --- /dev/null +++ b/licenses/blast-LICENSE.txt @@ -0,0 +1,24 @@ +codecs/compress/Explode takes the PKWARE DCL constant code tables (litlen / lenlen / distlen, base, extra) and the +bit-order conventions from blast.c, distributed with zlib (contrib/blast). The decoder itself is new code. + +blast.c +Copyright (C) 2003, 2012, 2013 Mark Adler +version 1.3, 24 Aug 2013 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the author be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Mark Adler madler@alumni.caltech.edu