Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Use ZixAllocator directly | David Robillard | 1 | -8/+0 | |
2023-12-02 | Add model and serd-sort utility | David Robillard | 1 | -0/+4 | |
With all the new functionality, the complexity of the serd-pipe command-line interface is starting to push the limits of available flags. So, instead of grafting on further options to control a model, this commit adds a new tool, serd-sort, which acts somewhat like a stripped-down serd-pipe that stores statements in a model in memory. This keeps the complexity (including the user-facing complexity) of any one tool down, since other more focused tools can be used for streaming tasks in a pipeline. In other words, abandon Swissarmyknifeism, take a page from the Unix philosophy, and try to expose the model functionality to the command-line in a dedicated focused tool. The model implementation is tested by using this tool to run a subset of the usual test suites, and a special suite to test statement sorting. | |||||
2023-12-02 | Add statement filter sink and serd-filter tool | David Robillard | 1 | -0/+2 | |
2023-12-02 | Expose serd_strncasecmp in public API | David Robillard | 1 | -1/+17 | |
2023-12-02 | Add support for custom allocators | David Robillard | 1 | -4/+4 | |
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 | [WIP] Preserve long or short quoting from input documents | David Robillard | 1 | -53/+0 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -0/+2 | |
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future. | |||||
2023-12-02 | Clean up numeric node construction and access API | David Robillard | 1 | -14/+0 | |
2023-12-02 | [WIP] Use exess for reading and writing numeric and binary literals | David Robillard | 1 | -60/+7 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 1 | -14/+32 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -1/+4 | |
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -18/+18 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2023-12-02 | Remove useless character counting | David Robillard | 1 | -32/+18 | |
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/+2 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-05-31 | Make most function parameters const | David Robillard | 1 | -5/+7 | |
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 | Remove default case from exhaustive switch | David Robillard | 1 | -2/+0 | |
2021-05-31 | Fix unannotated switch fallthroughs | David Robillard | 1 | -3/+8 | |
Unfortunately, clang does not support doing this with comments, requiring yet more preprocessor gunk. | |||||
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 | -105/+118 | |
2020-08-14 | Separate base64 implementation | David Robillard | 1 | -49/+0 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -1/+1 | |
2020-06-21 | Cleanup: Add missing default switch cases | David Robillard | 1 | -0/+3 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -1/+5 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -2/+6 | |
2018-09-04 | Fix fallthrough warnings with GCC8 | David Robillard | 1 | -3/+8 | |
2018-07-22 | Add serd_free for freeing memory allocated by serd | David Robillard | 1 | -0/+6 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -4/+0 | |
2017-07-09 | Add serd_node_from_substring() | David Robillard | 1 | -9/+38 | |
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers. | |||||
2017-06-30 | Fix various clang-tidy issues | David Robillard | 1 | -2/+2 | |
2016-07-09 | Fix construction of URIs with UTF-8 characters | David Robillard | 1 | -6/+9 | |
2012-07-05 | Add error callback to reader and writer for custom error reporting. | David Robillard | 1 | -1/+4 | |
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-01 | Tolerate NULL endptr in serd_strtod. | David Robillard | 1 | -1/+4 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@327 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-02-20 | Fix collection parsing code to not leak stack space. | David Robillard | 1 | -2/+1 | |
Collection parsing now truly uses O(1) memory. Trim some fat. git-svn-id: http://svn.drobilla.net/serd/trunk@309 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-16 | Support compilation as C++ under MSVC++ | David Robillard | 1 | -3/+3 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@291 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-16 | Update copyright dates. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@285 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-12-30 | Add serd_node_new_blob and serd_base64_decode for handling arbitrary binary | David Robillard | 1 | -0/+46 | |
data via base64 encoding. git-svn-id: http://svn.drobilla.net/serd/trunk@280 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-12-25 | Near 100% branch coverage. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@277 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-12-24 | Test serd_strlen and serd_strerror. | David Robillard | 1 | -0/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@265 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-12-19 | Add serd_strtod(), serd_node_new_decimal(), and serd_node_new_integer() for | David Robillard | 1 | -0/+55 | |
locale-independent numeric node parsing/serialising. git-svn-id: http://svn.drobilla.net/serd/trunk@260 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-11-04 | Move serd_strlen and serd_strerror to string.c and document both in "String ↵ | David Robillard | 1 | -0/+58 | |
Utilities" section. git-svn-id: http://svn.drobilla.net/serd/trunk@229 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-01-24 | Remove SerdString cruft. | David Robillard | 1 | -91/+0 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@54 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-01-24 | Remove SerdString from public API in favour of more expressive (and not ↵ | David Robillard | 1 | -8/+27 | |
necessarily inline with data payload) SerdNode. git-svn-id: http://svn.drobilla.net/serd/trunk@53 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-01-20 | Add serd_string_free to API. | David Robillard | 1 | -0/+7 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@13 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-01-20 | Rework character reading functions to support reading multi-byte characters ↵ | David Robillard | 1 | -0/+65 | |
(take a string dest parameter instead of returning uchar). Escape ntriples output. Pass all good read tests with output verification. git-svn-id: http://svn.drobilla.net/serd/trunk@8 490d8e77-9747-427b-9fa3-0b8f29cee8a0 |