Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -9/+7 | |
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. | |||||
2020-10-27 | Remove old floating point tests | David Robillard | 1 | -96/+0 | |
2020-10-27 | Add precise decimal digit generation | David Robillard | 1 | -2/+2 | |
2020-10-27 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 1 | -5/+5 | |
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future. | |||||
2020-10-27 | Report writer errors and add strict write mode | David Robillard | 1 | -1/+38 | |
2020-10-27 | Fix various warnings and conversion issues | David Robillard | 1 | -10/+24 | |
2020-10-27 | Add serd_new_boolean() | David Robillard | 1 | -0/+17 | |
2020-10-27 | Handle read errors more precisely | David Robillard | 1 | -1/+1 | |
2020-10-27 | Add model validation | David Robillard | 1 | -1/+1 | |
2020-10-27 | Add function to SerdSink for freeing opaque handle | David Robillard | 1 | -3/+3 | |
This can be used to associate dynamically allocated data with a sink and have it managed along with the sink's lifetime. | |||||
2020-10-27 | Clean up and expose base64 implementation | David Robillard | 1 | -6/+7 | |
2020-10-27 | Simplify reader test sink | David Robillard | 1 | -34/+29 | |
2020-10-27 | Separate ByteSink from Writer | David Robillard | 1 | -3/+11 | |
2020-10-27 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -9/+2 | |
2020-10-27 | Add rooted URI resolution test | David Robillard | 1 | -1/+2 | |
2020-10-27 | Separate style enum from style flags types | David Robillard | 1 | -2/+2 | |
2020-10-27 | Make SerdSink opaque | David Robillard | 1 | -12/+23 | |
2020-10-27 | Add SerdCursor to public API | David Robillard | 1 | -1/+2 | |
2020-10-27 | 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-10-27 | Shorten node constructor names | David Robillard | 1 | -67/+83 | |
2020-10-27 | 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-10-27 | Use a fixed-size reader stack | David Robillard | 1 | -4/+4 | |
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-10-27 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -7/+19 | |
2020-10-27 | Add serd_world_get_blank() | David Robillard | 1 | -0/+18 | |
2020-10-27 | Clean up node construction API | David Robillard | 1 | -73/+103 | |
2020-10-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -19/+18 | |
2020-10-27 | Add blank node API | David Robillard | 1 | -0/+13 | |
2020-10-27 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -5/+10 | |
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 1 | -6/+20 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -28/+22 | |
2020-10-27 | Bring read/write interface closer to C standard | David Robillard | 1 | -4/+4 | |
2020-10-27 | 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-10-27 | Simplify reader interface | David Robillard | 1 | -8/+18 | |
2020-10-27 | Remove serd_uri_to_path() | David Robillard | 1 | -29/+0 | |
2020-10-27 | Remove SERD_NOTHING node type | David Robillard | 1 | -19/+0 | |
2020-10-27 | Make nodes opaque | David Robillard | 1 | -136/+161 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 1 | -4/+4 | |
2020-10-27 | Add support for parsing NaN, INF, and -INF | David Robillard | 1 | -0/+10 | |
2020-10-27 | 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 standard C API. | |||||
2020-10-27 | Use char* for strings in public API | David Robillard | 1 | -85/+80 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 1 | -19/+9 | |
2020-10-27 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -4/+4 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2020-10-27 | Add a test for reading strings with no trailing newline | David Robillard | 1 | -0/+23 | |
2020-08-16 | Move Env tests to a separate file | David Robillard | 1 | -64/+0 | |
2020-08-16 | Fix loop index variable type | David Robillard | 1 | -5/+5 | |
2020-08-16 | Add a test for reading from socket-like streams | David Robillard | 1 | -0/+61 | |
2020-08-15 | Clean up reader error handling | David Robillard | 1 | -3/+3 | |
2020-08-14 | Avoid use of rand() | David Robillard | 1 | -10/+3 | |
2020-08-14 | Add test for serd_strerror with unknown errors | David Robillard | 1 | -3/+6 | |
2020-08-14 | Fix Wswitch-enum warnings | David Robillard | 1 | -0/+21 | |