summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2017-12-29Fix inconsistent parameter namesDavid Robillard1-6/+6
2016-07-31Fix Windows compilationDavid Robillard1-1/+1
2016-07-11Fully reset plugin struct when plugin is reloadedDavid Robillard1-1/+6
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-03-17Replace bundle when newer plugin version is loadedDavid Robillard1-0/+20
Based on patch from Robin Gareus.
2015-12-04Do not instantiate plugin when data fails to parseDavid Robillard1-0/+1
2015-11-07Remove unloaded plugins from world plugin listDavid Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5810 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Support reloading bundlesDavid Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5797 a436a847-0d15-0410-975c-d299462d15a1
2015-10-05Fix compilation on WindowsDavid Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5746 a436a847-0d15-0410-975c-d299462d15a1
2015-03-16Load discovered owl ontologies as specifications.David Robillard1-1/+2
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-0/+5
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-18Remove LILV_NEW_LV2 define.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5522 a436a847-0d15-0410-975c-d299462d15a1
2014-09-24Fixes for new sord.David Robillard1-0/+8
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-31Minor code cleanups, slightly reduce LOC.David Robillard1-13/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2014-05-20Fix slow redundant parsing where many presets share a data file.David Robillard1-1/+3
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-0/+2
(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-3/+6
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-1/+4
several plugins. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5308 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Add lilv_port_get_node() for using world query functions with ports.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5255 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Implement lv2:prototype.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5219 a436a847-0d15-0410-975c-d299462d15a1
2013-10-30Call GetProcAddress with correct calling convention on Windows (fix #932).David Robillard1-4/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5164 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
2012-11-23lilv_world_query_values_internal() => lilv_world_find_nodes_internal().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4861 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Factor out common "ask if a triple is present" pattern.David Robillard1-0/+6
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-11/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-08-03Fix compilation with MSVC.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4610 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4112 a436a847-0d15-0410-975c-d299462d15a1
2012-03-26lilv_plugin_get_port_by_parameter() => lilv_plugin_get_port_by_designation().David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4109 a436a847-0d15-0410-975c-d299462d15a1
2012-03-15Implement new LV2 discovery API.David Robillard1-0/+26
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-45/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4020 a436a847-0d15-0410-975c-d299462d15a1
2012-02-28Update for latest lv2core.David Robillard1-1/+1
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-28Update state interface to support multiple state snapshots with shared files.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3967 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3963 a436a847-0d15-0410-975c-d299462d15a1
2012-01-17Support compilation as C++ under MSVC++,David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2012-01-16Use correct WIN32 define.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3954 a436a847-0d15-0410-975c-d299462d15a1
2012-01-09Make lilv_state_save take a full filename with extension.David Robillard1-0/+1
Use a proper path joining function for separator normalisation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3927 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Move all non-portable stuff to util.c.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3921 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Localise directory traversal stuff.David Robillard1-2/+9
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-36/+56
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-5/+5
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-0/+1
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-1/+7
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
2011-12-23Add LilvState API for handling plugin state. This makes it simple to save andDavid Robillard1-2/+9
restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3899 a436a847-0d15-0410-975c-d299462d15a1
2011-12-16Fix lilv_world_find_nodes to work with wildcard subjects.David Robillard1-1/+7
Add lilv_plugin_get_related to get resources related to plugins that are not directly rdfs:seeAlso linked (e.g. presets). Add lilv_world_load_resource for related resources (e.g. presets). Print presets in lv2info. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3877 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Fix base URI used for parsing dynmanifest plugin data.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3847 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Only load dynmanifests once per bundle, not once per plugin (fix #669).David Robillard1-2/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3845 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Fix compilation with latest dynmanifest extension (#786).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3643 a436a847-0d15-0410-975c-d299462d15a1
2011-11-07Add lilv_plugin_get_extension_data.David Robillard1-0/+1
Print extension data in lv2info. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3605 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove useless wrapper.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3503 a436a847-0d15-0410-975c-d299462d15a1