libdcp.git
8 years agoBump version v1.2.7
Carl Hetherington [Thu, 5 Nov 2015 09:22:00 +0000 (09:22 +0000)]
Bump version

8 years agoHopefully fix file_to_string() on Windows with text files.
Carl Hetherington [Wed, 4 Nov 2015 21:25:36 +0000 (21:25 +0000)]
Hopefully fix file_to_string() on Windows with text files.

8 years agoThrow an exception if file_to_string fails.
Carl Hetherington [Wed, 4 Nov 2015 19:35:04 +0000 (19:35 +0000)]
Throw an exception if file_to_string fails.

8 years agoHack in scope attribute to Atmos KeyType tags.
Carl Hetherington [Wed, 4 Nov 2015 11:57:05 +0000 (11:57 +0000)]
Hack in scope attribute to Atmos KeyType tags.

8 years agoFix order of ContentTitleText / ContentAuthenticator to match DTD.
Carl Hetherington [Wed, 4 Nov 2015 11:51:33 +0000 (11:51 +0000)]
Fix order of ContentTitleText / ContentAuthenticator to match DTD.

8 years agoTrim openjpeg.h includes.
Carl Hetherington [Tue, 3 Nov 2015 10:30:31 +0000 (10:30 +0000)]
Trim openjpeg.h includes.

8 years agoPick up SMPTE subtitle font IDs correctly.
Carl Hetherington [Thu, 29 Oct 2015 19:33:09 +0000 (19:33 +0000)]
Pick up SMPTE subtitle font IDs correctly.

8 years agoDon't add external (referenced) assets to the PKL.
Carl Hetherington [Wed, 28 Oct 2015 10:24:44 +0000 (10:24 +0000)]
Don't add external (referenced) assets to the PKL.

8 years agoAdd tags target to wscript.
Carl Hetherington [Wed, 28 Oct 2015 10:24:23 +0000 (10:24 +0000)]
Add tags target to wscript.

8 years agoFix capitalisation in previous.
Carl Hetherington [Tue, 20 Oct 2015 00:59:13 +0000 (01:59 +0100)]
Fix capitalisation in previous.

8 years agoUse std::runtime_error instead of our own StringError as
Carl Hetherington [Mon, 19 Oct 2015 22:30:04 +0000 (23:30 +0100)]
Use std::runtime_error instead of our own StringError as
a) it does the same job and
b) its type and what() survive the boundary between the libdcp .so
and the main DCP-o-matic executable.

Before this StringError-derived exceptions caught by DCP-o-matic
were only recognised as std::exceptions (without the what()) message.

I don't know why this happens, but this works around it.

8 years agoForce specification of timecode rate when creating a Time from seconds.
Carl Hetherington [Thu, 15 Oct 2015 08:55:48 +0000 (09:55 +0100)]
Force specification of timecode rate when creating a Time from seconds.

8 years agoMissing include.
Carl Hetherington [Sat, 10 Oct 2015 09:25:26 +0000 (10:25 +0100)]
Missing include.

8 years agoBump libcxml.
Carl Hetherington [Sat, 10 Oct 2015 09:15:28 +0000 (10:15 +0100)]
Bump libcxml.

8 years agoBuild fix.
Carl Hetherington [Sat, 10 Oct 2015 09:14:42 +0000 (10:14 +0100)]
Build fix.

8 years agoRemove glibmm dependency.
Carl Hetherington [Fri, 9 Oct 2015 17:42:23 +0000 (18:42 +0100)]
Remove glibmm dependency.

8 years agoBump libcxml.
Carl Hetherington [Fri, 9 Oct 2015 17:17:26 +0000 (18:17 +0100)]
Bump libcxml.

8 years agoAllow DecryptedKDM to be built up from individual keys.
Carl Hetherington [Wed, 7 Oct 2015 23:10:01 +0000 (00:10 +0100)]
Allow DecryptedKDM to be built up from individual keys.

