~sircmpwn/hare unlisted

unix::poll: fix documentation reference

Signed-off-by: Drew DeVault <sir@cmpwn.com>
net::dns: declare unix::poll dependency

Signed-off-by: Drew DeVault <sir@cmpwn.com>
unix::poll: new module

This also updates net::dns to use unix::poll instead of rt::ppoll
directly.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
strconv: implement Eisel-Lemire fast float parsing algorithm

Signed-off-by: Sudipto Mallick <smlckz@disroot.org>
encoding::base64: fixup documentation

 - Remove promises we don't care about
 - Mention ability for invalid index to be out of original input bounds
encoding::base64: new module

The acceptance of invalid padding is not implemented because of the
security considerations described in the RFC[1] and the fact that a
`no_padding` return type would make verifying that no padding was used
more difficult[2]. Should this be desired, a dedicated alphabet type or
set of flags allowing explicitly no padding, any padding, or (perhaps)
any invalid characters at all would be more clear

[1]https://datatracker.ietf.org/doc/html/rfc4648#section-12
[2]One would have to check that either `no_padding` was returned or, if it
wasn't, that the length of the data is a multiple of 4 and thus didn't
have padding in the first place. The latter part is important otherwise
an attacker could covertly send padding.

Signed-off-by: Steven Guikal <void@fluix.one>
COPYING: Remove incompatibility notice

It does not apply here.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Add a variety of float functions to math/floats.ha

Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
strconv: allow leading '+' in stoi*

Fixes #462

Signed-off-by: Alexey Yerin <yyp@disroot.org>
fs, unix::umask: don't clear file mode bits

Signed-off-by: Umar Getagazov <umar@handlerug.me>
unix: declare fs dependency

Signed-off-by: Drew DeVault <sir@cmpwn.com>
cmd/hare: print path details to stderr

Signed-off-by: Drew DeVault <sir@cmpwn.com>
cmd/hare: rework 'hare version' command

Signed-off-by: Drew DeVault <sir@cmpwn.com>
cmd/hare: simplify main.ha

Signed-off-by: Drew DeVault <sir@cmpwn.com>
unix: add umask wrapper for Linux

Signed-off-by: Umar Getagazov <umar@handlerug.me>
strings: add ltrim, rtrim and trim

Signed-off-by: Sudipto Mallick <smlckz@disroot.org>
cmd/hare: add HARE_DEBUG_WORKDIR variable

This leaves the workdir around after a build.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
rt: add basic +debug allocator

Signed-off-by: Drew DeVault <sir@cmpwn.com>
bufio::buffered: don't free static streams

Signed-off-by: Drew DeVault <sir@cmpwn.com>
fs::chmod: fix the permission mask

This commit also makes the code a bit more consistent.
Next