Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-13 | Rename SerdError to SerdMessage | David Robillard | 1 | -14/+24 | |
Towards more general usage for all types of logging. | |||||
2019-04-13 | Use simpler names for statement flags | David Robillard | 1 | -5/+5 | |
2019-04-13 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -8/+5 | |
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. | |||||
2019-04-13 | Add SerdNodes class for storing a cache of nodes | David Robillard | 1 | -0/+65 | |
2019-04-13 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+14 | |
2019-04-13 | Separate ByteSink from Writer | David Robillard | 1 | -2/+1 | |
2019-04-13 | Expose SerdByteSink in public API | David Robillard | 1 | -0/+42 | |
2019-04-13 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -12/+0 | |
2019-04-13 | Simplify writer style options | David Robillard | 1 | -5/+2 | |
2019-04-13 | Separate style enum from style flags types | David Robillard | 1 | -1/+6 | |
2019-04-13 | Automatically finish reader on destruction | David Robillard | 1 | -0/+5 | |
2019-04-13 | Make SerdSink opaque | David Robillard | 1 | -11/+52 | |
2019-04-13 | Simplify SerdEnv API | David Robillard | 1 | -24/+6 | |
2019-04-13 | Add cursor to statement | David Robillard | 1 | -0/+7 | |
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser. | |||||
2019-04-13 | Add SerdCursor to public API | David Robillard | 1 | -8/+77 | |
2019-04-13 | Remove escape parameter from serd_new_file_uri | David Robillard | 1 | -4/+3 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2019-04-13 | Shorten node constructor names | David Robillard | 1 | -22/+32 | |
2019-04-13 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -6/+3 | |
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. | |||||
2019-04-13 | Add sink interface | David Robillard | 1 | -0/+60 | |
2019-04-13 | Add SerdStatement | David Robillard | 1 | -0/+48 | |
2019-04-13 | Move syntax name/extension utilities to public API | David Robillard | 1 | -0/+36 | |
2019-04-13 | Move SerdField to public API | David Robillard | 1 | -0/+10 | |
2019-04-13 | Use a fixed-size reader stack | David Robillard | 1 | -2/+6 | |
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. | |||||
2019-04-13 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -4/+20 | |
2019-04-13 | Add serd_world_get_blank() | David Robillard | 1 | -0/+10 | |
2019-04-13 | Clean up node construction API | David Robillard | 1 | -57/+40 | |
2019-04-13 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -11/+3 | |
2019-04-13 | Add blank node API | David Robillard | 1 | -0/+10 | |
2019-04-13 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -1/+3 | |
2019-04-13 | Add SerdWorld for shared library state | David Robillard | 1 | -26/+45 | |
2019-04-13 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -49/+19 | |
2019-04-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -21/+23 | |
2019-04-13 | Merge datatype and/or language into node | David Robillard | 1 | -8/+30 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2019-04-13 | Simplify reader interface | David Robillard | 1 | -36/+18 | |
2019-04-13 | Remove serd_uri_to_path() | David Robillard | 1 | -11/+0 | |
2019-04-13 | Make nodes opaque | David Robillard | 1 | -36/+22 | |
2019-04-13 | Add node accessor API | David Robillard | 1 | -0/+28 | |
2019-04-13 | Make serd_strtod API const-correct | David Robillard | 1 | -3/+5 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API. | |||||
2019-04-13 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -13/+13 | |
2019-04-13 | Use char* for strings in public API | David Robillard | 1 | -45/+45 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2019-04-13 | Remove useless character counting | David Robillard | 1 | -5/+3 | |
2019-04-13 | Use SerdBuffer for mutable buffers | David Robillard | 1 | -6/+14 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2019-01-05 | Remove ancient MSVC workaround for stdbool.h | David Robillard | 1 | -2/+1 | |
2018-07-22 | Add serd_free for freeing memory allocated by serd | David Robillard | 1 | -2/+13 | |
2018-06-03 | Move byte source/sink functions into their own section | David Robillard | 1 | -31/+37 | |
2018-06-03 | Fix comment typo | David Robillard | 1 | -1/+1 | |
2018-05-27 | Clarify errors returned by serd_env_expand() | David Robillard | 1 | -0/+5 | |
2018-04-01 | Fix comment typo | David Robillard | 1 | -1/+1 | |
2018-02-04 | Fix comment typo | David Robillard | 1 | -1/+1 | |
2017-07-09 | Add serd_node_from_substring() | David Robillard | 1 | -0/+10 | |
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers. |