dcpomatic.git
4 years agoMaybe we don't need setuid root on macOS any more.
Carl Hetherington [Sat, 4 Apr 2020 23:39:53 +0000 (01:39 +0200)]
Maybe we don't need setuid root on macOS any more.

4 years agoAdd a comment.
Carl Hetherington [Sat, 4 Apr 2020 22:17:08 +0000 (00:17 +0200)]
Add a comment.

4 years agoVarious macOS fixes for drive finding.
Carl Hetherington [Sat, 4 Apr 2020 19:10:34 +0000 (21:10 +0200)]
Various macOS fixes for drive finding.

4 years agoFix up previous.
Carl Hetherington [Fri, 3 Apr 2020 21:11:14 +0000 (23:11 +0200)]
Fix up previous.

4 years agoTry to do setuid for disk_writer on macOS.
Carl Hetherington [Fri, 3 Apr 2020 21:07:27 +0000 (23:07 +0200)]
Try to do setuid for disk_writer on macOS.

4 years agoTrim spaces from vendor/model.
Carl Hetherington [Fri, 3 Apr 2020 21:03:51 +0000 (23:03 +0200)]
Trim spaces from vendor/model.

4 years agoRemove debug code; fix media path key reading.
Carl Hetherington [Fri, 3 Apr 2020 20:59:33 +0000 (22:59 +0200)]
Remove debug code; fix media path key reading.

4 years agoMove Drive::description into its own file and fix missing name when vendor is empty.
Carl Hetherington [Fri, 3 Apr 2020 20:44:42 +0000 (22:44 +0200)]
Move Drive::description into its own file and fix missing name when vendor is empty.

4 years agoFixes to macOS drive finding.
Carl Hetherington [Fri, 3 Apr 2020 00:27:03 +0000 (02:27 +0200)]
Fixes to macOS drive finding.

4 years agoImprove set_paths.sh
Carl Hetherington [Thu, 2 Apr 2020 22:17:42 +0000 (00:17 +0200)]
Improve set_paths.sh

4 years agoFix incorrect type of Drive container
Carl Hetherington [Thu, 2 Apr 2020 21:35:16 +0000 (23:35 +0200)]
Fix incorrect type of Drive container

4 years agoAdd set_paths script for macOS.
Carl Hetherington [Thu, 2 Apr 2020 21:27:10 +0000 (23:27 +0200)]
Add set_paths script for macOS.

4 years agoFix up force-cpp11 option condition.
Carl Hetherington [Thu, 2 Apr 2020 21:00:18 +0000 (23:00 +0200)]
Fix up force-cpp11 option condition.

4 years agoAdd missing options parameter to dependencies().
Carl Hetherington [Thu, 2 Apr 2020 13:33:03 +0000 (15:33 +0200)]
Add missing options parameter to dependencies().

4 years agoUse new cscript syntax.
Carl Hetherington [Thu, 2 Apr 2020 13:26:06 +0000 (15:26 +0200)]
Use new cscript syntax.

4 years agoPush force-cpp11 down to dependencies on osx-64; it's required for the disk stuff...
Carl Hetherington [Thu, 2 Apr 2020 11:58:09 +0000 (13:58 +0200)]
Push force-cpp11 down to dependencies on osx-64; it's required for the disk stuff so we might as well use it everywhere.

4 years agoFix non-disk build.
Carl Hetherington [Wed, 1 Apr 2020 22:04:25 +0000 (00:04 +0200)]
Fix non-disk build.

4 years agoDebug to check boost::dll.
Carl Hetherington [Wed, 1 Apr 2020 18:57:12 +0000 (20:57 +0200)]
Debug to check boost::dll.

4 years agoGive disk app openssl binary for now.
Carl Hetherington [Wed, 1 Apr 2020 18:57:07 +0000 (20:57 +0200)]
Give disk app openssl binary for now.

4 years agoMore Linux link fixes.
Carl Hetherington [Tue, 31 Mar 2020 19:33:21 +0000 (21:33 +0200)]
More Linux link fixes.

