Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Move syntax name/extension utilities to public API | David Robillard | 2 | -51/+73 | |
2021-03-08 | Improve reader error handling | David Robillard | 1 | -31/+40 | |
2021-03-08 | Remove unnecessary parameter from read_LANGTAG() | David Robillard | 1 | -8/+8 | |
2021-03-08 | Set flags directly when reading literal nodes | David Robillard | 1 | -57/+35 | |
2021-03-08 | Improve push_byte() performance | David Robillard | 1 | -5/+4 | |
2021-03-08 | Add debug checks for node padding | David Robillard | 2 | -9/+37 | |
2021-03-08 | Zero node padding before passing to reader sinks | David Robillard | 5 | -2/+41 | |
2021-03-08 | Remove datatype and language from reader context | David Robillard | 2 | -32/+25 | |
2021-03-08 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -109/+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. | |||||
2021-03-08 | Use a fixed-size reader stack | David Robillard | 7 | -198/+235 | |
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 | 5 | -135/+78 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 7 | -77/+197 | |
2021-03-07 | Use consistent naming for function types | David Robillard | 7 | -36/+36 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 8 | -56/+53 | |
2021-03-07 | Simplify reader interface | David Robillard | 3 | -92/+74 | |
2021-03-07 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 2 | -28/+92 | |
2021-03-07 | Simplify node construction API | David Robillard | 5 | -150/+177 | |
2021-03-07 | Simplify URI API and implementation | David Robillard | 8 | -312/+290 | |
2021-03-07 | Add serd_node_uri_view() | David Robillard | 1 | -0/+12 | |
2021-03-07 | Add serd_node_string_view() | David Robillard | 1 | -0/+8 | |
2021-03-07 | Merge datatype/language into node | David Robillard | 5 | -65/+174 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2021-03-07 | Remove SERD_NOTHING node type | David Robillard | 2 | -4/+0 | |
2021-03-07 | Make nodes opaque | David Robillard | 9 | -272/+318 | |
2021-03-07 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2021-03-07 | Shorten node constructor names | David Robillard | 3 | -25/+23 | |
2021-03-07 | Remove "get" from accessor names | David Robillard | 3 | -7/+10 | |
2021-03-07 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -35/+35 | |
2021-03-07 | Rename SerdType to SerdNodeType | David Robillard | 4 | -17/+23 | |
The old name will be even more ambiguous with the increased scope. | |||||
2021-03-07 | Rename SerdURI to SerdURIView | David Robillard | 6 | -57/+59 | |
2021-03-07 | Rename SerdChunk to SerdStringView | David Robillard | 4 | -20/+14 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 16 | -238/+211 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2021-03-07 | Remove escape parameter from serd_node_new_file_uri | David Robillard | 2 | -4/+3 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2021-03-07 | Remove useless character counting | David Robillard | 7 | -77/+43 | |
2021-03-07 | Add SerdBuffer type for mutable buffers | David Robillard | 4 | -24/+23 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2021-03-07 | Remove serd_uri_to_path() | David Robillard | 1 | -26/+1 | |
2021-02-15 | Fix writing long literals with triple quotes | David Robillard | 2 | -3/+11 | |
2021-01-20 | Serd 0.30.10v0.30.10 | David Robillard | 1 | -1/+1 | |
2021-01-17 | Remove aligned_alloc support | David Robillard | 2 | -19/+0 | |
This causes build issues when targeting older versions of MacOS. That could be fixed, but I don't have the ability to reproduce it at the moment, and it's a problem in the build system check code which is about to be entirely replaced anyway. Since, as far as I know, this does not actually add aligned allocation support to any real system (they all support one of the other methods), just remove it for now. | |||||
2021-01-10 | Add missing includes | David Robillard | 1 | -0/+2 | |
2021-01-10 | Avoid use of strcpy | David Robillard | 1 | -3/+3 | |
Again, really just skirting around warnings here, but this is faster anyway since we know what we're doing here and doing require any fine-grained null termination. | |||||
2021-01-09 | Only define WIN32_LEAN_AND_MEAN for MSVC | David Robillard | 1 | -1/+3 | |
This avoids a warning with MinGW. | |||||
2021-01-09 | Avoid GCC warning about printed string overflow | David Robillard | 1 | -9/+14 | |
GCC seems to think there was a potential overflow here, but I don't see it. I think it just can't figure out that the printed text and the size both depend on the same variable. In any case, avoiding formatting functions here avoids the warning, and is probably faster anyway. | |||||
2021-01-09 | Avoid GCC warning about potential signed overflow | David Robillard | 1 | -1/+1 | |
2021-01-09 | Add missing pure attributes | David Robillard | 2 | -2/+2 | |
2021-01-09 | Fix fallback aligned_alloc() detection | David Robillard | 1 | -1/+1 | |
2021-01-09 | Fix SERD_DISABLE_DEPRECATED | David Robillard | 1 | -1/+1 | |
2021-01-07 | Update fallback version | David Robillard | 1 | -1/+1 | |
Oops. | |||||
2021-01-02 | Update date in version output | David Robillard | 1 | -1/+1 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 23 | -24/+24 | |
2021-01-01 | Remove the need for a generated configuration header | David Robillard | 3 | -6/+121 | |