Carl Hetherington [Sat, 17 Dec 2022 21:16:38 +0000 (22:16 +0100)]
Another attempt to fix UTF-8/byte SNAFUs in wscript.
Carl Hetherington [Fri, 16 Dec 2022 09:50:14 +0000 (10:50 +0100)]
Fix ./waf dist
Carl Hetherington [Thu, 15 Dec 2022 23:01:47 +0000 (00:01 +0100)]
Verify that main picture active area is valid (even, and not too big) (#2392).
Carl Hetherington [Thu, 15 Dec 2022 23:01:21 +0000 (00:01 +0100)]
Throw exceptions when setting odd values for picture active area.
Carl Hetherington [Thu, 15 Dec 2022 22:52:43 +0000 (23:52 +0100)]
Tidy up find_cpl() and add find_pkl().
Carl Hetherington [Thu, 15 Dec 2022 22:51:21 +0000 (23:51 +0100)]
Some more details when verification results fail.
Carl Hetherington [Thu, 15 Dec 2022 22:51:06 +0000 (23:51 +0100)]
Add delete_lines_after to the Editor.
Carl Hetherington [Thu, 15 Dec 2022 22:49:51 +0000 (23:49 +0100)]
Add some line spacing in the editor.
Carl Hetherington [Thu, 15 Dec 2022 21:13:30 +0000 (22:13 +0100)]
Tidy the Editor class up a little.
Carl Hetherington [Thu, 1 Dec 2022 20:47:43 +0000 (21:47 +0100)]
Add some more setters.
Carl Hetherington [Thu, 1 Dec 2022 20:47:38 +0000 (21:47 +0100)]
Add missing operator.
Carl Hetherington [Thu, 1 Dec 2022 20:47:21 +0000 (21:47 +0100)]
Add new LocalTime constructor.
Carl Hetherington [Thu, 1 Dec 2022 20:47:09 +0000 (21:47 +0100)]
Add assert to make sure we're not comparing times wrongly.
Carl Hetherington [Thu, 1 Dec 2022 20:22:44 +0000 (21:22 +0100)]
Add LocalTime::add().
Carl Hetherington [Tue, 29 Nov 2022 10:55:26 +0000 (11:55 +0100)]
Add UTCOffset class.
Carl Hetherington [Tue, 13 Dec 2022 10:17:20 +0000 (11:17 +0100)]
Missing header guard.
Carl Hetherington [Mon, 12 Dec 2022 16:33:39 +0000 (17:33 +0100)]
Add missing initialisation calls to example.
Carl Hetherington [Sun, 4 Dec 2022 23:47:35 +0000 (00:47 +0100)]
Remove old jpeg option reference in cscript.
Carl Hetherington [Sun, 4 Dec 2022 23:34:52 +0000 (00:34 +0100)]
Fix use of atleast_version which these days does nothing.
Carl Hetherington [Sun, 4 Dec 2022 23:28:54 +0000 (00:28 +0100)]
Fix reading of git tags for .pc file versioning.
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.
Carl Hetherington [Sun, 4 Dec 2022 21:57:59 +0000 (22:57 +0100)]
Remove support for building with OpenJPEG 1.x.
Carl Hetherington [Sun, 4 Dec 2022 19:30:48 +0000 (20:30 +0100)]
Fix some ambiguous shared_ptrs, seen on Arch Linux.
Carl Hetherington [Sat, 3 Dec 2022 22:20:18 +0000 (23:20 +0100)]
Filter some more potential filename contents on Windows.
Carl Hetherington [Sun, 27 Nov 2022 22:11:32 +0000 (23:11 +0100)]
Add make_kdm.cc example.
Carl Hetherington [Sun, 27 Nov 2022 21:55:01 +0000 (22:55 +0100)]
Tidy up examples/wscript.
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.
Carl Hetherington [Thu, 24 Nov 2022 08:54:03 +0000 (09:54 +0100)]
Add equality option for vertical subtitle position.
Carl Hetherington [Wed, 23 Nov 2022 23:53:22 +0000 (00:53 +0100)]
Some missing const correctness.
Carl Hetherington [Thu, 20 Oct 2022 21:55:24 +0000 (23:55 +0200)]
Add a couple of Z position tests.
Carl Hetherington [Thu, 20 Oct 2022 21:17:40 +0000 (23:17 +0200)]
Add Z position to subtitles; existing tests pass.
Carl Hetherington [Sat, 29 Oct 2022 10:11:00 +0000 (12:11 +0200)]
Cleanup: use std::make_shared.
Carl Hetherington [Wed, 5 Oct 2022 22:03:59 +0000 (00:03 +0200)]
Fix YUV->RGB for Rec. 2020.
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.
Carl Hetherington [Tue, 11 Oct 2022 20:43:43 +0000 (22:43 +0200)]
Some dcpverify output tidying.
Carl Hetherington [Tue, 11 Oct 2022 20:43:32 +0000 (22:43 +0200)]
Add a progress bar.
Carl Hetherington [Tue, 11 Oct 2022 20:38:14 +0000 (22:38 +0200)]
Cleanup: use some lambdas.
Carl Hetherington [Mon, 3 Oct 2022 22:14:24 +0000 (00:14 +0200)]
Missing bracket in error message.
Carl Hetherington [Mon, 26 Sep 2022 17:44:32 +0000 (19:44 +0200)]
Better subtitle comparisons in tests.
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).
Carl Hetherington [Mon, 19 Sep 2022 22:05:43 +0000 (00:05 +0200)]
Bump waf in asdcplib.
Carl Hetherington [Mon, 19 Sep 2022 21:57:45 +0000 (23:57 +0200)]
Bump waf here and in libcxml for Python 3.10 support.
Carl Hetherington [Tue, 6 Sep 2022 10:44:28 +0000 (12:44 +0200)]
Add a new test.
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).
Carl Hetherington [Fri, 2 Sep 2022 23:52:14 +0000 (01:52 +0200)]
Properly support ContentKind scope attribute.
Carl Hetherington [Fri, 2 Sep 2022 23:38:40 +0000 (01:38 +0200)]
Cleanup: some missing full stops.
Carl Hetherington [Fri, 2 Sep 2022 20:43:19 +0000 (22:43 +0200)]
Replace ContentKind enum with a class.
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.
Carl Hetherington [Mon, 15 Aug 2022 15:34:29 +0000 (17:34 +0200)]
Tolerate missing FullContentTitleText (DoM bug #2295).
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.
Carl Hetherington [Wed, 10 Aug 2022 20:14:07 +0000 (22:14 +0200)]
Fix undefined memory warning during tests.
Carl Hetherington [Wed, 10 Aug 2022 20:13:58 +0000 (22:13 +0200)]
Fix script for Fedora.
Carl Hetherington [Fri, 15 Jul 2022 08:57:02 +0000 (10:57 +0200)]
Fix thinko in previous commit.
Carl Hetherington [Thu, 14 Jul 2022 21:51:21 +0000 (23:51 +0200)]
Close assets on destruction even if finalize() is not called.
Carl Hetherington [Thu, 14 Jul 2022 21:50:56 +0000 (23:50 +0200)]
Allow tests to be run on Fedora.
Carl Hetherington [Thu, 14 Jul 2022 21:30:47 +0000 (23:30 +0200)]
Update comment to reflect strange aspects of subtitle alignment standards.
Carl Hetherington [Tue, 21 Jun 2022 09:45:13 +0000 (11:45 +0200)]
Add another warning to LIBDCP_DISABLE_WARNINGS
Carl Hetherington [Mon, 20 Jun 2022 11:02:43 +0000 (13:02 +0200)]
Bump asdcplib for build fix.
Carl Hetherington [Fri, 3 Jun 2022 13:11:50 +0000 (15:11 +0200)]
Make an error a little more detailed.
Carl Hetherington [Mon, 13 Jun 2022 22:33:31 +0000 (00:33 +0200)]
Bump asdcplib for some more logging.
Carl Hetherington [Sun, 5 Jun 2022 21:46:37 +0000 (23:46 +0200)]
Make size_in_pixels() more accurate.
Carl Hetherington [Sun, 8 May 2022 22:57:19 +0000 (00:57 +0200)]
Missing install of a header.
Carl Hetherington [Sun, 8 May 2022 21:47:12 +0000 (23:47 +0200)]
Extract, test and slightly adjust the piecewise LUT for inverse gamma.
Carl Hetherington [Fri, 6 May 2022 21:52:04 +0000 (23:52 +0200)]
Another missing include.
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.
Carl Hetherington [Fri, 6 May 2022 21:43:06 +0000 (23:43 +0200)]
Typo in function name.
Carl Hetherington [Thu, 5 May 2022 22:33:57 +0000 (00:33 +0200)]
Missing includes.
Carl Hetherington [Fri, 15 Apr 2022 20:41:23 +0000 (22:41 +0200)]
Tweak whitespace.
Carl Hetherington [Fri, 15 Apr 2022 20:40:52 +0000 (22:40 +0200)]
Add ::puts().
Carl Hetherington [Fri, 15 Apr 2022 20:33:43 +0000 (22:33 +0200)]
Add ::tell().
Carl Hetherington [Wed, 13 Apr 2022 22:36:24 +0000 (00:36 +0200)]
Move fix_long_path tests over from DoM.
Carl Hetherington [Wed, 13 Apr 2022 22:19:55 +0000 (00:19 +0200)]
Add accessor for use with things like fprintf().
Carl Hetherington [Wed, 13 Apr 2022 22:02:42 +0000 (00:02 +0200)]
Add move constructor.
Carl Hetherington [Wed, 13 Apr 2022 21:59:19 +0000 (23:59 +0200)]
Add header guard.
Carl Hetherington [Wed, 13 Apr 2022 21:37:19 +0000 (23:37 +0200)]
Add ::seek().
Carl Hetherington [Wed, 13 Apr 2022 21:30:26 +0000 (23:30 +0200)]
Add ::take().
Carl Hetherington [Wed, 13 Apr 2022 21:19:17 +0000 (23:19 +0200)]
Add checked_{read,write} from DoM.
Carl Hetherington [Wed, 13 Apr 2022 21:05:39 +0000 (23:05 +0200)]
Copy and use fix_long_path from DoM.
Carl Hetherington [Thu, 5 May 2022 19:25:37 +0000 (21:25 +0200)]
Remove unnecessary using
Carl Hetherington [Thu, 5 May 2022 19:02:40 +0000 (21:02 +0200)]
Use 2 LUTs for output gamma to improve accuracy (DoM #2242).
Carl Hetherington [Thu, 5 May 2022 18:56:14 +0000 (20:56 +0200)]
Allow LUTs to be created with a particular range.
Carl Hetherington [Thu, 5 May 2022 18:31:26 +0000 (20:31 +0200)]
Use std::vector for LUTs.
Carl Hetherington [Thu, 5 May 2022 13:35:51 +0000 (15:35 +0200)]
Add a new (failing) test which exposes inaccuracies in inverse gamma.
Carl Hetherington [Thu, 5 May 2022 13:35:03 +0000 (15:35 +0200)]
Tidying.
Carl Hetherington [Mon, 2 May 2022 23:13:34 +0000 (01:13 +0200)]
Write subtitle files in binary mode.
Carl Hetherington [Mon, 2 May 2022 22:37:38 +0000 (00:37 +0200)]
Missing finalize() on a writer in a test.
Carl Hetherington [Mon, 2 May 2022 20:25:21 +0000 (22:25 +0200)]
Missing DYLD_LIBRARY_PATH for macOS.
Carl Hetherington [Mon, 2 May 2022 20:06:43 +0000 (22:06 +0200)]
Fix run/tests for macOS sed.
Carl Hetherington [Mon, 2 May 2022 17:31:50 +0000 (19:31 +0200)]
C++11 tidying.
Carl Hetherington [Mon, 2 May 2022 15:49:32 +0000 (17:49 +0200)]
Make some tests repeatable across platforms.
Carl Hetherington [Wed, 20 Apr 2022 21:42:10 +0000 (23:42 +0200)]
Remove deprecation warning from cdist.
Carl Hetherington [Wed, 20 Apr 2022 19:32:52 +0000 (21:32 +0200)]
Tidying.
Carl Hetherington [Wed, 20 Apr 2022 18:50:13 +0000 (20:50 +0200)]
Fix test runner on macOS.
Carl Hetherington [Wed, 20 Apr 2022 18:49:04 +0000 (20:49 +0200)]
Allow tests to be run on Windows.
Carl Hetherington [Sun, 1 May 2022 18:48:13 +0000 (20:48 +0200)]
Bump asdcplib to a version with some better Win32 error logging.
Carl Hetherington [Sat, 30 Apr 2022 21:32:52 +0000 (23:32 +0200)]
Don't talk about suggest-override on very old GCCs.
Carl Hetherington [Sat, 30 Apr 2022 18:33:01 +0000 (20:33 +0200)]
Rename PKL::write to PKL::write_xml for consistency.
Carl Hetherington [Mon, 25 Apr 2022 22:32:29 +0000 (00:32 +0200)]
Add move constructor/operator=.
Carl Hetherington [Mon, 25 Apr 2022 22:32:21 +0000 (00:32 +0200)]
Add CPL::set().
Carl Hetherington [Mon, 25 Apr 2022 21:49:00 +0000 (23:49 +0200)]
Add AssetList to extract some boilerplate from AssetMap and PKL.