summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-30Non-SPARQL versions of slv2_port_get_value_by_qname, ↵David Robillard1-68/+13
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-1/+1
5 queries left... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2864 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL version of slv2_plugin_get_uis.David Robillard1-26/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2863 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Remove (SPARQL-using) slv2_plugin_get_port_float_values (which was a ↵David Robillard1-49/+13
query-specific optimization). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2862 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL versions of slv2_plugin_has_latency and ↵David Robillard1-24/+52
slv2_plugin_get_latency_port_index. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2861 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Use consistent (and terser) for loop idiom for iterating over librdf streams.David Robillard1-14/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2860 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL versions of slv2_plugin_*_author functions.David Robillard1-54/+52
10 queries left! git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2859 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_get_value_by_qname_i18n.David Robillard1-13/+43
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2858 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_get_value_by_qname.David Robillard1-11/+40
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
2011-01-29Fix memory leaks.David Robillard1-6/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2848 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_load_ports_if_necessary.David Robillard1-69/+117
This version has much better error-checking than the previous, but unfortunately the API returns void so it can't be communicated to the caller... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2845 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_verify.David Robillard1-42/+18
Slightly less rigorous (doesn't check type is a URI), but it never really was anyway... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2844 a436a847-0d15-0410-975c-d299462d15a1
2010-11-07Don't use SPARQL for slv2_plugin_get_value_for_subject.David Robillard1-36/+26
Use slv2_plugin_get_value_for_subject to implement slv2_plugin_get_value (don't duplicate code). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2669 a436a847-0d15-0410-975c-d299462d15a1
2010-11-07Remove no longer true "internal" comments.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2668 a436a847-0d15-0410-975c-d299462d15a1
2010-11-07Use librdf_model_find_statements instead of SPARQL for (most) simple ↵David Robillard1-49/+49
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-30Style.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2621 a436a847-0d15-0410-975c-d299462d15a1
2010-09-22Remove debug printing.David Robillard1-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2607 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-12Fix wonky error messages.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2546 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Chop dead code.David Robillard1-20/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
2010-03-05Parse all files with correct base URI.David Robillard1-1/+1
Support relative URIs returned from lv2_descriptor. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2529 a436a847-0d15-0410-975c-d299462d15a1
2009-06-16Remove lv2_dyn_manifest.h from slv2 source tree.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2121 a436a847-0d15-0410-975c-d299462d15a1
2009-06-14Parse dynamic manifest with correct base URI.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2110 a436a847-0d15-0410-975c-d299462d15a1
2009-06-14Finish last commit :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2107 a436a847-0d15-0410-975c-d299462d15a1
2009-06-14Updated LV2 dynamic manifest extension.David Robillard1-0/+52
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2105 a436a847-0d15-0410-975c-d299462d15a1
2009-06-09Fix crash for illegal plugins with invalid ports.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2094 a436a847-0d15-0410-975c-d299462d15a1
2009-06-04Centralize storage creation and only create SPO and OPS indices (TODO: Add ↵David Robillard1-3/+1
API for user to select, predicate-variable queries will be slow this way). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2090 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Kludge around broken raptor_sequence_set_at.David Robillard1-15/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2089 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Tolerate lv2_inspect of broken plugins with illegal ports.David Robillard1-29/+11
Shave some overhead from port loading. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2087 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Consistent error/warning message output.David Robillard1-6/+6
Fix crash on invalid plugin files. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2086 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Fix memory leaks.David Robillard1-3/+1
Avoid unnecessary URI copy on plugin load. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2085 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-39/+39
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-11Split up plugin load into finer grained chunks so load is less expensive ↵David Robillard1-142/+153
(avoids unnecessary queries). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1975 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14Remove dead code.David Robillard1-35/+14
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-15/+16
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-7/+5
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-13/+15
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-13Test querying for float values.David Robillard1-3/+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-13Test (and fix) slv2_plugin_get_value_for_subject: 94.3% coverageDavid Robillard1-11/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1867 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test port lookup by symbol using new value constructors: 83.4% coverage.David Robillard1-11/+3
Replace warnings about ORDER BY being broken with fatal errors - it's catastropic anyway. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1864 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test successful and failed verification.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1863 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Handle librdf failures (NULL values) and crazily typed values etc. more ↵David Robillard1-3/+10
gracefully. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1860 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Factor out "load plugin if necessary" concept.David Robillard1-17/+16
Test plugin features: 78.1% coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1859 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13More test cases (plugin stuff): 69.3% coverageDavid Robillard1-12/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1856 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Better failed test reporting.David Robillard1-2/+4
Comment out some unused code. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1853 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Unit test code coverage report generation (via gcov/lcov).David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1852 a436a847-0d15-0410-975c-d299462d15a1