separate commit on purpose (in case I want to support zero compression
again) and the final bits to complete the reimplementation of QHostAddress
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the scope parsing and output (from QHostAddress::toString()) is totally not
according to the RFC mentioned in the QHostAddress documentation tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
both inet_pton() and inet_ntop() are supposed to be part of POSIX.1-2001
(see https://linux.die.net/man/3/inet_pton and
https://linux.die.net/man/3/inet_ntop), this makes QHostAddress input
requirements much more strict (e.g. whitespace in the input makes the
resulting QHostAddress object not valid) thus some QHostAddress tests fail
but QHostInfo tests pass. amends (such as return value checks) can be done
later
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>