dcpomatic.git
12 months agoBump libdcp to 1.8.67.
Carl Hetherington [Thu, 20 Apr 2023 10:14:12 +0000 (12:14 +0200)]
Bump libdcp to 1.8.67.

12 months agoFix lack of email sending if there are no cinema addresses (only extra ones) (#2514).
Carl Hetherington [Thu, 20 Apr 2023 19:49:57 +0000 (21:49 +0200)]
Fix lack of email sending if there are no cinema addresses (only extra ones) (#2514).

12 months agoIn 1c73379ed8483dcf71c5ccfc459c2c22516a9aef I changed
Carl Hetherington [Wed, 19 Apr 2023 21:57:03 +0000 (23:57 +0200)]
In 1c73379ed8483dcf71c5ccfc459c2c22516a9aef I changed
FontConfig::_available_fonts to use the font ID as a key, but that's
totally wrong because the same Font object with the same ID can have
its font filename/data changed, and in that case we don't want to
use the cached font.

Here we use the actual TTF/OTF font data as the key.  We could have
just hashed the data (whether it comes from a disk file or is held
in memory) but this is slower in the case where we have the filename,
as then the file must be loaded from disk for each comparison.

This fixes #2518.

12 months agoWrap path/data in a struct.
Carl Hetherington [Wed, 19 Apr 2023 21:53:58 +0000 (23:53 +0200)]
Wrap path/data in a struct.

12 months agoAdd a comment.
Carl Hetherington [Wed, 19 Apr 2023 21:53:14 +0000 (23:53 +0200)]
Add a comment.

12 months agoFix crash if saving files during save/cancel/close (#2517).
Carl Hetherington [Tue, 18 Apr 2023 19:04:27 +0000 (21:04 +0200)]
Fix crash if saving files during save/cancel/close (#2517).

12 months agoCleanup: longer variable name.
Carl Hetherington [Tue, 18 Apr 2023 10:53:16 +0000 (12:53 +0200)]
Cleanup: longer variable name.

12 months agoSlight improvement to error when failing to save a metadata file.
Carl Hetherington [Tue, 18 Apr 2023 09:28:19 +0000 (11:28 +0200)]
Slight improvement to error when failing to save a metadata file.

12 months agoUpdate dcpomatic-test-private for some v2.17.x changes that don't affect main.
Carl Hetherington [Fri, 14 Apr 2023 21:16:28 +0000 (23:16 +0200)]
Update dcpomatic-test-private for some v2.17.x changes that don't affect main.

12 months agoDefault to 14fL luminance in the GUI.
Carl Hetherington [Wed, 12 Apr 2023 10:00:47 +0000 (12:00 +0200)]
Default to 14fL luminance in the GUI.

12 months agoGive an error if a non-number is passed to dcpomatic2_create -s (#2488).
Carl Hetherington [Mon, 10 Apr 2023 22:54:13 +0000 (00:54 +0200)]
Give an error if a non-number is passed to dcpomatic2_create -s (#2488).

12 months agoSupporters update. v2.16.53
Carl Hetherington [Tue, 11 Apr 2023 08:01:57 +0000 (10:01 +0200)]
Supporters update.

12 months agoBump ffcmp to fix ffmpeg dependency.
Carl Hetherington [Mon, 10 Apr 2023 20:47:30 +0000 (22:47 +0200)]
Bump ffcmp to fix ffmpeg dependency.

12 months agoFix subtitle font handling with in-memory fonts from SMPTE (#2509). v2.16.52
Carl Hetherington [Fri, 7 Apr 2023 23:04:37 +0000 (01:04 +0200)]
Fix subtitle font handling with in-memory fonts from SMPTE (#2509).

Previously we would fail to make a font available if it came from
a SMPTE MXF.  In that case we have a memory buffer containing the
TTF/OTF file but no file; here we add a hack/workaround so that
in-memory font files can be used by FontConfig.

12 months agoFix ffmpeg revision that was set wrong in b6deee98.
Carl Hetherington [Sun, 9 Apr 2023 08:28:04 +0000 (10:28 +0200)]
Fix ffmpeg revision that was set wrong in b6deee98.

12 months agoFix ffmpeg git repo name.
Carl Hetherington [Sun, 9 Apr 2023 08:11:05 +0000 (10:11 +0200)]
Fix ffmpeg git repo name.

12 months agoSupport loading of certificate chains for trusted devices.
Carl Hetherington [Sat, 8 Apr 2023 22:19:34 +0000 (00:19 +0200)]
Support loading of certificate chains for trusted devices.

12 months agoImprove thumbprint dialog; disallow thumbprint editing and make OK only sensitive...
Carl Hetherington [Sat, 8 Apr 2023 20:36:41 +0000 (22:36 +0200)]
Improve thumbprint dialog; disallow thumbprint editing and make OK only sensitive when a certificate is there.

12 months agoBump ffmpeg for cherry-pick to fix #2508.
Carl Hetherington [Sat, 8 Apr 2023 19:27:11 +0000 (21:27 +0200)]
Bump ffmpeg for cherry-pick to fix #2508.

12 months agoWrite MainSoundConfiguration tags with hyphens for unused channels (#2501).
Carl Hetherington [Wed, 5 Apr 2023 20:05:12 +0000 (22:05 +0200)]
Write MainSoundConfiguration tags with hyphens for unused channels (#2501).

12 months agoDon't add fonts to SMPTE closed caption MXFs (#2505).
Carl Hetherington [Wed, 5 Apr 2023 20:25:03 +0000 (22:25 +0200)]
Don't add fonts to SMPTE closed caption MXFs (#2505).

12 months agoFix scrollbars when using zoom in the timeline.
Carl Hetherington [Wed, 5 Apr 2023 20:03:02 +0000 (22:03 +0200)]
Fix scrollbars when using zoom in the timeline.

12 months agoRemove incorrect GC translation.
Carl Hetherington [Wed, 5 Apr 2023 20:02:13 +0000 (22:02 +0200)]
Remove incorrect GC translation.

This appears not to be necessary, and if present it messes up the scrollbars
so that scrolling fully right shows a big empty space at the end of the
timeline items.

12 months agoMore zh_CN translation fixes from Danbo Song.
Carl Hetherington [Tue, 4 Apr 2023 22:02:34 +0000 (00:02 +0200)]
More zh_CN translation fixes from Danbo Song.

12 months agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sat, 1 Apr 2023 22:42:09 +0000 (00:42 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.

12 months agoSupporters update. v2.16.51
Carl Hetherington [Thu, 30 Mar 2023 07:50:14 +0000 (09:50 +0200)]
Supporters update.

12 months agoUse CURLOPT_NOSIGNAL to fix crashes on update check (#2495).
Carl Hetherington [Wed, 29 Mar 2023 23:25:25 +0000 (01:25 +0200)]
Use CURLOPT_NOSIGNAL to fix crashes on update check (#2495).

Without this, it's possible to come back from curl_easy_perform
in a different thread to the one that it was called from (in the case
of an error).

As I understand it, this happens because a signal handler is called
(from a different thread) and CURLOPT_NOSIGNAL stops this from
happening.

12 months agoAdd + and - as zoom shortcuts in the timeline.
Carl Hetherington [Wed, 29 Mar 2023 23:24:41 +0000 (01:24 +0200)]
Add + and - as zoom shortcuts in the timeline.

12 months agoAdd some more test cleanups.
Carl Hetherington [Wed, 29 Mar 2023 08:10:53 +0000 (10:10 +0200)]
Add some more test cleanups.

12 months agoAdd create support for some more audio channels.
Carl Hetherington [Sat, 25 Mar 2023 23:29:44 +0000 (00:29 +0100)]
Add create support for some more audio channels.

12 months agoWrite the correct MCA subdescriptors depending on active channels.
Carl Hetherington [Tue, 21 Mar 2023 00:11:01 +0000 (01:11 +0100)]
Write the correct MCA subdescriptors depending on active channels.

12 months agoFix dependence of test on a particular j2c path.
Carl Hetherington [Sun, 19 Mar 2023 17:58:28 +0000 (18:58 +0100)]
Fix dependence of test on a particular j2c path.

12 months agoStop running ./check_sums now we're using git annex.
Carl Hetherington [Sun, 19 Mar 2023 13:45:57 +0000 (14:45 +0100)]
Stop running ./check_sums now we're using git annex.

12 months agoAlways make 16-channel MXFs.
Carl Hetherington [Thu, 16 Mar 2023 22:03:08 +0000 (23:03 +0100)]
Always make 16-channel MXFs.

12 months agoCleanup: simplify test.
Carl Hetherington [Fri, 17 Mar 2023 20:33:52 +0000 (21:33 +0100)]
Cleanup: simplify test.

13 months agoMore zh_CN translation fixes from Danbo Song.
Carl Hetherington [Tue, 28 Mar 2023 23:59:33 +0000 (01:59 +0200)]
More zh_CN translation fixes from Danbo Song.

13 months agopot/merge.
Carl Hetherington [Tue, 28 Mar 2023 23:54:05 +0000 (01:54 +0200)]
pot/merge.

13 months agoJust call it the Combiner not the DCP Combiner.
Carl Hetherington [Tue, 28 Mar 2023 23:56:41 +0000 (01:56 +0200)]
Just call it the Combiner not the DCP Combiner.

13 months agoString fix.
Carl Hetherington [Tue, 28 Mar 2023 23:54:49 +0000 (01:54 +0200)]
String fix.

13 months agoAdd missing tools to the i18n list.
Carl Hetherington [Tue, 28 Mar 2023 23:53:58 +0000 (01:53 +0200)]
Add missing tools to the i18n list.

13 months agoSome zh_CN translation fixes from Danbo Song.
Carl Hetherington [Tue, 28 Mar 2023 23:50:36 +0000 (01:50 +0200)]
Some zh_CN translation fixes from Danbo Song.

13 months agopot/merge.
Carl Hetherington [Tue, 28 Mar 2023 23:43:56 +0000 (01:43 +0200)]
pot/merge.

13 months agoFix some translator comments.
Carl Hetherington [Tue, 28 Mar 2023 23:43:45 +0000 (01:43 +0200)]
Fix some translator comments.

13 months agoFix marker to use for gettext comments; they just need TRANSLATORS: in front of them...
Carl Hetherington [Tue, 28 Mar 2023 23:43:29 +0000 (01:43 +0200)]
Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them now.

13 months agoFix strange behaviour of player export frame dialog (#2493). 2493-player-export-frame
Carl Hetherington [Mon, 27 Mar 2023 22:39:50 +0000 (00:39 +0200)]
Fix strange behaviour of player export frame dialog (#2493).

13 months agozh_CN translation fixes from Danbo Song.
Carl Hetherington [Mon, 27 Mar 2023 21:11:29 +0000 (23:11 +0200)]
zh_CN translation fixes from Danbo Song.

13 months agopot/merge.
Carl Hetherington [Mon, 27 Mar 2023 21:02:48 +0000 (23:02 +0200)]
pot/merge.

13 months agoFix markup in fr_FR translation causing missing text in disk writer (#2492). v2.16.50
Carl Hetherington [Sun, 26 Mar 2023 09:07:04 +0000 (11:07 +0200)]
Fix markup in fr_FR translation causing missing text in disk writer (#2492).

13 months agoSupporters update.
Carl Hetherington [Sat, 25 Mar 2023 20:29:28 +0000 (21:29 +0100)]
Supporters update.

13 months agoPrepare for Ubuntu 23.04.
Carl Hetherington [Fri, 24 Mar 2023 21:36:58 +0000 (22:36 +0100)]
Prepare for Ubuntu 23.04.

13 months agoCleanup: make things a little clearer. v2.16.49
Carl Hetherington [Wed, 22 Mar 2023 23:32:03 +0000 (00:32 +0100)]
Cleanup: make things a little clearer.

13 months agoFix crashes when using templates in some cases (#2491).
Carl Hetherington [Wed, 22 Mar 2023 23:29:40 +0000 (00:29 +0100)]
Fix crashes when using templates in some cases (#2491).

If a template had content with N audio channels there would be various
problems if content with <N channels was subsequently added.

13 months agoAdd AudioMapping::take_from().
Carl Hetherington [Wed, 22 Mar 2023 23:24:36 +0000 (00:24 +0100)]
Add AudioMapping::take_from().

13 months agoCleanup: don't need to store _{input,output}_channels.
Carl Hetherington [Wed, 22 Mar 2023 23:01:49 +0000 (00:01 +0100)]
Cleanup: don't need to store _{input,output}_channels.

13 months agoDon't crash immediately if there's no private data.
Carl Hetherington [Tue, 21 Mar 2023 11:24:20 +0000 (12:24 +0100)]
Don't crash immediately if there's no private data.

13 months agoBump private git sha. v2.16.48
Carl Hetherington [Tue, 21 Mar 2023 16:02:13 +0000 (17:02 +0100)]
Bump private git sha.

13 months agoAdd assert.
Carl Hetherington [Sun, 19 Mar 2023 13:52:24 +0000 (14:52 +0100)]
Add assert.

13 months agoBump private test git for use of git-annex.
Carl Hetherington [Sat, 18 Mar 2023 18:01:49 +0000 (19:01 +0100)]
Bump private test git for use of git-annex.

13 months agoAllow re-start of cancelled subtitle analysis jobs.
Carl Hetherington [Thu, 16 Mar 2023 01:03:21 +0000 (02:03 +0100)]
Allow re-start of cancelled subtitle analysis jobs.

13 months agoMake it quicker to cancel an analyse subtitle job (#2486).
Carl Hetherington [Thu, 16 Mar 2023 00:51:25 +0000 (01:51 +0100)]
Make it quicker to cancel an analyse subtitle job (#2486).

13 months agoDon't show an error when cancelling subtitle analysis.
Carl Hetherington [Thu, 16 Mar 2023 00:51:11 +0000 (01:51 +0100)]
Don't show an error when cancelling subtitle analysis.

13 months agoCleanup: move variable assignment that happens in every branch.
Carl Hetherington [Thu, 16 Mar 2023 00:48:44 +0000 (01:48 +0100)]
Cleanup: move variable assignment that happens in every branch.

13 months agoEmit the state of the job with the Finished signals.
Carl Hetherington [Thu, 16 Mar 2023 00:47:03 +0000 (01:47 +0100)]
Emit the state of the job with the Finished signals.

13 months agoFix missing xsd file in windows installer.
Carl Hetherington [Thu, 16 Mar 2023 20:10:17 +0000 (21:10 +0100)]
Fix missing xsd file in windows installer.

13 months agoUpdated zh_CN translation from Danbo Song.
Carl Hetherington [Sun, 12 Mar 2023 08:43:00 +0000 (09:43 +0100)]
Updated zh_CN translation from Danbo Song.

13 months agoUse IAB rather than ATMOS in ISDCF names (#2482).
Carl Hetherington [Sat, 11 Mar 2023 00:31:03 +0000 (01:31 +0100)]
Use IAB rather than ATMOS in ISDCF names (#2482).

13 months agoUpdate manual for new CLI options.
Carl Hetherington [Fri, 10 Mar 2023 21:19:30 +0000 (22:19 +0100)]
Update manual for new CLI options.

13 months agoCope with the fact that some of our commands output --help to stdout, some to stderr.
Carl Hetherington [Fri, 10 Mar 2023 21:19:16 +0000 (22:19 +0100)]
Cope with the fact that some of our commands output --help to stdout, some to stderr.

13 months agoOutput hints on stderr.
ancient-skyscraper [Fri, 10 Mar 2023 21:01:14 +0000 (22:01 +0100)]
Output hints on stderr.

13 months agoUpdate documentation and CLI UI with hint info
ancient-skyscraper [Thu, 9 Mar 2023 19:16:56 +0000 (14:16 -0500)]
Update documentation and CLI UI with hint info

Goal is to explain what hints are, and how the `--hints` option
changes behavior of `dcpomatic2_cli` command

13 months agoAllow dcpomatic_cli script to work from anywhere.
Carl Hetherington [Thu, 9 Mar 2023 00:19:56 +0000 (01:19 +0100)]
Allow dcpomatic_cli script to work from anywhere.

13 months agoFix missing scrollbar in the audio tab on macOS/Windows (#2480). v2.16.47
Carl Hetherington [Tue, 7 Mar 2023 01:04:37 +0000 (02:04 +0100)]
Fix missing scrollbar in the audio tab on macOS/Windows (#2480).

13 months agoCleanup: use layout() wrapper.
Carl Hetherington [Tue, 7 Mar 2023 01:04:05 +0000 (02:04 +0100)]
Cleanup: use layout() wrapper.

13 months agoRemove some 3D stuff I think is unnecessary since the changes in 2f12058c535045cecc22... v2.16.46
Carl Hetherington [Sun, 5 Mar 2023 13:07:01 +0000 (14:07 +0100)]
Remove some 3D stuff I think is unnecessary since the changes in 2f12058c535045cecc226fe47b3d60da8851a862

13 months agoFix error when padding is needed in 3D encodes (#2476).
Carl Hetherington [Sun, 5 Mar 2023 13:06:11 +0000 (14:06 +0100)]
Fix error when padding is needed in 3D encodes (#2476).

13 months agoCatch exceptions from some calls to write_metadata().
Carl Hetherington [Sun, 5 Mar 2023 10:48:46 +0000 (11:48 +0100)]
Catch exceptions from some calls to write_metadata().

13 months agoFix small DCP standard choice (#2475).
Carl Hetherington [Fri, 3 Mar 2023 22:53:14 +0000 (23:53 +0100)]
Fix small DCP standard choice (#2475).

13 months agoReplace spaces with _ in default KDM name formats, as spaces are
Carl Hetherington [Sat, 4 Mar 2023 21:33:34 +0000 (22:33 +0100)]
Replace spaces with _ in default KDM name formats, as spaces are
removed from the filename before it is used.

13 months agoBump libsub for another font color fix.
Carl Hetherington [Sat, 4 Mar 2023 21:02:24 +0000 (22:02 +0100)]
Bump libsub for another font color fix.

13 months agoAdd option to limit DCP output to the "Bv2.0 profile" (#2470). v2.16.45
Carl Hetherington [Wed, 1 Mar 2023 00:26:49 +0000 (01:26 +0100)]
Add option to limit DCP output to the "Bv2.0 profile" (#2470).

I'm far from convinced about the point/sense of all these "profiles"
(rather than just implementing or at least tolerating the standard)
but lots of people are having problems with "QC" processes failing
their DCPs with complaints related to MCASubDescriptors.  It seems to
make sense to have an option to turn them off - at least for now,
until either the "QC" situation settles down or any bugs in DCP-o-matic
are found and fixed.

13 months agoCleanup: tidy a comment.
Carl Hetherington [Wed, 1 Mar 2023 00:24:14 +0000 (01:24 +0100)]
Cleanup: tidy a comment.

13 months agoAdd Choice::add() with a client string.
Carl Hetherington [Wed, 1 Mar 2023 00:23:54 +0000 (01:23 +0100)]
Add Choice::add() with a client string.

13 months agoAdd Choice::get_data().
Carl Hetherington [Wed, 1 Mar 2023 00:23:44 +0000 (01:23 +0100)]
Add Choice::get_data().

13 months agoTidy up a little with a lambda.
Carl Hetherington [Tue, 28 Feb 2023 23:40:36 +0000 (00:40 +0100)]
Tidy up a little with a lambda.

13 months agoMove some settings to new non-standard page.
Carl Hetherington [Tue, 28 Feb 2023 20:45:23 +0000 (21:45 +0100)]
Move some settings to new non-standard page.

13 months agoAdd --hints option to dcpomatic2_cli (#2468).
Carl Hetherington [Sat, 25 Feb 2023 22:39:13 +0000 (23:39 +0100)]
Add --hints option to dcpomatic2_cli (#2468).

13 months agoAdd word_wrap().
Carl Hetherington [Sat, 25 Feb 2023 22:38:47 +0000 (23:38 +0100)]
Add word_wrap().

13 months agoAdd ansi.h and one define.
Carl Hetherington [Fri, 24 Feb 2023 00:13:22 +0000 (01:13 +0100)]
Add ansi.h and one define.

13 months agoSetup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.
Carl Hetherington [Thu, 23 Feb 2023 22:35:40 +0000 (23:35 +0100)]
Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.

13 months agoCleanup: remove unused variable.
Carl Hetherington [Thu, 23 Feb 2023 22:33:58 +0000 (23:33 +0100)]
Cleanup: remove unused variable.

13 months agoCleanup: remove capture_asdcp_logs() from header.
Carl Hetherington [Thu, 23 Feb 2023 22:26:19 +0000 (23:26 +0100)]
Cleanup: remove capture_asdcp_logs() from header.

13 months agoUn-check screens when they or their cinema are deleted.
Carl Hetherington [Fri, 3 Mar 2023 00:00:53 +0000 (01:00 +0100)]
Un-check screens when they or their cinema are deleted.

13 months agoSupporters update.
Carl Hetherington [Thu, 2 Mar 2023 22:25:18 +0000 (23:25 +0100)]
Supporters update.

13 months agoRemove duplicate include.
Carl Hetherington [Thu, 2 Mar 2023 11:13:42 +0000 (12:13 +0100)]
Remove duplicate include.

13 months agoAdd a couple of tooltips.
Carl Hetherington [Tue, 28 Feb 2023 20:24:33 +0000 (21:24 +0100)]
Add a couple of tooltips.

13 months agoStrip disallowed characters from subtitles before they get into the XML.
Carl Hetherington [Mon, 27 Feb 2023 22:20:14 +0000 (23:20 +0100)]
Strip disallowed characters from subtitles before they get into the XML.

13 months agoBump libdcp for some test fixes.
Carl Hetherington [Mon, 27 Feb 2023 14:55:33 +0000 (15:55 +0100)]
Bump libdcp for some test fixes.

13 months agoMerge branch '2389-vpos'
Carl Hetherington [Mon, 27 Feb 2023 14:00:34 +0000 (15:00 +0100)]
Merge branch '2389-vpos'

Here we are trying to fix a variety of confusions related to vertical
subtitle position (#2389).

13 months agoFix tests.
Carl Hetherington [Sun, 22 Jan 2023 19:53:07 +0000 (20:53 +0100)]
Fix tests.

13 months agoCleanup: swap a list for a vector.
Carl Hetherington [Sun, 22 Jan 2023 19:33:34 +0000 (20:33 +0100)]
Cleanup: swap a list for a vector.