summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2020-07-16Fix potential va_list leakDavid Robillard1-0/+1
2020-07-16Add missing variable initializationsDavid Robillard3-6/+7
2020-07-16Be explicit about warningsDavid Robillard2-0/+58
2020-07-16Annotate printf-style functionDavid Robillard1-0/+7
2020-07-16Add missing extern declarationDavid Robillard1-0/+3
This avoids a clang warning about strict declarations.
2020-07-16Add missing static specifiersDavid Robillard2-14/+14
2020-07-16Fix conversion warningsDavid Robillard6-11/+11
2020-07-16Remove unnecessary definesDavid Robillard3-6/+0
2020-07-16Split test suite up into several independent programsDavid Robillard25-2150/+2961
2020-07-16Only define Windows path utility function on WindowsDavid Robillard1-0/+2
Avoids a warning about an unused fuction.
2020-07-16Clean up includesDavid Robillard7-6/+16
2020-07-16Automatically write prefixes to test filesDavid Robillard2-42/+28
Makes the code less repetitive and verbose. They were all the same at this point anyway, since unused prefixes don't hurt anything.
2020-07-16Use standard assert for test expectationsDavid Robillard10-398/+358
The old one aborted anyway, and I've been using assert for tests in other projects for a while now, and never really missed having something more complex. The lack of a dependency or repetitive code is nice. Since the unit tests are about to be split up, the abort thing will become less of an issue anyway.
2020-07-15Rewrite and separate common test facilitiesDavid Robillard4-415/+486
2020-06-19Check for CreateSymbolicLink at configure timeDavid Robillard2-18/+10
This uses the system CreateSymbolicLink if it is available at compile time, and if not, just acts as if the link failed (which is extremely likely anyway). This removes the ugly wrapper code that has been a constant source of compatibility headaches with weird toolchains.
2020-06-19Use strict function checksDavid Robillard1-0/+8
This makes the function checks work with strict warnings and Werror, but is also stronger because checks will fail if the function prototypes are not as expected (though this is incredibly unlikely since these are all standard functions).
2020-06-19Update autowafDavid Robillard1-0/+0
2020-05-17Make lilv_world_get() use translationsDavid Robillard3-1/+27
2020-04-26Lilv 0.24.8v0.24.8David Robillard2-4/+4
2020-04-26Update autowafDavid Robillard1-0/+0
2020-03-12Use consistent tagline in documentationDavid Robillard1-3/+4
2020-02-23Fix namespace add operator with Python 2David Robillard1-0/+3
In Python 2, a __coerce__ attribute of the Namespace is requested in this case, which ends up producing an error. Work around this by defining a __coerce__ method that does nothing so __getattr__ is not called for it.
2020-02-17Add __add__ magic method to Python Namespace classChristopher Arndt2-0/+6
This allows creating URIs from a Namespace instance by adding a suffix.
2020-02-17Simplify lv2_list_presets.pyDavid Robillard1-4/+2
2020-02-17Allow passing strings for URIs in Python API when unambiguousDavid Robillard3-45/+113