libdcp.git
4 years agos/DCPReadError/ReadError/g
Carl Hetherington [Tue, 14 Apr 2020 18:16:44 +0000 (20:16 +0200)]
s/DCPReadError/ReadError/g

4 years agoAdd a special exception for the case when opj_start_compress fails.
Carl Hetherington [Mon, 13 Apr 2020 20:55:53 +0000 (22:55 +0200)]
Add a special exception for the case when opj_start_compress fails.

4 years agoBump libcxml for new force-cpp stuff.
Carl Hetherington [Thu, 2 Apr 2020 19:50:01 +0000 (21:50 +0200)]
Bump libcxml for new force-cpp stuff.

4 years agoCleanup.
Carl Hetherington [Thu, 2 Apr 2020 12:34:18 +0000 (14:34 +0200)]
Cleanup.

4 years agoPass force-cpp11 down to libcxml.
Carl Hetherington [Thu, 2 Apr 2020 12:28:12 +0000 (14:28 +0200)]
Pass force-cpp11 down to libcxml.

4 years agoTidy up by using option_defaults.
Carl Hetherington [Thu, 2 Apr 2020 12:17:38 +0000 (14:17 +0200)]
Tidy up by using option_defaults.

4 years agoFix misformatting of dcpinfo output.
Carl Hetherington [Mon, 16 Mar 2020 10:18:15 +0000 (11:18 +0100)]
Fix misformatting of dcpinfo output.

4 years agoFix getopt string.
Carl Hetherington [Sun, 15 Mar 2020 21:09:16 +0000 (22:09 +0100)]
Fix getopt string.

4 years agoAllow general restriction of what is output.
Carl Hetherington [Sun, 15 Mar 2020 21:07:50 +0000 (22:07 +0100)]
Allow general restriction of what is output.

4 years agoFix ::add_minutes to not alter the timezone of the time it's called on.
Carl Hetherington [Wed, 11 Mar 2020 09:49:16 +0000 (10:49 +0100)]
Fix ::add_minutes to not alter the timezone of the time it's called on.

4 years agoBe more cautious in CertificateChain::private_key_valid.
Carl Hetherington [Tue, 10 Mar 2020 21:24:46 +0000 (22:24 +0100)]
Be more cautious in CertificateChain::private_key_valid.

4 years agoAdd LocalTime::add_minutes.
Carl Hetherington [Tue, 10 Mar 2020 16:17:45 +0000 (17:17 +0100)]
Add LocalTime::add_minutes.

4 years agoFix build following merge.
Carl Hetherington [Mon, 9 Mar 2020 20:08:51 +0000 (21:08 +0100)]
Fix build following merge.

4 years agoMerge.
Carl Hetherington [Mon, 9 Mar 2020 20:07:30 +0000 (21:07 +0100)]
Merge.

4 years agoGive an error if there is no asset map.
Carl Hetherington [Mon, 9 Mar 2020 20:06:53 +0000 (21:06 +0100)]
Give an error if there is no asset map.

4 years agoAdd test data missing from previous.
Carl Hetherington [Sun, 8 Mar 2020 22:16:24 +0000 (23:16 +0100)]
Add test data missing from previous.

4 years agoAdd verification checks too see if reel assets' Duration or IntrinsicDuration are...
Carl Hetherington [Sun, 8 Mar 2020 21:47:33 +0000 (22:47 +0100)]
Add verification checks too see if reel assets' Duration or IntrinsicDuration are too small.

4 years agoAdd Reel::assets().
Carl Hetherington [Sun, 8 Mar 2020 21:47:09 +0000 (22:47 +0100)]
Add Reel::assets().

4 years agoFix interop verification and add some tests for it.
Carl Hetherington [Tue, 3 Mar 2020 21:02:03 +0000 (22:02 +0100)]
Fix interop verification and add some tests for it.

4 years agoAnother build fix.
Carl Hetherington [Mon, 3 Feb 2020 16:15:49 +0000 (17:15 +0100)]
Another build fix.

4 years agoTry always loading the openssl crypto module, not the default one.
Carl Hetherington [Mon, 3 Feb 2020 16:08:17 +0000 (17:08 +0100)]
Try always loading the openssl crypto module, not the default one.

