Commit Briefs

Omar Polo

typo + fmt


Omar Polo

factorize place_cursor


Omar Polo

simplify minibuffer/echoarea redraw

split the logic into two functions: one to render the echoarea and one to rendere the minibuffer (when it's active).


Omar Polo

move utf8 decl. to utf8.h


Omar Polo

move ui decl. to ui.h


Omar Polo

move declarations to minibuffer.h


Omar Polo

move minibuffer-related fns to their own file

and a bit of foreshadowing... :)


Omar Polo

rename minibuf to echoarea

there's a close relationship between the echoarea and the minibuffer, but let's call it echoarea for now.




Omar Polo

bugfix: print the trailing face until the right column

This would leave the last column white if !olivetti-mode and a background color for some body lines


Omar Polo

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.


Omar Polo

fix top_line/current_line wrt L_HIDDEN

this fixes some infinite loops that may happen if the first line is hidden, or things happens. The idea is to move the line forward/backward until a non-hidden one is found.



Omar Polo

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.