Commit Graph
476 Commits
Author SHA1 Message Date
4DBug a4d6e79fa4 imgA-tiff: bench block (decode / encode none, lzw, deflate; rgba16) 2026-10-31 08:51:47 -05:00
4DBug e15774c10b 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 be534d9b1d 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
4DBug abadfaf07f data: merge ws/data-toml (data/toml) 2026-10-31 08:50:46 -05:00
4DBug b2dd3475ac 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
4DBug 2ef071cb16 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 2026-10-31 08:50:39 -05:00
4DBug f2e15af64d 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 ba1c72604a imgA: merge ws/imgA-ops (ops/ImageOps) 2026-10-31 08:48:25 -05:00
4DBug ac3e143ce8 ws-music: merge ws/music-midi (music/midi, music/sf2, codecs/SoundFont) 2026-10-31 08:47:48 -05:00
4DBug da534ce507 ws-music: codecs/Tracker engine (player, mixer, pcm, tables) + music/mod read/write/render, tested against openmpt123 2026-10-31 08:47:40 -05:00
4DBug fb909438a5 ws-3d: codecs/Base64 (RFC 4648 standard + url, padding optional, whitespace-tolerant decode, data: URIs); shared: glTF data URIs now, YAML !!binary / Brotli's dictionary / SVG could use it instead of private copies 2026-10-31 08:47:36 -05:00
4DBug 4a84acca9c 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 945abe6d94 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
4DBug 4f44e5ebe3 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 2026-10-31 08:46:58 -05:00
4DBug be0618b76e 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 2026-10-31 08:46:45 -05:00
4DBug bc4cf2dd9d Merge branch 'ws/data' into ws/3d 2026-10-31 08:46:18 -05:00
4DBug 724c55f440 ws-3d: model/obj (OBJ + MTL read/write: objects/groups -> nodes, per-material primitives, n-gons fan-triangulated or kept as polygons, vertex colours, lines/points, PBR MTL extension, texture maps with options, files through opts.files/resolve); tests vs assimp + trimesh, and assimp/trimesh reading our output 2026-10-31 08:46:04 -05:00
4DBug 63294e13bd vec: merge ws/data (codecs/Xml, codecs/Json) 2026-10-31 08:45:48 -05:00
4DBug 5416e23761 imgA: bench.luau merge fix (close the jpeg block) 2026-10-31 08:45:41 -05:00
4DBug b76b2ec32d vec: layered/aseprite read + write (RGBA/gray/indexed, raw/zlib/linked cels, groups, blend, layer+cel opacity, palettes old+new, tags, user data); tests vs LibreSprite renders, LibreSprite reading our sprites, round trips; tools/fixtures/_ours.luau runs our encoders for the reference tools 2026-10-31 08:45:35 -05:00
4DBug 84c461f10d 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 d7c2d2eeb5 ws-music: music/sf2 + SoundFont tests vs FluidSynth (envelope r 0.995, band spectra r >= 0.969, pitch peaks within 0.6%), gain ramp per block, bench lines
tools/bench.sh: also generates the midi + sf2 fixtures (the bench renders their songs). licenses: TinySoundFont MIT row in NOTICE.md.
2026-10-31 08:44:56 -05:00
4DBug dc974d8fae imgA: merge ws/imgA-gif (image/gif + codecs/Quantize) 2026-10-31 08:44:55 -05:00
4DBug 1824489291 imgA: jpeg opts.native (grey files -> gray8); Dct local type annotations 2026-10-31 08:44:49 -05:00
4DBug bad0fce095 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 c394e8309f imgA: drop a stray debug script 2026-10-31 08:44:19 -05:00
4DBug 58b6671183 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 ef6c658d78 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 33fcea599d 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 eeb62192b5 data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests) 2026-10-31 08:40:26 -05:00
4DBug e55f8a9a0d ws-arch: font/ttf (TrueType / CFF OpenType / collections) with tests vs fontTools, HarfBuzz and FreeType 2026-10-31 08:40:18 -05:00
4DBug e0629b12a3 vec: layered/psd (PSD/PSB read: all modes/depths, RLE/ZIP, groups, masks, clipping; write: 8-bit RGB layers + merged), codecs/Blend (blend modes, layer-tree compositing), ops/LayerOps (flatten, frames, leaves); Types: Layer gains optional children/clip/mask + Layered.layer/group constructors (backward compatible). Tests vs psd-tools incl. psd-tools reading our PSD 2026-10-31 08:39:56 -05:00
4DBug 5bad752d91 ws-webp: codecs/Vp8L decoder (libwebp port) and codecs/Vp8 key frame decoder + libwebp YUV->RGB (fancy / point upsampling); bit-exact on first samples 2026-10-31 08:39:26 -05:00
4DBug 5bda4f8cbc 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 aee2d3257e ws-audio: merge ws/absorb (Ogg + muxer, Riff, wav, mp3, opus, apng) 2026-10-31 08:39:08 -05:00
4DBug 315e819b01 ws-audio: audio/aiff (AIFF/AIFC incl. sowt/fl32/fl64/ulaw/alaw), audio/au, audio/voc: decode/open/encode; codecs/Pcm folder (+ Convert: raw sample formats <-> f32, G.711, rawDecoder/audioDecoder/encode); fixtures vs ffmpeg/sox, encoder outputs decoded by ffmpeg in the fixture step 2026-10-31 08:38:56 -05:00
4DBug a1edea0e44 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 2026-10-31 08:38:55 -05:00
4DBug f6ce1da736 ws-arch: merge ws/arch-lzma 2026-10-31 08:38:55 -05:00
4DBug 20092f6324 ws-arch: wip font/ttf + font fixtures 2026-10-31 08:38:47 -05:00
4DBug b37c61a96c 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) 2026-10-31 08:38:02 -05:00
4DBug f1d30d513c 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 064af84d63 ws-m4a: containers/IsoBmff (box tree, demux: stsd entries + codec configs, stts/ctts/stsc/stsz/stz2/stco/co64/stss, elst, fragments; HEIF/AVIF items; iTunes tags read/write; progressive muxer), tested packet-for-packet against ffprobe 2026-10-31 08:37:32 -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 77b840166e 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 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