Commit Graph
41 Commits
Author SHA1 Message Date
4DBug 1a577f8910 merge ws/absorb: bmp wav mp3 flac opus zip playlists (+APNG, writers), containers Ogg/Riff/Zip, codecs Url/Text 2026-10-31 09:00:09 -05:00
4DBug 840bb6ab7e merge ws/data: codecs Json/Xml, data json xml csv ini toml yaml msgpack cbor plist 2026-10-31 08:59:44 -05:00
4DBug 4e5f10b646 absorb: playlist/xspf (new: XSPF 1 read / write on codecs/Xml, xml:base, every track field); tests vs ElementTree-written files 2026-10-31 08:57:35 -05:00
4DBug 8389c97143 Merge branch 'ws/data-yaml' into ws/data 2026-10-31 08:56:36 -05:00
4DBugandClaude Opus 5.5 4d90831cf7 data: data/plist (XML read/write byte-identical to plistlib, binary bplist00 read incl. UIDs / shared refs / cycle guard); plistlib fixtures. Array detection in Json / msgpack / cbor encoders no longer trusts next(t, #t)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:56:36 -05:00
4DBug 443a53a984 absorb: merge ws/data 907f365 (codecs/Json, codecs/Xml) for playlist/xspf 2026-10-31 08:56:03 -05:00
4DBug e3fba1c2ae absorb: playlist/m3u (M3U/M3U8 + HLS) and playlist/pls from playlist-luau 3fc7fd3, + a PLS writer; shared codecs/Url (RFC 3986, locate) and codecs/Text (BOM, CP1252, lines); tests vs urllib.parse.urljoin, Python cp1252, Python-written playlists
Two shared codecs added outside the assigned folders (a format never requires another format): codecs/Url and codecs/Text, used by the three playlist formats.
2026-10-31 08:55:44 -05:00
4DBug e6f077ba54 ws-arch: containers/Tar + archive/tar (ustar / pax / GNU read + write, byte-identical to Python's tarfile) and archive/gzip (read + write, .tar.gz writing); tests incl. .tar.gz/.tgz/.tar.bz2/.tar.xz/.tar.zst/.tar.br unwrap through the api 2026-10-31 08:54:37 -05:00
4DBugandClaude Opus 5.5 86af912842 data: data/yaml (YAML 1.2 core schema read / write: block + flow, compact collections, plain / quoted / literal / folded scalars, anchors + aliases as shared refs with an expansion limit, tags incl. !!binary / !!timestamp, %TAG, multi-document, explicit keys; writer with anchors for shared tables); yaml-test-suite + PyYAML fixtures; bench lines
tools/bench.sh: also generates the yaml fixtures.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:54:13 -05:00
4DBugandClaude Opus 5.5 2d02b78f65 data: data/ini (configparser-compatible reading: comments, ':' / '=', continuations, duplicates, top-level keys; inline comments / no-value keys / types / strict options; configparser layout on encode); configparser fixtures
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:53:45 -05:00
4DBugandClaude Opus 5.5 2a39f689bc data: data/csv (RFC 4180 + Python-lenient reading, delimiter / auto, header -> keyed rows, numbers option, minimal / all quoting); Python csv fixtures, byte-exact re-encode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:52:26 -05:00
4DBug 17778cff1b absorb: containers/Zip (reader from zip-luau 121d4b0 with a direct codecs/Deflate require, Err values; new writer: store/deflate, UTF-8, DOS times, raw copies, ZIP64) + archive/zip (Types.Archive list/read/add/remove/write, create, encode); tests vs Python zipfile 2026-10-31 08:51:05 -05:00
4DBugandClaude Opus 5.5 e050a521da data: merge ws/data-toml (data/toml)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:50:46 -05:00
4DBugandClaude Opus 5.5 0a730986f8 data: data/cbor (RFC 8949: indefinite lengths, half floats, tags 0/1 dates, bignums, self-describe, tagged / simple / undefined values, sequences); RFC appendix A + cbor2 fixtures, byte-exact re-encode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:50:39 -05:00
4DBug 74f4c47c12 ws-arch: font/bmfont (text / XML / binary read + write, lazy pages, bake from outline fonts); api: lazy page loader for bitmap fonts (opts.loadPage or sibling files) 2026-10-31 08:47:27 -05:00
4DBugandClaude Opus 5.5 b788086ef5 data: data/msgpack (full spec, timestamps as Types.Date, ext values, ordered maps, exact 64-bit text option, streams); Python msgpack fixtures, byte-exact re-encode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:46:58 -05:00
4DBugandClaude Opus 5.5 a84599f769 data: data/toml (TOML 1.0.0 read / write: Types.object tables with key order, Types.Date datetimes, full validity rules, bigInts option, [section] / [[aot]] / inline writer); toml-test v2.2.0 1.0 files (205 valid, 474 invalid) + tomli-w / tomllib corpus
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:46:45 -05:00
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 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
4DBugandClaude 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 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
4DBugandClaude 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 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 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 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 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 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
4DBugandClaude 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
4DBugandClaude 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
4DBugandClaude 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
4DBugandClaude 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