Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | Simplify literal construction API | David Robillard | 2 | -26/+41 | |
2021-03-08 | Use a fixed-size reader stack | David Robillard | 4 | -6/+9 | |
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 | 2 | -21/+21 | |
2021-03-07 | Add SerdSink interface and hide implementations | David Robillard | 3 | -29/+45 | |
2021-03-07 | Bring read/write interface closer to C standard | David Robillard | 1 | -5/+10 | |
2021-03-07 | Simplify reader interface | David Robillard | 2 | -32/+25 | |
2021-03-07 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -7/+27 | |
2021-03-07 | Simplify node construction API | David Robillard | 4 | -70/+112 | |
2021-03-07 | Simplify URI API and implementation | David Robillard | 3 | -42/+134 | |
2021-03-07 | Merge datatype/language into node | David Robillard | 3 | -48/+48 | |
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 | -15/+1 | |
2021-03-07 | Make nodes opaque | David Robillard | 4 | -157/+174 | |
2021-03-07 | Shorten node constructor names | David Robillard | 2 | -15/+13 | |
2021-03-07 | Remove "get" from accessor names | David Robillard | 2 | -7/+7 | |
2021-03-07 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -5/+4 | |
2021-03-07 | Rename SerdURI to SerdURIView | David Robillard | 1 | -9/+9 | |
2021-03-07 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -2/+2 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 5 | -95/+81 | |
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 | -10/+5 | |
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 | 2 | -17/+9 | |
2021-03-07 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -5/+5 | |
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 | -41/+0 | |
2021-03-07 | WIP: Switch to Meson | David Robillard | 4 | -0/+257 | |
2021-03-07 | Factor out test suite running to a standalone script | David Robillard | 1 | -0/+380 | |
2021-02-15 | Fix writing long literals with triple quotes | David Robillard | 1 | -0/+65 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 7 | -7/+7 | |
2020-12-31 | Format all code with clang-format | David Robillard | 7 | -614/+635 | |
2020-12-17 | Add test for attempting to convert a non-file URI to a path | David Robillard | 1 | -0/+3 | |
2020-12-15 | Suppress new clang-tidy warnings | David Robillard | 1 | -0/+3 | |
2020-11-14 | Deprecate serd_uri_to_path() | David Robillard | 1 | -0/+9 | |
2020-11-13 | Remove tests that pass null to nonnull parameters | David Robillard | 2 | -8/+4 | |
2020-11-13 | Add failure test for unescaped quotes in URIs | David Robillard | 2 | -0/+7 | |
2020-11-13 | Allow setting the base URI of an Env to NULL | David Robillard | 1 | -1/+6 | |
2020-11-12 | Use C11 if possible | David Robillard | 1 | -0/+1 | |
2020-11-12 | Suppress nullability warnings in tests | David Robillard | 1 | -0/+1 | |
2020-11-11 | Add nonnull and nullable attributes to API | David Robillard | 1 | -0/+8 | |
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 | Fix memory leak in chunk reading test | David Robillard | 1 | -0/+1 | |
2020-11-09 | Add a test for reading strings with no trailing newline | David Robillard | 1 | -0/+23 | |
2020-11-09 | Use separate clang-tidy configurations for implementation and tests | David Robillard | 1 | -0/+9 | |
2020-11-09 | Split out reader and writer tests | David Robillard | 2 | -167/+203 | |
2020-11-09 | Split out string tests | David Robillard | 2 | -32/+64 | |
2020-11-09 | Split out URI tests | David Robillard | 2 | -136/+171 | |
2020-11-09 | Rename unit tests to start with a consistent prefix | David Robillard | 4 | -0/+0 | |
2020-11-09 | Rename test directory | David Robillard | 1178 | -0/+62423 | |