summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-01-08Fix crash on corrupt plugins (fix #800).David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3922 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Move all non-portable stuff to util.c.David Robillard3-47/+49
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3921 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Localise directory traversal stuff.David Robillard3-72/+75
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3920 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Use flock instead of lockf (seems to be more portable).David Robillard1-3/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3919 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Add file support to state implementation.David Robillard9-295/+720
Use cleaner and more consistent names for world URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3918 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Consistently use SordNode for internal URIs.David Robillard4-26/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3916 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Implement proper support for LV2_STATE_BUNDLE.David Robillard5-84/+128
Test saving state to default bundle path. Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3915 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03Add lilv_state_get_num_properties().David Robillard1-32/+39
Rearrange state code. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3912 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03Improved coverage for plugin.c.David Robillard2-43/+51
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3911 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03Fix memory error.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3910 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03100% coverage for query.c.David Robillard1-10/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3909 a436a847-0d15-0410-975c-d299462d15a1
2011-12-30Support arbitrary binary data in plugin state via base64 encoding.David Robillard5-46/+176
Unit testing for plugin instantiation and state. Build without LV2 state available. Support URID values in plugin state nicely. Fix various holes in state implementation exposed by tests. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3908 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Add LilvState API for handling plugin state. This makes it simple to save andDavid Robillard5-23/+824
restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3899 a436a847-0d15-0410-975c-d299462d15a1
2011-12-19Remove locale smashing kludges and use new serd functions for converting nodesDavid Robillard1-33/+8
to/from numbers. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3891 a436a847-0d15-0410-975c-d299462d15a1
2011-12-18Fix broken lilv_resource_node_cmp (always equal)David Robillard2-2/+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 Robillard6-19/+129
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-12-10Fix base URI used for parsing dynmanifest plugin data.David Robillard3-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3847 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Tidy.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3846 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Only load dynmanifests once per bundle, not once per plugin (fix #669).David Robillard3-40/+51
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3845 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Fix crash in wordexp when LV2_PATH is corrupt (patch from Paul Davis).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3714 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Fix compilation with latest dynmanifest extension (#786).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3643 a436a847-0d15-0410-975c-d299462d15a1
2011-11-11Add lilv_plugin_has_extension_data.David Robillard1-0/+35
Add tests for extension data functions. Tolerate (ignore) plugins with broken data with "gaps" in port indices. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3611 a436a847-0d15-0410-975c-d299462d15a1
2011-11-07Add lilv_plugin_get_extension_data.David Robillard3-0/+10
Print extension data in lv2info. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3605 a436a847-0d15-0410-975c-d299462d15a1
2011-11-06Remove unnecessary _XOPEN_SOURCE defines causing problems on FreeBSD.David Robillard9-17/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3600 a436a847-0d15-0410-975c-d299462d15a1
2011-11-02Use correct URI for dcterms:replaces (for hiding old plugins):David Robillard1-3/+3
"http://purl.org/dc/terms/replaces" git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3594 a436a847-0d15-0410-975c-d299462d15a1
2011-11-01Use rdfs:label for preset labels (fix ticket #668).David Robillard1-1/+1
Use correct namespace for dc. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3593 a436a847-0d15-0410-975c-d299462d15a1
2011-09-29Tidy.David Robillard2-36/+36
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3507 a436a847-0d15-0410-975c-d299462d15a1
2011-09-29Tidy.David Robillard3-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3506 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove useless wrapper.David Robillard2-17/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3503 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove glib dependencyDavid Robillard11-85/+815
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3501 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Remove use of GSList.David Robillard3-13/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3500 a436a847-0d15-0410-975c-d299462d15a1
2011-09-27Add lilv_plugin_write_description and lilv_plugin_write_manifest_entry.David Robillard1-0/+119
Add -p and -m options to lv2info for writing data files. Define LILV_NS_OWL. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3498 a436a847-0d15-0410-975c-d299462d15a1
2011-09-27Fix memory leak with dyn-manifestDavid Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3495 a436a847-0d15-0410-975c-d299462d15a1
2011-09-22Set correct base URI when parsing dyn manifest data (fix #771).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3473 a436a847-0d15-0410-975c-d299462d15a1
2011-09-15Fix compilation with --dyn-manifest.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3465 a436a847-0d15-0410-975c-d299462d15a1
2011-09-14Support integer minimum, maximum, and default port values in ↵David Robillard1-14/+29
lilv_plugin_get_port_ranges_float. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3461 a436a847-0d15-0410-975c-d299462d15a1
2011-06-20Fix memory leakDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3410 a436a847-0d15-0410-975c-d299462d15a1
2011-06-11Parse data files with their own URIs as base URIs and allow plugin data ↵David Robillard1-10/+4
files not within the plugin's main bundle. Fixes ticket #702. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3386 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Fix badly typed returnDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3378 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Explicitly document free functions as safe to call on NULL.David Robillard2-3/+9
Fix ticket #709. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3377 a436a847-0d15-0410-975c-d299462d15a1
2011-06-01Fix lilv_ui_is_supported when Lilv is built independently.David Robillard1-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3346 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-05-24Re-use the SordNode of blank nodes when copying.David Robillard3-15/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3309 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Fix crash introduced in last commit. Oops.David Robillard1-10/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3276 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Fix lilv_plugin_get_port_ranges_float crash when range values aren't float.David Robillard1-8/+15
Make lilv_plugin_get_port_ranges_float avoid range search if output array is not given for min/max/default. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3275 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Update for new Sord API.David Robillard2-37/+52
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3274 a436a847-0d15-0410-975c-d299462d15a1
2011-05-16Update for new Sord API.David Robillard2-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3272 a436a847-0d15-0410-975c-d299462d15a1
2011-05-15Remove dead code found by clang static analyserDavid Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3264 a436a847-0d15-0410-975c-d299462d15a1
2011-05-12Update for new Sord APIDavid Robillard2-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3256 a436a847-0d15-0410-975c-d299462d15a1
2011-05-11Pass environment to sord write methods for CURIE abbreviation.David Robillard2-2/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3255 a436a847-0d15-0410-975c-d299462d15a1