summaryrefslogtreecommitdiff
path: root/src/util.h
AgeCommit message (Collapse)Author
2025-01-14Add GroupID support for PKLs (DoM #2943).v1.10.5Carl Hetherington
2024-02-25Remove unused method.Carl Hetherington
2024-02-17Add write_string_to_file().v1.8.97Carl Hetherington
2023-11-19Report progress with done/total rather than a float.Carl Hetherington
2023-07-26Rationalise #undef-ing of ERROR.tidy-eq-optionsCarl Hetherington
2023-07-25Include trimming.Carl Hetherington
2023-04-14Replace slightly weird add_font_assets() API.Carl Hetherington
2023-02-16Change how whitespace in subtitles is handled.Carl Hetherington
Previously we would discard any whitespace subtitle content we found. This had the side-effect of making a verification test fail (checking that at least one subtitle is in each reel; blank subtitles are often used to avoid this warning). Here we take any subtitle content, whitespace or not, inside a <Text> or <Image> node which I think is a little more correct.
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-01Make dcp::init() take a general resources directory rather than specifically ↵Carl Hetherington
tags.
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-03-18Tidy how we're finding the tags and xsd directories.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-23Tidying.Carl Hetherington
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-09-27Load language tags from on-disk files rather than embedding themCarl Hetherington
into a .cc. The .cc method causes compile times (and memory requirements) increase enormously with some compilers.
2020-09-22Fix crashes when static linking due to tricky lifetimecrashCarl Hetherington
management of ASDCP::DefaultSMPTEDict().
2020-09-21Add ASDCPErrorSuspender to hide errors from asdcplib where we expect them.Carl Hetherington
2020-07-27Fix some unused variable warnings.Carl Hetherington
2019-12-23Add struct tm constructor for LocalTime, use it to tidy upCarl Hetherington
day_{greater,less}_than_or_equal and add add_months() method.
2019-12-22Add fix_empty_font_ids() to replace empty Font ids with a dummy string.Carl Hetherington
2019-12-01Check that KDM validity periods are safely within the validity periodsCarl Hetherington
of the signing certificate chain. This does cause problems when you try to create a KDM for a certificate you just made (due to the fact that certificates always have a start-valid time of "now") but hopefully this can be fixed up in another commit.
2019-11-20Allow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets.Mart Jansink
2019-01-24Fully indent PKL/CPL.Carl Hetherington
2018-09-29Move some methods to where they make more sense.Carl Hetherington
2018-09-02Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.Carl Hetherington
2018-07-07Remove unused class declaration.Carl Hetherington
2017-12-22Add openjpeg_version method.Carl Hetherington
2017-03-17Move Size operator functions to the same file as the class declaration.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01More licence fixups.Carl Hetherington
2016-01-05Try to rationalise handling of urn:uuid: prefixes.Carl Hetherington
2015-12-16Ref does not need to be a template since it's always used for Asset.Carl Hetherington
2015-12-04Move J2K comp/decomp out into j2k.{cc,h}Carl Hetherington
2015-12-04Port to openjpeg version 2.1.Carl Hetherington
2015-11-28Add nice decompress_j2k wrapper; small fixes to bench.Carl Hetherington
2015-11-28Add compress_j2k method and simple benchmark.Carl Hetherington
2015-11-03Trim openjpeg.h includes.Carl Hetherington
2015-07-30Merge Signer into CertificateChain.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-10Rename XYZImage -> OpenJPEGImage.Carl Hetherington
2015-06-05Fix ordering of KeyId tag in SMPTE CPLs.Carl Hetherington
2015-02-02Remove Image and ARGBImage and just dump RGB data intoCarl Hetherington
uint8_t* buffers. This is hopefully simpler than trying to come up with some Image hierarchy that suits everything.
2015-02-02Rename XYZFrame -> XYZImage and ARGBFrame -> ARGBImage.Carl Hetherington
2014-07-20Allow loading of EncryptedKDMs from strings.Carl Hetherington
2014-07-18Various small tweaks and fixes.Carl Hetherington
2014-07-17Get Signer to take a PEM string rather than a filename.Carl Hetherington
2014-05-03Add ids_equal().Carl Hetherington