summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-31Format all code with clang-formatDavid Robillard1-808/+792
2020-12-31Avoid "else" after "return"David Robillard1-8/+10
2020-08-06Separate filesystem utilitiesDavid Robillard1-1/+0
2020-07-16Fix conversion warningsDavid Robillard1-1/+1
2020-07-16Remove unnecessary definesDavid Robillard1-2/+0
2020-07-16Clean up includesDavid Robillard1-1/+0
2020-01-18Fix memory leak when dyn-manifest has no pluginsDavid Robillard1-10/+1
2020-01-18Fix cases where incorrect translation is usedDavid Robillard1-8/+15
2020-01-18Remove redundant LILV_API declarationsDavid Robillard1-32/+32
There are specified in the declarations in the public API header, there is no need to duplicate them in the definitions.
2019-08-18Fix lilv_plugin_get_latency_port_index() for lv2:latency designationDavid Robillard1-2/+11
2019-04-14Use modern LV2 includesDavid Robillard1-3/+3
2019-01-13Update copyright datesDavid Robillard1-1/+1
2019-01-13Clean up includesDavid Robillard1-6/+17
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-217/+218
2017-12-29Remove redundant typedefsDavid Robillard1-1/+0
2017-12-29Parenthesize macro argumentDavid Robillard1-1/+1
2017-12-29Remove pointless castsDavid Robillard1-1/+1
2017-12-29Use braces everywhereDavid Robillard1-7/+13
2016-09-18Fix memory, file, and library leaksDavid Robillard1-0/+3
2016-09-05Fix misleading error messageDavid Robillard1-1/+1
2016-07-31Fix compilation with C++ compilersDavid Robillard1-10/+7
2016-07-11Fully reset plugin struct when plugin is reloadedDavid Robillard1-8/+23
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-07-09Check lv2:binary predicate for UIsHanspeter Portner1-1/+4
2015-12-04Do not instantiate plugin when data fails to parseDavid Robillard1-3/+19
2015-10-29Fix buildDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5801 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix long linesDavid Robillard1-39/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5800 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-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