Commit Briefs

Omar Polo

fmt (main)


Omar Polo

bufio: add bufio_io_err


Thomas Adam

libgrapheme: don't allow parallel builds (refs/remotes/cb/main)

When building the bundled version of libgrapheme, don't build it in parallel, with "-j" is used to "make". In most cases, there's no guarantee that libgrapheme is going to be built before telescope, and the detection for this is such that it's always going to be called on-demand, which almost always guarantees that libgrapheme will be built after telescope.


Omar Polo

bufio: rename pflags -> wantev


Omar Polo

slightly rework gemini reply handling

- rename `r' to `code' - defer the buf_drain() call With libevent we had to free() the header string, whereas buf_getdelim() returns a string from the buffer itself, so we can safely defer the drain operation after the sanity checks.


Omar Polo

grammar



Omar Polo

don't pause the request in gemini_parse_reply()

a parse routine shouldn't interfere with the handling of the events; pulling this into the caller makes the logic simpler to follow.


Omar Polo

simplify gemini_parse_reply()


Omar Polo

configure: add a check to detect Libre/OpenSSL mixings

Now that we're using also some bits from libcrypto, it's important to not mix different libcrypto/ssl implementation in the same program. This check is taken from OpenSMTPD. May have helped with https://github.com/macports/macports-ports/pull/23007



Omar Polo

bufio: add buf_getdelim

will help simplifying a bit in net.c, and it's generally useful.


Omar Polo

delete trailing whitespace



Omar Polo

few more fixes for the site