aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-21Fix reading from socket-like streams and add testDavid Robillard2-1/+66
2020-06-21Make reader tolerant of being started several timesDavid Robillard1-0/+4
2020-06-21Remove pointless switch statementDavid Robillard1-3/+1
2020-06-21Fix various warnings and conversion issuesDavid Robillard14-51/+59
2020-06-21Add serd_new_boolean()David Robillard4-0/+29
2020-06-21Remove reader status and handle errors more preciselyDavid Robillard7-43/+36
2020-06-21Add model validationDavid Robillard6-4/+928
2020-06-21Factor out test option iterator generationDavid Robillard1-6/+11
2020-06-21Add model to benchmarksDavid Robillard1-3/+4
2020-06-21Add modelDavid Robillard20-7/+3059
2020-06-21Use conventional short variable name for statusDavid Robillard1-13/+13
2020-06-21Use consistent naming for function typesDavid Robillard4-23/+23
2020-06-21Add extensible logging APIDavid Robillard8-73/+280
2020-06-21Use line comments where appropriate and clean up headerDavid Robillard1-433/+210
2020-06-21Add Env to SinkDavid Robillard9-73/+72
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.
2020-06-21Rename SerdStyle to SerdWriterFlagsDavid Robillard3-33/+33
2020-06-21Rename SerdType to SerdNodeTypeDavid Robillard5-20/+25
The old name has become ambiguous with the expanded scope of serd.
2020-06-21Clean up and expose base64 implementationDavid Robillard7-65/+188
2020-06-21Expose the node cache in the worldDavid Robillard2-0/+17
2020-06-21Remove serd_env_foreach()David Robillard3-21/+4
2020-06-21Add serd_env_write_prefixes()David Robillard2-0/+16
2020-06-21Simplify reader test sinkDavid Robillard1-28/+23
2020-06-21Add serd_node_compare()David Robillard2-0/+30
2020-06-21Add stack overflow testsDavid Robillard2-1/+72
2020-06-21Improve node test coverageDavid Robillard1-0/+6
2020-06-21Add test for bad blank graph labelsDavid Robillard2-0/+9
2020-06-21Fix writer flags typeDavid Robillard1-18/+18
2020-06-21Simplify reader stack pushing codeDavid Robillard1-8/+10
2020-06-21Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard3-8/+17
2020-06-21Use simpler names for statement flagsDavid Robillard3-26/+24
2020-06-21Simplify streaming API and improve pretty printingDavid Robillard9-168/+327
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.
2020-06-21Cache commonly used nodes in the worldDavid Robillard3-14/+32
2020-06-21Add SerdNodes class for storing a cache of nodesDavid Robillard8-4/+306
2020-06-21Add serd_env_copy() and serd_env_equals()David Robillard3-0/+66
2020-06-21Separate ByteSink from WriterDavid Robillard4-17/+25
2020-06-21Expose SerdByteSink in public APIDavid Robillard5-102/+146
2020-06-21Remove serd_reader_set_default_graph()David Robillard4-34/+2
2020-06-21Add zix data structures for use in modelDavid Robillard7-0/+1621
2020-06-21Add rooted URI resolution testDavid Robillard1-1/+2
2020-06-21Add test for reading chunksDavid Robillard2-1/+115
2020-06-21Make reader return failure when no statement is readDavid Robillard2-3/+3
2020-06-21Fix warningsDavid Robillard2-4/+4
2020-06-21Simplify writer style optionsDavid Robillard6-40/+35
2020-06-21Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2020-06-21Separate style enum from style flags typesDavid Robillard4-6/+11
2020-06-21Automatically finish reader on destructionDavid Robillard2-0/+6
2020-06-21Make SerdSink opaqueDavid Robillard7-27/+158
2020-06-21Simplify SerdEnv APIDavid Robillard5-80/+118
2020-06-21Add cursor to statementDavid Robillard5-3/+21
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser.
2020-06-21Add SerdCursor to public APIDavid Robillard10-37/+292