summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2026-03-15Fix broken test.v1.6.60Carl Hetherington
2026-03-15Tests need libfmt now.Carl Hetherington
2026-03-02Add very basic subrip writer.Carl Hetherington
2026-03-02Tidy up a little.Carl Hetherington
2026-02-10Give line number in SubRip parsing exceptions.v1.6.59Carl Hetherington
2025-11-19Tolerate superfluous </font> tags in subrip.v1.6.58Carl Hetherington
2025-01-29Better error when failing to open a file.v1.6.53Carl Hetherington
2025-01-29Fix failure to reset horizontal alignment after a .srt subtitles (DoM #2960).Carl Hetherington
2024-09-04Handle static link with boost better, and extend it to Ubuntu 16.04.v1.6.50Carl Hetherington
2024-06-23Fix some build warnings on macOS.Carl Hetherington
2024-05-22Support MarginL and MarginR in SSA subtitles (DoM #2811).v1.6.49Carl Hetherington
2024-05-22Add a Context class to manage some state.Carl Hetherington
2024-05-22Add and use read_file().Carl Hetherington
2024-05-19Basic support for colours in binary STL.v1.6.48Carl Hetherington
2023-12-22Make SSA reader more tolerant of missing styles (DoM #2685).v1.6.45Carl Hetherington
2023-03-04Support single quotes in font color tags.v1.6.44Carl Hetherington
2023-02-24Support font color attributes with alpha channel (even if it's ignored).v1.6.43Carl Hetherington
2022-12-03Remove DCP subtitle support.v1.6.41Carl Hetherington
This was only a thin wrapper around libdcp, used by videocon but not by DCP-o-matic. It seems very unlikely that anybody else will want it, and the dependency of libsub on libdcp causes hassle that will be gladly avoided.
2022-11-14Fix WebVTT milliseconds separator (should be . it seems, not ,)v1.6.39Carl Hetherington
2022-11-14Allow SubripReader::convert_time to take a milliseconds separator.Carl Hetherington
Maybe this method should just be on its own somewhere now.
2022-11-14Be more tolerant of metadata in WebVTT.Carl Hetherington
2022-11-13Add primitive WebVTT reader.v1.6.38Carl Hetherington
2022-11-13Make SubripReader::convert_time usable by other classes.Carl Hetherington
2022-11-10Handle unicode LINE SEPARATOR properly in subrip files.v1.6.37Carl Hetherington
2022-09-02Correctly parse \c tags in SSA (with no specified colour) to return to ↵Carl Hetherington
PrimaryColour. This seems to be what libssa does.
2022-08-10Fix parsing of SSA colour tags which have their leading zeros omitted.v1.6.27Carl Hetherington
2022-08-10Add some more tests.Carl Hetherington
2022-08-10Cleanup: tidy up a test.Carl Hetherington
2022-07-18It seems likely that SSA font sizes should be interpreted asv1.6.26Carl Hetherington
1 point == 1 pixel; let's try that.
2022-07-06(More) properly support MarginV in SSA/ASS.Carl Hetherington
2022-07-06Fix pretty broken SSA alignment code.Carl Hetherington
2021-08-01Handle angle brackets / tags better in SubRip files.Carl Hetherington
Before we would assume that < starts a tag, and so parse things like << some text >> incorrectly. Now we search for the tags we are interested in and pass anything else through.
2021-06-03Fix line numbers in binary STL files.Carl Hetherington
Here we make sure that line numbers end up not larger than the MNR (maximum number of rows) to try to avoid subtitles going off the screen.
2021-06-03Add "U8" character code table for binary STL.Carl Hetherington
A file was sent that has "U8" as a STL CCT. I presume this means "UTF-8" but I can't see any documentation about it anywhere. This change accepts U8 as a CCT. It doesn't look like this value is actually used anywhere to change how text is parsed, but at least it doesn't fail now.
2021-06-03Small C++11 tidy-up.Carl Hetherington
2021-01-13Remove use of boost foreach.Carl Hetherington
2021-01-13Replace list with vector in most of the API.Carl Hetherington
2021-01-05std::shared_ptrCarl Hetherington
2020-09-30Obfuscate some test file names.Carl Hetherington
2020-09-30Allow colours in font color tags to have no surroundingCarl Hetherington
quotation marks.
2020-09-30Add a test.Carl Hetherington
2020-04-01New test.Carl Hetherington
2020-03-26Fix binary STL output with subs that are too big for a single TTI block.Carl Hetherington
Forward-ported from 82f9ab96faeef0eb684c357d76d27f3737cf1d55 in v1.4.x.
2020-03-26Add another test.Carl Hetherington
2020-02-14Support SSA tags in SRT files (DoM #938).Carl Hetherington
2020-01-23Add a test for the FILE * STL reader.Carl Hetherington
2020-01-23Make the STL binary reader test better.Carl Hetherington
2019-07-14Support rgba() colour specifiers in Subrip files; not sure if they are ↵Carl Hetherington
strictly allowed but part of WebVTT.
2019-06-24Add support for \c in SSA.Carl Hetherington
2019-03-12Remove sstream dependency.Carl Hetherington