Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | fixup! WIP: Generate Sphinx documentation | David Robillard | 1 | -0/+4 | |
2020-10-27 | fixup! WIP: Add Python bindings | David Robillard | 2 | -27/+104 | |
2020-10-27 | fixup! WIP: Generate Sphinx documentation | David Robillard | 1 | -8/+14 | |
2020-10-27 | Fix release build | David Robillard | 1 | -0/+3 | |
2020-10-27 | WIP: expander | David Robillard | 1 | -0/+91 | |
2020-10-27 | WIP: Generate Sphinx documentation | David Robillard | 7 | -0/+907 | |
2020-10-27 | WIP: Improve documentation | David Robillard | 1 | -38/+58 | |
2020-10-27 | Suppress warnings from some compilers | David Robillard | 1 | -0/+13 | |
2020-10-27 | WIP: Improve writer performance | David Robillard | 1 | -10/+12 | |
2020-10-27 | WIP: Add Python bindings | David Robillard | 4 | -6/+3338 | |
2020-10-27 | WIP: Simply reader byte reader interface | David Robillard | 1 | -9/+0 | |
2020-10-27 | WIP: Test reading string EOF as chunk | David Robillard | 1 | -1/+14 | |
2020-10-27 | WIP: Add C++ bindings | David Robillard | 10 | -9/+3244 | |
2020-10-27 | WIP: Add serd_node_from_syntax() and serd_node_to_syntax() | David Robillard | 7 | -2/+319 | |
2020-10-27 | Add SERD_READ_EXACT_BLANKS flags | David Robillard | 2 | -3/+4 | |
This allows suppressing the blank node ID clashing mechanism to read blank IDs exactly as they appear in the input, even if they match the scheme used to generate blank node IDs internally. | |||||
2020-10-27 | WIP: Make Reader always read from a ByteSource | David Robillard | 12 | -248/+309 | |
2020-10-27 | WIP: Make Writer always write to a ByteSink | David Robillard | 10 | -183/+232 | |
2020-10-27 | Fix crash when attempting to read before starting | David Robillard | 2 | -0/+7 | |
2020-10-27 | Refuse to write relative URIRefs to NTriples | David Robillard | 2 | -1/+17 | |
2020-10-27 | Simplify abbreviated URI writing code | David Robillard | 1 | -15/+17 | |
2020-10-27 | WIP: Get base URI from single input path if possible | David Robillard | 1 | -2/+43 | |
2020-10-27 | Use a manual type-safe stack in SerdWriter | David Robillard | 2 | -29/+27 | |
This fixes alignment issues on ARM. Since this stack is just for WriteContext which has a fixed size, using SerdStack here just made things more confusing anyway. | |||||
2020-10-27 | Emit reader errors on stack overflows in string literals | David Robillard | 1 | -1/+9 | |
2020-10-27 | Simplify ByteSource implementation | David Robillard | 2 | -32/+27 | |
2020-10-27 | WIP: Add statement filtering | David Robillard | 4 | -0/+196 | |
2020-10-27 | Add support for parsing variables | David Robillard | 19 | -14/+186 | |
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 | Fix memory leak in writer when caller doesn't clean up the stack | David Robillard | 1 | -0/+5 | |
2020-10-27 | Avoid use of ctype.h macros entirely | David Robillard | 2 | -4/+15 | |
Some of these cause warnings, and should never have been used in the first place since they depend on locale. | |||||
2020-10-27 | Improve writer packing | David Robillard | 1 | -1/+1 | |
2020-10-27 | Normalise away rdf:langString datatype | David Robillard | 3 | -0/+5 | |
Depending on how you read the specifications, a rdf:langString isn't identical to an xsd:string, but an rdf:langString must have a non-empty language tag so having this datatype doesn't really make any sense anyway. | |||||
2020-10-27 | Add support for basic literal normalisation | David Robillard | 10 | -5/+483 | |
2020-10-27 | Make serd_env_expand() always return a node if it is not relative | David Robillard | 3 | -46/+176 | |
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 | 3 | -9/+15 | |
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 | 3 | -33/+116 | |
2020-10-27 | Move local URI utility functions | David Robillard | 1 | -26/+26 | |
2020-10-27 | Split up node expansion code | David Robillard | 1 | -30/+53 | |
2020-10-27 | Clean up Env tests and behaviour | David Robillard | 2 | -78/+188 | |
2020-10-27 | Make const Env functions tolerant of NULL | David Robillard | 2 | -1/+13 | |
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 | Replace multiple stream callbacks with SerdEvent | David Robillard | 9 | -104/+194 | |
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. | |||||
2020-10-27 | Remove old floating point tests | David Robillard | 1 | -96/+0 | |
2020-10-27 | Add precise floating point parsing | David Robillard | 5 | -26/+621 | |
2020-10-27 | Separate decimal parsing from floating point conversion | David Robillard | 2 | -42/+126 | |
2020-10-27 | Add support for xsd:double and xsd:float | David Robillard | 4 | -0/+114 | |
These can be used to serialise a float or double in the shortest normalised form that can be read back in to the exact same floating point value. | |||||
2020-10-27 | Add precise decimal digit generation | David Robillard | 6 | -65/+400 | |
2020-10-27 | Factor out decimal digit generation | David Robillard | 3 | -51/+72 | |
2020-10-27 | Add minimal big integer implementation | David Robillard | 5 | -0/+1674 | |
This is needed for floating point decimal conversion. | |||||
2020-10-27 | Add minimal soft floating point implementation | David Robillard | 6 | -1/+408 | |