summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2020-02-17Update Python binding boilerplateDavid Robillard2-4/+4
2020-02-17Add positive Python test for get_port_by_designation()David Robillard2-0/+6
2020-02-17Support checking if Python objects with URIs are in a NodesDavid Robillard2-7/+9
2020-02-17Add portable Python _is_string() utility and use it everywhereDavid Robillard1-5/+12
2020-01-18Fix memory leak when dyn-manifest has no pluginsDavid Robillard4-12/+23
2020-01-18Fix cases where incorrect translation is usedDavid Robillard2-10/+18
2020-01-18Clean up i18n codeDavid Robillard1-20/+20
2020-01-18Delete all temporary state bundles saved by the test suiteDavid Robillard1-9/+35
2020-01-18Update manifest when deleting state from a non-empty bundleDavid Robillard1-1/+6
This fixes a bug where the manifest would contain dangling references to old state if multiple states were saved to a single bundle and one is deleted. As far as I know this has not been encountered by anyone in reality, since this is an uncommon scenario (it's somewhat in question whether it should be supported at all).
2020-01-18Support deleting state that has not been savedDavid Robillard1-16/+21
This makes it possible to delete state bundles created from an instance, where the plugin has added some files to the bundle, but the state has not yet been saved by the host so there is no manifest and/or state file.
2020-01-18Clean up path code in lilv_state_delete()David Robillard1-6/+5
2020-01-18Fix deleting state bundles loaded from the modelDavid Robillard3-38/+52
2020-01-18Only remove files in state bundle when deleting stateDavid Robillard1-6/+8
2020-01-18Factor out writing state manifestDavid Robillard1-10/+25
2020-01-18Ensure state directory path always ends in a separatorDavid Robillard3-8/+33
This can cause problems when resolving relative paths against the bundle directory, and it's simpler to ensure that the path always ends in a separator than deal with both cases in every place it is used.
2020-01-18Remove redundant LILV_API declarationsDavid Robillard10-130/+130
There are specified in the declarations in the public API header, there is no need to duplicate them in the definitions.
2019-12-09Fix waflib submodule referenceDavid Robillard1-1/+1
2019-12-08Implement state:freePath featureDavid Robillard5-32/+85
2019-11-10Lilv 0.24.6v0.24.6David Robillard2-3/+3
2019-11-10Add __pycache__ to gitignoreDavid Robillard1-0/+1
2019-11-10Use a normal test context for Python testsDavid Robillard1-1/+1
2019-11-10Remove old release targetsDavid Robillard1-18/+0
2019-11-09Add example Python script to list plugin presetsChristopher Arndt2-1/+50
2019-11-09Make Python exceptions more informativeDavid Robillard1-4/+4
2019-11-09Fix pkg-config dependenciesDavid Robillard1-1/+1
2019-11-02Update autowafDavid Robillard2-0/+5
2019-11-02Normalise NEWS fileDavid Robillard1-111/+111
2019-10-23Fix Python tests on Python2David Robillard1-5/+15
2019-10-23Skip instance test if numpy is missingDavid Robillard1-1/+5
2019-10-23Fix Python bindings on WindowsDavid Robillard2-5/+13
2019-10-22Fix Python bindings on MacDavid Robillard1-1/+6
2019-10-21Show output of Python testsDavid Robillard1-1/+1
2019-10-21Don't depend on order in test expectationsDavid Robillard1-2/+2