4DBug
b6e2b9e68d
absorb: image/bmp (reader from bmp-luau b86aed6 + new encoder: 8 bpp paletted / 24 / 32 bpp, V4 alpha or BI_RGB); BMP Suite vs Pillow, encoder byte-exact vs Pillow
2026-10-31 08:44:40 -05:00
4DBug
d741722b52
imgA: drop a stray debug script
2026-10-31 08:44:19 -05:00
4DBug
692ef055de
imgA: image/jpeg (absorbed jpeg-luau decoder + arithmetic coding, meta, EXIF orientation, encoder byte-identical to cjpeg) and codecs/Dct
...
- codecs/Dct: jpeg-luau's islow / reduced IDCTs + a forward islow DCT with jcdctmgr.c's quantiser; tests/codecs/dct.luau
- image/jpeg: Decode (marker parser, absorbed + reader ranges, SOF9/SOF10 + DAC, EXIF / ICC / COM / JFIF density),
Scan + Color (absorbed), Arith (jdarith.c port), Encode (baseline / optimised / progressive, 444/422/420, restarts,
APP1/APP2/COM from meta), Tables (annex K)
- tests: 115 cjpeg/jpegtran/Pillow files, 444 decodes bit-exact with djpeg at 1, 1/2, 1/4, 1/8 (104 arithmetic),
38 encodes byte-identical to cjpeg (so djpeg decodes them), orientation, meta, truncation, fuzz
- licenses: libjpeg-turbo LICENSE + README.ijg, NOTICE rows
- tools/bench.luau: jpeg block; tools/bench.sh runs every fixture generator (bench blocks read their outputs)
2026-10-31 08:44:15 -05:00
4DBug
64dc0aa7f5
ws-arch: font/woff and font/woff2 (glyf/loca/hmtx transforms) with tests: identical glyphs to the sfnt
2026-10-31 08:42:57 -05:00
4DBug
985bb5364d
imgA-simple: image/qoi (full spec read/write; byte-identical to Pillow's encoder) with Pillow fixtures
2026-10-31 08:42:06 -05:00
4DBug and Claude Opus 5.5
126a42e117
data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:40:26 -05:00
4DBug
e7037cced1
ws-arch: font/ttf (TrueType / CFF OpenType / collections) with tests vs fontTools, HarfBuzz and FreeType
2026-10-31 08:40:18 -05:00
4DBug
5da81ee8e1
absorb: audio/flac (from flac-luau 7083d0d: native + Ogg FLAC via a direct containers/Ogg require, Types.Decoder open with read(n, out?), decode to Audio, sniff incl. ID3 + fLaC); bit-exact vs flac -d on 46 generated streams; flac + wav bench lines
2026-10-31 08:39:09 -05:00
4DBug and Claude Opus 5.5
907f3650f1
data: codecs/Xml (XML 1.0 DOM + pull events + serializer: UTF-8/16/Latin-1, entities incl. internal DOCTYPE with expansion limit, CDATA, comments, PIs, namespaces as qualified names + node.ns / clark, xml:space); ElementTree + expat fixtures; bench lines
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:38:55 -05:00
4DBug
b549438a0c
ws-arch: merge ws/arch-lzma
2026-10-31 08:38:55 -05:00
4DBug
46a745ea16
ws-arch: wip font/ttf + font fixtures
2026-10-31 08:38:47 -05:00
4DBug and Claude Opus 5.5
58f6b32541
ws-3d: model/vox (MagicaVoxel read/write: every chunk, scene graph, materials, layers, render objects, cameras, notes, IMAP, META, unknown chunks kept), ops/MeshOps (triangulate, transform, normals, tangents, weld/unweld, bounds, merge, scale/setUnit/setUp, greedy voxel meshing); Types: Scene.reader/mul/nodeMatrix/flatten helpers; compat: __iter visits t[0] on LuaJIT (was skipped by ipairs)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:38:02 -05:00
4DBug
c7aea4b29f
ws-arch: licenses: LZMA SDK / xz public-domain notice for codecs/Lzma, archive/xz, archive/7z
2026-10-31 08:37:57 -05:00
4DBug
3fdad6300c
ws-arch: merge ws/arch-zstd
2026-10-31 08:37:32 -05:00
4DBug
2e05215b84
ws-arch: merge ws/arch-brotli
2026-10-31 08:37:32 -05:00
4DBug
42d3559a48
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
c00856d9c6
ws-arch: archive/7z: 7z read (plain / encoded headers, solid folders, copy / LZMA / LZMA2 / Deflate with BCJ / ARM64 / delta filters, UTF-16 names, mtimes, attributes, CRCs; lazy per-folder decode); tests against 7-Zip 26
2026-10-31 08:37:15 -05:00
4DBug
e8ea7a989d
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
f5d223245d
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
46fad9d24f
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
ef95d6e51c
absorb: merge ws/absorb-opus
2026-10-31 08:35:16 -05:00
4DBug
d5372992e7
absorb: merge ws/absorb-mp3
2026-10-31 08:35:04 -05:00
4DBug
7408797d92
absorb: merge ws/absorb-apng
2026-10-31 08:34:52 -05:00
4DBug
85fb079068
absorb: containers/Riff (lenient reader from wav-luau + new writer: RIFX, RF64/ds64, LIST, parts) and audio/wav (decoder from wav-luau fd9a909 on Riff + new encoder u8/s16/s24/s32/f32, EXTENSIBLE, RF64; byte-exact vs ffmpeg -bitexact)
2026-10-31 08:34:39 -05:00
4DBug
9a928bd5be
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
d20ffd7388
absorb: opus (audio/opus from opus-luau dd2b4e5, libopus port: direct containers/Ogg require, Types.Decoder open + decode to Audio, Err values); tests vs opusdec --float on 24 generated streams, CELT / SILK alone, PLC, seek, downmix, fuzz; bench lines
2026-10-31 08:33:32 -05:00
4DBug
6ea28b9aad
ws-arch: archive/xz: .xz / .lzma read as one-entry stream archives (codecs/Lzma)
2026-10-31 08:32:50 -05:00
4DBug
3dc80be5ba
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
a6a50ba1eb
Merge branch 'ws/arch-bzip2' into ws/arch
2026-10-31 08:30:49 -05:00
4DBug
0793614b86
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 and Claude Opus 5.5
2557d3b1fe
data: regenerate docs/FORMATS.md (codecs/Json)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:30:11 -05:00
4DBug and Claude Opus 5.5
3e54756833
absorb: mp3 (audio/mp3 from mp3-luau c755bbf, minimp3 port): streaming Decoder + decode to Audio, sniff, ID3 tags in dec.tags (strings) / dec.id3; tests vs minimp3 refs + ffmpeg + lame streams, robust, tags, fuzz; bench lines (tools/bench.sh also builds the mp3 fixtures)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:30:06 -05:00
4DBug and Claude Opus 5.5
b6f40e0a74
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.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:30:05 -05:00
4DBug and Claude Opus 5.5
717988d043
absorb: apng decode (acTL/fcTL/fdAT -> img.frames, loops, hidden default image, sequence/rect/limit checks), Png.composite (dispose/blend, byte-exact with ffmpeg), APNG encoder from img.frames; tests vs ffmpeg + hand-made APNGs
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:28:47 -05:00
4DBug
65976a9a39
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
e3f9d0fb38
absorb: containers/Ogg (demuxer from ogg-luau be9f604, Err values, Reader input) + a new muxer (page writer); tests vs opusenc / flac / ffmpeg fixtures
2026-10-31 08:26:39 -05:00
4DBug
2eee0bc1a6
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 and Claude Opus 5.5
7e2a311aac
ws-3d: Types Scene extensions (compatible): Accessor f64/i32/matrix/name, Primitive polygons mode + faces/targets/extras, Mesh weights, Texture data/mime/name/Sampler, TextureRef texCoord/scale/strength/transform.texCoord, Material extensions, Node voxels/weights, names on Camera/Light/Skin, Scene.voxels + Voxels type, COMPONENT_SIZE, Scene.accessor(nil) allocates; api: opts.resolve for sibling files on path loads, save passes format key/name/files and writes sibling files, image-only textures encoded to PNG before model writers, F.model.loadTextures
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:25:00 -05:00
4DBug
69c69c8264
ws-arch: containers/Archive (the in-memory Archive value shared by archive formats); api: F.load passes the file name to decoders (opts.name) and unwraps single-stream archives whose entry sniffs as an archive (.tar.gz -> tar, meta.compression)
2026-10-31 08:23:15 -05:00
4DBug and Claude Opus 5.5
ccb06775c5
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)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 08:18:01 -05:00