This website requires JavaScript.
84e5d2e4c9
vec: merge ws/arch (codecs/Raster for SVG)
4DBug
2026-10-31 08:54:57 -05:00
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
4DBug
2026-10-31 08:54:37 -05:00
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
4DBug
2026-10-31 08:54:35 -05:00
4dab50793f
imgA-simple: image/ico (ICO/CUR: 1-32 bit DIBs + AND masks, PNG entries via opts.decodeImage / encodeImage, hotspots) against Pillow
4DBug
2026-10-31 08:54:33 -05:00
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
4DBug
2026-10-31 08:54:13 -05:00
bdab71df77
ws-audio: fix the bench.luau merge
4DBug
2026-10-31 08:54:11 -05:00
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
4DBug
2026-10-31 08:53:45 -05:00
3dfe1e2cdd
ws-audio: merge ws/absorb (flac, bmp, zip)
4DBug
2026-10-31 08:53:32 -05:00
4ac5d6c3bd
imgA: JPEG-in-TIFF pixel check through F.load (image/jpeg via the decodeImage hook) against tifffile
4DBug
2026-10-31 08:53:29 -05:00
042a782f2f
ws-audio: audio/vorbis decoder: stb_vorbis 1.22 port (setup, codebooks, floor 1, residue 0/1/2, coupling) on containers/Ogg + codecs/Mdct, libvorbis-exact trimming, granule-exact seek, packetDecoder for other containers; tests vs oggdec (counts, 1 LSB) + ffmpeg (SNR 138 dB), seeks, fuzz; bench line
4DBug
2026-10-31 08:53:10 -05:00
f5fa1cb8b0
imgA: merge ws/imgA-tiff (image/tiff)
4DBug
2026-10-31 08:52:52 -05:00
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
4DBug
2026-10-31 08:52:26 -05:00
a4d6e79fa4
imgA-tiff: bench block (decode / encode none, lzw, deflate; rgba16)
4DBug
2026-10-31 08:51:47 -05:00
e15774c10b
imgA-simple: image/hdr (Radiance RGBE: flat / old / new RLE, all orientations, EXPOSURE; RLE writer) against ImageMagick and rgbe.c
4DBug
2026-10-31 08:51:42 -05:00
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
4DBug
2026-10-31 08:51:05 -05:00
abadfaf07f
data: merge ws/data-toml (data/toml)
4DBug
2026-10-31 08:50:46 -05:00
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
4DBug
2026-10-31 08:50:42 -05:00
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
4DBug
2026-10-31 08:50:39 -05:00
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
4DBug
2026-10-31 08:48:55 -05:00
ba1c72604a
imgA: merge ws/imgA-ops (ops/ImageOps)
4DBug
2026-10-31 08:48:25 -05:00
ac3e143ce8
ws-music: merge ws/music-midi (music/midi, music/sf2, codecs/SoundFont)
4DBug
2026-10-31 08:47:48 -05:00
da534ce507
ws-music: codecs/Tracker engine (player, mixer, pcm, tables) + music/mod read/write/render, tested against openmpt123
4DBug
2026-10-31 08:47:40 -05:00
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
4DBug
2026-10-31 08:47:36 -05:00
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
4DBug
2026-10-31 08:47:30 -05:00
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)
4DBug
2026-10-31 08:47:27 -05:00
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
4DBug
2026-10-31 08:46:58 -05:00
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
4DBug
2026-10-31 08:46:45 -05:00
bc4cf2dd9d
Merge branch 'ws/data' into ws/3d
4DBug
2026-10-31 08:46:18 -05:00
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
4DBug
2026-10-31 08:46:04 -05:00
63294e13bd
vec: merge ws/data (codecs/Xml, codecs/Json)
4DBug
2026-10-31 08:45:48 -05:00
5416e23761
imgA: bench.luau merge fix (close the jpeg block)
4DBug
2026-10-31 08:45:41 -05:00
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
4DBug
2026-10-31 08:45:35 -05:00
84c461f10d
imgA-simple: image/pnm (PBM/PGM/PPM ASCII + binary, PAM, PFM; read/write, 16-bit, odd maxvals) against ImageMagick
4DBug
2026-10-31 08:45:33 -05:00
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
4DBug
2026-10-31 08:44:56 -05:00
dc974d8fae
imgA: merge ws/imgA-gif (image/gif + codecs/Quantize)
4DBug
2026-10-31 08:44:55 -05:00
1824489291
imgA: jpeg opts.native (grey files -> gray8); Dct local type annotations
4DBug
2026-10-31 08:44:49 -05:00
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
4DBug
2026-10-31 08:44:40 -05:00
c394e8309f
imgA: drop a stray debug script
4DBug
2026-10-31 08:44:19 -05:00
58b6671183
imgA: image/jpeg (absorbed jpeg-luau decoder + arithmetic coding, meta, EXIF orientation, encoder byte-identical to cjpeg) and codecs/Dct
4DBug
2026-10-31 08:44:15 -05:00
ef6c658d78
ws-arch: font/woff and font/woff2 (glyf/loca/hmtx transforms) with tests: identical glyphs to the sfnt
4DBug
2026-10-31 08:42:57 -05:00
33fcea599d
imgA-simple: image/qoi (full spec read/write; byte-identical to Pillow's encoder) with Pillow fixtures
4DBug
2026-10-31 08:42:06 -05:00
eeb62192b5
data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
4DBug
2026-10-31 08:40:26 -05:00
e55f8a9a0d
ws-arch: font/ttf (TrueType / CFF OpenType / collections) with tests vs fontTools, HarfBuzz and FreeType
4DBug
2026-10-31 08:40:18 -05:00
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
4DBug
2026-10-31 08:39:56 -05:00
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
4DBug
2026-10-31 08:39:26 -05:00
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
4DBug
2026-10-31 08:39:09 -05:00
aee2d3257e
ws-audio: merge ws/absorb (Ogg + muxer, Riff, wav, mp3, opus, apng)
4DBug
2026-10-31 08:39:08 -05:00
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
4DBug
2026-10-31 08:38:56 -05:00
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
4DBug
2026-10-31 08:38:55 -05:00
f6ce1da736
ws-arch: merge ws/arch-lzma
4DBug
2026-10-31 08:38:55 -05:00
20092f6324
ws-arch: wip font/ttf + font fixtures
4DBug
2026-10-31 08:38:47 -05:00
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)
4DBug
2026-10-31 08:38:02 -05:00
f1d30d513c
ws-arch: licenses: LZMA SDK / xz public-domain notice for codecs/Lzma, archive/xz, archive/7z
4DBug
2026-10-31 08:37:57 -05:00
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
4DBug
2026-10-31 08:37:32 -05:00
9fadc7155f
ws-arch: merge ws/arch-zstd
4DBug
2026-10-31 08:37:32 -05:00
63a2e33387
ws-arch: merge ws/arch-brotli
4DBug
2026-10-31 08:37:32 -05:00
d37f5bb88f
ws-arch: wip codecs/TrueType + codecs/Cff (glyf, cmap, kern, GPOS, names, OS/2; Type 2 charstrings)
4DBug
2026-10-31 08:37:27 -05:00
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
4DBug
2026-10-31 08:37:25 -05:00
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
4DBug
2026-10-31 08:37:15 -05:00
a507a52bda
imgA-gif: faster median cut (cached box scores, keyed sort) and nearest-colour search (green-sorted, pruned); gif + quantize bench block
4DBug
2026-10-31 08:37:09 -05:00
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
4DBug
2026-10-31 08:36:24 -05:00
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
4DBug
2026-10-31 08:36:16 -05:00
3fb01e655f
absorb: merge ws/absorb-opus
4DBug
2026-10-31 08:35:16 -05:00
30a49d1ab1
absorb: merge ws/absorb-mp3
4DBug
2026-10-31 08:35:04 -05:00
c2c8fbfd93
absorb: merge ws/absorb-apng
4DBug
2026-10-31 08:34:52 -05:00
be0e2b1e46
absorb: containers/Riff (lenient reader from wav-luau + new writer: RIFX, RF64/ds64, LIST, parts) and audio/wav (decoder from wav-luau fd9a909 on Riff + new encoder u8/s16/s24/s32/f32, EXTENSIBLE, RF64; byte-exact vs ffmpeg -bitexact)
4DBug
2026-10-31 08:34:39 -05:00
603689bc14
imgA-gif: image/gif (read + write, animation, transparency, loops, comments) and codecs/Quantize (median cut, octree, Floyd-Steinberg); ImageMagick / Pillow fixtures
4DBug
2026-10-31 08:34:32 -05:00
942c15f3fd
absorb: opus (audio/opus from opus-luau dd2b4e5, libopus port: direct containers/Ogg require, Types.Decoder open + decode to Audio, Err values); tests vs opusdec --float on 24 generated streams, CELT / SILK alone, PLC, seek, downmix, fuzz; bench lines
4DBug
2026-10-31 08:33:32 -05:00
0a56389b09
ws-arch: archive/xz: .xz / .lzma read as one-entry stream archives (codecs/Lzma)
4DBug
2026-10-31 08:32:50 -05:00
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
4DBug
2026-10-31 08:32:11 -05:00
ace198690f
Merge branch 'ws/arch-bzip2' into ws/arch
4DBug
2026-10-31 08:30:49 -05:00
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
4DBug
2026-10-31 08:30:45 -05:00
4d84222c45
data: regenerate docs/FORMATS.md (codecs/Json)
4DBug
2026-10-31 08:30:11 -05:00
8ea439a338
absorb: mp3 (audio/mp3 from mp3-luau c755bbf, minimp3 port): streaming Decoder + decode to Audio, sniff, ID3 tags in dec.tags (strings) / dec.id3; tests vs minimp3 refs + ffmpeg + lame streams, robust, tags, fuzz; bench lines (tools/bench.sh also builds the mp3 fixtures)
4DBug
2026-10-31 08:30:06 -05:00
19110e6199
data: codecs/Json (RFC 8259 parse / serialize: ordered keys, Types.null, bigInts as strings, pretty / ascii, events pull tokenizer, decodeAt / lines, streaming writer); JSONTestSuite + Python json fixtures; bench lines
4DBug
2026-10-31 08:30:05 -05:00
e26de7cda8
absorb: apng decode (acTL/fcTL/fdAT -> img.frames, loops, hidden default image, sequence/rect/limit checks), Png.composite (dispose/blend, byte-exact with ffmpeg), APNG encoder from img.frames; tests vs ffmpeg + hand-made APNGs
4DBug
2026-10-31 08:28:47 -05:00
b7018b6bfb
ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes
4DBug
2026-10-31 08:27:55 -05:00
dfe3d3afd3
vec: subtitle/srt, subtitle/vtt, subtitle/ass (SSA too) read + write into Subtitles; tests against ffmpeg conversions, round trips, fuzz
4DBug
2026-10-31 08:27:04 -05:00
c22b50e80b
absorb: containers/Ogg (demuxer from ogg-luau be9f604, Err values, Reader input) + a new muxer (page writer); tests vs opusenc / flac / ffmpeg fixtures
4DBug
2026-10-31 08:26:39 -05:00
66df4a2254
audio: merge ws/m4a codecs/Mdct (6535a3c )
4DBug
2026-10-31 08:26:15 -05:00
aea16eeec7
audio: drop our codecs/Mdct: ws-m4a landed theirs first (960107b ), merging it instead
4DBug
2026-10-31 08:26:10 -05:00
ba91879bc5
imgA: codecs/Lzw (GIF LSB + TIFF MSB early-change, old-style TIFF LZW) with Pillow / libtiff fixtures; api passes opts.decodeImage / encodeImage hooks to formats (embedded PNG in ICO, JPEG in TIFF)
4DBug
2026-10-31 08:25:55 -05:00
b94692d4c0
audio: codecs/Mdct (FFT, DCT-IV, MDCT/IMDCT, windows) + test; codecs/Pcm (Audio|Decoder pull source for encoders, int<->float); tools/fixtures/_audio.py (signals, ffmpeg decode, SNR, run Luau in the fixture step)
4DBug
2026-10-31 08:25:52 -05:00
859a96ea79
ws-m4a: regenerate docs/FORMATS.md
4DBug
2026-10-31 08:25:23 -05:00
dcdf837753
ws-m4a: codecs/Mdct (MDCT / IMDCT / DCT-IV for any N divisible by 4 over a mixed-radix FFT; sine / KBD / Vorbis windows), shared with the Vorbis / Opus encoders
4DBug
2026-10-31 08:25:18 -05:00
a55b58b102
ws-3d: Types Scene extensions (compatible): Accessor f64/i32/matrix/name, Primitive polygons mode + faces/targets/extras, Mesh weights, Texture data/mime/name/Sampler, TextureRef texCoord/scale/strength/transform.texCoord, Material extensions, Node voxels/weights, names on Camera/Light/Skin, Scene.voxels + Voxels type, COMPONENT_SIZE, Scene.accessor(nil) allocates; api: opts.resolve for sibling files on path loads, save passes format key/name/files and writes sibling files, image-only textures encoded to PNG before model writers, F.model.loadTextures
4DBug
2026-10-31 08:25:00 -05:00
0ca32501a4
ws-arch: containers/Archive (the in-memory Archive value shared by archive formats); api: F.load passes the file name to decoders (opts.name) and unwraps single-stream archives whose entry sniffs as an archive (.tar.gz -> tar, meta.compression)
4DBug
2026-10-31 08:23:15 -05:00
cdcb5b0b77
formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder)
4DBug
2026-10-31 08:18:01 -05:00