summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2019-02-08Add some more tests.Carl Hetherington
2019-01-29Fix crash on malformed SubRip file (dcpomatic #1454).Carl Hetherington
2019-01-23Strip Unicode U+202B (right-to-left-embedding) code; it looks like DoM does ↵Carl Hetherington
RTL (at least) partially correctly without this.
2018-09-27Cope with mixed-case subrip tags.Carl Hetherington
2018-01-19Swap meaning of STL23.01 and STL24.01 in binary STL files,Carl Hetherington
as requested by TJ and apparently as now used by Annotation Edit.
2017-09-18Fix unicode prime symbol to become a quotation mark.Carl Hetherington
2017-07-28Missing files.Carl Hetherington
2017-07-28Support \fs in ssa.1.0-more-ssa-tagsCarl Hetherington
2017-07-28Support \pos in ssa.Carl Hetherington
2017-07-28CENTRE_OF_SCREEN -> VERTICAL_CENTRE_OF_SCREEN.Carl Hetherington
2017-07-21Fix completely-broken Time::scale.Carl Hetherington
2017-07-18Fix Time::add which was broken when adding times with different rates.Carl Hetherington
2017-01-23Fix failure to parse subrip where there are extra spaces in the ↵Carl Hetherington
time/position line.
2017-01-11Re-fix test reference.Carl Hetherington
2017-01-11Replace DCP parser with basic version that uses libdcp.Carl Hetherington
2017-01-11Update test reference.Carl Hetherington
2016-09-20Give a more informative exception on SubRip parse failures.Carl Hetherington
2016-09-13Update test for previous commit.Carl Hetherington
2016-08-12Missing files.Carl Hetherington
2016-08-12Forward-port some STL fixes from libsub.Carl Hetherington
2016-08-12Add check for file existence.Carl Hetherington
2016-08-12Fix build.Carl Hetherington
2016-07-22Fix build.Carl Hetherington
2016-07-22Use locked_sstream.Carl Hetherington