dcpomatic.git
2 years agoRegrettably revert the optimisation preventing lots of pointless Linux builds. fix-tests
Carl Hetherington [Fri, 18 Feb 2022 21:27:39 +0000 (22:27 +0100)]
Regrettably revert the optimisation preventing lots of pointless Linux builds.

This was changed in 17e4118de4614ef0358bdcf4d7715f1a7c85d67e
to not (pointlessly) build DoM when the packaging step would do it again.
This, of course, breaks tests on Linux.

There seems to be a few ways round this but nothing neat and simple
enough to do at this point.

2 years agoSupporters update. v2.16.2
Carl Hetherington [Thu, 17 Feb 2022 23:29:53 +0000 (00:29 +0100)]
Supporters update.

2 years agoFix debian unstable package.
Carl Hetherington [Thu, 17 Feb 2022 20:34:39 +0000 (21:34 +0100)]
Fix debian unstable package.

2 years agoFix appimage build.
Carl Hetherington [Thu, 17 Feb 2022 19:17:35 +0000 (20:17 +0100)]
Fix appimage build.

2 years agoInhibit dbgsym package creation in non-debug mode.
Carl Hetherington [Wed, 16 Feb 2022 18:42:31 +0000 (19:42 +0100)]
Inhibit dbgsym package creation in non-debug mode.

2 years agoRemove unnecessary build when packaging for Linux.
Carl Hetherington [Wed, 16 Feb 2022 11:54:56 +0000 (12:54 +0100)]
Remove unnecessary build when packaging for Linux.

2 years agoRemove old dependencies.
Carl Hetherington [Wed, 16 Feb 2022 09:33:02 +0000 (10:33 +0100)]
Remove old dependencies.

2 years agoBuild with an ffmpeg that includes libdav1d.
Carl Hetherington [Tue, 15 Feb 2022 21:53:20 +0000 (22:53 +0100)]
Build with an ffmpeg that includes libdav1d.

2 years agoAdd an assert.
Carl Hetherington [Tue, 15 Feb 2022 13:35:48 +0000 (14:35 +0100)]
Add an assert.

2 years agoTry to handle EAGAIN from avcodec_send_packet() properly.
Carl Hetherington [Tue, 15 Feb 2022 21:47:48 +0000 (22:47 +0100)]
Try to handle EAGAIN from avcodec_send_packet() properly.

The docs say on EAGAIN we should call avcodec_receive_frame()
and then re-send the same packet again.  This should do that.

This is a fix for errors trigged by the accompanying test.

