dcpomatic.git
4 years agoLet's not bother removing supporters who didn't donate before the tag date of a release.
Carl Hetherington [Sun, 3 Nov 2019 23:29:34 +0000 (23:29 +0000)]
Let's not bother removing supporters who didn't donate before the tag date of a release.

4 years agoUpdated es_ES translation from Manuel AC.
Carl Hetherington [Sat, 2 Nov 2019 22:35:58 +0000 (23:35 +0100)]
Updated es_ES translation from Manuel AC.

4 years agoSet fade in/out using content frame rate rather than DCP rate (#1642).
Carl Hetherington [Thu, 31 Oct 2019 15:01:58 +0000 (16:01 +0100)]
Set fade in/out using content frame rate rather than DCP rate (#1642).

4 years agoFix dying butler on changing CPL from one without to one with v2.14.13
Carl Hetherington [Wed, 30 Oct 2019 21:39:58 +0000 (21:39 +0000)]
Fix dying butler on changing CPL from one without to one with
subtitles (#1641).

4 years agoRemove an optimisation to not run the body of ContentPanel::check_selection
Carl Hetherington [Wed, 30 Oct 2019 21:38:50 +0000 (21:38 +0000)]
Remove an optimisation to not run the body of ContentPanel::check_selection
if it is called with an unchanged selection.  It breaks updates
of the available tabs when a OV is added to a VF DCP, or when a new CPL
is chosen that has subs where the previous one did not.

Backport from d038abd7a0dce09aa84101c45af5ec8e4086e64f in v2.15.x.

4 years agoAttempt to fix total breakage of OS X build.
Carl Hetherington [Tue, 29 Oct 2019 20:58:17 +0000 (21:58 +0100)]
Attempt to fix total breakage of OS X build.

4 years agoProtect cross-thread access to _pending_images.
Carl Hetherington [Sun, 27 Oct 2019 12:11:32 +0000 (13:11 +0100)]
Protect cross-thread access to _pending_images.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic v2.14.12
Carl Hetherington [Fri, 25 Oct 2019 23:03:00 +0000 (01:03 +0200)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

4 years agoPrevent player folding audio to 2 channel if "default DCP audio channels" is set...
Carl Hetherington [Fri, 25 Oct 2019 22:51:26 +0000 (00:51 +0200)]
Prevent player folding audio to 2 channel if "default DCP audio channels" is set to 2.

4 years agoPrevent calls to erase with invalid keys.
Carl Hetherington [Fri, 25 Oct 2019 22:43:35 +0000 (00:43 +0200)]
Prevent calls to erase with invalid keys.

4 years agoCopy with progress updates when we might copy long files (#1574).
Carl Hetherington [Mon, 21 Oct 2019 15:25:04 +0000 (17:25 +0200)]
Copy with progress updates when we might copy long files (#1574).

Backported from 48b82de5b6e8e07330a2f72dbddd8d9830fe047e in v2.15.x.

4 years agoISDCF name fixes with > 6 channels and HI/VI (#1633).
Carl Hetherington [Fri, 18 Oct 2019 15:48:13 +0000 (17:48 +0200)]
ISDCF name fixes with > 6 channels and HI/VI (#1633).

4 years agoFix assertion failure on making a VF, in certain circumstances. v2.14.11
Carl Hetherington [Tue, 15 Oct 2019 22:04:53 +0000 (22:04 +0000)]
Fix assertion failure on making a VF, in certain circumstances.

These circumstances were a VF which refers to at least one complete
reel of audio from a OV before adding more audio of its own.

4 years agoFix deadlock in tests.
Carl Hetherington [Tue, 15 Oct 2019 20:37:52 +0000 (22:37 +0200)]
Fix deadlock in tests.

4 years agoFix cross-thread access to info files. May help with #1618.
Carl Hetherington [Tue, 8 Oct 2019 22:43:22 +0000 (00:43 +0200)]
Fix cross-thread access to info files.  May help with #1618.

4 years agoFix confusing error in windows where it would complain about : in full pathnames...
Carl Hetherington [Tue, 15 Oct 2019 08:13:58 +0000 (10:13 +0200)]
Fix confusing error in windows where it would complain about : in full pathnames if creating a directory failed.

4 years agoFix python 2 print() statement.
Carl Hetherington [Mon, 14 Oct 2019 23:01:22 +0000 (01:01 +0200)]
Fix python 2 print() statement.

4 years agoPrune some dependencies and add Ubuntu 19.10.
Carl Hetherington [Mon, 14 Oct 2019 20:24:33 +0000 (22:24 +0200)]
Prune some dependencies and add Ubuntu 19.10.

4 years agoRemove possibly-dubious reuse of a single content object.
Carl Hetherington [Mon, 14 Oct 2019 13:59:48 +0000 (15:59 +0200)]
Remove possibly-dubious reuse of a single content object.

4 years agoPossible fix for sporadic test failures where DCPs are checked before they are made.
Carl Hetherington [Mon, 14 Oct 2019 13:59:26 +0000 (15:59 +0200)]
Possible fix for sporadic test failures where DCPs are checked before they are made.

4 years agoEnable some logging in a test.
Carl Hetherington [Mon, 14 Oct 2019 13:57:44 +0000 (15:57 +0200)]
Enable some logging in a test.

4 years agoRename and fix up hack script.
Carl Hetherington [Mon, 14 Oct 2019 13:57:23 +0000 (15:57 +0200)]
Rename and fix up hack script.

4 years agoAllow debug builds with no internet connection. Also add missing patron.
Carl Hetherington [Wed, 9 Oct 2019 20:08:02 +0000 (22:08 +0200)]
Allow debug builds with no internet connection.  Also add missing patron.

4 years agoFix up namespace for master.
Carl Hetherington [Tue, 8 Oct 2019 21:22:12 +0000 (21:22 +0000)]
Fix up namespace for master.

4 years agoImprove OpenFileError so that it doesn't say "opening for read"
Carl Hetherington [Sun, 29 Sep 2019 21:28:57 +0000 (23:28 +0200)]
Improve OpenFileError so that it doesn't say "opening for read"
in one case where it should say "opening for read/write".

Also add some unit tests for ReelWriter.

4 years agoAdd a little logging.
Carl Hetherington [Mon, 7 Oct 2019 21:50:54 +0000 (21:50 +0000)]
Add a little logging.

4 years agoMissing file from manual build.
Carl Hetherington [Sat, 5 Oct 2019 19:29:17 +0000 (21:29 +0200)]
Missing file from manual build.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Sat, 5 Oct 2019 19:27:58 +0000 (21:27 +0200)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

4 years agoAdd xattr command to remove things from .apps that codesign does not like.
Carl Hetherington [Thu, 3 Oct 2019 17:47:39 +0000 (19:47 +0200)]
Add xattr command to remove things from .apps that codesign does not like.
It says:

resource fork, Finder information, or similar detritus not allowed

I'm not sure why this suddenly became necessary.

4 years agoCorresponding libsub version bump.
Carl Hetherington [Tue, 1 Oct 2019 21:36:34 +0000 (23:36 +0200)]
Corresponding libsub version bump.

4 years agoBump libdcp for CPL root element namespace fix.
Carl Hetherington [Tue, 1 Oct 2019 21:35:06 +0000 (23:35 +0200)]
Bump libdcp for CPL root element namespace fix.

4 years agoUse content video frame rate rather than the DCP one when reading
Carl Hetherington [Fri, 20 Sep 2019 08:22:10 +0000 (10:22 +0200)]
Use content video frame rate rather than the DCP one when reading
trim start/end back from the UI.  See #1607.

Backported from 3e6214d3dce7deceb98436e416747aaff72bf561 in v2.15.x.

4 years agoIgnore .ccls.g
Carl Hetherington [Sun, 29 Sep 2019 00:14:06 +0000 (02:14 +0200)]
Ignore .ccls.g

4 years agoAdd a warning log when an assertion gets hit.
Carl Hetherington [Thu, 19 Sep 2019 22:11:25 +0000 (00:11 +0200)]
Add a warning log when an assertion gets hit.

4 years agoStop double-click on the splitter divider from doing anything (#1601).
Carl Hetherington [Wed, 4 Sep 2019 23:28:32 +0000 (00:28 +0100)]
Stop double-click on the splitter divider from doing anything (#1601).

Backported from cd4e040a1828b83809b555a99b529fcb0f395656 in v2.15.x.

4 years agoRemove extra space.
Carl Hetherington [Tue, 3 Sep 2019 20:41:56 +0000 (21:41 +0100)]
Remove extra space.

4 years agoMissing AppImage Encode Server build. v2.14.10
Carl Hetherington [Tue, 3 Sep 2019 09:50:03 +0000 (10:50 +0100)]
Missing AppImage Encode Server build.

4 years agoDon't force 24fps onto every DCP made by dcpomatic_create (#1598).
Carl Hetherington [Tue, 3 Sep 2019 00:14:44 +0000 (01:14 +0100)]
Don't force 24fps onto every DCP made by dcpomatic_create (#1598).

Backported from a0d7e38c1b7944ed45cdd6c0292fea33421e8bf5 in v2.15.x.

4 years agoFix missing log in dcpomatic_create (#1597).
Carl Hetherington [Tue, 3 Sep 2019 00:04:28 +0000 (01:04 +0100)]
Fix missing log in dcpomatic_create (#1597).

Backported from 7b8ae6c203d4b2de98841cba312d35b355df5579 in v2.15.x.

4 years agoExit with code 0 on dcpomatic2_create --version (#1599).
Carl Hetherington [Mon, 2 Sep 2019 23:53:23 +0000 (00:53 +0100)]
Exit with code 0 on dcpomatic2_create --version (#1599).

Backported from 5753269a807a0ca3b34e12596cdfa3e0362b250f in v2.15.x.

4 years agoFixes for Debian 10 and unstable builds. v2.14.9
Carl Hetherington [Mon, 2 Sep 2019 19:23:25 +0000 (20:23 +0100)]
Fixes for Debian 10 and unstable builds.

4 years agoIgnore video streams with frame rates over 1000 (work-around/fix for #1585).
Carl Hetherington [Sun, 21 Jul 2019 23:34:10 +0000 (23:34 +0000)]
Ignore video streams with frame rates over 1000 (work-around/fix for #1585).

Backported from f4f6a2504e5fedb67513689eaeac9dd88ee38ca9 in 2.15.x.

4 years agoDon't crash if history items are inaccessible.
Carl Hetherington [Tue, 2 Jul 2019 21:56:56 +0000 (22:56 +0100)]
Don't crash if history items are inaccessible.

Backported from 232ddcc9892a7dfd54efa7533c27c4cfdf71bffd in v2.15.x.

4 years agoBuild fix. v2.14.8
Carl Hetherington [Sat, 29 Jun 2019 19:22:48 +0000 (19:22 +0000)]
Build fix.

4 years agoBump libsub for Centos build fix.
Carl Hetherington [Fri, 28 Jun 2019 23:05:08 +0000 (00:05 +0100)]
Bump libsub for Centos build fix.

4 years agoBump libsub for \c support.
Carl Hetherington [Fri, 28 Jun 2019 22:33:23 +0000 (23:33 +0100)]
Bump libsub for \c support.

4 years agoFix incorrect timing of PNG subtitles in second and subsequent reels.
Carl Hetherington [Thu, 27 Jun 2019 22:09:36 +0000 (23:09 +0100)]
Fix incorrect timing of PNG subtitles in second and subsequent reels.

Backported from 5728b8095b9522626d61b1c684a9492f759e2870 in v2.15.x.

4 years agoFix off-by-one channel when editing audio map levels numerically. v2.14.7
Carl Hetherington [Tue, 28 May 2019 00:06:25 +0000 (00:06 +0000)]
Fix off-by-one channel when editing audio map levels numerically.

4 years agoUse pofilter to check i18n and fix some .po file glitches. v2.14.6
Carl Hetherington [Mon, 27 May 2019 23:48:06 +0000 (00:48 +0100)]
Use pofilter to check i18n and fix some .po file glitches.

4 years agoFix several bits of bad i18n markup and add start of checking script.
Carl Hetherington [Mon, 27 May 2019 22:50:37 +0000 (23:50 +0100)]
Fix several bits of bad i18n markup and add start of checking script.

4 years agoFix some malformed placeholders in the cs_CZ translation.
Carl Hetherington [Mon, 27 May 2019 22:38:41 +0000 (23:38 +0100)]
Fix some malformed placeholders in the cs_CZ translation.

4 years agoFix slightly unbelievable out-of-bounds array access when setting up the audio map... v2.14.5
Carl Hetherington [Sat, 25 May 2019 23:30:28 +0000 (23:30 +0000)]
Fix slightly unbelievable out-of-bounds array access when setting up the audio map for mixdown-to-stereo.

4 years agoMore destruction of the splash screen. v2.14.4
Carl Hetherington [Wed, 22 May 2019 23:26:55 +0000 (23:26 +0000)]
More destruction of the splash screen.

4 years agoTry to make splash screen disappear sooner by Skip()ing the idle event.
Carl Hetherington [Wed, 22 May 2019 22:41:35 +0000 (22:41 +0000)]
Try to make splash screen disappear sooner by Skip()ing the idle event.

4 years agoTry to fix unit tests.
Carl Hetherington [Wed, 22 May 2019 19:33:45 +0000 (19:33 +0000)]
Try to fix unit tests.

4 years agoAdd ko_KR files to RPM.
Carl Hetherington [Wed, 22 May 2019 07:44:40 +0000 (08:44 +0100)]
Add ko_KR files to RPM.

4 years agoFix mis-merge. v2.14.3
Carl Hetherington [Tue, 21 May 2019 21:16:33 +0000 (21:16 +0000)]
Fix mis-merge.

4 years agoBump libdcp/libsub for fix to #1561 (problems when writing many SMPTE subs).
Carl Hetherington [Tue, 21 May 2019 20:27:07 +0000 (21:27 +0100)]
Bump libdcp/libsub for fix to #1561 (problems when writing many SMPTE subs).

4 years agoGive an error if 2D content is set to 3D (#1565). Also run
Carl Hetherington [Tue, 21 May 2019 00:47:22 +0000 (01:47 +0100)]
Give an error if 2D content is set to 3D (#1565).  Also run
3D tests with more parallel jobs to speed them up.

Backported from 11c07c6fd98620c859c7d3dcf6a4bbf6a05e567e in v2.15.x.

4 years agoAdd test for #1565.
Carl Hetherington [Mon, 20 May 2019 22:17:21 +0000 (22:17 +0000)]
Add test for #1565.

4 years agoFix scrolling of audio channel group labels.
Carl Hetherington [Wed, 15 May 2019 20:18:32 +0000 (21:18 +0100)]
Fix scrolling of audio channel group labels.

Backported from 7ceb67dae630ddefc10090be5a0a8dea9ac835ad in v2.15.x.

4 years agoAdd tooltip for input groups (#1557).
Carl Hetherington [Tue, 14 May 2019 22:06:53 +0000 (23:06 +0100)]
Add tooltip for input groups (#1557).

Backported from ca20cd4711c6b56ac238cf2313d2d4d1db92fe1a in v2.15.x.

4 years agoTruncate audio mapping view channel group names (part of #1557).
Carl Hetherington [Tue, 14 May 2019 21:54:17 +0000 (22:54 +0100)]
Truncate audio mapping view channel group names (part of #1557).

Backported from faa42e385ec2e36e75347ba5da1e4e0f69b6d6f3 in v2.15.x.

4 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Fri, 10 May 2019 13:35:43 +0000 (14:35 +0100)]
Updated de_DE translation from Carsten Kurz.

4 years agoFix ko_KR charset.
Carl Hetherington [Fri, 10 May 2019 12:14:37 +0000 (13:14 +0100)]
Fix ko_KR charset.

4 years agoAdd new ko_KR .po files.
Carl Hetherington [Fri, 10 May 2019 12:12:32 +0000 (13:12 +0100)]
Add new ko_KR .po files.

4 years agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Tue, 7 May 2019 19:52:40 +0000 (20:52 +0100)]
Updated fr_FR translation from Thierry Journet.

4 years agoMore manual build fixes.
Carl Hetherington [Tue, 7 May 2019 10:38:37 +0000 (11:38 +0100)]
More manual build fixes.

4 years agoFix manual build.
Carl Hetherington [Tue, 7 May 2019 10:35:07 +0000 (11:35 +0100)]
Fix manual build.

4 years agoManual errors (folder -> DCP).
Carl Hetherington [Tue, 7 May 2019 10:17:13 +0000 (11:17 +0100)]
Manual errors (folder -> DCP).

4 years agoSpeculative fix for white lines at the bottom of full-screen playback windows. v2.14.2
Carl Hetherington [Sun, 5 May 2019 22:42:10 +0000 (23:42 +0100)]
Speculative fix for white lines at the bottom of full-screen playback windows.

4 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sun, 5 May 2019 22:32:40 +0000 (23:32 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 years agoStop video filters emitting frames from the old position just
Carl Hetherington [Sun, 5 May 2019 22:23:40 +0000 (22:23 +0000)]
Stop video filters emitting frames from the old position just
after a seek.

If this happens, we get sequences like

1. emit some video at time 60s
2. seek to 40s
3. video frame emitted from filter at 60.1s; this sets _last_video_time
in player so that frames emitted between 40s and 60s are discarded;
hence the audio buffers overflow.

Should fix #1551.

4 years agoFix case where the is FFmpegContent with 24fps video and 44.1kHz audio
Carl Hetherington [Sun, 5 May 2019 20:49:51 +0000 (20:49 +0000)]
Fix case where the is FFmpegContent with 24fps video and 44.1kHz audio
and a start trim of 6724000.  With these numbers the start trim is
on an integer video frame but halfway through an audio frame.  Without
this patch the trim would be "corrected" to 6724001, causing video frames
to come out of the player at DCPTimes 0, 3999, 5999 etc.

It's possible that

Frame const position = time.frames_floor(_film->video_frame_rate());

in J2KEncoder::encode should be frames_round, which would also help
with this, but that would be a much more risky patch.

4 years agoTranslate PulseAudio -> PulseAudio in all languages.
Carl Hetherington [Sun, 5 May 2019 19:23:23 +0000 (20:23 +0100)]
Translate PulseAudio -> PulseAudio in all languages.

4 years agopot/merge.
Carl Hetherington [Sun, 5 May 2019 19:21:32 +0000 (20:21 +0100)]
pot/merge.

4 years agoFix xgettext call with UTF8 source code.
Carl Hetherington [Sun, 5 May 2019 19:20:42 +0000 (20:20 +0100)]
Fix xgettext call with UTF8 source code.

4 years agoCorrect capitalisation of PulseAudio.
Carl Hetherington [Sun, 5 May 2019 19:16:28 +0000 (20:16 +0100)]
Correct capitalisation of PulseAudio.

4 years agoFix logging when loading a film. v2.14.1
Carl Hetherington [Sat, 4 May 2019 22:24:54 +0000 (22:24 +0000)]
Fix logging when loading a film.

4 years agoBuild fix for previous.
Carl Hetherington [Sat, 4 May 2019 22:00:48 +0000 (22:00 +0000)]
Build fix for previous.

4 years agoFix crash in audio mapping view in various circumstances.
Carl Hetherington [Sat, 4 May 2019 21:43:45 +0000 (21:43 +0000)]
Fix crash in audio mapping view in various circumstances.

4 years agoFix some formatting errors in the it_IT translation.
Carl Hetherington [Sat, 4 May 2019 12:51:21 +0000 (12:51 +0000)]
Fix some formatting errors in the it_IT translation.

4 years agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Sat, 4 May 2019 00:20:34 +0000 (00:20 +0000)]
Updated fr_FR translation from Thierry Journet.

4 years agoInclude video_frame_rate in TextContent identifier so that if (for
Carl Hetherington [Sat, 4 May 2019 00:06:54 +0000 (00:06 +0000)]
Include video_frame_rate in TextContent identifier so that if (for
example) some SRT subs are being burnt and their video frame rate is
changed we won't try to reuse the video that has been burnt with the
subs at the old frame rate.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 3 May 2019 22:10:29 +0000 (22:10 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

4 years agoDisallow unsetting the frame rate on FFmpeg/DCP content (#1547).
Carl Hetherington [Fri, 3 May 2019 22:10:21 +0000 (22:10 +0000)]
Disallow unsetting the frame rate on FFmpeg/DCP content (#1547).

4 years agoIncrease unit test log level.
Carl Hetherington [Fri, 3 May 2019 14:37:23 +0000 (14:37 +0000)]
Increase unit test log level.

4 years agoFix "cannot handle pixel format 26 during make_transparent()" (part of #1545).
Carl Hetherington [Fri, 3 May 2019 14:00:19 +0000 (14:00 +0000)]
Fix "cannot handle pixel format 26 during make_transparent()" (part of #1545).

4 years agoFix/workaround crash:
Carl Hetherington [Fri, 3 May 2019 01:32:46 +0000 (01:32 +0000)]
Fix/workaround crash:

../src/common/dpycmn.cpp(119): assert "n <GetCount ()" failed in wxDisplay (): An invalid index was passed to wxDisplay

seen on Ubuntu 19.04; I can't reproduce it myself but the user reports that
this fixes it.

4 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Thu, 2 May 2019 21:01:26 +0000 (22:01 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 years agoBump libdcp/libsub versions in wscript. v2.14.0
Carl Hetherington [Tue, 30 Apr 2019 21:10:25 +0000 (21:10 +0000)]
Bump libdcp/libsub versions in wscript.

4 years agoAdd --j2k-bandwidth to dcpomatic_create. v2.13.158
Carl Hetherington [Tue, 30 Apr 2019 09:41:04 +0000 (09:41 +0000)]
Add --j2k-bandwidth to dcpomatic_create.

4 years agoAdd --fourk to dcpomatic_create.
Carl Hetherington [Tue, 30 Apr 2019 09:05:13 +0000 (10:05 +0100)]
Add --fourk to dcpomatic_create.

4 years agoIgnore the (unrouteable) FTP passive-mode IP address given by v2.13.157
Carl Hetherington [Mon, 29 Apr 2019 20:59:33 +0000 (21:59 +0100)]
Ignore the (unrouteable) FTP passive-mode IP address given by
the Dolby certificate server (#1541).

4 years agoTweak cosmetic appearance of audio mapping view. v2.13.156
Carl Hetherington [Sun, 28 Apr 2019 22:45:14 +0000 (23:45 +0100)]
Tweak cosmetic appearance of audio mapping view.

4 years agopot/merge. v2.13.155
Carl Hetherington [Sun, 28 Apr 2019 20:18:42 +0000 (21:18 +0100)]
pot/merge.

4 years agoRestore ISDCF subtitle language option as an override (#1536).
Carl Hetherington [Sun, 28 Apr 2019 20:11:21 +0000 (20:11 +0000)]
Restore ISDCF subtitle language option as an override (#1536).

4 years agoFix AudioMappingView scrolling so that only the body of the grid is scrolled. v2.13.154
Carl Hetherington [Sat, 27 Apr 2019 22:11:50 +0000 (22:11 +0000)]
Fix AudioMappingView scrolling so that only the body of the grid is scrolled.

4 years agoNudge audio mapping view sizes up a little.
Carl Hetherington [Sat, 27 Apr 2019 21:16:07 +0000 (21:16 +0000)]
Nudge audio mapping view sizes up a little.

4 years agoFix channel numbering in tooltip.
Carl Hetherington [Sat, 27 Apr 2019 11:11:27 +0000 (11:11 +0000)]
Fix channel numbering in tooltip.