dcpomatic.git
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.

15 months agoUse wx_ptr some more.
Carl Hetherington [Sat, 14 Jan 2023 23:16:30 +0000 (00:16 +0100)]
Use wx_ptr some more.

15 months agoFix reset() to use rvalue references.
Carl Hetherington [Sat, 14 Jan 2023 23:16:21 +0000 (00:16 +0100)]
Fix reset() to use rvalue references.

15 months agoUse wx_ptr for AutoCropDialog
Carl Hetherington [Sat, 14 Jan 2023 21:50:14 +0000 (22:50 +0100)]
Use wx_ptr for AutoCropDialog

15 months agoAdd reset() to wx_ptr and allow it to be null.
Carl Hetherington [Sat, 14 Jan 2023 21:50:09 +0000 (22:50 +0100)]
Add reset() to wx_ptr and allow it to be null.

15 months agoUse some more wx_ptr.
Carl Hetherington [Sat, 14 Jan 2023 21:10:36 +0000 (22:10 +0100)]
Use some more wx_ptr.

15 months agoAdd wx_ptr and use it instead of ScopeGuard in a lot of places.
Carl Hetherington [Sat, 14 Jan 2023 21:06:05 +0000 (22:06 +0100)]
Add wx_ptr and use it instead of ScopeGuard in a lot of places.

15 months agoBump libdcp to fix font ID bug in the combiner (#2402).
Carl Hetherington [Sun, 8 Jan 2023 13:31:19 +0000 (14:31 +0100)]
Bump libdcp to fix font ID bug in the combiner (#2402).

15 months agoUse ScopeGuard more.
Carl Hetherington [Sat, 14 Jan 2023 00:23:06 +0000 (01:23 +0100)]
Use ScopeGuard more.

15 months agoAdd some branch notes to DEVELOP.md
Carl Hetherington [Fri, 13 Jan 2023 21:53:52 +0000 (22:53 +0100)]
Add some branch notes to DEVELOP.md

15 months agoAdd options for where the add files dialog starts (#2413).
Carl Hetherington [Fri, 13 Jan 2023 19:40:24 +0000 (20:40 +0100)]
Add options for where the add files dialog starts (#2413).

15 months agoAdd bind() to Choice.
Carl Hetherington [Fri, 13 Jan 2023 19:39:51 +0000 (20:39 +0100)]
Add bind() to Choice.

15 months agoAllow optional override of the initial path taken from the key.
Carl Hetherington [Fri, 13 Jan 2023 19:39:45 +0000 (20:39 +0100)]
Allow optional override of the initial path taken from the key.

15 months agoUse FileDialog for adding content files.
Carl Hetherington [Fri, 13 Jan 2023 12:57:52 +0000 (13:57 +0100)]
Use FileDialog for adding content files.

15 months agoUse more ScopeGuards.
Carl Hetherington [Fri, 13 Jan 2023 12:57:28 +0000 (13:57 +0100)]
Use more ScopeGuards.

15 months agoAdd header guard.
Carl Hetherington [Fri, 13 Jan 2023 11:24:16 +0000 (12:24 +0100)]
Add header guard.

15 months agoTrim spaces from entries to certificate download pages.
Carl Hetherington [Fri, 13 Jan 2023 22:06:38 +0000 (23:06 +0100)]
Trim spaces from entries to certificate download pages.

15 months agoGive a better error when entering a bad Dolby/Doremi serial number.
Carl Hetherington [Fri, 13 Jan 2023 21:33:03 +0000 (22:33 +0100)]
Give a better error when entering a bad Dolby/Doremi serial number.

15 months agoAdd a section to try to clarify KDMs for distributors.
Carl Hetherington [Sun, 8 Jan 2023 21:52:59 +0000 (22:52 +0100)]
Add a section to try to clarify KDMs for distributors.

15 months agoRemove blank line and fix </section> position.
Carl Hetherington [Sun, 8 Jan 2023 21:27:04 +0000 (22:27 +0100)]
Remove blank line and fix </section> position.

15 months agoSpecify python3 for pptex.py
Carl Hetherington [Sun, 8 Jan 2023 21:26:18 +0000 (22:26 +0100)]
Specify python3 for pptex.py

15 months agoRemember paths in the add input dir picker in the combiner.
Carl Hetherington [Sat, 7 Jan 2023 19:13:14 +0000 (20:13 +0100)]
Remember paths in the add input dir picker in the combiner.

15 months agoAdd DirDialog.
Carl Hetherington [Sat, 7 Jan 2023 19:12:55 +0000 (20:12 +0100)]
Add DirDialog.

15 months agoFix incorrect filenames. v2.16.40
Carl Hetherington [Sat, 7 Jan 2023 15:58:11 +0000 (16:58 +0100)]
Fix incorrect filenames.

15 months agoFix typo of new icon extensions.
Carl Hetherington [Sat, 7 Jan 2023 14:58:25 +0000 (15:58 +0100)]
Fix typo of new icon extensions.

15 months agoFix missing batch converter tool icons.
Carl Hetherington [Fri, 6 Jan 2023 21:16:48 +0000 (22:16 +0100)]
Fix missing batch converter tool icons.

15 months agoCleanup: use a loop for POSIX icons.
Carl Hetherington [Fri, 6 Jan 2023 21:16:37 +0000 (22:16 +0100)]
Cleanup: use a loop for POSIX icons.

15 months agoSupporters update. v2.16.39
Carl Hetherington [Wed, 4 Jan 2023 12:05:34 +0000 (13:05 +0100)]
Supporters update.

15 months agoAllow drag-and-drop of DKDMs onto the list in the KDM creator.
Carl Hetherington [Tue, 3 Jan 2023 20:17:36 +0000 (21:17 +0100)]
Allow drag-and-drop of DKDMs onto the list in the KDM creator.

15 months agoExtract add_dkdm().
Carl Hetherington [Tue, 3 Jan 2023 20:17:25 +0000 (21:17 +0100)]
Extract add_dkdm().

15 months agoCleanup: use auto.
Carl Hetherington [Tue, 3 Jan 2023 20:17:03 +0000 (21:17 +0100)]
Cleanup: use auto.

15 months agoAlso use FileDialog for adding certificates to screens.
Carl Hetherington [Tue, 3 Jan 2023 19:56:54 +0000 (20:56 +0100)]
Also use FileDialog for adding certificates to screens.

15 months agoUse FileDialog for Add DKDM in the KDM creator.
Carl Hetherington [Tue, 3 Jan 2023 19:47:53 +0000 (20:47 +0100)]
Use FileDialog for Add DKDM in the KDM creator.