summaryrefslogtreecommitdiff
path: root/src/lib/job.cc
AgeCommit message (Collapse)Author
2024-04-26Allow customisation of error report email address.Carl Hetherington
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-01-28Patch from Aaron Boxer adding initial support for GPU-powered J2K encoding ↵Carl Hetherington
via his tool "grok".
2023-11-23Clarify error messages about missing configuration.Carl Hetherington
2023-11-20Improve progress reporting of digest calculations (might help with #2643).Carl Hetherington
2023-11-12Replace deprecated leaf() with filename().Carl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-08-26Don't bother reporting job durations less than 10s.Carl Hetherington
2023-08-26Use _{start,finish}_time in TranscodeJob.Carl Hetherington
2023-08-26Give more details when jobs finish (#2572).Carl Hetherington
2023-03-16Emit the state of the job with the Finished signals.Carl Hetherington
2023-02-27Early check to see if there's anything to do in set_state().Carl Hetherington
2022-12-10Move some methods out of util.{cc,h}Carl Hetherington
2022-12-10Extract constants.hCarl Hetherington
2022-09-17Catch CPLNotFoundError more nicely.Carl Hetherington
2022-08-11Cleanup: don't repeat check inside resume() before calling it.Carl Hetherington
2022-08-11Allow cancellation of un-started jobs (#2777).Carl Hetherington
2022-08-11Cleanup: set job state to cancelled in a different place.Carl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl Hetherington
2021-11-13Add Job::seconds_since_last_progress_update().Carl Hetherington
2021-11-13Cleanup: use seconds() method.Carl Hetherington
2021-05-01C++11 tidying.Carl Hetherington
2021-04-21Add some possibly-useful markers for debugging threads from coredumps.Carl Hetherington
2021-01-22c++11 tidying.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-04-14DCPReadError -> ReadError in libdcp.Carl Hetherington
2020-04-14Try to give a better error when we fail to start J2K encodingCarl Hetherington
(probably because of a lack of addressable RAM). See #1540.
2020-03-06Stop threads at the start of their object's destruction in all Job cases.Carl Hetherington
2020-01-30Various thread cleanups.Carl Hetherington
2019-12-06Adjust for changes to libdcp API.Carl Hetherington
2019-05-30Destory TranscodeJob earlier, hopefully to fix #1570.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-02-20Report job errors even if they contain < or >. Give a better error when ↵Carl Hetherington
parsing a subtitle file fails.
2019-01-30Fix non-translated days of the week (#1455).Carl Hetherington
2019-01-22Put details of missing asset paths into the job details... box.Carl Hetherington
2018-11-22Speed up content discovery:Carl Hetherington
1. add all discovery jobs immediately rather than waiting for each one to finish (by polling) before starting the next. 2. replace polling with a condition in JobManager.
2018-11-21Tidy and fix logging.Carl Hetherington
2018-08-28Remove unnecessary log entries.Carl Hetherington
2018-08-27Remove accidentally commented-out code.Carl Hetherington
2018-08-21Give a message when changed files are re-examined.Carl Hetherington
2018-08-16Add pause/resume to the batch converter (#1248).Carl Hetherington
Add some missing locking to JobManager::decrease_priority.
2018-07-07Give better errors when incorrect KDMs are used (#1326).Carl Hetherington
2018-02-27Remove relative path elements from test location.Carl Hetherington
2018-02-25Handle errors in subtitle XML better (#1209).Carl Hetherington
2018-02-16Name threads on Linux.Carl Hetherington
2017-10-08Fix some warnings (part of #1135).Carl Hetherington
2017-09-03Some more verbose errors.Carl Hetherington
2017-04-19Various Doxygen fixes.Carl Hetherington