aadc7c37 — Curtis Arthaud 13 days ago master
time::date: realize: support ISO week dates

Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
Co-authored-by: Byron Torres <b@torresjrjr.com>
febd5fe3 — Curtis Arthaud 14 days ago
time::date: parse() %G and %V

Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
regex: allow ^ at start of every whole-expression alternation

Signed-off-by: Max Schillinger <max@mxsr.de>
regex: allow $ at end of every whole-expression alternation

Signed-off-by: Max Schillinger <max@mxsr.de>
regex: fix anchor bug in whole-expression alternations

The regex pattern `a|b` doesn't match `xb` because it contains an
implicit start of line anchor (`^`) before the `b`. The pattern behaves
like `a|^b`.

This commit fixes this by adding an `inst_skip` at every
whole-expression alternation.

Signed-off-by: Max Schillinger <max@mxsr.de>
regex: remove duplicate tests

Signed-off-by: Max Schillinger <max@mxsr.de>
74719e1e — Lorenz (xha) 7 days ago
docs/rfc.md: remove

not helpful to have documentation in two places, it's already documented here:

Signed-off-by: Lorenz (xha) <me@xha.li>
net/uri: fix silly usage of wantrune()

This is a follow-up to my previous fix. I now realized that using
`wantrune()` like I did here is silly. If I understand correctly,
`wantrune()` expresses that there should be a next rune or the URI is
invalid, but this is not the case here. So stick to `strings::next()`
and handle `done` instead of `invalid` (not much sense in handling an
event called `invalid` and continue parsing...).

Signed-off-by: Conrad Hoffmann <ch@bitfehler.net>
net/uri: fix absolute path when no authority

Parsing URIs without authority but with absolute path is currently
broken. If the path is just '/', the parsing fails. If the path is
longer, it will be returned without the leading slash (i.e. as relative
path). Also adds test cases for both cases to avoid future regressions.

Signed-off-by: Conrad Hoffmann <ch@bitfehler.net>
debug::dwarf: eliminate use of bufio::read_* functions

This is the last internal consumer of these functions.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
encoding::pem: replace bufio::read_line with scanner

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
net::uri: remove unused import

Signed-off-by: Drew DeVault <sir@cmpwn.com>
net/uri: fix some leaks
hare.1: add note about poor error message quality

Signed-off-by: Sebastian <sebastian@sebsite.pw>
NetBSD: add os::shm_open()

- Update rt/+netbsd/syscallno.ha with NetBSD 10.0 syscalls
- Add fstatvfs1 syscall
- Add unlink syscall
- Fix whitespace and comments in rt/+netbsd/types.ha

Signed-off-by: Mallory Adams <malloryadams@fastmail.com>
time::date: fix typo
Remove most unused imports.

Signed-off-by: Joe Finney <me@spxtr.net>
hare::unparse: Add 'done' literal

Signed-off-by: Alexey Yerin <yyp@disroot.org>
os: add wrappers for xattr syscalls
syscalls: add removexattr