summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
AgeCommit message (Collapse)Author
2025-05-27Move i18n setup into 3 separate platform files.Carl Hetherington
2025-05-26Fix finding Liberation Sans when running from the source tree.Carl Hetherington
2025-05-19Tidy up finding required files during tests.Carl Hetherington
In particular, prefer not to use lots of fallback attempts. It seems that something funny is going on with how we find Liberation Sans on Linux, meaning that we were sometimes using the OS copy of the font when we didn't mean to.
2025-03-24Basic support for variable-Z 3D subtitles.Carl Hetherington
2025-03-08Don't use an optional for the Grok config object.Carl Hetherington
I'm not sure why I did it like this in the first place - perhaps so that if the API endpoint changes there aren't so many old values stuck in config files all over the place? Anyway, it seems cleaner to do it like this, as it's how we handle the other config.
2025-03-05Replace Content::paths_valid() with a free utility function.Carl Hetherington
2025-01-20White space: util.{cc,h}Carl Hetherington
2025-01-09Add rfc_2822_date().Carl Hetherington
2025-01-05Bump libdcp for raw_convert changes.Carl Hetherington
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead. Other raw_converts now use fast_float.
2025-01-01Make the allowed list a defaulted parameter of careful_string_filter().Carl Hetherington
2024-12-30Clarify comment.Carl Hetherington
2024-12-23Fix Windows build.Carl Hetherington
2024-12-22Make newer OpenSSL versions still work with SHA-1 signatures.Carl Hetherington
2024-12-15Use an in-place if.Carl Hetherington
2024-12-15Fix typo.Carl Hetherington
2024-11-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-11-29Look in another place for Liberation Sans on Fedora 41.Carl Hetherington
2024-11-24Fix build on Linux/ARM.Carl Hetherington
2024-09-13Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-09-03Fix a few places where we should use dcp::File::open_error()Carl Hetherington
to get a more accurate error number on Windows.
2024-09-03Adapt to some libdcp class renaming to allow open captions/closed subtitles.Carl Hetherington
2024-09-02Recognise .webp as an image file.Carl Hetherington
2024-05-16Merge branch 'main' into v2.17.xCarl Hetherington
2024-05-14Fix warning cause by previous libdcp bump.Carl Hetherington
2024-05-06Use sqlite for cinema and DKDM recipient lists.Carl Hetherington
2024-04-26Allow customisation of error report email address.Carl Hetherington
2024-04-22Use mpeg2 prefix for MPEG2 video asset filenames.Carl Hetherington
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-03-09Merge branch 'main' into v2.17.xCarl Hetherington
2024-03-07Fix screen name order in KDM emails.Carl Hetherington
2024-01-28Dump addr2line command before running it.Carl Hetherington
2024-01-28Fix crash when there is no LD_LIBRARY_PATHCarl Hetherington
2024-01-28Add method to setup LD_LIBRARY_PATH for grok.Carl Hetherington
2024-01-28Set CUDA_MODULE_LOADING=EAGER for grok (#2638).Carl Hetherington
2024-01-28Change how video timing is done.Carl Hetherington
This commit changes the approach with video timing. Previously, we would (more-or-less) try to use every video frame from the content in the output, hoping that they come at a constant frame rate. This is not always the case, however. Here we preserve the PTS of video frames, and then when one arrives we output whatever DCP video frames we can (at the regular DCP frame rate). Hopefully this will solve a range of sync problems, but it could also introduce new ones.
2024-01-13Add an assert.Carl Hetherington
2024-01-09Move ScopeGuard into libdcp.Carl Hetherington
2023-11-17Pass through <Ruby> tags in subtitles (#2635) (GH#23).Carl Hetherington
2023-11-12Replace deprecated leaf() with filename().Carl Hetherington
2023-10-16Remove unused code.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-09-07Sanitise asset names after potentially failed %-based substitutions (#945).Carl Hetherington
If there's a %x in the format string, where %x is not recognised, we should at least remove the %.
2023-09-07Disallow % from asset names as it seems to awake some XML character-encodingCarl Hetherington
demons.
2023-09-03Fix rendering of italic fonts during tests on Windows.Carl Hetherington
2023-08-29Cleanup: use some more vector instead of list.Carl Hetherington
2023-08-26Try to capture ffmpeg logs during tests.Carl Hetherington
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington
2023-04-09Fix subtitle font handling with in-memory fonts from SMPTE (#2509).v2.16.52Carl Hetherington
Previously we would fail to make a font available if it came from a SMPTE MXF. In that case we have a memory buffer containing the TTF/OTF file but no file; here we add a hack/workaround so that in-memory font files can be used by FontConfig.
2023-03-03Add word_wrap().Carl Hetherington
2023-03-03Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.Carl Hetherington