dcpomatic.git
3 years agoReduce the disk space needed when running tests. v2.15.124
Carl Hetherington [Tue, 2 Feb 2021 15:36:31 +0000 (16:36 +0100)]
Reduce the disk space needed when running tests.

3 years agoC++11 tidying.
Carl Hetherington [Mon, 1 Feb 2021 22:58:04 +0000 (23:58 +0100)]
C++11 tidying.

3 years agoc++11-ification.
Carl Hetherington [Mon, 1 Feb 2021 22:38:56 +0000 (23:38 +0100)]
c++11-ification.

3 years agoRemove some debugging code from tests.
Carl Hetherington [Mon, 1 Feb 2021 22:13:06 +0000 (23:13 +0100)]
Remove some debugging code from tests.

3 years agoAdd a better error when failing to read a DCP in some cases.
Carl Hetherington [Mon, 1 Feb 2021 16:47:23 +0000 (17:47 +0100)]
Add a better error when failing to read a DCP in some cases.

3 years agoUse a predictable RNG when adding noise to low-bitrate images.
Carl Hetherington [Mon, 1 Feb 2021 16:46:22 +0000 (17:46 +0100)]
Use a predictable RNG when adding noise to low-bitrate images.

The recovery code assumes that encoding a given frame from the
same data will always give the same output; it always encodes frame 0
again to set things up properly and if that frame is a different size
to the previous run everything breaks.

3 years agoFix build error thinko.
Carl Hetherington [Mon, 1 Feb 2021 09:16:52 +0000 (10:16 +0100)]
Fix build error thinko.

3 years agoFix wxWidgets 3.1.x alignment assertion failure.
Carl Hetherington [Mon, 1 Feb 2021 09:14:45 +0000 (10:14 +0100)]
Fix wxWidgets 3.1.x alignment assertion failure.

3 years agoC++11-ification.
Carl Hetherington [Mon, 1 Feb 2021 09:03:03 +0000 (10:03 +0100)]
C++11-ification.

3 years agoFix hang when trying to assure minimum bitrate.
Carl Hetherington [Mon, 1 Feb 2021 09:02:56 +0000 (10:02 +0100)]
Fix hang when trying to assure minimum bitrate.

