Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Add support for parsing variables | David Robillard | 1 | -0/+1 | |
This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries. | |||||
2020-10-27 | Fix crash when expanding empty URI prefixes | David Robillard | 1 | -1/+1 | |
2020-10-27 | Make serd_env_expand() always return a node if it is not relative | David Robillard | 1 | -10/+20 | |
The old interface was potentially faster, because it avoided unnecessary copies, but was annoying to use and problematic because nodes that don't need expansion were indistinguishable from nodes that failed to expand (like those that use undefined namespace prefixes). In the grand scheme of things, the potential performance improvement isn't worth it, and unexpected unexpanded nodes causes deep nightmarish problems, so just make serd_env_expand() copy the input if it doesn't need expansion to make the API simpler and safer. | |||||
2020-10-27 | Make it possible to allocate nodes with CURIE datatypes | David Robillard | 1 | -0/+1 | |
2020-10-27 | Remove double allocation in serd_env_set_prefix() | David Robillard | 1 | -9/+5 | |
2020-10-27 | Remove double allocations in serd_env_expand() | David Robillard | 1 | -6/+22 | |
2020-10-27 | Split up node expansion code | David Robillard | 1 | -30/+53 | |
2020-10-27 | Clean up Env tests and behaviour | David Robillard | 1 | -1/+4 | |
2020-10-27 | Make const Env functions tolerant of NULL | David Robillard | 1 | -1/+9 | |
This is convenient in places where you don't necessarily need an Env, since in this case these methods work the same as if with an empty Env. | |||||
2020-10-27 | Allow setting the base URI of an Env to NULL | David Robillard | 1 | -1/+5 | |
2020-10-27 | Remove serd_env_foreach() | David Robillard | 1 | -10/+0 | |
This is not particularly useful except to write prefixes, which is what serd_env_write_prefixes is for, and the name implies that namespace prefixes are the only thing in an Env, which will be problematic in the future. | |||||
2020-10-27 | Add serd_env_write_prefixes() | David Robillard | 1 | -0/+9 | |
2020-10-27 | Ensure serd_new_resolved_uri returns an absolute URI or NULL | David Robillard | 1 | -3/+2 | |
2020-10-27 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+36 | |
2020-10-27 | Simplify SerdEnv API | David Robillard | 1 | -28/+51 | |
2020-10-27 | Shorten node constructor names | David Robillard | 1 | -9/+7 | |
2020-10-27 | Expand datatype of literal nodes in serd_env_expand_node | David Robillard | 1 | -1/+12 | |
2020-10-27 | Clean up node construction API | David Robillard | 1 | -18/+23 | |
2020-10-27 | Remove SERD_NOTHING node type | David Robillard | 1 | -1/+0 | |
2020-10-27 | Make nodes opaque | David Robillard | 1 | -37/+44 | |
2020-10-27 | Use opaque node API | David Robillard | 1 | -11/+15 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 1 | -2/+1 | |
2020-10-27 | Rename SerdChunk to SerdStringView | David Robillard | 1 | -5/+5 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 1 | -12/+9 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 1 | -3/+2 | |
2020-08-16 | Ensure that all free methods tolerate NULL | David Robillard | 1 | -0/+4 | |
2020-08-14 | Fix Wswitch-enum warnings | David Robillard | 1 | -6/+10 | |
2020-08-14 | Avoid copying nodes when equivalent prefixes are set | David Robillard | 1 | -3/+5 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -2/+5 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -2/+2 | |
2018-09-30 | Fix calloc argument order | David Robillard | 1 | -1/+1 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -10/+0 | |
2018-06-10 | Remove syntax assumptions from SerdEnv implementation | David Robillard | 1 | -24/+1 | |
2018-05-27 | Clarify errors returned by serd_env_expand() | David Robillard | 1 | -3/+3 | |
2017-06-30 | Fix various clang-tidy issues | David Robillard | 1 | -16/+16 | |
2016-09-18 | Fix memory error | David Robillard | 1 | -2/+3 | |
Introduced in 443f470383dc3acba0fde7b705e8ff81a7c49595 | |||||
2016-07-09 | Fix construction of URIs with UTF-8 characters | David Robillard | 1 | -3/+3 | |
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 | Update copyright dates. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-08-05 | Remove unnecessary include. | David Robillard | 1 | -1/+0 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@464 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2014-04-11 | Minor hardening. | David Robillard | 1 | -6/+6 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@459 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-08-08 | Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵ | David Robillard | 1 | -4/+3 | |
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-07-05 | Add error callback to reader and writer for custom error reporting. | David Robillard | 1 | -1/+1 | |
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-18 | Tolerate NULL URI parameter in serd_env_get_base_uri(). | David Robillard | 1 | -1/+3 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@337 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-02-21 | Print command name in serdi error messages. | David Robillard | 1 | -6/+2 | |
Trim code. git-svn-id: http://svn.drobilla.net/serd/trunk@313 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-16 | Fix compilation on sane platforms. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@292 490d8e77-9747-427b-9fa3-0b8f29cee8a0 | |||||
2012-01-16 | Support compilation as C++ under MSVC++ | David Robillard | 1 | -7/+7 | |
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 | -26/+17 | |
git-svn-id: http://svn.drobilla.net/serd/trunk@277 490d8e77-9747-427b-9fa3-0b8f29cee8a0 |