From de2d615ec1d50c321ae697813b184d2191e28557 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sat, 31 Oct 2026 11:01:53 -0500 Subject: [PATCH] ws-cleanup: format headers say what is not supported (bz2, ass, srt) Co-Authored-By: Claude Opus 5.5 --- src/Formats/archive/bz2/init.luau | 3 ++- src/Formats/subtitle/ass/init.luau | 3 ++- src/Formats/subtitle/srt/init.luau | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Formats/archive/bz2/init.luau b/src/Formats/archive/bz2/init.luau index 7483ab0..074bdc2 100644 --- a/src/Formats/archive/bz2/init.luau +++ b/src/Formats/archive/bz2/init.luau @@ -1,7 +1,8 @@ --!strict -- archive/bz2: a .bz2 file as a single-stream archive: one entry, the decompressed data (codecs/Bzip2; concatenated -- streams are joined, as bzip2 -d does). The entry is named after the file without its .bz2 (".tbz2" -> ".tar"), --- else "data"; the api unwraps a .tar.bz2 into the tar inside (meta.stream). Read only. +-- else "data"; the api unwraps a .tar.bz2 into the tar inside (meta.stream). New in formats-luau. Not supported: +-- writing (codecs/Bzip2 has no compressor), randomised blocks (bzip2 0.9.0 and older). -- ------------------------------------------------------------------------------------------------ requires local Err = require("@formats/core/Err") diff --git a/src/Formats/subtitle/ass/init.luau b/src/Formats/subtitle/ass/init.luau index ee521f4..dcf295d 100644 --- a/src/Formats/subtitle/ass/init.luau +++ b/src/Formats/subtitle/ass/init.luau @@ -7,7 +7,8 @@ -- Cue text: `\N` / `\n` become line breaks, `\h` a no-break space, the {\i1} / {\b1} / {\u1} / {\s1} overrides become -- the shared / / / markup and other override blocks are dropped; the original text stays in cue.raw. -- Encode: an ASS v4.00+ script (or the source's style / event formats), cue.raw when cue.text still matches it, --- otherwise the markup converted back; times rounded to the centisecond. Styles are data: nothing is rendered. +-- otherwise the markup converted back; times rounded to the centisecond. Styles are data: nothing is rendered. Not supported: +-- rendering, karaoke timing (\k overrides are dropped from text, kept in cue.raw), embedded font / graphic decoding. -- ------------------------------------------------------------------------------------------------ requires local Err = require("@formats/core/Err") diff --git a/src/Formats/subtitle/srt/init.luau b/src/Formats/subtitle/srt/init.luau index 1354e6a..67ae65d 100644 --- a/src/Formats/subtitle/srt/init.luau +++ b/src/Formats/subtitle/srt/init.luau @@ -5,6 +5,7 @@ -- the cue only before an index / timing line), BOM, CRLF / CR line ends. Text is kept as written (its / / -- / / tags included): the shared markup of Subtitles cue text. -- Encode: cues renumbered from 1 in order, times rounded to the millisecond, opts.crlf for CRLF line ends. +-- Not supported: positioning beyond keeping the coordinates; the tags are not validated. -- ------------------------------------------------------------------------------------------------ requires local Err = require("@formats/core/Err")