summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
AgeCommit message (Collapse)AuthorFilesLines
2019-01-11Use a clearer name for state directory and improve documentationDavid Robillard1-14/+14
2019-01-11Cleanup: Fix some long linesDavid Robillard1-7/+8
2018-09-15Improve test suite error reportingDavid Robillard1-7/+10
2018-09-15Fix test suiteDavid Robillard1-1/+1
2018-09-04Fix GCC8 warningsDavid Robillard1-8/+11
2018-07-10Fix Windows/MSVC buildDavid Robillard1-0/+2
2017-12-29Use safe string functionsDavid Robillard1-16/+12
2017-12-29Use braces everywhereDavid Robillard1-19/+38
2016-09-18Fix memory, file, and library leaksDavid Robillard1-0/+4
2016-09-16Add lilv_world_get_symbol()David Robillard1-0/+48
2016-08-26Fix compilation with C++David Robillard1-2/+2
2016-08-01Use consistent feature test macrosDavid Robillard1-1/+1
2016-08-01Use consistent feature test macrosDavid Robillard1-1/+1
2016-07-24Add lilv_state_set_metadata()David Robillard1-0/+12
This allows setting useful metadata on a state description accessible to hosts but not plugins, such as pset:bank and rdfs:comment. Based on patch from Hanspeter Portner.
2016-07-14Improve test coverageDavid Robillard1-0/+40
2016-07-12Improve test coverageDavid Robillard1-0/+1
2016-07-11Fully reset plugin struct when plugin is reloadedDavid Robillard1-4/+37
This fixes a bug where, for example, after re-loading a plugin from a different bundle, the LilvPlugin would still report the old bundle. Also never replace a newer version with an older version when a bundle is loaded. Ignores the entire bundle if an older plugin than one loaded is found. This is tricky because the unit of loading/unloading is a bundle, and the unit of versioning is a plugin, but since having data from an old bundle still loaded seems like a bad idea, this seems like the most correct behaviour.
2016-07-11Improve test coverageDavid Robillard1-1/+21
2016-07-10Test versioned plugin replacementDavid Robillard1-0/+49
2016-07-10Test lilv_node_as_float on non-numeric nodesDavid Robillard1-0/+1
2015-11-07Remove unloaded plugins from world plugin listDavid Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5810 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Support reloading bundlesDavid Robillard1-2/+69
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5797 a436a847-0d15-0410-975c-d299462d15a1
2015-10-08Improve test coverageDavid Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5754 a436a847-0d15-0410-975c-d299462d15a1
2015-10-08Fix memory leaks in test suiteDavid Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5753 a436a847-0d15-0410-975c-d299462d15a1
2015-10-04Improve test coverageDavid Robillard1-1/+58
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5742 a436a847-0d15-0410-975c-d299462d15a1
2015-08-14Add lilv_free() for systems picky about such things.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5706 a436a847-0d15-0410-975c-d299462d15a1
2015-03-07Add support for state deletion.David Robillard1-0/+15
Add lilv_node_get_path(). Add lilv_state_get_uri(). Add lilv_state_delete(). Fix creation of duplicate manifest entries when saving state. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5617 a436a847-0d15-0410-975c-d299462d15a1
2015-01-29Add lilv_file_uri_parse() for correct URI to path conversion.David Robillard1-12/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5528 a436a847-0d15-0410-975c-d299462d15a1
2014-09-24Fixes for new sord.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5465 a436a847-0d15-0410-975c-d299462d15a1
2014-07-15Add lilv_world_unload_bundle() and lilv_world_unload_resource().David Robillard1-2/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5413 a436a847-0d15-0410-975c-d299462d15a1
2014-07-12Fix issues with lilv_plugin_get_author_name and friends (thanks Filipe ↵David Robillard1-3/+259
Coelho) (fix #976). Improve test coverage. Fix several minor memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5406 a436a847-0d15-0410-975c-d299462d15a1
2014-05-20Fix test suite memory leaks.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5404 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Fix use of lv2info -m and -p options to write plugin data.David Robillard1-0/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5401 a436a847-0d15-0410-975c-d299462d15a1
2014-01-17Fix minor memory leak in test suite.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5313 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Clean up after test suite so multiple runs are successful.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5226 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Fix some const-correctness violations.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5194 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19Add support for running plugins from Python by Kaspar Emanuel (fix #939 and ↵David Robillard1-1/+30
#940). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5189 a436a847-0d15-0410-975c-d299462d15a1
2013-02-10Add lilv_world_ask() for easily checking if a statement exists.David Robillard1-0/+6
Add lilv_world_get() and lilv_port_get() for easily getting one value. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5053 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Require a URI for lilv_state_to_string() and fail gracefully otherwise.David Robillard1-0/+9
Fail gracefully when lilv_state_new_from_string() is called on NULL. Fixes #865. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5030 a436a847-0d15-0410-975c-d299462d15a1
2013-01-10Make lilv_plugin_get_port_by_designation() return a const pointer.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4912 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Add lilv_world_ask() for simply checking if a statement exists.David Robillard1-0/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4862 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Support atom:supports in lilv_port_supports_event() (fix #857).David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4857 a436a847-0d15-0410-975c-d299462d15a1
2012-08-13Fix const violations.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4677 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-35/+36
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
2012-04-06Fix compilation on Windows.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4150 a436a847-0d15-0410-975c-d299462d15a1
2012-04-06Update test suite for latest state extension.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4148 a436a847-0d15-0410-975c-d299462d15a1
2012-03-30Fix bad data discovered by sord_validate.David Robillard1-1/+1
Remove units from blip port labels and add unit metadata. Build instrument MDA plugins (still not working). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4131 a436a847-0d15-0410-975c-d299462d15a1
2012-03-10Fix compilation with latest serd.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4038 a436a847-0d15-0410-975c-d299462d15a1
2012-03-08Add base_uri parameter to lilv_state_to_string().David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4032 a436a847-0d15-0410-975c-d299462d15a1
2012-03-08serd_node_new_uri_from_path => serd_node_new_file_uri.David Robillard1-2/+2
Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4031 a436a847-0d15-0410-975c-d299462d15a1