summaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
2019-03-31Fix building with --dyn-manifest in MSVCHenna Haahti1-1/+1
2019-01-13Update copyright datesDavid Robillard1-1/+1
2019-01-13Clean up includesDavid Robillard1-5/+20
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use.
2017-12-29Fix inconsistent parameter namesDavid Robillard1-4/+4
2017-12-29Remove redundant typedefsDavid Robillard1-1/+0
2017-12-29Fix potential memory leaksDavid Robillard1-1/+4
2017-12-29Remove pointless castsDavid Robillard1-2/+2
2017-12-29Use braces everywhereDavid Robillard1-4/+8
2017-03-23Don't attempt to load remote or non-Turtle filesDavid Robillard1-2/+10
2016-09-18Fix short string allocationDavid Robillard1-1/+1
2016-09-16Add lilv_world_get_symbol()David Robillard1-0/+48
2016-09-04Fix NULL predicate crash in lilv_world_find_nodesDavid Robillard1-0/+3
2016-07-31Fix compilation with C++ compilersDavid Robillard1-7/+8
2016-07-14Clean up and remove dead codeDavid Robillard1-6/+2
2016-07-11Fully reset plugin struct when plugin is reloadedDavid Robillard1-17/+28
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-8/+5
2016-07-08Fix plugin version conflict resolutionDavid Robillard1-4/+18
2016-03-17Replace bundle when newer plugin version is loadedDavid Robillard1-3/+124
Based on patch from Robin Gareus.
2015-11-07Remove unloaded plugins from world plugin listDavid Robillard1-12/+52
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5810 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix loading dynamic manifest from bundles with spacesDavid Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5799 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix commentDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5798 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Support reloading bundlesDavid Robillard1-39/+64
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5797 a436a847-0d15-0410-975c-d299462d15a1
2015-03-28Fix lilv_world_ask() to work with wildcards.David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5645 a436a847-0d15-0410-975c-d299462d15a1
2015-03-16Load discovered owl ontologies as specifications.David Robillard1-13/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5635 a436a847-0d15-0410-975c-d299462d15a1
2015-03-07Add support for state deletion.David Robillard1-3/+6
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-03-07Fix unload functions to only unload the necessary data.David Robillard1-3/+3
Previously, it was quite likely that a massive subset of the entire world was removed as well. Oops. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5616 a436a847-0d15-0410-975c-d299462d15a1
2015-01-29Expose lilv_world_load_specifications() and lilv_world_load_plugin_classes().David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5529 a436a847-0d15-0410-975c-d299462d15a1
2015-01-29Fix memory leak.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5527 a436a847-0d15-0410-975c-d299462d15a1
2015-01-18Remove LILV_NEW_LV2 define.David Robillard1-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5522 a436a847-0d15-0410-975c-d299462d15a1
2014-12-10Fix loading files with spaces in their path.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5493 a436a847-0d15-0410-975c-d299462d15a1
2014-11-22Windows fixes (thanks John Emmas).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5491 a436a847-0d15-0410-975c-d299462d15a1
2014-09-26Report specific error when dyn-manifest dlopen() fails (fix #983).David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5467 a436a847-0d15-0410-975c-d299462d15a1
2014-09-26Update dyn-manifest loading for new sord.David Robillard1-21/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5466 a436a847-0d15-0410-975c-d299462d15a1
2014-09-24Fixes for new sord.David Robillard1-22/+48
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5465 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5429 a436a847-0d15-0410-975c-d299462d15a1
2014-07-31Minor code cleanups, slightly reduce LOC.David Robillard1-96/+64
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2014-07-15Add lilv_world_unload_bundle() and lilv_world_unload_resource().David Robillard1-21/+105
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5413 a436a847-0d15-0410-975c-d299462d15a1
2014-05-20Fix slow redundant parsing where many presets share a data file.David Robillard1-15/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5405 a436a847-0d15-0410-975c-d299462d15a1
2014-01-18Call lv2_lib_descriptor separately for different bundle pathsDavid Robillard1-2/+18
(fix loading several dynamic plugins like Ingen at once). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5314 a436a847-0d15-0410-975c-d299462d15a1
2014-01-12Factor out common file reading code.David Robillard1-36/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5310 a436a847-0d15-0410-975c-d299462d15a1
2014-01-12Don't load files multiple times if they are listed as rdfs:seeAlso for ↵David Robillard1-34/+48
several plugins. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5308 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Implement lv2:prototype.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5219 a436a847-0d15-0410-975c-d299462d15a1
2013-08-25Support denoting latency ports with lv2:designation lv2:latency.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5157 a436a847-0d15-0410-975c-d299462d15a1
2013-02-18Make use of sord_get().David Robillard1-44/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5057 a436a847-0d15-0410-975c-d299462d15a1
2013-02-18Fix SordNode leaks.David Robillard1-7/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5056 a436a847-0d15-0410-975c-d299462d15a1
2013-02-10Add lilv_world_ask() for easily checking if a statement exists.David Robillard1-0/+16
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
2012-11-23Add lilv_world_ask() for simply checking if a statement exists.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4862 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23lilv_world_query_values_internal() => lilv_world_find_nodes_internal().David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4861 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Add lilv_nodes_merge() to API (address part of #835).David Robillard1-19/+8
More lightweight version of lilv_plugin_has_feature() and lilv_world_find_nodes(). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4860 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Factor out common "ask if a triple is present" pattern.David Robillard1-0/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4856 a436a847-0d15-0410-975c-d299462d15a1