summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-16Update for new Sord API.David Robillard1-8/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2956 a436a847-0d15-0410-975c-d299462d15a1
2011-02-16Update for new Sord API.David Robillard1-13/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Make UI support a compile-time option, and separate UI functions into slv2/ui.h.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2930 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Document entire API in a single header/page.David Robillard1-5/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2925 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Fix dynamic manifest support.David Robillard1-2/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2921 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-1/+3
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-5/+5
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-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2918 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Remove now-redundant (old i18n) code.David Robillard1-6/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2917 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-25/+1
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-62/+83
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
2011-02-10Tidy.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2913 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-5/+9
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-10/+9
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-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2901 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Tidy up code.David Robillard1-19/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2899 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-33/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2897 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update copyright dates.David Robillard1-1/+1
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-59/+45
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-22/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2894 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Remove slv2_value_as_librdf_uri.David Robillard1-3/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2892 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31slv2_value_new_librdf_node => slv2_value_new_from_node .David Robillard1-5/+5
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-27/+27
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-5/+5
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-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Fix memory leaks.David Robillard1-12/+15
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-34/+38
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 a bunch of explicit use of librdf_uri (which does not have a Sord ↵David Robillard1-11/+6
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 Robillard1-2/+2
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 Robillard1-7/+7
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 Robillard1-22/+20
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 Robillard1-1/+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 Robillard1-3/+9
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 Robillard1-24/+12
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-16/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2869 a436a847-0d15-0410-975c-d299462d15a1
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