aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-21Add support for writing terse collectionsDavid Robillard1-12/+23
2020-06-21Tolerate lack of predicate when context is poppedDavid Robillard1-1/+2
2020-06-21Reset writer to empty when finished to avoid spurious blank linesDavid Robillard1-0/+1
2020-06-21Pass context flags to write_sep()David Robillard1-22/+24
2020-06-21Add initial flags to write contextDavid Robillard1-14/+22
2020-06-21Simplify internal writer context APIDavid Robillard1-21/+17
2020-06-21Strengthen writer statement preconditionsDavid Robillard1-1/+3
2020-06-21Add option for writing terse output without newlinesDavid Robillard1-4/+8
2020-06-21Factor out writing top level separatorDavid Robillard1-6/+10
2020-06-21Rename SERD_STYLE_ASCII to SERD_WRITE_ASCIIDavid Robillard1-1/+1
2020-06-21Simplify writer statement validity checkingDavid Robillard1-3/+2
2020-06-21Fix various warnings and conversion issuesDavid Robillard1-4/+4
2020-06-21Use consistent naming for function typesDavid Robillard1-4/+4
2020-06-21Add extensible logging APIDavid Robillard1-10/+10
2020-06-21Add Env to SinkDavid Robillard1-38/+27
2020-06-21Rename SerdStyle to SerdWriterFlagsDavid Robillard1-26/+26
2020-06-21Fix writer flags typeDavid Robillard1-18/+18
2020-06-21Use simpler names for statement flagsDavid Robillard1-17/+15
2020-06-21Simplify streaming API and improve pretty printingDavid Robillard1-142/+211
2020-06-21Cache commonly used nodes in the worldDavid Robillard1-10/+8
2020-06-21Separate ByteSink from WriterDavid Robillard1-7/+6
2020-06-21Expose SerdByteSink in public APIDavid Robillard1-5/+4
2020-06-21Simplify writer style optionsDavid Robillard1-2/+2
2020-06-21Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2020-06-21Separate style enum from style flags typesDavid Robillard1-1/+1
2020-06-21Make SerdSink opaqueDavid Robillard1-0/+1
2020-06-21Simplify SerdEnv APIDavid Robillard1-4/+7
2020-06-21Make statement sink take a statement rather than nodesDavid Robillard1-6/+8
2020-06-21Move SerdField to public APIDavid Robillard1-46/+40
2020-06-21Use a fixed-size reader stackDavid Robillard1-1/+1
2020-06-21Clean up node construction APIDavid Robillard1-12/+6
2020-06-21Move system utilities to separate source filesDavid Robillard1-0/+1
2020-06-21Move error handling to worldDavid Robillard1-22/+7
2020-06-21Add SerdWorld for shared library stateDavid Robillard1-12/+6
2020-06-21Add SerdSink interface and hide individual function implementationsDavid Robillard1-2/+21
2020-06-21Bring read/write interface closer to C standardDavid Robillard1-14/+13
2020-06-21Clean up and separate internal headersDavid Robillard1-0/+13
2020-06-21Merge datatype and/or language into nodeDavid Robillard1-28/+20
2020-06-21Make nodes opaqueDavid Robillard1-71/+74
2020-06-21Use opaque node APIDavid Robillard1-29/+39
2020-06-21Rename SerdChunk to SerdStringViewDavid Robillard1-6/+5
2020-06-21Use char* for strings in public APIDavid Robillard1-27/+27
2020-06-21Remove useless character countingDavid Robillard1-4/+3
2020-06-21Use SerdBuffer for mutable buffersDavid Robillard1-7/+7
2020-06-21Cleanup: Add missing default switch casesDavid Robillard1-0/+3
2020-06-21Cleanup: Fix uninitialised variablesDavid Robillard1-3/+4
2020-06-21Cleanup: Avoid declaring multiple variables on a single lineDavid Robillard1-1/+3
2020-06-21Clean up includesDavid Robillard1-1/+6
2020-04-26Fix potential passing of NULL to printfDavid Robillard1-1/+1
2019-01-05Fix unused parameter warningsDavid Robillard1-2/+1