summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2023-05-12Add SubtitleAsset::ensure_font().v1.8.69Carl Hetherington
2023-05-11Check that all <Font> tags have a corresponding <LoadFont> in the verifier.Carl Hetherington
2023-05-11Add ID member to verification note.Carl Hetherington
2023-04-26Give better errors when invalid urn:uuid: strings are found (DoM #2521).Carl Hetherington
2023-04-20Fix crash when trying to verify an encrypted SMPTE subtitle asset.v1.8.67Carl Hetherington
2023-04-19Add test for too many subtitle namespaces.Carl Hetherington
2023-04-19Remove xmlns:xs namespace from subtitle XML (DoM #2498).Carl Hetherington
2023-04-16Fix build.Carl Hetherington
2023-04-16Check for tile parts being too big in the verifier (DoM #2450).Carl Hetherington
2023-04-16Use a map and boost::any to make it a little neater to add more metadata to ↵Carl Hetherington
VerificationNote.
2023-04-16Use a shared_ptr<vector> for ArrayData rather than a shared_array.Carl Hetherington
This is simpler and allows us to remove the hack of allocating some "maximum" buffer for incoming JPEG2000 data. It does mean that the buffer is zero-initialized before being written to, but hopefully that doesn't matter too much.
2023-04-15Cleanup: remove a couple of unnecessary namespace qualifiers.Carl Hetherington
2023-04-14Replace slightly weird add_font_assets() API.Carl Hetherington
2023-04-14Cleanup: use a find_if().Carl Hetherington
2023-04-13Fix resolve_fonts() if it is called twice.Carl Hetherington
2023-04-13Add const version of add_font_assets().Carl Hetherington
2023-04-13Add check for Interop font assets being present (in the ASSETMAP and on disk).Carl Hetherington
2023-04-13Add some missing full stops.Carl Hetherington
2023-04-13Add font assets to combined DCPs; otherwise the fonts don't show up in the ↵Carl Hetherington
ASSETMAP.
2023-04-11Fix typos in variable names.Carl Hetherington
2023-04-11Fix typos in exceptions.Carl Hetherington