summaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-06-14Updated lv2 dynamic manifest discovery (still discovery only).David Robillard1-7/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2103 a436a847-0d15-0410-975c-d299462d15a1
2009-06-04Centralize storage creation and only create SPO and OPS indices (TODO: Add ↵David Robillard1-11/+24
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-03Consistent error/warning message output.David Robillard1-3/+3
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-4/+10
Avoid unnecessary URI copy on plugin load. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2085 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Same treatment for discovery of plugin classes.David Robillard1-14/+54
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2083 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Fix warnings.David Robillard1-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2082 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Avoid sorting/searching during plugin discovery if results happen to be in ↵David Robillard1-20/+51
order (without actually requesting this with ORDER BY, which can be slower). This should perform relatively well with any RDF backend, which tend to return sorted results anyway as an implementation detail (and redland with trees does). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2081 a436a847-0d15-0410-975c-d299462d15a1
2009-05-30Write dynamic manifest to tmpfile, not my home directory. Oops :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2058 a436a847-0d15-0410-975c-d299462d15a1
2009-05-30Partial implementation of lv2 dynamic manifest extension (configure ↵David Robillard1-6/+51
--dyn-manifest). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2057 a436a847-0d15-0410-975c-d299462d15a1
2009-05-30Fix whitespace.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2055 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-58/+58
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-03Update waf configuration header for new waf scheme (in 1.5.6).David Robillard1-1/+1
Split low-level LV2 event buffer into separate class from EventBuffer (for reuse). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1958 a436a847-0d15-0410-975c-d299462d15a1
2009-01-21Add slv2_plugin_classes_free to public API (fix ticket #324).David Robillard1-1/+1
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-21Change configuration header name to something less likely to conflict.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1887 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Factor out common slv2_world_new code.David Robillard1-64/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1862 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Handle librdf failures (NULL values) and crazily typed values etc. more ↵David Robillard1-2/+2
gracefully. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1860 a436a847-0d15-0410-975c-d299462d15a1