summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-07-20Install static library in the right place.fixlibdirCarl 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-22Cleanup: rename parse_style -> parse_tag and STYLE to TAG.Carl Hetherington
2024-05-19Basic support for colours in binary STL.v1.6.48Carl Hetherington
2024-02-07Throw a specific exception when no WEBVTT header is found.v1.6.47Carl 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
2023-02-24Change from_argb_hex() (which wasn't being used) to from_rgba_hex().Carl 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-14Add exception missing from previous commit.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-10-15Make iso6937.py work with Python 3 and update iso6937_tables.ccCarl 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-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
2022-04-09Add missing override.v1.6.14Carl 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-07-31Remove some out-of-date comments.Carl Hetherington
2021-07-14Fix boost bind warning.Carl Hetherington
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-01-22Small C++11 tweaks.Carl Hetherington
2021-01-21Fix for new libdcp API.Carl Hetherington
2021-01-21const build fix.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-09c++11 tidying.Carl Hetherington
2021-01-08Remove unused stuff.Carl Hetherington
2021-01-05std::shared_ptrCarl Hetherington
2020-12-21Fix another unused variable warning.Carl Hetherington
2020-12-03Fix some unused variable warnings.Carl Hetherington
2020-09-30Allow colours in font color tags to have no surroundingCarl Hetherington
quotation marks.
2020-04-01Fix incorrect calculation of extension block number (EBN); previouslyCarl Hetherington
an incorrect 0 would be used if the line length was exactly 112.
2020-04-01Remove confusing use of repeated loop counters.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 a FIXME.Carl Hetherington
2020-03-26Use BOOST_FOREACH.Carl Hetherington
2020-03-26Add FIXME.Carl Hetherington
2020-03-26We only use 128 bytes of the buffer for TTI blocks.Carl Hetherington
2020-02-14Support SSA tags in SRT files (DoM #938).Carl Hetherington
2020-02-14Make horizontal position references correct when parsing \anXCarl Hetherington