summaryrefslogtreecommitdiffstats
path: root/src/collections.c
AgeCommit message (Collapse)AuthorFilesLines
2019-01-13Clean up includesDavid Robillard1-0/+9
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use.
2017-12-29Fix inconsistent parameter namesDavid Robillard1-14/+15
2017-12-29Use braces everywhereDavid Robillard1-3/+6
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5423 a436a847-0d15-0410-975c-d299462d15a1
2014-07-31Minor code cleanups, slightly reduce LOC.David Robillard1-24/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Fix some const-correctness violations.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5193 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Add lilv_nodes_merge() to API (address part of #835).David Robillard1-0/+19
More lightweight version of lilv_plugin_has_feature() and lilv_world_find_nodes(). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4860 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Always back LilvNode with a SordNode and shave 16 bytes off of LilvNode.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-6/+7
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
2012-01-17Support compilation as C++ under MSVC++,David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2011-12-18Fix broken lilv_resource_node_cmp (always equal)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3879 a436a847-0d15-0410-975c-d299462d15a1
2011-12-16Fix lilv_world_find_nodes to work with wildcard subjects.David Robillard1-0/+8
Add lilv_plugin_get_related to get resources related to plugins that are not directly rdfs:seeAlso linked (e.g. presets). Add lilv_world_load_resource for related resources (e.g. presets). Print presets in lv2info. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3877 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove useless wrapper.David Robillard1-14/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3503 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove glib dependencyDavid Robillard1-18/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3501 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Fix references to old Node name "Value"David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3312 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Tidy.David Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3241 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Tidy.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3238 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Rename command line utilities to avoid clashing with slv2.David Robillard1-1/+1
Fix indentation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3235 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29LilvValue => LilvNode.David Robillard1-14/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3234 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-48/+43
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-100/+82
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-28More future-proof collection APIs.David Robillard1-10/+13
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-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-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-10Hide as many collection details as possible while keeping generic iterator / ↵David Robillard1-0/+68
SLV2_FOREACH API. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3064 a436a847-0d15-0410-975c-d299462d15a1
2011-03-09Add a deprecated stub for slv2_plugins_free for backwards source compatibility.David Robillard1-7/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3060 a436a847-0d15-0410-975c-d299462d15a1
2011-03-09New collections and iterator API.David Robillard1-51/+119
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-08Use the same data structure for all collections (fix ticket #650).David Robillard1-48/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3054 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-24Move UI stuff back into slv2.h (avoid breakage).David Robillard1-2/+0
Deprecate slv2_ui_instance_get_descriptor and slv2_ui_instance_get_handle. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3020 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Make UI support a compile-time option, and separate UI functions into slv2/ui.h.David Robillard1-2/+5
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-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/+2
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-65/+52
Avoid constant sorting during plugin discovery. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2919 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Use `static' and `SLV2_API' explicitly/consistently.David Robillard1-10/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Replace use of raptor (for raptor_sequence) with glib.David Robillard1-10/+10
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@2900 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-6/+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-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2895 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-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2590 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Consistent error/warning message output.David Robillard1-1/+1
Fix crash on invalid plugin files. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2086 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-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Add missing file (oops).David Robillard1-0/+155
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1928 a436a847-0d15-0410-975c-d299462d15a1