4 years agoTry again to fix Windows build of previous.
Carl Hetherington [Mon, 3 Feb 2020 15:51:49 +0000 (16:51 +0100)]
Try again to fix Windows build of previous.

4 years agoTry to fix build of previous.
Carl Hetherington [Mon, 3 Feb 2020 15:43:01 +0000 (16:43 +0100)]
Try to fix build of previous.

4 years agoProvide more details on failure to load xmlsec-crypto.
Carl Hetherington [Mon, 3 Feb 2020 15:22:38 +0000 (16:22 +0100)]
Provide more details on failure to load xmlsec-crypto.

4 years agoTidy up previous slightly.
Carl Hetherington [Sun, 2 Feb 2020 23:44:39 +0000 (00:44 +0100)]
Tidy up previous slightly.

4 years agoAllow force-cpp11 via cdist options.
Carl Hetherington [Sun, 2 Feb 2020 23:43:04 +0000 (00:43 +0100)]
Allow force-cpp11 via cdist options.

4 years agoAdd struct tm constructor for LocalTime, use it to tidy up
Carl Hetherington [Mon, 23 Dec 2019 00:05:49 +0000 (01:05 +0100)]
Add struct tm constructor for LocalTime, use it to tidy up
day_{greater,less}_than_or_equal and add add_months() method.

4 years agoA reel should be the length of its main picture, or the shortest other thing if there...
Carl Hetherington [Thu, 19 Dec 2019 23:08:20 +0000 (00:08 +0100)]
A reel should be the length of its main picture, or the shortest other thing if there is no picture.

4 years agoAdd accessors.
Carl Hetherington [Thu, 19 Dec 2019 23:07:45 +0000 (00:07 +0100)]
Add accessors.

4 years agoFix openjpeg commit hash for XP build.
Carl Hetherington [Tue, 17 Dec 2019 22:09:25 +0000 (23:09 +0100)]
Fix openjpeg commit hash for XP build.

4 years agoAdd fix_empty_font_ids() to replace empty Font ids with a dummy string.
Carl Hetherington [Sun, 15 Dec 2019 21:58:21 +0000 (22:58 +0100)]
Add fix_empty_font_ids() to replace empty Font ids with a dummy string.

4 years agoxerces-c will be a dynamic library, not a static one.
Carl Hetherington [Sun, 15 Dec 2019 10:03:59 +0000 (11:03 +0100)]
xerces-c will be a dynamic library, not a static one.

4 years agoWindows build fix.
Carl Hetherington [Sat, 14 Dec 2019 23:40:50 +0000 (00:40 +0100)]
Windows build fix.

4 years agoMore adventures in the art of enum namespacing.
Carl Hetherington [Sat, 14 Dec 2019 23:09:57 +0000 (00:09 +0100)]
More adventures in the art of enum namespacing.

4 years agoFix bad implementation of bad hack.
Carl Hetherington [Sat, 14 Dec 2019 22:16:44 +0000 (23:16 +0100)]
Fix bad implementation of bad hack.

4 years agoxerces-related build fixes.
Carl Hetherington [Fri, 13 Dec 2019 16:10:51 +0000 (17:10 +0100)]
xerces-related build fixes.

4 years agoAdd xerces-c dependency to .pc file.
Carl Hetherington [Thu, 12 Dec 2019 15:46:34 +0000 (16:46 +0100)]
Add xerces-c dependency to .pc file.

4 years agoSome cleanups; output total time.
Carl Hetherington [Wed, 11 Dec 2019 23:18:15 +0000 (00:18 +0100)]
Some cleanups; output total time.

4 years agoAdd operator+=
Carl Hetherington [Wed, 11 Dec 2019 23:17:50 +0000 (00:17 +0100)]
Add operator+=

4 years agoInstall DTD/XSD files.
Carl Hetherington [Wed, 11 Dec 2019 11:29:59 +0000 (12:29 +0100)]
Install DTD/XSD files.

