summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2017-12-16Use mkstemp instead of tmpnamDavid Robillard1-13/+9
2016-09-26Fix comparison of restored states with pathsDavid Robillard1-3/+8
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 Robillard2-3/+3
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 Robillard15-1/+561
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 Robillard3-3/+33
2016-07-10Test versioned plugin replacementDavid Robillard7-0/+329
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-29Fix test suite memory leaksDavid Robillard6-0/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5796 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 Robillard28-5/+976
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-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5423 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 Robillard2-36/+37
-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 Robillard2-5/+9
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-27Delete trailing whitespace.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4112 a436a847-0d15-0410-975c-d299462d15a1
2012-03-20Update for latest atom extension.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4090 a436a847-0d15-0410-975c-d299462d15a1
2012-03-11Fix incorrect lv2:hardRTCapable URI.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4049 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
2012-03-08Update sratom to write paths as file URIs, and related state fixes.David Robillard1-14/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4030 a436a847-0d15-0410-975c-d299462d15a1