Commits


fix two related bug Don't crash when there's a certificate mismatch and after saving the cert, before choosing to persist it, the page gets redirected; also, don't repeat the "Certificate mismatch" after the first yes, if there's a redirect. Now when the user accept a certificate, is treated as temporary saved for the whole session.


add hide-pre-context and hide-pre-blocks * hide-pre-context: if nonzero hide the start and end line of a pre block (i.e. ```). Defaults to zero. * add: hide-pre-blocks: if nonzero hide by default the body of a pre block; push-button can be used to toggle visibility per-block. Defaults to zero.


add support for hidden lines; push-button now toggle pre blocks


retire restore_cursor and the force-redraw optimization (for now) don't consider restore_cursor as a public interface and while there rename it as restore_curs_x, as it describes better the behaviour of the function. I have to disable the buffer->force-redraw optimization, at least from now, given that cmd.c don't update curs_y anymore, and with that optimisation in place the cursor y position doesn't get updated upon redraw. Add a comment as a future note though.


introduce erase_buffer


optimisation: cache the top_line vline instead of using the line_off + vline_nth, cache the current top line.


allow styling the minibuffer and modeline too


allow `bind map key cmd' in config file


move the list of cmd to its own file


kill lineface_descr and move its fields into line_face


rename config_apply_color -> config_apply_style


add support for custom protocol proxies


add save_excursion and restore_excursion


allow changing the colors/attributes of the tabline


allow changing the attributes `attr' now follows the same rule as `fg' and `bg', with the three airity variant. Attributes by themselves are a comma-separated list of keywords, each one representing a ncurses attribute.