libdcp.git
16 months agoRemove old jpeg option reference in cscript. v1.8.37
Carl Hetherington [Sun, 4 Dec 2022 23:47:35 +0000 (00:47 +0100)]
Remove old jpeg option reference in cscript.

16 months agoFix use of atleast_version which these days does nothing. v1.8.36
Carl Hetherington [Sun, 4 Dec 2022 23:34:52 +0000 (00:34 +0100)]
Fix use of atleast_version which these days does nothing.

16 months agoFix reading of git tags for .pc file versioning.
Carl Hetherington [Sun, 4 Dec 2022 23:28:54 +0000 (00:28 +0100)]
Fix reading of git tags for .pc file versioning.

16 months agoSupport building either with our patched OpenJPEG, or 2.5.0.
Carl Hetherington [Sun, 4 Dec 2022 22:32:09 +0000 (23:32 +0100)]
Support building either with our patched OpenJPEG, or 2.5.0.

Either has a way to specify the number of guard bits.

16 months agoRemove support for building with OpenJPEG 1.x.
Carl Hetherington [Sun, 4 Dec 2022 21:57:59 +0000 (22:57 +0100)]
Remove support for building with OpenJPEG 1.x.

16 months agoFix some ambiguous shared_ptrs, seen on Arch Linux.
Carl Hetherington [Sun, 4 Dec 2022 19:30:48 +0000 (20:30 +0100)]
Fix some ambiguous shared_ptrs, seen on Arch Linux.

16 months agoFilter some more potential filename contents on Windows. v1.8.35
Carl Hetherington [Sat, 3 Dec 2022 22:20:18 +0000 (23:20 +0100)]
Filter some more potential filename contents on Windows.

17 months agoAdd make_kdm.cc example.
Carl Hetherington [Sun, 27 Nov 2022 22:11:32 +0000 (23:11 +0100)]
Add make_kdm.cc example.

17 months agoTidy up examples/wscript.
Carl Hetherington [Sun, 27 Nov 2022 21:55:01 +0000 (22:55 +0100)]
Tidy up examples/wscript.

17 months agoTidy up some operators, made possible by the previous-but-one commit.
Carl Hetherington [Thu, 24 Nov 2022 22:57:38 +0000 (23:57 +0100)]
Tidy up some operators, made possible by the previous-but-one commit.

17 months agoAdd equality option for vertical subtitle position. v1.8.34
Carl Hetherington [Thu, 24 Nov 2022 08:54:03 +0000 (09:54 +0100)]
Add equality option for vertical subtitle position.

17 months agoSome missing const correctness.
Carl Hetherington [Wed, 23 Nov 2022 23:53:22 +0000 (00:53 +0100)]
Some missing const correctness.

17 months agoAdd a couple of Z position tests. v1.8.33
Carl Hetherington [Thu, 20 Oct 2022 21:55:24 +0000 (23:55 +0200)]
Add a couple of Z position tests.

17 months agoAdd Z position to subtitles; existing tests pass.
Carl Hetherington [Thu, 20 Oct 2022 21:17:40 +0000 (23:17 +0200)]
Add Z position to subtitles; existing tests pass.

18 months agoCleanup: use std::make_shared.
Carl Hetherington [Sat, 29 Oct 2022 10:11:00 +0000 (12:11 +0200)]
Cleanup: use std::make_shared.

18 months agoFix YUV->RGB for Rec. 2020. rec2020 v1.8.32
Carl Hetherington [Wed, 5 Oct 2022 22:03:59 +0000 (00:03 +0200)]
Fix YUV->RGB for Rec. 2020.

18 months agoFix copy/paste error causing a crash when verifying encrypted 3D DCPs. v1.8.31
Carl Hetherington [Tue, 11 Oct 2022 22:40:01 +0000 (00:40 +0200)]
Fix copy/paste error causing a crash when verifying encrypted 3D DCPs.

18 months agoSome dcpverify output tidying.
Carl Hetherington [Tue, 11 Oct 2022 20:43:43 +0000 (22:43 +0200)]
Some dcpverify output tidying.

18 months agoAdd a progress bar.
Carl Hetherington [Tue, 11 Oct 2022 20:43:32 +0000 (22:43 +0200)]
Add a progress bar.

