summaryrefslogtreecommitdiffstats
path: root/src/port.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29Don't hide pointers behind typedefs.David Robillard1-61/+61
Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3222 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Rename slv2 to lilv.David Robillard1-126/+126
API breakage was proving too much of a hassle, and would be even further of a mess after release and packaging. Best to make a clean break now, and fix installation to support parallel installs and prevent this kind of problem in the future. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3217 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Tidy (rearrange prototypes in sane order).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3212 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28More future-proof collection APIs.David Robillard1-1/+1
Make all iterator actions occur through a collection specific function. Verbose, and a low of API, but allows for the possibility of different collection implementation types (given a choice between verbosity and no type safety, I'll take verbosity). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3211 a436a847-0d15-0410-975c-d299462d15a1
2011-04-27Fix memory leaks.David Robillard1-9/+9
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-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-09New collections and iterator API.David Robillard1-6/+6
Deprecate slv2_*_get_at. Remove slv2_world_get_plugins_by_filter. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3057 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-3/+3
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-3/+3
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-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2925 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-3/+5
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-1/+1
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-12/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2918 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-44/+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-2/+12
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-3/+3
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-2/+2
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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2901 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Tidy up code.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2899 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-18/+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-8/+8
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-9/+9
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-1/+1
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-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-1/+1
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-19/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31librdf_new_node_from_node => slv2_node_copy.David Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Fix memory leaks.David Robillard1-1/+8
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-1/+1
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-30Completely abstract away use of librdf_stream for statement matching.David Robillard1-18/+18
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-30Wrap match (stream) variable getting in macro.David Robillard1-8/+4
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-5/+6
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-24/+24
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-46/+45
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_port_get_value_by_qname, ↵David Robillard1-41/+58
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-27/+49
5 queries left... git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2864 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-12Chop dead code.David Robillard1-13/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
2009-06-04Remove unnecessary ORDER BY in scale points query.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2091 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Kludge around broken raptor_sequence_set_at.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2089 a436a847-0d15-0410-975c-d299462d15a1
2009-05-14Always include types.h first.David Robillard1-1/+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-20/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14Remove dead code.David Robillard1-21/+7
Test coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1935 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14New generic query API.David Robillard1-23/+21
List presets in lv2_inspect. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1932 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Merge various collections into single files, reduce rampant code duplication.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1925 a436a847-0d15-0410-975c-d299462d15a1