Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Add test for failure while writing a list from a model | David Robillard | 1 | -0/+68 | |
2020-10-27 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 7 | -35/+31 | |
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 | 7 | -177/+274 | |
2020-10-27 | Align nodes with posix_memalign if possible | David Robillard | 10 | -41/+95 | |
2020-10-27 | Use C11 if possible | David Robillard | 2 | -1/+4 | |
2020-10-27 | Add support for writing terse collections | David Robillard | 10 | -18/+207 | |
2020-10-27 | Tolerate lack of predicate when context is popped | David Robillard | 1 | -1/+2 | |
2020-10-27 | Reset writer to empty when finished to avoid spurious blank lines | David Robillard | 1 | -0/+1 | |
2020-10-27 | Pass context flags to write_sep() | David Robillard | 1 | -22/+24 | |
2020-10-27 | Add initial flags to write context | David Robillard | 1 | -14/+22 | |
2020-10-27 | Simplify internal writer context API | David Robillard | 1 | -21/+17 | |
2020-10-27 | Strengthen writer statement preconditions | David Robillard | 1 | -1/+3 | |
2020-10-27 | Add option for writing terse output without newlines | David Robillard | 5 | -28/+36 | |
2020-10-27 | Factor out writing top level separator | David Robillard | 1 | -6/+10 | |
2020-10-27 | Rename writer flags for consistency with enum type | David Robillard | 3 | -8/+8 | |
2020-10-27 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2020-10-27 | Simplify writer statement validity checking | David Robillard | 1 | -3/+2 | |
2020-10-27 | WIP: Fix reading from socket-like streams | David Robillard | 1 | -0/+1 | |
2020-10-27 | Make reader tolerant of being started several times | David Robillard | 1 | -0/+4 | |
2020-10-27 | Fix various warnings and conversion issues | David Robillard | 15 | -66/+63 | |
2020-10-27 | Add serd_new_boolean() | David Robillard | 4 | -0/+29 | |
2020-10-27 | Handle read errors more precisely | David Robillard | 5 | -25/+22 | |
2020-10-27 | Add model validation | David Robillard | 6 | -4/+928 | |
2020-10-27 | Add model to benchmarks | David Robillard | 1 | -3/+4 | |
2020-10-27 | Add model | David Robillard | 20 | -5/+3070 | |
2020-10-27 | Add function to SerdSink for freeing opaque handle | David Robillard | 7 | -10/+23 | |
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 | Use consistent naming for function types | David Robillard | 4 | -23/+23 | |
2020-10-27 | Add extensible logging API | David Robillard | 8 | -73/+281 | |
2020-10-27 | Use line comments where appropriate and clean up header | David Robillard | 1 | -435/+212 | |
2020-10-27 | Use public sink interface in reader | David Robillard | 4 | -18/+14 | |
2020-10-27 | Rename SerdStyle to SerdWriterFlags | David Robillard | 3 | -35/+35 | |
2020-10-27 | Rename SerdType to SerdNodeType | David Robillard | 5 | -20/+27 | |
The old name has become ambiguous with the expanded scope of serd. | |||||
2020-10-27 | Clean up and expose base64 implementation | David Robillard | 6 | -26/+194 | |
2020-10-27 | Expose the node cache in the world | David Robillard | 2 | -0/+17 | |
2020-10-27 | Remove serd_env_foreach() | David Robillard | 3 | -21/+4 | |
This is not particularly useful except to write prefixes, which is what serd_env_write_prefixes is for, and the name implies that namespace prefixes are the only thing in an Env, which will be problematic in the future. | |||||
2020-10-27 | Add serd_env_write_prefixes() | David Robillard | 2 | -0/+16 | |
2020-10-27 | Simplify reader test sink | David Robillard | 1 | -34/+29 | |
2020-10-27 | Add serd_node_compare() | David Robillard | 2 | -0/+30 | |
2020-10-27 | Add stack overflow tests | David Robillard | 2 | -0/+71 | |
2020-10-27 | Simplify reader stack pushing code | David Robillard | 1 | -8/+10 | |
2020-10-27 | Ensure serd_new_resolved_uri returns an absolute URI or NULL | David Robillard | 3 | -8/+17 | |
2020-10-27 | Use simpler names for statement flags | David Robillard | 3 | -26/+24 | |
2020-10-27 | Simplify streaming API and improve pretty printing | David Robillard | 9 | -169/+326 | |
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. | |||||
2020-10-27 | Cache commonly used nodes in the world | David Robillard | 3 | -14/+32 | |
2020-10-27 | Add SerdNodes class for storing a cache of nodes | David Robillard | 7 | -2/+309 | |
2020-10-27 | Add serd_env_copy() and serd_env_equals() | David Robillard | 3 | -0/+69 | |
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 | |