summaryrefslogtreecommitdiffstats
path: root/src/query.c
AgeCommit message (Collapse)AuthorFilesLines
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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Document entire API in a single header/page.David Robillard1-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2925 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2920 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Use GSequence for collections with get_by_uri search methods.David Robillard1-4/+4
Avoid constant sorting during plugin discovery. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2919 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-21/+98
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2916 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04SordTuple => SordQuad.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2910 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update for uint8_t sord API.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2907 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Replace use of raptor (for raptor_sequence) with glib.David Robillard1-2/+2
SLV2 now depends only on serd, sord, and glib. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2903 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2897 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2896 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Drop librdf in favour of serd/sord.David Robillard1-13/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2895 a436a847-0d15-0410-975c-d299462d15a1
2011-02-01Wrap match accessor stuff with functions rather than macros.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2894 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Typedef away most use of librdf_node.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31librdf_new_node_from_node => slv2_node_copy.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Tidy.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2883 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Reduce heavy use of librdf_new_node_from* functions.David Robillard1-1/+4
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-7/+6
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-177/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2875 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL versions of slv2_port_get_value_by_qname, ↵David Robillard1-0/+42
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-29Non-SPARQL version of slv2_plugin_get_value_by_qname.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2857 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Use uint8_t instead of the horribly verbose `unsigned char'.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2852 a436a847-0d15-0410-975c-d299462d15a1
2010-11-07Use librdf_model_find_statements instead of SPARQL for (most) simple ↵David Robillard1-0/+12
1-variable queries. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2667 a436a847-0d15-0410-975c-d299462d15a1
2010-10-16Use #include <redland.h> over #include <librdf.h> (since redland 1.0.11 ↵David Robillard1-1/+1
broke this). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2628 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
2009-06-17Remove duplicate slv2_value_new_librdf_node and slv2_value_from_librdf_node.David Robillard1-45/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2122 a436a847-0d15-0410-975c-d299462d15a1
2009-06-16Fix indentation (tabs).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2117 a436a847-0d15-0410-975c-d299462d15a1
2009-06-16Don't kludge locale around queries.David Robillard1-9/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2116 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Consistent error/warning message output.David Robillard1-8/+8
Fix crash on invalid plugin files. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2086 a436a847-0d15-0410-975c-d299462d15a1
2009-05-14Always include types.h first.David Robillard1-0/+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-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14New generic query API.David Robillard1-25/+77
List presets in lv2_inspect. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1932 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Factor out librdf_node -> SLV2Value marhshaling.David Robillard1-43/+46
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1926 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Merge various collections into single files, reduce rampant code duplication.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1925 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test querying for float values.David Robillard1-2/+3
Fix slv2_plugin_get_value_for_subject test. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1868 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Factor out "load plugin if necessary" concept.David Robillard1-2/+1
Test plugin features: 78.1% coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1859 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-01-27Packaging stuff.David Robillard1-1/+1
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-4/+4
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/+13
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-45/+3
Disable unused parameter warning with --enable-strict. git-svn-id: http://svn.drobilla.net/lad/slv2@1106 a436a847-0d15-0410-975c-d299462d15a1
2008-01-23More vicarious bug hunting.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@1105 a436a847-0d15-0410-975c-d299462d15a1
2008-01-21Work on generic LV2 events.David Robillard1-6/+10
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-1/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@1089 a436a847-0d15-0410-975c-d299462d15a1
2008-01-12Add plugin template interface (fast discovery of plugins with certain I/ODavid Robillard1-0/+1
characteristics). git-svn-id: http://svn.drobilla.net/lad/slv2@1051 a436a847-0d15-0410-975c-d299462d15a1
2007-10-04Fix librdf warnings.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/slv2@821 a436a847-0d15-0410-975c-d299462d15a1
2007-07-23Updated LV2 spec.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/slv2@602 a436a847-0d15-0410-975c-d299462d15a1
2007-05-08Code cleanups.David Robillard1-1/+4
Updated lv2.ttl. git-svn-id: http://svn.drobilla.net/lad/slv2@518 a436a847-0d15-0410-975c-d299462d15a1
2007-04-28Use index instead of variable name for selecting query variables ↵David Robillard1-4/+4
(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