dcpomatic.git
4 years agoCheck that a drive is on the list of available drives before writing to it. attic/dist.pre-squash
Carl Hetherington [Mon, 6 Apr 2020 12:56:00 +0000 (14:56 +0200)]
Check that a drive is on the list of available drives before writing to it.

4 years agoRenable other apps.
Carl Hetherington [Mon, 6 Apr 2020 10:44:22 +0000 (12:44 +0200)]
Renable other apps.

4 years agoVarious fixes to writer packaging.
Carl Hetherington [Mon, 6 Apr 2020 10:40:46 +0000 (12:40 +0200)]
Various fixes to writer packaging.

4 years agoTry to update disk icons again.
Carl Hetherington [Mon, 6 Apr 2020 08:04:48 +0000 (10:04 +0200)]
Try to update disk icons again.

4 years agoMore attempts to fix spaces in filenames.
Carl Hetherington [Mon, 6 Apr 2020 07:11:56 +0000 (09:11 +0200)]
More attempts to fix spaces in filenames.

4 years agoTry to fix install_name_tool call.
Carl Hetherington [Mon, 6 Apr 2020 00:06:03 +0000 (02:06 +0200)]
Try to fix install_name_tool call.

4 years agoAdd a heading.
Carl Hetherington [Sun, 5 Apr 2020 23:43:21 +0000 (01:43 +0200)]
Add a heading.

4 years agoTry to fix pkg relinking.
Carl Hetherington [Sun, 5 Apr 2020 23:35:08 +0000 (01:35 +0200)]
Try to fix pkg relinking.

4 years agoFix README name and Finder window size.
Carl Hetherington [Sun, 5 Apr 2020 23:30:16 +0000 (01:30 +0200)]
Fix README name and Finder window size.

4 years agoFix build.
Carl Hetherington [Sun, 5 Apr 2020 23:02:34 +0000 (01:02 +0200)]
Fix build.

4 years agoTry to tidy-up readme and position of things in the .dmg.
Carl Hetherington [Sun, 5 Apr 2020 22:41:42 +0000 (00:41 +0200)]
Try to tidy-up readme and position of things in the .dmg.

4 years agoDon't need to start _writer on macOS.
Carl Hetherington [Sun, 5 Apr 2020 22:37:56 +0000 (00:37 +0200)]
Don't need to start _writer on macOS.

4 years agoMerge branch 'dist' of git://git.carlh.net/git/dcpomatic into dist
Carl Hetherington [Sun, 5 Apr 2020 22:36:09 +0000 (00:36 +0200)]
Merge branch 'dist' of git://git.carlh.net/git/dcpomatic into dist

4 years agomake_dmg fixes.
Carl Hetherington [Sun, 5 Apr 2020 22:36:07 +0000 (00:36 +0200)]
make_dmg fixes.

4 years agoFix thinko in progress reporting.
Carl Hetherington [Sun, 5 Apr 2020 22:30:54 +0000 (00:30 +0200)]
Fix thinko in progress reporting.

4 years agoMissing device_unregister.
Carl Hetherington [Sun, 5 Apr 2020 22:16:13 +0000 (00:16 +0200)]
Missing device_unregister.

4 years agoPrevent disk_writer from loading config.
Carl Hetherington [Sun, 5 Apr 2020 21:42:20 +0000 (23:42 +0200)]
Prevent disk_writer from loading config.

4 years agomake_dmg script debugging.
Carl Hetherington [Sun, 5 Apr 2020 21:31:20 +0000 (23:31 +0200)]
make_dmg script debugging.

4 years agomake_dmg script debugging.
Carl Hetherington [Sun, 5 Apr 2020 21:28:11 +0000 (23:28 +0200)]
make_dmg script debugging.

4 years agoAdd some basic sanity checking to the writer.
Carl Hetherington [Sun, 5 Apr 2020 21:16:58 +0000 (23:16 +0200)]
Add some basic sanity checking to the writer.

4 years agoMissing space.
Carl Hetherington [Sun, 5 Apr 2020 20:03:46 +0000 (22:03 +0200)]
Missing space.

4 years agoMerge branch 'dist' of ssh://git.carlh.net/home/carl/git/dcpomatic into dist
Carl Hetherington [Sun, 5 Apr 2020 19:41:23 +0000 (21:41 +0200)]
Merge branch 'dist' of ssh://git.carlh.net/home/carl/git/dcpomatic into dist

4 years agoUntested build of disk writer .pkg.
Carl Hetherington [Sun, 5 Apr 2020 19:41:11 +0000 (21:41 +0200)]
Untested build of disk writer .pkg.

4 years agographics/ macOS update.
Carl Hetherington [Sun, 5 Apr 2020 18:03:51 +0000 (20:03 +0200)]
graphics/ macOS update.

4 years agographics/ update.
Carl Hetherington [Sun, 5 Apr 2020 18:02:37 +0000 (20:02 +0200)]
graphics/ update.

4 years agoTry another idea for the disk icon.
Carl Hetherington [Sun, 5 Apr 2020 17:45:46 +0000 (19:45 +0200)]
Try another idea for the disk icon.

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