4 years agoxerces is mandatory.
Carl Hetherington [Tue, 10 Dec 2019 23:37:24 +0000 (00:37 +0100)]
xerces is mandatory.

4 years agoRemove now-unused boost regex.
Carl Hetherington [Mon, 9 Dec 2019 19:37:18 +0000 (20:37 +0100)]
Remove now-unused boost regex.

4 years agoAdd licence for the SMPTE XSD files.
Carl Hetherington [Sun, 8 Dec 2019 23:50:26 +0000 (00:50 +0100)]
Add licence for the SMPTE XSD files.

4 years agoCheck ASSETMAP; add a PKL test; tidy up calls to validate_xml().
Carl Hetherington [Sun, 8 Dec 2019 23:44:07 +0000 (00:44 +0100)]
Check ASSETMAP; add a PKL test; tidy up calls to validate_xml().

4 years agoUse VerificationNote more 'properly' in a fair few places.
Carl Hetherington [Sun, 8 Dec 2019 23:22:10 +0000 (00:22 +0100)]
Use VerificationNote more 'properly' in a fair few places.

4 years agoAlso check PKL XML.
Carl Hetherington [Sun, 8 Dec 2019 23:04:23 +0000 (00:04 +0100)]
Also check PKL XML.

4 years agoNote any file that is used for reading/writing a PKL, like we do with assets.
Carl Hetherington [Sun, 8 Dec 2019 23:04:07 +0000 (00:04 +0100)]
Note any file that is used for reading/writing a PKL, like we do with assets.

4 years agoValidate XML with xerces.
Carl Hetherington [Sun, 8 Dec 2019 21:39:00 +0000 (22:39 +0100)]
Validate XML with xerces.

4 years agoMore tests.
Carl Hetherington [Fri, 6 Dec 2019 21:45:55 +0000 (22:45 +0100)]
More tests.

4 years agoFix .gitignore.
Carl Hetherington [Fri, 6 Dec 2019 21:21:59 +0000 (22:21 +0100)]
Fix .gitignore.

4 years agoVerify Id in ContentVersion.
Carl Hetherington [Fri, 6 Dec 2019 21:21:17 +0000 (22:21 +0100)]
Verify Id in ContentVersion.

4 years agoFix syntax of ContentVersion/Id in the reference.
Carl Hetherington [Fri, 6 Dec 2019 21:16:01 +0000 (22:16 +0100)]
Fix syntax of ContentVersion/Id in the reference.

4 years agoAdd a debug method for when there are unexpected notes.
Carl Hetherington [Fri, 6 Dec 2019 21:14:58 +0000 (22:14 +0100)]
Add a debug method for when there are unexpected notes.

4 years agoAdd a comment.
Carl Hetherington [Fri, 6 Dec 2019 20:14:53 +0000 (21:14 +0100)]
Add a comment.

4 years agoUse regex and check <IssueDate> in CPL.
Carl Hetherington [Fri, 6 Dec 2019 16:40:25 +0000 (17:40 +0100)]
Use regex and check <IssueDate> in CPL.

4 years agoCheck for badly-formed CPL <Id>
Carl Hetherington [Fri, 6 Dec 2019 15:37:17 +0000 (16:37 +0100)]
Check for badly-formed CPL <Id>

4 years agoMore cleanups.
Carl Hetherington [Fri, 6 Dec 2019 14:43:43 +0000 (15:43 +0100)]
More cleanups.

4 years agoAdd another verification test.
Carl Hetherington [Fri, 6 Dec 2019 11:32:01 +0000 (12:32 +0100)]
Add another verification test.

4 years agoUse VerificationNote for non-fatal errors in DCP::read.
Carl Hetherington [Fri, 6 Dec 2019 09:47:04 +0000 (10:47 +0100)]
Use VerificationNote for non-fatal errors in DCP::read.

4 years agoAdd two new tests and tidy up some old ones a little.
Carl Hetherington [Thu, 5 Dec 2019 13:00:10 +0000 (14:00 +0100)]
Add two new tests and tidy up some old ones a little.

