summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2020-09-27Remove deprecated Doxygen configuration keysDavid Robillard1-22/+1
2020-09-26Update autowafDavid Robillard1-0/+0
2020-09-26Update autowafDavid Robillard1-0/+0
2020-09-26Fix memory leaks in lv2benchDavid Robillard3-2/+10
2020-09-26Normalise NEWS fileDavid Robillard1-1/+1
2020-08-07Fix error handling when copying filesDavid Robillard2-0/+18
2020-08-07Add filesystem testsDavid Robillard3-40/+461
2020-08-06Implement file locking on WindowsDavid Robillard1-1/+14
2020-08-06Add lilv_remove()David Robillard6-19/+21
2020-08-06Fix lilv_create_directories() error handling when path is a fileDavid Robillard1-1/+2
2020-08-06Fix log output of test compilation commandsDavid Robillard1-2/+2
Waf displays the first file.
2020-08-06Make lilv_dir_for_each() ignore dot entriesDavid Robillard2-9/+9
2020-08-06Add lilv_create_temporary_directory()David Robillard2-0/+51
2020-08-06Add lilv_is_directory()David Robillard2-0/+12
2020-08-06Add lilv_path_current()David Robillard2-0/+10
2020-08-06Add lilv_temp_directory_path()David Robillard2-0/+23
2020-08-06Add block parameter to lilv_flockDavid Robillard3-7/+12
2020-08-06Remove lilv_dir_path()David Robillard3-27/+4
This function was weird. Instead, to make a directory path with trailing separator, join nothing as in Python.
2020-08-06Rename some filename utilities for clarityDavid Robillard8-31/+31
Loosely inspired by Python and the std::filesystem API.
2020-08-06Separate filesystem utilitiesDavid Robillard22-420/+586
2020-07-21Use nullptr in C++ headerDavid Robillard2-3/+2
2020-07-21Suppress Wzero-as-null-pointer-constant in headerDavid Robillard1-0/+7
For convenience of C++ projects that include the C header.
2020-07-17Fix potential NULL dereference warningDavid Robillard1-3/+9
Not really something that matters in these cases since allocation failure is not handled gracefully anyway.
2020-07-16Fix literal conversion warnings on MSVCDavid Robillard1-3/+3
2020-07-16Modernize compiler version checksDavid Robillard2-4/+4
Avoids a warning on compilers where __GNUC__ is not defined.
2020-07-16Add a more powerful lint targetDavid Robillard2-9/+73
2020-07-16Fix flake8 warningsDavid Robillard1-20/+26