summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
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-24Fixes for new sord.David Robillard1-8/+20
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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5429 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-110/+65
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2014-07-12Fix issues with lilv_plugin_get_author_name and friends (thanks Filipe ↵David Robillard1-11/+26
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-01-12Don't load files multiple times if they are listed as rdfs:seeAlso for ↵David Robillard1-8/+4
several plugins. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5308 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix bugs introduced in r5255.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5262 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Implement lv2:prototype.David Robillard1-0/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5219 a436a847-0d15-0410-975c-d299462d15a1
2013-08-25Support getting index of designated latency ports.David Robillard1-3/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5158 a436a847-0d15-0410-975c-d299462d15a1
2013-08-25Support denoting latency ports with lv2:designation lv2:latency.David Robillard1-5/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5157 a436a847-0d15-0410-975c-d299462d15a1
2013-01-15Fix several plugin functions that failed to load data if called first.David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4990 a436a847-0d15-0410-975c-d299462d15a1
2013-01-10Make lilv_plugin_get_port_by_designation() return a const pointer.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4912 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23lilv_world_query_values_internal() => lilv_world_find_nodes_internal().David Robillard1-10/+10
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-22/+19
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-23Add va_list variant of lilv_plugin_get_num_ports_of_class() (#758).David Robillard1-19/+39
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4858 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Factor out common "ask if a triple is present" pattern.David Robillard1-12/+3
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-26/+28
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-4/+4
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
2012-08-07Add missing headers and define.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4621 a436a847-0d15-0410-975c-d299462d15a1
2012-04-17Add lilv_plugin_get_project() and get author information from project if it ↵David Robillard1-0/+40
is not given directly on the plugin. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4189 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Use URI defines from LV2 headers where possible.David Robillard1-4/+7
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-2/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4171 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-03Remove pointless wrapper around Sord API.David Robillard1-24/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4020 a436a847-0d15-0410-975c-d299462d15a1
2012-02-28Update for latest lv2core.David Robillard1-6/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4004 a436a847-0d15-0410-975c-d299462d15a1
2012-02-27Implement lv2:relation.David Robillard1-2/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4002 a436a847-0d15-0410-975c-d299462d15a1
2012-02-26Add lilv_plugin_get_port_by_property() and lilv_port_get_index() as an ↵David Robillard1-26/+27
improved generic alternative to lilv_plugin_get_latency_port_index(). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4001 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-19/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2012-01-14Lint.David Robillard1-12/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3948 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Add file support to state implementation.David Robillard1-25/+25
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-7/+17
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-7/+10
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
2012-01-03Improved coverage for plugin.c.David Robillard1-40/+47
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3911 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Add LilvState API for handling plugin state. This makes it simple to save andDavid Robillard1-12/+8
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-0/+29
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-2/+2
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-29/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3845 a436a847-0d15-0410-975c-d299462d15a1
2011-11-11Add lilv_plugin_has_extension_data.David Robillard1-0/+35
Add tests for extension data functions. Tolerate (ignore) plugins with broken data with "gaps" in port indices. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3611 a436a847-0d15-0410-975c-d299462d15a1
2011-11-07Add lilv_plugin_get_extension_data.David Robillard1-0/+7
Print extension data in lv2info. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3605 a436a847-0d15-0410-975c-d299462d15a1
2011-11-06Remove unnecessary _XOPEN_SOURCE defines causing problems on FreeBSD.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3600 a436a847-0d15-0410-975c-d299462d15a1
2011-09-29Tidy.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3506 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove glib dependencyDavid Robillard1-7/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3501 a436a847-0d15-0410-975c-d299462d15a1
2011-09-27Add lilv_plugin_write_description and lilv_plugin_write_manifest_entry.David Robillard1-0/+119
Add -p and -m options to lv2info for writing data files. Define LILV_NS_OWL. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3498 a436a847-0d15-0410-975c-d299462d15a1
2011-09-22Set correct base URI when parsing dyn manifest data (fix #771).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3473 a436a847-0d15-0410-975c-d299462d15a1
2011-09-14Support integer minimum, maximum, and default port values in ↵David Robillard1-14/+29
lilv_plugin_get_port_ranges_float. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3461 a436a847-0d15-0410-975c-d299462d15a1
2011-06-11Parse data files with their own URIs as base URIs and allow plugin data ↵David Robillard1-10/+4
files not within the plugin's main bundle. Fixes ticket #702. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3386 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Fix crash introduced in last commit. Oops.David Robillard1-10/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3276 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Fix lilv_plugin_get_port_ranges_float crash when range values aren't float.David Robillard1-8/+15
Make lilv_plugin_get_port_ranges_float avoid range search if output array is not given for min/max/default. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3275 a436a847-0d15-0410-975c-d299462d15a1