8 years agoGive SMPTESubtitleAsset an intrinsic duration since it is a MXF like Picture/Sound.
Carl Hetherington [Tue, 6 Oct 2015 14:14:58 +0000 (15:14 +0100)]
Give SMPTESubtitleAsset an intrinsic duration since it is a MXF like Picture/Sound.

8 years agoAdd some KDM metadata accessors.
Carl Hetherington [Tue, 6 Oct 2015 11:38:47 +0000 (12:38 +0100)]
Add some KDM metadata accessors.

8 years agoBump version
Carl Hetherington [Mon, 5 Oct 2015 09:52:45 +0000 (10:52 +0100)]
Bump version

8 years agoBump version v1.2.6
Carl Hetherington [Mon, 5 Oct 2015 09:52:45 +0000 (10:52 +0100)]
Bump version

8 years agoUse firm libcxml revision.
Carl Hetherington [Mon, 5 Oct 2015 09:52:18 +0000 (10:52 +0100)]
Use firm libcxml revision.

8 years agoBump version
Carl Hetherington [Mon, 5 Oct 2015 09:41:04 +0000 (10:41 +0100)]
Bump version

8 years agoBump version v1.2.5
Carl Hetherington [Mon, 5 Oct 2015 09:41:04 +0000 (10:41 +0100)]
Bump version

8 years agoBump libcxml.
Carl Hetherington [Mon, 5 Oct 2015 09:39:58 +0000 (10:39 +0100)]
Bump libcxml.

8 years agoAdd set_{in,out}.
Carl Hetherington [Sun, 4 Oct 2015 21:51:43 +0000 (22:51 +0100)]
Add set_{in,out}.

8 years agoTweaks for Debian unstable.
Carl Hetherington [Thu, 1 Oct 2015 12:00:48 +0000 (13:00 +0100)]
Tweaks for Debian unstable.

