summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.cc
AgeCommit message (Collapse)Author
2022-05-04Write subtitle files in binary mode.tests-on-all-platformsCarl Hetherington
2022-04-25Move AssetMap handling out to a separate class.Carl Hetherington
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2022-03-20Nearly pretty-print subtitle XML (though not in <Text> nodes).v1.8.12Carl Hetherington
This is an attempt to fix DoM bug #2205.
2022-03-19C++11 tidying.Carl Hetherington
2021-10-10Remove some unused using commands.Carl Hetherington
2021-05-27Tidy handling of _raw_xml.Carl Hetherington
Before this if we tried to get the XML of an encrypted asset we would just get an empty string. Now we get a boost::none which means the verifier can avoid trying to check details of the XML (and instead raise a warning that you are trying to verify data that it cannot decrypt).
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-12-20Accept fonts as data blocks rather than files.Carl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-09-11Add set_font_file()Carl Hetherington
2020-09-11Add EqualityOptions option to ignore differences in LoadFont nodes.Carl Hetherington
2020-09-11Use Data::write() to clean things up slightly.Carl Hetherington
2020-05-08Store and allow access to the raw XML that is read in fromCarl Hetherington
subtitle assets so that it cab be verified without any interference from being passed through libdcp.
2018-09-02Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.Carl Hetherington
2018-07-09Basic reading of Interop/SMPTE image subtitles with a test for Interop.Carl Hetherington
2018-07-09Store image subtitle ID in the object, rather than a separate map. Start of ↵Carl Hetherington
reading image subtitles.
2018-07-09Switch to UUIDs for Interop image subtitle identification (rather than ↵Carl Hetherington
indices). Basic and untested SMPTE image subtitle support.
2018-07-08Basic interop bitmap writing.Carl Hetherington
2017-07-24Comments.Carl Hetherington
2017-07-09Prevent resolve_fonts from adding duplicate fonts to its list.Carl Hetherington
2017-06-29Remove use of _formatted when writing subtitle XML.Carl Hetherington
This has the potential to add unwanted whitespace and newlines which are significant in subtitles. I think we'd have to write the XML ourselves to get around this.
2017-02-24Format XML sub output nicely with indents and such.Carl Hetherington
2016-11-09Don't use write_to_string_formatted with subs as it introduces lots of extra ↵Carl Hetherington
spaces into the actual subs.
2016-08-30Neater and more correct XML subtitle parser.Carl Hetherington
2016-08-17Use an optional<> where there should be one.Carl Hetherington
2016-06-24Express standard differences in FontNode more neatly.Carl Hetherington
2016-06-14Tighten up time parsing, and also allow the previouslyCarl Hetherington
unsupported Interop HH:MM:SS.sss format for times.
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2015-12-16Ref does not need to be a template since it's always used for Asset.Carl Hetherington
2015-12-04Take DCP-o-matic's version of Data class.Carl Hetherington
2015-11-26Tidy up; more/better use of BOOST_FOREACH.Carl Hetherington
2015-11-26Allow <Subtitle> nodes as the root of subtitles, not just <Font>Carl Hetherington
2015-10-29Pick up SMPTE subtitle font IDs correctly.Carl Hetherington
2015-10-09Remove glibmm dependency.Carl Hetherington
2015-09-12A number of SMPTE subtitle syntax fixes.Carl Hetherington
2015-08-18Fix corruption of font files on Windows.Carl Hetherington
2015-06-24Thinko in previous.Carl Hetherington
2015-06-24Fix various SNAFUs with Font ID handling.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-10Rename Font -> FontAsset; add dcpdumpsub tool.Carl Hetherington
2015-06-09Handle storing/recovery of fonts in SMPTE MXF files.Carl Hetherington
2015-06-09Basically-working interop subtitle font handling.Carl Hetherington