aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
AgeCommit message (Collapse)AuthorFilesLines
2018-12-31Simplify writer style optionsDavid Robillard1-23/+2
2018-12-31Separate style enum from style flags typesDavid Robillard1-2/+2
2018-12-31Add SerdCursor to public APIDavid Robillard1-3/+6
2018-12-31Remove escape parameter from serd_new_file_uriDavid Robillard1-1/+1
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2018-12-31Shorten node constructor namesDavid Robillard1-3/+3
2018-12-31Move syntax name/extension utilities to public APIDavid Robillard1-48/+5
2018-12-31Clean up reader error handlingDavid Robillard1-1/+3
2018-12-31Use fixed size stackDavid Robillard1-3/+18
2018-12-30Clean up node construction APIDavid Robillard1-7/+4
2018-12-30Clean up includes and improve source file separationDavid Robillard1-8/+7
2018-12-30Move system utilities to separate source filesDavid Robillard1-0/+1
2018-12-30Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-56/+22
2018-12-30Add SerdWorld for shared library stateDavid Robillard1-6/+8
2018-12-30Add SerdSink interface and hide individual function implementationsDavid Robillard1-6/+2
2018-12-30Bring read/write interface closer to C standardDavid Robillard1-4/+7
2018-12-30Clean up and separate internal headersDavid Robillard1-0/+2
2018-12-30Simplify reader interfaceDavid Robillard1-8/+28
2018-12-30Remove serd_uri_to_path()David Robillard1-2/+7
2018-12-30Make nodes opaqueDavid Robillard1-6/+7
2018-12-30Use char* for strings in public APIDavid Robillard1-13/+13
The constant casting just makes user code a mess, for no benefit.
2018-12-30Fix unused parameter warningsDavid Robillard1-0/+2
2018-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard1-1/+1
2017-12-29Don't force ASCII for NQuadsDavid Robillard1-2/+1
2017-12-29Add serdi option to write ASCII outputDavid Robillard1-1/+6
2017-09-24Make serdi guess input syntax from extension if unspecifiedDavid Robillard1-2/+27
2017-09-24Make serdi syntax options case-insensitiveDavid Robillard1-20/+28
2017-02-07Remove comment fragment cruftDavid Robillard1-6/+1
2017-01-06Add support for reading TriGDavid Robillard1-5/+8
2017-01-05Add support for NQuadsDavid Robillard1-4/+6
2017-01-03Always escape file URIsDavid Robillard1-1/+1
2016-09-18Update copyright datesDavid Robillard1-2/+2
2016-05-29Fix handling of file I/O errorsDavid Robillard1-4/+8
2015-10-08Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@505 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-07Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@500 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-03Show serdi errors in standard formatDavid Robillard1-13/+21
git-svn-id: http://svn.drobilla.net/serd/trunk@493 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-10Configurable strict parsing to tolerate invalid URIs.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@480 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Update copyright dates.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Add more tests from the new W3C Turtle test suite.David Robillard1-3/+3
Support crazy escaped NULL characters in literals. Fix incorrect round-trip serialization test command. git-svn-id: http://svn.drobilla.net/serd/trunk@446 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix incorrect prototype.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@373 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-0/+15
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-08Add incremental read interface suitable for reading from infinite streams.David Robillard1-3/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-29Don't break relative URIs with up-references when parsing a document with no ↵David Robillard1-1/+1
base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard1-18/+23
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add serd_writer_get_env().David Robillard1-1/+2
Add serd_node_new_uri_from_path() and serd_file_uri_parse() and implement proper URI to/from path hex escaping, etc. Add serd_uri_serialise_relative() for making URIs relative to a base where possible (by chopping a common prefix and adding dot segments). Make URIs serialised by the writer properly escape characters. git-svn-id: http://svn.drobilla.net/serd/trunk@330 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-03Fix reading of empty files (e.g. /dev/null) test case.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@328 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Print command name in serdi error messages.David Robillard1-35/+25
Trim code. git-svn-id: http://svn.drobilla.net/serd/trunk@313 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Support compilation as C++ under MSVC++David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@291 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update copyright dates.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@285 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-08Update man page.David Robillard1-4/+4
Sort command line options in help and man page. Fix doxygen warnings about undocumented parameters. git-svn-id: http://svn.drobilla.net/serd/trunk@282 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-25100% test coverage.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@276 490d8e77-9747-427b-9fa3-0b8f29cee8a0