Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-06-21 | Report writer errors and add strict write mode | David Robillard | 3 | -168/+226 | |
2020-06-21 | Fix node alignment on 32-bit ARM | David Robillard | 3 | -2/+5 | |
2020-06-21 | Make node size always 64 bits | David Robillard | 1 | -1/+2 | |
This ensures that sizeof(SerdNode) is a power of two, even on 32-bit platforms, which is required by posix_memalign. | |||||
2020-06-21 | Allocate nodes with posix_memalign when available | David Robillard | 3 | -8/+43 | |
This fixes platforms where the system malloc returns memory that is not aligned to sizeof(SerdNode) (128 bits). | |||||
2020-06-21 | Avoid absurd Windows warnings about "deprecated" POSIX functions | David Robillard | 1 | -2/+2 | |
2020-06-21 | Add support for writing terse collections | David Robillard | 1 | -12/+23 | |
2020-06-21 | Tolerate lack of predicate when context is popped | David Robillard | 1 | -1/+2 | |
2020-06-21 | Reset writer to empty when finished to avoid spurious blank lines | David Robillard | 1 | -0/+1 | |
2020-06-21 | Pass context flags to write_sep() | David Robillard | 1 | -22/+24 | |
2020-06-21 | Add initial flags to write context | David Robillard | 1 | -14/+22 | |
2020-06-21 | Simplify internal writer context API | David Robillard | 1 | -21/+17 | |
2020-06-21 | Strengthen writer statement preconditions | David Robillard | 1 | -1/+3 | |
2020-06-21 | Add option for writing terse output without newlines | David Robillard | 3 | -24/+29 | |
2020-06-21 | Factor out writing top level separator | David Robillard | 1 | -6/+10 | |
2020-06-21 | Rename SERD_STYLE_ASCII to SERD_WRITE_ASCII | David Robillard | 2 | -2/+2 | |
2020-06-21 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2020-06-21 | Simplify writer statement validity checking | David Robillard | 1 | -3/+2 | |
2020-06-21 | Fix reading from socket-like streams and add test | David Robillard | 1 | -1/+1 | |
2020-06-21 | Make reader tolerant of being started several times | David Robillard | 1 | -0/+4 | |
2020-06-21 | Remove pointless switch statement | David Robillard | 1 | -3/+1 | |
2020-06-21 | Fix various warnings and conversion issues | David Robillard | 12 | -39/+33 | |
2020-06-21 | Add serd_new_boolean() | David Robillard | 2 | -0/+7 | |
2020-06-21 | Remove reader status and handle errors more precisely | David Robillard | 5 | -41/+33 | |
2020-06-21 | Add model validation | David Robillard | 2 | -0/+881 | |
2020-06-21 | Add model | David Robillard | 12 | -2/+1573 | |
2020-06-21 | Use conventional short variable name for status | David Robillard | 1 | -13/+13 | |
2020-06-21 | Use consistent naming for function types | David Robillard | 3 | -12/+12 | |
2020-06-21 | Add extensible logging API | David Robillard | 6 | -50/+177 | |
2020-06-21 | Add Env to Sink | David Robillard | 5 | -59/+56 | |
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code. | |||||
2020-06-21 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -28/+28 | |
2020-06-21 | Rename SerdType to SerdNodeType | David Robillard | 4 | -17/+22 | |
The old name has become ambiguous with the expanded scope of serd. | |||||
2020-06-21 | Clean up and expose base64 implementation | David Robillard | 3 | -55/+13 | |
2020-06-21 | Expose the node cache in the world | David Robillard | 1 | -0/+6 | |
2020-06-21 | Remove serd_env_foreach() | David Robillard | 1 | -10/+0 | |
2020-06-21 | Add serd_env_write_prefixes() | David Robillard | 1 | -0/+9 | |
2020-06-21 | Add serd_node_compare() | David Robillard | 1 | -0/+19 | |
2020-06-21 | Fix writer flags type | David Robillard | 1 | -18/+18 | |
2020-06-21 | Simplify reader stack pushing code | David Robillard | 1 | -8/+10 | |
2020-06-21 | Ensure serd_new_resolved_uri returns an absolute URI or NULL | David Robillard | 2 | -7/+14 | |
2020-06-21 | Use simpler names for statement flags | David Robillard | 2 | -21/+19 | |
2020-06-21 | Simplify streaming API and improve pretty printing | David Robillard | 3 | -158/+222 | |
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. | |||||
2020-06-21 | Cache commonly used nodes in the world | David Robillard | 3 | -14/+32 | |
2020-06-21 | Add SerdNodes class for storing a cache of nodes | David Robillard | 5 | -2/+142 | |
2020-06-21 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+36 | |
2020-06-21 | Separate ByteSink from Writer | David Robillard | 2 | -12/+13 | |
2020-06-21 | Expose SerdByteSink in public API | David Robillard | 3 | -102/+103 | |
2020-06-21 | Remove serd_reader_set_default_graph() | David Robillard | 2 | -13/+0 | |
2020-06-21 | Add zix data structures for use in model | David Robillard | 7 | -0/+1621 | |
2020-06-21 | Make reader return failure when no statement is read | David Robillard | 1 | -1/+1 | |
2020-06-21 | Fix warnings | David Robillard | 2 | -4/+4 | |