dcpomatic.git
6 weeks agoMerge branch 'main' into v2.17.x
Carl Hetherington [Wed, 1 May 2024 08:15:18 +0000 (10:15 +0200)]
Merge branch 'main' into v2.17.x

6 weeks agoUse plain git hash for VERSION when there is no exact tag.
Carl Hetherington [Sat, 27 Apr 2024 15:41:52 +0000 (17:41 +0200)]
Use plain git hash for VERSION when there is no exact tag.

6 weeks agoDon't "pollute" the library path with /usr/local/lib.
Carl Hetherington [Mon, 29 Apr 2024 20:41:37 +0000 (22:41 +0200)]
Don't "pollute" the library path with /usr/local/lib.

Sometimes we don't want to use the stuff in there.

7 weeks agoSupporters update. v2.16.82
Carl Hetherington [Tue, 30 Apr 2024 09:20:53 +0000 (11:20 +0200)]
Supporters update.

7 weeks agoFix silent stereo mixdown exports when the project audio channel count is > 6.
Carl Hetherington [Mon, 29 Apr 2024 20:34:51 +0000 (22:34 +0200)]
Fix silent stereo mixdown exports when the project audio channel count is > 6.

This became much more of a problem when we started defaulting to 8 channels
in projects.

7 weeks agoFix failures in real_encode_with_server.
Carl Hetherington [Mon, 29 Apr 2024 08:49:22 +0000 (10:49 +0200)]
Fix failures in real_encode_with_server.

This test suddenly started failing because the server is never found,
so never encodes any frames.

It's a mystery why this started failing, and even more of a mystery
why there seem to be two distinct reasons.

Some failures were apparently due to firewalld blocking UDP broadcast;
disabling the firewall would make the test pass again.

Other failures were apparently caused by an old EncodeServerFinder
hanging around, presumably finding servers before a new one had the
chance.

7 weeks agoCleanup a few verbose asio-related calls.
Carl Hetherington [Sun, 28 Apr 2024 22:11:51 +0000 (00:11 +0200)]
Cleanup a few verbose asio-related calls.

7 weeks agoAdd missing nice name for Windows executable.
Carl Hetherington [Sun, 28 Apr 2024 20:46:13 +0000 (22:46 +0200)]
Add missing nice name for Windows executable.

7 weeks agoWrite file descriptions to .exe files for the Windows task manager.
Carl Hetherington [Sun, 28 Apr 2024 18:34:52 +0000 (20:34 +0200)]
Write file descriptions to .exe files for the Windows task manager.

7 weeks agoBuild .rc files on the fly.
Carl Hetherington [Sat, 27 Apr 2024 15:29:38 +0000 (17:29 +0200)]
Build .rc files on the fly.

7 weeks agoUse plain git hash for VERSION when there is no exact tag.
Carl Hetherington [Sat, 27 Apr 2024 15:41:52 +0000 (17:41 +0200)]
Use plain git hash for VERSION when there is no exact tag.

7 weeks agoAllow branding of "report a problem" dialog.
Carl Hetherington [Fri, 26 Apr 2024 20:34:35 +0000 (22:34 +0200)]
Allow branding of "report a problem" dialog.

7 weeks agoSplash behaviour does not need to be branded after all.
Carl Hetherington [Fri, 26 Apr 2024 10:09:47 +0000 (12:09 +0200)]
Splash behaviour does not need to be branded after all.

7 weeks agoAllow customisation of error report email address.
Carl Hetherington [Fri, 26 Apr 2024 09:53:40 +0000 (11:53 +0200)]
Allow customisation of error report email address.

7 weeks agoApply fixup to test/data submodule and bring it back to the v2.18.x branch.
Carl Hetherington [Wed, 24 Apr 2024 17:38:24 +0000 (19:38 +0200)]
Apply fixup to test/data submodule and bring it back to the v2.18.x branch.