8 years agoBump libcxml.
Carl Hetherington [Thu, 1 Oct 2015 11:59:13 +0000 (12:59 +0100)]
Bump libcxml.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Mon, 28 Sep 2015 11:14:33 +0000 (12:14 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoRound down when rebasing times.
Carl Hetherington [Mon, 28 Sep 2015 11:13:38 +0000 (12:13 +0100)]
Round down when rebasing times.

8 years agoAdd frames_written().
Carl Hetherington [Mon, 28 Sep 2015 11:13:15 +0000 (12:13 +0100)]
Add frames_written().

8 years agoBump libcxml.
Carl Hetherington [Fri, 25 Sep 2015 18:28:57 +0000 (19:28 +0100)]
Bump libcxml.

8 years agoBump libcxml for build fix.
Carl Hetherington [Fri, 25 Sep 2015 16:45:35 +0000 (17:45 +0100)]
Bump libcxml for build fix.

8 years agoConsider assets outside the DCP as referenced assets (i.e. 1.0-vf
Carl Hetherington [Tue, 15 Sep 2015 23:51:07 +0000 (00:51 +0100)]
Consider assets outside the DCP as referenced assets (i.e.
not to be written to the asset map).  Return a value from
finalize() to say whether a writer has written anything.
Other small related tweaks.

8 years agoMove _started from PictureAssetWriter into AssetWriter
Carl Hetherington [Tue, 15 Sep 2015 21:14:04 +0000 (22:14 +0100)]
Move _started from PictureAssetWriter into AssetWriter
and don't start the SoundAssetWriter until the first
thing is written to it.

8 years agoFix comment.
Carl Hetherington [Tue, 15 Sep 2015 18:52:46 +0000 (19:52 +0100)]
Fix comment.

8 years agoReturn an empty string rather than assert()ing if a name part is not found.
Carl Hetherington [Tue, 15 Sep 2015 18:38:21 +0000 (19:38 +0100)]
Return an empty string rather than assert()ing if a name part is not found.

8 years agoBump version
Carl Hetherington [Sun, 13 Sep 2015 22:42:23 +0000 (23:42 +0100)]
Bump version

8 years agoBump version v1.2.4
Carl Hetherington [Sun, 13 Sep 2015 22:42:23 +0000 (23:42 +0100)]
Bump version

8 years agoRemove erroneous local time from generated ContentVersionId.
Carl Hetherington [Sat, 12 Sep 2015 14:14:15 +0000 (15:14 +0100)]
Remove erroneous local time from generated ContentVersionId.

8 years agoA number of SMPTE subtitle syntax fixes.
Carl Hetherington [Sat, 12 Sep 2015 13:36:52 +0000 (14:36 +0100)]
A number of SMPTE subtitle syntax fixes.

8 years agoAdd set_start_time.
Carl Hetherington [Sat, 12 Sep 2015 13:36:38 +0000 (14:36 +0100)]
Add set_start_time.

8 years agoMissing urn:uuid:
Carl Hetherington [Sat, 12 Sep 2015 13:04:37 +0000 (14:04 +0100)]
Missing urn:uuid:

8 years agoAdd set_reel_number method.
Carl Hetherington [Sat, 12 Sep 2015 13:04:26 +0000 (14:04 +0100)]
Add set_reel_number method.

8 years agoWhite space.
Carl Hetherington [Sat, 12 Sep 2015 12:48:01 +0000 (13:48 +0100)]
White space.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 11 Sep 2015 19:14:27 +0000 (20:14 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoDeviceListDescription is optional.
Carl Hetherington [Fri, 11 Sep 2015 19:14:20 +0000 (20:14 +0100)]
DeviceListDescription is optional.

8 years agoSlightly better error message.
Carl Hetherington [Thu, 10 Sep 2015 08:52:53 +0000 (09:52 +0100)]
Slightly better error message.

8 years agoPrevent theoretical possibility of an uninitialised variable.
Carl Hetherington [Wed, 2 Sep 2015 08:59:33 +0000 (09:59 +0100)]
Prevent theoretical possibility of an uninitialised variable.

8 years agoBump version
Carl Hetherington [Mon, 31 Aug 2015 21:41:18 +0000 (22:41 +0100)]
Bump version

8 years agoBump version v1.2.3
Carl Hetherington [Mon, 31 Aug 2015 21:41:18 +0000 (22:41 +0100)]
Bump version

8 years agoFix libcxml release tag.
Carl Hetherington [Mon, 31 Aug 2015 21:40:29 +0000 (22:40 +0100)]
Fix libcxml release tag.

8 years agoBump version
Carl Hetherington [Mon, 31 Aug 2015 21:16:35 +0000 (22:16 +0100)]
Bump version

8 years agoBump version v1.2.2
Carl Hetherington [Mon, 31 Aug 2015 21:16:35 +0000 (22:16 +0100)]
Bump version

8 years agoUse a release version for libcxml.
Carl Hetherington [Mon, 31 Aug 2015 21:14:48 +0000 (22:14 +0100)]
Use a release version for libcxml.

8 years agoBump version
Carl Hetherington [Mon, 31 Aug 2015 20:39:49 +0000 (21:39 +0100)]
Bump version

8 years agoBump version v1.2.1
Carl Hetherington [Mon, 31 Aug 2015 20:39:49 +0000 (21:39 +0100)]
Bump version

8 years agoBetter error if a test file is missing.
Carl Hetherington [Fri, 28 Aug 2015 12:33:29 +0000 (13:33 +0100)]
Better error if a test file is missing.

8 years agoFix copy and paste error in previous commit.
Carl Hetherington [Fri, 28 Aug 2015 12:29:18 +0000 (13:29 +0100)]
Fix copy and paste error in previous commit.

8 years agoFairly significant optimisation of RGB -> XYZ conversions.
Carl Hetherington [Thu, 27 Aug 2015 09:25:12 +0000 (10:25 +0100)]
Fairly significant optimisation of RGB -> XYZ conversions.

8 years agoFix corruption of font files on Windows.
Carl Hetherington [Tue, 18 Aug 2015 12:32:03 +0000 (13:32 +0100)]
Fix corruption of font files on Windows.

8 years agoFix previous.
Carl Hetherington [Tue, 18 Aug 2015 12:12:42 +0000 (13:12 +0100)]
Fix previous.

8 years agoDon't allow backslashes into the ASSETMAP on Windows.
Carl Hetherington [Tue, 18 Aug 2015 11:52:54 +0000 (12:52 +0100)]
Don't allow backslashes into the ASSETMAP on Windows.

8 years agoMerge Signer into CertificateChain.
Carl Hetherington [Thu, 30 Jul 2015 01:10:09 +0000 (02:10 +0100)]
Merge Signer into CertificateChain.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Wed, 29 Jul 2015 23:58:54 +0000 (00:58 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoRename certificates.{cc,h} -> certificate.{cc,h}.
Carl Hetherington [Wed, 29 Jul 2015 23:48:43 +0000 (00:48 +0100)]
Rename certificates.{cc,h} -> certificate.{cc,h}.

8 years agoBump version
Carl Hetherington [Tue, 28 Jul 2015 15:04:15 +0000 (16:04 +0100)]
Bump version

8 years agoBump version v1.2.0
Carl Hetherington [Tue, 28 Jul 2015 15:04:15 +0000 (16:04 +0100)]
Bump version

8 years agoRound up in Time::as_editable_units.
Carl Hetherington [Mon, 20 Jul 2015 20:48:40 +0000 (21:48 +0100)]
Round up in Time::as_editable_units.

8 years agoFix font id confusion.
Carl Hetherington [Mon, 20 Jul 2015 20:48:27 +0000 (21:48 +0100)]
Fix font id confusion.

8 years agoAdd urn:uuid: to LoadFont nodes in SMPTE subs.
Carl Hetherington [Mon, 20 Jul 2015 20:30:36 +0000 (21:30 +0100)]
Add urn:uuid: to LoadFont nodes in SMPTE subs.

8 years agoMove CertificateChain into the right header.
Carl Hetherington [Sun, 12 Jul 2015 19:54:06 +0000 (20:54 +0100)]
Move CertificateChain into the right header.

8 years agoRename a couple of Certificate methods and add accessors for organization and organiz...
Carl Hetherington [Sun, 12 Jul 2015 19:40:32 +0000 (20:40 +0100)]
Rename a couple of Certificate methods and add accessors for organization and organizational unit name.

8 years agoAdd another test.
Carl Hetherington [Mon, 6 Jul 2015 23:35:02 +0000 (00:35 +0100)]
Add another test.

8 years agoTweak reference data path.
Carl Hetherington [Mon, 6 Jul 2015 21:59:16 +0000 (22:59 +0100)]
Tweak reference data path.

8 years agoMore tests.
Carl Hetherington [Mon, 6 Jul 2015 20:55:28 +0000 (21:55 +0100)]
More tests.

8 years agoAdd very simple test of dcp::SoundFrame.
Carl Hetherington [Mon, 6 Jul 2015 20:21:35 +0000 (21:21 +0100)]
Add very simple test of dcp::SoundFrame.

8 years agoTry to fix compile failure on Arch.
Carl Hetherington [Mon, 6 Jul 2015 13:14:41 +0000 (14:14 +0100)]
Try to fix compile failure on Arch.

8 years agoExtend SubtitleAsset::subtitles_during to allow asking for subtitles either starting...
Carl Hetherington [Sun, 5 Jul 2015 23:28:09 +0000 (00:28 +0100)]
Extend SubtitleAsset::subtitles_during to allow asking for subtitles either starting during a particular timescale or overllapping it.

8 years agoAdd coverage fix that I think is right but it's odd it wasn't needed before.
Carl Hetherington [Sun, 5 Jul 2015 22:03:51 +0000 (23:03 +0100)]
Add coverage fix that I think is right but it's odd it wasn't needed before.

8 years agoRestore ability to read SMPTE subs from XML files.
Carl Hetherington [Sun, 5 Jul 2015 19:38:32 +0000 (20:38 +0100)]
Restore ability to read SMPTE subs from XML files.

8 years agoAdd a new test.
Carl Hetherington [Sun, 5 Jul 2015 18:25:41 +0000 (19:25 +0100)]
Add a new test.

8 years agoRun all tests before establishing coverage.
Carl Hetherington [Sun, 5 Jul 2015 18:11:28 +0000 (19:11 +0100)]
Run all tests before establishing coverage.

8 years agoAdd test for Bradford matrix calculation.
Carl Hetherington [Sun, 5 Jul 2015 18:04:37 +0000 (19:04 +0100)]
Add test for Bradford matrix calculation.

8 years agoWrite very small VPosition values as 0.
Carl Hetherington [Fri, 3 Jul 2015 16:56:24 +0000 (17:56 +0100)]
Write very small VPosition values as 0.

8 years agoWhitespace.
Carl Hetherington [Fri, 3 Jul 2015 16:25:43 +0000 (17:25 +0100)]
Whitespace.

8 years agoA few bits of documentation.
Carl Hetherington [Fri, 3 Jul 2015 16:12:12 +0000 (17:12 +0100)]
A few bits of documentation.

8 years agoFix tests to match reality.
Carl Hetherington [Tue, 30 Jun 2015 08:25:28 +0000 (09:25 +0100)]
Fix tests to match reality.

8 years agoReturn to DCP-o-matic v1's gamma correction for Rec 601/709.
Carl Hetherington [Mon, 29 Jun 2015 22:40:29 +0000 (23:40 +0100)]
Return to DCP-o-matic v1's gamma correction for Rec 601/709.

Dennis points out that `there definitely *is* no right answer for
BT.709 gamma' and `your formula [the DCP-o-matic v2 gamma function
before this commmit] is what I'm calling the inverse of the BT.709
camera transfer function.  The EBU would not have bothered to write:
"Therefore the monitor gamma is not, and never has been, the inverse
of the camera gamma." if no-one ever thought of using it'.

At least the 2.2 gamma of v1 should not surprise anybody.

8 years agoMerge.
Carl Hetherington [Wed, 24 Jun 2015 21:23:41 +0000 (22:23 +0100)]
Merge.

8 years agoThinko in previous.
Carl Hetherington [Wed, 24 Jun 2015 15:56:22 +0000 (16:56 +0100)]
Thinko in previous.

8 years agoFix various SNAFUs with Font ID handling.
Carl Hetherington [Wed, 24 Jun 2015 14:05:19 +0000 (15:05 +0100)]
Fix various SNAFUs with Font ID handling.

8 years agoGive Data a loading constructor.
Carl Hetherington [Wed, 24 Jun 2015 13:14:02 +0000 (14:14 +0100)]
Give Data a loading constructor.

8 years agoNo-op: whitespace.
Carl Hetherington [Wed, 24 Jun 2015 13:13:37 +0000 (14:13 +0100)]
No-op: whitespace.

8 years agoNo-op: whitespace.
Carl Hetherington [Wed, 24 Jun 2015 00:06:04 +0000 (01:06 +0100)]
No-op: whitespace.

8 years agoNo-op; whitespace and a comment typo.
Carl Hetherington [Wed, 24 Jun 2015 00:04:32 +0000 (01:04 +0100)]
No-op; whitespace and a comment typo.

8 years agoFix several missing binary specifiers to fopen.
Carl Hetherington [Thu, 18 Jun 2015 18:50:19 +0000 (19:50 +0100)]
Fix several missing binary specifiers to fopen.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Tue, 16 Jun 2015 18:12:13 +0000 (19:12 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoFix a warning.
Carl Hetherington [Tue, 16 Jun 2015 18:12:06 +0000 (19:12 +0100)]
Fix a warning.