summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-01-31Reduce heavy use of librdf_new_node_from* functions.David Robillard6-74/+91
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-31Replace more librdf_uri.David Robillard3-23/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2881 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Replace a bunch of explicit use of librdf_uri (which does not have a Sord ↵David Robillard5-42/+46
equivalent) with librdf_node (which does). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2880 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Remove repetitive librdf node copy into slv2_plugin_get_unique.David Robillard1-16/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2879 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Replace slv2_plugin_new librdf_node* argument with SLV2Value.David Robillard3-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2878 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Make slv2_ui_new take SLV2Value URI arguments rather than librdf_uri.David Robillard3-22/+20
Avoids an unnecessary node copy, UI takes ownership of queried nodes. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2877 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Completely abstract away use of librdf_stream for statement matching.David Robillard5-96/+95
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 Robillard4-184/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2875 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Add blank node type for value, to allow the user to 'join' statementDavid Robillard3-4/+35
queries on blank node values with the simple get_value functions. Remove use of SPARQL from lv2_inspect. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2874 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Remove slv2_plugin_get_properties and slv2_plugin_get_hints.David Robillard1-16/+0
The comments say this is an API break, but since they are not explicitly exported, this part of the API actually broke when to switch to -fvisibility=hidden was made. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2872 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Wrap match (stream) variable getting in macro.David Robillard4-59/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2870 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Wrap stream iteration in macros.David Robillard4-41/+48
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 Robillard3-24/+27
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 Robillard3-46/+54
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 Robillard5-111/+152
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 Robillard3-28/+55
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 Robillard2-52/+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 Robillard3-24/+55
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 Robillard2-43/+26
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 Robillard3-16/+46
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 Robillard4-11/+53
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2857 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL dynamic manifest discovery.David Robillard2-37/+66
world.c is now SPARQL free. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2856 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Simplify/shrink plugin discovery code by assuming search results are sorted.David Robillard1-38/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2855 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_world_load_plugin_classes.David Robillard2-78/+73
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2854 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_world_load_all.David Robillard2-83/+93
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2853 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Use uint8_t instead of the horribly verbose `unsigned char'.David Robillard6-15/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2852 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Tidy.David Robillard1-31/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2851 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Include new dyn-manifest header.David Robillard2-26/+23
Non-SPARQL dyn manifest plugin search (though not search for dyn manifest itself, yet). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2850 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Do all world statement searches via slv2_world_find_statements.David Robillard1-25/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2849 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_world_load_specifications.David Robillard2-34/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2847 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Tidy.David Robillard2-16/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2846 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_load_ports_if_necessary.David Robillard3-86/+139
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 Robillard4-51/+72
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 Robillard6-6/+6
broke this). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2628 a436a847-0d15-0410-975c-d299462d15a1
2010-09-30Style.David Robillard3-22/+19
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 Robillard14-14/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Improve performance of creating an SLV2Value from a librdf_node.David Robillard1-22/+48
Avoid unnecessary calls to slvi2_value_set_numerics_from_string. Preserve actual machine value of int and float values when created with slv2_value_new_int and slv2_value_new_float (instead of converting to string and back). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2548 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Fix wonky error messages.David Robillard2-3/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2546 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Chop dead code.David Robillard5-111/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Make default LV2_PATH a configure-time option (supporting ~ and glob expansion).David Robillard1-15/+28
Use LIBDIRNAME in default LV2_PATH if none is given (e.g. use lib64 instead of lib if --libdir=/usr/lib64). Fix ticket #465. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2544 a436a847-0d15-0410-975c-d299462d15a1
2010-03-05Hide symbols by default and explicitly export API (clean ABI).David Robillard2-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2530 a436a847-0d15-0410-975c-d299462d15a1
2010-03-05Parse all files with correct base URI.David Robillard3-19/+27
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-17Remove duplicate slv2_value_new_librdf_node and slv2_value_from_librdf_node.David Robillard2-63/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2122 a436a847-0d15-0410-975c-d299462d15a1