summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-24Fix build as a subprojectDavid Robillard1-10/+13
2020-12-24Move headers to a conventional "include" directoryDavid Robillard3-11/+11
2020-12-18Run state tests on WindowsDavid Robillard1-2/+1
2020-12-18Make symlink targets relative when they share a common parentDavid Robillard1-1/+5
This might not be the right thing in every case, but it's the best we can do without API to specifically configure this sort of thing (like setting a project root) which doesn't currently exist.
2020-12-18Windows: Fix saving state with filesDavid Robillard2-11/+22
2020-12-18Windows: Fix determining state filenames from backslashey pathsDavid Robillard1-2/+3
2020-12-18Windows: Fix updating state manifestsDavid Robillard1-12/+9
This didn't work because the mode was wrong (serd uses binary because it is always UTF-8), and... other reasons I don't understand. Regarless this is more consistent without files are read elsewhere.
2020-12-18Windows: Prefer backslash as a path separatorDavid Robillard2-4/+55
This situation is, as always, a total nightmare. In an attempt to not make weird paths with mixed separators, a heuristic is used here which uses forward slash if it seems that the input paths do. Otherwise, backslash (the "preferred" separator on Windows despite all good sense) is used.
2020-12-18Windows: Add test cases for lilv_path_is_absolute()David Robillard1-0/+7
2020-12-18Windows: Don't bother trying to create symbolic linksDavid Robillard2-14/+1
This only works on modern systems with "Developer Mode" enabled, so everything needs to work without them in reality anyway.
2020-12-18Windows: Fix leaking directory handlesDavid Robillard1-0/+1
2020-12-18Add lilv_path_absolute_child()David Robillard3-0/+40
2020-12-18Add lilv_path_filename()David Robillard3-0/+53
2020-12-18Ensure that bundles are removed in state testsDavid Robillard1-2/+2
2020-12-18Check file contents rather than canonical paths in state testsDavid Robillard1-6/+2
This makes the checks work when the files are not symlinks, as on Windows.
2020-12-18Free instances before deleting state filesDavid Robillard1-7/+8
This ensures that the files are no longer in use so they can be removed on Windows.
2020-12-18Fix build with ancient GCCDavid Robillard1-2/+2
2020-12-17Fix writing state manifests on WindowsDavid Robillard3-14/+153
2020-12-16C++: Make more methods constDavid Robillard1-13/+13
2020-12-16C++: Clean up special member functionsDavid Robillard1-1/+28
2020-12-16C++: Avoid unnecessary parameter copy overheadDavid Robillard1-4/+4
2020-12-16C++: Remove meaningless const specifiers in declarationsDavid Robillard1-4/+4
2020-12-16lv2apply: Fix potential zero-sized VLADavid Robillard1-2/+2
2020-12-16lv2apply: Fix potential memory leaksDavid Robillard1-0/+1
2020-12-16lv2bench: Fix potential memory leaksDavid Robillard1-0/+2
2020-12-16Fix inconsistent parameter nameDavid Robillard1-2/+2
2020-12-16Fix potential null dereferenceDavid Robillard1-1/+3
2020-12-16Isolate variable declarations and initialize all variablesDavid Robillard3-5/+7
2020-12-16Clean up includesDavid Robillard15-27/+45
2020-12-16Suppress new clang-tidy warningsDavid Robillard1-0/+5
2020-12-16Add separate clang-tidy configuration for testsDavid Robillard1-0/+41
2020-12-16Exclude lilvmm.hpp from clant checksDavid Robillard1-0/+4
2020-12-01Python: Allow connecting ports to structuresKilian Ulrichsohn2-1/+6
2020-12-01Fix wording of scratch_dir documentationDavid Robillard1-5/+6
2020-12-01Add a specific example for the use of copy_dir and link_dirAlexandros Theodotou1-4/+10
2020-12-01Rewrite state test suiteDavid Robillard1-399/+797
Still a little bit hairy, but much better, and it's at least possible to add cases now without running away screaming.
2020-12-01Use the canonical path for state directoriesDavid Robillard1-7/+8
This fixes an issue on MacOS if hosts use a temporary directory generated with mkdtemp, which can create paths that involve symlinks. This is problematic since the parent directory comparisons here need to determine if a file is really in one of the state directories. The actual paths here shouldn't be visible in saved state, so resolve them fully so that the directory membership tests work correctly and copies and/or links are created when necessary.
2020-12-01Suppress new clang-tidy warningsDavid Robillard1-1/+5
2020-12-01Move features to shared test contextDavid Robillard1-71/+82
2020-12-01Factor out loading test pluginDavid Robillard1-16/+29
2020-12-01Factor out state test contextDavid Robillard1-33/+64
2020-12-01Factor out test URI mapDavid Robillard3-35/+98
2020-11-17Suppress internal deprecation warnings about serd_uri_to_path()David Robillard1-0/+9
This function is deprecated, but is only used here in the implementation of lilv_uri_to_path() which is also deprecated (for the same reason), so application code will still get the warning.
2020-11-11Fix typesDavid Robillard1-2/+2
Oof. How this got past me is anyone's guess.
2020-11-11Fix unlikely undefined behavior when saving stateDavid Robillard2-3/+19
2020-11-11Suppress clang warning about nullability extension used by serdDavid Robillard2-0/+1
2020-11-11Fix potential memory error when joining filesystem pathsDavid Robillard3-5/+12
2020-09-27Lilv 0.24.10v0.24.10David Robillard2-3/+5
2020-09-27Update copyright dateDavid Robillard1-1/+1
2020-09-27Suppress warnings in release buildsDavid Robillard1-0/+2