18 months agoCleanup: use some lambdas.
Carl Hetherington [Tue, 11 Oct 2022 20:38:14 +0000 (22:38 +0200)]
Cleanup: use some lambdas.

18 months agoMissing bracket in error message.
Carl Hetherington [Mon, 3 Oct 2022 22:14:24 +0000 (00:14 +0200)]
Missing bracket in error message.

19 months agoBetter subtitle comparisons in tests. v1.8.30
Carl Hetherington [Mon, 26 Sep 2022 17:44:32 +0000 (19:44 +0200)]
Better subtitle comparisons in tests.

19 months agoDon't try to create non-existent DCPs when searching for CPLs (DoM #2344).
Carl Hetherington [Mon, 26 Sep 2022 17:43:47 +0000 (19:43 +0200)]
Don't try to create non-existent DCPs when searching for CPLs (DoM #2344).

19 months agoBump waf in asdcplib. v1.8.29
Carl Hetherington [Mon, 19 Sep 2022 22:05:43 +0000 (00:05 +0200)]
Bump waf in asdcplib.

19 months agoBump waf here and in libcxml for Python 3.10 support. v1.8.28
Carl Hetherington [Mon, 19 Sep 2022 21:57:45 +0000 (23:57 +0200)]
Bump waf here and in libcxml for Python 3.10 support.

19 months agoAdd a new test.
Carl Hetherington [Tue, 6 Sep 2022 10:44:28 +0000 (12:44 +0200)]
Add a new test.

19 months agoUse ratingID rather than the Descriptor Label for metadata. v1.8.27
Carl Hetherington [Sat, 3 Sep 2022 20:29:47 +0000 (22:29 +0200)]
Use ratingID rather than the Descriptor Label for metadata.

It's not clear whether this is right, but it certainly seems a lot
closer (e.g. for MPAA PG-13 the label was "Parents Strongly Cautioned",
which is definitely not what we want).

19 months agoProperly support ContentKind scope attribute. v1.8.26
Carl Hetherington [Fri, 2 Sep 2022 23:52:14 +0000 (01:52 +0200)]
Properly support ContentKind scope attribute.

19 months agoCleanup: some missing full stops.
Carl Hetherington [Fri, 2 Sep 2022 23:38:40 +0000 (01:38 +0200)]
Cleanup: some missing full stops.

19 months agoReplace ContentKind enum with a class.
Carl Hetherington [Fri, 2 Sep 2022 20:43:19 +0000 (22:43 +0200)]
Replace ContentKind enum with a class.

20 months agoThrow a KDMFormatError if cxml throws an error when reading KDM XML.
Carl Hetherington [Wed, 17 Aug 2022 23:42:19 +0000 (01:42 +0200)]
Throw a KDMFormatError if cxml throws an error when reading KDM XML.

