summaryrefslogtreecommitdiffstats
path: root/src/value.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Update for new Sord API.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3208 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Update for new Sord API.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3202 a436a847-0d15-0410-975c-d299462d15a1
2011-04-27Fix memory leaks.David Robillard1-2/+7
Don't modify model while reading it. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3199 a436a847-0d15-0410-975c-d299462d15a1
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less ↵David Robillard1-20/+11
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3187 a436a847-0d15-0410-975c-d299462d15a1
2011-03-28Fix Windows buildDavid Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3129 a436a847-0d15-0410-975c-d299462d15a1
2011-03-07Fix memory leaks.David Robillard1-4/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3052 a436a847-0d15-0410-975c-d299462d15a1
2011-03-07Suppose xsd:double numeric literals.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3045 a436a847-0d15-0410-975c-d299462d15a1
2011-03-06Relicense to 2-clause BSD... for the good of LV2... and hopefully me... ↵David Robillard1-17/+24
eventually... in some very abstract kind of way... :/ git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3041 a436a847-0d15-0410-975c-d299462d15a1
2011-02-16Update for new Sord API.David Robillard1-1/+1
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-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Document entire API in a single header/page.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2925 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Add support for boolean values.David Robillard1-6/+41
Replace slv2_world_filter_language with extensible option system (slv2_world_set_option). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2923 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-2/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2920 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Use `static' and `SLV2_API' explicitly/consistently.David Robillard1-6/+31
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update for uint8_t sord API.David Robillard1-1/+1
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-1/+1
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-04Remove repeated blank lines.David Robillard1-23/+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-31/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2895 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Remove slv2_value_as_librdf_uri.David Robillard1-4/+3
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-17/+7
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-5/+4
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-1/+1
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-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Reduce heavy use of librdf_new_node_from* functions.David Robillard1-9/+13
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-7/+4
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-2/+5
equivalent) with librdf_node (which does). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2880 a436a847-0d15-0410-975c-d299462d15a1
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