summaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-04Fix "ISO C forbids initialization between function pointer and ‘void *’" ↵David Robillard1-2/+2
warnings. Fix crash when plugins have no required or optional features. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2908 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update for uint8_t sord API.David Robillard1-2/+2
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-16/+18
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-04Tidy.David Robillard1-13/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2901 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Tidy up code.David Robillard1-5/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2899 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-16/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2897 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update copyright dates.David Robillard1-2/+2
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-257/+189
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-32/+32
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2894 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Move copies in every call to slv2_world_find_statements inside the function.David Robillard1-32/+35
Change prototype of said function to use SLV2Node. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2893 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31slv2_value_new_librdf_node => slv2_value_new_from_node .David Robillard1-4/+4
Remove slv2_value_new_librdf_uri. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2891 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Typedef away most use of librdf_node.David Robillard1-21/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31librdf_free_node => slv2_node_free.David Robillard1-25/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2889 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31librdf_new_node_from_node => slv2_node_copy.David Robillard1-41/+40
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Fix memory leaks.David Robillard1-0/+1
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-26/+31
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 Robillard1-11/+9
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 Robillard1-24/+22
equivalent) with librdf_node (which does). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2880 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Replace slv2_plugin_new librdf_node* argument with SLV2Value.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2878 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Completely abstract away use of librdf_stream for statement matching.David Robillard1-42/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2876 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Wrap match (stream) variable getting in macro.David Robillard1-27/+16
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-20/+20
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-0/+2
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-0/+6
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_plugin_has_latency and ↵David Robillard1-0/+2
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-29/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2860 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL version of slv2_plugin_get_value_by_qname.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2857 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Non-SPARQL dynamic manifest discovery.David Robillard1-37/+64
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 Robillard1-78/+70
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 Robillard1-83/+92
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 Robillard1-6/+6
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 Robillard1-25/+22
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-29Non-SPARQL version of slv2_world_load_specifications.David Robillard1-34/+43
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2847 a436a847-0d15-0410-975c-d299462d15a1
2011-01-29Tidy.David Robillard1-16/+11
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 Robillard1-17/+19
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
2010-11-07Use librdf_model_find_statements instead of SPARQL for (most) simple ↵David Robillard1-0/+4
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-14/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2621 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-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2546 a436a847-0d15-0410-975c-d299462d15a1
2010-03-12Chop dead code.David Robillard1-60/+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-05Parse all files with correct base URI.David Robillard1-3/+3
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-6/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2110 a436a847-0d15-0410-975c-d299462d15a1
2009-06-14Add missing lv2_dyn_manifest.h.David Robillard1-4/+3
Update for dynamic manifest extension to use LV2_Feature directly. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2106 a436a847-0d15-0410-975c-d299462d15a1
2009-06-14Updated LV2 dynamic manifest extension.David Robillard1-46/+90
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2105 a436a847-0d15-0410-975c-d299462d15a1