libdcp.git
5 years agoBump version v1.5.6
Carl Hetherington [Tue, 25 Sep 2018 21:52:58 +0000 (22:52 +0100)]
Bump version

5 years agoFix build with newer boost.
Carl Hetherington [Sat, 22 Sep 2018 16:03:29 +0000 (17:03 +0100)]
Fix build with newer boost.

5 years agoBump version
Carl Hetherington [Tue, 25 Sep 2018 21:11:03 +0000 (22:11 +0100)]
Bump version

5 years agoBump version v1.5.5
Carl Hetherington [Tue, 25 Sep 2018 21:11:03 +0000 (22:11 +0100)]
Bump version

5 years agoAdd missing constructor call.
Carl Hetherington [Sun, 23 Sep 2018 23:44:50 +0000 (00:44 +0100)]
Add missing constructor call.

5 years agoBump version
Carl Hetherington [Tue, 28 Aug 2018 21:01:32 +0000 (22:01 +0100)]
Bump version

5 years agoBump version v1.5.4
Carl Hetherington [Tue, 28 Aug 2018 21:01:32 +0000 (22:01 +0100)]
Bump version

5 years agoMissing initialisattion of DCPReadError::_message.
Carl Hetherington [Tue, 28 Aug 2018 20:48:30 +0000 (21:48 +0100)]
Missing initialisattion of DCPReadError::_message.

6 years agoBump version
Carl Hetherington [Mon, 14 May 2018 22:16:21 +0000 (23:16 +0100)]
Bump version

6 years agoBump version v1.5.3
Carl Hetherington [Mon, 14 May 2018 22:16:21 +0000 (23:16 +0100)]
Bump version

6 years agorebase() would round up and so it was possible for ticks to go out of range.
Carl Hetherington [Wed, 2 May 2018 21:16:03 +0000 (22:16 +0100)]
rebase() would round up and so it was possible for ticks to go out of range.
Now it still rounds up but then copes with overflow.

6 years agoBump version
Carl Hetherington [Sat, 17 Mar 2018 10:27:08 +0000 (10:27 +0000)]
Bump version

6 years agoBump version v1.5.2
Carl Hetherington [Sat, 17 Mar 2018 10:27:08 +0000 (10:27 +0000)]
Bump version

6 years agoMissing files.
Carl Hetherington [Fri, 9 Mar 2018 10:17:12 +0000 (10:17 +0000)]
Missing files.

