dcpomatic.git
22 months agoTidying.
Carl Hetherington [Thu, 2 Jun 2022 23:31:27 +0000 (01:31 +0200)]
Tidying.

22 months agoAsk fontconfig to scan the system for fonts requested by text subtitle files (#2264).
Carl Hetherington [Thu, 2 Jun 2022 10:20:41 +0000 (12:20 +0200)]
Ask fontconfig to scan the system for fonts requested by text subtitle files (#2264).

22 months agoRearrange subtitle font management.
Carl Hetherington [Wed, 1 Jun 2022 11:03:38 +0000 (13:03 +0200)]
Rearrange subtitle font management.

With this change each subtitle coming out of the player has a reference
to a dcpomatic::Font that belongs to the TextContent.  This hopefully
solves a few problems which all basically stemmed from the fact that
previously the decoders/player were deciding what the font ID in the
output DCP would be - they can't do that properly.

22 months agoMove fontconfig-related code out to a class.
Carl Hetherington [Thu, 2 Jun 2022 10:52:59 +0000 (12:52 +0200)]
Move fontconfig-related code out to a class.

22 months agoIn-line a call to emit_plain_start() so it's less confusing.
Carl Hetherington [Wed, 1 Jun 2022 10:32:10 +0000 (12:32 +0200)]
In-line a call to emit_plain_start() so it's less confusing.

22 months agoRename some variables.
Carl Hetherington [Wed, 1 Jun 2022 10:31:02 +0000 (12:31 +0200)]
Rename some variables.

22 months agoExtract method to set forced appearance.
Carl Hetherington [Wed, 1 Jun 2022 10:26:15 +0000 (12:26 +0200)]
Extract method to set forced appearance.

22 months agoExtract method to escape text.
Carl Hetherington [Wed, 1 Jun 2022 10:23:21 +0000 (12:23 +0200)]
Extract method to escape text.

22 months agoFix the header guard and tidy up.
Carl Hetherington [Wed, 1 Jun 2022 10:11:34 +0000 (12:11 +0200)]
Fix the header guard and tidy up.

22 months agoRearrange some includes of dcpomatic_time.h
Carl Hetherington [Wed, 1 Jun 2022 09:05:53 +0000 (11:05 +0200)]
Rearrange some includes of dcpomatic_time.h

22 months agoTidying.
Carl Hetherington [Wed, 1 Jun 2022 09:02:09 +0000 (11:02 +0200)]
Tidying.

22 months agoAdd a comment.
Carl Hetherington [Tue, 31 May 2022 20:11:20 +0000 (22:11 +0200)]
Add a comment.

22 months agoLengthen some very short variable names.
Carl Hetherington [Tue, 31 May 2022 19:17:55 +0000 (21:17 +0200)]
Lengthen some very short variable names.

22 months agoSwitch some list -> vector for consistency.
Carl Hetherington [Tue, 31 May 2022 19:02:42 +0000 (21:02 +0200)]
Switch some list -> vector for consistency.

22 months agoC++11 tidying.
Carl Hetherington [Tue, 31 May 2022 13:55:20 +0000 (15:55 +0200)]
C++11 tidying.

22 months agoFix incorrect extension on interop subtitle files (#2270).
Carl Hetherington [Tue, 7 Jun 2022 10:36:40 +0000 (12:36 +0200)]
Fix incorrect extension on interop subtitle files (#2270).

22 months agoPreserve export video settings in the config (#2259).
Carl Hetherington [Fri, 3 Jun 2022 22:26:56 +0000 (00:26 +0200)]
Preserve export video settings in the config (#2259).

22 months agoC++11 tidying.
Carl Hetherington [Sun, 5 Jun 2022 19:09:58 +0000 (21:09 +0200)]
C++11 tidying.

22 months agoRemove unused H246_PCM export code.
Carl Hetherington [Sun, 5 Jun 2022 19:09:55 +0000 (21:09 +0200)]
Remove unused H246_PCM export code.

22 months agoMake jump-to-first-subtitle also work with DCP subs.
Carl Hetherington [Mon, 6 Jun 2022 19:00:50 +0000 (21:00 +0200)]
Make jump-to-first-subtitle also work with DCP subs.

22 months agoImprove accuracy of subtitle font sizing.
Carl Hetherington [Sun, 5 Jun 2022 21:51:55 +0000 (23:51 +0200)]
Improve accuracy of subtitle font sizing.

22 months agoMake subtitle asset filename obey custom settings (#2260).
Carl Hetherington [Fri, 3 Jun 2022 18:07:57 +0000 (20:07 +0200)]
Make subtitle asset filename obey custom settings (#2260).

22 months agoTidy up some duplicated code.
Carl Hetherington [Fri, 3 Jun 2022 17:56:40 +0000 (19:56 +0200)]
Tidy up some duplicated code.

22 months agoAllow sending KDMs to more emails (#2244).
Carl Hetherington [Thu, 5 May 2022 22:55:18 +0000 (00:55 +0200)]
Allow sending KDMs to more emails (#2244).

22 months agoImprove some short variable names.
Carl Hetherington [Fri, 3 Jun 2022 20:15:28 +0000 (22:15 +0200)]
Improve some short variable names.

23 months agoRemove out-of-date comment.
Carl Hetherington [Sat, 28 May 2022 15:44:56 +0000 (17:44 +0200)]
Remove out-of-date comment.

23 months agoFix race between the Butler thread starting and audio (perhaps) being disabled.
Carl Hetherington [Thu, 26 May 2022 18:04:33 +0000 (20:04 +0200)]
Fix race between the Butler thread starting and audio (perhaps) being disabled.

This could cause Butler::audio to be called with _audio_channels = 0
and _disable_audio = false, causing an exception in AudioBuffers when
remap() tried to make an AudioBuffers object with a channel count of 0.

23 months agoHide audio sample rate option in DCP panel unless the advanced option is enabled.
Carl Hetherington [Thu, 26 May 2022 07:53:55 +0000 (09:53 +0200)]
Hide audio sample rate option in DCP panel unless the advanced option is enabled.

23 months agoCleanup: use some more make_shared.
Carl Hetherington [Thu, 26 May 2022 07:46:21 +0000 (09:46 +0200)]
Cleanup: use some more make_shared.

23 months agoLower the level of some log messages.
Carl Hetherington [Thu, 26 May 2022 07:40:57 +0000 (09:40 +0200)]
Lower the level of some log messages.

23 months agoCleanup: remove unused constructor.
Carl Hetherington [Thu, 26 May 2022 07:40:33 +0000 (09:40 +0200)]
Cleanup: remove unused constructor.

23 months agoSupporters update. v2.16.13
Carl Hetherington [Wed, 25 May 2022 20:05:28 +0000 (22:05 +0200)]
Supporters update.

23 months agoFix Ubuntu 22.04 dependencies.
Carl Hetherington [Wed, 25 May 2022 19:03:42 +0000 (21:03 +0200)]
Fix Ubuntu 22.04 dependencies.

23 months agoFix silly mistake adding an extra make_dcp().
Carl Hetherington [Mon, 23 May 2022 14:55:20 +0000 (16:55 +0200)]
Fix silly mistake adding an extra make_dcp().

23 months agoAdd another DYLD path for running locally. v2.16.12
Carl Hetherington [Sun, 22 May 2022 19:30:43 +0000 (21:30 +0200)]
Add another DYLD path for running locally.

23 months agoOpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE).
Carl Hetherington [Sun, 22 May 2022 19:28:58 +0000 (21:28 +0200)]
OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE).

23 months agoCleanup: use an enum rather than a magic value.
Carl Hetherington [Sun, 22 May 2022 19:28:23 +0000 (21:28 +0200)]
Cleanup: use an enum rather than a magic value.

23 months agoAdd another directory to the copy_resources.sh script.
Carl Hetherington [Sun, 22 May 2022 19:28:14 +0000 (21:28 +0200)]
Add another directory to the copy_resources.sh script.

23 months agoFix error when loading encrypted DCPs (#2257).
Carl Hetherington [Sat, 21 May 2022 20:16:55 +0000 (22:16 +0200)]
Fix error when loading encrypted DCPs (#2257).

In d1b4dbb793e2850d032ce3c91f0c91d045ae19dc I changed have_video()
to look at can_be_played() but forgot to also change have_audio().

23 months agoLayout alignment tweaks.
Carl Hetherington [Sat, 14 May 2022 21:44:45 +0000 (23:44 +0200)]
Layout alignment tweaks.

23 months agoStore audio fades in template (#2254).
Carl Hetherington [Fri, 13 May 2022 22:05:33 +0000 (00:05 +0200)]
Store audio fades in template (#2254).

23 months agoSupport auto-crop for YUV422P10LE.
Carl Hetherington [Fri, 13 May 2022 11:56:11 +0000 (13:56 +0200)]
Support auto-crop for YUV422P10LE.

23 months agoGive a better error when guess_crop can't cope with a pixel format.
Carl Hetherington [Fri, 13 May 2022 11:39:52 +0000 (13:39 +0200)]
Give a better error when guess_crop can't cope with a pixel format.

23 months agoFix build on Debian 9.
Carl Hetherington [Thu, 12 May 2022 20:34:05 +0000 (22:34 +0200)]
Fix build on Debian 9.

23 months agoBump to release versions. v2.16.11
Carl Hetherington [Thu, 12 May 2022 06:21:55 +0000 (08:21 +0200)]
Bump to release versions.

23 months agoSupporters update.
Carl Hetherington [Wed, 11 May 2022 22:07:41 +0000 (00:07 +0200)]
Supporters update.

23 months agoMissing <b> tag in sv_SE translation (#2243).
Carl Hetherington [Wed, 11 May 2022 19:41:49 +0000 (21:41 +0200)]
Missing <b> tag in sv_SE translation (#2243).

23 months agoFix warning introduced a couple of commits ago.
Carl Hetherington [Wed, 11 May 2022 19:12:28 +0000 (21:12 +0200)]
Fix warning introduced a couple of commits ago.

23 months agoUpdated pl_PL translation from Michał Tomaszewski.
Carl Hetherington [Wed, 11 May 2022 19:06:29 +0000 (21:06 +0200)]
Updated pl_PL translation from Michał Tomaszewski.

23 months agoFix typo in string (thanks Michał Tomaszewski)
Carl Hetherington [Wed, 11 May 2022 18:56:08 +0000 (20:56 +0200)]
Fix typo in string (thanks Michał Tomaszewski)

23 months agoTidy up careful_string_filter and add some extra transliterations.
Carl Hetherington [Wed, 11 May 2022 18:28:56 +0000 (20:28 +0200)]
Tidy up careful_string_filter and add some extra transliterations.

ł seems to be ignored by the ICU transliterator for some reason.

23 months agoUse GetCommandLineW() to get a UTF16-encoded command line on Windows (#2248).
Carl Hetherington [Mon, 9 May 2022 14:37:27 +0000 (16:37 +0200)]
Use GetCommandLineW() to get a UTF16-encoded command line on Windows (#2248).

23 months agoMove some common methods out to cross_unix.cc
Carl Hetherington [Tue, 10 May 2022 14:05:51 +0000 (16:05 +0200)]
Move some common methods out to cross_unix.cc

23 months agoFix ignore_video checker for separate-3D content (#2246).
Carl Hetherington [Mon, 9 May 2022 23:16:44 +0000 (01:16 +0200)]
Fix ignore_video checker for separate-3D content (#2246).

23 months agoPossibly improve shuffler behaviour (use one for all content if any 3D is present).
Carl Hetherington [Mon, 9 May 2022 23:16:33 +0000 (01:16 +0200)]
Possibly improve shuffler behaviour (use one for all content if any 3D is present).

23 months agoAccept invalid picture frame size errors in high bitrate checks.
Carl Hetherington [Mon, 9 May 2022 12:52:22 +0000 (14:52 +0200)]
Accept invalid picture frame size errors in high bitrate checks.

23 months agoMissing include.
Carl Hetherington [Mon, 9 May 2022 12:52:06 +0000 (14:52 +0200)]
Missing include.

23 months agoBump libdcp for build fix.
Carl Hetherington [Sun, 8 May 2022 22:58:08 +0000 (00:58 +0200)]
Bump libdcp for build fix.

23 months agoBump libdcp for inverse gamma LUT improvements.
Carl Hetherington [Sun, 8 May 2022 22:41:59 +0000 (00:41 +0200)]
Bump libdcp for inverse gamma LUT improvements.

23 months agoAdd new screen to the right place just after adding a new cinema (#2249).
Carl Hetherington [Sun, 8 May 2022 21:34:33 +0000 (23:34 +0200)]
Add new screen to the right place just after adding a new cinema (#2249).

23 months agoSpeed up content selection when we have audio analysis files (#2247).
Carl Hetherington [Sun, 8 May 2022 21:24:51 +0000 (23:24 +0200)]
Speed up content selection when we have audio analysis files (#2247).

23 months agoUpdated zh_CN translation
Dian Li [Fri, 6 May 2022 12:24:11 +0000 (20:24 +0800)]
Updated zh_CN translation

23 months agoC++11 tidying.
Carl Hetherington [Fri, 6 May 2022 07:56:47 +0000 (09:56 +0200)]
C++11 tidying.

23 months agoBump libdcp for build fix.
Carl Hetherington [Thu, 5 May 2022 22:34:38 +0000 (00:34 +0200)]
Bump libdcp for build fix.

23 months agoMissing include.
Carl Hetherington [Thu, 5 May 2022 22:31:01 +0000 (00:31 +0200)]
Missing include.

23 months agoFix truncated email addresses in cinema email address.
Carl Hetherington [Thu, 5 May 2022 22:03:18 +0000 (00:03 +0200)]
Fix truncated email addresses in cinema email address.

23 months agoFix missing buttons in cinema email list.
Carl Hetherington [Thu, 5 May 2022 22:03:06 +0000 (00:03 +0200)]
Fix missing buttons in cinema email list.

23 months agoBump libsub for asdcplib update.
Carl Hetherington [Thu, 5 May 2022 21:47:37 +0000 (23:47 +0200)]
Bump libsub for asdcplib update.

23 months agoAdd some tests for ScopedTemporary.
Carl Hetherington [Sat, 16 Apr 2022 20:33:35 +0000 (22:33 +0200)]
Add some tests for ScopedTemporary.

23 months agoUse dcp::File in DCP-o-matic (#2231).
Carl Hetherington [Sat, 16 Apr 2022 20:20:54 +0000 (22:20 +0200)]
Use dcp::File in DCP-o-matic (#2231).

23 months agoFix previous.
Carl Hetherington [Thu, 5 May 2022 21:07:36 +0000 (23:07 +0200)]
Fix previous.

23 months agoUpdate for change to libdcp API.
Carl Hetherington [Thu, 5 May 2022 21:06:05 +0000 (23:06 +0200)]
Update for change to libdcp API.

23 months agoAdd preference for default KDM duration (#2224).
Carl Hetherington [Mon, 2 May 2022 22:37:04 +0000 (00:37 +0200)]
Add preference for default KDM duration (#2224).

23 months agoFix colour of preview when there is no film loaded.
Carl Hetherington [Mon, 2 May 2022 21:13:55 +0000 (23:13 +0200)]
Fix colour of preview when there is no film loaded.

23 months agoRemove a specific path dependency from a test.
Carl Hetherington [Mon, 2 May 2022 07:40:20 +0000 (09:40 +0200)]
Remove a specific path dependency from a test.

23 months agoAdd find_file from libdcp.
Carl Hetherington [Mon, 2 May 2022 07:40:03 +0000 (09:40 +0200)]
Add find_file from libdcp.

23 months agoIt doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder. v2.16.x-old
Carl Hetherington [Tue, 9 Nov 2021 21:24:18 +0000 (22:24 +0100)]
It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.

23 months agoExtract and improve code to find missing files (#1940).
Carl Hetherington [Sat, 25 Dec 2021 01:05:54 +0000 (02:05 +0100)]
Extract and improve code to find missing files (#1940).

23 months agoC++11 / sorting cleanups.
Carl Hetherington [Sat, 25 Dec 2021 00:44:55 +0000 (01:44 +0100)]
C++11 / sorting cleanups.

23 months agoExtract simple_digest().
Carl Hetherington [Thu, 23 Dec 2021 22:33:56 +0000 (23:33 +0100)]
Extract simple_digest().

23 months agoReplace some raw arrays with std::vectors.
Carl Hetherington [Mon, 11 Oct 2021 17:55:06 +0000 (19:55 +0200)]
Replace some raw arrays with std::vectors.

23 months agoAdd more filenames to content properties (#2120).
Carl Hetherington [Sat, 18 Dec 2021 11:05:40 +0000 (12:05 +0100)]
Add more filenames to content properties (#2120).

23 months agoAdd CPL_FILENAME variable for cover sheets (#2107).
Carl Hetherington [Mon, 1 Nov 2021 14:09:56 +0000 (15:09 +0100)]
Add CPL_FILENAME variable for cover sheets (#2107).

23 months agoC++11 tidying.
Carl Hetherington [Sun, 1 May 2022 22:06:05 +0000 (00:06 +0200)]
C++11 tidying.

2 years agoMake sure that crop preview rectangle is properly hidden when we close the auto crop...
Carl Hetherington [Sun, 1 May 2022 17:35:26 +0000 (19:35 +0200)]
Make sure that crop preview rectangle is properly hidden when we close the auto crop dialog.

2 years agoFix the alignment of the current position in the playback controls.
Carl Hetherington [Sun, 1 May 2022 17:32:14 +0000 (19:32 +0200)]
Fix the alignment of the current position in the playback controls.

2 years agoMore Centos 7 fixes. v2.16.10
Carl Hetherington [Sat, 30 Apr 2022 21:53:39 +0000 (23:53 +0200)]
More Centos 7 fixes.

2 years agoFix build on Centos 7.
Carl Hetherington [Sat, 30 Apr 2022 21:10:49 +0000 (23:10 +0200)]
Fix build on Centos 7.

2 years agoRemove unused variable.
Carl Hetherington [Sat, 30 Apr 2022 21:10:00 +0000 (23:10 +0200)]
Remove unused variable.

2 years agoWe don't have python f-strings everywhere.
Carl Hetherington [Sat, 30 Apr 2022 20:15:17 +0000 (22:15 +0200)]
We don't have python f-strings everywhere.

2 years agoBump libdcp/libsub back to release versions.
Carl Hetherington [Sat, 30 Apr 2022 19:22:47 +0000 (21:22 +0200)]
Bump libdcp/libsub back to release versions.

2 years agoAdd editor to a few more missing places.
Carl Hetherington [Sat, 30 Apr 2022 19:21:27 +0000 (21:21 +0200)]
Add editor to a few more missing places.

2 years agoAnother macOS build fix.
Carl Hetherington [Sat, 30 Apr 2022 08:03:07 +0000 (10:03 +0200)]
Another macOS build fix.

2 years agoFix macOS build.
Carl Hetherington [Sat, 30 Apr 2022 07:35:38 +0000 (09:35 +0200)]
Fix macOS build.

2 years agoAdd a simple DCP editor.
Carl Hetherington [Fri, 22 Apr 2022 23:59:10 +0000 (01:59 +0200)]
Add a simple DCP editor.

2 years agoUse explicit parameters to the EditableList constructor, and allow
Carl Hetherington [Thu, 28 Apr 2022 20:16:31 +0000 (22:16 +0200)]
Use explicit parameters to the EditableList constructor, and allow
arbitrary new/edit/remove button combinations to be used.

2 years agoC++11 tidying.
Carl Hetherington [Thu, 28 Apr 2022 20:16:05 +0000 (22:16 +0200)]
C++11 tidying.

2 years agoFix (I think) some strange situations where ::get() on dialogs
Carl Hetherington [Thu, 28 Apr 2022 20:12:54 +0000 (22:12 +0200)]
Fix (I think) some strange situations where ::get() on dialogs
used by EditableList would return something that wasn't a optional<>
but would then get implicitly cast to one.  Now we have a static_assert
to check that the type is what we expect.

2 years agoSupporters update.
Carl Hetherington [Fri, 29 Apr 2022 18:35:52 +0000 (20:35 +0200)]
Supporters update.

2 years agoMore test references updates.
Carl Hetherington [Fri, 29 Apr 2022 16:35:40 +0000 (18:35 +0200)]
More test references updates.