Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-28 | Add "contextual" output option | David Robillard | 3 | -1/+11 | |
This is mainly for developer or power-user cases, where one wants to look at some data for investigation or debugging. In such cases, it's common for the set of prefixes to be implicitly known (because they are baked in to the application, for example), so printing them just produces a large amount of redundant noise. That said, it can also be useful programmatically, because it allows several snippets to be written independently and ultimately concatenated (with a header to define the prefixes) without redundancy. | |||||
2022-01-28 | Simplify input stream API | David Robillard | 1 | -1/+0 | |
More or less the same rationale as the previous commit, but for reading. This makes for nice symmetry with writing, at the cost of a slightly more annoying reader interface since the source doesn't know its block size or name. | |||||
2022-01-28 | Simplify output stream API | David Robillard | 1 | -1/+0 | |
This makes the paging mechanism an internal detail once again. While it's conceptually elegant to simply have a single write interface and have the block dumper just be another implementation of that, unfortunately it is not practical. The inlining of serd_block_dumper_write() is a significant performance boost, because it avoids a non-inlinable function call of overhead per character. Compared to the SerdByteSink approach, this removes the burden and overhead of needing to dynamically allocate the structure itself. | |||||
2022-01-28 | Make tools read stdin by default | David Robillard | 2 | -4/+2 | |
2022-01-28 | Replace serdi with more fine-grained tools | David Robillard | 4 | -265/+728 | |
Especially with the new functionality, the complexity of the command-line interface alone was really becoming unmanageable. The serdi implementation also had the highest cyclomatic complexity of the entire codebase by a huge margin. So, take a page from the Unix philosophy and split serdi into several more finely-honed tools that can be freely composed. Though there is still unfortunately quite a bit of option overlap between them due to the common details of reading RDF, I think the resulting tools are a lot easier to understand, both from a user and a developer perspective. | |||||
2022-01-28 | Make blank node prefixing automatic | David Robillard | 1 | -15/+0 | |
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future. | |||||
2022-01-28 | Collapse input and output options into a single flag | David Robillard | 1 | -29/+60 | |
2022-01-28 | Replace serdi -b and -e options with a block size option | David Robillard | 1 | -9/+7 | |
This is more powerful, and reduces the number of command line options that almost nobody needs to care about. | |||||
2022-01-14 | Add statement filtering | David Robillard | 1 | -1/+27 | |
2022-01-14 | Add support for converting literals to canonical form | David Robillard | 1 | -1/+13 | |
2022-01-14 | Add model | David Robillard | 2 | -7/+19 | |
2022-01-13 | Add support for parsing variables | David Robillard | 1 | -1/+8 | |
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. | |||||
2022-01-13 | Add support for reading multiple files at once | David Robillard | 1 | -2/+2 | |
2022-01-13 | Simplify handling of input string arguments | David Robillard | 1 | -1/+1 | |
2022-01-13 | Add input base URI option | David Robillard | 1 | -1/+9 | |
2022-01-13 | Make Writer always write to a ByteSink | David Robillard | 1 | -1/+7 | |
2022-01-13 | Add empty syntax type for suppressing output | David Robillard | 1 | -0/+6 | |
2022-01-13 | Add option for writing terse output without newlines | David Robillard | 1 | -1/+4 | |
2022-01-13 | Add SerdCaret | David Robillard | 1 | -1/+1 | |
2022-01-13 | Use a fixed-size reader stack | David Robillard | 1 | -0/+9 | |
2022-01-13 | Switch to Meson | David Robillard | 8 | -46/+95 | |
2022-01-13 | Add dark theme for HTML man pages | David Robillard | 1 | -10/+70 | |
2021-05-16 | Add examples to man page | David Robillard | 1 | -0/+8 | |
2021-05-16 | Fix inconsistent argument name in man page | David Robillard | 1 | -1/+1 | |
2021-03-07 | Rewrite man page in mdoc and use mandoc to generate HTML | David Robillard | 2 | -77/+340 | |
2021-01-16 | Add fallback configuration if documentation theme is unavailable | David Robillard | 1 | -26/+50 | |
2021-01-07 | Use globally unique Doxygen group names | David Robillard | 1 | -3/+3 | |
This is necessary to avoid clashes when building unified documentation as a subproject. | |||||
2021-01-07 | Remove unused file | David Robillard | 1 | -11/+0 | |
2021-01-06 | Switch to LV2 documentation theme | David Robillard | 6 | -207/+55 | |
2020-12-21 | Fix documentation page width | David Robillard | 1 | -1/+1 | |
2020-12-21 | Remove old Doxygen configuration | David Robillard | 1 | -2426/+0 | |
2020-12-21 | Generate documentation with Sphinx | David Robillard | 15 | -1118/+362 | |
2020-12-17 | Don't install API man pages | David Robillard | 1 | -1/+1 | |
These weren't particularly useful, and the project will be migrating away from Doxygen entirely anyway. The serdi man page, which is manually written, of course remains. | |||||
2020-11-11 | Clean up attributes in reference documentation | David Robillard | 1 | -1/+5 | |
This is a bit unfortunate since they are quite useful as documentation, but unfortunately Doxygen (as usual) doesn't manage to format things nicely, and the noise makes the summaries unreadable. | |||||
2020-11-09 | Move header to conventional include directory | David Robillard | 1 | -1/+1 | |
2020-08-14 | Use one sentence per line in man page | David Robillard | 1 | -7/+5 | |
This apparently lets troff do line wrapping better in some scenarios, and is the best practice for text in revision control anyway. | |||||
2020-08-14 | Remove obsolete things from Doxygen file | David Robillard | 1 | -47/+1 | |
2020-03-17 | Update documentation style | David Robillard | 3 | -381/+446 | |
2020-03-17 | Remove unused obsolete Doxygen options | David Robillard | 1 | -15/+0 | |
2019-10-14 | Improve man page formatting | David Robillard | 1 | -23/+23 | |
2019-07-25 | Add benchmark plots | David Robillard | 3 | -0/+5372 | |
2019-07-25 | Build documentation and coverage index page | David Robillard | 1 | -0/+35 | |
2019-07-25 | Make documentation build with Doxygen 1.8.13 | David Robillard | 3 | -34/+15 | |
2019-03-31 | Add documentation main page | David Robillard | 1 | -0/+15 | |
2019-03-30 | Improve documentation | David Robillard | 5 | -241/+311 | |
2019-03-23 | Update Doxygen configuration | David Robillard | 1 | -52/+119 | |
2019-03-17 | Use simpler Doxygen header and footer | David Robillard | 3 | -2/+72 | |
2019-03-17 | Hide export declarations in documentation | David Robillard | 1 | -3/+3 | |
2018-06-03 | Tweak documentation style | David Robillard | 1 | -8/+13 | |
2017-12-29 | Add serdi option to write ASCII output | David Robillard | 1 | -0/+4 | |