Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Add support for custom allocators | David Robillard | 1 | -48/+0 | |
This makes it explicit in the API where memory is allocated, and allows the user to provide a custom allocator to avoid the use of the default system allocator for whatever reason. | |||||
2023-12-02 | Split up serd_internal.h | David Robillard | 1 | -1/+0 | |
2023-12-02 | Use thread-safe strerror_r() if available | David Robillard | 1 | -0/+14 | |
2023-12-02 | Move fopen wrapper to world | David Robillard | 1 | -21/+0 | |
2023-12-02 | Align node allocations | David Robillard | 1 | -0/+15 | |
2022-11-24 | Explicitly ignore the posix_fadvise() return value | David Robillard | 1 | -1/+1 | |
I can't figure out a sensible way to test this, and even if it did fail, at most a warning message could be printed because this is just a performance hint anyway. | |||||
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2022-07-16 | Define _POSIX_C_SOURCE globally in the build system | David Robillard | 1 | -2/+0 | |
Using inconsistent defines like this that affect the standard library implementation can cause issues. So, doing this consistently for the whole library is a better approach, although it unfortunately makes the code more difficult to compile manually. | |||||
2021-05-31 | Make most function parameters const | David Robillard | 1 | -1/+1 | |
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-01-17 | Remove aligned_alloc support | David Robillard | 1 | -2/+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-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2021-01-01 | Remove the need for a generated configuration header | David Robillard | 1 | -4/+4 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -20/+21 | |
2020-11-15 | Only use aligned_alloc in C11 | David Robillard | 1 | -1/+1 | |
2020-11-13 | Remove dead code | David Robillard | 1 | -19/+0 | |
2020-11-13 | Use aligned allocation via C11 or Windows API where possible | David Robillard | 1 | -3/+46 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+59 | |