4 years agoBetter Linux link fix.
Carl Hetherington [Tue, 31 Mar 2020 18:02:44 +0000 (20:02 +0200)]
Better Linux link fix.

4 years agoTry using a static nanomsg build on macOS.
Carl Hetherington [Tue, 31 Mar 2020 13:16:16 +0000 (15:16 +0200)]
Try using a static nanomsg build on macOS.

4 years agoTry to fix Linux link error.
Carl Hetherington [Tue, 31 Mar 2020 11:56:56 +0000 (13:56 +0200)]
Try to fix Linux link error.

4 years agoFix merge.
Carl Hetherington [Tue, 31 Mar 2020 11:15:04 +0000 (13:15 +0200)]
Fix merge.

4 years agoDebug.
Carl Hetherington [Mon, 30 Mar 2020 23:25:38 +0000 (01:25 +0200)]
Debug.

4 years agoAdd a cscript option to build the disk tools.
Carl Hetherington [Sun, 29 Mar 2020 22:36:48 +0000 (00:36 +0200)]
Add a cscript option to build the disk tools.

4 years agoChange internal name dist -> disk.
Carl Hetherington [Sun, 29 Mar 2020 22:10:46 +0000 (00:10 +0200)]
Change internal name dist -> disk.

4 years agoosx graphics updates.
Carl Hetherington [Sun, 29 Mar 2020 22:13:30 +0000 (00:13 +0200)]
osx graphics updates.

4 years agoChange internal name dist -> disk.
Carl Hetherington [Sun, 29 Mar 2020 22:10:46 +0000 (00:10 +0200)]
Change internal name dist -> disk.

4 years agoFix typo.
Carl Hetherington [Sun, 29 Mar 2020 20:42:35 +0000 (22:42 +0200)]
Fix typo.

4 years agoFix progress reporting.
Carl Hetherington [Sun, 29 Mar 2020 20:36:51 +0000 (22:36 +0200)]
Fix progress reporting.

4 years agoAdd debugging script.
Carl Hetherington [Sun, 29 Mar 2020 20:07:49 +0000 (22:07 +0200)]
Add debugging script.

4 years agoShow at least a moving progress meter when formatting the drive.
Carl Hetherington [Sun, 29 Mar 2020 20:07:26 +0000 (22:07 +0200)]
Show at least a moving progress meter when formatting the drive.

4 years agoBetter error when failing to log to the file.
Carl Hetherington [Sun, 29 Mar 2020 20:06:00 +0000 (22:06 +0200)]
Better error when failing to log to the file.

4 years agoMissing mac library.
Carl Hetherington [Sun, 29 Mar 2020 20:05:45 +0000 (22:05 +0200)]
Missing mac library.

4 years agoUse boost::dll::program_location() rather than home-baked versions.
Carl Hetherington [Sun, 29 Mar 2020 18:57:14 +0000 (20:57 +0200)]
Use boost::dll::program_location() rather than home-baked versions.

4 years agoAdd some logging.
Carl Hetherington [Sun, 29 Mar 2020 18:57:01 +0000 (20:57 +0200)]
Add some logging.

4 years agoFix thinko in fallback logging.
Carl Hetherington [Sun, 29 Mar 2020 18:56:50 +0000 (20:56 +0200)]
Fix thinko in fallback logging.

4 years agoMissing bits from osx build.
Carl Hetherington [Sun, 29 Mar 2020 18:26:07 +0000 (20:26 +0200)]
Missing bits from osx build.

4 years agoMissing build of plist.
Carl Hetherington [Sun, 29 Mar 2020 00:13:25 +0000 (01:13 +0100)]
Missing build of plist.

4 years agoAdd macOS icons for dcpomatic_dist.
Carl Hetherington [Sat, 28 Mar 2020 22:19:14 +0000 (23:19 +0100)]
Add macOS icons for dcpomatic_dist.

