Commit Graph
112 Commits
Author SHA1 Message Date
4DBug 87d22bf67a ws-video-codecs: mjpeg fixtures as base64 / zlib (8.6 -> 1.0 MB); codecs/Jpeg: no type assertion as an assignment target (darklua) 2026-10-31 09:42:30 -05:00
4DBug 2493b9db36 ws-video-codecs: codecs/Mpeg1 absorbed from mpeg1-luau e2e2898 (jsmpeg port, MIT: licenses/jsmpeg-MIT.txt + NOTICE); requires and headers, frameImage (yuv420p / rgba8 copies); IDCT kept (bit-identical to codecs/Dct islow in put mode, but MPEG adds residuals before clamping); tests/codecs/mpeg1.luau + tools/fixtures/mpeg1.py (base64 / zlib fixtures, 5.6 MB) 2026-10-31 09:41:27 -05:00
4DBug 33a5a5b409 ws-video-codecs: codecs/Jpeg: yuv output crops four samples per write and reuses one frame-sized IDCT plane between calls 2026-10-31 09:37:01 -05:00
4DBug 43da7d723c ws-video-codecs: codecs/Jpeg: 4:2:2 / 4:4:4 as ffmpeg writes them (2x2/1x2, 1x2) for yuv output; tests/codecs/jpeg.luau + tools/fixtures/mjpeg.py (ffmpeg mjpeg frames bit-exact vs TurboJPEG planes / djpeg, PSNR vs ffmpeg, stripped DHT, AVI1, fields, yuv420p encode byte-identical with tj3CompressFromYUV8) 2026-10-31 09:35:34 -05:00
4DBug 5e6909e34a ws-video-codecs: codecs/Jpeg (the JPEG engine moved down from image/jpeg; byte-range API, yuv420p decode / encode, AVI1 fields); image/jpeg is a thin format over it 2026-10-31 09:28:38 -05:00
4DBug 75c677074a merge ws/webp 2026-10-31 09:12:40 -05:00
4DBug 9821cd129b merge ws/vec: svg (+raster), psd, aseprite, tiled, srt/vtt/ass, codecs/Blend, core/Base64, ops/LayerOps 2026-10-31 09:12:40 -05:00
4DBug 06be7e5aa9 ws-webp: raw ALPH fixtures with every filter (horizontal / vertical / gradient), Config type fix 2026-10-31 09:09:35 -05:00
4DBug 5155ca5ba3 vec: bench lines (psd decode/encode, flatten, svg parse/rasterize); psd: fast 8-bit RGB/grey channel merge 2026-10-31 09:09:26 -05:00
4DBug adb8295bfc ws-webp: merge ws/absorb (containers/Riff); image/webp reads and writes its chunks through containers/Riff (private chunk reader removed); bench lines merged; registry regenerated 2026-10-31 09:08:44 -05:00
4DBug 91eba2bc24 merge ws/3d: obj stl ply off vox gltf/glb, ops/MeshOps, codecs Base64/MeshFlatten, api sibling files + texture encoding 2026-10-31 09:08:22 -05:00
4DBug 56f2423e2c compat test: NaN checks use Suite.check; host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE) 2026-10-31 09:07:40 -05:00
4DBug 15b742cada compat: float reads return the canonical NaN for NaN payloads (checked through the bits: no aliased LuaJIT object values); host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE) 2026-10-31 09:07:07 -05:00
4DBugandClaude Opus 5.5 e39820665e ws-3d: bench lines (glTF / OBJ / STL / PLY / VOX decode, glTF / OBJ encode, computeNormals, greedy meshing)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:06:05 -05:00
4DBug 3408cb9b6b vec: vector/svg (parse to Vector: paths/arcs, shapes, transforms, groups, use/symbol/nested svg, CSS subset, gradients, opacity groups, clip paths, units; rasterize via codecs/Raster + codecs/Blend; write SVG back). Tests vs resvg (PSNR) incl. resvg rendering our written SVG 2026-10-31 09:06:01 -05:00
4DBugandClaude Opus 5.5 e5a932ddaa ws-3d: tests/ops/meshops (triangulate, transform, normals, tangents, weld, merge, bounds, units, up axis, greedy voxels, api texture encoding)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:04:33 -05:00
4DBug 8e49c997ce bench.luau: rebuilt after the wave-1 merges (all workstreams' blocks) 2026-10-31 09:03:36 -05:00
4DBug dc8fedbd62 ws-webp: inline the boolean decoder in the VP8 token loop, cheaper loop-filter tests, no closures in 4x4 prediction; speed notes 2026-10-31 09:03:02 -05:00
4DBugandClaude Opus 5.5 185a920769 ws-3d: regenerate Registry.luau / docs/FORMATS.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBugandClaude Opus 5.5 5f07ebcbd7 ws-3d: model/gltf (glTF 2.0 JSON + GLB read/write: accessors of every type incl. normalized/sparse/strided/padded matrices, PBR + KHR_materials_*, KHR_texture_transform, images kept encoded, samplers, cameras, KHR_lights_punctual, skins, animations, morph targets, KHR_mesh_quantization, extras/unknown extensions round trip); Khronos sample assets + gltfpack + assimp fixtures
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBugandClaude Opus 5.5 c2bfa471a8 ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBug 709b335374 ws-webp: encoder tries several transform configurations at effort 6+ (palette vs predictor, tile sizes); argument validation in encode / coalesce; NOTICE row for the libwebp ports 2026-10-31 09:00:59 -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 ced18478df ws-webp: codec tests (vp8, vp8l), bench lines, type fixes 2026-10-31 08:58:17 -05:00
4DBug 2b1e223817 licenses: stb_truetype (TrueType / Cff port) 2026-10-31 08:58:10 -05:00
4DBug 294b212801 imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr) 2026-10-31 08:58:09 -05:00
4DBug 26c8c41e5d merge ws/arch: archives (gzip tar zst br xz bz2 7z), fonts (ttf/otf/ttc woff woff2 bmfont), codecs Raster TrueType Cff Zstd Brotli Lzma Bzip2, containers Tar Archive 2026-10-31 08:57:48 -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
4DBugandClaude Opus 5.5 50997d6456 data: json sniff rejects '[section]' / '[[table]]' (INI / TOML no longer sniffed as JSON)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:57:25 -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 ef8262d767 ws-webp: image/webp (VP8 / VP8L / ALPH / VP8X / animation / metadata decode, lossless + animated encode), codecs/Vp8L encoder, fixtures vs dwebp / Pillow / libvpx, tests 2026-10-31 08:55:49 -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 027210c4e1 vec: merge ws/arch (codecs/Raster for SVG) 2026-10-31 08:54:57 -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 738bf0e078 vec: vector/tiled (TMX + TMJ + TSX/TSJ read/write into TileMap: all data encodings, chunks, objects, typed properties, tilesets as references); core/Base64 (new, small); Types: TileMap.new + open TileMap/Tileset/TileLayer fields; api: F.save passes the destination extension as opts.format when none is given (tmx vs tmj). Tests vs Tiled exports and Tiled reading our files 2026-10-31 08:54:35 -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