7 weeks agoRestore time zone to Cinema and improve UI to use it (#2473).
Carl Hetherington [Tue, 23 Apr 2024 23:49:09 +0000 (01:49 +0200)]
Restore time zone to Cinema and improve UI to use it (#2473).

8 weeks agoSupporters update. v2.16.81
Carl Hetherington [Wed, 24 Apr 2024 00:11:29 +0000 (02:11 +0200)]
Supporters update.

8 weeks agoRevert "Tweak how lzma is linked."
Carl Hetherington [Mon, 22 Apr 2024 22:38:14 +0000 (00:38 +0200)]
Revert "Tweak how lzma is linked."

This reverts commit 604a5f9343eebfa0108a19bb6b8ec60bc81f4819.

I don't know why I did this, and it breaks the mac-old (10.8) target
as the lzma.5.dylib is not present on those machines.

8 weeks agoBump libdcp for Centos 7 build fix.
Carl Hetherington [Mon, 22 Apr 2024 20:46:44 +0000 (22:46 +0200)]
Bump libdcp for Centos 7 build fix.

8 weeks agoMerge branch 'mpeg2' into v2.17.x v2.17.16
Carl Hetherington [Mon, 22 Apr 2024 19:39:03 +0000 (21:39 +0200)]
Merge branch 'mpeg2' into v2.17.x

8 weeks agoClarify a test result when it fails. mpeg2
Carl Hetherington [Wed, 10 Apr 2024 08:13:31 +0000 (10:13 +0200)]
Clarify a test result when it fails.

8 weeks agoDon't emit video until film's end if we are seeking.
Carl Hetherington [Mon, 8 Apr 2024 21:59:39 +0000 (23:59 +0200)]
Don't emit video until film's end if we are seeking.

Otherwise if we seek to the frame just before the end of the DCP
we'll call emit_video_until() with _next_video unset, causing that
method to emit video for the whole film.

The point of this emit_video_until() call is only to pad a space
between the end of the video content and the end of the film.

8 weeks agoFix dcpomatic_player script for macOS.
Carl Hetherington [Mon, 8 Apr 2024 21:57:34 +0000 (23:57 +0200)]
Fix dcpomatic_player script for macOS.

8 weeks agoReport video range from MPEG2 DCPs correctly.
Carl Hetherington [Sun, 7 Apr 2024 21:44:26 +0000 (23:44 +0200)]
Report video range from MPEG2 DCPs correctly.

8 weeks agoUse mpeg2 prefix for MPEG2 video asset filenames.
Carl Hetherington [Sun, 7 Apr 2024 21:44:12 +0000 (23:44 +0200)]
Use mpeg2 prefix for MPEG2 video asset filenames.

8 weeks agoDisable some hints when encoding to MPEG2.
Carl Hetherington [Sun, 7 Apr 2024 18:12:20 +0000 (20:12 +0200)]
Disable some hints when encoding to MPEG2.

8 weeks agoRemove unused Windows identifier stuff (removed from cdist).
Carl Hetherington [Sat, 6 Apr 2024 19:16:41 +0000 (21:16 +0200)]
Remove unused Windows identifier stuff (removed from cdist).

8 weeks agoAllow specification of video bit rate separately for J2K and MPEG2.
Carl Hetherington [Fri, 5 Apr 2024 21:17:03 +0000 (23:17 +0200)]
Allow specification of video bit rate separately for J2K and MPEG2.

8 weeks agoAlert user when fixing settings for MPEG2.
Carl Hetherington [Wed, 3 Apr 2024 21:27:41 +0000 (23:27 +0200)]
Alert user when fixing settings for MPEG2.

8 weeks agoDesensitise things that can't be adjusted in MPEG2 mode.
Carl Hetherington [Wed, 3 Apr 2024 21:27:13 +0000 (23:27 +0200)]
Desensitise things that can't be adjusted in MPEG2 mode.

8 weeks agoUpdate available containers whenever they change, always adding the one that the...
Carl Hetherington [Wed, 3 Apr 2024 21:26:50 +0000 (23:26 +0200)]
Update available containers whenever they change, always adding the one that the film is currently using.

8 weeks agoAdd Choice::set_entries().
Carl Hetherington [Wed, 3 Apr 2024 21:25:19 +0000 (23:25 +0200)]
Add Choice::set_entries().

8 weeks agoRename Choice::add to Choice::add_entry.
Carl Hetherington [Wed, 3 Apr 2024 21:02:41 +0000 (23:02 +0200)]
Rename Choice::add to Choice::add_entry.

8 weeks agoUnify indentation at 4 spaces.
Carl Hetherington [Mon, 1 Apr 2024 21:42:08 +0000 (23:42 +0200)]
Unify indentation at 4 spaces.

8 weeks agoUse run/environment for paths in run/tests.
Carl Hetherington [Mon, 1 Apr 2024 21:41:33 +0000 (23:41 +0200)]
Use run/environment for paths in run/tests.

8 weeks agoSupport encoding of MPEG2 DCPs.
Carl Hetherington [Tue, 19 Mar 2024 13:02:47 +0000 (14:02 +0100)]
Support encoding of MPEG2 DCPs.

8 weeks agoSupport playback of MPEG2 DCPs.
Carl Hetherington [Wed, 29 Nov 2023 23:46:00 +0000 (00:46 +0100)]
Support playback of MPEG2 DCPs.

8 weeks agoRename j2k_bandwidth -> video_bit_rate.
Carl Hetherington [Fri, 5 Apr 2024 19:57:03 +0000 (21:57 +0200)]
Rename j2k_bandwidth -> video_bit_rate.

8 weeks agoAdd "build" environment lib to local run script.
Carl Hetherington [Tue, 26 Mar 2024 19:29:49 +0000 (20:29 +0100)]
Add "build" environment lib to local run script.

8 weeks agoRemove unnecessary library path.
Carl Hetherington [Tue, 26 Mar 2024 19:29:11 +0000 (20:29 +0100)]
Remove unnecessary library path.

8 weeks agoExtract frame info read/write to new class.
Carl Hetherington [Tue, 26 Mar 2024 21:43:10 +0000 (22:43 +0100)]
Extract frame info read/write to new class.

8 weeks agoExtract VideoEncoder as a parent of J2KEncoder.
Carl Hetherington [Tue, 19 Mar 2024 16:10:27 +0000 (17:10 +0100)]
Extract VideoEncoder as a parent of J2KEncoder.

8 weeks agoRename Encoder -> FilmEncoder, and subclasses.
Carl Hetherington [Tue, 19 Mar 2024 15:29:13 +0000 (16:29 +0100)]
Rename Encoder -> FilmEncoder, and subclasses.

8 weeks agoRename classes to follow preparatory renames in libdcp.
Carl Hetherington [Wed, 29 Nov 2023 23:29:16 +0000 (00:29 +0100)]
Rename classes to follow preparatory renames in libdcp.

8 weeks agoRemove old debian changelog and fix its creation.
Carl Hetherington [Sun, 21 Apr 2024 18:03:39 +0000 (20:03 +0200)]
Remove old debian changelog and fix its creation.

8 weeks agoBring some more branding into the variant.
Carl Hetherington [Fri, 19 Apr 2024 12:27:41 +0000 (14:27 +0200)]
Bring some more branding into the variant.

8 weeks agoAdd a little documentation.
Carl Hetherington [Wed, 17 Apr 2024 08:08:06 +0000 (10:08 +0200)]
Add a little documentation.

8 weeks agoSupport variants in the build scripts.
Carl Hetherington [Wed, 17 Apr 2024 08:01:03 +0000 (10:01 +0200)]
Support variants in the build scripts.

8 weeks agoCleanup: remove unnecessary obj =
Carl Hetherington [Fri, 19 Apr 2024 10:49:16 +0000 (12:49 +0200)]
Cleanup: remove unnecessary obj =

8 weeks agoExtract all uses of DCP-o-matic name to allow branding.
Carl Hetherington [Tue, 16 Apr 2024 20:19:39 +0000 (22:19 +0200)]
Extract all uses of DCP-o-matic name to allow branding.

8 weeks agoTry to make test more robust.
Carl Hetherington [Sat, 20 Apr 2024 22:43:28 +0000 (00:43 +0200)]
Try to make test more robust.

8 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 19 Apr 2024 14:35:25 +0000 (16:35 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

2 months agoMissed update to private test repo version. v2.16.80
Carl Hetherington [Thu, 18 Apr 2024 12:00:07 +0000 (14:00 +0200)]
Missed update to private test repo version.

2 months agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Thu, 18 Apr 2024 10:08:51 +0000 (12:08 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

2 months agoAdd missing GUI-side verification note descriptions.
Carl Hetherington [Thu, 18 Apr 2024 08:12:25 +0000 (10:12 +0200)]
Add missing GUI-side verification note descriptions.

2 months agoSupporters update.
Carl Hetherington [Wed, 17 Apr 2024 21:30:12 +0000 (23:30 +0200)]
Supporters update.

2 months agoBump libdcp for more relaxed CPL parsing (#2797).
Carl Hetherington [Wed, 17 Apr 2024 21:25:22 +0000 (23:25 +0200)]
Bump libdcp for more relaxed CPL parsing (#2797).

2 months agoSeparate GUI verifier with basic reporting (#1823).
Carl Hetherington [Tue, 9 Apr 2024 00:02:28 +0000 (02:02 +0200)]
Separate GUI verifier with basic reporting (#1823).

2 months agoFix page size of icon SVGs.
Carl Hetherington [Tue, 9 Apr 2024 21:08:05 +0000 (23:08 +0200)]
Fix page size of icon SVGs.

2 months agoSplit VerifyDCPResultPanel so that construction and fill are separate.
Carl Hetherington [Tue, 9 Apr 2024 20:11:56 +0000 (22:11 +0200)]
Split VerifyDCPResultPanel so that construction and fill are separate.

2 months agoSplit VerifyDCPProgressDialog into a panel and a dialog.
Carl Hetherington [Tue, 9 Apr 2024 19:11:32 +0000 (21:11 +0200)]
Split VerifyDCPProgressDialog into a panel and a dialog.

2 months agoSplit VerifyDCPResultDialog into a panel and a dialog.
Carl Hetherington [Tue, 9 Apr 2024 19:11:21 +0000 (21:11 +0200)]
Split VerifyDCPResultDialog into a panel and a dialog.

2 months agoRename VerifyDCPDialog -> VerifyDCPResultDialog.
Carl Hetherington [Tue, 9 Apr 2024 18:56:54 +0000 (20:56 +0200)]
Rename VerifyDCPDialog -> VerifyDCPResultDialog.

2 months agoAdd leaf parameter to DirPickerCtrl.
Carl Hetherington [Tue, 9 Apr 2024 01:15:19 +0000 (03:15 +0200)]
Add leaf parameter to DirPickerCtrl.

2 months agoEllipsize end of DirPickerCtrl labels.
Carl Hetherington [Tue, 9 Apr 2024 01:15:04 +0000 (03:15 +0200)]
Ellipsize end of DirPickerCtrl labels.

2 months agoRename dcpomatic2_verify to dcpomatic2_verify_cli.
Carl Hetherington [Tue, 9 Apr 2024 00:02:21 +0000 (02:02 +0200)]
Rename dcpomatic2_verify to dcpomatic2_verify_cli.

2 months agoDon't use --target-macos-arm64 any more, since it's not supported.
Carl Hetherington [Mon, 15 Apr 2024 21:13:00 +0000 (23:13 +0200)]
Don't use --target-macos-arm64 any more, since it's not supported.

2 months agoFix build on macOS 10.8 (wxWidgets 3.0.5).
Carl Hetherington [Mon, 15 Apr 2024 18:12:39 +0000 (20:12 +0200)]
Fix build on macOS 10.8 (wxWidgets 3.0.5).

2 months agoHopefully fix build with the older wxWidgets use for old macOS.
Carl Hetherington [Wed, 10 Apr 2024 12:29:13 +0000 (14:29 +0200)]
Hopefully fix build with the older wxWidgets use for old macOS.

2 months agoAdd new setup of i18n for macOS (#2778).
Carl Hetherington [Mon, 8 Apr 2024 19:19:23 +0000 (21:19 +0200)]
Add new setup of i18n for macOS (#2778).

2 months agoCleanup: header ordering.
Carl Hetherington [Mon, 8 Apr 2024 16:20:10 +0000 (18:20 +0200)]
Cleanup: header ordering.

2 months agoFix DCP Timeline menu on macOS.
Carl Hetherington [Mon, 8 Apr 2024 16:19:49 +0000 (18:19 +0200)]
Fix DCP Timeline menu on macOS.

2 months agoDisable Reels... button with no film.
Carl Hetherington [Mon, 8 Apr 2024 16:19:39 +0000 (18:19 +0200)]
Disable Reels... button with no film.

2 months agoAdd add-dkdm command to add DKDMs to DCP-o-matic's internal list from the CLI.
Carl Hetherington [Fri, 22 Mar 2024 19:39:38 +0000 (20:39 +0100)]
Add add-dkdm command to add DKDMs to DCP-o-matic's internal list from the CLI.

2 months agoSwitch "command-like" options --list-cinemas and --list-dkdm-cpls to actual commands.
Carl Hetherington [Fri, 22 Mar 2024 19:25:01 +0000 (20:25 +0100)]
Switch "command-like" options --list-cinemas and --list-dkdm-cpls to actual commands.

2 months agoAdd --decryption-key option to KDM CLI (#2790).
Carl Hetherington [Fri, 22 Mar 2024 19:07:37 +0000 (20:07 +0100)]
Add --decryption-key option to KDM CLI (#2790).

2 months agoCleanup: white space.
Carl Hetherington [Fri, 22 Mar 2024 18:59:37 +0000 (19:59 +0100)]
Cleanup: white space.

2 months agoRename --trusted-device to --trusted-device-certificate in the KDM CLI.
Carl Hetherington [Fri, 22 Mar 2024 18:57:33 +0000 (19:57 +0100)]
Rename --trusted-device to --trusted-device-certificate in the KDM CLI.

2 months agoRename --certificate to --projector-certificate in KDM CLI.
Carl Hetherington [Fri, 22 Mar 2024 18:57:04 +0000 (19:57 +0100)]
Rename --certificate to --projector-certificate in KDM CLI.

2 months agoFix hanging/overlapping dvb subtitles (#2792).
Carl Hetherington [Sun, 31 Mar 2024 23:04:41 +0000 (01:04 +0200)]
Fix hanging/overlapping dvb subtitles (#2792).

This reverts a change made in
8ca6fd6d97e6d42492afddb655fa85130946853c
"Fix doubled subtitles if subtitle stop times are specified."

That change breaks the case where a subtitle _does_ have a stop time,
but it's wrong (30s from the start time) and we want the next subtitle
to clear the previous one.

I can't now see how reverting this could cause doubled subtitles,
so maybe that problem wlil come back.  At least now there's a test
for #2792.

2 months agoRemove now-unnecessary --target-macos-arm64 v2.17.15
Carl Hetherington [Sat, 30 Mar 2024 21:20:08 +0000 (22:20 +0100)]
Remove now-unnecessary --target-macos-arm64

2 months agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 29 Mar 2024 23:00:44 +0000 (00:00 +0100)]
Merge remote-tracking branch 'origin/main' into v2.17.x

2 months agoFix crash introduced in previous commit.
Carl Hetherington [Fri, 29 Mar 2024 22:58:36 +0000 (23:58 +0100)]
Fix crash introduced in previous commit.

2 months agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 29 Mar 2024 22:23:10 +0000 (23:23 +0100)]
Merge remote-tracking branch 'origin/main' into v2.17.x

2 months agoFix lack of video rotation in some cases (#2971).
Carl Hetherington [Fri, 29 Mar 2024 22:18:14 +0000 (23:18 +0100)]
Fix lack of video rotation in some cases (#2971).

Setting the optional to 0 here means we never even looked at the
packet side data.  This seems to be more of a problem with the
v2.17.x branch for some reason.

2 months agoFix video scaling when the video needs rotation (#2791).
Carl Hetherington [Fri, 29 Mar 2024 22:18:01 +0000 (23:18 +0100)]
Fix video scaling when the video needs rotation (#2791).

2 months agoAdd VideoContent::rotate_size().
Carl Hetherington [Fri, 29 Mar 2024 22:17:34 +0000 (23:17 +0100)]
Add VideoContent::rotate_size().

2 months agoBump libdcp for libcxml build fix. v2.17.14
Carl Hetherington [Sat, 23 Mar 2024 11:53:31 +0000 (12:53 +0100)]
Bump libdcp for libcxml build fix.

2 months agoHack to local build script to use environment if ~/build if present.
Carl Hetherington [Mon, 25 Mar 2024 21:31:48 +0000 (22:31 +0100)]
Hack to local build script to use environment if ~/build if present.

2 months agoFix detection of SSE, removing unnecessary --target-macos-arm64.
Carl Hetherington [Sat, 23 Mar 2024 22:25:43 +0000 (23:25 +0100)]
Fix detection of SSE, removing unnecessary --target-macos-arm64.

2 months agopangommconfig.h is not included by pangomm.h on some platforms.
Carl Hetherington [Sat, 23 Mar 2024 11:45:36 +0000 (12:45 +0100)]
pangommconfig.h is not included by pangomm.h on some platforms.

2 months agoBump libdcp for new asdcplib version.
Carl Hetherington [Wed, 20 Mar 2024 22:34:22 +0000 (23:34 +0100)]
Bump libdcp for new asdcplib version.

2 months agoBump libdcp with corresponding merge to previous.
Carl Hetherington [Wed, 20 Mar 2024 22:19:37 +0000 (23:19 +0100)]
Bump libdcp with corresponding merge to previous.

2 months agoMerge tag 'v2.16.79' into v2.17.x
Carl Hetherington [Wed, 20 Mar 2024 22:12:55 +0000 (23:12 +0100)]
Merge tag 'v2.16.79' into v2.17.x

2 months agoReplace std::random_shuffle (removed in C++17).
Carl Hetherington [Mon, 18 Mar 2024 20:05:07 +0000 (21:05 +0100)]
Replace std::random_shuffle (removed in C++17).

2 months agoUse C++17 when building for (new) macOS.
Carl Hetherington [Sat, 16 Mar 2024 13:23:15 +0000 (14:23 +0100)]
Use C++17 when building for (new) macOS.

2 months agoAllow building with C++17 and updated libxml++/pangomm/cairomm.
Carl Hetherington [Thu, 22 Feb 2024 21:51:44 +0000 (22:51 +0100)]
Allow building with C++17 and updated libxml++/pangomm/cairomm.

2 months agoCleanup: clarify some namespace use.
Carl Hetherington [Thu, 22 Feb 2024 22:17:02 +0000 (23:17 +0100)]
Cleanup: clarify some namespace use.

2 months agoRemove all use of add_child() from xmlpp.
Carl Hetherington [Tue, 6 Feb 2024 09:58:39 +0000 (10:58 +0100)]
Remove all use of add_child() from xmlpp.

2 months agoTidy up and fix assertion failure when selecting a CPL from the menu. v2.16.79
Carl Hetherington [Wed, 20 Mar 2024 14:34:24 +0000 (15:34 +0100)]
Tidy up and fix assertion failure when selecting a CPL from the menu.