dcpomatic.git
2 years agoBump libdcp for fix to subtitle formatting (#2205).
Carl Hetherington [Tue, 15 Mar 2022 14:37:23 +0000 (15:37 +0100)]
Bump libdcp for fix to subtitle formatting (#2205).

2 years agoAdd config option for default KDM type.
Carl Hetherington [Sat, 19 Mar 2022 21:34:00 +0000 (22:34 +0100)]
Add config option for default KDM type.

2 years agoMake a small class to choose KDM types.
Carl Hetherington [Sat, 19 Mar 2022 19:30:20 +0000 (20:30 +0100)]
Make a small class to choose KDM types.

2 years agoRemove KDM type that was added for testing.
Carl Hetherington [Sat, 19 Mar 2022 19:08:06 +0000 (20:08 +0100)]
Remove KDM type that was added for testing.

2 years agoAdd $CINEMA_SHORT_NAME variable in KDM emails.
Carl Hetherington [Sat, 19 Mar 2022 18:43:31 +0000 (19:43 +0100)]
Add $CINEMA_SHORT_NAME variable in KDM emails.

2 years agoCleanup: remove some duplicated code.
Carl Hetherington [Sat, 19 Mar 2022 18:34:22 +0000 (19:34 +0100)]
Cleanup: remove some duplicated code.

2 years agoWe can (and should) get the screens straight from _checked_screens now.
Carl Hetherington [Sat, 19 Mar 2022 18:23:07 +0000 (19:23 +0100)]
We can (and should) get the screens straight from _checked_screens now.

2 years agoNow we don't need _cinemas and _screens any more.
Carl Hetherington [Sat, 19 Mar 2022 18:21:19 +0000 (19:21 +0100)]
Now we don't need _cinemas and _screens any more.

2 years agoFix _selected_* to only store pointers to things.
Carl Hetherington [Sat, 19 Mar 2022 18:11:35 +0000 (19:11 +0100)]
Fix _selected_* to only store pointers to things.

The wxWidgets item IDs can easily become outdated (when a search
is done).

2 years agoSpeed things up by sorting before adding cinemas.
Carl Hetherington [Fri, 18 Mar 2022 22:52:58 +0000 (23:52 +0100)]
Speed things up by sorting before adding cinemas.

2 years agoPreserve checked status during search (#2212).
Carl Hetherington [Fri, 18 Mar 2022 21:50:12 +0000 (22:50 +0100)]
Preserve checked status during search (#2212).

2 years agoAdd an initialisation in the class.
Carl Hetherington [Fri, 18 Mar 2022 21:49:29 +0000 (22:49 +0100)]
Add an initialisation in the class.

2 years agoAlso keep maps the other way around.
Carl Hetherington [Fri, 18 Mar 2022 00:10:24 +0000 (01:10 +0100)]
Also keep maps the other way around.

2 years agoKeep maps of wxTreeListItem to Cinema/Screen.
Carl Hetherington [Thu, 17 Mar 2022 23:57:42 +0000 (00:57 +0100)]
Keep maps of wxTreeListItem to Cinema/Screen.

2 years agoFix writing KDMs with long filenames.
Carl Hetherington [Thu, 17 Mar 2022 20:45:46 +0000 (21:45 +0100)]
Fix writing KDMs with long filenames.

2 years agoUse the ICU library to sort cinemas rather than strcoll() (part of #2208).
Carl Hetherington [Wed, 16 Mar 2022 21:10:55 +0000 (22:10 +0100)]
Use the ICU library to sort cinemas rather than strcoll() (part of #2208).

strcoll() just doesn't really seem to work at all on Windows.

2 years agoEncode UTF-8 subjects and attachment names properly (#2207).
Carl Hetherington [Fri, 11 Mar 2022 22:35:43 +0000 (23:35 +0100)]
Encode UTF-8 subjects and attachment names properly (#2207).

2 years agoSlightly improve behaviour under low memory conditions.
Carl Hetherington [Fri, 11 Mar 2022 22:35:08 +0000 (23:35 +0100)]
Slightly improve behaviour under low memory conditions.

2 years agoUse a vector<pair<...>> to store screens and cinemas instead of a map.
Carl Hetherington [Fri, 11 Mar 2022 22:34:00 +0000 (23:34 +0100)]
Use a vector<pair<...>> to store screens and cinemas instead of a map.

In this way, ordering will be preserved (part of #2208).

2 years agoReplace class shim with a custom comparator.
Carl Hetherington [Sun, 13 Mar 2022 20:10:36 +0000 (21:10 +0100)]
Replace class shim with a custom comparator.

2 years agoFix weird placement of SetSortColumn() call causing strange assertion failure in...
Carl Hetherington [Sun, 13 Mar 2022 20:04:02 +0000 (21:04 +0100)]
Fix weird placement of SetSortColumn() call causing strange assertion failure in wxWidgets.

2 years agoCleanup: use some better variable names.
Carl Hetherington [Fri, 11 Mar 2022 21:41:36 +0000 (22:41 +0100)]
Cleanup: use some better variable names.

2 years agoMake the value used for 'f' in KDM names consistent (#1657).
Carl Hetherington [Thu, 10 Mar 2022 22:00:43 +0000 (23:00 +0100)]
Make the value used for 'f' in KDM names consistent (#1657).

Before it was mostly the film name, but this is confusing when a
single film contains multiple CPLs.

2 years agoCleanup: tidying.
Carl Hetherington [Sat, 5 Mar 2022 10:15:59 +0000 (11:15 +0100)]
Cleanup: tidying.

2 years agoFix tests for newly-saved write to/email checkboxes.
Carl Hetherington [Mon, 14 Mar 2022 21:16:52 +0000 (22:16 +0100)]
Fix tests for newly-saved write to/email checkboxes.

2 years agoFix incorrectly-timed emission of silence padding causing buffer fill (#2217).
Carl Hetherington [Mon, 14 Mar 2022 19:29:44 +0000 (20:29 +0100)]
Fix incorrectly-timed emission of silence padding causing buffer fill (#2217).

On initialisation or after seek we insert silence corresponding to
a positive delay in an audio stream.  Previously this inserted silence
was done at time 0, so that after a seek to time T the silent frames
would come out of the audio merger at time 0 and then the player would
fill the space up to time T with silence.  If T was far enough along
this would fill the audio buffers without there being any video.

2 years agoC++11 tidying.
Carl Hetherington [Mon, 14 Mar 2022 19:24:13 +0000 (20:24 +0100)]
C++11 tidying.

2 years agoCleanup: tidy some comments.
Carl Hetherington [Mon, 14 Mar 2022 19:23:47 +0000 (20:23 +0100)]
Cleanup: tidy some comments.

2 years agoRemember the state of the write to/email checkboxes in the KDM creator across runs...
Carl Hetherington [Sun, 13 Mar 2022 23:09:09 +0000 (00:09 +0100)]
Remember the state of the write to/email checkboxes in the KDM creator across runs (#2213).

2 years agoC++11 tidying.
Carl Hetherington [Sun, 13 Mar 2022 22:53:13 +0000 (23:53 +0100)]
C++11 tidying.

2 years agoTidying.
Carl Hetherington [Sun, 13 Mar 2022 22:52:49 +0000 (23:52 +0100)]
Tidying.

2 years agoFix sensitivity of custom scaled edit button.
Carl Hetherington [Sun, 13 Mar 2022 14:49:06 +0000 (15:49 +0100)]
Fix sensitivity of custom scaled edit button.

2 years agoAllow editing of a screen's cinema / adding a new screen when
Carl Hetherington [Fri, 11 Mar 2022 20:00:32 +0000 (21:00 +0100)]
Allow editing of a screen's cinema / adding a new screen when
a screen is selected (#2210).

2 years agoFix build with the macOS 10.8 version of wxWidgets. v2.16.7
Carl Hetherington [Thu, 10 Mar 2022 07:04:48 +0000 (08:04 +0100)]
Fix build with the macOS 10.8 version of wxWidgets.

2 years agoFix incorrect quoting in helper script. v2.16.x-pending v2.16.6
Carl Hetherington [Wed, 2 Mar 2022 21:10:41 +0000 (22:10 +0100)]
Fix incorrect quoting in helper script.

2 years agoImprove ratings dialog to allow only valid values (#2199).
Carl Hetherington [Tue, 1 Mar 2022 21:41:56 +0000 (22:41 +0100)]
Improve ratings dialog to allow only valid values (#2199).

2 years agoAllow passing flags into TableDialog::add for labels.
Carl Hetherington [Tue, 1 Mar 2022 23:09:58 +0000 (00:09 +0100)]
Allow passing flags into TableDialog::add for labels.

2 years agoAdd search_ctrl_height()
Carl Hetherington [Tue, 1 Mar 2022 21:40:57 +0000 (22:40 +0100)]
Add search_ctrl_height()

2 years agoC++11 cleanup.
Carl Hetherington [Tue, 1 Mar 2022 21:40:47 +0000 (22:40 +0100)]
C++11 cleanup.

2 years agoDon't write a <ContentVersion> tag with an empty <LabelText> (#2191).
Carl Hetherington [Sun, 27 Feb 2022 22:45:46 +0000 (23:45 +0100)]
Don't write a <ContentVersion> tag with an empty <LabelText> (#2191).

I can't see the problem with this, but apparently Dolby
CineInspect complains about it.

We could fix this in libdcp but I think that would make more sense
if this were related to a definite standard violation, instead of
just some tinkering to hide a possibly-incorrect warning.

2 years agoUse some decimal places when reporting transcode speed in the log.
Carl Hetherington [Thu, 17 Feb 2022 20:46:41 +0000 (21:46 +0100)]
Use some decimal places when reporting transcode speed in the log.

2 years agoMark full debian package as replacing the CLI one (#2179).
Carl Hetherington [Sun, 13 Feb 2022 19:15:58 +0000 (20:15 +0100)]
Mark full debian package as replacing the CLI one (#2179).

2 years agoBail out early when there's a reason why the KDM is invalid.
Carl Hetherington [Fri, 28 Jan 2022 19:37:02 +0000 (20:37 +0100)]
Bail out early when there's a reason why the KDM is invalid.

2 years agoAdd some more logging to the DCP examiner.
Carl Hetherington [Fri, 28 Jan 2022 19:36:46 +0000 (20:36 +0100)]
Add some more logging to the DCP examiner.

2 years agoAdd --kdm option to dcpomatic_create
Carl Hetherington [Fri, 28 Jan 2022 19:36:26 +0000 (20:36 +0100)]
Add --kdm option to dcpomatic_create

2 years agoImprove error handling in CLI client slightly.
Carl Hetherington [Fri, 28 Jan 2022 19:06:27 +0000 (20:06 +0100)]
Improve error handling in CLI client slightly.

2 years agoCleanup: use some better variable names.
Carl Hetherington [Fri, 28 Jan 2022 18:58:08 +0000 (19:58 +0100)]
Cleanup: use some better variable names.

2 years agoBasic CLI support for export.
Carl Hetherington [Thu, 27 Jan 2022 19:36:03 +0000 (20:36 +0100)]
Basic CLI support for export.

2 years agoAdd option to use (or not) ISDCF names by default.
Carl Hetherington [Wed, 26 Jan 2022 23:03:17 +0000 (00:03 +0100)]
Add option to use (or not) ISDCF names by default.

2 years agoRemove unused file_dialog_wrapper.h
Carl Hetherington [Sun, 23 Jan 2022 19:47:34 +0000 (20:47 +0100)]
Remove unused file_dialog_wrapper.h

2 years agoAdd option to export config as a .zip (#1776).
Carl Hetherington [Sun, 23 Jan 2022 19:47:27 +0000 (20:47 +0100)]
Add option to export config as a .zip (#1776).

2 years agoSwitch a list for vector.
Carl Hetherington [Sun, 23 Jan 2022 00:01:55 +0000 (01:01 +0100)]
Switch a list for vector.

2 years agoUse checkboxes to decide which screens KDMs will be made for (#1895).
Carl Hetherington [Sat, 22 Jan 2022 22:21:41 +0000 (23:21 +0100)]
Use checkboxes to decide which screens KDMs will be made for (#1895).

2 years agoDisplay the filename / URL that a screen certificate was obtained from (#1894).
Carl Hetherington [Fri, 21 Jan 2022 22:39:03 +0000 (23:39 +0100)]
Display the filename / URL that a screen certificate was obtained from (#1894).

2 years agoC++11 and general tidying.
Carl Hetherington [Fri, 21 Jan 2022 22:38:14 +0000 (23:38 +0100)]
C++11 and general tidying.

2 years agoSupporters update. v2.16.5
Carl Hetherington [Wed, 9 Mar 2022 06:34:24 +0000 (07:34 +0100)]
Supporters update.

2 years agoFix home_directory() with non-US-English pathnames on Windows (#2203).
Carl Hetherington [Tue, 8 Mar 2022 19:57:08 +0000 (20:57 +0100)]
Fix home_directory() with non-US-English pathnames on Windows (#2203).

2 years agoCleanup: remove some unused usings.
Carl Hetherington [Tue, 8 Mar 2022 19:56:48 +0000 (20:56 +0100)]
Cleanup: remove some unused usings.

2 years agoOnly look in the filename (not the whole path) when guessing channels for sound files...
Carl Hetherington [Tue, 8 Mar 2022 22:22:01 +0000 (23:22 +0100)]
Only look in the filename (not the whole path) when guessing channels for sound files (#2204).

2 years agoImprove test output.
Carl Hetherington [Tue, 8 Mar 2022 22:21:37 +0000 (23:21 +0100)]
Improve test output.

2 years agoRemove non-existant option from create help.
Carl Hetherington [Wed, 2 Mar 2022 19:13:43 +0000 (20:13 +0100)]
Remove non-existant option from create help.

2 years agoFix typo in wscript. v2.16.4
Carl Hetherington [Fri, 25 Feb 2022 14:50:43 +0000 (15:50 +0100)]
Fix typo in wscript.

2 years agoSupporters update.
Carl Hetherington [Fri, 25 Feb 2022 13:56:39 +0000 (14:56 +0100)]
Supporters update.

2 years agolibcrypto has a new version in the updated mxe.
Carl Hetherington [Thu, 24 Feb 2022 18:03:40 +0000 (19:03 +0100)]
libcrypto has a new version in the updated mxe.

2 years agoPackage without libjasper and liblcms2, both of which were dependencies
Carl Hetherington [Thu, 24 Feb 2022 16:48:30 +0000 (17:48 +0100)]
Package without libjasper and liblcms2, both of which were dependencies
of GraphicsMagick, which we've removed from the build environment
as it's no longer required.

2 years agoAvoid build errors from glibmm's use of dynamic exception specifications.
Carl Hetherington [Thu, 24 Feb 2022 16:32:38 +0000 (17:32 +0100)]
Avoid build errors from glibmm's use of dynamic exception specifications.

2 years agoBump ffmpeg to build on newer binutils.
Carl Hetherington [Thu, 24 Feb 2022 16:23:40 +0000 (17:23 +0100)]
Bump ffmpeg to build on newer binutils.

2 years agoInclude some DLLs that gdb needs.
Carl Hetherington [Wed, 23 Feb 2022 21:53:22 +0000 (22:53 +0100)]
Include some DLLs that gdb needs.

2 years agoFix Windows debug build.
Carl Hetherington [Wed, 23 Feb 2022 21:27:53 +0000 (22:27 +0100)]
Fix Windows debug build.

2 years agoAdd -x32/-x64 suffix to boost libraries when building for Windows.
Carl Hetherington [Tue, 22 Feb 2022 22:01:23 +0000 (23:01 +0100)]
Add -x32/-x64 suffix to boost libraries when building for Windows.

2 years agoAvoid boost::bind()ing a shared_ptr.
Carl Hetherington [Tue, 22 Feb 2022 19:34:08 +0000 (20:34 +0100)]
Avoid boost::bind()ing a shared_ptr.

2 years agoFix some dubious thread/locking behaviour.
Carl Hetherington [Thu, 24 Feb 2022 18:47:19 +0000 (19:47 +0100)]
Fix some dubious thread/locking behaviour.

Previously we had server_found(), which took the lock and found
a server, which it returned as an iterator into the list.
However, it then released the lock, which I think left the
iterator unprotected.

This wasn't done in response to any particular bug, I just
noticed it on the way past.

2 years agoUpdated pl_PL translation from Michał Tomaszewski
Carl Hetherington [Fri, 25 Feb 2022 00:17:12 +0000 (01:17 +0100)]
Updated pl_PL translation from Michał Tomaszewski

2 years agoSupporters update. v2.16.3
Carl Hetherington [Sun, 20 Feb 2022 20:37:39 +0000 (21:37 +0100)]
Supporters update.

2 years agoSupporters update.
Carl Hetherington [Sun, 20 Feb 2022 20:33:26 +0000 (21:33 +0100)]
Supporters update.

2 years agoSupporters update.
Carl Hetherington [Sun, 20 Feb 2022 19:19:44 +0000 (20:19 +0100)]
Supporters update.

2 years agoTry to avoid some bad filenaming in rare cases.
Carl Hetherington [Sun, 20 Feb 2022 01:02:33 +0000 (02:02 +0100)]
Try to avoid some bad filenaming in rare cases.

2 years agoDon't build tests when packaging.
Carl Hetherington [Sat, 19 Feb 2022 20:38:31 +0000 (21:38 +0100)]
Don't build tests when packaging.

2 years agoTry to fix for further cdist adventures.
Carl Hetherington [Sat, 19 Feb 2022 20:16:17 +0000 (21:16 +0100)]
Try to fix for further cdist adventures.

2 years agoFix build/package for modification to cdist.
Carl Hetherington [Sat, 19 Feb 2022 12:48:27 +0000 (13:48 +0100)]
Fix build/package for modification to cdist.

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.