3 years agoAdd noise to very small J2K frames (#1902).
Carl Hetherington [Mon, 1 Feb 2021 00:24:55 +0000 (01:24 +0100)]
Add noise to very small J2K frames (#1902).

3 years agoAdd some parameter names in headers.
Carl Hetherington [Mon, 1 Feb 2021 00:22:58 +0000 (01:22 +0100)]
Add some parameter names in headers.

3 years agoBump libdcp for Windows build fix.
Carl Hetherington [Sun, 31 Jan 2021 22:52:01 +0000 (23:52 +0100)]
Bump libdcp for Windows build fix.

3 years agoUse enum class for Film::Property.
Carl Hetherington [Sun, 31 Jan 2021 22:47:14 +0000 (23:47 +0100)]
Use enum class for Film::Property.

3 years agoMore enum class additions.
Carl Hetherington [Sun, 31 Jan 2021 02:14:24 +0000 (03:14 +0100)]
More enum class additions.

3 years agoRename debug type THREED to THREED_D.
Carl Hetherington [Sat, 30 Jan 2021 15:33:26 +0000 (16:33 +0100)]
Rename debug type THREED to THREED_D.

3 years agoUse enum class for VideoRange.
Carl Hetherington [Wed, 27 Jan 2021 00:44:20 +0000 (01:44 +0100)]
Use enum class for VideoRange.

3 years agolibdcp API change ReelMXF -> ReelFileAsset.
Carl Hetherington [Tue, 26 Jan 2021 21:15:41 +0000 (22:15 +0100)]
libdcp API change ReelMXF -> ReelFileAsset.

3 years agoSmall bits of c++11 tidying.
Carl Hetherington [Mon, 25 Jan 2021 23:54:55 +0000 (00:54 +0100)]
Small bits of c++11 tidying.

3 years agoFix label alignment.
Carl Hetherington [Mon, 25 Jan 2021 23:37:42 +0000 (00:37 +0100)]
Fix label alignment.

3 years agoBump libdcp for asdcplib version fix.
Carl Hetherington [Sat, 23 Jan 2021 09:01:14 +0000 (10:01 +0100)]
Bump libdcp for asdcplib version fix.

3 years agoBump libdcp for Windows build fix.
Carl Hetherington [Sat, 23 Jan 2021 08:31:31 +0000 (09:31 +0100)]
Bump libdcp for Windows build fix.

3 years agoRevert "Experimental define to stop windows.h defining a constant called ERROR."
Carl Hetherington [Sat, 23 Jan 2021 07:37:34 +0000 (08:37 +0100)]
Revert "Experimental define to stop windows.h defining a constant called ERROR."

Doing this means PIXELFORMATDESCRIPTOR is no longer available.

This reverts commit 95c0bd115eacf76e3794de8558ccd4e1d8d34a4a.

3 years agoc++11 tidying.
Carl Hetherington [Fri, 22 Jan 2021 22:50:58 +0000 (23:50 +0100)]
c++11 tidying.

3 years agoTest fixes.
Carl Hetherington [Fri, 22 Jan 2021 19:57:21 +0000 (20:57 +0100)]
Test fixes.

3 years agoCheck FFOC correctly.
Carl Hetherington [Fri, 22 Jan 2021 19:53:41 +0000 (20:53 +0100)]
Check FFOC correctly.

3 years agoC++ tidying.
Carl Hetherington [Fri, 22 Jan 2021 19:53:35 +0000 (20:53 +0100)]
C++ tidying.

3 years agoMake PKL AnnotationText the same as CPL ContentTitleText per Bv2.1
Carl Hetherington [Fri, 22 Jan 2021 19:52:56 +0000 (20:52 +0100)]
Make PKL AnnotationText the same as CPL ContentTitleText per Bv2.1

3 years agoFix FFOC time per Bv2.1
Carl Hetherington [Fri, 22 Jan 2021 19:52:43 +0000 (20:52 +0100)]
Fix FFOC time per Bv2.1

3 years agoTest updates for libdcp fix to the duration of Marker assets.
Carl Hetherington [Fri, 22 Jan 2021 12:04:21 +0000 (13:04 +0100)]
Test updates for libdcp fix to the duration of Marker assets.

3 years agoc++11 tidying.
Carl Hetherington [Fri, 22 Jan 2021 11:16:21 +0000 (12:16 +0100)]
c++11 tidying.

3 years agoRemove unused variables.
Carl Hetherington [Fri, 22 Jan 2021 00:19:14 +0000 (01:19 +0100)]
Remove unused variables.

3 years agoBuild fix.
Carl Hetherington [Thu, 21 Jan 2021 23:52:53 +0000 (00:52 +0100)]
Build fix.

3 years agoExperimental define to stop windows.h defining a constant called ERROR.
Carl Hetherington [Thu, 21 Jan 2021 23:33:28 +0000 (00:33 +0100)]
Experimental define to stop windows.h defining a constant called ERROR.

3 years agolibdcp API fixes for macOS/Windows.
Carl Hetherington [Thu, 21 Jan 2021 23:29:31 +0000 (00:29 +0100)]
libdcp API fixes for macOS/Windows.

3 years agoBump for MinGW build fixes.
Carl Hetherington [Thu, 21 Jan 2021 23:02:59 +0000 (00:02 +0100)]
Bump for MinGW build fixes.

3 years agoFix c++11 stuff from d24251b2e0d82236f93ee5415b72849dee2a0ac8
Carl Hetherington [Thu, 21 Jan 2021 23:01:05 +0000 (00:01 +0100)]
Fix c++11 stuff from d24251b2e0d82236f93ee5415b72849dee2a0ac8

3 years agoBump libsub for build fixes.
Carl Hetherington [Thu, 21 Jan 2021 19:38:04 +0000 (20:38 +0100)]
Bump libsub for build fixes.

3 years agoAdapt for libdcp use of enum class.
Carl Hetherington [Thu, 21 Jan 2021 01:44:11 +0000 (02:44 +0100)]
Adapt for libdcp use of enum class.

3 years agolibsub build fix.
Carl Hetherington [Thu, 21 Jan 2021 00:56:39 +0000 (01:56 +0100)]
libsub build fix.

3 years agoBump libdcp for better verification, and make API adjustments.
Carl Hetherington [Wed, 20 Jan 2021 22:42:28 +0000 (23:42 +0100)]
Bump libdcp for better verification, and make API adjustments.

3 years agoRemove perhaps-we'll-use-c++11 stuff.
Carl Hetherington [Wed, 20 Jan 2021 22:38:29 +0000 (23:38 +0100)]
Remove perhaps-we'll-use-c++11 stuff.

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.