aboutsummaryrefslogtreecommitdiffstats
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-13Add test wrapper to serdi invocation for test manifest loadingDavid Robillard1-1/+6
This makes it possible to run the tests in an emulator for cross compiling.
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-13Improve Env test coverageDavid Robillard1-0/+3
2019-04-13WIP: Add C++ bindingsDavid Robillard9-3/+2541
2019-04-13WIP: Add support for writing terse collectionsDavid Robillard5-14/+139
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 Robillard6-25/+36
2019-04-13Factor out writing top level separatorDavid Robillard1-6/+10
2019-04-13Rename SERD_STYLE_ASCII to SERD_WRITE_ASCIIDavid Robillard3-3/+3
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-13Add clang-tidy fileDavid Robillard2-10/+31
2019-04-13Add test for serd_strerror with unknown errorsDavid Robillard1-2/+3
2019-04-13Fix reading from socket-like streams and add testDavid Robillard2-1/+66
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 Robillard5-14/+14
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-13Fix implicit float to double conversion warningDavid Robillard1-7/+21
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 Robillard3-8/+9
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 Robillard3-0/+25
2019-04-13Remove reader status and handle errors more preciselyDavid Robillard7-45/+40
2019-04-13Add separate test suite for lax syntax testsDavid Robillard6-15/+30
2019-04-13Add validation test suiteDavid Robillard31-12/+1853
2019-04-13WIP: Add validationDavid Robillard8-15/+1073
2019-04-13Add model to benchmarksDavid Robillard1-3/+4
2019-04-13WIP: Add modelDavid Robillard20-9/+2941
2019-04-13Use consistent naming for function typesDavid Robillard7-34/+34
2019-04-13Expose and annotate logging functionsDavid Robillard4-2/+40
2019-04-13Use line comments where appropriate and clean up headerDavid Robillard1-451/+222
2019-04-13Add Env to SinkDavid Robillard9-59/+71
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.