aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
AgeCommit message (Expand)AuthorFilesLines
2019-12-20Improve add and chop prefix functions when given empty stringsDavid Robillard1-4/+5
2019-12-20Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard1-3/+3
2019-12-20Report writer errors and add strict write modeDavid Robillard1-173/+230
2019-12-20Add support for writing terse collectionsDavid Robillard1-12/+23
2019-12-20Tolerate lack of predicate when context is poppedDavid Robillard1-1/+2
2019-12-20Reset writer to empty when finished to avoid spurious blank linesDavid Robillard1-0/+1
2019-12-20Pass context flags to write_sep()David Robillard1-22/+24
2019-12-20Add initial flags to write contextDavid Robillard1-13/+16
2019-12-20Factor out pushing and popping writer contextDavid Robillard1-35/+44
2019-12-20Strengthen writer statement preconditionsDavid Robillard1-1/+3
2019-12-20Add option for writing terse output without newlinesDavid Robillard1-4/+8
2019-12-20Factor out writing top level separatorDavid Robillard1-6/+10
2019-12-20Rename SERD_STYLE_ASCII to SERD_WRITE_ASCIIDavid Robillard1-1/+1
2019-12-20Simplify writer statement validity checkingDavid Robillard1-3/+2
2019-12-20Fix various warnings and conversion issuesDavid Robillard1-8/+9
2019-12-19Use consistent naming for function typesDavid Robillard1-4/+4
2019-12-19Add extensible logging APIDavid Robillard1-10/+10
2019-12-19Add Env to SinkDavid Robillard1-38/+27
2019-12-19Rename SerdStyle to SerdWriterFlagsDavid Robillard1-26/+26
2019-12-19Fix writer flags typeDavid Robillard1-18/+18
2019-12-19Use simpler names for statement flagsDavid Robillard1-12/+12
2019-12-19Simplify streaming API and improve pretty printingDavid Robillard1-108/+144
2019-12-19Cache commonly used nodes in the worldDavid Robillard1-10/+8
2019-12-19Separate ByteSink from WriterDavid Robillard1-7/+6
2019-12-19Expose SerdByteSink in public APIDavid Robillard1-5/+4
2019-12-19Simplify writer style optionsDavid Robillard1-2/+2
2019-12-19Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2019-12-19Separate style enum from style flags typesDavid Robillard1-1/+1
2019-12-19Make SerdSink opaqueDavid Robillard1-0/+1
2019-12-19Simplify SerdEnv APIDavid Robillard1-4/+7
2019-12-19Make statement sink take a statement rather than nodesDavid Robillard1-6/+8
2019-12-19Move SerdField to public APIDavid Robillard1-46/+40
2019-12-19Use a fixed-size reader stackDavid Robillard1-1/+1
2019-12-19Clean up node construction APIDavid Robillard1-12/+7
2019-12-19Clean up includes and improve source file separationDavid Robillard1-7/+11
2019-12-19Move system utilities to separate source filesDavid Robillard1-0/+1
2019-12-19Move error handling to worldDavid Robillard1-21/+6
2019-12-19Add SerdWorld for shared library stateDavid Robillard1-11/+5
2019-12-19Add SerdSink interface and hide individual function implementationsDavid Robillard1-2/+21
2019-12-19Bring read/write interface closer to C standardDavid Robillard1-14/+13
2019-12-19Clean up and separate internal headersDavid Robillard1-0/+14
2019-12-19Merge datatype and/or language into nodeDavid Robillard1-28/+20
2019-12-19Make nodes opaqueDavid Robillard1-71/+74
2019-12-19Use opaque node APIDavid Robillard1-29/+39
2019-12-18Rename SerdChunk to SerdStringViewDavid Robillard1-5/+5
2019-12-18Use char* for strings in public APIDavid Robillard1-20/+20
2019-12-18Remove useless character countingDavid Robillard1-4/+3
2019-12-14Use SerdBuffer for mutable buffersDavid Robillard1-7/+7
2019-01-05Fix unused parameter warningsDavid Robillard1-2/+1
2018-06-15Remove redundant SERD_API declarationsDavid Robillard1-14/+0