summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-26Another solution to binary STL subs that are too big for a single TTI block.v1.4.21Carl Hetherington
2020-03-26Revert "Write one TTI block per subtitle line for binary STL."Carl Hetherington
It's wrong as where multiple TTI blocks are used only the first block of the subtitle carries relevant information for time in/out, position, justification and comment. This reverts commit c18e3a2e54f992245feeac384a41792b82f698aa.
2020-03-26Add a FIXME.Carl Hetherington
2020-03-25Write one TTI block per subtitle line for binary STL.Carl Hetherington
This has a number of apparent advantages. Mainly, it increases the amount of text we can cope with in a single subtitle; before any subtitle with a total length of 111 characters would be truncated (and truncated wrongly, incidentally). Also it simplifies the code for putting different lines in their correct positions and allows individual lines to have different horizontal position references.
2020-03-25Use BOOST_FOREACH.Carl Hetherington
2020-03-25Add FIXME.Carl Hetherington
2020-03-25We only use 128 bytes of the buffer for TTI blocks.Carl Hetherington
2020-01-24Missing #include.v1.4.18Carl Hetherington
2020-01-23Add hack for binary STL files with high MNR (maximum number of rows) values.Carl Hetherington
Backported from ba69e87b6d64c6f9ce015bf657a195c070762344 in master.
2020-01-23Add option to read binary STL from a FILE *Carl Hetherington
Backported from 407407a253b9d71cf212402e5896000a81dfd318 in master.
2020-01-23Split InputReader into InputReader and StreamInputReader.Carl Hetherington
Backported from 0981aef3083080030445c9510523e6247ea5e302 in master.
2020-01-23Introduce InputReader to read data from the file and do low-level parsing.Carl Hetherington
Backported from 2089fb99e5b289a24ad8aade07a20e0659905143 in master.
2020-01-23Move the body of dumpsubs out into a method.Carl Hetherington
Backported from 944ceca80f4452e6948fd7dd984c549299c49c52 in master.
2019-06-28Add include for Centos.v1.4.10Carl Hetherington
2019-06-28Add support for \c in SSA.v1.4.9Carl Hetherington
Backported from 2e4089247c02f1f1bf43ab880594ce0218dfbc11 in master.
2019-03-15Give better errors on malformed subrip times.v1.4.4Carl Hetherington
2019-02-08Tweak previous.Carl Hetherington
2019-02-08Fix crash with empty SSA subtitle.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.
2019-01-17Missing .srt handler in reader_factory.Carl Hetherington
2018-09-27Cope with mixed-case subrip tags.Carl Hetherington
2018-09-03Comment.Carl Hetherington
2018-07-09Adapt for changes to libdcp API.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.
2018-01-09Add a method to convert to a libdcp colour.Carl Hetherington
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-28Make HorizontalPosition a class containing a reference enum.Carl Hetherington
2017-07-28CENTRE_OF_SCREEN -> VERTICAL_CENTRE_OF_SCREEN.Carl Hetherington
2017-07-24Add some operator==.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-04-07Comment.Carl Hetherington
2017-01-23Fix failure to parse subrip where there are extra spaces in the ↵Carl Hetherington
time/position line.
2017-01-11Missing include install; fix libdcp version.Carl Hetherington
2017-01-11Fix bug with effects on DCPs.Carl Hetherington
2017-01-11Replace DCP parser with basic version that uses libdcp.Carl Hetherington
2017-01-11Add missing file.Carl Hetherington
2017-01-11Forward-port STL binary writer from master, pulling in horizontal position ↵Carl Hetherington
stuff.
2016-10-31Put newline after closing italic / bold when writing binary STL.Carl Hetherington
2016-09-20Fix build.Carl Hetherington
2016-09-20Give a more informative exception on SubRip parse failures.Carl Hetherington
2016-09-13Fix STL italic / underline (from master).Carl Hetherington
2016-09-13Fix incorrect reading of STL when italic/underline codes span line breaks ↵Carl Hetherington
(from master).
2016-09-13Tweak ISO6937 mapping to put $ sign on 0xa4 (164) (from master).Carl Hetherington