4DBug
f6ce1da736
ws-arch: merge ws/arch-lzma
2026-10-31 08:38:55 -05:00
4DBug
9fadc7155f
ws-arch: merge ws/arch-zstd
2026-10-31 08:37:32 -05:00
4DBug
63a2e33387
ws-arch: merge ws/arch-brotli
2026-10-31 08:37:32 -05:00
4DBug
d37f5bb88f
ws-arch: wip codecs/TrueType + codecs/Cff (glyf, cmap, kern, GPOS, names, OS/2; Type 2 charstrings)
2026-10-31 08:37:27 -05:00
4DBug
08af33d82a
ws-music: music/midi (SMF 0/1/2 read/write, tempo map, render), codecs/SoundFont (SF2 parser + TinySoundFont-port synth + fallback waveform set), midi tests vs mido
...
Types.luau: Midi gets an optional render(self, opts) -> Decoder field (backward compatible; set by music/midi decode).
2026-10-31 08:37:25 -05:00
4DBug
a507a52bda
imgA-gif: faster median cut (cached box scores, keyed sort) and nearest-colour search (green-sorted, pruned); gif + quantize bench block
2026-10-31 08:37:09 -05:00
4DBug
45cc667083
ws-arch: codecs/Zstd (RFC 8878 decoder from the spec: frames, skippable frames, raw/RLE/compressed blocks, Huffman literals, FSE tables, repeat offsets, XXH64 checksum on 32-bit halves) + archive/zst (single-stream archive); tests against the zstd CLI on both runtimes
2026-10-31 08:36:24 -05:00
4DBug
0bfd70e1ca
ws-arch: codecs/Brotli (RFC 7932 decoder: all meta-block kinds, context modes/maps, static dictionary + 121 transforms, large windows) and archive/br (single-stream archive); tools/brotli_static.py generates codecs/Brotli/Static from the brotli sources (MIT, licenses/brotli-LICENSE.txt); fixtures via python brotli + CLI
2026-10-31 08:36:16 -05:00
4DBug
603689bc14
imgA-gif: image/gif (read + write, animation, transparency, loops, comments) and codecs/Quantize (median cut, octree, Floyd-Steinberg); ImageMagick / Pillow fixtures
2026-10-31 08:34:32 -05:00
4DBug
b306a3bf5e
ws-arch: codecs/Lzma: LZMA / LZMA2 decoders, .lzma (alone), the xz container (checks none / CRC-32 / CRC-64, BCJ x86 / PPC / ARM / ARMT / SPARC / ARM64 + delta filters, multi-block / multi-stream); tests against liblzma
2026-10-31 08:32:11 -05:00
4DBug
ace198690f
Merge branch 'ws/arch-bzip2' into ws/arch
2026-10-31 08:30:49 -05:00
4DBug
17106c2eb1
ws-arch: codecs/Raster: antialiased signed-area scanline rasterizer (lines, quads, cubics, affine transforms, nonzero + even-odd, clip, masks, fill with colour or paint function, polygon stroker with caps/joins); tests vs a supersampled winding reference
2026-10-31 08:30:45 -05:00
4DBug
19110e6199
data: codecs/Json (RFC 8259 parse / serialize: ordered keys, Types.null, bigInts as strings, pretty / ascii, events pull tokenizer, decodeAt / lines, streaming writer); JSONTestSuite + Python json fixtures; bench lines
...
Types (backward compatible additions in the Data section): Types.object / isObject / set / keys (ordered objects
and empty-object marking, shared by every data format), Types.Date (RFC 3339 typed dates for TOML / plist / CBOR /
msgpack: new / is / valid / parse / toUnix / fromUnix), XmlNode gains optional text / target / ns fields.
tools/bench.sh: also generates the json fixtures.
2026-10-31 08:30:05 -05:00
4DBug
b7018b6bfb
ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes
2026-10-31 08:27:55 -05:00
4DBug
66df4a2254
audio: merge ws/m4a codecs/Mdct ( 6535a3c)
2026-10-31 08:26:15 -05:00
4DBug
aea16eeec7
audio: drop our codecs/Mdct: ws-m4a landed theirs first ( 960107b), merging it instead
2026-10-31 08:26:10 -05:00
4DBug
ba91879bc5
imgA: codecs/Lzw (GIF LSB + TIFF MSB early-change, old-style TIFF LZW) with Pillow / libtiff fixtures; api passes opts.decodeImage / encodeImage hooks to formats (embedded PNG in ICO, JPEG in TIFF)
...
Change outside the ws folders: src/Formats/init.luau gains withHooks(): F.load / F.save hand decoders / encoders
opts.decodeImage(buf) and opts.encodeImage(img, format) unless the caller passed its own, so a format can decode an
embedded image of another format without requiring it (LAYERS). Backward compatible: formats ignore unknown opts.
2026-10-31 08:25:55 -05:00
4DBug
b94692d4c0
audio: codecs/Mdct (FFT, DCT-IV, MDCT/IMDCT, windows) + test; codecs/Pcm (Audio|Decoder pull source for encoders, int<->float); tools/fixtures/_audio.py (signals, ffmpeg decode, SNR, run Luau in the fixture step)
2026-10-31 08:25:52 -05:00
4DBug
dcdf837753
ws-m4a: codecs/Mdct (MDCT / IMDCT / DCT-IV for any N divisible by 4 over a mixed-radix FFT; sine / KBD / Vorbis windows), shared with the Vorbis / Opus encoders
2026-10-31 08:25:18 -05:00
4DBug
cdcb5b0b77
formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder)
2026-10-31 08:18:01 -05:00