summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-09Add more filesystem wrappers that DoM needs.v1.8.83Carl 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-10-06Cleanup: sorting.Carl Hetherington
2023-09-13Remove odd assertion stopping TZ minutes being more than 30 or less than -30 ↵v1.8.82Carl Hetherington
(DoM/GH #20).
2023-09-06Report failures to read resources from MXF files.v1.8.81Carl Hetherington
2023-09-06Bump the PNG subtitle / font buffer a little.Carl Hetherington
2023-08-24Check for missing font files referred from Interop closed captions (as well ↵Carl Hetherington
as subs).
2023-08-23Fix Windows build failure.v1.8.79Carl Hetherington
2023-08-22Accept any case for subtitle alignment specifiers (#2602).v1.8.78Carl Hetherington
SMPTE seems pretty clear to me that these should be lower case, but counterexamples have been seen in the wild and it seems to make sense to allow them. Perhaps the verifier should raise an error with non-lower-case examples.
2023-08-22Cleanup: extract HAlign to its own files.Carl Hetherington
2023-08-22Cleanup: extract VAlign to its own files.Carl Hetherington
2023-08-22Cleanup: header ordering.Carl Hetherington
2023-08-15Fix use-after-free in error case.Carl Hetherington
2023-08-15Fix dcp::LocalTime constructor to cope with longer fractional second parts ↵Carl Hetherington
(DoM #2597).
2023-08-11Add check for empty <LabelText> in <ContentVersion>v1.8.76Carl Hetherington
We have a report of Deluxe failing a DCP because of this.
2023-08-11Cleanup: comment formatting for auto-generated docs.Carl Hetherington
2023-08-08Cleanup: make some default constructors more consistent.v1.8.75Carl Hetherington
2023-08-08Remove unused method.Carl Hetherington
2023-08-08Ignore some ASDCP warnings.Carl Hetherington
2023-07-29Add equality option sound_assets_can_differ.Carl Hetherington
2023-07-26Rationalise #undef-ing of ERROR.tidy-eq-optionsCarl Hetherington
2023-07-25Include trimming.Carl Hetherington
2023-07-25Cleanup: move EqualityOptions into its own file.Carl Hetherington
2023-07-25Cleanup: forward declaration sorting.Carl Hetherington
2023-07-25Cleanup: include sorting.Carl Hetherington
2023-07-25Cleanup: pass EqualityOptions as const&Carl Hetherington
This exposes a useless assignment of export_differing_subtitles, which I've removed (and altered the comment accordingly).
2023-07-25Cleanup: use = default.Carl Hetherington
2023-07-25Make EqualityOptions into a class.Carl Hetherington
2023-07-25Cleanup: fix typo in comment.Carl Hetherington
2023-06-29Add asset_hashes_can_differ option to the equality checks.v1.8.74Carl Hetherington
Before recent changes Asset::_hash would be empty when the equality checks were run (and Asset::equals() compares them directly). This mean that differences in asset hash were being ignored, but are no longer; so now we need this option to restore that behaviour where required.
2023-06-29When reading a DCP set up asset hashes from the CPL/PKL, not by digesting ↵Carl Hetherington
the actual asset. Previously when reading a DCP we would recalculate asset hashes. This meant that corrupted DCPs could be loaded in and their hashes re-written (if nobody checked the new hashes against the ones in the PKL/CPL). It seems better to take the hashes from the metadata. Then if the assets are corrupted and the DCP is re-written the PKL/CPL hashes will be preserved, showing rather than hiding the corruption.
2023-06-27Add Asset::unset_hash().Carl Hetherington
2023-06-27Cleanup: remove unnecessary namespace.Carl Hetherington
2023-06-27Add verifier check for the actual asset file's ID not being the same as the ↵Carl Hetherington
one in the asset map.
2023-06-27Cleanup: better variable names.Carl Hetherington
2023-06-27Cleanup: const.Carl Hetherington
2023-06-27Add Asset::set_file_preserving_hash().Carl Hetherington
2023-06-02Verify error if SMPTE subtitle asset has <Text> but no <LoadFont>.v1.8.73Carl Hetherington
2023-06-02Cleanup: replace a nasty try/catch.Carl Hetherington
2023-06-02Cleanup: formatting.Carl Hetherington
2023-06-02Cleanup: remove some unpleasant (and I think unnecessary) casting.Carl Hetherington
2023-06-02Rename MISSING_LOAD_FONT -> MISSING_LOAD_FONT_FOR_FONT.Carl Hetherington
2023-05-31Cleanup: comment typo fix.Carl Hetherington
2023-05-28Add SoundAsset::active_channels().v1.8.72Carl Hetherington
2023-05-28Fix stupid mistake introduced in 1e010ab5.v1.8.71Carl Hetherington
2023-05-28Don't unconditionally clear _fonts when inspecting assets (DoM #2536).v1.8.70Carl Hetherington
resolve_fonts() is sometimes called for the same asset with different lists of things to check. If it is called first with a font, and then without one, we want to keep the font from the first call.
2023-05-28Cleanup: use find_if().Carl Hetherington
2023-05-28Cleanup: reduce some scopes.Carl Hetherington
2023-05-24More detailed error message.Carl Hetherington
2023-05-21Remove unnecessary initializers.Carl Hetherington