David Robillard
f2adb0c205
Switch to LV2 documentation theme
2 years ago
David Robillard
a6fa6c45a4
dox_to_sphinx.py: Emit documentation in groups
2 years ago
David Robillard
53722d1e02
dox_to_sphinx.py: Clean up whitespace in output
2 years ago
David Robillard
865a3def10
dox_to_sphinx.py: Fix computeroutput support
2 years ago
David Robillard
69308321d6
dox_to_sphinx.py: Add support for fancy quotes
2 years ago
David Robillard
afc2c16644
Update date in version output
2 years ago
David Robillard
0778ae8a95
Use email address instead of website for attribution
2 years ago
David Robillard
2f0a55007f
Use SERD_STATIC instead of SERD_SHARED to control visibility
...
For consistency, this seems to be the most common convention.
2 years ago
David Robillard
4a54d784af
Remove the need for a generated configuration header
2 years ago
David Robillard
d101d92694
Format all code with clang-format
2 years ago
David Robillard
8a93d0b3be
Avoid "else" after "break" and "return"
2 years ago
David Robillard
19d8a055ff
Fix documentation page width
2 years ago
David Robillard
5cb9eaf3d9
Remove old Doxygen configuration
2 years ago
David Robillard
f95f22013d
Generate documentation with Sphinx
2 years ago
David Robillard
fabf711348
Fix build on ancient GCC
2 years ago
David Robillard
a89a3dfac5
Add test for attempting to convert a non-file URI to a path
2 years ago
David Robillard
0ca210bc00
Don't install API man pages
...
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.
2 years ago
David Robillard
c3e339a0d2
Clean up includes
2 years ago
David Robillard
d3723c7ef9
Suppress new clang-tidy warnings
2 years ago
David Robillard
ea5778afa3
Fix nullable annotations on allocating function return values
2 years ago
David Robillard
aac7b8d830
Fix broken links in documentation
3 years ago
David Robillard
b1991fe876
Port serd_bench.py to argparse
3 years ago
David Robillard
47cc010e25
Strengthen null annotation on serd_env_get_base_uri()
3 years ago
David Robillard
72d696f66e
Run flake8 on serd_bench.py
3 years ago
David Robillard
1b8dafe596
Format serd_bench.py with black
3 years ago
David Robillard
7d1b98ad1b
Move benchmark script to scripts subdirectory
3 years ago
David Robillard
2ddd39e588
Only use aligned_alloc in C11
3 years ago
David Robillard
5c1130819c
Deprecate serd_uri_to_path()
3 years ago
David Robillard
2bf875e89f
Refuse to write relative URI references to NTriples
3 years ago
David Robillard
6be4a34047
Simplify abbreviated URI writing code
3 years ago
David Robillard
d4973df795
Make sanitizer failures fatal on CI
3 years ago
David Robillard
31d5e871cb
Do sanitize run on CI in a single job
3 years ago
David Robillard
18949858d9
Fix test coverage
3 years ago
David Robillard
d63f832e64
Remove tests that pass null to nonnull parameters
3 years ago
David Robillard
ce9ee54f21
Add failure test for unescaped quotes in URIs
3 years ago
David Robillard
49bee1f121
Remove dead code
3 years ago
David Robillard
9256bf1de4
Improve documentation
3 years ago
David Robillard
65d6229274
Simplify writer statement validity checking
3 years ago
David Robillard
e04aa68fb7
Use line comment
3 years ago
David Robillard
f6f04c10eb
Suppress simple test output
3 years ago
David Robillard
ccdafafb81
Improve IRI reading performance
...
This allows the compiler to construct a jump table, and avoids a branch.
3 years ago
David Robillard
41130751fb
Improve documentation summary for SerdEnv
3 years ago
David Robillard
f63257a60c
Improve add and chop prefix functions when given empty strings
3 years ago
David Robillard
353b92d13d
Remove use of C character class functions that may use locale
...
Some of these cause warnings, and should never have been used in the first
place since they depend on locale.
3 years ago
David Robillard
3558d21c92
Use line comments where appropriate and clean up header
3 years ago
David Robillard
dddc46b13f
Allow setting the base URI of an Env to NULL
3 years ago
David Robillard
febc0828f2
Use aligned allocation via C11 or Windows API where possible
3 years ago
David Robillard
beed84b631
Use C11 if possible
3 years ago
David Robillard
a815f33ec3
Relax nullability annotation on allocation functions
...
In practice almost nobody checks for failed allocation, including unfortunately
the serd tests and serdi itself. Adding a struct mode to conditionally define
this would be a good idea to support allocation-hardened code, but for now just
mark them as unspecified instead.
On the bright side, this documents the nature of the returned pointers nicely.
3 years ago
David Robillard
1319a748cb
Add missing const qualifiers
3 years ago