Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Remove unnecessary parameter | David Robillard | 1 | -8/+8 | |
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 | 7 | -180/+219 | |
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 | 2 | -27/+90 | |
2020-10-27 | Add serd_world_get_blank() | David Robillard | 2 | -2/+25 | |
2020-10-27 | Clean up node construction API | David Robillard | 6 | -98/+151 | |
2020-10-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 9 | -163/+108 | |
2020-10-27 | Add blank node API | David Robillard | 1 | -0/+14 | |
2020-10-27 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -6/+8 | |
2020-10-27 | Move error handling to world | David Robillard | 5 | -38/+43 | |
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 7 | -33/+99 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 5 | -57/+48 | |
2020-10-27 | Bring read/write interface closer to C standard | David Robillard | 8 | -60/+62 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 5 | -50/+162 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Simplify reader interface | David Robillard | 3 | -90/+71 | |
2020-10-27 | Remove serd_uri_to_path() | David Robillard | 2 | -25/+8 | |
2020-10-27 | Remove SERD_NOTHING node type | David Robillard | 3 | -4/+1 | |
2020-10-27 | Make nodes opaque | David Robillard | 6 | -197/+236 | |
2020-10-27 | Use opaque node API | David Robillard | 4 | -55/+76 | |
2020-10-27 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 3 | -6/+5 | |
2020-10-27 | Add support for parsing NaN, INF, and -INF | David Robillard | 1 | -4/+14 | |
2020-10-27 | Make serd_strtod API const-correct | David Robillard | 1 | -3/+3 | |
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 | 4 | -15/+14 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 16 | -192/+184 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 7 | -67/+40 | |
2020-10-27 | Add SerdBuffer type for mutable buffers | David Robillard | 3 | -20/+21 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
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-09-27 | Update stale copyright dates | David Robillard | 3 | -3/+3 | |
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 | 3 | -0/+12 | |
2020-08-16 | Fix handling of bad syntax that ends a collection | David Robillard | 1 | -1/+2 | |
2020-08-16 | Fix EOF and null byte handling | David Robillard | 1 | -3/+6 | |
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-15 | Clean up reader error handling | David Robillard | 3 | -311/+358 | |
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 | |
2020-08-15 | Make r_err() return a status | David Robillard | 3 | -57/+80 | |
2020-08-15 | Make read_PrefixedName() return a status | David Robillard | 1 | -12/+17 | |
2020-08-15 | Make read_PERCENT() return a status | David Robillard | 1 | -8/+4 | |
2020-08-15 | Make read_UCHAR() and read_ECHAR() return a status | David Robillard | 1 | -21/+21 | |
2020-08-15 | Exploit push_byte return status | David Robillard | 1 | -2/+1 | |
2020-08-15 | Move prototype to a more sensible location | David Robillard | 1 | -4/+4 | |
2020-08-15 | Fix stack check C++ compatibility | David Robillard | 1 | -1/+1 | |
2020-08-15 | Harden prefixed name parsing | David Robillard | 1 | -9/+39 | |
2020-08-14 | Fix incorrect separator length | David Robillard | 1 | -1/+1 | |