aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-13Fix node alignment on 32-bit ARMDavid Robillard3-2/+5
2019-04-13Make node size always 64 bitsDavid Robillard1-1/+1
This ensures that sizeof(SerdNode) is a power of two, even on 32-bit platforms, which is required by posix_memalign.
2019-04-13Allocate nodes with posix_memalign when availableDavid Robillard3-9/+43
This fixes platforms where the system malloc returns memory that is not aligned to sizeof(SerdNode) (128 bits).
2019-04-13WIP: logDavid Robillard5-31/+22
2019-04-13Fix integer conversion warningsDavid Robillard1-2/+2
2019-04-13Avoid absurd Windows warnings about "deprecated" POSIX functionsDavid Robillard1-2/+2
2019-04-13WIP: Add support for writing terse collectionsDavid Robillard1-12/+23
2019-04-13Tolerate lack of predicate when context is poppedDavid Robillard1-1/+2
2019-04-13Reset writer to empty when finished to avoid spurious blank linesDavid Robillard1-0/+1
2019-04-13Pass context flags to write_sep()David Robillard1-22/+24
2019-04-13Add initial flags to write contextDavid Robillard1-13/+16
2019-04-13Factor out pushing writer contextDavid Robillard1-29/+34
2019-04-13Strengthen writer statement preconditionsDavid Robillard1-1/+3
2019-04-13Add option for writing terse output without newlinesDavid Robillard3-24/+29
2019-04-13Factor out writing top level separatorDavid Robillard1-6/+10
2019-04-13Rename SERD_STYLE_ASCII to SERD_WRITE_ASCIIDavid Robillard2-2/+2
2019-04-13Support reading lone lists in lax modeDavid Robillard1-1/+1
This allows parsing documents like "(42) ."
2019-04-13Simplify writer statement validity checkingDavid Robillard1-3/+2
2019-04-13Fix reading from socket-like streams and add testDavid Robillard1-1/+1
2019-04-13Make reader tolerant of being started several timesDavid Robillard1-0/+4
2019-04-13Remove pointless switch statementDavid Robillard1-3/+1
2019-04-13Fix MSVC warnings about integer literal conversionsDavid Robillard4-12/+12
2019-04-13Fix potential use of uninitialized valuesDavid Robillard1-6/+6
2019-04-13Fix integer conversion warningsDavid Robillard6-15/+18
2019-04-13Remove redundant castDavid Robillard1-1/+1
2019-04-13Fix character conversion warningsDavid Robillard3-9/+12
2019-04-13Suppress spurious floating point conversion warningDavid Robillard2-10/+42
This is defined by the standard to work with floating point expressions, the warning is a quirk of glibc.
2019-04-13Fix cast alignment warningDavid Robillard1-4/+5
2019-04-13Fix serd_stack_is_empty() const correctnessDavid Robillard1-1/+1
2019-04-13Make char type functions take int like their standard counterpartsDavid Robillard2-7/+7
This avoids conversion warnings by allowing these to be used with either signed or unsigned chars.
2019-04-13Fix various sign conversion warningsDavid Robillard2-5/+6
2019-04-13Fix implicit signed conversions in base64 implementationDavid Robillard1-2/+2
2019-04-13Fix implicit signed conversions for writer indentDavid Robillard1-3/+3
2019-04-13Add serd_new_boolean()David Robillard1-0/+7
2019-04-13Remove reader status and handle errors more preciselyDavid Robillard5-43/+37
2019-04-13Add separate test suite for lax syntax testsDavid Robillard1-2/+2
2019-04-13WIP: Add validationDavid Robillard4-1/+1029
2019-04-13WIP: Add modelDavid Robillard13-2/+1504
2019-04-13Use consistent naming for function typesDavid Robillard6-19/+19
2019-04-13Expose and annotate logging functionsDavid Robillard2-2/+17
2019-04-13Add Env to SinkDavid Robillard5-54/+57
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code.
2019-04-13Rename SerdStyle to SerdWriterFlagsDavid Robillard2-11/+11
2019-04-13Rename SerdType to SerdNodeTypeDavid Robillard4-17/+22
The old name has become ambiguous with the expanded scope of serd.
2019-04-13Clean up and expose base64 implementationDavid Robillard3-55/+13
2019-04-13Expose the node cache in the worldDavid Robillard1-0/+6
2019-04-13Remove serd_env_foreach()David Robillard1-10/+0
2019-04-13Add serd_env_write_prefixes()David Robillard1-0/+9
2019-04-13Add serd_node_compare()David Robillard1-0/+25
2019-04-13Rename SerdError to SerdMessageDavid Robillard6-44/+46
Towards more general usage for all types of logging.
2019-04-13Fix writer flags typeDavid Robillard1-18/+18