Commit Graph
5 Commits
Author SHA1 Message Date
4DBugandClaude Opus 5.5 9c553b9d1a ws-cleanup: shared plumbing: Err.from, core/Sniff, Pcm.drain, Bits.msbPut; DUP lint; tools/move.py
- core/Err.from(message, offset?, kind?): the private-submodule -> Err plumbing (a kind, or a 'code: ' prefix /
  'truncated' / 'past the end' in the message) that Brotli, Bzip2, Zstd, Jpeg, WOFF2, FBX, plist, msgpack and
  bmfont each wrote.
- core/Sniff (new): Sniff.text(r, n, trim?) (the start of a text file without its BOM), Sniff.dropBom(s),
  Sniff.magic(r, s); 13 text formats' sniff / decode BOM handling goes through it.
- codecs/Pcm.drain(dec, source?, maxFrames?): a format's decode() through its open(); the collect-the-Decoder
  loops of aac, aiff, au, caf, flac, m4a, mp3, opus, vorbis and wav are one call each.
- core/Bits.msbPut: the MSB-first bit writer the MP3 / MP2 / FLAC encoders each copied.
- tools/lint_rules.py DUP: a function body of 12+ code lines repeated token for token in another module fails.
- tools/move.py: moves a module and rewrites every reference (requires, deps, headers, fixture INPUTS, docs).
- tools/fixtures/zstd.py: the incompressible corpus is smaller (zstd.luau 15.1 -> 13.4 MB; every fixture module is
  now under 14.3 MB).
- tools/bench.luau: MPEG-1 also runs with the api's LuaJIT trace limits; the sections that compare tuned / default
  limits set them explicitly (jitTune), so the order of sections no longer leaks the tuning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 12:00:59 -05:00
4DBug 5d7c223ab8 ws-cleanup: merge ws/cleanup-types (type annotations) 2026-10-31 11:27:42 -05:00
4DBugandClaude Opus 5.5 de2d615ec1 ws-cleanup: format headers say what is not supported (bz2, ass, srt)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 11:01:53 -05:00
4DBugandClaude Opus 5.5 9af7138b2e ws-cleanup-types: archive, audio, data, font, image, layered, music, playlist, subtitle, vector, video: annotations, casts, one value per re-assignment where the solver loses the type
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 11:00:25 -05:00
4DBug 2521f3dfa6 vec: subtitle/srt, subtitle/vtt, subtitle/ass (SSA too) read + write into Subtitles; tests against ffmpeg conversions, round trips, fuzz 2026-10-31 08:27:04 -05:00