dcpomatic.git
3 years agoFix some label alignment. v2.15.123
Carl Hetherington [Sat, 16 Jan 2021 22:53:46 +0000 (23:53 +0100)]
Fix some label alignment.

3 years agoBump libsub again for another build fix (just Centos this time).
Carl Hetherington [Sat, 16 Jan 2021 16:00:13 +0000 (17:00 +0100)]
Bump libsub again for another build fix (just Centos this time).

3 years agoFix build failure due to warning about unused macOS-only method.
Carl Hetherington [Sat, 16 Jan 2021 14:16:11 +0000 (15:16 +0100)]
Fix build failure due to warning about unused macOS-only method.

3 years agoAnother libsub build fix.
Carl Hetherington [Sat, 16 Jan 2021 13:28:01 +0000 (14:28 +0100)]
Another libsub build fix.

3 years agoAttempted libsub build fix. v2.15.122
Carl Hetherington [Sat, 16 Jan 2021 02:54:42 +0000 (03:54 +0100)]
Attempted libsub build fix.

3 years agoFix crash on close on Linux. v2.15.121
Carl Hetherington [Sat, 16 Jan 2021 02:09:11 +0000 (03:09 +0100)]
Fix crash on close on Linux.

3 years agoFix macOS dcpomatic_player script.
Carl Hetherington [Sat, 16 Jan 2021 01:18:47 +0000 (02:18 +0100)]
Fix macOS dcpomatic_player script.

