Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-28 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+10 | |
Clang issues warnings at build time based on the SERD_NONNULL annotations, which is a much better approach in general. However, it does not cover cases where the API is being used with another compiler, or without a compiler that can statically check things at all (such as Python or other dynamic language bindings). In those situations, getting a clear assertion message is a lot less confusing than a random crash somewhere in serd, and it makes it clear that the bug is in the caller, so I think it's worth the tedious verbosity. | |||||
2022-01-14 | Factor out serd_write_file_uri() | David Robillard | 1 | -0/+74 | |
2022-01-13 | Make serd_uri_string_length() precise and add it to public API | David Robillard | 1 | -0/+38 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -16/+17 | |
2022-01-13 | Simplify URI API and implementation | David Robillard | 1 | -202/+176 | |
2022-01-13 | Rename SerdURI to SerdURIView | David Robillard | 1 | -19/+21 | |
2022-01-13 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -1/+1 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 1 | -32/+28 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -7/+5 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2022-01-13 | Remove serd_uri_to_path() | David Robillard | 1 | -26/+1 | |
2021-05-31 | Make most function parameters const | David Robillard | 1 | -16/+23 | |
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-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 | -371/+395 | |
2020-12-31 | Avoid "else" after "break" and "return" | David Robillard | 1 | -2/+7 | |
2020-11-10 | Fix potential memory error when serialising URIs | David Robillard | 1 | -1/+2 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -1/+2 | |
2020-06-21 | Cleanup: Fix uninitialised variables | David Robillard | 1 | -5/+5 | |
2020-06-21 | Cleanup: Remove unnecessary stores | David Robillard | 1 | -1/+1 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -1/+6 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -5/+5 | |
2019-01-05 | Rewrite switch statements that are better written as ifs | David Robillard | 1 | -4/+2 | |
2018-12-20 | Remove old URI parse debug logging code | David Robillard | 1 | -38/+0 | |
2018-10-28 | Avoid use of sscanf for parsing escapes in URIs | David Robillard | 1 | -4/+2 | |
2018-09-30 | Fix calloc argument order | David Robillard | 1 | -1/+1 | |
2018-09-04 | Fix fallthrough warnings with GCC8 | David Robillard | 1 | -1/+2 | |
2018-07-30 | Fix resolving some URIs against base URIs with no trailing slash | David Robillard | 1 | -0/+14 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -7/+0 | |
2018-06-10 | Fix relative URI serialisation | David Robillard | 1 | -4/+8 | |
2017-07-08 | Fix parsing of hex escapes in file URIs | Johannes Mueller | 1 | -1/+1 | |
This fixes round-trip of paths to/from escaped file URIs. | |||||
2017-06-30 | Fix various clang-tidy issues | David Robillard | 1 | -14/+14 | |
2017-06-29 | Fix strict parsing of abolute URI schemes | David Robillard | 1 | -8/+4 | |
2017-02-18 | Fix invalid doc comment | David Robillard | 1 | -1/+1 | |
2014-08-08 | Use Markdown in doc comments for better source readability. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@471 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-08-08 | Use Markdown in doc comments for better source readability. | David Robillard | 1 | -3/+3 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@469 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-08-08 | Update copyright dates. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-04-11 | Minor hardening. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@459 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2013-03-30 | Improve branch coverage. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@442 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-12-20 | Fix crash when resolving against non-standard base URIs. | David Robillard | 1 | -4/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@400 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-08-08 | Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵ | David Robillard | 1 | -3/+3 | |
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-29 | Don't break relative URIs with up-references when parsing a document with no ↵ | David Robillard | 1 | -6/+8 | |
base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-10 | Add serd_writer_set_root_uri(), root parameter to | David Robillard | 1 | -76/+74 | |
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-10 | Trim redundant case. | David Robillard | 1 | -3/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@335 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-08 | Add serd_writer_get_env(). | David Robillard | 1 | -57/+178 | |
Add serd_node_new_uri_from_path() and serd_file_uri_parse() and implement proper URI to/from path hex escaping, etc. Add serd_uri_serialise_relative() for making URIs relative to a base where possible (by chopping a common prefix and adding dot segments). Make URIs serialised by the writer properly escape characters. git-svn-id: http://svn.drobilla.net/serd/trunk@330 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-02-20 | Fix collection parsing code to not leak stack space. | David Robillard | 1 | -1/+0 | |
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-02-05 | Update to r65/autowaf and waf-1.6.10. | David Robillard | 1 | -2/+4 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@302 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-18 | Make serd_node_new_integer take int64_t instead of long. | David Robillard | 1 | -1/+1 | |
Turns out long is sometimes 32-bits even on modern 64-bit machines on certain insane Operating Systems... git-svn-id: http://svn.drobilla.net/serd/trunk@297 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-16 | Support compilation as C++ under MSVC++ | David Robillard | 1 | -6/+12 | |
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 | |||||
2012-01-14 | Lint. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@283 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2011-12-25 | Near 100% branch coverage. | David Robillard | 1 | -23/+12 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@277 490d8e77-9747-427b-9fa3-0b8f29cee8a0 |