summaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-08-10Always back LilvNode with a SordNode and shave 16 bytes off of LilvNode.David Robillard1-10/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix Windows static build.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4637 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-4/+2
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Fix crash when invalid plugin URIs are used.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4614 a436a847-0d15-0410-975c-d299462d15a1
2012-04-19Fix dynmanifest supportDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4207 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Use URI defines from LV2 headers where possible.David Robillard1-19/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4175 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Fix errors caused by blank node merging.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4171 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Remove pointless lilv_world_find_statements() wrapper and use new sord_search().David Robillard1-40/+27
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4169 a436a847-0d15-0410-975c-d299462d15a1
2012-03-26lilv_plugin_get_port_by_parameter() => lilv_plugin_get_port_by_designation().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4109 a436a847-0d15-0410-975c-d299462d15a1
2012-03-21Fix redundant parsing of resources (e.g. preset files).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4094 a436a847-0d15-0410-975c-d299462d15a1
2012-03-15Implement new LV2 discovery API.David Robillard1-0/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4062 a436a847-0d15-0410-975c-d299462d15a1
2012-03-03Remove pointless wrapper around Sord API.David Robillard1-34/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4020 a436a847-0d15-0410-975c-d299462d15a1
2012-02-28Update for latest lv2core.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4004 a436a847-0d15-0410-975c-d299462d15a1
2012-02-27Implement lv2:relation.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4002 a436a847-0d15-0410-975c-d299462d15a1
2012-01-29Fix duplicate plugin errors with multiple dynmanifests per bundle (fix #811).David Robillard1-4/+5
Use dynmanifest as context rather than bundle. Not sure if this will have other consequences... git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3968 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Lint.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3962 a436a847-0d15-0410-975c-d299462d15a1
2012-01-17Support compilation as C++ under MSVC++,David Robillard1-23/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2012-01-15Fix memory leak.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3950 a436a847-0d15-0410-975c-d299462d15a1
2012-01-14Lint.David Robillard1-7/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3948 a436a847-0d15-0410-975c-d299462d15a1
2012-01-13Fix compilation with --dyn-manifest (fix #803).David Robillard1-2/+2
Patch from Stefano D'Angelo. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3938 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Localise directory traversal stuff.David Robillard1-36/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3920 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Add file support to state implementation.David Robillard1-80/+53
Use cleaner and more consistent names for world URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3918 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Consistently use SordNode for internal URIs.David Robillard1-12/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3916 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Implement proper support for LV2_STATE_BUNDLE.David Robillard1-38/+2
Test saving state to default bundle path. Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3915 a436a847-0d15-0410-975c-d299462d15a1
2011-12-30Support arbitrary binary data in plugin state via base64 encoding.David Robillard1-0/+2
Unit testing for plugin instantiation and state. Build without LV2 state available. Support URID values in plugin state nicely. Fix various holes in state implementation exposed by tests. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3908 a436a847-0d15-0410-975c-d299462d15a1