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

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

14 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().

14 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.

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

14 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.

14 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.

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

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

14 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.

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

14 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.

14 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.

14 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).

14 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.

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

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

14 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.

14 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.

14 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).

14 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.

14 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.

15 months agoAdd FileDialog (wrapping wxFileDialog); currently it sets up the initial path nicely.
Carl Hetherington [Tue, 3 Jan 2023 19:47:41 +0000 (20:47 +0100)]
Add FileDialog (wrapping wxFileDialog); currently it sets up the initial path nicely.

15 months agoGeneralise add_files_path to initial_paths().
Carl Hetherington [Tue, 3 Jan 2023 19:34:01 +0000 (20:34 +0100)]
Generalise add_files_path to initial_paths().

15 months agoCleanup: use ScopeGuard.
Carl Hetherington [Tue, 3 Jan 2023 16:28:53 +0000 (17:28 +0100)]
Cleanup: use ScopeGuard.

15 months agoSupporters update.
Carl Hetherington [Tue, 3 Jan 2023 14:03:54 +0000 (15:03 +0100)]
Supporters update.

15 months agoFix errors when a custom size is given which is larger than the container (#2404).
Carl Hetherington [Mon, 2 Jan 2023 14:29:51 +0000 (15:29 +0100)]
Fix errors when a custom size is given which is larger than the container (#2404).

15 months agoHappy new year!
Carl Hetherington [Sat, 31 Dec 2022 23:16:13 +0000 (00:16 +0100)]
Happy new year!

15 months agoBump libdcp to fix an error in the player (#2401). v2.16.38
Carl Hetherington [Fri, 30 Dec 2022 17:45:16 +0000 (18:45 +0100)]
Bump libdcp to fix an error in the player (#2401).

15 months agoCleanup: test tidying.
Carl Hetherington [Thu, 29 Dec 2022 00:47:32 +0000 (01:47 +0100)]
Cleanup: test tidying.

15 months agoFix default VersionNumber when it's not specified in the metadata.
Carl Hetherington [Wed, 28 Dec 2022 23:17:32 +0000 (00:17 +0100)]
Fix default VersionNumber when it's not specified in the metadata.

15 months agoSupport drag and drop of film directories onto the batch converter (#340).
Carl Hetherington [Sun, 25 Dec 2022 21:46:07 +0000 (22:46 +0100)]
Support drag and drop of film directories onto the batch converter (#340).

15 months agoShow audio bit depth in content properties (#559).
Carl Hetherington [Sun, 25 Dec 2022 21:34:21 +0000 (22:34 +0100)]
Show audio bit depth in content properties (#559).

15 months agoCleanup: use some auto / make_shared.
Carl Hetherington [Sun, 25 Dec 2022 21:33:53 +0000 (22:33 +0100)]
Cleanup: use some auto / make_shared.

15 months agoTweak property name.
Carl Hetherington [Sun, 25 Dec 2022 21:33:21 +0000 (22:33 +0100)]
Tweak property name.

15 months agoUse icons at the top of the batch converter rather than text buttons at the bottom...
Carl Hetherington [Sun, 25 Dec 2022 20:33:48 +0000 (21:33 +0100)]
Use icons at the top of the batch converter rather than text buttons at the bottom (#2396).

15 months agoMake pause/resume work properly in the batch converter.
Carl Hetherington [Sun, 25 Dec 2022 00:02:17 +0000 (01:02 +0100)]
Make pause/resume work properly in the batch converter.

15 months agoCleanup: rename _empty_condition -> _schedule_condition
Carl Hetherington [Sat, 24 Dec 2022 23:54:41 +0000 (00:54 +0100)]
Cleanup: rename _empty_condition -> _schedule_condition

15 months agoCleanup: remove unnecessary variable.
Carl Hetherington [Sat, 24 Dec 2022 23:22:16 +0000 (00:22 +0100)]
Cleanup: remove unnecessary variable.

15 months agoCleanup: simplify some code.
Carl Hetherington [Sat, 24 Dec 2022 22:52:25 +0000 (23:52 +0100)]
Cleanup: simplify some code.

15 months agoFix crash when starting two batch converters at the same time.
Carl Hetherington [Sat, 24 Dec 2022 22:08:08 +0000 (23:08 +0100)]
Fix crash when starting two batch converters at the same time.

15 months agoBump libdcp for fixes to #2391 and #2394. v2.16.37
Carl Hetherington [Thu, 22 Dec 2022 23:03:44 +0000 (00:03 +0100)]
Bump libdcp for fixes to #2391 and #2394.

15 months agoAdd Marek Dudzik as a tester.
Carl Hetherington [Thu, 22 Dec 2022 21:43:09 +0000 (22:43 +0100)]
Add Marek Dudzik as a tester.

15 months agoBump libdcp for less strict COC verification (#2395). v2.16.36
Carl Hetherington [Wed, 21 Dec 2022 11:28:35 +0000 (12:28 +0100)]
Bump libdcp for less strict COC verification (#2395).

15 months agoBump libdcp for improved COC error on verification.
Carl Hetherington [Tue, 20 Dec 2022 19:23:22 +0000 (20:23 +0100)]
Bump libdcp for improved COC error on verification.

15 months agoSupporters update.
Carl Hetherington [Tue, 20 Dec 2022 17:59:13 +0000 (18:59 +0100)]
Supporters update.

15 months agoStill more wscript adventures.
Carl Hetherington [Tue, 20 Dec 2022 11:22:39 +0000 (12:22 +0100)]
Still more wscript adventures.

15 months agoMore wscript character encoding adventures.
Carl Hetherington [Mon, 19 Dec 2022 11:34:47 +0000 (12:34 +0100)]
More wscript character encoding adventures.

15 months agoBump libdcp for another wscript character encoding fix.
Carl Hetherington [Mon, 19 Dec 2022 09:35:51 +0000 (10:35 +0100)]
Bump libdcp for another wscript character encoding fix.

15 months agoBump libdcp for wscript character encoding fix.
Carl Hetherington [Mon, 19 Dec 2022 01:04:25 +0000 (02:04 +0100)]
Bump libdcp for wscript character encoding fix.

15 months agoFix weird exception handling.
Carl Hetherington [Sun, 18 Dec 2022 23:36:36 +0000 (00:36 +0100)]
Fix weird exception handling.

This is a bit cleaner and stops odd messages about stereoscopic assets
appearing in the logs.

15 months agoUse the last_player_load_directory when adding OVs (#2094).
Carl Hetherington [Sat, 17 Dec 2022 21:40:37 +0000 (22:40 +0100)]
Use the last_player_load_directory when adding OVs (#2094).

15 months agoCleanup: use ScopeGuard.
Carl Hetherington [Sat, 17 Dec 2022 21:36:45 +0000 (22:36 +0100)]
Cleanup: use ScopeGuard.

16 months agoMake sure main picture active area values are even (#2392).
Carl Hetherington [Thu, 15 Dec 2022 23:19:00 +0000 (00:19 +0100)]
Make sure main picture active area values are even (#2392).

16 months agoBump libdcp for main picture active area changes.
Carl Hetherington [Thu, 15 Dec 2022 23:18:41 +0000 (00:18 +0100)]
Bump libdcp for main picture active area changes.

16 months agoFix build on Ubuntu 16.04.
Carl Hetherington [Thu, 15 Dec 2022 15:39:53 +0000 (16:39 +0100)]
Fix build on Ubuntu 16.04.

16 months agoBump libdcp to a version with UTCOffset.
Carl Hetherington [Tue, 13 Dec 2022 21:17:31 +0000 (22:17 +0100)]
Bump libdcp to a version with UTCOffset.

This is needed for 2.17.x but I ran the tests on main and they look
OK, so doing it this way should save a few merge conflicts.

16 months agoMore header trimming.
Carl Hetherington [Tue, 13 Dec 2022 10:18:31 +0000 (11:18 +0100)]
More header trimming.