Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | WIP: Make serd_env_expand() always return a node if it is not relative | David Robillard | 1 | -30/+161 | |
The old interface was potentially faster, because it avoided unnecessary copies, but was annoying to use and problematic because nodes that don't need expansion were indistinguishable from nodes that failed to expand (like those that use undefined namespace prefixes). In the grand scheme of things, the potential performance improvement isn't worth it, and unexpected unexpanded nodes causes deep nightmarish problems, so just make serd_env_expand() copy the input if it doesn't need expansion to make the API simpler and safer. | |||||
2021-03-08 | Clean up Env tests and behaviour | David Robillard | 1 | -62/+178 | |
2021-03-08 | Make const Env functions tolerant of NULL | David Robillard | 1 | -0/+4 | |
This is convenient in places where you don't necessarily need an Env, since in this case these methods work the same as if with an empty Env. | |||||
2021-03-08 | Clean up env test | David Robillard | 1 | -4/+4 | |
2021-03-08 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+23 | |
2021-03-08 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -10/+14 | |
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. | |||||
2021-03-08 | Simplify SerdEnv API | David Robillard | 1 | -32/+28 | |
2021-03-07 | Simplify node construction API | David Robillard | 1 | -21/+26 | |
2021-03-07 | Simplify URI API and implementation | David Robillard | 1 | -0/+3 | |
2021-03-07 | Make nodes opaque | David Robillard | 1 | -32/+37 | |
2021-03-07 | Remove "get" from accessor names | David Robillard | 1 | -3/+3 | |
2021-03-07 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -2/+2 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 1 | -16/+11 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -46/+48 | |
2020-11-13 | Allow setting the base URI of an Env to NULL | David Robillard | 1 | -1/+6 | |
2020-11-09 | Rename unit tests to start with a consistent prefix | David Robillard | 1 | -0/+95 | |