4 years agoAdd some macOS distribution stuff.
Carl Hetherington [Sat, 28 Mar 2020 22:12:46 +0000 (23:12 +0100)]
Add some macOS distribution stuff.

4 years agomacOS build tweak.
Carl Hetherington [Sat, 28 Mar 2020 21:44:08 +0000 (22:44 +0100)]
macOS build tweak.

4 years agoTry to improve nanomsg EAGAIN handling.
Carl Hetherington [Sat, 28 Mar 2020 21:39:28 +0000 (22:39 +0100)]
Try to improve nanomsg EAGAIN handling.

4 years agoMore logging and catch all exceptions properly.
Carl Hetherington [Sat, 28 Mar 2020 19:17:35 +0000 (20:17 +0100)]
More logging and catch all exceptions properly.

4 years agoNon-blocking nanomsg send.
Carl Hetherington [Fri, 27 Mar 2020 23:52:30 +0000 (00:52 +0100)]
Non-blocking nanomsg send.

4 years agoFix _writer process shutdown a little.
cah [Fri, 27 Mar 2020 23:35:16 +0000 (00:35 +0100)]
Fix _writer process shutdown a little.

4 years agoTry to kill _writer process on exit.
Carl Hetherington [Fri, 27 Mar 2020 22:39:39 +0000 (23:39 +0100)]
Try to kill _writer process on exit.

4 years agoInclude trimming.
Carl Hetherington [Fri, 27 Mar 2020 22:21:21 +0000 (23:21 +0100)]
Include trimming.

4 years agoTry to fix 'Copy DCP' button sensitivity.
Carl Hetherington [Fri, 27 Mar 2020 22:20:18 +0000 (23:20 +0100)]
Try to fix 'Copy DCP' button sensitivity.

4 years agoTry to hide console window from dist writer on Windows.
Carl Hetherington [Fri, 27 Mar 2020 21:05:57 +0000 (22:05 +0100)]
Try to hide console window from dist writer on Windows.

4 years agoAdd a comment.
Carl Hetherington [Fri, 27 Mar 2020 20:45:31 +0000 (21:45 +0100)]
Add a comment.

4 years agoFix path separators on Windows.
cah [Fri, 27 Mar 2020 20:38:32 +0000 (21:38 +0100)]
Fix path separators on Windows.

4 years agoTry boost::process::windows::hide on Windows.
Carl Hetherington [Fri, 27 Mar 2020 20:05:27 +0000 (21:05 +0100)]
Try boost::process::windows::hide on Windows.

4 years agoFix up device name on Windows.
Carl Hetherington [Fri, 27 Mar 2020 19:41:19 +0000 (20:41 +0100)]
Fix up device name on Windows.

4 years agoStart child process with ::shell to prevent error 740 (related to privilege escalation).
cah [Fri, 27 Mar 2020 00:59:39 +0000 (01:59 +0100)]
Start child process with ::shell to prevent error 740 (related to privilege escalation).

4 years agoSpecify full path to dcpomatic2_dist_writer and tidy a few things up.
Carl Hetherington [Thu, 26 Mar 2020 19:42:09 +0000 (20:42 +0100)]
Specify full path to dcpomatic2_dist_writer and tidy a few things up.

4 years agoFix up some DLL locations.
Carl Hetherington [Thu, 26 Mar 2020 15:55:34 +0000 (16:55 +0100)]
Fix up some DLL locations.

4 years agoTry to fix up dist/non-dist installation on Windows.
Carl Hetherington [Thu, 26 Mar 2020 00:11:34 +0000 (01:11 +0100)]
Try to fix up dist/non-dist installation on Windows.

4 years agoSome case tweaking.
Carl Hetherington [Thu, 26 Mar 2020 00:02:02 +0000 (01:02 +0100)]
Some case tweaking.

4 years agoAdd manifest to allow _writer to elevate privileges.
cah [Tue, 24 Mar 2020 12:42:57 +0000 (13:42 +0100)]
Add manifest to allow _writer to elevate privileges.