4 years agoReport errors passed back from DCP::read when exceptions aren't used.
Carl Hetherington [Thu, 5 Dec 2019 12:59:34 +0000 (13:59 +0100)]
Report errors passed back from DCP::read when exceptions aren't used.
Fix crash when verifying DCPs with missing assets.

4 years agoTweak error message.
Carl Hetherington [Thu, 5 Dec 2019 09:10:31 +0000 (10:10 +0100)]
Tweak error message.

4 years agoBump asdcplib to anything off the carl branch.
Carl Hetherington [Thu, 5 Dec 2019 00:09:20 +0000 (01:09 +0100)]
Bump asdcplib to anything off the carl branch.

4 years agoFix asdcplib git revision.
Carl Hetherington [Tue, 3 Dec 2019 19:29:57 +0000 (20:29 +0100)]
Fix asdcplib git revision.

4 years ago-cth -> -carl.
Carl Hetherington [Tue, 3 Dec 2019 16:20:41 +0000 (17:20 +0100)]
-cth -> -carl.

4 years agoUse new, improved asdcplib.
Carl Hetherington [Tue, 3 Dec 2019 15:53:14 +0000 (16:53 +0100)]
Use new, improved asdcplib.

4 years agoUpdate for openjpeg git repo tidying.
Carl Hetherington [Tue, 3 Dec 2019 11:07:33 +0000 (12:07 +0100)]
Update for openjpeg git repo tidying.

4 years agoCheck that KDM validity periods are safely within the validity periods
Carl Hetherington [Sun, 1 Dec 2019 22:13:25 +0000 (23:13 +0100)]
Check that KDM validity periods are safely within the validity periods
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.

4 years agoFix incorrect month when returning not-before/not-after.
Carl Hetherington [Sun, 1 Dec 2019 22:11:02 +0000 (23:11 +0100)]
Fix incorrect month when returning not-before/not-after.

