Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-06-21 | Ensure serd_new_resolved_uri returns an absolute URI or NULL | David Robillard | 1 | -1/+3 | |
2020-06-21 | Simplify streaming API and improve pretty printing | David Robillard | 3 | -2/+98 | |
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-21 | Add SerdNodes class for storing a cache of nodes | David Robillard | 1 | -0/+92 | |
2020-06-21 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+16 | |
2020-06-21 | Separate ByteSink from Writer | David Robillard | 1 | -3/+11 | |
2020-06-21 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -9/+2 | |
2020-06-21 | Add rooted URI resolution test | David Robillard | 1 | -1/+2 | |
2020-06-21 | Add test for reading chunks | David Robillard | 1 | -0/+112 | |
2020-06-21 | Make reader return failure when no statement is read | David Robillard | 1 | -2/+2 | |
2020-06-21 | Separate style enum from style flags types | David Robillard | 1 | -2/+2 | |
2020-06-21 | Make SerdSink opaque | David Robillard | 1 | -8/+16 | |
2020-06-21 | Simplify SerdEnv API | David Robillard | 1 | -23/+28 | |
2020-06-21 | Add SerdCursor to public API | David Robillard | 1 | -0/+59 | |
2020-06-21 | Remove escape parameter from serd_new_file_uri | David Robillard | 1 | -9/+6 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2020-06-21 | Shorten node constructor names | David Robillard | 1 | -76/+85 | |
2020-06-21 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -19/+12 | |
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement. | |||||
2020-06-21 | Clean up reader error handling | David Robillard | 1 | -5/+0 | |
2020-06-21 | Use a fixed-size reader stack | David Robillard | 1 | -3/+3 | |
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size. | |||||
2020-06-21 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -7/+19 | |
2020-06-21 | Add serd_world_get_blank() | David Robillard | 1 | -0/+18 | |
2020-06-21 | Clean up node construction API | David Robillard | 1 | -82/+119 | |
2020-06-21 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -13/+11 | |
2020-06-21 | Add blank node API | David Robillard | 1 | -0/+16 | |
2020-06-21 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -3/+9 | |
2020-06-21 | Add SerdWorld for shared library state | David Robillard | 1 | -5/+17 | |
2020-06-21 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -24/+20 | |
2020-06-21 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2020-06-21 | Merge datatype and/or language into node | David Robillard | 1 | -32/+59 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-06-21 | Simplify reader interface | David Robillard | 1 | -2/+12 | |
2020-06-21 | Remove serd_uri_to_path() | David Robillard | 1 | -29/+0 | |
2020-06-21 | Make nodes opaque | David Robillard | 1 | -160/+192 | |
2020-06-21 | Add support for parsing NaN, INF, and -INF | David Robillard | 1 | -0/+10 | |
2020-06-21 | Make serd_strtod API const-correct | David Robillard | 1 | -2/+3 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API. | |||||
2020-06-21 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -2/+2 | |
2020-06-21 | Use char* for strings in public API | David Robillard | 1 | -91/+87 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-06-21 | Remove useless character counting | David Robillard | 1 | -19/+9 | |
2020-06-21 | Use SerdBuffer for mutable buffers | David Robillard | 1 | -4/+4 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2020-06-21 | Cleanup: Fix uninitialised variables | David Robillard | 1 | -4/+4 | |
2020-06-21 | Cleanup: Avoid declaring multiple variables on a single line | David Robillard | 1 | -1/+2 | |
2020-06-21 | Cleanup: Avoid malloc of 0 bytes | David Robillard | 1 | -1/+1 | |
2020-06-21 | Cleanup: Remove unnecessary stores | David Robillard | 1 | -4/+3 | |
2020-06-21 | Cleanup: Remove redundant cast | David Robillard | 1 | -1/+1 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -4/+5 | |
2019-12-14 | Fix function prototype | David Robillard | 1 | -1/+1 | |
2019-12-14 | Split up unit tests | David Robillard | 1 | -39/+100 | |
2019-12-08 | Fix reading from a null-delimited socket | David Robillard | 1 | -0/+61 | |
2019-10-27 | Fix EOF handling while reading in bulk or from strings | David Robillard | 5 | -0/+34 | |
2019-10-27 | Fix example prefixes in test cases | David Robillard | 10 | -10/+10 | |
2019-10-27 | Add test case for base URI with no path | David Robillard | 3 | -0/+11 | |
2019-10-27 | Fix lax handling of string errors and add separate lax test suite | David Robillard | 7 | -10/+41 | |