2 years agoKeep Waker around for longer so it works better (#2184).
Carl Hetherington [Wed, 16 Feb 2022 23:57:54 +0000 (00:57 +0100)]
Keep Waker around for longer so it works better (#2184).

2 years agoHead off some cert validity warnings. v2.16.1
Carl Hetherington [Mon, 14 Feb 2022 14:00:16 +0000 (15:00 +0100)]
Head off some cert validity warnings.

2 years agoUpdate test signer chain again.
Carl Hetherington [Mon, 14 Feb 2022 12:40:01 +0000 (13:40 +0100)]
Update test signer chain again.

2 years agoFix hints tests by changing the test signer chain for one that is only valid for...
Carl Hetherington [Mon, 14 Feb 2022 12:11:04 +0000 (13:11 +0100)]
Fix hints tests by changing the test signer chain for one that is only valid for 10 years.

2 years agoAdd a hint about certificate validity, moving some things around
Carl Hetherington [Mon, 14 Feb 2022 10:00:52 +0000 (11:00 +0100)]
Add a hint about certificate validity, moving some things around
so that it's easier for the user to re-make the certificates if
they need to.

2 years agoAdd hint about excessive certificate validity.
Carl Hetherington [Mon, 14 Feb 2022 09:56:39 +0000 (10:56 +0100)]
Add hint about excessive certificate validity.

2 years agoExtract check_certificates() method.
Carl Hetherington [Mon, 14 Feb 2022 09:36:07 +0000 (10:36 +0100)]
Extract check_certificates() method.

2 years agoAdd re-make signing certificates button to the main config page.
Carl Hetherington [Mon, 14 Feb 2022 09:27:04 +0000 (10:27 +0100)]
Add re-make signing certificates button to the main config page.

2 years agoMove some logic from the caller into MakeChainDialog.
Carl Hetherington [Mon, 14 Feb 2022 09:12:04 +0000 (10:12 +0100)]
Move some logic from the caller into MakeChainDialog.

2 years agoNo-op: tidying.
Carl Hetherington [Mon, 14 Feb 2022 08:50:39 +0000 (09:50 +0100)]
No-op: tidying.

2 years agoSupporters update.
Carl Hetherington [Mon, 14 Feb 2022 07:12:26 +0000 (08:12 +0100)]
Supporters update.

2 years agoRelax error handling when examining FFmpeg files (#2187).
Carl Hetherington [Sat, 12 Feb 2022 23:29:58 +0000 (00:29 +0100)]
Relax error handling when examining FFmpeg files (#2187).

2 years agoFix test refs right this time (using v2.16.x branch).
Carl Hetherington [Sun, 13 Feb 2022 10:48:14 +0000 (11:48 +0100)]
Fix test refs right this time (using v2.16.x branch).

2 years agoMissing ConfigRestorer in test.
Carl Hetherington [Sun, 13 Feb 2022 08:25:48 +0000 (09:25 +0100)]
Missing ConfigRestorer in test.

2 years agoUpdate test refs for nag change.
Carl Hetherington [Sun, 13 Feb 2022 00:47:21 +0000 (01:47 +0100)]
Update test refs for nag change.

2 years agoRename NAG_BAD_SIGNER_CHAIN -> NAG_BAD_SIGNER_CHAIN_UTF8.
Carl Hetherington [Sat, 12 Feb 2022 22:11:25 +0000 (23:11 +0100)]
Rename NAG_BAD_SIGNER_CHAIN -> NAG_BAD_SIGNER_CHAIN_UTF8.

2 years agoWarn if the signing certificates have a validity period > 10 years (#2174).
Carl Hetherington [Sat, 12 Feb 2022 22:11:44 +0000 (23:11 +0100)]
Warn if the signing certificates have a validity period > 10 years (#2174).

2 years agoGo back to 10-year certificate validity periods (#2174).
Carl Hetherington [Sat, 12 Feb 2022 21:53:14 +0000 (22:53 +0100)]
Go back to 10-year certificate validity periods (#2174).

2 years agoAllow a little more space in small_button_size for the ru_RU translation.
Carl Hetherington [Wed, 9 Feb 2022 23:19:15 +0000 (00:19 +0100)]
Allow a little more space in small_button_size for the ru_RU translation.

2 years agoUpdated ru_RU translation from Mikhail Epshteyn.
Carl Hetherington [Fri, 11 Feb 2022 18:28:51 +0000 (19:28 +0100)]
Updated ru_RU translation from Mikhail Epshteyn.

2 years agoUpdated ru_RU translation from Mikhail Epshteyn.
Carl Hetherington [Fri, 11 Feb 2022 16:27:46 +0000 (17:27 +0100)]
Updated ru_RU translation from Mikhail Epshteyn.

2 years agoDon't give up on backups if config.xml isn't there (#2185).
Carl Hetherington [Thu, 10 Feb 2022 20:06:43 +0000 (21:06 +0100)]
Don't give up on backups if config.xml isn't there (#2185).

Even if it isn't, we still want to try to back up other stuff.
Previously if copying config.xml threw an exception we'd just
give up.

2 years agoHopefully fix some bad placeholders in ru_RU.
Carl Hetherington [Thu, 10 Feb 2022 12:38:55 +0000 (13:38 +0100)]
Hopefully fix some bad placeholders in ru_RU.

2 years agoUse Russian name Михаил Эпштейн for Mikhail Epshteyn.
Carl Hetherington [Thu, 10 Feb 2022 12:32:00 +0000 (13:32 +0100)]
Use Russian name Михаил Эпштейн for Mikhail Epshteyn.

2 years agoFix an incorrect placeholder.
Carl Hetherington [Thu, 10 Feb 2022 12:28:46 +0000 (13:28 +0100)]
Fix an incorrect placeholder.

2 years agoRemove some fuzzy markers from the ru_RU translation, which I think should not be...
Carl Hetherington [Thu, 10 Feb 2022 12:25:14 +0000 (13:25 +0100)]
Remove some fuzzy markers from the ru_RU translation, which I think should not be there.

2 years agoFix duplicated translation.
Carl Hetherington [Thu, 10 Feb 2022 00:20:39 +0000 (01:20 +0100)]
Fix duplicated translation.

2 years agoUpdated ru_RU translation from Mikhail Epshteyn.
Carl Hetherington [Wed, 9 Feb 2022 23:12:04 +0000 (00:12 +0100)]
Updated ru_RU translation from Mikhail Epshteyn.

2 years agoFix typo instrinsic -> intrinsic (thanks Mikhail Epshteyn)
Carl Hetherington [Wed, 9 Feb 2022 23:05:00 +0000 (00:05 +0100)]
Fix typo instrinsic -> intrinsic (thanks Mikhail Epshteyn)

2 years agoUse different names for the 10.6 (thin) and 10.9 (universal) DMG files.
Carl Hetherington [Mon, 7 Feb 2022 14:47:31 +0000 (15:47 +0100)]
Use different names for the 10.6 (thin) and 10.9 (universal) DMG files.

2 years agoUpdated ru_RU translation from Mikhail Epshteyn.
Carl Hetherington [Sat, 5 Feb 2022 21:21:23 +0000 (22:21 +0100)]
Updated ru_RU translation from Mikhail Epshteyn.

2 years agoFix another misunderstanding with macOS drive discovery. v2.16.0
Carl Hetherington [Wed, 2 Feb 2022 11:57:08 +0000 (12:57 +0100)]
Fix another misunderstanding with macOS drive discovery.

2 years agoSupporters update.
Carl Hetherington [Tue, 1 Feb 2022 23:19:39 +0000 (00:19 +0100)]
Supporters update.

2 years agoSlightly hacky fix for -114 errors during 3D encodes (#2173). v2.15.188
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.

2 years 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 years 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.

2 years agopot/merge. v2.15.187
Carl Hetherington [Thu, 20 Jan 2022 08:42:58 +0000 (09:42 +0100)]
pot/merge.

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

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years agoShrink size of audio map.
Carl Hetherington [Tue, 7 Dec 2021 21:44:59 +0000 (22:44 +0100)]
Shrink size of audio map.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

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

2 years agoSupporters update. v2.15.185
Carl Hetherington [Tue, 18 Jan 2022 10:03:10 +0000 (11:03 +0100)]
Supporters update.

2 years 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.

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

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

2 years agoBump libdcp to 1.8.6
Carl Hetherington [Mon, 17 Jan 2022 19:03:51 +0000 (20:03 +0100)]
Bump libdcp to 1.8.6

Hopefully this fixes #2124, failure to play DCPs on Sony SRX320/LMT3000
due to it not liking empty <AnnotationText> tags in reel assets.

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

2 years 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.

2 years 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>.

2 years 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.

2 years 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.

2 years 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).

2 years 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.

2 years agoMake v2.16.x branch of test/data and use it.
Carl Hetherington [Wed, 12 Jan 2022 09:58:13 +0000 (10:58 +0100)]
Make v2.16.x branch of test/data and use it.

2 years agoUpdate test/data to get some more test files.
Carl Hetherington [Wed, 12 Jan 2022 08:07:39 +0000 (09:07 +0100)]
Update test/data to get some more test files.

2 years agoFix failure to decode multiple video frames from one packet (#2159). v2.15.183
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 years 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 years 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 years agoComment typo.
Carl Hetherington [Mon, 10 Jan 2022 11:52:36 +0000 (12:52 +0100)]
Comment typo.

2 years 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 years 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 years 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 years 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 years 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 years agoUse cout for help.
Carl Hetherington [Sun, 9 Jan 2022 20:21:54 +0000 (21:21 +0100)]
Use cout for help.

2 years 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 years 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 years agoRename email() -> send_emails().
Carl Hetherington [Mon, 1 Nov 2021 15:43:41 +0000 (16:43 +0100)]
Rename email() -> send_emails().

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

2 years 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 years 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 years agoHappy new year.
Carl Hetherington [Sat, 1 Jan 2022 01:14:10 +0000 (01:14 +0000)]
Happy new year.

2 years agoTry to fix failure to download .debs when building appimage. v2.15.182
Carl Hetherington [Fri, 31 Dec 2021 20:23:47 +0000 (20:23 +0000)]
Try to fix failure to download .debs when building appimage.

2 years agoFix AppImage on systems with glib version > 2.68 (#2129). v2.15.181
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.

2 years 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.

2 years 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().

2 years 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.

2 years 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.

2 years agoFix missing screen name in KDM emails.
Carl Hetherington [Mon, 1 Nov 2021 15:43:26 +0000 (16:43 +0100)]
Fix missing screen name in KDM emails.

2 years 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.

2 years agoFix deadlock in test, caused by setting jobs to finished before they have been started.
Carl Hetherington [Wed, 22 Dec 2021 15:47:27 +0000 (16:47 +0100)]
Fix deadlock in test, caused by setting jobs to finished before they have been started.

2 years agoFix trimming of ATMOS MXFs.
Carl Hetherington [Tue, 21 Dec 2021 20:01:16 +0000 (21:01 +0100)]
Fix trimming of ATMOS MXFs.

2 years agoTidy up NetworkError.
Carl Hetherington [Mon, 20 Dec 2021 20:45:21 +0000 (21:45 +0100)]
Tidy up NetworkError.