Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Simplify literal construction API | David Robillard | 1 | -5/+14 | |
2021-03-08 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 1 | -1/+5 | |
2021-03-08 | Move syntax name/extension utilities to public API | David Robillard | 1 | -0/+36 | |
2021-03-08 | Use a fixed-size reader stack | David Robillard | 1 | -2/+5 | |
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 | 1 | -11/+14 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 1 | -48/+91 | |
2021-03-07 | Use consistent naming for function types | David Robillard | 1 | -19/+19 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 1 | -32/+33 | |
2021-03-07 | Simplify reader interface | David Robillard | 1 | -38/+22 | |
2021-03-07 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -4/+16 | |
2021-03-07 | Simplify node construction API | David Robillard | 1 | -40/+38 | |
2021-03-07 | Simplify URI API and implementation | David Robillard | 1 | -82/+90 | |
2021-03-07 | Add serd_node_uri_view() | David Robillard | 1 | -0/+15 | |
2021-03-07 | Add serd_node_string_view() | David Robillard | 1 | -0/+10 | |
2021-03-07 | Merge datatype/language into node | David Robillard | 1 | -15/+36 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2021-03-07 | Remove SERD_NOTHING node type | David Robillard | 1 | -7/+0 | |
2021-03-07 | Make nodes opaque | David Robillard | 1 | -53/+32 | |
2021-03-07 | Add node accessor API | David Robillard | 1 | -0/+20 | |
2021-03-07 | Shorten node constructor names | David Robillard | 1 | -22/+22 | |
2021-03-07 | Add string view construction macros | David Robillard | 1 | -0/+30 | |
2021-03-07 | Remove "get" from accessor names | David Robillard | 1 | -4/+4 | |
2021-03-07 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -8/+11 | |
2021-03-07 | Rename SerdType to SerdNodeType | David Robillard | 1 | -4/+4 | |
The old name will be even more ambiguous with the increased scope. | |||||
2021-03-07 | Rename SerdURI to SerdURIView | David Robillard | 1 | -39/+39 | |
2021-03-07 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -13/+13 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 1 | -52/+51 | |
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 | 1 | -5/+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 | 1 | -5/+2 | |
2021-03-07 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -8/+14 | |
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 | -28/+0 | |
2021-01-10 | Only use modern deprecated attributes on clang 7 and newer | David Robillard | 1 | -1/+1 | |
2021-01-10 | Only use nullability attributes on clang 7 and newer | David Robillard | 1 | -1/+1 | |
These have existed for longer, but the names were changed. | |||||
2021-01-09 | Fix SERD_DISABLE_DEPRECATED | David Robillard | 1 | -0/+4 | |
2021-01-07 | Use globally unique Doxygen group names | David Robillard | 1 | -8/+8 | |
This is necessary to avoid clashes when building unified documentation as a subproject. | |||||
2021-01-06 | Switch to LV2 documentation theme | David Robillard | 1 | -2/+2 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2021-01-02 | Use SERD_STATIC instead of SERD_SHARED to control visibility | David Robillard | 1 | -3/+3 | |
For consistency, this seems to be the most common convention. | |||||
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -138/+143 | |
2020-12-21 | Generate documentation with Sphinx | David Robillard | 1 | -8/+8 | |
2020-12-18 | Fix build on ancient GCC | David Robillard | 1 | -1/+3 | |
2020-12-15 | Suppress new clang-tidy warnings | David Robillard | 1 | -0/+1 | |
2020-12-15 | Fix nullable annotations on allocating function return values | David Robillard | 1 | -2/+2 | |
2020-11-15 | Strengthen null annotation on serd_env_get_base_uri() | David Robillard | 1 | -1/+1 | |
2020-11-14 | Deprecate serd_uri_to_path() | David Robillard | 1 | -1/+11 | |
2020-11-13 | Improve documentation | David Robillard | 1 | -19/+36 | |
2020-11-13 | Use line comment | David Robillard | 1 | -3/+1 | |
2020-11-13 | Improve documentation summary for SerdEnv | David Robillard | 1 | -6/+1 | |
2020-11-13 | Use line comments where appropriate and clean up header | David Robillard | 1 | -222/+115 | |
2020-11-12 | Relax nullability annotation on allocation functions | David Robillard | 1 | -3/+5 | |
In practice almost nobody checks for failed allocation, including unfortunately the serd tests and serdi itself. Adding a struct mode to conditionally define this would be a good idea to support allocation-hardened code, but for now just mark them as unspecified instead. On the bright side, this documents the nature of the returned pointers nicely. | |||||
2020-11-11 | Add nonnull and nullable attributes to API | David Robillard | 1 | -183/+214 | |
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds. |