Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-08 | WIP: Add statement filtering | David Robillard | 2 | -0/+44 | |
2021-03-08 | WIP: Test reading string EOF as chunk | David Robillard | 1 | -1/+14 | |
2021-03-08 | Add support for converting literals to canonical form | David Robillard | 10 | -0/+237 | |
2021-03-08 | Add validation to command line interface | David Robillard | 36 | -65/+1118 | |
2021-03-08 | Add model validation | David Robillard | 1 | -1/+1 | |
2021-03-08 | Add model | David Robillard | 7 | -0/+1179 | |
2021-03-08 | Expand URIs in reader | David Robillard | 3 | -8/+24 | |
2021-03-08 | WIP: Add serd_node_from_syntax() and serd_node_to_syntax() | David Robillard | 3 | -2/+156 | |
2021-03-08 | Add support for parsing variables | David Robillard | 9 | -1/+72 | |
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. | |||||
2021-03-08 | WIP: Make Reader always read from a ByteSource | David Robillard | 4 | -39/+50 | |
2021-03-08 | Add support for reading multiple files at once | David Robillard | 6 | -1/+74 | |
2021-03-08 | Simplify handling of input string arguments | David Robillard | 1 | -0/+1 | |
2021-03-08 | Add input base URI option | David Robillard | 2 | -6/+15 | |
2021-03-08 | WIP: Make Writer always write to a ByteSink | David Robillard | 2 | -12/+21 | |
2021-03-08 | Fix crash when attempting to read before starting | David Robillard | 1 | -0/+3 | |
2021-03-08 | Add serd_new_real_file_uri() | David Robillard | 2 | -1/+29 | |
2021-03-08 | Clean up file URI tests | David Robillard | 1 | -9/+7 | |
2021-03-08 | WIP: Make serd_env_expand() always return a node if it is not relative | David Robillard | 1 | -30/+161 | |
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. | |||||
2021-03-08 | Remove double allocations in serd_env_expand() | David Robillard | 1 | -1/+1 | |
2021-03-08 | Clean up Env tests and behaviour | David Robillard | 1 | -62/+178 | |
2021-03-08 | Make const Env functions tolerant of NULL | David Robillard | 1 | -0/+4 | |
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. | |||||
2021-03-08 | Add empty syntax type for suppressing output | David Robillard | 2 | -0/+35 | |
2021-03-08 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 3 | -16/+17 | |
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future. | |||||
2021-03-08 | Report writer errors and add strict write mode | David Robillard | 2 | -1/+38 | |
2021-03-08 | Align node allocations | David Robillard | 1 | -13/+15 | |
2021-03-08 | Add support for writing terse collections | David Robillard | 8 | -2/+184 | |
2021-03-08 | WIP: Write invalid characters in URIs with percent encoding | David Robillard | 1 | -0/+2 | |
2021-03-08 | Fix socket-like stream reading test | David Robillard | 1 | -3/+5 | |
2021-03-08 | Handle read errors more precisely | David Robillard | 1 | -1/+1 | |
2021-03-08 | Add stack overflow tests | David Robillard | 2 | -0/+69 | |
2021-03-08 | Clean up env test | David Robillard | 1 | -4/+4 | |
2021-03-08 | Simplify streaming API and improve pretty printing | David Robillard | 3 | -2/+98 | |
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes. | |||||
2021-03-08 | Add SerdNodes class for storing a cache of nodes | David Robillard | 3 | -0/+95 | |
2021-03-08 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+23 | |
2021-03-08 | Separate ByteSink from Writer | David Robillard | 1 | -3/+7 | |
2021-03-08 | Expose SerdByteSink in public API | David Robillard | 1 | -0/+1 | |
2021-03-08 | Simplify writer style options | David Robillard | 2 | -14/+23 | |
2021-03-08 | Replace multiple stream callbacks with SerdEvent | David Robillard | 3 | -41/+53 | |
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. | |||||
2021-03-08 | Add SerdStatement | David Robillard | 2 | -20/+10 | |
2021-03-08 | Add SerdCursor | David Robillard | 5 | -2/+65 | |
2021-03-08 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -36/+23 | |
2021-03-08 | Simplify SerdEnv API | David Robillard | 1 | -32/+28 | |
2021-03-08 | Add serd_world_get_blank() | David Robillard | 1 | -0/+18 | |
2021-03-08 | Move error handling to world | David Robillard | 1 | -0/+2 | |
2021-03-08 | Add SerdWorld for shared library state | David Robillard | 4 | -7/+26 | |
2021-03-08 | Clean up nodes in reader/writer tests | David Robillard | 1 | -12/+20 | |
2021-03-08 | Add numeric node construction and access API | David Robillard | 1 | -22/+191 | |
2021-03-08 | Add serd_new_boolean() | David Robillard | 1 | -0/+21 | |
2021-03-08 | Remove old floating point tests | David Robillard | 1 | -88/+0 | |
2021-03-08 | WIP: Use exess for reading and writing numeric and binary literals | David Robillard | 1 | -6/+6 | |