Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Add stack overflow tests | David Robillard | 2 | -0/+69 | |
2021-03-08 | Simplify reader stack pushing code | David Robillard | 1 | -6/+6 | |
2021-03-08 | Clean up env test | David Robillard | 1 | -4/+4 | |
2021-03-08 | Use simpler names for statement flags | David Robillard | 3 | -27/+24 | |
2021-03-08 | Simplify streaming API and improve pretty printing | David Robillard | 9 | -174/+374 | |
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. | |||||
2021-03-08 | WIP: Leave statement cursor at the start of literals | David Robillard | 1 | -1/+11 | |
2021-03-08 | Cache commonly used nodes in the world | David Robillard | 4 | -15/+58 | |
2021-03-08 | Add SerdNodes class for storing a cache of nodes | David Robillard | 8 | -2/+305 | |
2021-03-08 | Add zix data structures | David Robillard | 9 | -1/+1839 | |
2021-03-08 | Add serd_env_copy() and serd_env_equals() | David Robillard | 3 | -0/+75 | |
2021-03-08 | Separate ByteSink from Writer | David Robillard | 4 | -17/+26 | |
2021-03-08 | Expose SerdByteSink in public API | David Robillard | 5 | -5/+150 | |
2021-03-08 | Simplify writer style options | David Robillard | 6 | -52/+34 | |
2021-03-08 | Avoid writing invalid prefixed name prefixes | David Robillard | 1 | -1/+2 | |
2021-03-08 | Replace multiple stream callbacks with SerdEvent | David Robillard | 8 | -128/+176 | |
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 | Add SerdStatement | David Robillard | 9 | -38/+177 | |
2021-03-08 | Add SerdCursor | David Robillard | 14 | -50/+300 | |
2021-03-08 | Remove serd_reader_set_default_graph() | David Robillard | 4 | -70/+30 | |
2021-03-08 | Move SerdField to public API | David Robillard | 2 | -46/+48 | |
2021-03-08 | Simplify SerdEnv API | David Robillard | 5 | -63/+95 | |
2021-03-08 | Add serd_world_get_blank() | David Robillard | 4 | -2/+55 | |
2021-03-08 | Move fopen wrapper to world | David Robillard | 5 | -29/+37 | |
2021-03-08 | Move error handling to world | David Robillard | 6 | -51/+55 | |
2021-03-08 | Add SerdWorld for shared library state | David Robillard | 17 | -72/+182 | |
2021-03-08 | Clean up nodes in reader/writer tests | David Robillard | 1 | -12/+20 | |
2021-03-08 | Add numeric node construction and access API | David Robillard | 5 | -50/+307 | |
2021-03-08 | Add serd_new_float() and serd_new_double() | David Robillard | 6 | -1/+63 | |
2021-03-08 | Add serd_new_boolean() | David Robillard | 4 | -0/+35 | |
2021-03-08 | Remove serd_node_align constant | David Robillard | 1 | -10/+8 | |
2021-03-08 | Remove old floating point tests | David Robillard | 1 | -88/+0 | |
2021-03-08 | WIP: Use exess for reading and writing numeric and binary literals | David Robillard | 5 | -281/+112 | |
2021-03-08 | Add exess from git@gitlab.com:drobilla/exess.git 4638b1f | David Robillard | 120 | -1/+17581 | |
2021-03-08 | Simplify literal construction API | David Robillard | 5 | -71/+131 | |
2021-03-08 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 2 | -3/+19 | |
2021-03-08 | Move syntax name/extension utilities to public API | David Robillard | 4 | -51/+110 | |
2021-03-08 | Improve reader error handling | David Robillard | 1 | -31/+40 | |
2021-03-08 | Remove unnecessary parameter from read_LANGTAG() | David Robillard | 1 | -8/+8 | |
2021-03-08 | Set flags directly when reading literal nodes | David Robillard | 1 | -57/+35 | |
2021-03-08 | Improve push_byte() performance | David Robillard | 1 | -5/+4 | |
2021-03-08 | Add debug checks for node padding | David Robillard | 2 | -9/+37 | |
2021-03-08 | Zero node padding before passing to reader sinks | David Robillard | 5 | -2/+41 | |
2021-03-08 | Remove datatype and language from reader context | David Robillard | 2 | -32/+25 | |
2021-03-08 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -109/+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. | |||||
2021-03-08 | Use a fixed-size reader stack | David Robillard | 14 | -206/+259 | |
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. | |||||
2021-03-07 | Simplify reader interface | David Robillard | 8 | -167/+113 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 12 | -154/+334 | |
2021-03-07 | Use consistent naming for function types | David Robillard | 8 | -55/+55 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 11 | -93/+97 | |
2021-03-07 | Simplify reader interface | David Robillard | 6 | -162/+121 | |
2021-03-07 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 4 | -39/+135 | |