Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-20 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 1 | -4/+4 | |
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future. | |||||
2019-12-20 | Report writer errors and add strict write mode | David Robillard | 1 | -1/+38 | |
2019-12-20 | Improve Env test coverage | David Robillard | 1 | -0/+3 | |
2019-12-20 | Add test for serd_strerror with unknown errors | David Robillard | 1 | -2/+3 | |
2019-12-20 | Fix reading from socket-like streams and add test | David Robillard | 1 | -0/+65 | |
2019-12-20 | Fix various warnings and conversion issues | David Robillard | 1 | -10/+24 | |
2019-12-20 | Add serd_new_boolean() | David Robillard | 1 | -0/+17 | |
2019-12-20 | Remove reader status and handle errors more precisely | David Robillard | 1 | -1/+1 | |
2019-12-20 | Add model validation | David Robillard | 1 | -1/+1 | |
2019-12-19 | Add Env to Sink | David Robillard | 1 | -4/+5 | |
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-12-19 | Clean up and expose base64 implementation | David Robillard | 1 | -6/+7 | |
2019-12-19 | Remove serd_env_foreach() | David Robillard | 1 | -2/+4 | |
2019-12-19 | Simplify reader test sink | David Robillard | 1 | -28/+23 | |
2019-12-19 | Improve node test coverage | David Robillard | 1 | -0/+6 | |
2019-12-19 | Ensure serd_new_resolved_uri returns an absolute URI or NULL | David Robillard | 1 | -1/+3 | |
2019-12-19 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+16 | |
2019-12-19 | Separate ByteSink from Writer | David Robillard | 1 | -3/+11 | |
2019-12-19 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -9/+2 | |
2019-12-19 | Add rooted URI resolution test | David Robillard | 1 | -1/+2 | |
2019-12-19 | Make reader return failure when no statement is read | David Robillard | 1 | -2/+2 | |
2019-12-19 | Separate style enum from style flags types | David Robillard | 1 | -2/+2 | |
2019-12-19 | Make SerdSink opaque | David Robillard | 1 | -8/+16 | |
2019-12-19 | Simplify SerdEnv API | David Robillard | 1 | -22/+27 | |
2019-12-19 | Remove escape parameter from serd_new_file_uri | David Robillard | 1 | -9/+6 | |
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-12-19 | Shorten node constructor names | David Robillard | 1 | -76/+85 | |
2019-12-19 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -19/+12 | |
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-12-19 | Clean up reader error handling | David Robillard | 1 | -5/+0 | |
2019-12-19 | Use a fixed-size reader stack | David Robillard | 1 | -3/+3 | |
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-12-19 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -7/+19 | |
2019-12-19 | Add serd_world_get_blank() | David Robillard | 1 | -0/+18 | |
2019-12-19 | Clean up node construction API | David Robillard | 1 | -83/+120 | |
2019-12-19 | Clean up includes and improve source file separation | David Robillard | 1 | -1/+2 | |
2019-12-19 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -13/+11 | |
2019-12-19 | Add blank node API | David Robillard | 1 | -0/+16 | |
2019-12-19 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -3/+9 | |
2019-12-19 | Add SerdWorld for shared library state | David Robillard | 1 | -5/+17 | |
2019-12-19 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -24/+20 | |
2019-12-19 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2019-12-19 | Merge datatype and/or language into node | David Robillard | 1 | -32/+59 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2019-12-19 | Simplify reader interface | David Robillard | 1 | -2/+12 | |
2019-12-19 | Remove serd_uri_to_path() | David Robillard | 1 | -29/+0 | |
2019-12-19 | Make nodes opaque | David Robillard | 1 | -160/+192 | |
2019-12-19 | Add support for parsing NaN, INF, and -INF | David Robillard | 1 | -0/+10 | |
2019-12-19 | Make serd_strtod API const-correct | David Robillard | 1 | -2/+3 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API. | |||||
2019-12-18 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -1/+2 | |
2019-12-18 | Use char* for strings in public API | David Robillard | 1 | -91/+86 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2019-12-18 | Remove useless character counting | David Robillard | 1 | -19/+9 | |
2019-12-14 | Use SerdBuffer for mutable buffers | David Robillard | 1 | -4/+4 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2019-12-14 | Fix function prototype | David Robillard | 1 | -1/+1 | |
2019-12-14 | Split up unit tests | David Robillard | 1 | -39/+100 | |