summaryrefslogtreecommitdiffstats
path: root/src/value.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-30Add blank node type for value, to allow the user to 'join' statementDavid Robillard1-1/+25
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-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
2010-09-30Style.David Robillard1-5/+5
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-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
2009-06-17Remove duplicate slv2_value_new_librdf_node and slv2_value_from_librdf_node.David Robillard1-18/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2122 a436a847-0d15-0410-975c-d299462d15a1
2009-06-16Fix indentation (tabs).David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2117 a436a847-0d15-0410-975c-d299462d15a1
2009-06-16Don't kludge locale around queries.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2116 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Consistent error/warning message output.David Robillard1-2/+2
Fix crash on invalid plugin files. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2086 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-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14Remove dead code.David Robillard1-2/+2
Test coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1935 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Handle librdf failures (NULL values) and crazily typed values etc. more ↵David Robillard1-31/+26
gracefully. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1860 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Factor out "load plugin if necessary" concept.David Robillard1-0/+3
Test plugin features: 78.1% coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1859 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Add constructors slv2_value_new_int, slv2_value_new_float, ↵David Robillard1-1/+26
slv2_value_new_string. Fix slv2_value_get_turtle_token for floats. Nearly complete test coverage for value stuff: 73.5% coverage git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1858 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-03-19Support plugins where lv2:binary is not in manifest.ttlDavid Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/slv2@1174 a436a847-0d15-0410-975c-d299462d15a1
2008-01-25Overhaul SLV2 API to return/take SLV2Value (instead of strings or ↵David Robillard1-12/+78
primitives) wherever possible. Make 'index' a fundemental property of ingen ports. git-svn-id: http://svn.drobilla.net/lad/slv2@1113 a436a847-0d15-0410-975c-d299462d15a1
2008-01-24Kludge around string<->number issues in locales with a ',' decimal point, ↵David Robillard1-11/+17
and locale bugs in librdf. git-svn-id: http://svn.drobilla.net/lad/slv2@1110 a436a847-0d15-0410-975c-d299462d15a1
2008-01-23Fix decimal point kludge.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@1102 a436a847-0d15-0410-975c-d299462d15a1
2008-01-23Fix range printing for control ports in lv2_inspect.David Robillard1-0/+13
Kludge around numeric bugs in locales with ',' for a decimal point. git-svn-id: http://svn.drobilla.net/lad/slv2@1101 a436a847-0d15-0410-975c-d299462d15a1
2008-01-21Work on generic LV2 events.David Robillard1-16/+55
git-svn-id: http://svn.drobilla.net/lad/slv2@1090 a436a847-0d15-0410-975c-d299462d15a1
2007-09-23Fix LV2 UI stuff.David Robillard1-0/+8
Sineshaper embeds in Ingen now. git-svn-id: http://svn.drobilla.net/lad/slv2@773 a436a847-0d15-0410-975c-d299462d15a1
2007-09-23Support for plugin UIs in separate bundles.David Robillard1-18/+2
Fix some memory leaks. Better/more future proof UI interface. git-svn-id: http://svn.drobilla.net/lad/slv2@772 a436a847-0d15-0410-975c-d299462d15a1
2007-09-22LV2 UI extension updates.David Robillard1-9/+9
LV2 GUI support in ingen. git-svn-id: http://svn.drobilla.net/lad/slv2@763 a436a847-0d15-0410-975c-d299462d15a1
2007-06-30Reworked GUI access in a safer way, anticipating various GUI specs (w/o ↵David Robillard1-5/+25
breaking binary compatibility). Increment libtool library version number accordingly (new methods added, still backwards compatible). git-svn-id: http://svn.drobilla.net/lad/slv2@547 a436a847-0d15-0410-975c-d299462d15a1
2007-06-27Added slv2_value_duplicate.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/slv2@545 a436a847-0d15-0410-975c-d299462d15a1
2007-05-08Exposed slv2_value_free.David Robillard1-1/+0
Fixed memory leak in lv2_inspect. Included ladspa.h for ladspa2lv2. git-svn-id: http://svn.drobilla.net/lad/slv2@519 a436a847-0d15-0410-975c-d299462d15a1
2007-05-08Code cleanups.David Robillard1-22/+0
Updated lv2.ttl. git-svn-id: http://svn.drobilla.net/lad/slv2@518 a436a847-0d15-0410-975c-d299462d15a1
2007-05-08Reworked simple query API to allow passing either QName or URI predicates.David Robillard1-2/+55
Hack around a Rasqal bug for the above (URI predicates). Clean up exposed names for greppability and to not violate user namespace. Fixed slv2_plugin_get_value and slv2_plugin_get_value_for_resource. git-svn-id: http://svn.drobilla.net/lad/slv2@517 a436a847-0d15-0410-975c-d299462d15a1
2007-04-28Added missing files.David Robillard1-0/+141
git-svn-id: http://svn.drobilla.net/lad/slv2@476 a436a847-0d15-0410-975c-d299462d15a1