Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 3 | -19/+13 | |
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future. | |||||
2021-03-08 | Report writer errors and add strict write mode | David Robillard | 3 | -177/+259 | |
2021-03-08 | Align node allocations | David Robillard | 6 | -8/+46 | |
2021-03-08 | Add support for writing terse collections | David Robillard | 1 | -12/+23 | |
2021-03-08 | Tolerate lack of predicate when context is popped | David Robillard | 1 | -1/+2 | |
2021-03-08 | Reset writer to empty when finished to avoid spurious blank lines | David Robillard | 1 | -0/+1 | |
2021-03-08 | Pass context flags to write_sep() | David Robillard | 1 | -22/+24 | |
2021-03-08 | Add initial flags to write context | David Robillard | 1 | -21/+24 | |
2021-03-08 | Simplify internal writer context API | David Robillard | 1 | -31/+31 | |
2021-03-08 | Strengthen writer statement preconditions | David Robillard | 1 | -1/+3 | |
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 | |