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.
Carl Hetherington [Wed, 19 Apr 2023 21:53:58 +0000 (23:53 +0200)]
Wrap path/data in a struct.
Carl Hetherington [Wed, 19 Apr 2023 21:53:14 +0000 (23:53 +0200)]
Add a comment.
Carl Hetherington [Tue, 18 Apr 2023 19:04:27 +0000 (21:04 +0200)]
Fix crash if saving files during save/cancel/close (#2517).
Carl Hetherington [Tue, 18 Apr 2023 10:53:16 +0000 (12:53 +0200)]
Cleanup: longer variable name.
Carl Hetherington [Tue, 18 Apr 2023 09:28:19 +0000 (11:28 +0200)]
Slight improvement to error when failing to save a metadata file.
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.
Carl Hetherington [Wed, 12 Apr 2023 10:00:47 +0000 (12:00 +0200)]
Default to 14fL luminance in the GUI.
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).
Carl Hetherington [Tue, 11 Apr 2023 08:01:57 +0000 (10:01 +0200)]
Supporters update.
Carl Hetherington [Mon, 10 Apr 2023 20:47:30 +0000 (22:47 +0200)]
Bump ffcmp to fix ffmpeg dependency.
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.
Carl Hetherington [Sun, 9 Apr 2023 08:28:04 +0000 (10:28 +0200)]
Fix ffmpeg revision that was set wrong in
b6deee98.
Carl Hetherington [Sun, 9 Apr 2023 08:11:05 +0000 (10:11 +0200)]
Fix ffmpeg git repo name.
Carl Hetherington [Sat, 8 Apr 2023 22:19:34 +0000 (00:19 +0200)]
Support loading of certificate chains for trusted devices.
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.
Carl Hetherington [Sat, 8 Apr 2023 19:27:11 +0000 (21:27 +0200)]
Bump ffmpeg for cherry-pick to fix #2508.
Carl Hetherington [Wed, 5 Apr 2023 20:05:12 +0000 (22:05 +0200)]
Write MainSoundConfiguration tags with hyphens for unused channels (#2501).
Carl Hetherington [Wed, 5 Apr 2023 20:25:03 +0000 (22:25 +0200)]
Don't add fonts to SMPTE closed caption MXFs (#2505).
Carl Hetherington [Wed, 5 Apr 2023 20:03:02 +0000 (22:03 +0200)]
Fix scrollbars when using zoom in the timeline.
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.
Carl Hetherington [Tue, 4 Apr 2023 22:02:34 +0000 (00:02 +0200)]
More zh_CN translation fixes from Danbo Song.
Carl Hetherington [Sat, 1 Apr 2023 22:42:09 +0000 (00:42 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Thu, 30 Mar 2023 07:50:14 +0000 (09:50 +0200)]
Supporters update.
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.
Carl Hetherington [Wed, 29 Mar 2023 23:24:41 +0000 (01:24 +0200)]
Add + and - as zoom shortcuts in the timeline.
Carl Hetherington [Wed, 29 Mar 2023 08:10:53 +0000 (10:10 +0200)]
Add some more test cleanups.
Carl Hetherington [Sat, 25 Mar 2023 23:29:44 +0000 (00:29 +0100)]
Add create support for some more audio channels.
Carl Hetherington [Tue, 21 Mar 2023 00:11:01 +0000 (01:11 +0100)]
Write the correct MCA subdescriptors depending on active channels.
Carl Hetherington [Sun, 19 Mar 2023 17:58:28 +0000 (18:58 +0100)]
Fix dependence of test on a particular j2c path.
Carl Hetherington [Sun, 19 Mar 2023 13:45:57 +0000 (14:45 +0100)]
Stop running ./check_sums now we're using git annex.
Carl Hetherington [Thu, 16 Mar 2023 22:03:08 +0000 (23:03 +0100)]
Always make 16-channel MXFs.
Carl Hetherington [Fri, 17 Mar 2023 20:33:52 +0000 (21:33 +0100)]
Cleanup: simplify test.
Carl Hetherington [Tue, 28 Mar 2023 23:59:33 +0000 (01:59 +0200)]
More zh_CN translation fixes from Danbo Song.
Carl Hetherington [Tue, 28 Mar 2023 23:54:05 +0000 (01:54 +0200)]
pot/merge.
Carl Hetherington [Tue, 28 Mar 2023 23:56:41 +0000 (01:56 +0200)]
Just call it the Combiner not the DCP Combiner.
Carl Hetherington [Tue, 28 Mar 2023 23:54:49 +0000 (01:54 +0200)]
String fix.
Carl Hetherington [Tue, 28 Mar 2023 23:53:58 +0000 (01:53 +0200)]
Add missing tools to the i18n list.
Carl Hetherington [Tue, 28 Mar 2023 23:50:36 +0000 (01:50 +0200)]
Some zh_CN translation fixes from Danbo Song.
Carl Hetherington [Tue, 28 Mar 2023 23:43:56 +0000 (01:43 +0200)]
pot/merge.
Carl Hetherington [Tue, 28 Mar 2023 23:43:45 +0000 (01:43 +0200)]
Fix some translator comments.
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.
Carl Hetherington [Mon, 27 Mar 2023 22:39:50 +0000 (00:39 +0200)]
Fix strange behaviour of player export frame dialog (#2493).
Carl Hetherington [Mon, 27 Mar 2023 21:11:29 +0000 (23:11 +0200)]
zh_CN translation fixes from Danbo Song.
Carl Hetherington [Mon, 27 Mar 2023 21:02:48 +0000 (23:02 +0200)]
pot/merge.
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).
Carl Hetherington [Sat, 25 Mar 2023 20:29:28 +0000 (21:29 +0100)]
Supporters update.
Carl Hetherington [Fri, 24 Mar 2023 21:36:58 +0000 (22:36 +0100)]
Prepare for Ubuntu 23.04.
Carl Hetherington [Wed, 22 Mar 2023 23:32:03 +0000 (00:32 +0100)]
Cleanup: make things a little clearer.
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.
Carl Hetherington [Wed, 22 Mar 2023 23:24:36 +0000 (00:24 +0100)]
Add AudioMapping::take_from().
Carl Hetherington [Wed, 22 Mar 2023 23:01:49 +0000 (00:01 +0100)]
Cleanup: don't need to store _{input,output}_channels.
Carl Hetherington [Tue, 21 Mar 2023 11:24:20 +0000 (12:24 +0100)]
Don't crash immediately if there's no private data.
Carl Hetherington [Tue, 21 Mar 2023 16:02:13 +0000 (17:02 +0100)]
Bump private git sha.
Carl Hetherington [Sun, 19 Mar 2023 13:52:24 +0000 (14:52 +0100)]
Add assert.
Carl Hetherington [Sat, 18 Mar 2023 18:01:49 +0000 (19:01 +0100)]
Bump private test git for use of git-annex.
Carl Hetherington [Thu, 16 Mar 2023 01:03:21 +0000 (02:03 +0100)]
Allow re-start of cancelled subtitle analysis jobs.
Carl Hetherington [Thu, 16 Mar 2023 00:51:25 +0000 (01:51 +0100)]
Make it quicker to cancel an analyse subtitle job (#2486).
Carl Hetherington [Thu, 16 Mar 2023 00:51:11 +0000 (01:51 +0100)]
Don't show an error when cancelling subtitle analysis.
Carl Hetherington [Thu, 16 Mar 2023 00:48:44 +0000 (01:48 +0100)]
Cleanup: move variable assignment that happens in every branch.
Carl Hetherington [Thu, 16 Mar 2023 00:47:03 +0000 (01:47 +0100)]
Emit the state of the job with the Finished signals.
Carl Hetherington [Thu, 16 Mar 2023 20:10:17 +0000 (21:10 +0100)]
Fix missing xsd file in windows installer.
Carl Hetherington [Sun, 12 Mar 2023 08:43:00 +0000 (09:43 +0100)]
Updated zh_CN translation from Danbo Song.
Carl Hetherington [Sat, 11 Mar 2023 00:31:03 +0000 (01:31 +0100)]
Use IAB rather than ATMOS in ISDCF names (#2482).
Carl Hetherington [Fri, 10 Mar 2023 21:19:30 +0000 (22:19 +0100)]
Update manual for new CLI options.
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.
ancient-skyscraper [Fri, 10 Mar 2023 21:01:14 +0000 (22:01 +0100)]
Output hints on stderr.
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
Carl Hetherington [Thu, 9 Mar 2023 00:19:56 +0000 (01:19 +0100)]
Allow dcpomatic_cli script to work from anywhere.
Carl Hetherington [Tue, 7 Mar 2023 01:04:37 +0000 (02:04 +0100)]
Fix missing scrollbar in the audio tab on macOS/Windows (#2480).
Carl Hetherington [Tue, 7 Mar 2023 01:04:05 +0000 (02:04 +0100)]
Cleanup: use layout() wrapper.
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
Carl Hetherington [Sun, 5 Mar 2023 13:06:11 +0000 (14:06 +0100)]
Fix error when padding is needed in 3D encodes (#2476).
Carl Hetherington [Sun, 5 Mar 2023 10:48:46 +0000 (11:48 +0100)]
Catch exceptions from some calls to write_metadata().
Carl Hetherington [Fri, 3 Mar 2023 22:53:14 +0000 (23:53 +0100)]
Fix small DCP standard choice (#2475).
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.
Carl Hetherington [Sat, 4 Mar 2023 21:02:24 +0000 (22:02 +0100)]
Bump libsub for another font color fix.
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.
Carl Hetherington [Wed, 1 Mar 2023 00:24:14 +0000 (01:24 +0100)]
Cleanup: tidy a comment.
Carl Hetherington [Wed, 1 Mar 2023 00:23:54 +0000 (01:23 +0100)]
Add Choice::add() with a client string.
Carl Hetherington [Wed, 1 Mar 2023 00:23:44 +0000 (01:23 +0100)]
Add Choice::get_data().
Carl Hetherington [Tue, 28 Feb 2023 23:40:36 +0000 (00:40 +0100)]
Tidy up a little with a lambda.
Carl Hetherington [Tue, 28 Feb 2023 20:45:23 +0000 (21:45 +0100)]
Move some settings to new non-standard page.
Carl Hetherington [Sat, 25 Feb 2023 22:39:13 +0000 (23:39 +0100)]
Add --hints option to dcpomatic2_cli (#2468).
Carl Hetherington [Sat, 25 Feb 2023 22:38:47 +0000 (23:38 +0100)]
Add word_wrap().
Carl Hetherington [Fri, 24 Feb 2023 00:13:22 +0000 (01:13 +0100)]
Add ansi.h and one define.
Carl Hetherington [Thu, 23 Feb 2023 22:35:40 +0000 (23:35 +0100)]
Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.
Carl Hetherington [Thu, 23 Feb 2023 22:33:58 +0000 (23:33 +0100)]
Cleanup: remove unused variable.
Carl Hetherington [Thu, 23 Feb 2023 22:26:19 +0000 (23:26 +0100)]
Cleanup: remove capture_asdcp_logs() from header.
Carl Hetherington [Fri, 3 Mar 2023 00:00:53 +0000 (01:00 +0100)]
Un-check screens when they or their cinema are deleted.
Carl Hetherington [Thu, 2 Mar 2023 22:25:18 +0000 (23:25 +0100)]
Supporters update.
Carl Hetherington [Thu, 2 Mar 2023 11:13:42 +0000 (12:13 +0100)]
Remove duplicate include.
Carl Hetherington [Tue, 28 Feb 2023 20:24:33 +0000 (21:24 +0100)]
Add a couple of tooltips.
Carl Hetherington [Mon, 27 Feb 2023 22:20:14 +0000 (23:20 +0100)]
Strip disallowed characters from subtitles before they get into the XML.
Carl Hetherington [Mon, 27 Feb 2023 14:55:33 +0000 (15:55 +0100)]
Bump libdcp for some test fixes.
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).
Carl Hetherington [Sun, 22 Jan 2023 19:53:07 +0000 (20:53 +0100)]
Fix tests.
Carl Hetherington [Sun, 22 Jan 2023 19:33:34 +0000 (20:33 +0100)]
Cleanup: swap a list for a vector.
Carl Hetherington [Sat, 21 Jan 2023 22:41:23 +0000 (23:41 +0100)]
Align text subtitles from the bottom of the screen.
Carl Hetherington [Sat, 21 Jan 2023 22:18:22 +0000 (23:18 +0100)]
Show possible subtitle bounding boxes due to SMPTE standard misunderstandings.