Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Split up public API header | David Robillard | 1 | -921/+25 | |
2023-12-02 | Remove "get" from accessor names | David Robillard | 1 | -4/+4 | |
2023-12-02 | Rename function types for consistency | David Robillard | 1 | -22/+22 | |
2023-12-02 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -9/+12 | |
2023-12-02 | Rename SerdType to SerdNodeType | David Robillard | 1 | -4/+4 | |
The old name will be even more ambiguous with the increased scope. | |||||
2023-12-02 | Rename SerdURI to SerdURIView | David Robillard | 1 | -39/+39 | |
2023-12-02 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -14/+19 | |
2023-12-02 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -9/+15 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -52/+51 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2023-12-02 | 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. | |||||
2023-12-02 | Remove useless character counting | David Robillard | 1 | -5/+2 | |
2023-12-02 | Remove serd_uri_to_path() | David Robillard | 1 | -27/+0 | |
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 1 | -0/+2 | |
2023-04-05 | Improve writer error handling | David Robillard | 1 | -0/+1 | |
2023-04-05 | Update to clang-format 12 | David Robillard | 1 | -128/+63 | |
2022-12-20 | Avoid using ASCII grave as a quote | David Robillard | 1 | -2/+2 | |
2022-12-19 | Allow SERD_API to be defined by the user | David Robillard | 1 | -8/+11 | |
2022-12-09 | Add serd_reader_skip_until_byte() to public API | David Robillard | 1 | -0/+13 | |
2022-10-23 | Fix whitespace | David Robillard | 1 | -2/+2 | |
2022-10-23 | Add trailing commas to enum declarations | David Robillard | 1 | -5/+5 | |
This has been supported since C99 and C++11, and makes for less noisy diffs and fewer conflicts when things are added. | |||||
2022-10-23 | Use uppercase integer literal suffixes | David Robillard | 1 | -15/+15 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-06-30 | Make node qualify and expand functions tolerate a null Env | David Robillard | 1 | -3/+3 | |
This is convenient in places where you don't necessarily need an Env, since these methods will work the same as with an empty Env. | |||||
2021-06-30 | Format long comments consistently | David Robillard | 1 | -14/+14 | |
2021-06-06 | Move type definitions inside the corresponding documentation group | David Robillard | 1 | -102/+102 | |
2021-04-12 | Group API declarations by topic | David Robillard | 1 | -42/+47 | |
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 | 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. | |||||
2020-11-10 | Add const, pure, and malloc function attributes | David Robillard | 1 | -5/+16 | |
2020-11-10 | Simplify visibility boilerplate | David Robillard | 1 | -13/+6 | |
2020-11-09 | Fix clang-tidy hicpp-signed-bitwise warnings in header | David Robillard | 1 | -15/+15 | |
In exchange for suppressing a pointless superficial warning instead, but I dislike that convention since it looks confusing when hex digits are used and it's inconsistent with near-universal floating point suffix convention. | |||||
2020-11-09 | Move header to conventional include directory | David Robillard | 1 | -0/+1098 | |