dcpomatic.git
19 months agoUpdated sl_SI translation from Martin Srebotnjak. v2.16.24
Carl Hetherington [Sat, 3 Sep 2022 21:32:47 +0000 (23:32 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

19 months agoBump libdcp for fixes to ratings labels.
Carl Hetherington [Sat, 3 Sep 2022 21:08:40 +0000 (23:08 +0200)]
Bump libdcp for fixes to ratings labels.

19 months agoRemove - and + from ratings before using them in a DCNC name.
Carl Hetherington [Sat, 3 Sep 2022 20:52:19 +0000 (22:52 +0200)]
Remove - and + from ratings before using them in a DCNC name.

I can't find any documentation about what we should do here,
but at least this rule fits what

https://registry-page.isdcf.com/ratings/

does.

19 months agoBump libdcp for better ContentKind support, and libsub
Carl Hetherington [Sat, 3 Sep 2022 12:49:25 +0000 (14:49 +0200)]
Bump libdcp for better ContentKind support, and libsub
for fixes to \c tags in SSA files.

19 months agoFix "escape" from dual screen mode, on Linux at least (#2183). v2.16.23
Carl Hetherington [Thu, 1 Sep 2022 22:35:30 +0000 (00:35 +0200)]
Fix "escape" from dual screen mode, on Linux at least (#2183).

This is a bit of a strange solution but the only one that I could make
work; the key seems to be setting focus on the child window of the frame.

19 months agoFix two more badly-adapted instantiations of EditableList and make
Carl Hetherington [Thu, 1 Sep 2022 18:42:01 +0000 (20:42 +0200)]
Fix two more badly-adapted instantiations of EditableList and make
it harder to make similar errors in the future.

19 months agoFix incorrect ordering when adding cinemas.
Carl Hetherington [Tue, 30 Aug 2022 22:33:12 +0000 (00:33 +0200)]
Fix incorrect ordering when adding cinemas.

19 months agoFix previous.
Carl Hetherington [Tue, 30 Aug 2022 22:32:46 +0000 (00:32 +0200)]
Fix previous.

19 months agoRefresh cinemas UI if the cinemas.xml file location is changed.
Carl Hetherington [Tue, 30 Aug 2022 20:59:16 +0000 (22:59 +0200)]
Refresh cinemas UI if the cinemas.xml file location is changed.

19 months agoFix error when exporting the cinemas file with overwrite.
Carl Hetherington [Tue, 30 Aug 2022 20:58:36 +0000 (22:58 +0200)]
Fix error when exporting the cinemas file with overwrite.

19 months agoCleanup: white space.
Carl Hetherington [Tue, 30 Aug 2022 20:55:59 +0000 (22:55 +0200)]
Cleanup: white space.

19 months agoCleanup: auto
Carl Hetherington [Tue, 30 Aug 2022 20:55:37 +0000 (22:55 +0200)]
Cleanup: auto

19 months agoHandle failures to write cinemas.xml more nicely.
Carl Hetherington [Tue, 30 Aug 2022 20:28:03 +0000 (22:28 +0200)]
Handle failures to write cinemas.xml more nicely.

19 months agoCleanup: use some better variable names and ScopeGuards.
Carl Hetherington [Tue, 30 Aug 2022 19:29:46 +0000 (21:29 +0200)]
Cleanup: use some better variable names and ScopeGuards.

19 months agoFix and test release notes. v2.16.22
Carl Hetherington [Sun, 28 Aug 2022 23:31:17 +0000 (01:31 +0200)]
Fix and test release notes.

19 months agoMake find_release_notes() more testable.
Carl Hetherington [Sun, 28 Aug 2022 23:12:46 +0000 (01:12 +0200)]
Make find_release_notes() more testable.

19 months agoAdd Config::unset_last_release_notes_version()
Carl Hetherington [Sun, 28 Aug 2022 23:11:21 +0000 (01:11 +0200)]
Add Config::unset_last_release_notes_version()

19 months agoSupporters update.
Carl Hetherington [Sun, 28 Aug 2022 22:11:09 +0000 (00:11 +0200)]
Supporters update.

19 months agoDisplay the rating agency name rather than the URL (if we have it).
Carl Hetherington [Sun, 28 Aug 2022 20:56:34 +0000 (22:56 +0200)]
Display the rating agency name rather than the URL (if we have it).

19 months agoGive some more space for ratings.
Carl Hetherington [Sun, 28 Aug 2022 20:53:03 +0000 (22:53 +0200)]
Give some more space for ratings.

19 months agoUse the same code for both Interop and SMPTE ratings controls.
Carl Hetherington [Sun, 28 Aug 2022 20:48:28 +0000 (22:48 +0200)]
Use the same code for both Interop and SMPTE ratings controls.

19 months agoFix missing buttons for ratings lists.
Carl Hetherington [Sun, 28 Aug 2022 19:54:03 +0000 (21:54 +0200)]
Fix missing buttons for ratings lists.

19 months agoCleanup: white space.
Carl Hetherington [Fri, 26 Aug 2022 19:18:42 +0000 (21:18 +0200)]
Cleanup: white space.

19 months agoUpdated hu_HU translation from Németh Áron.
Carl Hetherington [Fri, 26 Aug 2022 19:15:48 +0000 (21:15 +0200)]
Updated hu_HU translation from Németh Áron.

19 months agoTweak position of existing translator in the list.
Carl Hetherington [Fri, 26 Aug 2022 19:18:23 +0000 (21:18 +0200)]
Tweak position of existing translator in the list.

19 months agoAdd a note about adding a new language.
Carl Hetherington [Fri, 26 Aug 2022 19:05:33 +0000 (21:05 +0200)]
Add a note about adding a new language.

19 months agoTemplate hu_HU translation.
Carl Hetherington [Fri, 26 Aug 2022 19:05:29 +0000 (21:05 +0200)]
Template hu_HU translation.

19 months agoTry to make more accurate video+audio dummy files.
Carl Hetherington [Thu, 25 Aug 2022 20:09:17 +0000 (22:09 +0200)]
Try to make more accurate video+audio dummy files.

19 months agoFix audio-only sources, and non-integer frame rates.
Carl Hetherington [Mon, 22 Aug 2022 07:10:23 +0000 (09:10 +0200)]
Fix audio-only sources, and non-integer frame rates.

20 months agoSort DKDMs by CPL name (#2297).
Carl Hetherington [Wed, 17 Aug 2022 14:28:57 +0000 (16:28 +0200)]
Sort DKDMs by CPL name (#2297).

20 months agoC++11 tidying.
Carl Hetherington [Wed, 17 Aug 2022 14:28:48 +0000 (16:28 +0200)]
C++11 tidying.

20 months agoDefault to filtering DKDM filenames to only see *.xml, and allow
Carl Hetherington [Wed, 17 Aug 2022 14:00:38 +0000 (16:00 +0200)]
Default to filtering DKDM filenames to only see *.xml, and allow
multiple DKDMs to be added at the same time (#2296).

20 months agoFix deadlock on cancelling jobs. v2.16.21
Carl Hetherington [Mon, 15 Aug 2022 23:38:28 +0000 (01:38 +0200)]
Fix deadlock on cancelling jobs.

20 months agoSupporters update.
Carl Hetherington [Mon, 15 Aug 2022 18:59:22 +0000 (20:59 +0200)]
Supporters update.

20 months agoBump libdcp for XML tolerance fix (#2295).
Carl Hetherington [Mon, 15 Aug 2022 17:17:17 +0000 (19:17 +0200)]
Bump libdcp for XML tolerance fix (#2295).

20 months agoSet the send buffer size to 512k for sending things to encode servers (#2206).
Carl Hetherington [Fri, 11 Mar 2022 18:44:40 +0000 (19:44 +0100)]
Set the send buffer size to 512k for sending things to encode servers (#2206).

20 months agoAdd Socket::set_send_buffer_size().
Carl Hetherington [Fri, 11 Mar 2022 18:44:13 +0000 (19:44 +0100)]
Add Socket::set_send_buffer_size().

20 months agoC++11 tidying.
Carl Hetherington [Fri, 11 Mar 2022 18:44:04 +0000 (19:44 +0100)]
C++11 tidying.

20 months agoSupporters update. v2.16.20
Carl Hetherington [Sat, 13 Aug 2022 18:30:55 +0000 (20:30 +0200)]
Supporters update.

20 months agoFix crashes when the find-missing code finds an inacessible directory (#2291).
Carl Hetherington [Mon, 8 Aug 2022 21:20:48 +0000 (23:20 +0200)]
Fix crashes when the find-missing code finds an inacessible directory (#2291).

20 months agoRemove misleading comment.
Carl Hetherington [Fri, 12 Aug 2022 14:20:37 +0000 (16:20 +0200)]
Remove misleading comment.

Video levels are taken care of by the call to PlayerVideo::image()
above, in the non-J2K case, and for J2K we're already in full
range so there's no need to convert.

20 months agoPut the OpenGL XYZ -> RGB gammas the right way round (#2294).
Carl Hetherington [Fri, 12 Aug 2022 14:18:02 +0000 (16:18 +0200)]
Put the OpenGL XYZ -> RGB gammas the right way round (#2294).

1/2.6 is the correction when converting to XYZ, not to RGB.

20 months agoAdd a test for video YUV -> full RGB level conversion.
Carl Hetherington [Fri, 12 Aug 2022 12:36:17 +0000 (14:36 +0200)]
Add a test for video YUV -> full RGB level conversion.

20 months agoAdd some more formats to pixfmts.c.
Carl Hetherington [Fri, 12 Aug 2022 12:35:23 +0000 (14:35 +0200)]
Add some more formats to pixfmts.c.

20 months agoCleanup: don't repeat check inside resume() before calling it.
Carl Hetherington [Sat, 6 Aug 2022 20:58:36 +0000 (22:58 +0200)]
Cleanup: don't repeat check inside resume() before calling it.

20 months agoAllow cancellation of un-started jobs (#2777).
Carl Hetherington [Sat, 6 Aug 2022 20:57:58 +0000 (22:57 +0200)]
Allow cancellation of un-started jobs (#2777).

20 months agoCleanup: set job state to cancelled in a different place.
Carl Hetherington [Sat, 6 Aug 2022 20:36:21 +0000 (22:36 +0200)]
Cleanup: set job state to cancelled in a different place.

20 months agoFix d881836379172f4072ed81ea074f46b3a363a681 which removed clearing
Carl Hetherington [Thu, 11 Aug 2022 14:39:03 +0000 (16:39 +0200)]
Fix d881836379172f4072ed81ea074f46b3a363a681 which removed clearing
of the left-hand-side of images.

20 months agoLower some error thresholds now that check_image() actually works in these cases.
Carl Hetherington [Thu, 11 Aug 2022 14:38:38 +0000 (16:38 +0200)]
Lower some error thresholds now that check_image() actually works in these cases.

20 months agoFix broken writing of 16-bit images (the pixels must be written MSB-first).
Carl Hetherington [Thu, 11 Aug 2022 14:38:24 +0000 (16:38 +0200)]
Fix broken writing of 16-bit images (the pixels must be written MSB-first).

20 months agoCleanup: remove duplicated code.
Carl Hetherington [Thu, 11 Aug 2022 14:37:57 +0000 (16:37 +0200)]
Cleanup: remove duplicated code.

20 months agoBump libsub for fix to SSA colour tag parsing.
Carl Hetherington [Wed, 10 Aug 2022 19:09:01 +0000 (21:09 +0200)]
Bump libsub for fix to SSA colour tag parsing.

20 months agoFix lines down the right-hand-side of exports in some cases.
Carl Hetherington [Tue, 26 Jul 2022 13:22:54 +0000 (15:22 +0200)]
Fix lines down the right-hand-side of exports in some cases.

20 months agoUse wxNO_UNSAFE_WXSTRING_CONV and fix a bug it reveals.
Carl Hetherington [Mon, 8 Aug 2022 20:13:04 +0000 (22:13 +0200)]
Use wxNO_UNSAFE_WXSTRING_CONV and fix a bug it reveals.

20 months agoCleanup: fix typo in comment.
Carl Hetherington [Wed, 3 Aug 2022 23:15:44 +0000 (01:15 +0200)]
Cleanup: fix typo in comment.

20 months agoPython 3 fixes, and add average video frame rate readout.
Carl Hetherington [Wed, 3 Aug 2022 23:15:34 +0000 (01:15 +0200)]
Python 3 fixes, and add average video frame rate readout.

20 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Mon, 25 Jul 2022 20:05:39 +0000 (22:05 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

20 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Mon, 25 Jul 2022 11:51:10 +0000 (13:51 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

20 months agoEven more logging when reading DCPs.
Carl Hetherington [Sat, 23 Jul 2022 20:28:05 +0000 (22:28 +0200)]
Even more logging when reading DCPs.

20 months agoAdd some more logging when reading DCPs.
Carl Hetherington [Sat, 23 Jul 2022 14:52:38 +0000 (16:52 +0200)]
Add some more logging when reading DCPs.

20 months agoIgnore .cache.
Carl Hetherington [Sat, 23 Jul 2022 14:49:26 +0000 (16:49 +0200)]
Ignore .cache.

20 months agoC++11 tidying.
Carl Hetherington [Thu, 21 Jul 2022 14:25:10 +0000 (16:25 +0200)]
C++11 tidying.

21 months agoFix failure to update peak on changing gain (#2286). v2.16.19
Carl Hetherington [Wed, 20 Jul 2022 16:04:17 +0000 (18:04 +0200)]
Fix failure to update peak on changing gain (#2286).

21 months agoSupporters update.
Carl Hetherington [Wed, 20 Jul 2022 11:26:35 +0000 (13:26 +0200)]
Supporters update.

21 months agoSupporters update.
Carl Hetherington [Wed, 20 Jul 2022 11:25:09 +0000 (13:25 +0200)]
Supporters update.

21 months agoAdd some logging to the KDM creator.
Carl Hetherington [Wed, 20 Jul 2022 10:20:00 +0000 (12:20 +0200)]
Add some logging to the KDM creator.

21 months agoBasic release notes support (#2282).
Carl Hetherington [Thu, 7 Jul 2022 13:21:19 +0000 (15:21 +0200)]
Basic release notes support (#2282).

21 months agoAdd option to give HTMLDialog an OK button.
Carl Hetherington [Thu, 7 Jul 2022 13:21:04 +0000 (15:21 +0200)]
Add option to give HTMLDialog an OK button.

21 months agoHack more height for HTMLDialog.
Carl Hetherington [Thu, 7 Jul 2022 13:20:57 +0000 (15:20 +0200)]
Hack more height for HTMLDialog.

21 months agoUse bitmap_path to find me.jpeg
Carl Hetherington [Thu, 7 Jul 2022 13:20:34 +0000 (15:20 +0200)]
Use bitmap_path to find me.jpeg

21 months agoChange bitmap_path to take a full name with extension.
Carl Hetherington [Thu, 7 Jul 2022 13:20:03 +0000 (15:20 +0200)]
Change bitmap_path to take a full name with extension.

21 months agoMake it possible to build just one thing for macOS rather than everything.
Carl Hetherington [Mon, 18 Jul 2022 21:54:55 +0000 (23:54 +0200)]
Make it possible to build just one thing for macOS rather than everything.

21 months agoBump libsub for fixes to SSA/ASS font sizing.
Carl Hetherington [Mon, 18 Jul 2022 21:34:03 +0000 (23:34 +0200)]
Bump libsub for fixes to SSA/ASS font sizing.

21 months agoAdd missing <dir> entries to the macOS fonts.conf
Carl Hetherington [Sun, 17 Jul 2022 22:30:20 +0000 (00:30 +0200)]
Add missing <dir> entries to the macOS fonts.conf

21 months agoAlso copy fonts in osx/copy_resources.sh
Carl Hetherington [Fri, 15 Jul 2022 22:25:30 +0000 (15:25 -0700)]
Also copy fonts in osx/copy_resources.sh

21 months agoAdd some logging to the system font finder.
Carl Hetherington [Wed, 6 Jul 2022 22:09:09 +0000 (00:09 +0200)]
Add some logging to the system font finder.

21 months agoHandle vertical alignment of subs correctly wrt the difference between Interop and...
Carl Hetherington [Wed, 6 Jul 2022 10:25:15 +0000 (12:25 +0200)]
Handle vertical alignment of subs correctly wrt the difference between Interop and SMPTE.

21 months agoWhitespace tweak.
Carl Hetherington [Wed, 6 Jul 2022 08:51:30 +0000 (10:51 +0200)]
Whitespace tweak.

21 months agoImprove a variable name.
Carl Hetherington [Wed, 6 Jul 2022 08:51:04 +0000 (10:51 +0200)]
Improve a variable name.

21 months agoTidy up font rendering for subtitles.
Carl Hetherington [Wed, 6 Jul 2022 08:08:55 +0000 (10:08 +0200)]
Tidy up font rendering for subtitles.

Here was use get_ink_extents() rather than get_pixel_size() to
find out how big the rendered subtitle will be, then use the
x/y values of this extents rectangle to offset the rendering
within the image.  This allows the removal of some hacks to make
accents visible.

21 months agoAdd useful debugging test which might be tricky to use properly because of rendering...
Carl Hetherington [Tue, 5 Jul 2022 21:10:01 +0000 (23:10 +0200)]
Add useful debugging test which might be tricky to use properly because of rendering differences.

21 months agoTidy up some test names and remove pointless comments.
Carl Hetherington [Tue, 5 Jul 2022 21:09:15 +0000 (23:09 +0200)]
Tidy up some test names and remove pointless comments.

21 months agoAllow multiple DCPs to be written to a disk (#1756).
Carl Hetherington [Tue, 19 Jul 2022 22:51:23 +0000 (00:51 +0200)]
Allow multiple DCPs to be written to a disk (#1756).

21 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Sun, 17 Jul 2022 18:32:03 +0000 (20:32 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

21 months agoFix a couple of reserve()s that should be resize() (#2285).
Carl Hetherington [Sun, 17 Jul 2022 18:01:58 +0000 (20:01 +0200)]
Fix a couple of reserve()s that should be resize() (#2285).

21 months agoBump libdcp for bug in previous commit.
Carl Hetherington [Fri, 15 Jul 2022 09:00:04 +0000 (11:00 +0200)]
Bump libdcp for bug in previous commit.

21 months agoBump libdcp so that it closes MXF files when destroying asset writers.
Carl Hetherington [Thu, 14 Jul 2022 22:23:57 +0000 (00:23 +0200)]
Bump libdcp so that it closes MXF files when destroying asset writers.

21 months agoFix failure to destroy the J2KEncoder when an encode fails/is cancelled.
Carl Hetherington [Thu, 14 Jul 2022 22:03:33 +0000 (00:03 +0200)]
Fix failure to destroy the J2KEncoder when an encode fails/is cancelled.

21 months agoFix build.
Carl Hetherington [Thu, 14 Jul 2022 18:40:46 +0000 (20:40 +0200)]
Fix build.

21 months agoMore error message improvements.
Carl Hetherington [Thu, 14 Jul 2022 18:24:30 +0000 (20:24 +0200)]
More error message improvements.

21 months agoLog a couple of errors more thoroughly.
Carl Hetherington [Thu, 14 Jul 2022 11:07:11 +0000 (13:07 +0200)]
Log a couple of errors more thoroughly.

21 months agoSupporters update. v2.16.18
Carl Hetherington [Tue, 12 Jul 2022 21:04:33 +0000 (23:04 +0200)]
Supporters update.

21 months agoFix stupid crash in dcpomatic_create when adding a DCP without a KDM.
Carl Hetherington [Tue, 12 Jul 2022 21:03:33 +0000 (23:03 +0200)]
Fix stupid crash in dcpomatic_create when adding a DCP without a KDM.

21 months agoCorrect version number when deciding whether or not to fix subtitle IDs. v2.16.17
Carl Hetherington [Sun, 10 Jul 2022 08:44:58 +0000 (10:44 +0200)]
Correct version number when deciding whether or not to fix subtitle IDs.

21 months agoFix font_id errors with files decoded by FFmpeg which have subtitles.
Carl Hetherington [Sat, 9 Jul 2022 21:08:56 +0000 (23:08 +0200)]
Fix font_id errors with files decoded by FFmpeg which have subtitles.

I'm not sure if this goes far enough - it seems impossible to find all
the font IDs used in a FFmpeg file without scanning it.  I don't know
if (for example) SSA-format font IDs make it through to DoM when decoded
by FFmpeg.

21 months agoUse a vector rather than a list when returning from content_factory().
Carl Hetherington [Sat, 9 Jul 2022 18:41:10 +0000 (20:41 +0200)]
Use a vector rather than a list when returning from content_factory().

21 months agoLittle C++11 cleanup.
Carl Hetherington [Sat, 9 Jul 2022 18:40:21 +0000 (20:40 +0200)]
Little C++11 cleanup.

21 months agoBe a bit more careful with content_factory().
Carl Hetherington [Sat, 9 Jul 2022 18:39:10 +0000 (20:39 +0200)]
Be a bit more careful with content_factory().

21 months agoWe no longer support .ecinema files.
Carl Hetherington [Sat, 9 Jul 2022 18:33:16 +0000 (20:33 +0200)]
We no longer support .ecinema files.

21 months agoFix font handling for DCP subtitles.
Carl Hetherington [Sat, 9 Jul 2022 18:22:38 +0000 (20:22 +0200)]
Fix font handling for DCP subtitles.