Commit Graph
58 Commits
Author SHA1 Message Date
4DBug 6941b63435 merge ws/audio 2026-10-31 09:37:28 -05:00
4DBug c56d2ac71d merge ws/music 2026-10-31 09:33:13 -05:00
4DBug 7754646a86 ws-music: music/it read + render (IT 2.14/2.15 decompression, NNA, filters, pitch-pan, OpenMPT note-fade coding), tracker tests tightened, MOD->XM + API checks, tracker bench lines, NOTICE 2026-10-31 09:31:34 -05:00
4DBug 9fd479e2d3 ws-audio: merge master (ws/m4a codecs/Mdct already in use since 6535a3c; audio/opus encoder, data, vec, 3d, webp) 2026-10-31 09:29:36 -05:00
4DBug e1ffb21494 merge ws/m4a 2026-10-31 09:23:57 -05:00
4DBug 8b8b64885f ws-music: music/xm read/write/render (FT2 / OpenMPT instrument, tremor, envelope and E6x quirks), tone portamento never starts MOD/XM notes 2026-10-31 09:18:07 -05:00
4DBug 646d18f056 merge ws/webp 2026-10-31 09:12:40 -05:00
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 5832e65eef ws-webp: raw ALPH fixtures with every filter (horizontal / vertical / gradient), Config type fix 2026-10-31 09:09:35 -05:00
4DBug d19c949e95 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 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 29a95ce24f ws-m4a: merge ws/absorb (audio/opus, containers/Ogg, ...) for the CELT encoder; m4a fixtures load their helper by path (tools/fixtures/ on sys.path shadowed the xml package) 2026-10-31 09:07:22 -05:00
4DBug 83d43f6c6d ws-m4a: codecs/Aac (AAC-LC decoder: ASC / PCE / ADTS, all tools, SBR/PS extension hook), codecs/Alac (decoder + encoder), audio/m4a (AAC + ALAC read, ALAC write, tags, gapless, seek), audio/aac (ADTS), audio/caf (lpcm/alac/aac/ulaw/alaw read, lpcm/alac write); fixtures checked by ffmpeg / fdkaac / MP4Box 2026-10-31 09:03:04 -05:00
4DBug 7a6ba8ef10 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
4DBug 35891a06d1 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 2026-10-31 09:02:59 -05:00
4DBug c56ca75ed2 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 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 cf7c1b8ad2 ws-music: music/s3m read + render (OpenMPT-matched master volume / mono rule / default panning), finer comparison bands, voice ownership fix 2026-10-31 09:00:04 -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 5977b60df6 ws-webp: codec tests (vp8, vp8l), bench lines, type fixes 2026-10-31 08:58:17 -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 7c3d4b75ec 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 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 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 63294e13bd vec: merge ws/data (codecs/Xml, codecs/Json) 2026-10-31 08:45:48 -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 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 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 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 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 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
4DBug 603689bc14 imgA-gif: image/gif (read + write, animation, transparency, loops, comments) and codecs/Quantize (median cut, octree, Floyd-Steinberg); ImageMagick / Pillow fixtures 2026-10-31 08:34:32 -05:00
4DBug b306a3bf5e ws-arch: codecs/Lzma: LZMA / LZMA2 decoders, .lzma (alone), the xz container (checks none / CRC-32 / CRC-64, BCJ x86 / PPC / ARM / ARMT / SPARC / ARM64 + delta filters, multi-block / multi-stream); tests against liblzma 2026-10-31 08:32:11 -05:00
4DBug ace198690f Merge branch 'ws/arch-bzip2' into ws/arch 2026-10-31 08:30:49 -05:00
4DBug 17106c2eb1 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