summaryrefslogtreecommitdiffstats
path: root/src/port.c
AgeCommit message (Collapse)AuthorFilesLines
2022-11-16Switch to external zix dependencyDavid Robillard1-4/+5
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-01-11Fix unused parameter warningsDavid Robillard1-0/+12
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-146/+133
2020-01-18Remove redundant LILV_API declarationsDavid Robillard1-13/+13
There are specified in the declarations in the public API header, there is no need to duplicate them in the definitions.
2019-04-14Use modern LV2 includesDavid Robillard1-3/+3
2019-01-13Update copyright datesDavid Robillard1-1/+1
2019-01-13Clean up includesDavid Robillard1-6/+11
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-34/+34
2017-12-29Use braces everywhereDavid Robillard1-5/+10
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-48/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Add lilv_port_get_node() for using world query functions with ports.David Robillard1-6/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5255 a436a847-0d15-0410-975c-d299462d15a1
2013-02-10Add lilv_world_ask() for easily checking if a statement exists.David Robillard1-0/+15
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-23lilv_world_query_values_internal() => lilv_world_find_nodes_internal().David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4861 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Support atom:supports in lilv_port_supports_event() (fix #857).David Robillard1-5/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4857 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Factor out common "ask if a triple is present" pattern.David Robillard1-17/+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-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Use URI defines from LV2 headers where possible.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4175 a436a847-0d15-0410-975c-d299462d15a1
2012-03-03Remove pointless wrapper around Sord API.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4020 a436a847-0d15-0410-975c-d299462d15a1
2012-02-26Add lilv_plugin_get_port_by_property() and lilv_port_get_index() as an ↵David Robillard1-0/+8
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-17Support compilation as C++ under MSVC++,David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Fix crash on corrupt plugins (fix #800).David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3922 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Add file support to state implementation.David Robillard1-8/+8
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-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3916 a436a847-0d15-0410-975c-d299462d15a1
2011-12-16Fix lilv_world_find_nodes to work with wildcard subjects.David Robillard1-1/+1
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-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-28Remove glib dependencyDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3501 a436a847-0d15-0410-975c-d299462d15a1
2011-05-03Replace lilv_plugin_get_value_for_subject with lilv_world_find_nodes.David Robillard1-4/+4
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-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3243 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Tidy.David Robillard1-1/+1
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-48/+18
Consistent namespace and URI define names. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3240 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Tidy.David Robillard1-7/+7
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-2/+2
Fix indentation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3235 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29LilvValue => LilvNode.David Robillard1-49/+49
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-14/+14
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-11/+11
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-24/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3226 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-61/+61
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
2011-04-28Rename slv2 to lilv.David Robillard1-126/+126
API breakage was proving too much of a hassle, and would be even further of a mess after release and packaging. Best to make a clean break now, and fix installation to support parallel installs and prevent this kind of problem in the future. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3217 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Tidy (rearrange prototypes in sane order).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3212 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28More future-proof collection APIs.David Robillard1-1/+1
Make all iterator actions occur through a collection specific function. Verbose, and a low of API, but allows for the possibility of different collection implementation types (given a choice between verbosity and no type safety, I'll take verbosity). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3211 a436a847-0d15-0410-975c-d299462d15a1
2011-04-27Fix memory leaks.David Robillard1-9/+9
Don't modify model while reading it. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3199 a436a847-0d15-0410-975c-d299462d15a1
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less ↵David Robillard1-20/+11
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3187 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-09New collections and iterator API.David Robillard1-6/+6
Deprecate slv2_*_get_at. Remove slv2_world_get_plugins_by_filter. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3057 a436a847-0d15-0410-975c-d299462d15a1
2011-03-06Relicense to 2-clause BSD... for the good of LV2... and hopefully me... ↵David Robillard1-17/+24
eventually... in some very abstract kind of way... :/ git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3041 a436a847-0d15-0410-975c-d299462d15a1
2011-02-16Update for new Sord API.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2956 a436a847-0d15-0410-975c-d299462d15a1
2011-02-16Update for new Sord API.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1