Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-13 | Simplify writer statement validity checking | David Robillard | 1 | -3/+2 | |
2019-04-13 | Fix character conversion warnings | David Robillard | 1 | -1/+1 | |
2019-04-13 | Fix cast alignment warning | David Robillard | 1 | -4/+5 | |
2019-04-13 | Fix implicit signed conversions for writer indent | David Robillard | 1 | -3/+3 | |
2019-04-13 | Use consistent naming for function types | David Robillard | 1 | -5/+5 | |
2019-04-13 | Add Env to Sink | David Robillard | 1 | -33/+28 | |
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code. | |||||
2019-04-13 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -9/+9 | |
2019-04-13 | Rename SerdError to SerdMessage | David Robillard | 1 | -19/+19 | |
Towards more general usage for all types of logging. | |||||
2019-04-13 | Fix writer flags type | David Robillard | 1 | -18/+18 | |
2019-04-13 | Use simpler names for statement flags | David Robillard | 1 | -12/+12 | |
2019-04-13 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -108/+143 | |
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 | Cache commonly used nodes in the world | David Robillard | 1 | -10/+8 | |
2019-04-13 | Separate ByteSink from Writer | David Robillard | 1 | -7/+6 | |
2019-04-13 | Expose SerdByteSink in public API | David Robillard | 1 | -5/+4 | |
2019-04-13 | Simplify writer style options | David Robillard | 1 | -2/+2 | |
2019-04-13 | Avoid writing invalid prefixed name prefixes | David Robillard | 1 | -1/+2 | |
2019-04-13 | Separate style enum from style flags types | David Robillard | 1 | -1/+1 | |
2019-04-13 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2019-04-13 | Simplify SerdEnv API | David Robillard | 1 | -4/+7 | |
2019-04-13 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -6/+8 | |
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 | Move SerdField to public API | David Robillard | 1 | -46/+40 | |
2019-04-13 | Use a fixed-size reader stack | David Robillard | 1 | -1/+1 | |
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 | Clean up node construction API | David Robillard | 1 | -12/+7 | |
2019-04-13 | Clean up includes and improve source file separation | David Robillard | 1 | -7/+11 | |
2019-04-13 | Move system utilities to separate source files | David Robillard | 1 | -0/+1 | |
2019-04-13 | Move error handling to world | David Robillard | 1 | -21/+6 | |
2019-04-13 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+5 | |
2019-04-13 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -2/+21 | |
2019-04-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -14/+13 | |
2019-04-13 | Clean up and separate internal headers | David Robillard | 1 | -0/+14 | |
2019-04-13 | Merge datatype and/or language into node | David Robillard | 1 | -28/+20 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2019-04-13 | Make nodes opaque | David Robillard | 1 | -71/+78 | |
2019-04-13 | Use opaque node API | David Robillard | 1 | -29/+39 | |
2019-04-13 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -5/+5 | |
2019-04-13 | Use char* for strings in public API | David Robillard | 1 | -20/+20 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2019-04-13 | Remove useless character counting | David Robillard | 1 | -4/+3 | |
2019-04-13 | Use SerdBuffer for mutable buffers | David Robillard | 1 | -7/+7 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2019-01-05 | Fix unused parameter warnings | David Robillard | 1 | -2/+1 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -14/+0 | |
2018-06-10 | Remove syntax assumptions from SerdEnv implementation | David Robillard | 1 | -1/+15 | |
2018-05-27 | Clarify errors returned by serd_env_expand() | David Robillard | 1 | -5/+5 | |
2018-02-04 | Factor out syntax-specific reader implementation | David Robillard | 1 | -8/+0 | |
2017-11-05 | Factor out namespace defines | David Robillard | 1 | -3/+0 | |
2017-09-23 | Use more efficient stack allocation and growth policies | David Robillard | 1 | -1/+1 | |
2017-08-29 | Fix writing of corrupt UTF-8 | David Robillard | 1 | -8/+7 | |
2017-07-30 | Move parse_utf8_char to shared internal header | David Robillard | 1 | -20/+1 | |
2017-07-30 | Cleanup: Add push_bytes function to reduce code verbosity | David Robillard | 1 | -2/+0 | |
2017-07-10 | Cleanup: Separate writer code into smaller functions | David Robillard | 1 | -154/+207 | |
2017-07-10 | Gracefully handle applications that write corrupt UTF-8 | David Robillard | 1 | -7/+13 | |
2017-07-10 | Factor out UTF-8 character size counting | David Robillard | 1 | -23/+1 | |