summaryrefslogtreecommitdiffstats
path: root/src/sratom.c
AgeCommit message (Collapse)AuthorFilesLines
2018-12-27Remove redundant castDavid Robillard1-1/+1
2018-12-27Remove redundant API declarationsDavid Robillard1-12/+0
2018-12-27Move literal reading case to a separate functionDavid Robillard1-51/+61
2018-12-26Move object reading case to a separate functionDavid Robillard1-80/+95
2018-07-22Use serd_freeDavid Robillard1-1/+1
2017-12-29Remove redundant castDavid Robillard1-1/+1
2017-12-29Fix inconsistent parameter namesDavid Robillard1-4/+4
2017-02-18Improve struct packingDavid Robillard1-6/+7
2016-07-31Add sratom_set_env() for setting prefixesDavid Robillard1-38/+34
2016-07-24Fix vector paddingHanspeter Portner1-1/+6
A Vector must be padded properly, or a Vector with, for example, an odd number of Int elements will cause the rest of the containing Atom to be invalid.
2016-07-11Fix memory leakDavid Robillard1-1/+2
2016-07-10Support round-trip serialisation of relative pathsDavid Robillard1-9/+12
2016-07-07Remove unused variableDavid Robillard1-5/+4
2016-03-15Support sequences with beat time stampsDavid Robillard1-21/+62
Based on a patch from Hanspeter Portner.
2015-10-03Improve test coverageDavid Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5737 a436a847-0d15-0410-975c-d299462d15a1
2014-11-22Fix warnings when building with ISO C++ compilers.David Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5492 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5426 a436a847-0d15-0410-975c-d299462d15a1
2014-01-24Don't set eg prefix in sratom_to_turtle.David Robillard1-2/+0
Update NEWS. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5320 a436a847-0d15-0410-975c-d299462d15a1
2014-01-24Update for latest LV2 Atom Object simplifications.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5319 a436a847-0d15-0410-975c-d299462d15a1
2013-06-08Nicer printing of atom messages with -d.David Robillard1-0/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5126 a436a847-0d15-0410-975c-d299462d15a1
2013-03-24Escape invalid characters when writing paths as URIs.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5097 a436a847-0d15-0410-975c-d299462d15a1
2013-02-18Make use of sord_get().David Robillard1-35/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5055 a436a847-0d15-0410-975c-d299462d15a1
2013-01-22Fix serialisation of nested tuples.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5004 a436a847-0d15-0410-975c-d299462d15a1
2012-11-23Fix memory leaks.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4859 a436a847-0d15-0410-975c-d299462d15a1
2012-09-11Define __STDC_LIMIT_MACROS for UINT8_MAX in C++.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4770 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-19/+19
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4628 a436a847-0d15-0410-975c-d299462d15a1
2012-05-22Add API to control whether named resources are read as LV2 objects or URIs.David Robillard1-10/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4431 a436a847-0d15-0410-975c-d299462d15a1
2012-05-20Support writing top level Resource descriptions.David Robillard1-41/+69
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4429 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Fix potential NULL dereference.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4391 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10Support writing Object Atoms as top level descriptions if subject and ↵David Robillard1-13/+16
predicate are not given. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4333 a436a847-0d15-0410-975c-d299462d15a1
2012-05-02Correctly read objects with several rdf:type properties.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4310 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Use URI defines from LV2 headers where possible.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4175 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Update for latest atom extension.David Robillard1-7/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4172 a436a847-0d15-0410-975c-d299462d15a1
2012-04-11Write port values in presets as pretty numbers.David Robillard1-5/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4168 a436a847-0d15-0410-975c-d299462d15a1
2012-04-11Save/restore atom:Chunk as base64Binary literals (not blank nodes).David Robillard1-6/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4167 a436a847-0d15-0410-975c-d299462d15a1
2012-04-06Fix compilation under MSVC.David Robillard1-3/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4147 a436a847-0d15-0410-975c-d299462d15a1
2012-03-20Support writing to a statement sink (particularly for writing to a model).David Robillard1-79/+125
Support writing pretty numeric literals in Turtle. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4080 a436a847-0d15-0410-975c-d299462d15a1
2012-03-16Update for latest atom extension.David Robillard1-15/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4073 a436a847-0d15-0410-975c-d299462d15a1
2012-03-08Update for latest serd.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4035 a436a847-0d15-0410-975c-d299462d15a1
2012-03-08Write paths as file URIs.David Robillard1-16/+49
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4033 a436a847-0d15-0410-975c-d299462d15a1
2012-03-07Serialise the null atom as rdf:nil, i.e. "()" in Turtle.David Robillard1-2/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4027 a436a847-0d15-0410-975c-d299462d15a1
2012-03-03Add forge sink and only require a URID_Unmap for writing.David Robillard1-58/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4017 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Fix atom:Path serialisation.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4016 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Fix memory leaks.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4015 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Tidy.David Robillard1-20/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4014 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Fix atom:Event URI.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4013 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Implement binary blob serialisation.David Robillard1-22/+33
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4012 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Fix memory leaks.David Robillard1-3/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4010 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Full round-trip support for every atom type, and midi:MidiEvent.David Robillard1-15/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4009 a436a847-0d15-0410-975c-d299462d15a1
2012-03-02Proper vector serialisation (sans error checking, anyway).David Robillard1-10/+48
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4007 a436a847-0d15-0410-975c-d299462d15a1