Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2020-10-27 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -98/+51 | |
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items. | |||||
2020-10-27 | Use a fixed-size reader stack | David Robillard | 13 | -188/+240 | |
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. | |||||
2020-10-27 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 4 | -38/+129 | |
2020-10-27 | Add serd_world_get_blank() | David Robillard | 4 | -2/+53 | |
2020-10-27 | Clean up node construction API | David Robillard | 9 | -231/+323 | |
2020-10-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 11 | -193/+129 | |
2020-10-27 | Add blank node API | David Robillard | 4 | -0/+40 | |
2020-10-27 | Make serd_node_new_literal take datatype as a node | David Robillard | 3 | -12/+21 | |
2020-10-27 | Move error handling to world | David Robillard | 5 | -38/+43 | |
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 13 | -67/+172 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 8 | -136/+92 | |
2020-10-27 | Bring read/write interface closer to C standard | David Robillard | 11 | -85/+90 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 8 | -95/+252 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Simplify reader interface | David Robillard | 6 | -155/+120 | |
2020-10-27 | Remove serd_uri_to_path() | David Robillard | 5 | -65/+9 | |
2020-10-27 | Remove SERD_NOTHING node type | David Robillard | 5 | -30/+1 | |
2020-10-27 | Make nodes opaque | David Robillard | 10 | -408/+464 | |
2020-10-27 | Use opaque node API | David Robillard | 4 | -55/+76 | |
2020-10-27 | Add node accessor API | David Robillard | 2 | -0/+52 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 6 | -15/+13 | |
2020-10-27 | Add support for parsing NaN, INF, and -INF | David Robillard | 2 | -4/+24 | |
2020-10-27 | Make serd_strtod API const-correct | David Robillard | 4 | -8/+12 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the standard C API. | |||||
2020-10-27 | Rename SerdChunk to SerdStringView | David Robillard | 7 | -30/+30 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 20 | -336/+321 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 10 | -91/+53 | |
2020-10-27 | Add SerdBuffer type for mutable buffers | David Robillard | 7 | -32/+47 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2020-10-27 | Add a test for reading strings with no trailing newline | David Robillard | 1 | -0/+23 | |
2020-10-27 | Simplify reader byte reading interface | David Robillard | 1 | -10/+3 | |
This eliminates eat_byte() and the way it conflates the status of advancing the source with the current character, which can cause problems with custom sinks. | |||||
2020-10-27 | Update autowaf | David Robillard | 1 | -0/+0 | |
2020-10-27 | Update autowaf | David Robillard | 2 | -2/+2 | |
2020-09-27 | Serd 0.30.6v0.30.6 | David Robillard | 2 | -3/+3 | |
2020-09-27 | Update stale copyright dates | David Robillard | 5 | -5/+5 | |
2020-09-26 | Update autowaf | David Robillard | 1 | -0/+0 | |
2020-09-26 | Update autowaf | David Robillard | 1 | -0/+0 | |
2020-08-16 | Use conventional short variable name for status | David Robillard | 1 | -8/+8 | |
2020-08-16 | Ensure that all free methods tolerate NULL | David Robillard | 6 | -1/+49 | |
2020-08-16 | Move Env tests to a separate file | David Robillard | 3 | -64/+97 | |
2020-08-16 | Add test for reading chunks | David Robillard | 2 | -0/+122 | |
2020-08-16 | Fix loop index variable type | David Robillard | 1 | -5/+5 | |
2020-08-16 | Fix handling of bad syntax that ends a collection | David Robillard | 3 | -1/+9 | |
2020-08-16 | Fix EOF and null byte handling | David Robillard | 3 | -3/+12 | |
This is a bit questionable, but the null byte support is needed for streaming over a socket where some delimiter is required. This caused a bug where serdi would hang forever on corrupt files that contain a null byte. Fix this by consuming the byte, but otherwise behaving as before. | |||||
2020-08-16 | Add a test for reading from socket-like streams | David Robillard | 1 | -0/+61 | |
2020-08-15 | Clean up reader error handling | David Robillard | 5 | -315/+363 | |
2020-08-15 | Make read_String() return a status | David Robillard | 1 | -42/+47 | |
2020-08-15 | Make read_IRIREF_scheme() return a status | David Robillard | 1 | -15/+11 | |