Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Make const Env functions tolerant of NULL | David Robillard | 1 | -4/+4 | |
This is convenient in places where you don't necessarily need an Env, since in this case these methods work the same as if with an empty Env. | |||||
2021-03-08 | Add empty syntax type for suppressing output | David Robillard | 1 | -8/+9 | |
2021-03-08 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 1 | -13/+11 | |
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 | 1 | -2/+5 | |
2021-03-08 | Add support for writing terse collections | David Robillard | 1 | -1/+3 | |
2021-03-08 | Add option for writing terse output without newlines | David Robillard | 1 | -2/+3 | |
2021-03-08 | Handle read errors more precisely | David Robillard | 1 | -1/+2 | |
2021-03-08 | Use simpler names for statement flags | David Robillard | 1 | -5/+5 | |
2021-03-08 | 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. | |||||
2021-03-08 | Cache commonly used nodes in the world | David Robillard | 1 | -0/+11 | |
2021-03-08 | Add SerdNodes class for storing a cache of nodes | David Robillard | 1 | -0/+60 | |
2021-03-08 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+10 | |
2021-03-08 | Separate ByteSink from Writer | David Robillard | 1 | -2/+1 | |
2021-03-08 | Expose SerdByteSink in public API | David Robillard | 1 | -0/+38 | |
2021-03-08 | Simplify writer style options | David Robillard | 1 | -5/+4 | |
2021-03-08 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -46/+65 | |
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 | 1 | -6/+51 | |
2021-03-08 | Add SerdCursor | David Robillard | 1 | -9/+72 | |
2021-03-08 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -12/+0 | |
2021-03-08 | Move SerdField to public API | David Robillard | 1 | -0/+8 | |
2021-03-08 | Simplify SerdEnv API | David Robillard | 1 | -18/+8 | |
2021-03-08 | Add serd_world_get_blank() | David Robillard | 1 | -0/+10 | |
2021-03-08 | Add SerdWorld for shared library state | David Robillard | 1 | -26/+46 | |
2021-03-08 | Add numeric node construction and access API | David Robillard | 1 | -15/+48 | |
2021-03-08 | Add serd_new_float() and serd_new_double() | David Robillard | 1 | -1/+31 | |
2021-03-08 | Add serd_new_boolean() | David Robillard | 1 | -0/+5 | |
2021-03-08 | WIP: Use exess for reading and writing numeric and binary literals | David Robillard | 1 | -14/+4 | |
2021-03-08 | Simplify literal construction API | David Robillard | 1 | -5/+14 | |
2021-03-08 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 1 | -1/+5 | |
2021-03-08 | Move syntax name/extension utilities to public API | David Robillard | 1 | -0/+36 | |
2021-03-08 | Use a fixed-size reader stack | David Robillard | 1 | -2/+5 | |
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 | 1 | -11/+14 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 1 | -48/+91 | |
2021-03-07 | Use consistent naming for function types | David Robillard | 1 | -19/+19 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 1 | -32/+33 | |
2021-03-07 | Simplify reader interface | David Robillard | 1 | -38/+22 | |
2021-03-07 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -4/+16 | |
2021-03-07 | Simplify node construction API | David Robillard | 1 | -40/+38 | |
2021-03-07 | Simplify URI API and implementation | David Robillard | 1 | -82/+90 | |
2021-03-07 | Add serd_node_uri_view() | David Robillard | 1 | -0/+15 | |
2021-03-07 | Add serd_node_string_view() | David Robillard | 1 | -0/+10 | |
2021-03-07 | Merge datatype/language into node | David Robillard | 1 | -15/+36 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2021-03-07 | Remove SERD_NOTHING node type | David Robillard | 1 | -7/+0 | |
2021-03-07 | Make nodes opaque | David Robillard | 1 | -53/+32 | |
2021-03-07 | Add node accessor API | David Robillard | 1 | -0/+20 | |
2021-03-07 | Shorten node constructor names | David Robillard | 1 | -22/+22 | |
2021-03-07 | Add string view construction macros | David Robillard | 1 | -0/+30 | |
2021-03-07 | Remove "get" from accessor names | David Robillard | 1 | -4/+4 | |
2021-03-07 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -8/+11 | |
2021-03-07 | Rename SerdType to SerdNodeType | David Robillard | 1 | -4/+4 | |
The old name will be even more ambiguous with the increased scope. |