Commit Graph
64 Commits
Author SHA1 Message Date
4DBug 1c24e03cd7 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 381510c3c5 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 6c54b0c6d5 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
4DBug e379f27eb8 ws-3d: regenerate Registry.luau / docs/FORMATS.md 2026-10-31 09:02:59 -05:00
4DBug ca262e19df 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 b51f5be542 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 e8d2ba81c2 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 f0f1eb6c47 imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr) 2026-10-31 08:58:09 -05:00
4DBug 8e527d6702 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 e11f07dade Merge branch 'ws/data-yaml' into ws/data 2026-10-31 08:56:36 -05:00
4DBug 6d8262cf4a 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) 2026-10-31 08:56:36 -05:00
4DBug 905109cb64 absorb: merge ws/data 907f365 (codecs/Json, codecs/Xml) for playlist/xspf 2026-10-31 08:56:03 -05:00
4DBug 28590c51c3 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 84e5d2e4c9 vec: merge ws/arch (codecs/Raster for SVG) 2026-10-31 08:54:57 -05:00
4DBug a9110bdab2 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 a762554f2c 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 4dab50793f 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
4DBug 5811e3a4eb 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.
2026-10-31 08:54:13 -05:00
4DBug 6cee99f4e3 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 2026-10-31 08:53:45 -05:00
4DBug f5fa1cb8b0 imgA: merge ws/imgA-tiff (image/tiff) 2026-10-31 08:52:52 -05:00
4DBug 1b9b1d82ee 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 2026-10-31 08:52:26 -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 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 63294e13bd vec: merge ws/data (codecs/Xml, codecs/Json) 2026-10-31 08:45:48 -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 dc974d8fae imgA: merge ws/imgA-gif (image/gif + codecs/Quantize) 2026-10-31 08:44:55 -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 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 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 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 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 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 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 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
4DBug 3fb01e655f absorb: merge ws/absorb-opus 2026-10-31 08:35:16 -05:00
4DBug 30a49d1ab1 absorb: merge ws/absorb-mp3 2026-10-31 08:35:04 -05:00