aboutsummaryrefslogtreecommitdiffstats
path: root/src/serd_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2018-11-25Clean up includes and improve source file separationDavid Robillard1-16/+0
2018-11-25Move system utilities to separate source filesDavid Robillard1-27/+0
2018-11-25Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-12/+10
2018-11-25Move error handling to worldDavid Robillard1-11/+0
2018-11-25Add SerdWorld for shared library stateDavid Robillard1-3/+5
2018-11-25Clean up and separate internal headersDavid Robillard1-555/+0
2018-11-25Simplify reader interfaceDavid Robillard1-2/+2
2018-11-25Make nodes opaqueDavid Robillard1-1/+11
2018-11-25Use opaque node APIDavid Robillard1-0/+2
2018-11-25Make serd_strtod API const-correctDavid Robillard1-1/+1
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2018-11-25Rename SerdChunk to SerdSliceDavid Robillard1-3/+3
2018-11-25Use char* for strings in public APIDavid Robillard1-24/+24
The constant casting just makes user code a mess, for no benefit.
2018-11-25Remove useless character countingDavid Robillard1-1/+0
2018-11-11Shrink serd_byte_source_advance() code slightlyDavid Robillard1-4/+2
2018-09-30Fix calloc argument orderDavid Robillard1-1/+1
2018-09-16Fix const castsDavid Robillard1-1/+1
2018-07-22Inline serd_byte_source_advanceDavid Robillard1-2/+34
2018-07-12Fix making relative URIs that are shorter than, but under, the rootDavid Robillard1-14/+30
2018-06-11Zero-initialize stack memoryDavid Robillard1-1/+1
2018-06-10Fix relative URI serialisationDavid Robillard1-2/+9
2018-02-04Factor out syntax-specific reader implementationDavid Robillard1-0/+89
2018-02-04Factor out is_xdigitDavid Robillard1-1/+8
2017-12-26Print file open error in standard formatDavid Robillard1-1/+2
2017-11-05Move cursor from reader to byte sourceDavid Robillard1-0/+8
2017-11-05Move EOF flag from reader to byte sourceDavid Robillard1-0/+1
2017-11-05Factor out namespace definesDavid Robillard1-0/+3
2017-09-24Make serdi syntax options case-insensitiveDavid Robillard1-0/+12
2017-09-23Use more efficient stack allocation and growth policiesDavid Robillard1-1/+1
2017-08-29Fix writing of corrupt UTF-8David Robillard1-7/+1
2017-07-30Move parse_utf8_char to shared internal headerDavid Robillard1-0/+24
2017-07-30Cleanup: Add push_bytes function to reduce code verbosityDavid Robillard1-0/+2
2017-07-10Factor out UTF-8 character size countingDavid Robillard1-0/+23
2017-07-09Add serd_node_from_substring()David Robillard1-0/+6
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers.
2017-07-08Fix parsing of hex escapes in file URIsJohannes Mueller1-0/+7
This fixes round-trip of paths to/from escaped file URIs.
2017-06-30Fix various clang-tidy issuesDavid Robillard1-1/+1
2017-06-29Fix strict parsing of abolute URI schemesDavid Robillard1-0/+11
2017-04-24Allow arbitrary page size to be passed for custom sourcesDavid Robillard1-2/+2
2017-04-14Make BulkSink general and factor out details from WriterDavid Robillard1-13/+21
2017-04-14Factor out file reading from readerDavid Robillard1-0/+46
2016-08-01Use consistent feature test macrosDavid Robillard1-1/+1
2016-05-17Fix unaligned memory access (UB which breaks ARM)David Robillard1-1/+33
With this fix, the test suite runs cleanly with UBSan.
2014-10-03Remove dependence on fmax() to avoid portability issues.David Robillard1-8/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@476 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@471 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@469 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-31Remove unnecessary branch condition.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@447 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-03Correctly handle posix_memalign failureDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@411 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-1/+1
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-0/+13
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-03-28Strip duplicate blank lines.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@341 490d8e77-9747-427b-9fa3-0b8f29cee8a0