summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-01-07Generate documentation with Sphinx and add an overviewDavid Robillard17-3491/+1109
2021-01-07Clean up documentation commentsDavid Robillard1-171/+289
2021-01-03Fix build with MinGWDavid Robillard1-1/+5
2021-01-03Use backslashes for fallback LILV_DEFAULT_LV2_PATH on WindowsDavid Robillard1-1/+1
2021-01-02Update date in version outputDavid Robillard5-5/+5
2021-01-02Use email address instead of website for attributionDavid Robillard57-61/+61
2021-01-02Use LILV_STATIC instead of LILV_SHARED to control visibilityDavid Robillard2-18/+14
For consistency, this seems to be the most common convention.
2021-01-02Suppress clang-tidy C11 warningsDavid Robillard2-0/+2
2021-01-02Remove the need for a generated configuration headerDavid Robillard5-10/+137
2020-12-31Format all code with clang-formatDavid Robillard75-9923/+9989
2020-12-31Avoid "else" after "return"David Robillard15-60/+105
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