aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_read_chunk.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Add custom allocator supportDavid Robillard1-1/+1
2022-01-28Make environments and sinks part of the worldDavid Robillard1-2/+2
Although functions/components that require minimal pre-existing state are nice, these allocate memory and could potentially share resources. So, give them a pointer to a world which can be used to configure such things. In particular, this is working towards supporting custom allocators everywhere.
2022-01-28Simplify input stream APIDavid Robillard1-13/+13
More or less the same rationale as the previous commit, but for reading. This makes for nice symmetry with writing, at the cost of a slightly more annoying reader interface since the source doesn't know its block size or name.
2022-01-14Move SerdEnv mutation from writer to readerDavid Robillard1-1/+3
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader.
2022-01-13Make Reader always read from a ByteSourceDavid Robillard1-11/+14
2022-01-13Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard1-1/+1
2022-01-13Replace multiple stream callbacks with SerdEventDavid Robillard1-5/+19
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future.
2022-01-13Add SerdStatementDavid Robillard1-10/+4
2022-01-13Add SerdCaretDavid Robillard1-1/+2
2022-01-13Add SerdWorld for shared library stateDavid Robillard1-2/+4
2022-01-13Use a fixed-size reader stackDavid Robillard1-1/+1
2022-01-13Simplify reader interfaceDavid Robillard1-22/+14
2022-01-13Add SerdSink interface and hide implementationsDavid Robillard1-2/+9
2022-01-13Merge datatype/language into nodeDavid Robillard1-10/+6
This moves closer to the sord API, and is more convenient in most cases.
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-58/+59
2020-11-10Fix memory leak in chunk reading testDavid Robillard1-0/+1
2020-11-09Rename unit tests to start with a consistent prefixDavid Robillard1-0/+120