summaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-11Fix dynamic manifest support.David Robillard1-97/+85
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2921 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-4/+7
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-32/+51
Avoid constant sorting during plugin discovery. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2919 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Reduce internal use of _by_qname variants (unnecessary overhead).David Robillard1-1/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2918 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-1/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2916 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Use `static' and `SLV2_API' explicitly/consistently.David Robillard1-16/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
2011-02-10Make directory separator (e.g. '/') and path separator (e.g. ':') ↵David Robillard1-6/+5
compile-time parameters. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2914 a436a847-0d15-0410-975c-d299462d15a1
2011-02-10Update for new Serd API (factor out duplicated/common Serd URI code).David Robillard1-80/+61
Saner and comprehensible bundle discovery code. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2912 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update for Sord API.David Robillard1-6/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2911 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04SordTuple => SordQuad.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2910 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Fix warnings when building with --strict (but without --debug).David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2909 a436a847-0d15-0410-975c-d299462d15a1
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