summaryrefslogtreecommitdiff
path: root/src/util.cc
AgeCommit message (Collapse)Author
2025-10-20Remove ASDCPErrorSuspender.v1.10.34Carl Hetherington
I think it's not possible to do this thread-safely without quite noisy changes to asdcplib: DefaultLogSink() refers a reference which can be deleted by ASDCPErrorSuspender before it is used. DefaultLogSink() could return a shared_ptr but there's a lot of callsites.
2025-09-30Fix some warnings raised by the macOS compiler.Carl Hetherington
2025-09-13Pass disk full / too many open files errors up to DoM.v1.10.26Carl Hetherington
2025-02-08Fix import of private keys from Windows to Linux.Carl Hetherington
2025-02-08White space.Carl Hetherington
2025-01-14Add GroupID support for PKLs (DoM #2943).v1.10.5Carl Hetherington
2024-02-25Remove unused method.Carl Hetherington
2024-02-17Add write_string_to_file().v1.8.97Carl Hetherington
2024-02-17Cleanup: use std::vector rather than a raw array.Carl Hetherington
2023-11-19Report progress with done/total rather than a float.Carl Hetherington
2023-10-09Add wrappers around boost::filesystem methods that handle theCarl Hetherington
required mangling of long filenames on Windows. Also wrap lots of missing places (e.g. calls to asdcplib, libxml++, libcxml etc.) in dcp::filesystem::fix_long_path(). The idea is to keep paths un-mangled until they we call some filesystem-related API and mangle them at that point. Otherwise we end up serialising mangled names, which seems like it will not end well. Should fix DoM #2623.
2023-04-26Give better errors when invalid urn:uuid: strings are found (DoM #2521).Carl Hetherington
2023-02-16Change how whitespace in subtitles is handled.Carl Hetherington
Previously we would discard any whitespace subtitle content we found. This had the side-effect of making a verification test fail (checking that at least one subtitle is in each reel; blank subtitles are often used to avoid this warning). Here we take any subtitle content, whitespace or not, inside a <Text> or <Image> node which I think is a little more correct.
2022-12-22Support some different headers in private_key_fingerprint()Carl Hetherington
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2022-03-03Add lists of ratings.v1.8.9Carl Hetherington
2022-03-01Make dcp::init() take a general resources directory rather than specifically ↵Carl Hetherington
tags.
2021-04-30Prefer the tags directory specified in LIBDCP_RESOURCESMart Jansink
2021-03-18Tidy how we're finding the tags and xsd directories.Carl Hetherington
2021-01-23Tidying.Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-11-02Add Data class and change API to a raw pointer.Carl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-09-27Load language tags from on-disk files rather than embedding themCarl Hetherington
into a .cc. The .cc method causes compile times (and memory requirements) increase enormously with some compilers.
2020-09-22Fix crashes when static linking due to tricky lifetimecrashCarl Hetherington
management of ASDCP::DefaultSMPTEDict().
2020-09-21Add ASDCPErrorSuspender to hide errors from asdcplib where we expect them.Carl Hetherington
2020-02-03Another build fix.Carl Hetherington
2020-02-03Try always loading the openssl crypto module, not the default one.Carl Hetherington
2020-02-03Try again to fix Windows build of previous.Carl Hetherington
2020-02-03Try to fix build of previous.Carl Hetherington
2020-02-03Provide more details on failure to load xmlsec-crypto.Carl Hetherington
2019-12-23Add struct tm constructor for LocalTime, use it to tidy upCarl Hetherington
day_{greater,less}_than_or_equal and add add_months() method.
2019-12-22Add fix_empty_font_ids() to replace empty Font ids with a dummy string.Carl Hetherington
2019-12-01Check that KDM validity periods are safely within the validity periodsCarl Hetherington
of the signing certificate chain. This does cause problems when you try to create a KDM for a certificate you just made (due to the fact that certificates always have a start-valid time of "now") but hopefully this can be fixed up in another commit.
2019-01-24Fully indent PKL/CPL.Carl Hetherington
2018-09-29Move some methods to where they make more sense.Carl Hetherington
2018-09-18Throw a better error on bad content kind.Carl Hetherington
2018-09-02Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.Carl Hetherington
2017-12-22Add openjpeg_version method.Carl Hetherington
2017-06-05Fix up management of certificate chain validity.Carl Hetherington
2017-03-17Move Size operator functions to the same file as the class declaration.Carl Hetherington
2016-07-29Improve an error message slightly.Carl Hetherington
2016-07-21Trim some unused stream includes / usings.Carl Hetherington
2016-07-01asdcp headers moved into subdirectory.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2016-03-05Remove some unnecessary includes.Carl Hetherington