20 months agoTolerate missing FullContentTitleText (DoM bug #2295). 2295-tolerate-missing-full-content-title v1.8.25
Carl Hetherington [Mon, 15 Aug 2022 15:34:29 +0000 (17:34 +0200)]
Tolerate missing FullContentTitleText (DoM bug #2295).

20 months agoStop assuming that the presence of FullContentTitleText means that there was CPL...
Carl Hetherington [Mon, 15 Aug 2022 14:54:40 +0000 (16:54 +0200)]
Stop assuming that the presence of FullContentTitleText means that there was CPL metadata.

20 months agoFix undefined memory warning during tests.
Carl Hetherington [Wed, 10 Aug 2022 20:14:07 +0000 (22:14 +0200)]
Fix undefined memory warning during tests.

20 months agoFix script for Fedora.
Carl Hetherington [Wed, 10 Aug 2022 20:13:58 +0000 (22:13 +0200)]
Fix script for Fedora.

21 months agoFix thinko in previous commit. v1.8.24
Carl Hetherington [Fri, 15 Jul 2022 08:57:02 +0000 (10:57 +0200)]
Fix thinko in previous commit.

21 months agoClose assets on destruction even if finalize() is not called. v1.8.23
Carl Hetherington [Thu, 14 Jul 2022 21:51:21 +0000 (23:51 +0200)]
Close assets on destruction even if finalize() is not called.

21 months agoAllow tests to be run on Fedora.
Carl Hetherington [Thu, 14 Jul 2022 21:50:56 +0000 (23:50 +0200)]
Allow tests to be run on Fedora.

21 months agoUpdate comment to reflect strange aspects of subtitle alignment standards.
Carl Hetherington [Thu, 14 Jul 2022 21:30:47 +0000 (23:30 +0200)]
Update comment to reflect strange aspects of subtitle alignment standards.

22 months agoAdd another warning to LIBDCP_DISABLE_WARNINGS mac-warning v1.8.22
Carl Hetherington [Tue, 21 Jun 2022 09:45:13 +0000 (11:45 +0200)]
Add another warning to LIBDCP_DISABLE_WARNINGS

22 months agoBump asdcplib for build fix. v1.8.21
Carl Hetherington [Mon, 20 Jun 2022 11:02:43 +0000 (13:02 +0200)]
Bump asdcplib for build fix.

22 months agoMake an error a little more detailed.
Carl Hetherington [Fri, 3 Jun 2022 13:11:50 +0000 (15:11 +0200)]
Make an error a little more detailed.

22 months agoBump asdcplib for some more logging.
Carl Hetherington [Mon, 13 Jun 2022 22:33:31 +0000 (00:33 +0200)]
Bump asdcplib for some more logging.

22 months agoMake size_in_pixels() more accurate. v1.8.20
Carl Hetherington [Sun, 5 Jun 2022 21:46:37 +0000 (23:46 +0200)]
Make size_in_pixels() more accurate.

23 months agoMissing install of a header. v1.8.19
Carl Hetherington [Sun, 8 May 2022 22:57:19 +0000 (00:57 +0200)]
Missing install of a header.

23 months agoExtract, test and slightly adjust the piecewise LUT for inverse gamma.
Carl Hetherington [Sun, 8 May 2022 21:47:12 +0000 (23:47 +0200)]
Extract, test and slightly adjust the piecewise LUT for inverse gamma.

23 months agoAnother missing include.
Carl Hetherington [Fri, 6 May 2022 21:52:04 +0000 (23:52 +0200)]
Another missing include.

23 months agoFix scaling ranges to be the same as they used to be.
Carl Hetherington [Fri, 6 May 2022 08:32:02 +0000 (10:32 +0200)]
Fix scaling ranges to be the same as they used to be.

23 months agoTypo in function name.
Carl Hetherington [Fri, 6 May 2022 21:43:06 +0000 (23:43 +0200)]
Typo in function name.

23 months agoMissing includes.
Carl Hetherington [Thu, 5 May 2022 22:33:57 +0000 (00:33 +0200)]
Missing includes.

23 months agoTweak whitespace. file-class-in-dom
Carl Hetherington [Fri, 15 Apr 2022 20:41:23 +0000 (22:41 +0200)]
Tweak whitespace.

23 months agoAdd ::puts().
Carl Hetherington [Fri, 15 Apr 2022 20:40:52 +0000 (22:40 +0200)]
Add ::puts().

23 months agoAdd ::tell().
Carl Hetherington [Fri, 15 Apr 2022 20:33:43 +0000 (22:33 +0200)]
Add ::tell().

23 months agoMove fix_long_path tests over from DoM.
Carl Hetherington [Wed, 13 Apr 2022 22:36:24 +0000 (00:36 +0200)]
Move fix_long_path tests over from DoM.

23 months agoAdd accessor for use with things like fprintf().
Carl Hetherington [Wed, 13 Apr 2022 22:19:55 +0000 (00:19 +0200)]
Add accessor for use with things like fprintf().

23 months agoAdd move constructor.
Carl Hetherington [Wed, 13 Apr 2022 22:02:42 +0000 (00:02 +0200)]
Add move constructor.

23 months agoAdd header guard.
Carl Hetherington [Wed, 13 Apr 2022 21:59:19 +0000 (23:59 +0200)]
Add header guard.

23 months agoAdd ::seek().
Carl Hetherington [Wed, 13 Apr 2022 21:37:19 +0000 (23:37 +0200)]
Add ::seek().

23 months agoAdd ::take().
Carl Hetherington [Wed, 13 Apr 2022 21:30:26 +0000 (23:30 +0200)]
Add ::take().

23 months agoAdd checked_{read,write} from DoM.
Carl Hetherington [Wed, 13 Apr 2022 21:19:17 +0000 (23:19 +0200)]
Add checked_{read,write} from DoM.

23 months agoCopy and use fix_long_path from DoM.
Carl Hetherington [Wed, 13 Apr 2022 21:05:39 +0000 (23:05 +0200)]
Copy and use fix_long_path from DoM.

23 months agoRemove unnecessary using inaccurate-gamma2
Carl Hetherington [Thu, 5 May 2022 19:25:37 +0000 (21:25 +0200)]
Remove unnecessary using

23 months agoUse 2 LUTs for output gamma to improve accuracy (DoM #2242).
Carl Hetherington [Thu, 5 May 2022 19:02:40 +0000 (21:02 +0200)]
Use 2 LUTs for output gamma to improve accuracy (DoM #2242).

23 months agoAllow LUTs to be created with a particular range.
Carl Hetherington [Thu, 5 May 2022 18:56:14 +0000 (20:56 +0200)]
Allow LUTs to be created with a particular range.

23 months agoUse std::vector for LUTs.
Carl Hetherington [Thu, 5 May 2022 18:31:26 +0000 (20:31 +0200)]
Use std::vector for LUTs.

23 months agoAdd a new (failing) test which exposes inaccuracies in inverse gamma.
Carl Hetherington [Thu, 5 May 2022 13:35:51 +0000 (15:35 +0200)]
Add a new (failing) test which exposes inaccuracies in inverse gamma.

23 months agoTidying.
Carl Hetherington [Thu, 5 May 2022 13:35:03 +0000 (15:35 +0200)]
Tidying.

23 months agoWrite subtitle files in binary mode. tests-on-all-platforms
Carl Hetherington [Mon, 2 May 2022 23:13:34 +0000 (01:13 +0200)]
Write subtitle files in binary mode.

23 months agoMissing finalize() on a writer in a test.
Carl Hetherington [Mon, 2 May 2022 22:37:38 +0000 (00:37 +0200)]
Missing finalize() on a writer in a test.

23 months agoMissing DYLD_LIBRARY_PATH for macOS.
Carl Hetherington [Mon, 2 May 2022 20:25:21 +0000 (22:25 +0200)]
Missing DYLD_LIBRARY_PATH for macOS.

23 months agoFix run/tests for macOS sed.
Carl Hetherington [Mon, 2 May 2022 20:06:43 +0000 (22:06 +0200)]
Fix run/tests for macOS sed.

23 months agoC++11 tidying.
Carl Hetherington [Mon, 2 May 2022 17:31:50 +0000 (19:31 +0200)]
C++11 tidying.

23 months agoMake some tests repeatable across platforms.
Carl Hetherington [Mon, 2 May 2022 15:49:32 +0000 (17:49 +0200)]
Make some tests repeatable across platforms.

23 months agoRemove deprecation warning from cdist.
Carl Hetherington [Wed, 20 Apr 2022 21:42:10 +0000 (23:42 +0200)]
Remove deprecation warning from cdist.

23 months agoTidying.
Carl Hetherington [Wed, 20 Apr 2022 19:32:52 +0000 (21:32 +0200)]
Tidying.

23 months agoFix test runner on macOS.
Carl Hetherington [Wed, 20 Apr 2022 18:50:13 +0000 (20:50 +0200)]
Fix test runner on macOS.

23 months agoAllow tests to be run on Windows.
Carl Hetherington [Wed, 20 Apr 2022 18:49:04 +0000 (20:49 +0200)]
Allow tests to be run on Windows.

2 years agoBump asdcplib to a version with some better Win32 error logging.
Carl Hetherington [Sun, 1 May 2022 18:48:13 +0000 (20:48 +0200)]
Bump asdcplib to a version with some better Win32 error logging.

2 years agoDon't talk about suggest-override on very old GCCs. v1.8.18
Carl Hetherington [Sat, 30 Apr 2022 21:32:52 +0000 (23:32 +0200)]
Don't talk about suggest-override on very old GCCs.

2 years agoRename PKL::write to PKL::write_xml for consistency. v1.8.17
Carl Hetherington [Sat, 30 Apr 2022 18:33:01 +0000 (20:33 +0200)]
Rename PKL::write to PKL::write_xml for consistency.

2 years agoAdd move constructor/operator=. dcp-editor3
Carl Hetherington [Mon, 25 Apr 2022 22:32:29 +0000 (00:32 +0200)]
Add move constructor/operator=.

2 years agoAdd CPL::set().
Carl Hetherington [Mon, 25 Apr 2022 22:32:21 +0000 (00:32 +0200)]
Add CPL::set().

2 years agoAdd AssetList to extract some boilerplate from AssetMap and PKL.
Carl Hetherington [Mon, 25 Apr 2022 21:49:00 +0000 (23:49 +0200)]
Add AssetList to extract some boilerplate from AssetMap and PKL.

2 years agoTidy up write_xml() API a little.
Carl Hetherington [Mon, 25 Apr 2022 21:31:13 +0000 (23:31 +0200)]
Tidy up write_xml() API a little.

2 years agoAdd a test for reading, changing, then writing a DCP.
Carl Hetherington [Mon, 25 Apr 2022 20:53:25 +0000 (22:53 +0200)]
Add a test for reading, changing, then writing a DCP.

2 years agoImprove an exception's description.
Carl Hetherington [Mon, 25 Apr 2022 20:53:14 +0000 (22:53 +0200)]
Improve an exception's description.

2 years agoUpdate PKL assets before writing it.
Carl Hetherington [Mon, 25 Apr 2022 19:59:26 +0000 (21:59 +0200)]
Update PKL assets before writing it.

2 years agoMove AssetMap handling out to a separate class.
Carl Hetherington [Mon, 25 Apr 2022 08:26:11 +0000 (10:26 +0200)]
Move AssetMap handling out to a separate class.

2 years agoAdd copy constructor for Object.
Carl Hetherington [Sun, 24 Apr 2022 19:29:02 +0000 (21:29 +0200)]
Add copy constructor for Object.

2 years agoTidying.
Carl Hetherington [Sun, 24 Apr 2022 19:27:08 +0000 (21:27 +0200)]
Tidying.

2 years agoFix some incorrect comments.
Carl Hetherington [Sun, 24 Apr 2022 19:29:15 +0000 (21:29 +0200)]
Fix some incorrect comments.

2 years agoHide some more warnings from asdcplib on clang. v1.8.16
Carl Hetherington [Fri, 22 Apr 2022 10:07:31 +0000 (12:07 +0200)]
Hide some more warnings from asdcplib on clang.

2 years agoC++11 tidying.
Carl Hetherington [Fri, 22 Apr 2022 09:54:15 +0000 (11:54 +0200)]
C++11 tidying.

2 years agoFix some class/struct warnings on macOS.
Carl Hetherington [Fri, 22 Apr 2022 09:33:54 +0000 (11:33 +0200)]
Fix some class/struct warnings on macOS.

2 years agoDon't specify no-default-inline on clang as it's not supported.
Carl Hetherington [Fri, 22 Apr 2022 09:26:59 +0000 (11:26 +0200)]
Don't specify no-default-inline on clang as it's not supported.

2 years agoFix some macOS signed/unsigned warnings.
Carl Hetherington [Fri, 22 Apr 2022 09:08:54 +0000 (11:08 +0200)]
Fix some macOS signed/unsigned warnings.

2 years agoDon't try to ignore a non-existent warning on clang.
Carl Hetherington [Fri, 22 Apr 2022 08:50:20 +0000 (10:50 +0200)]
Don't try to ignore a non-existent warning on clang.

2 years agoMissing warning ignore with older GCCs. more-warning-fixes v1.8.15
Carl Hetherington [Thu, 21 Apr 2022 22:19:57 +0000 (00:19 +0200)]
Missing warning ignore with older GCCs.

2 years agoFix unsigned/signed warning on macOS.
Carl Hetherington [Thu, 21 Apr 2022 14:18:45 +0000 (16:18 +0200)]
Fix unsigned/signed warning on macOS.

2 years agoFix cscript after change to gcov flag. v1.8.14
Carl Hetherington [Wed, 20 Apr 2022 18:35:28 +0000 (20:35 +0200)]
Fix cscript after change to gcov flag.