Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-07 | Add serd_node_uri_view() | David Robillard | 1 | -0/+12 | |
2021-03-07 | Add serd_node_string_view() | David Robillard | 1 | -0/+8 | |
2021-03-07 | Merge datatype/language into node | David Robillard | 1 | -17/+132 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2021-03-07 | Make nodes opaque | David Robillard | 1 | -74/+98 | |
2021-03-07 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2021-03-07 | Shorten node constructor names | David Robillard | 1 | -20/+18 | |
2021-03-07 | Rename SerdType to SerdNodeType | David Robillard | 1 | -2/+2 | |
The old name will be even more ambiguous with the increased scope. | |||||
2021-03-07 | Rename SerdURI to SerdURIView | David Robillard | 1 | -15/+17 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 1 | -28/+25 | |
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 | -3/+2 | |
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 | 1 | -22/+14 | |
2021-03-07 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -9/+9 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2021-01-10 | Avoid use of strcpy | David Robillard | 1 | -3/+3 | |
Again, really just skirting around warnings here, but this is faster anyway since we know what we're doing here and doing require any fine-grained null termination. | |||||
2021-01-09 | Avoid GCC warning about printed string overflow | David Robillard | 1 | -9/+14 | |
GCC seems to think there was a potential overflow here, but I don't see it. I think it just can't figure out that the printed text and the size both depend on the same variable. In any case, avoiding formatting functions here avoids the warning, and is probably faster anyway. | |||||
2021-01-09 | Avoid GCC warning about potential signed overflow | David Robillard | 1 | -1/+1 | |
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 | -237/+256 | |
2020-08-14 | Separate base64 implementation | David Robillard | 1 | -33/+4 | |
2020-08-14 | Use SerdNodeFlags type everywhere | David Robillard | 1 | -7/+7 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+3 | |
2020-07-06 | Fix spurious semicolon warnings | David Robillard | 1 | -5/+5 | |
2020-07-06 | Fix format conversion warnings | David Robillard | 1 | -1/+4 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -1/+7 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -8/+8 | |
2019-01-06 | Fix serd_node_new_decimal() on Windows | David Robillard | 1 | -1/+1 | |
2019-01-05 | Use lround() instead of sketchy offset and cast | David Robillard | 1 | -1/+1 | |
2019-01-05 | Fix unsorted includes | David Robillard | 1 | -3/+2 | |
2018-09-30 | Fix calloc argument order | David Robillard | 1 | -1/+1 | |
2018-07-14 | Fix length of base64 encoded nodes | David Robillard | 1 | -1/+1 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -13/+0 | |
2017-07-09 | Add serd_node_from_substring() | David Robillard | 1 | -1/+17 | |
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 | -4/+4 | |
2016-07-31 | Fix compilation with mingw | David Robillard | 1 | -2/+6 | |
2016-07-10 | Add serd_node_new_relative_uri() | David Robillard | 1 | -0/+26 | |
2016-07-10 | Shrink code | David Robillard | 1 | -5/+3 | |
2016-07-09 | Fix construction of URIs with UTF-8 characters | David Robillard | 1 | -7/+5 | |
2015-10-07 | Update copyright dates | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@500 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2015-04-04 | Fix serializing fractional decimals that would round up. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@489 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-10-03 | Remove dependence on fmax() to avoid portability issues. | David Robillard | 1 | -2/+9 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@476 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 | -3/+7 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@459 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-12-23 | Windows compatibility fixes. | David Robillard | 1 | -0/+5 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@405 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-12-21 | Fix crash when serd_node_new_decimal is called with infinity or NaN. | David Robillard | 1 | -0/+4 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@401 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-08-08 | Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵ | David Robillard | 1 | -7/+7 | |
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-10 | Add serd_writer_set_root_uri(), root parameter to | David Robillard | 1 | -1/+1 | |
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-08 | Add escape parameter to serd_node_new_file_uri(). | David Robillard | 1 | -2/+3 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@333 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-08 | Make serd_node_from_string tolerate NULL. | David Robillard | 1 | -0/+4 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@332 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-08 | serd_node_new_uri_from_path => serd_node_new_file_uri. | David Robillard | 1 | -3/+3 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-03-08 | Add serd_writer_get_env(). | David Robillard | 1 | -0/+62 | |
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-28 | Fix serialisation of decimals like 10.0, 20.0, etc. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@325 490d8e77-9747-427b-9fa3-0b8f29cee8a0 |