summaryrefslogtreecommitdiffstats
path: root/src/port.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-31Fix memory leaks.David Robillard1-1/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2887 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Reduce heavy use of librdf_new_node_from* functions.David Robillard1-1/+1
Store a librdf_node, rather than a librdf_uri, for a URI SLV2Value (further reducing the use of librdf_uri). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2882 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Completely abstract away use of librdf_stream for statement matching.David Robillard1-18/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2876 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Remove all use of, and API support for, SPARQL.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2875 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Wrap match (stream) variable getting in macro.David Robillard1-8/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2870 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Wrap stream iteration in macros.David Robillard1-5/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2869 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL version of slv2_port_get_scale_points.David Robillard1-24/+24
SLV2 is SPARQL free! git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2868 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL version of slv2_port_get_range.David Robillard1-46/+45
1 query left... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2867 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL versions of slv2_port_get_value_by_qname, ↵David Robillard1-41/+58
slv2_port_get_value_by_qname_i18n, and svn_port_get_value. Gracefully handle invalid predicates in slv2_plugin_get_value_by_qname. 2 queries left... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2866 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL versions of slv2_port_supports_event and slv2_port_has_property.David Robillard1-27/+49
5 queries left... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2864 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Chop dead code.David Robillard1-13/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
2009-06-04Remove unnecessary ORDER BY in scale points query.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2091 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Kludge around broken raptor_sequence_set_at.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2089 a436a847-0d15-0410-975c-d299462d15a1
2009-05-14Always include types.h first.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2007 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-20/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14Remove dead code.David Robillard1-21/+7
Test coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1935 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14New generic query API.David Robillard1-23/+21
List presets in lv2_inspect. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1932 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Merge various collections into single files, reduce rampant code duplication.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1925 a436a847-0d15-0410-975c-d299462d15a1
2009-01-21Add slv2_plugin_classes_free to public API (fix ticket #324).David Robillard1-7/+2
Fix memory leak in slv2_plugin_get_port_float_values. Fix memory leak in slv2_plugin_get_supported_features. Fix memory leak in slv2_port_has_property. Fix several memory leaks in slv2_test program. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1921 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Handle librdf failures (NULL values) and crazily typed values etc. more ↵David Robillard1-2/+2
gracefully. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1860 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Better failed test reporting.David Robillard1-0/+2
Comment out some unused code. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1853 a436a847-0d15-0410-975c-d299462d15a1
2008-11-08Support i18n literals via LANG environment variable.David Robillard1-4/+33
Apply patch from larsl (ticket #186). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1705 a436a847-0d15-0410-975c-d299462d15a1
2008-11-01Fix slv2_value_supports_event (patch from Nedko).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1698 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-09-29Add slv2_port_get_value.David Robillard1-0/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1533 a436a847-0d15-0410-975c-d299462d15a1
2008-01-27Packaging stuff.David Robillard1-0/+45
Add scale points API. Display scale points in lv2_inspect. Fix bugs resulting in returning empty collections. git-svn-id: http://svn.drobilla.net/lad/slv2@1114 a436a847-0d15-0410-975c-d299462d15a1
2008-01-25Overhaul SLV2 API to return/take SLV2Value (instead of strings or ↵David Robillard1-92/+78
primitives) wherever possible. Make 'index' a fundemental property of ingen ports. git-svn-id: http://svn.drobilla.net/lad/slv2@1113 a436a847-0d15-0410-975c-d299462d15a1
2008-01-24Kludge around string<->number issues in locales with a ',' decimal point, ↵David Robillard1-1/+1
and locale bugs in librdf. git-svn-id: http://svn.drobilla.net/lad/slv2@1110 a436a847-0d15-0410-975c-d299462d15a1
2008-01-23Trim useless cruft.David Robillard1-62/+0
Disable unused parameter warning with --enable-strict. git-svn-id: http://svn.drobilla.net/lad/slv2@1106 a436a847-0d15-0410-975c-d299462d15a1
2008-01-21Work on generic LV2 events.David Robillard1-3/+25
git-svn-id: http://svn.drobilla.net/lad/slv2@1090 a436a847-0d15-0410-975c-d299462d15a1
2008-01-20Work on new generic events extension.David Robillard1-0/+26
git-svn-id: http://svn.drobilla.net/lad/slv2@1089 a436a847-0d15-0410-975c-d299462d15a1
2008-01-20Fix syntax error in lv2_midi.ttl and lv2_event.ttl.David Robillard1-0/+2
Add lv2ev:supportsEvent port property. Add generic event port support to SLV2. git-svn-id: http://svn.drobilla.net/lad/slv2@1081 a436a847-0d15-0410-975c-d299462d15a1
2008-01-12Add plugin template interface (fast discovery of plugins with certain I/ODavid Robillard1-26/+17
characteristics). git-svn-id: http://svn.drobilla.net/lad/slv2@1051 a436a847-0d15-0410-975c-d299462d15a1
2008-01-11Fix port clashes when multiple plugins are listed in the same file.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@1048 a436a847-0d15-0410-975c-d299462d15a1
2007-10-03Updated LV2 spec.David Robillard1-11/+3
git-svn-id: http://svn.drobilla.net/lad/slv2@809 a436a847-0d15-0410-975c-d299462d15a1
2007-08-08Update ingen for SLV2 changes.David Robillard1-9/+9
SLV2 0.2.0. git-svn-id: http://svn.drobilla.net/lad/slv2@688 a436a847-0d15-0410-975c-d299462d15a1
2007-08-07Changed slv2_port_get_type to slv2_port_get_data_type, and SLV2PortType to ↵David Robillard1-4/+4
SLV2PortDataType. Fixed autoconf warning. git-svn-id: http://svn.drobilla.net/lad/slv2@682 a436a847-0d15-0410-975c-d299462d15a1
2007-07-23Updated LV2 spec.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/slv2@602 a436a847-0d15-0410-975c-d299462d15a1
2007-07-23Broke API to separate input/output from type (less code repetition and SLV2 ↵David Robillard1-32/+75
is more useful with unknown extended port types this way). Switched enum symbol naming scheme to be more typical and future proof. Added LV2 OSC support. git-svn-id: http://svn.drobilla.net/lad/slv2@600 a436a847-0d15-0410-975c-d299462d15a1
2007-05-08Reworked simple query API to allow passing either QName or URI predicates.David Robillard1-2/+2
Hack around a Rasqal bug for the above (URI predicates). Clean up exposed names for greppability and to not violate user namespace. Fixed slv2_plugin_get_value and slv2_plugin_get_value_for_resource. git-svn-id: http://svn.drobilla.net/lad/slv2@517 a436a847-0d15-0410-975c-d299462d15a1
2007-04-28Use index instead of variable name for selecting query variables ↵David Robillard1-1/+1
(performance enhancement). Improved ladspa2lv2, converting port hints and min/max/default values. git-svn-id: http://svn.drobilla.net/lad/slv2@481 a436a847-0d15-0410-975c-d299462d15a1
2007-04-28Reworked query/value system to expose data type.David Robillard1-44/+42
git-svn-id: http://svn.drobilla.net/lad/slv2@475 a436a847-0d15-0410-975c-d299462d15a1
2007-04-21Code cleanups.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/slv2@470 a436a847-0d15-0410-975c-d299462d15a1
2007-04-19Added Redland dependency, using in-memory RDF models.David Robillard1-88/+79
Numerous significant performance improvements. git-svn-id: http://svn.drobilla.net/lad/slv2@457 a436a847-0d15-0410-975c-d299462d15a1
2007-04-07Fixed query bug when referring to ports by symbol.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@412 a436a847-0d15-0410-975c-d299462d15a1
2007-02-19Header/API cleanups.David Robillard1-19/+19
Removed public exposure of raptor/rasqal. Redefined opaque types properly. git-svn-id: http://svn.drobilla.net/lad/slv2@317 a436a847-0d15-0410-975c-d299462d15a1
2007-02-18Fixed index types of Strings and Plugins for consistency.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/slv2@315 a436a847-0d15-0410-975c-d299462d15a1
2007-02-18API updates (removed SLV2Value (binary compatibility nightmare waiting to ↵David Robillard1-39/+33
happen) and added consistent SLV2Plugins and SLV2Strings). Documentation cleanups. git-svn-id: http://svn.drobilla.net/lad/slv2@314 a436a847-0d15-0410-975c-d299462d15a1