Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-14 | Rename serd_new_simple_node() to serd_new_token() | David Robillard | 1 | -7/+3 | |
Things get confusing without a term for this concept (which is roughly "nodes that are not annoying to construct"), so "token" it is. | |||||
2022-01-14 | Preserve long or short quoting from input documents | David Robillard | 1 | -66/+75 | |
2022-01-14 | Factor out serd_write_file_uri() | David Robillard | 1 | -70/+2 | |
2022-01-14 | Add serd_node_compare() | David Robillard | 1 | -0/+27 | |
2022-01-14 | Remove SERD_CURIE node datatype entirely | David Robillard | 1 | -9/+2 | |
2022-01-13 | Add support for parsing variables | David Robillard | 1 | -1/+2 | |
This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries. | |||||
2022-01-13 | Make serd_uri_string_length() precise and add it to public API | David Robillard | 1 | -21/+6 | |
2022-01-13 | Be precise about the meaning of node "length" and "size" | David Robillard | 1 | -28/+22 | |
2022-01-13 | Split up serd_internal.h | David Robillard | 1 | -1/+1 | |
2022-01-13 | Simplify writer style options | David Robillard | 1 | -1/+1 | |
2022-01-13 | Add SerdNodes for storing a cache of interned nodes | David Robillard | 1 | -1/+0 | |
2022-01-13 | Clean up base64 node construction and access API | David Robillard | 1 | -0/+27 | |
2022-01-13 | Clean up numeric node construction and access API | David Robillard | 1 | -0/+104 | |
2022-01-13 | Add serd_new_boolean() | David Robillard | 1 | -0/+7 | |
2022-01-13 | Use exess for reading and writing numeric and binary literals | David Robillard | 1 | -110/+78 | |
2022-01-13 | Simplify literal construction API | David Robillard | 1 | -32/+62 | |
2022-01-13 | Add debug checks for node padding | David Robillard | 1 | -8/+32 | |
2022-01-13 | Zero node padding before passing to reader sinks | David Robillard | 1 | -1/+29 | |
2022-01-13 | Use a fixed-size reader stack | David Robillard | 1 | -2/+0 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -9/+11 | |
2022-01-13 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -27/+51 | |
2022-01-13 | Simplify node construction API | David Robillard | 1 | -66/+86 | |
2022-01-13 | Merge datatype/language into node | David Robillard | 1 | -5/+114 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2022-01-13 | Simplify URI API and implementation | David Robillard | 1 | -73/+47 | |
2022-01-13 | Add serd_node_uri_view() | David Robillard | 1 | -0/+12 | |
2022-01-13 | Add serd_node_string_view() | David Robillard | 1 | -0/+8 | |
2022-01-13 | Align node allocations | David Robillard | 1 | -11/+35 | |
2022-01-13 | Make nodes opaque | David Robillard | 1 | -76/+104 | |
2022-01-13 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2022-01-13 | Shorten node constructor names | David Robillard | 1 | -24/+22 | |
2022-01-13 | Rename SerdType to SerdNodeType | David Robillard | 1 | -4/+4 | |
The old name will be even more ambiguous with the increased scope. | |||||
2022-01-13 | Rename SerdURI to SerdURIView | David Robillard | 1 | -19/+19 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 1 | -30/+29 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -9/+9 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2022-01-13 | Remove escape parameter from serd_node_new_file_uri | David Robillard | 1 | -3/+2 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2022-01-13 | Remove useless character counting | David Robillard | 1 | -22/+14 | |
2021-06-30 | Move local URI utility functions | David Robillard | 1 | -28/+28 | |
2021-05-31 | Make most function parameters const | David Robillard | 1 | -26/+32 | |
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required. | |||||
2021-05-31 | Remove "static inline" for functions in implementation files | David Robillard | 1 | -2/+2 | |
This is just noise since these are static functions local to a C compilation unit. | |||||
2021-05-31 | Clean up switch case comments | David Robillard | 1 | -5/+5 | |
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 | 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-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -237/+256 | |
2020-08-14 | Separate base64 implementation | David Robillard | 1 | -33/+4 | |
2020-08-14 | Use SerdNodeFlags type everywhere | David Robillard | 1 | -7/+7 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+3 | |
2020-07-06 | Fix spurious semicolon warnings | David Robillard | 1 | -5/+5 | |
2020-07-06 | Fix format conversion warnings | David Robillard | 1 | -1/+4 | |