Commit Briefs

Omar Polo

delay erase_buffer until parser_init

The idea is to handle better non-displayable pages (like images), and keeping the old page until the server replies is the first step. It also simplifies the memory management btw.





Omar Polo

move more stuff outta telescope.c


Omar Polo

tilde-heuristics for titles

use `~username' as tab title if the page doesn't have any headings


Omar Polo

fix off-by-one

Thanks to the fact that we're using a bigger buffer in the net process, and thanks to the way otto@' malloc works, it was easy to detect this off-by-one in a large page (RFC3089 in particular).






Omar Polo

style(9)




Omar Polo

fix a case of use-after-free in parser_set_buf

p->buf and buf almost always overlap. This means that once we free(p->buf), buf becomes invalid. It probably never crashed on memcpy since because the buffer is almost always quite small.