summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_disk_writer.cc
AgeCommit message (Collapse)Author
2025-12-05Cleanup: can now remove the _NC log variants.Carl Hetherington
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-07-10Convert some paths to string.Carl Hetherington
2023-02-12Fix non-ASCII paths in the disk writer on Windows (#2440).Carl Hetherington
2023-02-05Recover better errors from ext4.Carl Hetherington
2023-01-29Add DiskWriterBackendResponse::write_to_nanomsg() and use itCarl Hetherington
everywhere. In the process, use raw_convert() on both ends to avoid any locale-based problems with floating point number separators.
2022-07-20Allow multiple DCPs to be written to a disk (#1756).Carl Hetherington
2022-06-08Fix a few places where a complete ERROR message was not being sent.Carl Hetherington
2022-04-22Missing warnings.h include fix.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-01-19Add uid/euid to macOS debug message.Carl Hetherington
2021-09-27Add config location versioning (#2090).Carl Hetherington
2021-05-08Add some more logging to disk_writer.v2.15.144Carl Hetherington
2021-04-22Do the polkit dance for unmounting drives as well as writing them.Carl Hetherington
If we ask for permission to unmount that should carry over to give permission to format/write as well.
2021-04-22C++11 tidying.Carl Hetherington
2021-04-21Fix response of the disk writer when polkit authorization fails onCarl Hetherington
Linux.
2021-03-12Use /dev/rdisk on macOS.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2020-12-03Move a load of disk writing code to src/lib/ext.cc.Carl Hetherington
2020-08-07Use a much bigger block size when calling fwrite(). Each call to fwrite()Carl Hetherington
writes a few (often around 4) blocks of (I think) directory data to the drive, so if you only fwrite() one block it ends up writing 1 block of "payload" and 4 blocks of "admin". Using bigger blocks makes it faster; an even bigger block than this makes it a little faster still, but not significantly. The extra block writing is seemingly triggered by fwrite() calling ext4_block_cache_write_back(..., 0). A better fix is probably to call this another way, at the end of the file copy.
2020-08-07Check that we have a connection to the disk writer before starting to use it ↵Carl Hetherington
in earnest.
2020-07-27Fix some unused variable warnings on macOS.Carl Hetherington
2020-07-26Various OSX warnings fixes.Carl Hetherington
2020-07-26Update deprecated method call.Carl Hetherington
2020-05-03Do all writes then do all verification and report progressCarl Hetherington
for each separately (#1743)
2020-05-02Try to start _writer on-demand on macOS (#1739).Carl Hetherington
2020-04-30Add git commits to writer log files.v2.15.68Carl Hetherington
2020-04-30Turn on lwext4 debugging to see if that helps.Carl Hetherington
2020-04-30Missed part of rdisk -> disk revert.v2.15.67Carl Hetherington
2020-04-30Correct ext2 block size to 4096.Carl Hetherington
It seems that this is the typical Linux value; it allows large files and so on. But more importantly, it appears that this change turns the lwext4 library code from taking an hour+ to do a USB stick format on mac (and maybe other platforms) to taking under 3 minutes. The underlying reason for this is not clear.
2020-04-30Revert mac rdisk vs disk stuff as I'm not convinced it makes much difference.Carl Hetherington
2020-04-28Further sanity check fixes.v2.15.66Carl Hetherington
2020-04-28Fix macOS sanity check.Carl Hetherington
2020-04-27Writer on macOS runs as root, so trying to use the config_path()v2.15.63Carl Hetherington
to log to will end up trying to write to root's home. Instead, log to stdout as the process control stuff redirects that into /var/log anyway.
2020-04-27Use F_SET_EXT2 not EXT4.Carl Hetherington
2020-04-13Support unmounting on macOS and Windows.v2.15.51Carl Hetherington
2020-04-13Tidy up Drive and unmounting a little.Carl Hetherington
2020-04-13Tidy up nanomsg class API; add unmounting for Linux.Carl Hetherington
2020-04-09Improve disk_writer_messages.h commenting and add DISK_WRITER_QUIT and ↵Carl Hetherington
DISK_WRITER_WRITE #defines.
2020-04-06Add disk writer tool.Carl Hetherington