summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-05-18Update for new Sord API.David Robillard1-17/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3274 a436a847-0d15-0410-975c-d299462d15a1
2011-05-16Update for new Sord API.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3272 a436a847-0d15-0410-975c-d299462d15a1
2011-05-12Update for new Sord APIDavid Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3256 a436a847-0d15-0410-975c-d299462d15a1
2011-05-11Pass environment to sord write methods for CURIE abbreviation.David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3255 a436a847-0d15-0410-975c-d299462d15a1
2011-05-03Replace lilv_plugin_get_value_for_subject with lilv_world_find_nodes.David Robillard1-43/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3247 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Consistent error and warning message style.David Robillard1-8/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3243 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Tidy.David Robillard1-6/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3241 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Cache port RDF node on load instead of searching for it repeatedly.David Robillard1-7/+10
Consistent namespace and URI define names. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3240 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Faster implementations of lilv_plugin_get_one and lilv_plugin_get_unique.David Robillard1-22/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3239 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Tidy.David Robillard1-6/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3236 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Rename command line utilities to avoid clashing with slv2.David Robillard1-5/+5
Fix indentation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3235 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29LilvValue => LilvNode.David Robillard1-117/+117
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3234 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Remove LilvNode and LilvMatches typedefs for Sord stuff.David Robillard1-27/+27
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3233 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Move querying functions up to world level.David Robillard1-50/+35
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3232 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Remove half-assed qname API.David Robillard1-27/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3226 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Terser names for value constructors.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3223 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-110/+113
Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3222 a436a847-0d15-0410-975c-d299462d15a1