4 years agoCopy nanomsg in copy_deps.sh
cah [Mon, 23 Mar 2020 22:43:41 +0000 (23:43 +0100)]
Copy nanomsg in copy_deps.sh

4 years agoCope with nanomsg .pc files being called libnanomsg.pc or nanomsg.pc
Carl Hetherington [Mon, 23 Mar 2020 00:58:46 +0000 (01:58 +0100)]
Cope with nanomsg .pc files being called libnanomsg.pc or nanomsg.pc

4 years agoUse nanomsg instead of std{in,out} for communication between dist and writer.
Carl Hetherington [Mon, 23 Mar 2020 00:35:51 +0000 (01:35 +0100)]
Use nanomsg instead of std{in,out} for communication between dist and writer.

4 years agoVarious windows hacks.
cah [Sun, 22 Mar 2020 19:50:11 +0000 (20:50 +0100)]
Various windows hacks.

4 years agoPath tweaks.
cah [Sun, 22 Mar 2020 19:49:40 +0000 (20:49 +0100)]
Path tweaks.

4 years agoNew scripts to help with building incrementally for Windows.
Carl Hetherington [Tue, 17 Mar 2020 00:45:43 +0000 (00:45 +0000)]
New scripts to help with building incrementally for Windows.

4 years agoCall it DCP-o-matic Disk Writer for now.
Carl Hetherington [Sun, 8 Mar 2020 22:15:46 +0000 (23:15 +0100)]
Call it DCP-o-matic Disk Writer for now.

4 years agoVarious Windows drive scanning hacks.
Carl Hetherington [Sun, 8 Mar 2020 22:14:02 +0000 (23:14 +0100)]
Various Windows drive scanning hacks.

4 years agodcpomatic2_dist.rc and stand-in icon.
Carl Hetherington [Sat, 7 Mar 2020 19:38:22 +0000 (20:38 +0100)]
dcpomatic2_dist.rc and stand-in icon.

4 years agoWindows build fixes.
Carl Hetherington [Sat, 7 Mar 2020 00:13:29 +0000 (01:13 +0100)]
Windows build fixes.

4 years agoForce C++11 for the libdcp and libsub builds.
Carl Hetherington [Thu, 5 Mar 2020 09:11:59 +0000 (10:11 +0100)]
Force C++11 for the libdcp and libsub builds.

4 years agoAdd some branch notes.
Carl Hetherington [Thu, 5 Mar 2020 00:16:57 +0000 (01:16 +0100)]
Add some branch notes.

4 years agoSplit cross.cc into windows,osx,linux
Carl Hetherington [Wed, 4 Mar 2020 22:13:16 +0000 (23:13 +0100)]
Split cross.cc into windows,osx,linux

4 years agoAssorted OS X build fixes.
Carl Hetherington [Mon, 20 Jan 2020 22:00:23 +0000 (23:00 +0100)]
Assorted OS X build fixes.

4 years agoUntested Win32 get_drives().
Carl Hetherington [Tue, 21 Jan 2020 23:34:47 +0000 (00:34 +0100)]
Untested Win32 get_drives().

4 years agoUntested basics of macOS drive finding.
Carl Hetherington [Mon, 20 Jan 2020 21:59:39 +0000 (22:59 +0100)]
Untested basics of macOS drive finding.

4 years agoAdd dist tool.
Carl Hetherington [Wed, 12 Jun 2019 13:51:53 +0000 (14:51 +0100)]
Add dist tool.

4 years agoMissing texts for some new verification failures.
Carl Hetherington [Thu, 19 Mar 2020 21:26:40 +0000 (22:26 +0100)]
Missing texts for some new verification failures.

4 years agoMove stress testing code into a separate class and always build it.
Carl Hetherington [Sun, 15 Mar 2020 23:44:31 +0000 (00:44 +0100)]
Move stress testing code into a separate class and always build it.
Fix stress script generation to always reload a DCP rather than
expecting it to be available after it has finished playback.

4 years agoFix player stress testing with expanded controls.
Carl Hetherington [Sun, 15 Mar 2020 22:22:50 +0000 (23:22 +0100)]
Fix player stress testing with expanded controls.

