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
f95f22013d
Generate documentation with Sphinx
2 years ago
David Robillard
aac7b8d830
Fix broken links in documentation
2 years ago
David Robillard
72d696f66e
Run flake8 on serd_bench.py
2 years ago
David Robillard
2bf875e89f
Refuse to write relative URI references to NTriples
2 years ago
David Robillard
f6f04c10eb
Suppress simple test output
2 years ago
David Robillard
febc0828f2
Use aligned allocation via C11 or Windows API where possible
2 years ago
David Robillard
beed84b631
Use C11 if possible
2 years ago
David Robillard
844643649e
Use built-in abspath()
2 years ago
David Robillard
793e353941
Set up environment for using serdi as a subproject
2 years ago
David Robillard
41b89cc1e4
Fix link errors with sanitizers at the source in autowaf
2 years ago
David Robillard
19aa10dd3f
Fix build as a subproject
2 years ago
David Robillard
79d1142252
Add CI row to run clang sanitizers
...
Some of these are also supported by GCC, but clang supports more and clang on
Linux was uncovered before anyway, so this fixes that situation as well.
2 years ago
David Robillard
9eee20ada8
Add nonnull and nullable attributes to API
...
This will warn if NULL is passed to any nonnull-annotated parameter, and is
also supported by sanitizers which can check for violations at runtime.
Unfortunately, it is currently only supported by clang. GCC has a similar
feature in the nonnull attribute, but this has a different syntax (it's a
function attribute) and is more dangerous since it is used by the optimizer to
assume a null pointer is undefined behavior. This one just warns and still
allows code to handle the situation gracefully, which I think is more
appropriate for a library API.
Note that this optimization behavior is not some unlikely edge case: switching
these attributes to the GCC one will break release builds.
2 years ago
David Robillard
bafa091fad
Add const, pure, and malloc function attributes
2 years ago
David Robillard
a9efbbbbbd
Fix warnings in MinGW build
2 years ago
David Robillard
2378c1cfbc
Fix header installation
2 years ago
David Robillard
81832c4151
Split out reader and writer tests
2 years ago
David Robillard
3dc112f6f5
Split out string tests
2 years ago
David Robillard
eae480cfc9
Split out URI tests
2 years ago
David Robillard
f6d870d67f
Rename unit tests to start with a consistent prefix
2 years ago
David Robillard
0f2ec1ed73
Check headers with stricter clang-tidy settings
2 years ago
David Robillard
59307f4af4
Move header to conventional include directory
2 years ago
David Robillard
8e0270ea4d
Rename test directory
2 years ago
David Robillard
df17416f9e
Update autowaf
2 years ago
David Robillard
b5d3b9c489
Serd 0.30.6
3 years ago
David Robillard
bb1a00aac2
Ensure that all free methods tolerate NULL
3 years ago
David Robillard
fc81e2734c
Move Env tests to a separate file
3 years ago
David Robillard
89b4a240d0
Add test for reading chunks
3 years ago
David Robillard
ff43a1f407
Use ultra-strict warnings and Werror on Windows CI rows
3 years ago
David Robillard
ada2909ca2
Factor out command wrapping for ARM emulator
3 years ago
David Robillard
3a9bd46a3e
Factor out test option iterator generation
3 years ago
David Robillard
a9a6a4e417
Fix Wswitch-enum warnings
3 years ago
David Robillard
dee13339e4
Separate base64 implementation
3 years ago
David Robillard
3f5ba59081
Clean up and separate internal headers
3 years ago
David Robillard
d0b4a3241c
Fix strict build with MinGW
3 years ago
David Robillard
ac0e3c11f8
Fix strict release configuration with GCC 10.1.0
3 years ago
David Robillard
9934934a07
Update autowaf and be explicit about warning flags
3 years ago
David Robillard
a5ecaed57d
Strengthen lint target
3 years ago
David Robillard
8353731836
Clean up includes
3 years ago
David Robillard
16573e710c
Strengthen function checks to check for type
...
This makes the checks work with strict warnings and Werror.
3 years ago
David Robillard
4111b53591
Clean up wscript
3 years ago
David Robillard
227565f5be
Serd 0.30.4
3 years ago
David Robillard
2efb107eb4
Fix reading from a null-delimited socket
3 years ago
David Robillard
bbe5313c31
Fix lax handling of string errors and add separate lax test suite
3 years ago
David Robillard
433f17a017
Support passing arguments to test wrappers
...
This allows using prefixes like valgrind --leak-check=full.
3 years ago
David Robillard
23965e6bb2
Serd 0.30.2
3 years ago
David Robillard
e45054876a
Add test that NEWS file is normalised and round-trips to Turtle
3 years ago
David Robillard
a43adb1a2b
Update autowaf
3 years ago