Commit Briefs

3fa2381a5a Omar Polo

bump version to 0.9.1 (tags/0.9.1)


77257956f5 Omar Polo

changelog for 0.9.1



b7aa23a09d Omar Polo

README.md: mention the irc channel


b77b8bd56d Omar Polo

site: remove mention of pkg-config



0b1d941552 Omar Polo

site: s/ge/gemexp


2288173fd1 Omar Polo

remove mentions of pkg-config from the README


d0780551dc Omar Polo

configure.ac: remove PKG_PROG_PKG_CONFIG

since 64d120d070 we no longer use pkg-config. Fixes https://github.com/omar-polo/telescope/issues/9


a287e9ff39 Omar Polo

search: update links to new gemcap

According to gemini://geminispace.info, the search engine ha been shut down: The search provider geminispace.info has been shut down on 1st June 2024. Indeed, this seems to have happened prematurely but it is no longer serving requests. Therefore, switch to a different one.


a3e4d56b6d Thomas Adam

tls: guard against faulty gemini servers

Some gemini servers have faulty TLS handling, such as: gg: tls_close: EOF without close notify In such cases, telescope will receive that error and naturally assume there was a problem and stop processing. However, in the case of there still being legitimate content read from the request, this should still be displayed, rather than ignored. This change therefore detects this condition and adds a status of 'W' to telescope's modeline to indicate that the information presented is from a faulty gemini server and could be truncated and hence display oddly.


5cf5039df1 Omar Polo

fmt


8b846311dc Omar Polo

bufio: add bufio_io_err


0b756e42eb Thomas Adam

libgrapheme: don't allow parallel builds

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.


c4d1f652a3 Omar Polo

bufio: rename pflags -> wantev


140a1abdc7 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.


9659786c23 Omar Polo

grammar


1fa94674f9 Omar Polo

make gemini_parse_reply() return -1 on error


81df72e1bd 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.


5f285272df Omar Polo

simplify gemini_parse_reply()


1afd6a68da 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


f2a80e942a Omar Polo

simplify gemini header handling with buf_getdelim()


98f8e538bf Omar Polo

bufio: add buf_getdelim

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


7bdb6d522a Omar Polo

delete trailing whitespace


1a7a3e451f Omar Polo

point out the dependency changes in 0.9