Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
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 | |