Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Separate ByteSink from Writer | David Robillard | 4 | -18/+26 | |
2020-10-27 | Expose SerdByteSink in public API | David Robillard | 5 | -5/+148 | |
2020-10-27 | Remove serd_reader_set_default_graph() | David Robillard | 4 | -38/+3 | |
2020-10-27 | Add zix data structures for use in model | David Robillard | 9 | -0/+1688 | |
2020-10-27 | Add rooted URI resolution test | David Robillard | 1 | -1/+2 | |
2020-10-27 | Simplify writer style options | David Robillard | 6 | -32/+41 | |
2020-10-27 | Avoid writing invalid prefixed name prefixes | David Robillard | 1 | -1/+2 | |
2020-10-27 | Separate style enum from style flags types | David Robillard | 4 | -25/+30 | |
2020-10-27 | Automatically finish reader on destruction | David Robillard | 2 | -0/+6 | |
2020-10-27 | Make SerdSink opaque | David Robillard | 9 | -35/+175 | |
2020-10-27 | Simplify SerdEnv API | David Robillard | 5 | -82/+119 | |
2020-10-27 | Add cursor to statement | David Robillard | 5 | -3/+21 | |
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser. | |||||
2020-10-27 | Add SerdCursor to public API | David Robillard | 13 | -47/+301 | |
2020-10-27 | Remove escape parameter from serd_new_file_uri | David Robillard | 4 | -16/+12 | |
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 | 8 | -181/+305 | |
2020-10-27 | Make statement sink take a statement rather than nodes | David Robillard | 6 | -58/+42 | |
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 | Add sink interface | David Robillard | 3 | -0/+123 | |
2020-10-27 | Add SerdStatement | David Robillard | 4 | -0/+129 | |
2020-10-27 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 1 | -1/+12 | |
2020-10-27 | Move syntax name/extension utilities to public API | David Robillard | 4 | -50/+108 | |
2020-10-27 | Move SerdField to public API | David Robillard | 2 | -46/+50 | |
2020-10-27 | Improve reader error handling | David Robillard | 1 | -33/+38 | |
2020-10-27 | Remove unnecessary parameter | David Robillard | 1 | -8/+8 | |
2020-10-27 | Set flags directly when reading literal nodes | David Robillard | 1 | -51/+32 | |
2020-10-27 | Improve push_byte() performance | David Robillard | 1 | -4/+4 | |
2020-10-27 | Add debug checks for node padding | David Robillard | 2 | -8/+36 | |
2020-10-27 | Zero node padding before passing to reader sinks | David Robillard | 5 | -2/+39 | |
2020-10-27 | Remove datatype and language from reader context | David Robillard | 2 | -26/+14 | |
2020-10-27 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -98/+51 | |
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items. | |||||
2020-10-27 | Use a fixed-size reader stack | David Robillard | 13 | -188/+240 | |
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 | 4 | -38/+129 | |
2020-10-27 | Add serd_world_get_blank() | David Robillard | 4 | -2/+53 | |
2020-10-27 | Clean up node construction API | David Robillard | 9 | -231/+323 | |
2020-10-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 11 | -193/+129 | |
2020-10-27 | Add blank node API | David Robillard | 4 | -0/+40 | |
2020-10-27 | Make serd_node_new_literal take datatype as a node | David Robillard | 3 | -12/+21 | |
2020-10-27 | Move error handling to world | David Robillard | 5 | -38/+43 | |
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 13 | -67/+172 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 8 | -136/+92 | |
2020-10-27 | Bring read/write interface closer to C standard | David Robillard | 11 | -85/+90 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 8 | -95/+252 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Simplify reader interface | David Robillard | 6 | -155/+120 | |
2020-10-27 | Remove serd_uri_to_path() | David Robillard | 5 | -65/+9 | |
2020-10-27 | Remove SERD_NOTHING node type | David Robillard | 5 | -30/+1 | |
2020-10-27 | Make nodes opaque | David Robillard | 10 | -408/+464 | |
2020-10-27 | Use opaque node API | David Robillard | 4 | -55/+76 | |
2020-10-27 | Add node accessor API | David Robillard | 2 | -0/+52 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 6 | -15/+13 | |
2020-10-27 | Add support for parsing NaN, INF, and -INF | David Robillard | 2 | -4/+24 | |
2020-10-27 | Make serd_strtod API const-correct | David Robillard | 4 | -8/+12 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the standard C API. |