summaryrefslogtreecommitdiffstats
path: root/src/util.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-08Move all non-portable stuff to util.c.David Robillard1-2/+37
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3921 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Localise directory traversal stuff.David Robillard1-34/+49
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 Robillard1-1/+223
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-04Implement proper support for LV2_STATE_BUNDLE.David Robillard1-0/+39
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
2011-11-06Remove unnecessary _XOPEN_SOURCE defines causing problems on FreeBSD.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3600 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Re-use the SordNode of blank nodes when copying.David Robillard1-10/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3309 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-3/+3
Fix indentation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3235 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Remove half-assed qname API.David Robillard1-23/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3226 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-1/+1
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-8/+8
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-23Improve node struct alignmentDavid Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3196 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/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-28Fix Windows buildDavid Robillard1-2/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3129 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-12Document entire API in a single header/page.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2925 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Tidy up includes.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2920 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-16/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2916 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Update for uint8_t sord API.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2907 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Remove repeated blank lines.David Robillard1-3/+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-26/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2895 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Non-SPARQL versions of slv2_port_get_value_by_qname, ↵David Robillard1-1/+35
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-29Non-SPARQL version of slv2_plugin_get_value_by_qname_i18n.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2858 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-03Single-pass slv2_strjoin.David Robillard1-18/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2088 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-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2008-11-08Support i18n literals via LANG environment variable.David Robillard1-0/+23
Apply patch from larsl (ticket #186). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1705 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-01-25Overhaul SLV2 API to return/take SLV2Value (instead of strings or ↵David Robillard1-14/+2
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
2007-02-18Implemented discovery of plugin extension bundles.David Robillard1-16/+7
git-svn-id: http://svn.drobilla.net/lad/slv2@309 a436a847-0d15-0410-975c-d299462d15a1
2007-02-05Copyright/Documentation/etc cleanups.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/slv2@280 a436a847-0d15-0410-975c-d299462d15a1
2006-07-26Removed vstrjoinDavid Robillard1-24/+25
git-svn-id: http://svn.drobilla.net/lad/libslv2@105 a436a847-0d15-0410-975c-d299462d15a1
2006-07-26- Removed all the unsigned char garbage from the APIDavid Robillard1-19/+11
- Updated types in lv2.h to be non-machine-dependant (removed unsigned long in favour of uint32_t) - Updated schema - Updated example plugin to work with the above (partially) git-svn-id: http://svn.drobilla.net/lad/libslv2@101 a436a847-0d15-0410-975c-d299462d15a1
2006-07-18Stricter warning cleanlinessDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/libslv2@91 a436a847-0d15-0410-975c-d299462d15a1
2006-06-11Fixed query problems on 64-bitDavid Robillard1-27/+8
git-svn-id: http://svn.drobilla.net/lad/libslv2@23 a436a847-0d15-0410-975c-d299462d15a1
2006-06-06Moved libslv2 into it's own subdirectoryDavid Robillard1-0/+121
git-svn-id: http://svn.drobilla.net/lad/libslv2@4 a436a847-0d15-0410-975c-d299462d15a1