aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_env.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Use SerdNodes instead of manual memory management in testsDavid Robillard1-29/+30
2022-01-28Add custom allocator supportDavid Robillard1-36/+165
2022-01-28Make environments and sinks part of the worldDavid Robillard1-26/+54
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-28Use more human-readable status codesDavid Robillard1-2/+2
2022-01-14Use Nodes in Env implementationDavid Robillard1-3/+5
2022-01-14Expose low-level node construction APIDavid Robillard1-1/+1
2022-01-14Preserve long or short quoting from input documentsDavid Robillard1-2/+4
2022-01-14Remove SERD_CURIE node datatype entirelyDavid Robillard1-57/+20
2022-01-13Clean up SerdEnv testsDavid Robillard1-65/+252
2022-01-13Add serd_env_copy() and serd_env_equals()David Robillard1-0/+43
2022-01-13Simplify SerdEnv APIDavid Robillard1-33/+41
2022-01-13Replace multiple stream callbacks with SerdEventDavid Robillard1-6/+10
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-13Use SerdNodes to simplify some testsDavid Robillard1-19/+16
2022-01-13Simplify node construction APIDavid Robillard1-21/+25
2022-01-13Simplify URI API and implementationDavid Robillard1-0/+12
2022-01-13Make nodes opaqueDavid Robillard1-37/+41
2022-01-13Remove "get" from accessor namesDavid Robillard1-3/+3
2022-01-13Rename SerdChunk to SerdStringViewDavid Robillard1-2/+2
2022-01-13Use char* for strings in public APIDavid Robillard1-16/+11
The constant casting just makes user code a mess, for no benefit.
2021-06-30Make node qualify and expand functions tolerate a null EnvDavid Robillard1-0/+5
This is convenient in places where you don't necessarily need an Env, since these methods will work the same as with an empty Env.
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-46/+48
2020-11-13Allow setting the base URI of an Env to NULLDavid Robillard1-1/+6
2020-11-09Rename unit tests to start with a consistent prefixDavid Robillard1-0/+95