dcpomatic.git
14 months agoBump libdcp for verify fixes (#2457 and #2459). v2.16.44
Carl Hetherington [Fri, 17 Feb 2023 19:04:46 +0000 (20:04 +0100)]
Bump libdcp for verify fixes (#2457 and #2459).

14 months agoDon't read video/audio from DCPs if it is being ignored (#2456).
Carl Hetherington [Thu, 16 Feb 2023 22:58:38 +0000 (23:58 +0100)]
Don't read video/audio from DCPs if it is being ignored (#2456).

This greatly speeds up the process of getting subtitles from a DCP.

14 months agoSupporters update. v2.16.43
Carl Hetherington [Thu, 16 Feb 2023 00:07:22 +0000 (01:07 +0100)]
Supporters update.

14 months agoBump libdcp for MainPictureStoredArea fix (#2452).
Carl Hetherington [Mon, 13 Feb 2023 15:41:52 +0000 (16:41 +0100)]
Bump libdcp for MainPictureStoredArea fix (#2452).

14 months agoBump libdcp again for fix to dcpkdm (#2446).
Carl Hetherington [Sun, 12 Feb 2023 22:35:47 +0000 (23:35 +0100)]
Bump libdcp again for fix to dcpkdm (#2446).

14 months agoFix build for new libdcp.
Carl Hetherington [Sun, 12 Feb 2023 22:08:58 +0000 (23:08 +0100)]
Fix build for new libdcp.

14 months agoBump libdcp for new dcpverify options (#2444).
Carl Hetherington [Sun, 12 Feb 2023 19:15:40 +0000 (20:15 +0100)]
Bump libdcp for new dcpverify options (#2444).

14 months agoFix non-ASCII paths in the disk writer on Windows (#2440).
Carl Hetherington [Sat, 11 Feb 2023 21:22:13 +0000 (22:22 +0100)]
Fix non-ASCII paths in the disk writer on Windows (#2440).

14 months agoUse kdm_for_screen also in dcpomatic_kdm
Carl Hetherington [Sat, 28 Jan 2023 23:59:48 +0000 (00:59 +0100)]
Use kdm_for_screen also in dcpomatic_kdm

14 months agoPass make_kdm as a function into kdm_for_screen().
Carl Hetherington [Sat, 28 Jan 2023 23:45:43 +0000 (00:45 +0100)]
Pass make_kdm as a function into kdm_for_screen().

14 months agoCleanup: extract encrypt() call from Film::make_kdm().
Carl Hetherington [Sat, 28 Jan 2023 23:07:10 +0000 (00:07 +0100)]
Cleanup: extract encrypt() call from Film::make_kdm().

14 months agoUse the correct prompt for file/folder.
Carl Hetherington [Sat, 28 Jan 2023 09:18:18 +0000 (10:18 +0100)]
Use the correct prompt for file/folder.

14 months agoFix incorrect messages about KDMs being written to folders.
Carl Hetherington [Sat, 28 Jan 2023 09:18:11 +0000 (10:18 +0100)]
Fix incorrect messages about KDMs being written to folders.

14 months agoImprove error when the KDM period is outside the signer period in the KDM creator.
Carl Hetherington [Fri, 27 Jan 2023 22:09:53 +0000 (23:09 +0100)]
Improve error when the KDM period is outside the signer period in the KDM creator.

14 months agoWarn/error on making KDMs using recipient certs whose validity periods
Carl Hetherington [Thu, 19 Jan 2023 21:03:21 +0000 (22:03 +0100)]
Warn/error on making KDMs using recipient certs whose validity periods
lie outside those of the KDMs (#2423).

14 months agoCleanup: use an early return to calm some indentation.
Carl Hetherington [Thu, 19 Jan 2023 12:00:21 +0000 (13:00 +0100)]
Cleanup: use an early return to calm some indentation.

14 months agoFix typo in zh_CN translation.
Carl Hetherington [Fri, 10 Feb 2023 22:35:54 +0000 (23:35 +0100)]
Fix typo in zh_CN translation.

14 months agoExport 24-bit audio in Prores files (#2438).
Carl Hetherington [Fri, 10 Feb 2023 22:00:13 +0000 (23:00 +0100)]
Export 24-bit audio in Prores files (#2438).

14 months agoIgnore overlapping ATMOS data in the same way that we ignore video (#2429).
Carl Hetherington [Thu, 9 Feb 2023 23:38:33 +0000 (00:38 +0100)]
Ignore overlapping ATMOS data in the same way that we ignore video (#2429).

14 months agoFix multiple video overlaps.
Carl Hetherington [Thu, 9 Feb 2023 23:25:06 +0000 (00:25 +0100)]
Fix multiple video overlaps.

14 months agoCleanup: use vector instead of list.
Carl Hetherington [Thu, 9 Feb 2023 22:39:29 +0000 (23:39 +0100)]
Cleanup: use vector instead of list.

14 months agoCleanup: add Content::period().
Carl Hetherington [Thu, 9 Feb 2023 21:49:47 +0000 (22:49 +0100)]
Cleanup: add Content::period().

14 months agoCleanup: use some better variable names.
Carl Hetherington [Thu, 9 Feb 2023 21:42:11 +0000 (22:42 +0100)]
Cleanup: use some better variable names.

14 months agoClarify comment.
Carl Hetherington [Thu, 9 Feb 2023 21:16:36 +0000 (22:16 +0100)]
Clarify comment.

14 months agoCleanup: remove unnecessary check.
Carl Hetherington [Thu, 9 Feb 2023 21:07:39 +0000 (22:07 +0100)]
Cleanup: remove unnecessary check.

14 months agoAdd failing test.
Carl Hetherington [Mon, 6 Feb 2023 01:56:31 +0000 (02:56 +0100)]
Add failing test.

14 months agoRecover better errors from ext4.
Carl Hetherington [Thu, 29 Dec 2022 22:38:39 +0000 (23:38 +0100)]
Recover better errors from ext4.

14 months agoFix placement of frame rate spinner (may fix #2182).
Carl Hetherington [Sun, 5 Feb 2023 15:54:28 +0000 (16:54 +0100)]
Fix placement of frame rate spinner (may fix #2182).

14 months agoSlightly improve alignment (still not right though).
Carl Hetherington [Sun, 5 Feb 2023 15:53:58 +0000 (16:53 +0100)]
Slightly improve alignment (still not right though).

14 months agoTidy up layout.
Carl Hetherington [Sun, 5 Feb 2023 15:53:40 +0000 (16:53 +0100)]
Tidy up layout.

14 months agoMake the timeline look better when there is no content in the film.
Carl Hetherington [Sun, 5 Feb 2023 12:57:12 +0000 (13:57 +0100)]
Make the timeline look better when there is no content in the film.

14 months agoDelete in timeline removes content (#2370).
Carl Hetherington [Sun, 5 Feb 2023 12:50:52 +0000 (13:50 +0100)]
Delete in timeline removes content (#2370).

14 months agoCleanup: use ScopeGuard.
Carl Hetherington [Sun, 5 Feb 2023 12:50:26 +0000 (13:50 +0100)]
Cleanup: use ScopeGuard.

14 months agoUpdate out-of-date version requirements in wscript.
Carl Hetherington [Sat, 4 Feb 2023 21:11:05 +0000 (22:11 +0100)]
Update out-of-date version requirements in wscript.

14 months agoFix missing verify string. v2.16.42
Carl Hetherington [Fri, 3 Feb 2023 21:49:20 +0000 (22:49 +0100)]
Fix missing verify string.

14 months agoBump libdcp for IssueDate fix (#2435).
Carl Hetherington [Thu, 2 Feb 2023 00:41:28 +0000 (01:41 +0100)]
Bump libdcp for IssueDate fix (#2435).

14 months agoAdd missing preferences menu option on macOS.
Carl Hetherington [Sat, 28 Jan 2023 08:16:44 +0000 (09:16 +0100)]
Add missing preferences menu option on macOS.

14 months agoHandle 2D/3D mismatches in the player (#2409).
Carl Hetherington [Wed, 11 Jan 2023 22:00:25 +0000 (23:00 +0100)]
Handle 2D/3D mismatches in the player (#2409).

Previously if there was 2D content in a 3D project (or vice versa)
the player would emit the video anyway and the encoder would have
to deal with it.

Since previously the FFmpeg encoder did not deal with this quite
right, it seems to make sense to move the logic into the player
so that neither encoder has to worry about it.

14 months agoCleanup: replace another short variable name.
Carl Hetherington [Wed, 11 Jan 2023 21:06:07 +0000 (22:06 +0100)]
Cleanup: replace another short variable name.

14 months agoCleanup: replace short variable name.
Carl Hetherington [Wed, 11 Jan 2023 20:33:52 +0000 (21:33 +0100)]
Cleanup: replace short variable name.

14 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Mon, 30 Jan 2023 22:09:04 +0000 (23:09 +0100)]
Updated sl_SI translation from Martin Srebotnjak.

14 months agoAdd some logging to ext4_mkfs.
Carl Hetherington [Wed, 18 Jan 2023 23:50:18 +0000 (00:50 +0100)]
Add some logging to ext4_mkfs.

14 months agoAdd DiskWriterBackendResponse::write_to_nanomsg() and use it
Carl Hetherington [Thu, 26 Jan 2023 23:43:05 +0000 (00:43 +0100)]
Add DiskWriterBackendResponse::write_to_nanomsg() and use it
everywhere.  In the process, use raw_convert() on both ends
to avoid any locale-based problems with floating point number
separators.

14 months agoAdd some notes to DEVELOP.md
Carl Hetherington [Wed, 18 Jan 2023 23:30:35 +0000 (00:30 +0100)]
Add some notes to DEVELOP.md

14 months agoBetter logging in macOS unmount code.
Carl Hetherington [Thu, 12 Jan 2023 23:59:40 +0000 (00:59 +0100)]
Better logging in macOS unmount code.

14 months agoIncrease unmount timeout to 5s - maybe... this is a bit of a guess.
Carl Hetherington [Thu, 12 Jan 2023 23:59:38 +0000 (00:59 +0100)]
Increase unmount timeout to 5s - maybe... this is a bit of a guess.

14 months agoUse DiskWriterBackEndResponse, and add some more information to the unmount error.
Carl Hetherington [Wed, 11 Jan 2023 15:32:23 +0000 (16:32 +0100)]
Use DiskWriterBackEndResponse, and add some more information to the unmount error.

14 months agoAdd DiskWriterBackEndResponse.
Carl Hetherington [Wed, 11 Jan 2023 15:31:56 +0000 (16:31 +0100)]
Add DiskWriterBackEndResponse.

14 months agoMore stack-allocated Dialog objects.
Carl Hetherington [Fri, 27 Jan 2023 12:41:49 +0000 (13:41 +0100)]
More stack-allocated Dialog objects.

15 months agoBump leqm-nrt for analysis crash fix (#2432).
Carl Hetherington [Thu, 26 Jan 2023 21:04:21 +0000 (22:04 +0100)]
Bump leqm-nrt for analysis crash fix (#2432).

15 months agoSupporters update. v2.16.41
Carl Hetherington [Tue, 24 Jan 2023 10:23:45 +0000 (11:23 +0100)]
Supporters update.

15 months agoBump libdcp for fix to AudioChannelLabelSubDescriptor count (#2431).
Carl Hetherington [Tue, 24 Jan 2023 00:21:28 +0000 (01:21 +0100)]
Bump libdcp for fix to AudioChannelLabelSubDescriptor count (#2431).

15 months agoUse MCASoundField::STEREO (20) for stereo DCPs.
Carl Hetherington [Sun, 15 Jan 2023 20:49:39 +0000 (21:49 +0100)]
Use MCASoundField::STEREO (20) for stereo DCPs.

15 months agoFix isdcf name ATMOS test.
Carl Hetherington [Sun, 22 Jan 2023 23:26:38 +0000 (00:26 +0100)]
Fix isdcf name ATMOS test.

15 months agoFix error when OK-ing a text track dialog with no language (#2430).
Carl Hetherington [Sat, 21 Jan 2023 00:07:01 +0000 (01:07 +0100)]
Fix error when OK-ing a text track dialog with no language (#2430).

15 months agoFix extra widgets appearing when switching between subs and closed captions in the...
Carl Hetherington [Fri, 20 Jan 2023 23:52:42 +0000 (00:52 +0100)]
Fix extra widgets appearing when switching between subs and closed captions in the timing tab.

15 months agoSimplify and fix up selection code for the content list (#2428).
Carl Hetherington [Wed, 18 Jan 2023 23:07:16 +0000 (00:07 +0100)]
Simplify and fix up selection code for the content list (#2428).

This has been broken for a while, I think since the ContentListCtrl
was added (overriding wxListCtrl) which stopped the GetItemData
stuff working.

15 months agoUse ScopeGuard for _no_check_selection
Carl Hetherington [Wed, 18 Jan 2023 23:03:09 +0000 (00:03 +0100)]
Use ScopeGuard for _no_check_selection

15 months agoCleanup: stack-allocated dialogs.
Carl Hetherington [Wed, 18 Jan 2023 22:13:02 +0000 (23:13 +0100)]
Cleanup: stack-allocated dialogs.

15 months agoSupport Dolby-style WAV back surround names when guessing mappings (#2427).
Carl Hetherington [Wed, 18 Jan 2023 16:05:37 +0000 (17:05 +0100)]
Support Dolby-style WAV back surround names when guessing mappings (#2427).

15 months agoDolby is apparently recreating all their certificates (as they will soon expire)...
Carl Hetherington [Wed, 18 Jan 2023 13:30:37 +0000 (14:30 +0100)]
Dolby is apparently recreating all their certificates (as they will soon expire) and they renamed the files.

15 months agoAdd -ISDCF to ISDCF name as required (#2416).
Carl Hetherington [Tue, 17 Jan 2023 23:53:17 +0000 (00:53 +0100)]
Add -ISDCF to ISDCF name as required (#2416).

15 months agoCleanup: make a temporary for the content list.
Carl Hetherington [Tue, 17 Jan 2023 23:53:02 +0000 (00:53 +0100)]
Cleanup: make a temporary for the content list.

15 months agoDebug code to print out available icu locales.
Carl Hetherington [Tue, 17 Jan 2023 20:51:33 +0000 (21:51 +0100)]
Debug code to print out available icu locales.

15 months agoAllow Collators to have their language specified, and specify it for tests.
Carl Hetherington [Tue, 17 Jan 2023 20:50:59 +0000 (21:50 +0100)]
Allow Collators to have their language specified, and specify it for tests.

15 months agoUse Collator for recipients search (#2426).
Carl Hetherington [Tue, 17 Jan 2023 16:33:44 +0000 (17:33 +0100)]
Use Collator for recipients search (#2426).

15 months agoCleanup: use stack-allocated Dialogs.
Carl Hetherington [Tue, 17 Jan 2023 16:33:35 +0000 (17:33 +0100)]
Cleanup: use stack-allocated Dialogs.

15 months agoUse collator to search for screens (#2426).
Carl Hetherington [Tue, 17 Jan 2023 16:33:15 +0000 (17:33 +0100)]
Use collator to search for screens (#2426).

15 months agoAdd basic Collator::find() method.
Carl Hetherington [Tue, 17 Jan 2023 16:21:55 +0000 (17:21 +0100)]
Add basic Collator::find() method.

15 months agoAdd a comment.
Carl Hetherington [Tue, 17 Jan 2023 16:21:46 +0000 (17:21 +0100)]
Add a comment.

15 months agoCleanup: use std::vector and extract utf8_to_utf16().
Carl Hetherington [Tue, 17 Jan 2023 16:21:38 +0000 (17:21 +0100)]
Cleanup: use std::vector and extract utf8_to_utf16().

15 months agoAdd some very basic tests of Collator.
Carl Hetherington [Tue, 17 Jan 2023 16:20:57 +0000 (17:20 +0100)]
Add some very basic tests of Collator.

15 months agoBuild fix for Windows.
Carl Hetherington [Tue, 17 Jan 2023 06:46:22 +0000 (07:46 +0100)]
Build fix for Windows.

15 months agoSwap some wx_ptr for simple members/locals.
Carl Hetherington [Mon, 16 Jan 2023 23:20:28 +0000 (00:20 +0100)]
Swap some wx_ptr for simple members/locals.

15 months agoAdd certificate validity period to the screen dialog.
Carl Hetherington [Mon, 16 Jan 2023 23:13:15 +0000 (00:13 +0100)]
Add certificate validity period to the screen dialog.

15 months agoTidy up certificate detail handling.
Carl Hetherington [Mon, 16 Jan 2023 23:11:58 +0000 (00:11 +0100)]
Tidy up certificate detail handling.

15 months agoLayout tweaks to screen dialog.
Carl Hetherington [Mon, 16 Jan 2023 22:58:04 +0000 (23:58 +0100)]
Layout tweaks to screen dialog.

15 months agoAdd indent option to wxGridBagSizer version of add_label_to_sizer
Carl Hetherington [Mon, 16 Jan 2023 22:57:38 +0000 (23:57 +0100)]
Add indent option to wxGridBagSizer version of add_label_to_sizer

Also remove the use of wxRIGHT as I don't think it was doing anything
before.

15 months agoAdd DCPOMATIC_SUBHEADING_TOP_PAD.
Carl Hetherington [Mon, 16 Jan 2023 22:57:16 +0000 (23:57 +0100)]
Add DCPOMATIC_SUBHEADING_TOP_PAD.

15 months agoDouble-click to edit cinemas/screens.
Carl Hetherington [Mon, 16 Jan 2023 22:17:01 +0000 (23:17 +0100)]
Double-click to edit cinemas/screens.

15 months agoStack-allocate wxDialog instead of using wx_ptr.
Carl Hetherington [Mon, 16 Jan 2023 21:50:48 +0000 (22:50 +0100)]
Stack-allocate wxDialog instead of using wx_ptr.

15 months agoAdd subject/issuer details to the screen dialog (#2422).
Carl Hetherington [Mon, 16 Jan 2023 20:20:02 +0000 (21:20 +0100)]
Add subject/issuer details to the screen dialog (#2422).

15 months agoAdd tooltip for recipient file in the screen dialog.
Carl Hetherington [Mon, 16 Jan 2023 19:56:12 +0000 (20:56 +0100)]
Add tooltip for recipient file in the screen dialog.

15 months agoAdd set_recipient_file().
Carl Hetherington [Mon, 16 Jan 2023 19:53:44 +0000 (20:53 +0100)]
Add set_recipient_file().

15 months agoCleanup: use auto.
Carl Hetherington [Mon, 16 Jan 2023 19:53:32 +0000 (20:53 +0100)]
Cleanup: use auto.

15 months agoLimit the size of the recipient file name in the screen dialog.
Carl Hetherington [Mon, 16 Jan 2023 19:53:11 +0000 (20:53 +0100)]
Limit the size of the recipient file name in the screen dialog.

15 months agoManually call selection_changed() after removing a screen (#2418).
Carl Hetherington [Sun, 15 Jan 2023 22:10:04 +0000 (23:10 +0100)]
Manually call selection_changed() after removing a screen (#2418).

This is called by the signal handler on Linux but not on Windows,
for some reason.

15 months agoWrite dummy subtitles also to empty Interop reels (#2421).
Carl Hetherington [Sun, 15 Jan 2023 22:35:43 +0000 (23:35 +0100)]
Write dummy subtitles also to empty Interop reels (#2421).

15 months agoBump libdcp to version which checks for empty interop subtitle assets.
Carl Hetherington [Sun, 15 Jan 2023 22:35:22 +0000 (23:35 +0100)]
Bump libdcp to version which checks for empty interop subtitle assets.

15 months agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Mon, 16 Jan 2023 07:38:03 +0000 (08:38 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

15 months agoUse wx_ptr more.
Carl Hetherington [Mon, 16 Jan 2023 00:14:37 +0000 (01:14 +0100)]
Use wx_ptr more.

15 months agoIt seems wrong to Destroy() these widgets as I think the parent will do it.
Carl Hetherington [Mon, 16 Jan 2023 00:13:39 +0000 (01:13 +0100)]
It seems wrong to Destroy() these widgets as I think the parent will do it.

15 months agoMake reset() safer if the new throws.
Carl Hetherington [Mon, 16 Jan 2023 00:13:25 +0000 (01:13 +0100)]
Make reset() safer if the new throws.

15 months agoTell user what just happened if they get either of the disk writer confirmations...
Carl Hetherington [Sun, 15 Jan 2023 19:26:20 +0000 (20:26 +0100)]
Tell user what just happened if they get either of the disk writer confirmations wrong (#2417).

15 months agoHandle translation correctly for the warning about wiping a drive (#2415).
Carl Hetherington [Sun, 15 Jan 2023 19:09:23 +0000 (20:09 +0100)]
Handle translation correctly for the warning about wiping a drive (#2415).

15 months agoHandle translation correctly for the initial "beta-grade" warning in the disk writer...
Carl Hetherington [Sun, 15 Jan 2023 18:57:15 +0000 (19:57 +0100)]
Handle translation correctly for the initial "beta-grade" warning in the disk writer (#2415).

15 months agoCleanup: 0 -> nullptr.
Carl Hetherington [Sun, 15 Jan 2023 18:56:45 +0000 (19:56 +0100)]
Cleanup: 0 -> nullptr.

15 months agoRemove incorrect quotes from parameter.
Carl Hetherington [Sun, 15 Jan 2023 18:40:28 +0000 (19:40 +0100)]
Remove incorrect quotes from parameter.

15 months agopot/merge.
Carl Hetherington [Sun, 15 Jan 2023 18:29:52 +0000 (19:29 +0100)]
pot/merge.

15 months agoUse wx_ptr for the splash screen.
Carl Hetherington [Sun, 15 Jan 2023 00:25:27 +0000 (01:25 +0100)]
Use wx_ptr for the splash screen.