6 years agoUse string_mask = nombstr so that openssl uses PRINTABLESTRING
Carl Hetherington [Tue, 27 Feb 2018 21:34:40 +0000 (21:34 +0000)]
Use string_mask = nombstr so that openssl uses PRINTABLESTRING
rather than UTF8STRING when putting things like Organization into
certificates.  SMPTE 430/2/2006 specifies this, and apparently
Waimea raises an error if UTF8STRING is used (as seems to be
openssl's default).

6 years agoAdd method to detect utf8 strings.
Carl Hetherington [Thu, 8 Mar 2018 21:26:21 +0000 (21:26 +0000)]
Add method to detect utf8 strings.

6 years agoBump version
Carl Hetherington [Tue, 27 Feb 2018 00:18:56 +0000 (00:18 +0000)]
Bump version

6 years agoBump version v1.5.1
Carl Hetherington [Tue, 27 Feb 2018 00:18:56 +0000 (00:18 +0000)]
Bump version

6 years agoBump libcxml to release version.
Carl Hetherington [Tue, 27 Feb 2018 00:16:36 +0000 (00:16 +0000)]
Bump libcxml to release version.

6 years agoBump version
Carl Hetherington [Tue, 27 Feb 2018 00:10:57 +0000 (00:10 +0000)]
Bump version

6 years agoBump version v1.5.0
Carl Hetherington [Tue, 27 Feb 2018 00:10:57 +0000 (00:10 +0000)]
Bump version

6 years agoFix build error.
Carl Hetherington [Sun, 25 Feb 2018 01:10:02 +0000 (01:10 +0000)]
Fix build error.

6 years agoThrow exceptions with badly-formed XML when reading a DCP; preserve detail in DCPRead...
Carl Hetherington [Sun, 25 Feb 2018 00:39:01 +0000 (00:39 +0000)]
Throw exceptions with badly-formed XML when reading a DCP; preserve detail in DCPReadError.

6 years agoCope nicely with VFs in dcpinfo.
Carl Hetherington [Thu, 22 Feb 2018 10:12:34 +0000 (10:12 +0000)]
Cope nicely with VFs in dcpinfo.

6 years agoRead Atmos assets into other_assets.
Carl Hetherington [Thu, 22 Feb 2018 10:12:17 +0000 (10:12 +0000)]
Read Atmos assets into other_assets.

6 years agoFull stop.
Carl Hetherington [Wed, 14 Feb 2018 22:18:25 +0000 (22:18 +0000)]
Full stop.

6 years agoAdd acknowledgement.
Carl Hetherington [Wed, 14 Feb 2018 22:14:56 +0000 (22:14 +0000)]
Add acknowledgement.

6 years agoUse a bool instead of an int for disable-forensic-picture and
Carl Hetherington [Wed, 14 Feb 2018 22:13:31 +0000 (22:13 +0000)]
Use a bool instead of an int for disable-forensic-picture and
a optional<int> instead of an int with a magic -1 for
disable-forensic-audio.

6 years agoAlso check passthrough of these flags.
Carl Hetherington [Wed, 14 Feb 2018 21:59:37 +0000 (21:59 +0000)]
Also check passthrough of these flags.

6 years agoAdd some tests for KDM forensic marks.
Carl Hetherington [Wed, 14 Feb 2018 21:48:42 +0000 (21:48 +0000)]
Add some tests for KDM forensic marks.

6 years agoAdd parsing of ForensicMarkFlagList in KDMRequiredExtensions constructor.
Carl Hetherington [Wed, 14 Feb 2018 20:55:45 +0000 (20:55 +0000)]
Add parsing of ForensicMarkFlagList in KDMRequiredExtensions constructor.

6 years agoFix indentation.
Carl Hetherington [Wed, 14 Feb 2018 20:14:09 +0000 (20:14 +0000)]
Fix indentation.

6 years agoMake disabling forensic marking optional.
Mart Jansink [Tue, 13 Feb 2018 12:34:23 +0000 (13:34 +0100)]
Make disabling forensic marking optional.

6 years agoMake an encrypted KDM's id publicly available.
Mart Jansink [Wed, 14 Feb 2018 10:13:13 +0000 (11:13 +0100)]
Make an encrypted KDM's id publicly available.

6 years agoAdd the "Multiple Modified Transitional 1" KDM formulation.
Mart Jansink [Wed, 14 Feb 2018 09:51:41 +0000 (10:51 +0100)]
Add the "Multiple Modified Transitional 1" KDM formulation.

6 years agoUse a different ID for the XML inside a SMPTE subtitle MXF than the
Carl Hetherington [Mon, 12 Feb 2018 00:24:21 +0000 (00:24 +0000)]
Use a different ID for the XML inside a SMPTE subtitle MXF than the
ID for the MXF itself.  Apparently not doing so is an error (according
to Doremi's release notes for 2.8.18).

6 years agoGPL boilerplate fix.
Carl Hetherington [Sun, 11 Feb 2018 20:23:24 +0000 (20:23 +0000)]
GPL boilerplate fix.

6 years agodb8af2f changed rebase() to round down when rebasing times, but
Carl Hetherington [Wed, 7 Feb 2018 21:38:01 +0000 (21:38 +0000)]
db8af2f changed rebase() to round down when rebasing times, but
did not say why.  This rounding down produces some unexpected results,
e.g. taking 41 at a TCR of 1000 to a TCR of 24 gives 0, which upsets
those who use DCP-o-matic and put in a SRT subtitle ending at ,041 ---
the sub time is rounded down to 0 for a SMPTE DCP.

This commit restores round-to-nearest behaviour.

6 years agoAdd an assert.
Carl Hetherington [Mon, 5 Feb 2018 00:39:23 +0000 (00:39 +0000)]
Add an assert.

6 years agoInconsequential typo.
Carl Hetherington [Wed, 31 Jan 2018 01:00:15 +0000 (01:00 +0000)]
Inconsequential typo.

6 years agoThrow exceptions in openjpeg's error handler during decode as well as encode.
Carl Hetherington [Wed, 24 Jan 2018 00:41:33 +0000 (00:41 +0000)]
Throw exceptions in openjpeg's error handler during decode as well as encode.

6 years agoFix missing HAlign/VAlign attributes in subtitles when their value is negative.
Carl Hetherington [Sat, 13 Jan 2018 21:18:24 +0000 (21:18 +0000)]
Fix missing HAlign/VAlign attributes in subtitles when their value is negative.

6 years agoFix test references to have no whitespace.
Carl Hetherington [Sat, 13 Jan 2018 20:50:48 +0000 (20:50 +0000)]
Fix test references to have no whitespace.

6 years agoUpdate test-private location.
Carl Hetherington [Sat, 13 Jan 2018 20:46:58 +0000 (20:46 +0000)]
Update test-private location.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Tue, 9 Jan 2018 20:26:03 +0000 (20:26 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp

6 years agoAdd some setters.
Carl Hetherington [Tue, 9 Jan 2018 20:25:59 +0000 (20:25 +0000)]
Add some setters.

6 years agoBump openjpeg2-cdist to get possible fix for DCP-o-matic #1136.
Carl Hetherington [Tue, 2 Jan 2018 00:10:19 +0000 (00:10 +0000)]
Bump openjpeg2-cdist to get possible fix for DCP-o-matic #1136.

6 years agoAdd an assertion and a better error message.
Carl Hetherington [Fri, 29 Dec 2017 01:01:19 +0000 (01:01 +0000)]
Add an assertion and a better error message.

6 years agoAdd openjpeg_version method.
Carl Hetherington [Fri, 22 Dec 2017 09:52:43 +0000 (09:52 +0000)]
Add openjpeg_version method.

6 years agoTry to fix build with new-ish OpenSSL. 1.0
Carl Hetherington [Sun, 17 Dec 2017 02:17:27 +0000 (02:17 +0000)]
Try to fix build with new-ish OpenSSL.

6 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 15 Dec 2017 15:39:42 +0000 (15:39 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

6 years agoImprove KDM decryption error message again.
Carl Hetherington [Fri, 15 Dec 2017 15:39:39 +0000 (15:39 +0000)]
Improve KDM decryption error message again.

6 years agoBump libcxml.
Carl Hetherington [Sun, 10 Dec 2017 00:38:53 +0000 (00:38 +0000)]
Bump libcxml.

6 years agoFixes for the bad distros. 1.0-cpp11
Carl Hetherington [Sat, 9 Dec 2017 22:29:38 +0000 (22:29 +0000)]
Fixes for the bad distros.

6 years agoTry to tidy up C++11 hacks.
Carl Hetherington [Sat, 9 Dec 2017 21:58:01 +0000 (21:58 +0000)]
Try to tidy up C++11 hacks.

6 years agoRemove unused class declaration.
Carl Hetherington [Tue, 10 Oct 2017 19:15:55 +0000 (20:15 +0100)]
Remove unused class declaration.

6 years agoFix repeated subtitles when reading SMPTE encrypted DCPs.
Carl Hetherington [Tue, 12 Sep 2017 20:56:10 +0000 (21:56 +0100)]
Fix repeated subtitles when reading SMPTE encrypted DCPs.

6 years agoSupport extraction of encrypted subtitles.
Carl Hetherington [Mon, 11 Sep 2017 20:27:42 +0000 (21:27 +0100)]
Support extraction of encrypted subtitles.

6 years agoAdd comments.
Carl Hetherington [Mon, 11 Sep 2017 20:27:35 +0000 (21:27 +0100)]
Add comments.

6 years agoAllow running of dcpdumpsub from anywhere.
Carl Hetherington [Mon, 11 Sep 2017 20:27:18 +0000 (21:27 +0100)]
Allow running of dcpdumpsub from anywhere.

6 years agoCCAP fixes.
Carl Hetherington [Wed, 6 Sep 2017 20:58:15 +0000 (21:58 +0100)]
CCAP fixes.

6 years agoAdd basic CCAP support.
Carl Hetherington [Mon, 4 Sep 2017 22:34:11 +0000 (23:34 +0100)]
Add basic CCAP support.

6 years agoFix some warnings.
Carl Hetherington [Sun, 3 Sep 2017 10:47:51 +0000 (11:47 +0100)]
Fix some warnings.

6 years agoTry to fix wavelet transform levels count for 4K (dcpomatic #1125).
Carl Hetherington [Sat, 2 Sep 2017 20:08:17 +0000 (21:08 +0100)]
Try to fix wavelet transform levels count for 4K (dcpomatic #1125).

6 years agoBump openjpeg2 for rate allocation threshold fix.
Carl Hetherington [Sat, 2 Sep 2017 18:18:39 +0000 (19:18 +0100)]
Bump openjpeg2 for rate allocation threshold fix.

6 years agoTry to fix build on some platforms.
Carl Hetherington [Sat, 2 Sep 2017 11:56:53 +0000 (12:56 +0100)]
Try to fix build on some platforms.

6 years agoBump openjpeg2 to more-or-less 2.2.0.
Carl Hetherington [Sat, 2 Sep 2017 10:41:24 +0000 (11:41 +0100)]
Bump openjpeg2 to more-or-less 2.2.0.

6 years agoBump openjpeg-cdist for cdist fix.
Carl Hetherington [Tue, 25 Jul 2017 12:32:14 +0000 (13:32 +0100)]
Bump openjpeg-cdist for cdist fix.

6 years agodcpdiff option to allow issue dates to differ.
Carl Hetherington [Tue, 25 Jul 2017 12:32:07 +0000 (13:32 +0100)]
dcpdiff option to allow issue dates to differ.

6 years agoMore __mingw_snprintf fixes. mxe
Carl Hetherington [Mon, 24 Jul 2017 11:25:50 +0000 (12:25 +0100)]
More __mingw_snprintf fixes.

6 years agoTry again to fix Windows build.
Carl Hetherington [Mon, 24 Jul 2017 11:22:00 +0000 (12:22 +0100)]
Try again to fix Windows build.

6 years agoFurther adventures in fixing build with options==None.
Carl Hetherington [Mon, 24 Jul 2017 11:14:30 +0000 (12:14 +0100)]
Further adventures in fixing build with options==None.

6 years agoFix build on Windows with no options.
Carl Hetherington [Mon, 24 Jul 2017 11:12:50 +0000 (12:12 +0100)]
Fix build on Windows with no options.

6 years agoTry to fix build on newer MinGW.
Carl Hetherington [Mon, 24 Jul 2017 11:11:25 +0000 (12:11 +0100)]
Try to fix build on newer MinGW.

6 years agoAllow dcpinfo to read a CPL.
Carl Hetherington [Mon, 24 Jul 2017 11:10:43 +0000 (12:10 +0100)]
Allow dcpinfo to read a CPL.

6 years agoComments.
Carl Hetherington [Mon, 24 Jul 2017 11:10:26 +0000 (12:10 +0100)]
Comments.

6 years agoAllow dcpinfo to be run from anywhere.
Carl Hetherington [Mon, 24 Jul 2017 11:10:14 +0000 (12:10 +0100)]
Allow dcpinfo to be run from anywhere.

6 years agoAllow assets() to silently ignore unresolved assets.
Carl Hetherington [Sat, 8 Jul 2017 22:23:25 +0000 (00:23 +0200)]
Allow assets() to silently ignore unresolved assets.

6 years agoPrevent resolve_fonts from adding duplicate fonts to its list.
Carl Hetherington [Sat, 8 Jul 2017 22:23:03 +0000 (00:23 +0200)]
Prevent resolve_fonts from adding duplicate fonts to its list.

6 years agoTidy jpeg option passing.
Carl Hetherington [Sun, 2 Jul 2017 23:44:14 +0000 (00:44 +0100)]
Tidy jpeg option passing.

6 years agoTry to build openjpeg1 where requested.
Carl Hetherington [Sun, 2 Jul 2017 23:14:15 +0000 (00:14 +0100)]
Try to build openjpeg1 where requested.

6 years agoTry to allow building with openjpeg1 by passing in a cdist option.
Carl Hetherington [Sun, 2 Jul 2017 21:39:21 +0000 (22:39 +0100)]
Try to allow building with openjpeg1 by passing in a cdist option.

6 years agoRemove use of _formatted when writing subtitle XML.
Carl Hetherington [Thu, 29 Jun 2017 12:34:06 +0000 (13:34 +0100)]
Remove use of _formatted when writing subtitle XML.

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.

6 years agoAdd another test.
Carl Hetherington [Tue, 27 Jun 2017 22:04:38 +0000 (23:04 +0100)]
Add another test.

6 years agoFix some test failures caused by changes to handling of metadata.
Carl Hetherington [Fri, 23 Jun 2017 13:50:53 +0000 (14:50 +0100)]
Fix some test failures caused by changes to handling of metadata.

6 years agoMake xyz_to_xyz into a constructor of OpenJPEGImage where it makes more sense.
Carl Hetherington [Fri, 23 Jun 2017 10:57:50 +0000 (11:57 +0100)]
Make xyz_to_xyz into a constructor of OpenJPEGImage where it makes more sense.

6 years agoRemove redundant _annotation_text from CPL.
Carl Hetherington [Mon, 12 Jun 2017 23:49:13 +0000 (00:49 +0100)]
Remove redundant _annotation_text from CPL.

6 years agoWhite space.
Carl Hetherington [Tue, 6 Jun 2017 13:48:25 +0000 (14:48 +0100)]
White space.

6 years agoFix up management of certificate chain validity.
Carl Hetherington [Mon, 5 Jun 2017 13:41:27 +0000 (14:41 +0100)]
Fix up management of certificate chain validity.

6 years agoRemove out-of-date LD_LIBRARY_PATH component.
Carl Hetherington [Sun, 4 Jun 2017 22:13:15 +0000 (23:13 +0100)]
Remove out-of-date LD_LIBRARY_PATH component.

6 years agoComment.
Carl Hetherington [Fri, 2 Jun 2017 11:32:18 +0000 (12:32 +0100)]
Comment.

6 years agoBump libcxml.
Carl Hetherington [Wed, 24 May 2017 12:06:37 +0000 (13:06 +0100)]
Bump libcxml.

6 years agoBetter exception when loading a KDM fails.
Carl Hetherington [Wed, 24 May 2017 11:47:36 +0000 (12:47 +0100)]
Better exception when loading a KDM fails.

7 years agoTest an Interop DCP (dcp_test7) with associated churn in the following test.
Carl Hetherington [Wed, 17 May 2017 09:45:57 +0000 (10:45 +0100)]
Test an Interop DCP (dcp_test7) with associated churn in the following test.

7 years agoUse http://www.digicine.com/PROTO-ASDCP-VL-20040311# for the VOLINDEX namespace so...
Carl Hetherington [Wed, 17 May 2017 09:23:30 +0000 (10:23 +0100)]
Use digicine.com/PROTO-ASDCP-VL-20040311# for the VOLINDEX namespace so as to get a slightly easier life.

7 years agoAdd scope to KeyType tags in KDMs.
Carl Hetherington [Wed, 17 May 2017 08:49:15 +0000 (09:49 +0100)]
Add scope to KeyType tags in KDMs.

7 years agoAdd ::time_of_day without seconds.
Carl Hetherington [Mon, 15 May 2017 11:58:05 +0000 (12:58 +0100)]
Add ::time_of_day without seconds.

7 years agoAdd dcpsignerthumb files.
Carl Hetherington [Mon, 15 May 2017 11:57:53 +0000 (12:57 +0100)]
Add dcpsignerthumb files.

7 years agoA few new bits.
Carl Hetherington [Mon, 15 May 2017 10:41:01 +0000 (11:41 +0100)]
A few new bits.

7 years agoTry to fix build on some older GCCs.
Carl Hetherington [Sun, 9 Apr 2017 22:29:30 +0000 (23:29 +0100)]
Try to fix build on some older GCCs.