Commit Graph
64 Commits
Author SHA1 Message Date
4DBug 8e49c997ce bench.luau: rebuilt after the wave-1 merges (all workstreams' blocks) 2026-10-31 09:03:36 -05:00
4DBug 2db77a7db8 merge ws/imgA: jpeg gif tiff tga qoi pnm ico hdr, codecs Dct/Lzw/Quantize, ops/ImageOps, api image hooks 2026-10-31 09:00:39 -05:00
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 294b212801 imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr) 2026-10-31 08:58:09 -05:00
4DBug f8c2b301ea ws-arch: bench lines for zstd / brotli / bzip2 / xz / lzma and glyph outline + rasterize throughput; bench.sh builds their fixtures 2026-10-31 08:57:03 -05:00
4DBug 2ac1f812cf imgA-simple: bench block for qoi / tga / ppm / hdr (append-only at the end of tools/bench.luau) 2026-10-31 08:56:44 -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 50020b4ddc ws-arch: archive/7z reads BZip2 (codecs/Bzip2) and Zstd (codecs/Zstd) coders; fixtures test BZip2 solid + BCJ 2026-10-31 08:55:24 -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
4DBug 4123df462b imgA-simple: image/ico (ICO/CUR: 1-32 bit DIBs + AND masks, PNG entries via opts.decodeImage / encodeImage, hotspots) against Pillow 2026-10-31 08:54:33 -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
4DBug 9b2bc84b39 imgA: JPEG-in-TIFF pixel check through F.load (image/jpeg via the decodeImage hook) against tifffile 2026-10-31 08:53:29 -05:00
4DBug fb3dc75282 imgA: merge ws/imgA-tiff (image/tiff) 2026-10-31 08:52:52 -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 b56fa55785 imgA-tiff: bench block (decode / encode none, lzw, deflate; rgba16) 2026-10-31 08:51:47 -05:00
4DBug 4f6f14604b imgA-simple: image/hdr (Radiance RGBE: flat / old / new RLE, all orientations, EXPOSURE; RLE writer) against ImageMagick and rgbe.c 2026-10-31 08:51:42 -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
4DBug bb30922385 imgA-tiff: image/tiff read (strips/tiles, planar, LZW/Deflate/PackBits/JPEG via hook, predictors 2/3, 1-32 bit int + 16/32/64 float, palette, CMYK, alpha, BigTIFF, pages) and write (none/deflate/lzw/packbits, predictors, multi-page); tifffile + ImageMagick fixtures 2026-10-31 08:50:42 -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 29fdc44b83 imgA-simple: image/tga (types 1/2/3/9/10/11, 8-32 bit, colour maps, origins; raw/RLE writer with TGA 2.0 footer) against Pillow / ImageMagick 2026-10-31 08:48:55 -05:00
4DBug 25cf9fa396 imgA: merge ws/imgA-ops (ops/ImageOps) 2026-10-31 08:48:25 -05:00
4DBug e2b338db7e imgA-ops: ops/ImageOps (convert between every pixel format incl. yuv420p, crop, resize nearest/bilinear/Lanczos-3 as Pillow, flip, rotate90, rotate bilinear+expand as Pillow, blit/composite with Pillow's alpha_composite, premultiply, get/setPixel, fill, coalesce/fromFrames/frameCount/durations) with Pillow fixtures, tests on both runtimes, bench block 2026-10-31 08:47:30 -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 4c8f168d01 imgA: bench.luau merge fix (close the jpeg block) 2026-10-31 08:45:41 -05:00
4DBug da8e4b17b7 imgA-simple: image/pnm (PBM/PGM/PPM ASCII + binary, PAM, PFM; read/write, 16-bit, odd maxvals) against ImageMagick 2026-10-31 08:45:33 -05:00
4DBug 5c0d77b4fe imgA: merge ws/imgA-gif (image/gif + codecs/Quantize) 2026-10-31 08:44:55 -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 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 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
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 46a745ea16 ws-arch: wip font/ttf + font fixtures 2026-10-31 08:38:47 -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