Also correctly wait with a stress test until the DCP open
has completely finished.

4 years agoImprove hacks/stress.py a bit.
Carl Hetherington [Sun, 15 Mar 2020 21:26:47 +0000 (22:26 +0100)]
Improve hacks/stress.py a bit.

4 years agoComments.
Carl Hetherington [Sun, 15 Mar 2020 21:26:34 +0000 (22:26 +0100)]
Comments.

4 years agoRename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.
Carl Hetherington [Sun, 15 Mar 2020 21:26:19 +0000 (22:26 +0100)]
Rename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.

4 years agohttp -> https.
Carl Hetherington [Sun, 15 Mar 2020 21:25:51 +0000 (22:25 +0100)]
http -> https.

4 years agoTest updates now that there can't be <1s long DCPs any more.
Carl Hetherington [Tue, 10 Mar 2020 22:15:17 +0000 (23:15 +0100)]
Test updates now that there can't be <1s long DCPs any more.

4 years agoCoalesce short reels.
Carl Hetherington [Mon, 9 Mar 2020 21:05:34 +0000 (22:05 +0100)]
Coalesce short reels.

4 years agoImprove and fix some tests.
Carl Hetherington [Mon, 9 Mar 2020 21:05:22 +0000 (22:05 +0100)]
Improve and fix some tests.

4 years agoEnforce a minimum DCP length of 1 second.
Carl Hetherington [Mon, 9 Mar 2020 20:41:36 +0000 (21:41 +0100)]
Enforce a minimum DCP length of 1 second.

4 years agoGet some better errors when verification-based tests fail.
Carl Hetherington [Mon, 9 Mar 2020 20:35:48 +0000 (21:35 +0100)]
Get some better errors when verification-based tests fail.

4 years agoEnforce minimum reel length when using REELTYPE_BY_LENGTH.
Carl Hetherington [Mon, 9 Mar 2020 20:33:13 +0000 (21:33 +0100)]
Enforce minimum reel length when using REELTYPE_BY_LENGTH.

4 years agoAdd a test for short pieces of content amongst longer.
Carl Hetherington [Mon, 9 Mar 2020 20:20:23 +0000 (21:20 +0100)]
Add a test for short pieces of content amongst longer.

4 years agoFailing test for reels with a short length (in bytes) specified.
Carl Hetherington [Mon, 9 Mar 2020 20:15:47 +0000 (21:15 +0100)]
Failing test for reels with a short length (in bytes) specified.

4 years agoAdd a (failing) test for reels created between two other
Carl Hetherington [Mon, 9 Mar 2020 20:12:00 +0000 (21:12 +0100)]
Add a (failing) test for reels created between two other
pieces of content.

4 years agoMove private_data into TestPaths
Carl Hetherington [Mon, 9 Mar 2020 15:45:26 +0000 (16:45 +0100)]
Move private_data into TestPaths

4 years agoAdd failing test for one short-reel possibility.
Carl Hetherington [Mon, 9 Mar 2020 15:42:30 +0000 (16:42 +0100)]
Add failing test for one short-reel possibility.

4 years agoGive a better error when opening a DCP with File -> Open by mistake (#1723).
Carl Hetherington [Wed, 11 Mar 2020 20:23:11 +0000 (20:23 +0000)]
Give a better error when opening a DCP with File -> Open by mistake (#1723).

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Wed, 11 Mar 2020 20:23:55 +0000 (21:23 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoMake DKDMs with validity 2 minutes shorter than the signer certificate
Carl Hetherington [Tue, 10 Mar 2020 16:10:56 +0000 (17:10 +0100)]
Make DKDMs with validity 2 minutes shorter than the signer certificate
validity (#1728).

4 years agoAdd missing icons for _playlist to the macOS build.
Carl Hetherington [Sun, 8 Mar 2020 18:18:07 +0000 (19:18 +0100)]
Add missing icons for _playlist to the macOS build.