aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-04-13Rename SerdStyle to SerdWriterFlagsDavid Robillard3-16/+16
2019-04-13Rename SerdType to SerdNodeTypeDavid Robillard5-19/+24
The old name has become ambiguous with the expanded scope of serd.
2019-04-13Clean up and expose base64 implementationDavid Robillard7-65/+187
2019-04-13Expose the node cache in the worldDavid Robillard2-0/+17
2019-04-13Remove serd_env_foreach()David Robillard3-21/+4
2019-04-13Add serd_env_write_prefixes()David Robillard2-0/+16
2019-04-13Simplify reader test sinkDavid Robillard1-13/+8
2019-04-13Add serd_node_compare()David Robillard2-0/+36
2019-04-13Rename SerdError to SerdMessageDavid Robillard7-58/+70
Towards more general usage for all types of logging.
2019-04-13Add stack overflow testsDavid Robillard2-1/+71
2019-04-13Improve node test coverageDavid Robillard1-0/+8
2019-04-13Add test for bad blank graph labelsDavid Robillard2-0/+9
2019-04-13Fix writer flags typeDavid Robillard1-18/+18
2019-04-13Simplify reader stack pushing codeDavid Robillard1-14/+16
2019-04-13Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard3-8/+17
2019-04-13Use simpler names for statement flagsDavid Robillard3-21/+21
2019-04-13Simplify streaming API and improve pretty printingDavid Robillard9-134/+245
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes.
2019-04-13Cache commonly used nodes in the worldDavid Robillard3-14/+32