Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Add option for writing terse output without newlines | David Robillard | 2 | -25/+27 | |
2021-03-08 | Factor out writing top level separator | David Robillard | 1 | -7/+10 | |
2021-03-08 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2021-03-08 | WIP: Fix reading from socket-like streams | David Robillard | 1 | -0/+1 | |
2021-03-08 | Make reader tolerant of being started several times | David Robillard | 1 | -0/+4 | |
2021-03-08 | WIP: Write invalid characters in URIs with percent encoding | David Robillard | 1 | -5/+9 | |
2021-03-08 | Handle read errors more precisely | David Robillard | 3 | -27/+21 | |
2021-03-08 | Simplify reader stack pushing code | David Robillard | 1 | -6/+6 | |
2021-03-08 | Use simpler names for statement flags | David Robillard | 2 | -22/+19 | |
2021-03-08 | Simplify streaming API and improve pretty printing | David Robillard | 4 | -164/+270 | |
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 | 3 | -15/+47 | |
2021-03-08 | Add SerdNodes class for storing a cache of nodes | David Robillard | 3 | -1/+146 | |
2021-03-08 | Add zix data structures | David Robillard | 8 | -0/+1838 | |
2021-03-08 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+42 | |
2021-03-08 | Separate ByteSink from Writer | David Robillard | 2 | -12/+18 | |
2021-03-08 | Expose SerdByteSink in public API | David Robillard | 2 | -5/+110 | |
2021-03-08 | Simplify writer style options | David Robillard | 2 | -33/+6 | |
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 | 4 | -41/+58 | |
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 | 5 | -12/+115 | |
2021-03-08 | Add SerdCursor | David Robillard | 7 | -39/+162 | |
2021-03-08 | Remove serd_reader_set_default_graph() | David Robillard | 2 | -22/+7 | |
2021-03-08 | Move SerdField to public API | David Robillard | 1 | -46/+40 | |
2021-03-08 | Simplify SerdEnv API | David Robillard | 3 | -13/+59 | |
2021-03-08 | Add serd_world_get_blank() | David Robillard | 2 | -2/+27 | |
2021-03-08 | Move fopen wrapper to world | David Robillard | 5 | -29/+37 | |
2021-03-08 | Move error handling to world | David Robillard | 5 | -51/+53 | |
2021-03-08 | Add SerdWorld for shared library state | David Robillard | 9 | -39/+105 | |
2021-03-08 | Add numeric node construction and access API | David Robillard | 3 | -13/+68 | |
2021-03-08 | Add serd_new_float() and serd_new_double() | David Robillard | 3 | -0/+30 | |
2021-03-08 | Add serd_new_boolean() | David Robillard | 2 | -0/+9 | |
2021-03-08 | Remove serd_node_align constant | David Robillard | 1 | -10/+8 | |
2021-03-08 | WIP: Use exess for reading and writing numeric and binary literals | David Robillard | 3 | -261/+102 | |
2021-03-08 | Simplify literal construction API | David Robillard | 2 | -40/+76 | |
2021-03-08 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 1 | -2/+14 | |
2021-03-08 | Move syntax name/extension utilities to public API | David Robillard | 2 | -51/+73 | |
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 | 7 | -198/+235 | |
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 | 5 | -135/+78 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 7 | -77/+197 | |
2021-03-07 | Use consistent naming for function types | David Robillard | 7 | -36/+36 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 8 | -56/+53 | |