summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-03-10Missing include file.Carl Hetherington
2020-03-10Be more cautious in CertificateChain::private_key_valid.v1.6.15Carl Hetherington
2019-12-15Add fix_empty_font_ids() to replace empty Font ids with a dummy string.v1.6.14Carl Hetherington
Back-ported from abf4f7577877254ecd7a1dc7955e0d7ca49ad07c in master.
2019-11-24Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.v1.6.13Carl Hetherington
2019-11-11Allow DCP reading to continue even with empty <Path> nodes in ASSETMAP.v1.6.11Carl Hetherington
2019-11-08Fix incorrect LocalTime strings when timezone is behind UTC and not an ↵v1.6.10Carl Hetherington
integer number of hours.
2019-10-10Fix enum confusion.Carl Hetherington
2019-10-01Reject certificate chains where the adjacent certificates have the same subject.Carl Hetherington
This is a backport of 31f31800705880da6ec185f9b31c7e125ae18c38 from master.
2019-10-01In 8c852cb the CPL root attribute "dsig" was removed (to preventCarl Hetherington
'XML root element can contain only one namespace' errors) In a266fc2 [Sony digest validation fix] this was (for some unknown reason) re-added, which makes the root element bug recur. This commit removes that namespace again. It's a shame there was no unit test to pick this regression up.
2019-05-21Increase header size when writing SMPTE subtitle MXFs; fixes problems when ↵v1.6.8Carl Hetherington
writing lots of subs (DCP-o-matic bug #1561). This is a backport of b7c7e14463d91608b080a5a63fcfb4d330ced863 from master.
2019-04-25Throw a different exception when an unrecognised LabelSetType is found.v1.6.7Carl Hetherington
2019-03-29Add EPISODE and PROMO content types.v1.6.6Carl Hetherington
2019-03-16Check that all image data is present after loading a SMPTE subtitle asset.v1.6.5Carl Hetherington
If we load SMPTE subtitles from a XML file try to load PNG data from the same directory; this feels like a hack.
2019-03-12Try to fix libdcp static build.Carl Hetherington
2019-03-12Fix gcov shlib build; this fixes tests to run against the locally-built ↵Carl Hetherington
libdcp rather than the installed one.
2019-01-24Check return value of fread in File::File.Carl Hetherington
2019-01-24Slightly hacky but hopefully functional fix for KDMs after the changesCarl Hetherington
to signer. The KDM stuff uses add_signature_value() but not sign() since it has to allow pass-through of a KDM (so it handles <Signature> etc. itself). This means we have to make the indentation-adding optional. It might have been nicer to make indent() not add indentation if it's not already there.
2019-01-24Fully indent PKL/CPL.Carl Hetherington
2019-01-24Attempt to fix Sony digest validation by indenting the <Signer>Carl Hetherington
and <Signature> before signing. This is in the belief that, perhaps, the Sony software "reformats" the XML before checking that the signature is correct (or something).
2019-01-22Reveal path in MissingAssetError.Carl Hetherington
2019-01-17Missing include for arch.Carl Hetherington
2019-01-14Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcpCarl Hetherington
2019-01-14Tidy repeated call of make_uuid() and don't put urn:uuid: in front of ↵Carl Hetherington
default content version label text as it's a bit confusing.
2019-01-14Speculative removal of call to xmlSecKeySetName when signing, onCarl Hetherington
the basis that I can't see what it's for and opendcp doesn't do it. Chasing Sony no-validate bug.
2019-01-12Move verify API away from strings towards error codes.Carl Hetherington
2019-01-08Fix incorrect XML namespace in MXF header; I was using the prefixCarl Hetherington
instead of the namespace URI for what asdcplib calls TimedTextDescriptor::NamespaceName. Thanks to clairmeta; see https://github.com/Ymagis/ClairMeta/issues/72
2019-01-06ClairMeta points out that SMPTE subtitle MXF's ResourceID shouldCarl Hetherington
be the same as the internal XML ID. This in turn must be different from the MXF's UUID. I *think* that we have: AssetUUID: MXF's UUID, which must be different; written from the WriterInfo (set up by fill_writer_info, which is passed _id) AssetID: MXF's ResourceID, which must be the _xml_id; written from the TimedTextDescriptor. I believe that this patch fixes the ResourceID to be the XML ID (as required) without undoing the Doremi fix whereby the MXF UUID must be different to the XML ID. This patch quells ClairMeta's error.
2019-01-06More DCP verification detail and testing.Carl Hetherington
2019-01-06Check CPL hash in the PKL on verify.Carl Hetherington
2018-12-29Fix some warnings.Carl Hetherington
2018-11-14Simpole DCP recovery utility (dcprecover) added.Carl Hetherington
2018-11-08Take thumbprint rather than a full dcp::Certificate for trusted devices.Carl Hetherington
2018-10-09More raw/locale_convert.Carl Hetherington
2018-10-09Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcpCarl Hetherington
2018-10-09More _convert functions.Carl Hetherington
2018-09-29Move some methods to where they make more sense.Carl Hetherington
2018-09-25Cope with multiple PKLs in a DCP.Carl Hetherington
2018-09-24Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcpCarl Hetherington
2018-09-24Add missing constructor call.Carl Hetherington
2018-09-22Fix build with newer boost.Carl Hetherington
2018-09-18Throw a better error on bad content kind.Carl Hetherington
2018-09-14Add operator< for LocalTime.Carl Hetherington
2018-09-07Silence warnings from asdcplib when testing a MXF file for validity.Carl Hetherington
2018-09-02Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.Carl Hetherington
2018-08-29Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcpCarl Hetherington
2018-08-29Allow CCAP reel nodes to have language tags.Carl Hetherington
2018-08-28Missing initialisattion of DCPReadError::_message.Carl Hetherington
2018-08-22Support more than one closed caption asset per reel.Carl Hetherington
2018-08-17Missing header include.Carl Hetherington
2018-08-17Throw an exception on an unknown asset type.pklCarl Hetherington