4 years agoBump default certificate validity period to 40 years.
Carl Hetherington [Sun, 1 Dec 2019 14:38:41 +0000 (15:38 +0100)]
Bump default certificate validity period to 40 years.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Sun, 1 Dec 2019 14:25:54 +0000 (15:25 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp

4 years agoJust emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.
Carl Hetherington [Sun, 24 Nov 2019 21:31:25 +0000 (22:31 +0100)]
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.

4 years agoMerge pull request #5 from Gofilex/increase-max-length
Carl Hetherington [Wed, 20 Nov 2019 15:16:18 +0000 (16:16 +0100)]
Merge pull request #5 from Gofilex/increase-max-length

Allow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets.

4 years agoAllow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets.
Mart Jansink [Wed, 20 Nov 2019 14:51:12 +0000 (15:51 +0100)]
Allow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets.

4 years agoFix incorrect LocalTime strings when timezone is behind UTC and not an integer number...
Carl Hetherington [Fri, 8 Nov 2019 22:48:42 +0000 (23:48 +0100)]
Fix incorrect LocalTime strings when timezone is behind UTC and not an integer number of hours.

4 years agoBump asdcplib-cth to allow it to be built with python 3.
Carl Hetherington [Sat, 2 Nov 2019 20:55:10 +0000 (21:55 +0100)]
Bump asdcplib-cth to allow it to be built with python 3.

4 years agoFix enum confusion.
Carl Hetherington [Wed, 9 Oct 2019 22:57:13 +0000 (00:57 +0200)]
Fix enum confusion.

4 years agoFix unit tests after CPL root namespace fix.
Carl Hetherington [Sun, 8 Sep 2019 00:47:26 +0000 (01:47 +0100)]
Fix unit tests after CPL root namespace fix.

4 years agoIn 8c852cb the CPL root attribute "dsig" was removed (to prevent
Carl Hetherington [Thu, 5 Sep 2019 00:51:11 +0000 (01:51 +0100)]
In 8c852cb the CPL root attribute "dsig" was removed (to prevent
'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.

4 years agoIt seems that <FrameRate> of 96 is ok for 48fps 3D.
Carl Hetherington [Thu, 5 Sep 2019 00:35:20 +0000 (01:35 +0100)]
It seems that <FrameRate> of 96 is ok for 48fps 3D.

4 years agoAllow DCP reading to continue even with empty <Path> nodes in ASSETMAP.
Carl Hetherington [Fri, 30 Aug 2019 21:28:06 +0000 (22:28 +0100)]
Allow DCP reading to continue even with empty <Path> nodes in ASSETMAP.

4 years agoCapitalise help message like all the others.
Carl Hetherington [Thu, 18 Jul 2019 15:16:58 +0000 (16:16 +0100)]
Capitalise help message like all the others.

4 years agoMerge pull request #4 from tschiemer/master
Carl Hetherington [Thu, 18 Jul 2019 15:16:00 +0000 (16:16 +0100)]
Merge pull request #4 from tschiemer/master

OpenMP selectable library + readme

4 years agoadded explanations and links
philip [Thu, 18 Jul 2019 10:06:50 +0000 (12:06 +0200)]
added explanations and links

4 years agoomp library can be chosen
philip [Thu, 18 Jul 2019 10:05:26 +0000 (12:05 +0200)]
omp library can be chosen

4 years agoadded missing configure message for +MAGICK
philip [Thu, 18 Jul 2019 08:56:50 +0000 (10:56 +0200)]
added missing configure message for +MAGICK

4 years agoAdd check that -fopenmp works (part of github bug #3).
Carl Hetherington [Wed, 17 Jul 2019 23:48:20 +0000 (00:48 +0100)]
Add check that -fopenmp works (part of github bug #3).

4 years agoSpeculative OpenMP build fix (github bug #1).
Carl Hetherington [Wed, 17 Jul 2019 19:53:20 +0000 (20:53 +0100)]
Speculative OpenMP build fix (github bug #1).

4 years agoAdd credit.
Carl Hetherington [Wed, 17 Jul 2019 19:52:02 +0000 (20:52 +0100)]
Add credit.

4 years agoMerge pull request #2 from tschiemer/master
Carl Hetherington [Wed, 17 Jul 2019 19:46:34 +0000 (20:46 +0100)]
Merge pull request #2 from tschiemer/master

bugfix: undefined template instantiation

4 years agobugfix: unknown template instantiation
philip [Wed, 17 Jul 2019 19:30:13 +0000 (21:30 +0200)]
bugfix: unknown template instantiation

4 years agoAdd some comments.
Carl Hetherington [Thu, 27 Jun 2019 22:11:03 +0000 (23:11 +0100)]
Add some comments.

4 years agoReject certificate chains where the adjacent certificates have the same subject.
Carl Hetherington [Wed, 26 Jun 2019 14:54:09 +0000 (15:54 +0100)]
Reject certificate chains where the adjacent certificates have the same subject.

4 years agoTry to fix build.
Carl Hetherington [Wed, 26 Jun 2019 01:05:07 +0000 (02:05 +0100)]
Try to fix build.

4 years agoTry to fix OS X build.
Carl Hetherington [Wed, 26 Jun 2019 00:12:44 +0000 (01:12 +0100)]
Try to fix OS X build.

4 years agoAdd another raw_convert type.
Carl Hetherington [Tue, 25 Jun 2019 20:38:56 +0000 (21:38 +0100)]
Add another raw_convert type.

4 years agoAdd another type to raw/locale convert.
Carl Hetherington [Wed, 12 Jun 2019 15:08:25 +0000 (16:08 +0100)]
Add another type to raw/locale convert.

4 years agoIncrease header size when writing SMPTE subtitle MXFs; fixes problems when writing...
Carl Hetherington [Tue, 21 May 2019 20:23:55 +0000 (21:23 +0100)]
Increase header size when writing SMPTE subtitle MXFs; fixes problems when writing lots of subs (DCP-o-matic bug #1561).

5 years agoclass/struct confusion.
Carl Hetherington [Sun, 28 Apr 2019 20:36:40 +0000 (21:36 +0100)]
class/struct confusion.

5 years agoThrow a different exception when an unrecognised LabelSetType is found.
Carl Hetherington [Thu, 25 Apr 2019 15:46:14 +0000 (15:46 +0000)]
Throw a different exception when an unrecognised LabelSetType is found.