dcpomatic.git
2 hours agoAdd fade in/out option to the content audio tab (#1026). main
Carl Hetherington [Sun, 23 Jan 2022 21:21:29 +0000 (22:21 +0100)]
Add fade in/out option to the content audio tab (#1026).

2 hours agoCleanup: move some methods from util to memory_util
Carl Hetherington [Mon, 24 Jan 2022 21:30:52 +0000 (22:30 +0100)]
Cleanup: move some methods from util to memory_util

2 hours agoCleanup: move stride_round_up into the only place it is used.
Carl Hetherington [Mon, 24 Jan 2022 21:30:20 +0000 (22:30 +0100)]
Cleanup: move stride_round_up into the only place it is used.

2 hours agoCleanup: move some methods from util to maths_util.
Carl Hetherington [Mon, 24 Jan 2022 21:26:59 +0000 (22:26 +0100)]
Cleanup: move some methods from util to maths_util.

2 hours agoC++11 cleanup.
Carl Hetherington [Sun, 23 Jan 2022 22:54:55 +0000 (23:54 +0100)]
C++11 cleanup.

2 hours agoRename Fade{In,Out} to VideoFade{In,Out} in metadata XML.
Carl Hetherington [Sun, 23 Jan 2022 21:24:03 +0000 (22:24 +0100)]
Rename Fade{In,Out} to VideoFade{In,Out} in metadata XML.

30 hours agoSlightly hacky fix for -114 errors during 3D encodes (#2173).
Carl Hetherington [Thu, 20 Jan 2022 20:23:09 +0000 (21:23 +0100)]
Slightly hacky fix for -114 errors during 3D encodes (#2173).

It still feels like I'm missing some large and beautiful trick
with gathering all the gap-filling code into one place, but
such a trick still eludes me.

30 hours agoCleanup: use boost::none.
Carl Hetherington [Thu, 20 Jan 2022 22:33:34 +0000 (23:33 +0100)]
Cleanup: use boost::none.

30 hours agoCleanup: use lambda.
Carl Hetherington [Thu, 20 Jan 2022 20:23:14 +0000 (21:23 +0100)]
Cleanup: use lambda.

30 hours agoRename _last_video* to _next_video* as it seems to make more sense that way.
Carl Hetherington [Fri, 21 Jan 2022 20:53:54 +0000 (21:53 +0100)]
Rename _last_video* to _next_video* as it seems to make more sense that way.

2 days agoRemove unused file_dialog_wrapper.h
Carl Hetherington [Sun, 23 Jan 2022 19:47:34 +0000 (20:47 +0100)]
Remove unused file_dialog_wrapper.h

2 days agoAdd option to export config as a .zip (#1776).
Carl Hetherington [Sun, 23 Jan 2022 19:47:27 +0000 (20:47 +0100)]
Add option to export config as a .zip (#1776).

2 days agoMove some options from the tools menu to view.
Carl Hetherington [Sun, 23 Jan 2022 00:53:52 +0000 (01:53 +0100)]
Move some options from the tools menu to view.

2 days agoSwitch a list for vector.
Carl Hetherington [Sun, 23 Jan 2022 00:01:55 +0000 (01:01 +0100)]
Switch a list for vector.

2 days agoUse checkboxes to decide which screens KDMs will be made for (#1895).
Carl Hetherington [Sat, 22 Jan 2022 22:21:41 +0000 (23:21 +0100)]
Use checkboxes to decide which screens KDMs will be made for (#1895).

3 days agoDisplay the filename / URL that a screen certificate was obtained from (#1894).
Carl Hetherington [Fri, 21 Jan 2022 22:39:03 +0000 (23:39 +0100)]
Display the filename / URL that a screen certificate was obtained from (#1894).

3 days agoC++11 and general tidying.
Carl Hetherington [Fri, 21 Jan 2022 22:38:14 +0000 (23:38 +0100)]
C++11 and general tidying.

4 days agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Fri, 21 Jan 2022 08:47:10 +0000 (09:47 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 days agopot/merge.
Carl Hetherington [Fri, 21 Jan 2022 08:48:36 +0000 (09:48 +0100)]
pot/merge.

5 days agoMageia requires libcap-utils for setcap during installation (#2169). checked-for-v2.16.x
Carl Hetherington [Wed, 19 Jan 2022 21:17:43 +0000 (22:17 +0100)]
Mageia requires libcap-utils for setcap during installation (#2169).

6 days agoAdd uid/euid to macOS debug message.
Carl Hetherington [Tue, 18 Jan 2022 18:24:57 +0000 (19:24 +0100)]
Add uid/euid to macOS debug message.

6 days agoAdjust how macOS drives are analysed and add a couple of tests.
Carl Hetherington [Mon, 17 Jan 2022 23:09:36 +0000 (00:09 +0100)]
Adjust how macOS drives are analysed and add a couple of tests.

6 days agoExtract osx_disks_to_drives to cross_common for tests.
Carl Hetherington [Mon, 17 Jan 2022 23:08:44 +0000 (00:08 +0100)]
Extract osx_disks_to_drives to cross_common for tests.

6 days agoBuild fix for new libdcp.
Carl Hetherington [Mon, 17 Jan 2022 23:08:20 +0000 (00:08 +0100)]
Build fix for new libdcp.

6 days agoExtract part of analyse_media_path to cross_common for tests.
Carl Hetherington [Mon, 17 Jan 2022 21:56:52 +0000 (22:56 +0100)]
Extract part of analyse_media_path to cross_common for tests.

6 days agoShrink size of audio map. 2138-shrink-prefs
Carl Hetherington [Tue, 7 Dec 2021 21:44:59 +0000 (22:44 +0100)]
Shrink size of audio map.

6 days agoUse less vertical height for name format hints.
Carl Hetherington [Tue, 7 Dec 2021 21:28:10 +0000 (22:28 +0100)]
Use less vertical height for name format hints.

6 days agoUse less vertical height for the logging checkboxes.
Carl Hetherington [Tue, 7 Dec 2021 21:28:02 +0000 (22:28 +0100)]
Use less vertical height for the logging checkboxes.

6 days agoFix some big gaps in the prefs layout.
Carl Hetherington [Tue, 7 Dec 2021 21:27:52 +0000 (22:27 +0100)]
Fix some big gaps in the prefs layout.

6 days agoFix .dmg naming yet again; sed was breaking the $? check.
Carl Hetherington [Tue, 18 Jan 2022 21:06:56 +0000 (22:06 +0100)]
Fix .dmg naming yet again; sed was breaking the $? check.

7 days agoRemove v that snuck into DMG filenames.
Carl Hetherington [Tue, 18 Jan 2022 13:04:33 +0000 (14:04 +0100)]
Remove v that snuck into DMG filenames.

7 days agoUpdate supporters.
Carl Hetherington [Tue, 18 Jan 2022 10:02:27 +0000 (11:02 +0100)]
Update supporters.

7 days agoFix incorrect git command when getting the version with an exact tag.
Carl Hetherington [Tue, 18 Jan 2022 10:01:35 +0000 (11:01 +0100)]
Fix incorrect git command when getting the version with an exact tag.

7 days agoBump libdcp.
Carl Hetherington [Mon, 17 Jan 2022 22:32:33 +0000 (23:32 +0100)]
Bump libdcp.

7 days agoSupporters update.
Carl Hetherington [Mon, 17 Jan 2022 17:52:25 +0000 (18:52 +0100)]
Supporters update.

8 days agoMore build fixes.
Carl Hetherington [Mon, 17 Jan 2022 19:47:06 +0000 (20:47 +0100)]
More build fixes.

8 days agoFix build with new libdcp.
Carl Hetherington [Mon, 17 Jan 2022 19:31:00 +0000 (20:31 +0100)]
Fix build with new libdcp.

8 days agoAdd David Lankes as a tester.
Carl Hetherington [Mon, 17 Jan 2022 17:52:21 +0000 (18:52 +0100)]
Add David Lankes as a tester.

8 days agoFix versioning of .dmg filenames.
Carl Hetherington [Sun, 16 Jan 2022 17:57:10 +0000 (18:57 +0100)]
Fix versioning of .dmg filenames.

Now we use a tag if there is one at the commit we built, otherwise
<branch>-<commit>.

8 days agoUpdate test references for auto crop.
Carl Hetherington [Mon, 17 Jan 2022 07:15:04 +0000 (08:15 +0100)]
Update test references for auto crop.

9 days agoAdd some missing header includes.
Luke Granger-Brown [Sun, 16 Jan 2022 19:37:25 +0000 (19:37 +0000)]
Add some missing header includes.

<memory> is needed for std::*_ptr, and <algorithm> for std::transform.

9 days agoAdd --twok option to dcpomatic2_create.
Carl Hetherington [Sun, 16 Jan 2022 19:50:23 +0000 (20:50 +0100)]
Add --twok option to dcpomatic2_create.

9 days agoFix directory_containing_executable() in some cases (#2163).
Carl Hetherington [Sun, 16 Jan 2022 00:18:04 +0000 (01:18 +0100)]
Fix directory_containing_executable() in some cases (#2163).

9 days agoPut * in the title bar when the DCP-o-matic project is modified (#1938).
Carl Hetherington [Sun, 16 Jan 2022 16:35:15 +0000 (17:35 +0100)]
Put * in the title bar when the DCP-o-matic project is modified (#1938).

9 days agoSet window title based on the directory from Film.
Carl Hetherington [Sun, 16 Jan 2022 14:18:55 +0000 (15:18 +0100)]
Set window title based on the directory from Film.

9 days agoAdd Film::set_dirty().
Carl Hetherington [Sun, 16 Jan 2022 14:03:26 +0000 (15:03 +0100)]
Add Film::set_dirty().

9 days agoRemove unused lambda capture.
Carl Hetherington [Sun, 16 Jan 2022 14:10:52 +0000 (15:10 +0100)]
Remove unused lambda capture.

9 days agoAnother macOS build fix with Rect.
Carl Hetherington [Sun, 16 Jan 2022 13:49:06 +0000 (14:49 +0100)]
Another macOS build fix with Rect.

9 days agoDisambiguate Rect to fix macOS build.
Carl Hetherington [Sun, 16 Jan 2022 13:20:20 +0000 (14:20 +0100)]
Disambiguate Rect to fix macOS build.

9 days agoFix some crashes in tests.
Carl Hetherington [Sun, 16 Jan 2022 13:19:37 +0000 (14:19 +0100)]
Fix some crashes in tests.

9 days agoC++11 tidying.
Carl Hetherington [Sun, 26 Dec 2021 23:00:12 +0000 (00:00 +0100)]
C++11 tidying.

9 days agoPrimitive auto-crop (#1477).
Carl Hetherington [Sat, 1 Jan 2022 21:20:51 +0000 (21:20 +0000)]
Primitive auto-crop (#1477).

9 days agoTry to make the GL code a little clearer.
Carl Hetherington [Mon, 27 Dec 2021 17:35:05 +0000 (18:35 +0100)]
Try to make the GL code a little clearer.

9 days agoRename border line to outline content.
Carl Hetherington [Sun, 26 Dec 2021 23:26:58 +0000 (00:26 +0100)]
Rename border line to outline content.

9 days agoTweak content menu ordering.
Carl Hetherington [Sun, 26 Dec 2021 01:34:05 +0000 (02:34 +0100)]
Tweak content menu ordering.

9 days agoAdd guess_crop().
Carl Hetherington [Sat, 25 Dec 2021 23:16:45 +0000 (00:16 +0100)]
Add guess_crop().

9 days agoBasic display of markers above the playback timeline (#1921).
Carl Hetherington [Mon, 10 Jan 2022 11:53:28 +0000 (12:53 +0100)]
Basic display of markers above the playback timeline (#1921).

9 days agoExtract marker strings out to a separate method.
Carl Hetherington [Sat, 15 Jan 2022 20:42:37 +0000 (21:42 +0100)]
Extract marker strings out to a separate method.

11 days agoDon't offer the tr_TR translation as it is very limited.
Carl Hetherington [Thu, 13 Jan 2022 22:31:25 +0000 (23:31 +0100)]
Don't offer the tr_TR translation as it is very limited.

13 days agoSupporters update.
Carl Hetherington [Wed, 12 Jan 2022 20:10:02 +0000 (21:10 +0100)]
Supporters update.

2 weeks agoFix failure to decode multiple video frames from one packet (#2159). 2159-bad-decoding
Carl Hetherington [Tue, 11 Jan 2022 15:42:30 +0000 (16:42 +0100)]
Fix failure to decode multiple video frames from one packet (#2159).

2 weeks agoCleanup: move some stuff into process_video_frame().
Carl Hetherington [Tue, 11 Jan 2022 15:38:13 +0000 (16:38 +0100)]
Cleanup: move some stuff into process_video_frame().

2 weeks agoUse a separate AVFrame for each stream when decoding.
Carl Hetherington [Tue, 11 Jan 2022 15:34:26 +0000 (16:34 +0100)]
Use a separate AVFrame for each stream when decoding.

This seems to be what ffplay does and it feels like it makes sense
as frames may be built from multiple packets AFAICS.

2 weeks agoComment typo.
Carl Hetherington [Mon, 10 Jan 2022 11:52:36 +0000 (12:52 +0100)]
Comment typo.

2 weeks agofilmsum tweaks.
Carl Hetherington [Mon, 10 Jan 2022 11:52:18 +0000 (12:52 +0100)]
filmsum tweaks.

2 weeks agoFix crashes when using kdm_cli with a certificate instead of a cinema.
Carl Hetherington [Sun, 9 Jan 2022 21:24:06 +0000 (22:24 +0100)]
Fix crashes when using kdm_cli with a certificate instead of a cinema.

2 weeks agoAllow tests to run kdm_cli().
Carl Hetherington [Sun, 9 Jan 2022 21:23:09 +0000 (22:23 +0100)]
Allow tests to run kdm_cli().

2 weeks agoReplace %c with nothing in KDM filenames if the cinema is not known.
Carl Hetherington [Sun, 9 Jan 2022 20:49:58 +0000 (21:49 +0100)]
Replace %c with nothing in KDM filenames if the cinema is not known.

2 weeks agoImprove verbose output when writing to the current directory.
Carl Hetherington [Sun, 9 Jan 2022 20:42:55 +0000 (21:42 +0100)]
Improve verbose output when writing to the current directory.

2 weeks agoAllow control of where KDM CLI's output goes.
Carl Hetherington [Sun, 9 Jan 2022 20:40:28 +0000 (21:40 +0100)]
Allow control of where KDM CLI's output goes.

2 weeks agoUse cout for help.
Carl Hetherington [Sun, 9 Jan 2022 20:21:54 +0000 (21:21 +0100)]
Use cout for help.

2 weeks agoUse exceptions to handle errors in the KDM CLI.
Carl Hetherington [Sun, 9 Jan 2022 20:17:47 +0000 (21:17 +0100)]
Use exceptions to handle errors in the KDM CLI.

2 weeks agoMove KDM CLI tool into lib/
Carl Hetherington [Sun, 9 Jan 2022 20:01:39 +0000 (21:01 +0100)]
Move KDM CLI tool into lib/

2 weeks agoRemove unnecessary exit().
Carl Hetherington [Sun, 9 Jan 2022 19:06:15 +0000 (20:06 +0100)]
Remove unnecessary exit().

2 weeks agoFix tests broken in 89d4090c
Carl Hetherington [Mon, 10 Jan 2022 09:00:00 +0000 (10:00 +0100)]
Fix tests broken in 89d4090c

2 weeks agoSpeed up hints tests by not running a pointless audio analysis.
Carl Hetherington [Sun, 9 Jan 2022 22:44:00 +0000 (23:44 +0100)]
Speed up hints tests by not running a pointless audio analysis.

2 weeks agoFix misleading it_IT translation (thanks Fabrizio Carraro)
Carl Hetherington [Sun, 9 Jan 2022 15:40:33 +0000 (16:40 +0100)]
Fix misleading it_IT translation (thanks Fabrizio Carraro)

2 weeks agoTidying.
Carl Hetherington [Sun, 9 Jan 2022 15:29:21 +0000 (16:29 +0100)]
Tidying.

2 weeks agoC++11 tidying.
Carl Hetherington [Sat, 8 Jan 2022 12:30:41 +0000 (13:30 +0100)]
C++11 tidying.

2 weeks agoC++11 tidying.
Carl Hetherington [Sat, 8 Jan 2022 11:56:05 +0000 (12:56 +0100)]
C++11 tidying.

2 weeks agoC++11 tidying.
Carl Hetherington [Fri, 7 Jan 2022 22:22:48 +0000 (23:22 +0100)]
C++11 tidying.

2 weeks agoAllow 96kHz audio as an advanced option (#1789).
Carl Hetherington [Tue, 4 Jan 2022 23:33:28 +0000 (23:33 +0000)]
Allow 96kHz audio as an advanced option (#1789).

2 weeks agoUpdate to FFmpeg 4.4.1 "Rao".
Carl Hetherington [Sun, 2 Jan 2022 00:28:17 +0000 (00:28 +0000)]
Update to FFmpeg 4.4.1 "Rao".

3 weeks agoFix creation of dcpdig files in projects that make VFs (#2109).
Carl Hetherington [Mon, 3 Jan 2022 00:11:16 +0000 (00:11 +0000)]
Fix creation of dcpdig files in projects that make VFs (#2109).

Previously we would always get keys from the project which was
wrong with assets that already have their own key.

3 weeks agoRemove DCP class and replace its functionality with a plain method in libdcp.
Carl Hetherington [Mon, 3 Jan 2022 00:10:43 +0000 (00:10 +0000)]
Remove DCP class and replace its functionality with a plain method in libdcp.

3 weeks agoHappy new year.
Carl Hetherington [Sat, 1 Jan 2022 01:14:10 +0000 (01:14 +0000)]
Happy new year.

3 weeks agoDon't try to call setcap on a non-existant disk writer binary.
Carl Hetherington [Fri, 31 Dec 2021 21:14:14 +0000 (21:14 +0000)]
Don't try to call setcap on a non-existant disk writer binary.

3 weeks agoTry to fix failure to download .debs when building appimage. appimage-dl-fix
Carl Hetherington [Fri, 31 Dec 2021 20:23:47 +0000 (20:23 +0000)]
Try to fix failure to download .debs when building appimage.

3 weeks agoFix AppImage on systems with glib version > 2.68 (#2129).
Carl Hetherington [Wed, 29 Dec 2021 22:16:00 +0000 (23:16 +0100)]
Fix AppImage on systems with glib version > 2.68 (#2129).

The approach here is to bundle more stuff, and most of the details
are taken from the Inkscape packaging/appimage/generate.sh script.

3 weeks agoTidy up appimage code with f-strings and an appdir variable.
Carl Hetherington [Wed, 29 Dec 2021 22:13:31 +0000 (23:13 +0100)]
Tidy up appimage code with f-strings and an appdir variable.

3 weeks agoSupport DCP digest files (#2109).
Carl Hetherington [Wed, 3 Nov 2021 17:19:58 +0000 (18:19 +0100)]
Support DCP digest files (#2109).

3 weeks agoClean up a hack by adding DCPTranscodeJob.
Carl Hetherington [Tue, 28 Dec 2021 23:54:19 +0000 (00:54 +0100)]
Clean up a hack by adding DCPTranscodeJob.

3 weeks agoFix badly-formatted FPS counts (#2155).
Carl Hetherington [Tue, 28 Dec 2021 22:55:25 +0000 (23:55 +0100)]
Fix badly-formatted FPS counts (#2155).

This was introduced in a2e41d9a95b6e0000f3a54f513214130f8b6ca9f
when a snprintf() was changed for a locale_convert().

3 weeks agoUpdated sv_SE translation from Adam Klotblixt.
Carl Hetherington [Tue, 28 Dec 2021 22:20:51 +0000 (23:20 +0100)]
Updated sv_SE translation from Adam Klotblixt.

4 weeks agoAllow user to add .ttc font files.
Carl Hetherington [Thu, 23 Dec 2021 02:07:18 +0000 (03:07 +0100)]
Allow user to add .ttc font files.

4 weeks 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).

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

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

4 weeks agoTidy up backing up of config files, improve the tests a little and fix it for the
Carl Hetherington [Tue, 21 Dec 2021 01:35:55 +0000 (02:35 +0100)]
Tidy up backing up of config files, improve the tests a little and fix it for the
case when the user has specified their own config file path.

4 weeks agoSend emails in the CLI KDM tool (#2113).
Carl Hetherington [Mon, 1 Nov 2021 15:44:10 +0000 (16:44 +0100)]
Send emails in the CLI KDM tool (#2113).