dcpomatic.git
2 years agoFix AppImage on systems with glib version > 2.68 (#2129). appimage-glib-fix
Carl Hetherington [Sat, 25 Dec 2021 21:08:52 +0000 (22:08 +0100)]
Fix AppImage on systems with glib version > 2.68 (#2129).

2 years agoAllow user to add .ttc font files.
Carl Hetherington [Thu, 23 Dec 2021 02:07:18 +0000 (03:07 +0100)]
Allow user to add .ttc font files.

2 years agoExtract and improve code to find missing files (#1940).
Carl Hetherington [Sat, 25 Dec 2021 01:05:54 +0000 (02:05 +0100)]
Extract and improve code to find missing files (#1940).

2 years agoC++11 / sorting cleanups.
Carl Hetherington [Sat, 25 Dec 2021 00:44:55 +0000 (01:44 +0100)]
C++11 / sorting cleanups.

2 years agoExtract simple_digest().
Carl Hetherington [Thu, 23 Dec 2021 22:33:56 +0000 (23:33 +0100)]
Extract simple_digest().

2 years agoTidy up backing up of config files, improve the tests a little and fix it for the
Carl Hetherington [Tue, 21 Dec 2021 01:35:55 +0000 (02:35 +0100)]
Tidy up backing up of config files, improve the tests a little and fix it for the
case when the user has specified their own config file path.

2 years agoSend emails in the CLI KDM tool (#2113).
Carl Hetherington [Mon, 1 Nov 2021 15:44:10 +0000 (16:44 +0100)]
Send emails in the CLI KDM tool (#2113).

2 years agoRename email() -> send_emails().
Carl Hetherington [Mon, 1 Nov 2021 15:43:41 +0000 (16:43 +0100)]
Rename email() -> send_emails().

2 years agoFix missing screen name in KDM emails.
Carl Hetherington [Mon, 1 Nov 2021 15:43:26 +0000 (16:43 +0100)]
Fix missing screen name in KDM emails.

2 years agoFix mistake in a7f61a15 causing bad_alloc exceptions during tests.
Carl Hetherington [Thu, 23 Dec 2021 17:14:51 +0000 (18:14 +0100)]
Fix mistake in a7f61a15 causing bad_alloc exceptions during tests.

2 years agoFix deadlock in test, caused by setting jobs to finished before they have been started.
Carl Hetherington [Wed, 22 Dec 2021 15:47:27 +0000 (16:47 +0100)]
Fix deadlock in test, caused by setting jobs to finished before they have been started.

2 years agoFix a load of stuff that wasn't being freed on close.
Carl Hetherington [Sun, 19 Dec 2021 23:35:11 +0000 (00:35 +0100)]
Fix a load of stuff that wasn't being freed on close.

Nothing really that important, but it cleans up the valgrind
leak check reports.

2 years agoAdd option to save a player frame to a file (#2133).
Carl Hetherington [Sat, 18 Dec 2021 22:54:54 +0000 (23:54 +0100)]
Add option to save a player frame to a file (#2133).

2 years agoAdd image_as_jpeg()
Carl Hetherington [Sat, 18 Dec 2021 22:34:26 +0000 (23:34 +0100)]
Add image_as_jpeg()

2 years agoTiny optimisation.
Carl Hetherington [Sat, 18 Dec 2021 22:32:11 +0000 (23:32 +0100)]
Tiny optimisation.

2 years agoAdd new format to pixfmts.c
Carl Hetherington [Sat, 18 Dec 2021 22:32:02 +0000 (23:32 +0100)]
Add new format to pixfmts.c

2 years agoMove Image::as_png() out to image_as_png().
Carl Hetherington [Sat, 18 Dec 2021 20:26:05 +0000 (21:26 +0100)]
Move Image::as_png() out to image_as_png().

2 years agoRemove unnecessary method.
Carl Hetherington [Sat, 18 Dec 2021 20:05:54 +0000 (21:05 +0100)]
Remove unnecessary method.

2 years agoFix trimming of ATMOS MXFs.
Carl Hetherington [Tue, 21 Dec 2021 20:01:16 +0000 (21:01 +0100)]
Fix trimming of ATMOS MXFs.

2 years agoTidy up NetworkError.
Carl Hetherington [Mon, 20 Dec 2021 20:45:21 +0000 (21:45 +0100)]
Tidy up NetworkError.

2 years agoC++11 tidying.
Carl Hetherington [Sat, 18 Dec 2021 14:10:14 +0000 (15:10 +0100)]
C++11 tidying.

2 years agoCleanup: remove unnecessary parameter to PlayerVideo::force().
Carl Hetherington [Sat, 18 Dec 2021 14:10:10 +0000 (15:10 +0100)]
Cleanup: remove unnecessary parameter to PlayerVideo::force().

2 years agoMove make_dcp() out of Film (#2132).
Carl Hetherington [Sat, 18 Dec 2021 13:23:50 +0000 (14:23 +0100)]
Move make_dcp() out of Film (#2132).

2 years agoAdd more filenames to content properties (#2120).
Carl Hetherington [Sat, 18 Dec 2021 11:05:40 +0000 (12:05 +0100)]
Add more filenames to content properties (#2120).

2 years agoFix inexplicable change to dylib paths with new VM.
Carl Hetherington [Fri, 17 Dec 2021 21:36:44 +0000 (22:36 +0100)]
Fix inexplicable change to dylib paths with new VM.

After re-creating the macOS build VM, suddenly liblwext4 ends
up linked as @rpath/liblwext4.dylib which breaks the DoM make_dmg
script.  I can only guess this is due to me installing a newer
CMake.

2 years agoAdd missing library search path for macOS tests.
Carl Hetherington [Tue, 14 Dec 2021 08:48:42 +0000 (09:48 +0100)]
Add missing library search path for macOS tests.

2 years agoMake sure translators give email addresses.
Carl Hetherington [Mon, 13 Dec 2021 00:00:56 +0000 (01:00 +0100)]
Make sure translators give email addresses.

2 years agoThrow a more appropriate exception.
Carl Hetherington [Mon, 13 Dec 2021 00:00:45 +0000 (01:00 +0100)]
Throw a more appropriate exception.

2 years agoExtend NetworkError to take a detail parameter.
Carl Hetherington [Mon, 13 Dec 2021 00:00:37 +0000 (01:00 +0100)]
Extend NetworkError to take a detail parameter.

2 years agoC++11 tidying.
Carl Hetherington [Mon, 13 Dec 2021 00:00:23 +0000 (01:00 +0100)]
C++11 tidying.

2 years agoManual tweak.
Carl Hetherington [Sun, 12 Dec 2021 23:29:55 +0000 (00:29 +0100)]
Manual tweak.

2 years agoAllow notification from disk writer jobs (#2143).
Carl Hetherington [Sat, 4 Dec 2021 23:25:23 +0000 (00:25 +0100)]
Allow notification from disk writer jobs (#2143).

2 years agoUse a virtual method rather than a set of nasty dynamic casts.
Carl Hetherington [Sat, 4 Dec 2021 23:24:56 +0000 (00:24 +0100)]
Use a virtual method rather than a set of nasty dynamic casts.

2 years agoSet up {m,c,a}times on copied files (#2145).
Carl Hetherington [Sun, 5 Dec 2021 00:14:52 +0000 (01:14 +0100)]
Set up {m,c,a}times on copied files (#2145).

2 years agoAdd setcap command to "normal" waf-based install.
Carl Hetherington [Sun, 5 Dec 2021 19:21:30 +0000 (20:21 +0100)]
Add setcap command to "normal" waf-based install.

2 years agoPort make_dummy_files to Python3 and improve it in various ways.
Carl Hetherington [Thu, 2 Dec 2021 19:18:54 +0000 (20:18 +0100)]
Port make_dummy_files to Python3 and improve it in various ways.

2 years agoFix possible incorrect eye mapping with 3D-alternate sources.
Carl Hetherington [Thu, 2 Dec 2021 19:16:02 +0000 (20:16 +0100)]
Fix possible incorrect eye mapping with 3D-alternate sources.

2 years agoFix -t parameter to possibly be a float.
Carl Hetherington [Wed, 1 Dec 2021 23:30:59 +0000 (00:30 +0100)]
Fix -t parameter to possibly be a float.

2 years agoTweaks to examine.py
Carl Hetherington [Tue, 30 Nov 2021 08:45:21 +0000 (09:45 +0100)]
Tweaks to examine.py

2 years agoBe a little more careful to handle exceptions from boost::filesystem::file_size
Carl Hetherington [Mon, 29 Nov 2021 23:00:17 +0000 (00:00 +0100)]
Be a little more careful to handle exceptions from boost::filesystem::file_size

There has been a report of file_size throwing an exception and
crashing DCP-o-matic, but I haven't been able to reproduce it yet
(possibly related to there being missing content files).

2 years agoWe must make empty sections for content with missing files.
Carl Hetherington [Mon, 29 Nov 2021 22:33:21 +0000 (23:33 +0100)]
We must make empty sections for content with missing files.

Fixes full audio buffers with no video in projects with
image content (no audio) that have missing files.

2 years agoAdd --gain option to dcpomatic_create.
Carl Hetherington [Sun, 28 Nov 2021 19:00:09 +0000 (20:00 +0100)]
Add --gain option to dcpomatic_create.

2 years agoAdd --channel option to dcpomatic_create.
Carl Hetherington [Sun, 28 Nov 2021 18:36:06 +0000 (19:36 +0100)]
Add --channel option to dcpomatic_create.

2 years agoTidying.
Carl Hetherington [Sun, 28 Nov 2021 18:35:48 +0000 (19:35 +0100)]
Tidying.

2 years agoAdd a comment.
Carl Hetherington [Sun, 28 Nov 2021 18:35:01 +0000 (19:35 +0100)]
Add a comment.

2 years agoGet config_dir and output_dir more directly.
Carl Hetherington [Sun, 28 Nov 2021 16:17:30 +0000 (17:17 +0100)]
Get config_dir and output_dir more directly.

2 years agoCatch exceptions from RtAudio::startStream() in all cases.
Carl Hetherington [Sun, 28 Nov 2021 21:00:21 +0000 (22:00 +0100)]
Catch exceptions from RtAudio::startStream() in all cases.

2 years agoFix some truncated headings.
Carl Hetherington [Sun, 28 Nov 2021 20:41:06 +0000 (21:41 +0100)]
Fix some truncated headings.

2 years agoSmall C++11 cleanups.
Carl Hetherington [Sun, 28 Nov 2021 09:40:42 +0000 (10:40 +0100)]
Small C++11 cleanups.

2 years agoRearrange checking (and re-examining) content.
Carl Hetherington [Sun, 28 Nov 2021 09:39:03 +0000 (10:39 +0100)]
Rearrange checking (and re-examining) content.

Most importantly, checking of content for changes before making
a DCP is now done in the TranscodeJob (rather than being in a
separate job).  This makes things a little neater and also makes
the batch converter less confusing when you add a job whose content
has changed.

2 years agoSimplify and fix job scheduler, especially with respect to the priority system.
Carl Hetherington [Tue, 23 Nov 2021 23:16:15 +0000 (00:16 +0100)]
Simplify and fix job scheduler, especially with respect to the priority system.

2 years agoExtract part of the content change job to Content.
Carl Hetherington [Sat, 27 Nov 2021 00:04:37 +0000 (01:04 +0100)]
Extract part of the content change job to Content.

2 years agoFill in zeros if a part of a timecode is entered.
Carl Hetherington [Mon, 22 Nov 2021 19:47:14 +0000 (20:47 +0100)]
Fill in zeros if a part of a timecode is entered.

It looks better if zeros are added elsewhere when you, for example,
put a number into the seconds box and click "set".

2 years agoFix failure to remove markers when the checkbox is unticked.
Carl Hetherington [Mon, 22 Nov 2021 19:46:59 +0000 (20:46 +0100)]
Fix failure to remove markers when the checkbox is unticked.

2 years agoDon't import luminance of 0 from 2.14.x metadata files (part of #2130).
Carl Hetherington [Mon, 22 Nov 2021 09:52:52 +0000 (10:52 +0100)]
Don't import luminance of 0 from 2.14.x metadata files (part of #2130).

2 years agoDon't allow luminance metadata below 0.1 in the GUI (part of #2130).
Carl Hetherington [Mon, 22 Nov 2021 09:22:09 +0000 (10:22 +0100)]
Don't allow luminance metadata below 0.1 in the GUI (part of #2130).

2 years agoFix incorrect scaling of the simple view with hidpi screens (#2128).
Carl Hetherington [Sat, 20 Nov 2021 21:36:06 +0000 (22:36 +0100)]
Fix incorrect scaling of the simple view with hidpi screens (#2128).

2 years agoExtract dpi_scale_factor() to a function.
Carl Hetherington [Sat, 20 Nov 2021 21:35:48 +0000 (22:35 +0100)]
Extract dpi_scale_factor() to a function.

2 years agoDon't fail to send a problem report if there's no ffprobe.log
Carl Hetherington [Tue, 16 Nov 2021 21:21:49 +0000 (22:21 +0100)]
Don't fail to send a problem report if there's no ffprobe.log

2 years agoSupporters update.
Carl Hetherington [Sun, 14 Nov 2021 15:48:07 +0000 (16:48 +0100)]
Supporters update.

2 years agoWith the upgrade to wxWidgets 3.1.5 it seems that the .mo file is renamed.
Carl Hetherington [Sun, 14 Nov 2021 08:18:03 +0000 (09:18 +0100)]
With the upgrade to wxWidgets 3.1.5 it seems that the .mo file is renamed.

2 years agoFix the build for older macOS.
Carl Hetherington [Sun, 14 Nov 2021 07:54:44 +0000 (08:54 +0100)]
Fix the build for older macOS.

2 years agoMissing include.
Carl Hetherington [Sat, 13 Nov 2021 23:55:43 +0000 (00:55 +0100)]
Missing include.

2 years agoAccount for DPI scale factors when calculating some sizes (#2118).
Carl Hetherington [Thu, 11 Nov 2021 21:15:47 +0000 (22:15 +0100)]
Account for DPI scale factors when calculating some sizes (#2118).

2 years agoFix failure to load DCPs from SMB shares (#2123).
Carl Hetherington [Sat, 13 Nov 2021 22:42:46 +0000 (23:42 +0100)]
Fix failure to load DCPs from SMB shares (#2123).

2 years agoRemove setuid root and use setcap instead in RPM packages.
Carl Hetherington [Sat, 13 Nov 2021 18:43:19 +0000 (19:43 +0100)]
Remove setuid root and use setcap instead in RPM packages.

2 years agoPulse the progress bar 'automatically' if we haven't had a progress update for a...
Carl Hetherington [Thu, 4 Nov 2021 22:44:11 +0000 (23:44 +0100)]
Pulse the progress bar 'automatically' if we haven't had a progress update for a while.

Should help with #2119.

2 years agoAdd Job::seconds_since_last_progress_update().
Carl Hetherington [Thu, 4 Nov 2021 22:43:54 +0000 (23:43 +0100)]
Add Job::seconds_since_last_progress_update().

2 years agoCleanup: use seconds() method.
Carl Hetherington [Thu, 4 Nov 2021 22:25:21 +0000 (23:25 +0100)]
Cleanup: use seconds() method.

2 years agoOnly look for tags which start with v
Carl Hetherington [Fri, 12 Nov 2021 12:23:01 +0000 (13:23 +0100)]
Only look for tags which start with v

2 years agoRemove player activity logging. Fixes #2122.
Carl Hetherington [Thu, 11 Nov 2021 21:49:34 +0000 (22:49 +0100)]
Remove player activity logging.  Fixes #2122.

If I remember right this was for swaroop and I suspect nobody else
is really interested.

2 years agoBump libdcp for fix to closed caption line length verification.
Carl Hetherington [Tue, 9 Nov 2021 22:52:25 +0000 (23:52 +0100)]
Bump libdcp for fix to closed caption line length verification.

2 years agoIt doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.
Carl Hetherington [Tue, 9 Nov 2021 21:24:18 +0000 (22:24 +0100)]
It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.

2 years agoAdd some missing const qualifiers.
Carl Hetherington [Tue, 9 Nov 2021 21:23:48 +0000 (22:23 +0100)]
Add some missing const qualifiers.

2 years agoC++11 tidying.
Carl Hetherington [Thu, 4 Nov 2021 23:43:00 +0000 (00:43 +0100)]
C++11 tidying.

2 years agoInclude subscribers / supporters in git.
Carl Hetherington [Thu, 4 Nov 2021 18:29:50 +0000 (19:29 +0100)]
Include subscribers / supporters in git.

The need for network access part-way through a build causes loads
of annoying CI failures.

2 years agoMake the prefs window a little wider on macOS to (hopefully) fit all the icons in...
Carl Hetherington [Thu, 4 Nov 2021 11:51:49 +0000 (12:51 +0100)]
Make the prefs window a little wider on macOS to (hopefully) fit all the icons in (#2117).

2 years agoStop some tests from writing things to test/data.
Carl Hetherington [Wed, 3 Nov 2021 13:24:58 +0000 (14:24 +0100)]
Stop some tests from writing things to test/data.

2 years agoRun one test with fewer cores to stop it running out of memory on a 16-core 16Gb...
Carl Hetherington [Wed, 3 Nov 2021 10:27:14 +0000 (11:27 +0100)]
Run one test with fewer cores to stop it running out of memory on a 16-core 16Gb machine.

2 years agoAdd ConfigRestorer and use it instead of setup_test_config() directly.
Carl Hetherington [Tue, 2 Nov 2021 22:14:04 +0000 (23:14 +0100)]
Add ConfigRestorer and use it instead of setup_test_config() directly.

2 years agoClarify that in this get_reel_assets() the content and film frame rates will be the...
Carl Hetherington [Tue, 2 Nov 2021 14:08:29 +0000 (15:08 +0100)]
Clarify that in this get_reel_assets() the content and film frame rates will be the same.

2 years agoBail early if nothing can be referenced from this content.
Carl Hetherington [Tue, 2 Nov 2021 14:08:05 +0000 (15:08 +0100)]
Bail early if nothing can be referenced from this content.

2 years agoCleanup variable name: k -> reel
Carl Hetherington [Tue, 2 Nov 2021 14:07:53 +0000 (15:07 +0100)]
Cleanup variable name: k -> reel

2 years agoFix errors when referencing trimmed DCPs (#2116).
Carl Hetherington [Tue, 2 Nov 2021 13:55:45 +0000 (14:55 +0100)]
Fix errors when referencing trimmed DCPs (#2116).

2 years agoCleanup: use a variable we already made.
Carl Hetherington [Tue, 2 Nov 2021 13:36:35 +0000 (14:36 +0100)]
Cleanup: use a variable we already made.

2 years agoCleanup variable name: l -> caption
Carl Hetherington [Tue, 2 Nov 2021 13:21:14 +0000 (14:21 +0100)]
Cleanup variable name: l -> caption

2 years agoCleanup variable name: k -> reel
Carl Hetherington [Tue, 2 Nov 2021 13:18:15 +0000 (14:18 +0100)]
Cleanup variable name: k -> reel

2 years agoCleanup variable name: j -> dcp
Carl Hetherington [Tue, 2 Nov 2021 13:15:41 +0000 (14:15 +0100)]
Cleanup variable name: j -> dcp

2 years agoCleanup variable name: i -> content
Carl Hetherington [Tue, 2 Nov 2021 13:13:22 +0000 (14:13 +0100)]
Cleanup variable name: i -> content

2 years agoCleanup variable name: a -> reel_assets
Carl Hetherington [Tue, 2 Nov 2021 13:11:54 +0000 (14:11 +0100)]
Cleanup variable name: a -> reel_assets

2 years agoAdd failing test.
Carl Hetherington [Mon, 1 Nov 2021 22:37:36 +0000 (23:37 +0100)]
Add failing test.

2 years agoTidying.
Carl Hetherington [Mon, 1 Nov 2021 22:37:30 +0000 (23:37 +0100)]
Tidying.

2 years agoFix the filmsum script up a little.
Carl Hetherington [Mon, 1 Nov 2021 21:39:12 +0000 (22:39 +0100)]
Fix the filmsum script up a little.

2 years agoFix typo in dcpomatic_kdm_cli help.
Carl Hetherington [Mon, 1 Nov 2021 14:39:01 +0000 (15:39 +0100)]
Fix typo in dcpomatic_kdm_cli help.

2 years agoAdd CPL_FILENAME variable for cover sheets (#2107).
Carl Hetherington [Mon, 1 Nov 2021 14:09:56 +0000 (15:09 +0100)]
Add CPL_FILENAME variable for cover sheets (#2107).

2 years agoDon't fail the transcode job if we can't write analytics.
Carl Hetherington [Fri, 29 Oct 2021 10:56:08 +0000 (12:56 +0200)]
Don't fail the transcode job if we can't write analytics.

2 years agoManual tweak.
Carl Hetherington [Wed, 27 Oct 2021 22:00:53 +0000 (00:00 +0200)]
Manual tweak.

2 years agoManual tweaks.
Carl Hetherington [Wed, 27 Oct 2021 21:47:23 +0000 (23:47 +0200)]
Manual tweaks.

2 years agoAdd a new test for subtitle timing when changing frame rate.
Carl Hetherington [Wed, 27 Oct 2021 21:23:26 +0000 (23:23 +0200)]
Add a new test for subtitle timing when changing frame rate.

2 years agoC++11 tidying.
Carl Hetherington [Wed, 27 Oct 2021 21:23:11 +0000 (23:23 +0200)]
C++11 tidying.