Fix the build system to correctly include config.h
Remove cryptopp dependency, directly include a simple sha1 implementation
Provide a JID for IRC users, and add a stringprep dependency for this
Put utils::tolower definition in its own cpp file
Rewrite the FindIconv module cleanly
Rewrite the FindCryptopp cmake module cleanly
Use the logger everywhere
fsanitize=address requires libasan, that’s a useless dependency.
Also we cannot use both this feature and valgrind at the same time.
So, I’ll just specify this flag myself when I need it, this doesn’t
need to be there by default
Let the user choose the poller to use through cmake POLLER option
Use ccmake, or cmake -i, or cmake -DPOLLER=EPOLL, for example
Link with pthread, required by cryptopp
Basic handling of modes, both ways
Add a Config module, and use it to get the password from a file
Fix the include of the config.h
And actually use the values found by cmake
Properly detect iconv features to compile
Use the Expat library directly instead of relying on expatpp
And now we handle namespaces, yay.
And a nice little test.
Check UTF-8 encoding, and convert strings to UTF-8
Handle conversion errors properly by inserting � instead. Add a binary
header to provide portable way to write binary literals (I like them) Also
add a test file. ref #2404