3 years agoFix OpenGL crashes on macOS (#1899).
Carl Hetherington [Fri, 15 Jan 2021 23:55:29 +0000 (00:55 +0100)]
Fix OpenGL crashes on macOS (#1899).

3 years agoFix Linux build.
Carl Hetherington [Fri, 15 Jan 2021 23:27:52 +0000 (00:27 +0100)]
Fix Linux build.

3 years agoTweak link icon width on macOS; looks right on Big Sur now.
Carl Hetherington [Fri, 15 Jan 2021 19:35:53 +0000 (20:35 +0100)]
Tweak link icon width on macOS; looks right on Big Sur now.

3 years agoSymlink openssl when testing.
Carl Hetherington [Fri, 15 Jan 2021 11:50:29 +0000 (12:50 +0100)]
Symlink openssl when testing.

3 years agoFix basic errors in 1af2b2bef65b133c9f56cb64007adc0aebad59aa
Carl Hetherington [Fri, 15 Jan 2021 11:50:20 +0000 (12:50 +0100)]
Fix basic errors in 1af2b2bef65b133c9f56cb64007adc0aebad59aa

3 years agoFix deployment target for test scripts.
Carl Hetherington [Fri, 15 Jan 2021 11:50:05 +0000 (12:50 +0100)]
Fix deployment target for test scripts.

3 years agoFix padding around preview in macOS dark mode (#1897).
Carl Hetherington [Fri, 15 Jan 2021 11:49:48 +0000 (12:49 +0100)]
Fix padding around preview in macOS dark mode (#1897).

3 years agoDifferent fix for assertion failures when right-aligning in horizontal wxBoxSizers.
Carl Hetherington [Fri, 15 Jan 2021 10:31:24 +0000 (11:31 +0100)]
Different fix for assertion failures when right-aligning in horizontal wxBoxSizers.

3 years agoRevert "wxWindows 3.1.x fixes for macOS."
Carl Hetherington [Fri, 15 Jan 2021 10:08:41 +0000 (11:08 +0100)]
Revert "wxWindows 3.1.x fixes for macOS."

This reverts commit 713ea4c65f88cfa2c7944ce6013963c2b1277d60.

3 years agoFix scripts to run on macOS.
Carl Hetherington [Thu, 14 Jan 2021 19:49:08 +0000 (20:49 +0100)]
Fix scripts to run on macOS.

3 years agowxWindows 3.1.x fixes for macOS.
Carl Hetherington [Thu, 14 Jan 2021 19:05:56 +0000 (20:05 +0100)]
wxWindows 3.1.x fixes for macOS.

3 years agoBump libsub for new API.
Carl Hetherington [Thu, 14 Jan 2021 16:26:20 +0000 (17:26 +0100)]
Bump libsub for new API.

3 years agoTry to mention ARM64 builds in the logs correctly.
Carl Hetherington [Thu, 14 Jan 2021 11:35:36 +0000 (12:35 +0100)]
Try to mention ARM64 builds in the logs correctly.

3 years agoFix for changes to libsub API.
Carl Hetherington [Wed, 13 Jan 2021 12:26:28 +0000 (13:26 +0100)]
Fix for changes to libsub API.

3 years agoMore c++ tidying.
Carl Hetherington [Mon, 11 Jan 2021 15:46:13 +0000 (16:46 +0100)]
More c++ tidying.

3 years agoMore c++ tidying.
Carl Hetherington [Sat, 9 Jan 2021 08:27:29 +0000 (09:27 +0100)]
More c++ tidying.

3 years agoMore c++ tidying.
Carl Hetherington [Sat, 9 Jan 2021 00:29:24 +0000 (01:29 +0100)]
More c++ tidying.

3 years agoc++ tidying.
Carl Hetherington [Fri, 8 Jan 2021 20:56:40 +0000 (21:56 +0100)]
c++ tidying.

3 years agoNew libcxml API.
Carl Hetherington [Fri, 8 Jan 2021 20:55:47 +0000 (21:55 +0100)]
New libcxml API.

3 years agoFix test running on macOS.
Carl Hetherington [Fri, 8 Jan 2021 11:34:15 +0000 (12:34 +0100)]
Fix test running on macOS.

3 years agoRemove optional c++11 stuff.
Carl Hetherington [Tue, 5 Jan 2021 01:11:21 +0000 (02:11 +0100)]
Remove optional c++11 stuff.

3 years agoBump dependencies.
Carl Hetherington [Mon, 4 Jan 2021 22:32:05 +0000 (23:32 +0100)]
Bump dependencies.

3 years agoBOOST_FOREACH.
Carl Hetherington [Mon, 4 Jan 2021 20:32:13 +0000 (21:32 +0100)]
BOOST_FOREACH.

3 years agostd::shared_ptr
Carl Hetherington [Mon, 4 Jan 2021 20:16:53 +0000 (21:16 +0100)]
std::shared_ptr

3 years agoRelink different architectures in a nicer and safer way. v2.15.120
Carl Hetherington [Thu, 7 Jan 2021 15:47:03 +0000 (16:47 +0100)]
Relink different architectures in a nicer and safer way.

3 years agoTry to fix previous commit. v2.15.119
Carl Hetherington [Thu, 7 Jan 2021 12:17:11 +0000 (13:17 +0100)]
Try to fix previous commit.

3 years agoUpdate lwext4 for build fix so that its arm64 library is relinked v2.15.118
Carl Hetherington [Thu, 7 Jan 2021 11:06:42 +0000 (12:06 +0100)]
Update lwext4 for build fix so that its arm64 library is relinked
correctly.

Otherwise gatekeeper refuses to run DCP-o-matic.

3 years agoSeems over-complicated to use SDK-specific subdirectories. v2.15.117
Carl Hetherington [Tue, 5 Jan 2021 17:09:25 +0000 (18:09 +0100)]
Seems over-complicated to use SDK-specific subdirectories.

3 years agoMake a universal binary containing x86_64 for SDK 10.9 and arm64 for SDK 11.0. v2.15.116
Carl Hetherington [Tue, 5 Jan 2021 10:04:13 +0000 (11:04 +0100)]
Make a universal binary containing x86_64 for SDK 10.9 and arm64 for SDK 11.0.

3 years agoAnother linux build fix. v2.15.115
Carl Hetherington [Mon, 4 Jan 2021 14:17:43 +0000 (15:17 +0100)]
Another linux build fix.

3 years agoFix linux build broken by arm64 changes. v2.15.114
Carl Hetherington [Mon, 4 Jan 2021 13:23:59 +0000 (14:23 +0100)]
Fix linux build broken by arm64 changes.

3 years agoFix libssh re-linking error (it ended up linked as @rpath/libssh.4.dylib) v2.15.113
Carl Hetherington [Sat, 2 Jan 2021 15:54:17 +0000 (16:54 +0100)]
Fix libssh re-linking error (it ended up linked as @rpath/libssh.4.dylib)

3 years agoCheck that pango/cairo stuff is created successfully.
Carl Hetherington [Sat, 2 Jan 2021 15:53:52 +0000 (16:53 +0100)]
Check that pango/cairo stuff is created successfully.

3 years agoFix macOS image construction stuff for the 64-bit only, 10.9-or-higher world.
Carl Hetherington [Wed, 30 Dec 2020 11:32:27 +0000 (12:32 +0100)]
Fix macOS image construction stuff for the 64-bit only, 10.9-or-higher world.

Now we can build:
  - arm64/x86_64 universal builds against 11.0
  - x86_64 thin builds against 10.9

Which means no more support for 32-bit macOS (which I think excludes
macs made in 2011 or earlier) or for 10.8 (Mountain Lion) or earlier
(released in 2012 and possibly end-of-lifed in October 2015).

3 years agoAdd the option com.apple.security.cs.allow-dyld-environment-variables.
Carl Hetherington [Mon, 28 Dec 2020 22:17:56 +0000 (23:17 +0100)]
Add the option com.apple.security.cs.allow-dyld-environment-variables.

Without this the use of @executable_path in links to .dylibs causes
problems, perhaps only when linking against the 11.0 SDK.

3 years agoCopy some more .dylibs that are required by the updated osx-environment.
Carl Hetherington [Mon, 28 Dec 2020 17:04:24 +0000 (18:04 +0100)]
Copy some more .dylibs that are required by the updated osx-environment.

3 years agoSupport for arm64 macOS builds.
Carl Hetherington [Fri, 1 Jan 2021 21:16:21 +0000 (22:16 +0100)]
Support for arm64 macOS builds.

3 years agoHide macOS OpenGL deprecation.
Carl Hetherington [Thu, 24 Dec 2020 01:53:27 +0000 (02:53 +0100)]
Hide macOS OpenGL deprecation.

3 years agoWhen building against macOS SDK 11.0 we need an explicit link with bz2.
Carl Hetherington [Wed, 23 Dec 2020 19:24:41 +0000 (20:24 +0100)]
When building against macOS SDK 11.0 we need an explicit link with bz2.

3 years agoUpdate dependencies for arm64 builds.
Carl Hetherington [Wed, 23 Dec 2020 16:10:26 +0000 (17:10 +0100)]
Update dependencies for arm64 builds.

3 years agoRemove support for macOS 32-bit builds.
Carl Hetherington [Wed, 23 Dec 2020 16:05:01 +0000 (17:05 +0100)]
Remove support for macOS 32-bit builds.

3 years agoHappy new year.
Carl Hetherington [Fri, 1 Jan 2021 12:39:27 +0000 (13:39 +0100)]
Happy new year.

3 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sat, 26 Dec 2020 02:02:24 +0000 (03:02 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

3 years agopot/merge.
Carl Hetherington [Wed, 23 Dec 2020 01:02:18 +0000 (02:02 +0100)]
pot/merge.

3 years agoVarious tweaks to fix playback at the end of a film (#1858).
Carl Hetherington [Wed, 23 Dec 2020 00:52:21 +0000 (01:52 +0100)]
Various tweaks to fix playback at the end of a film (#1858).

The most questionable change here is probably how
SimpleVideoView::display_next_frame no longer re-schedules
itself if the call to get_next_frame returned AGAIN; it seems
wrong to do that when FilmViewer::idle_handler() also reschedules
itself when display_next_frame() returns AGAIN.

3 years agoFix error when cancelling load of a trusted device certificate.
Carl Hetherington [Tue, 22 Dec 2020 19:26:24 +0000 (20:26 +0100)]
Fix error when cancelling load of a trusted device certificate.

3 years agoAccept serial numbers with A prefix entered by user.
Carl Hetherington [Tue, 22 Dec 2020 19:15:08 +0000 (20:15 +0100)]
Accept serial numbers with A prefix entered by user.

3 years agoFix Christie certificate download when first try fails.
Carl Hetherington [Tue, 22 Dec 2020 18:58:02 +0000 (19:58 +0100)]
Fix Christie certificate download when first try fails.

3 years agoPass fonts from content around as FontData.
Carl Hetherington [Sun, 20 Dec 2020 22:41:52 +0000 (23:41 +0100)]
Pass fonts from content around as FontData.

i.e. as a block of memory rather than a file.  Also, get the
fonts from the decoder rather than the content.

Together, these changes allow us to use fonts from SMPTE DCPs
added as content.  Before, fonts would be messed up in those
cases (#1885).

3 years agoAdd FontData class.
Carl Hetherington [Sun, 20 Dec 2020 22:20:55 +0000 (23:20 +0100)]
Add FontData class.

3 years agoCatch exceptions better during hints thread.
Carl Hetherington [Sun, 20 Dec 2020 22:17:16 +0000 (23:17 +0100)]
Catch exceptions better during hints thread.

3 years agoFix crash on working out hints for content with subtitles.
Carl Hetherington [Sun, 20 Dec 2020 22:16:06 +0000 (23:16 +0100)]
Fix crash on working out hints for content with subtitles.

Probably introduced in
cadca6e4f8c1d844f1b5fb9375023e627c674fa9

3 years agoConfirm removal of cinemas and screens.
Carl Hetherington [Mon, 21 Dec 2020 23:26:13 +0000 (00:26 +0100)]
Confirm removal of cinemas and screens.

3 years agoFix alignment of some labels.
Carl Hetherington [Mon, 21 Dec 2020 22:58:52 +0000 (23:58 +0100)]
Fix alignment of some labels.

3 years agoSelect newly-added cinemas.
Carl Hetherington [Mon, 21 Dec 2020 22:51:24 +0000 (23:51 +0100)]
Select newly-added cinemas.

3 years agoTweak config comment.
Carl Hetherington [Tue, 15 Dec 2020 00:10:22 +0000 (01:10 +0100)]
Tweak config comment.

3 years agoFix lots of macOS warnings by using a different boost/bind include.
Carl Hetherington [Thu, 10 Dec 2020 18:27:53 +0000 (19:27 +0100)]
Fix lots of macOS warnings by using a different boost/bind include.

3 years agoFix macOS build.
Carl Hetherington [Thu, 10 Dec 2020 18:31:27 +0000 (19:31 +0100)]
Fix macOS build.

3 years agoIn a DCP with any subs/ccaps, make sure every reel has them (#1340).
Carl Hetherington [Tue, 8 Dec 2020 21:22:30 +0000 (22:22 +0100)]
In a DCP with any subs/ccaps, make sure every reel has them (#1340).

3 years agoFactor out empty_text_asset() method.
Carl Hetherington [Tue, 8 Dec 2020 21:02:04 +0000 (22:02 +0100)]
Factor out empty_text_asset() method.

3 years agoAdd partially-working resources copying script for macOS testing.
Carl Hetherington [Tue, 8 Dec 2020 20:03:07 +0000 (21:03 +0100)]
Add partially-working resources copying script for macOS testing.

3 years agoAssorted macOS layout tweaks.
Carl Hetherington [Tue, 8 Dec 2020 19:59:32 +0000 (20:59 +0100)]
Assorted macOS layout tweaks.

3 years agoShrink some big buttons.
Carl Hetherington [Tue, 8 Dec 2020 19:13:09 +0000 (20:13 +0100)]
Shrink some big buttons.

3 years agoTidy up alignment of play controls on macOS.
Carl Hetherington [Tue, 8 Dec 2020 19:14:37 +0000 (20:14 +0100)]
Tidy up alignment of play controls on macOS.

3 years agoFix crop control alignment on macOS (#1864).
Carl Hetherington [Tue, 8 Dec 2020 18:31:28 +0000 (19:31 +0100)]
Fix crop control alignment on macOS (#1864).

3 years agoFix old osx-environment path.
Carl Hetherington [Tue, 8 Dec 2020 18:30:15 +0000 (19:30 +0100)]
Fix old osx-environment path.

3 years agoFix test build on macOS.
Carl Hetherington [Tue, 8 Dec 2020 15:47:06 +0000 (16:47 +0100)]
Fix test build on macOS.

3 years agoWrite subtitles and closed captions to a test DCP in the hints thread,
Carl Hetherington [Mon, 7 Dec 2020 00:18:38 +0000 (01:18 +0100)]
Write subtitles and closed captions to a test DCP in the hints thread,
then check the result for Bv2.1 violations (part of #1800).

3 years agoMake Writer take an output DCP path rather than getting it from the
Carl Hetherington [Sun, 6 Dec 2020 23:08:33 +0000 (00:08 +0100)]
Make Writer take an output DCP path rather than getting it from the
film itself.

3 years agoMake Writer tolerate a nullptr Job.
Carl Hetherington [Sun, 6 Dec 2020 23:02:25 +0000 (00:02 +0100)]
Make Writer tolerate a nullptr Job.

3 years agoUse a weak_ptr<Film> in ReelWriter.
Carl Hetherington [Tue, 8 Dec 2020 12:13:02 +0000 (13:13 +0100)]
Use a weak_ptr<Film> in ReelWriter.

3 years agoUse a weak_ptr<Film> in Writer.
Carl Hetherington [Sun, 6 Dec 2020 22:11:15 +0000 (23:11 +0100)]
Use a weak_ptr<Film> in Writer.

3 years agoAdd get_process_id()
Carl Hetherington [Sun, 6 Dec 2020 21:59:19 +0000 (22:59 +0100)]
Add get_process_id()

3 years agoSplit create_reel() up into some separate bits.
Carl Hetherington [Tue, 8 Dec 2020 10:19:16 +0000 (11:19 +0100)]
Split create_reel() up into some separate bits.

3 years agoAdd WeakFilm and WeakConstFilm and use them a bit.
Carl Hetherington [Sun, 6 Dec 2020 20:36:37 +0000 (21:36 +0100)]
Add WeakFilm and WeakConstFilm and use them a bit.

3 years agoRemove a pointless parameter that the callee can calculate.
Carl Hetherington [Sun, 6 Dec 2020 20:06:19 +0000 (21:06 +0100)]
Remove a pointless parameter that the callee can calculate.

3 years agoAdd some hints for violations of SMPTE Bv2.1 with subtitles and closed
Carl Hetherington [Sun, 6 Dec 2020 18:55:07 +0000 (19:55 +0100)]
Add some hints for violations of SMPTE Bv2.1 with subtitles and closed
captions.

3 years agoFix transcode finish time estimations when re-encoding a DCP (#1863).
Carl Hetherington [Sat, 5 Dec 2020 19:24:18 +0000 (20:24 +0100)]
Fix transcode finish time estimations when re-encoding a DCP (#1863).

3 years agoRemove redundant check.
Carl Hetherington [Sat, 5 Dec 2020 18:51:51 +0000 (19:51 +0100)]
Remove redundant check.

3 years agoBump CLOSED_CAPTION_LENGTH to 32 as per SMPTE Bv2.1.
Carl Hetherington [Fri, 4 Dec 2020 22:18:25 +0000 (23:18 +0100)]
Bump CLOSED_CAPTION_LENGTH to 32 as per SMPTE Bv2.1.

3 years agoFix missing bits in RPM installs (#1883). v2.15.112
Carl Hetherington [Fri, 4 Dec 2020 14:00:52 +0000 (15:00 +0100)]
Fix missing bits in RPM installs (#1883).

3 years agoAdd extra path for Windows tests so it can find the DLLs
Carl Hetherington [Thu, 3 Dec 2020 20:06:34 +0000 (21:06 +0100)]
Add extra path for Windows tests so it can find the DLLs
for lwext4.

3 years agoBump libsub for some unused variable warning fixes.
Carl Hetherington [Thu, 3 Dec 2020 09:57:35 +0000 (10:57 +0100)]
Bump libsub for some unused variable warning fixes.

3 years agoAdd basic unit test for the disk writer code.
Carl Hetherington [Tue, 1 Dec 2020 23:41:03 +0000 (00:41 +0100)]
Add basic unit test for the disk writer code.

3 years agoAllow nanomsg to be null.
Carl Hetherington [Tue, 1 Dec 2020 23:40:44 +0000 (00:40 +0100)]
Allow nanomsg to be null.

3 years agoAllow PrivilegeEscalator to be disabled during tests.
Carl Hetherington [Tue, 1 Dec 2020 23:34:09 +0000 (00:34 +0100)]
Allow PrivilegeEscalator to be disabled during tests.

3 years agoEnable TYPE_DISK logging by default.
Carl Hetherington [Tue, 1 Dec 2020 23:33:51 +0000 (00:33 +0100)]
Enable TYPE_DISK logging by default.

3 years agoMove a load of disk writing code to src/lib/ext.cc.
Carl Hetherington [Tue, 1 Dec 2020 22:12:18 +0000 (23:12 +0100)]
Move a load of disk writing code to src/lib/ext.cc.

3 years agoBump libdcp for SoundAsset::equals() fix.
Carl Hetherington [Sun, 29 Nov 2020 20:07:54 +0000 (21:07 +0100)]
Bump libdcp for SoundAsset::equals() fix.

3 years agoObey audio timestamps if they don't deviate by more than some threshold.
Carl Hetherington [Sat, 28 Nov 2020 23:51:38 +0000 (00:51 +0100)]
Obey audio timestamps if they don't deviate by more than some threshold.

Previously we would ignore audio timestamps because they are not
contiguous in a sample-accurate way.

However with bugs like #1833 we do need to obey large discontinuities
in audio timestamps, otherwise we get large sync errors.

Here we change timestamp handling to ignore small discontinuities
in timestamps but not larger ones.

3 years agoMissing #includes from previous.
Carl Hetherington [Wed, 2 Dec 2020 09:56:33 +0000 (10:56 +0100)]
Missing #includes from previous.

3 years agoLimit video frame rate text control to numbers.
Carl Hetherington [Tue, 1 Dec 2020 20:44:32 +0000 (21:44 +0100)]
Limit video frame rate text control to numbers.

3 years agoRename refresh_metadata -> reset_metadata.
Carl Hetherington [Tue, 1 Dec 2020 10:36:52 +0000 (11:36 +0100)]
Rename refresh_metadata -> reset_metadata.