Commit Briefs

Stefan Sperling

CHANGES for 0.71 (tags/0.71)


Stefan Sperling

fix a segfault in tog diff

The f1 tempfile must always be created. Even if the initial diff has no objects on the left side, the view can be switched to a different diff which does have objects on both sides. When that happened, tog crashed. (To reproduce: open tog in got.git, hit G, hit Enter, hit <)


Stefan Sperling

fix build of tog on sparc64 with -Werror

error was tog/tog.c:636: warning: function declaration isn't a prototype


Omar Polo

account for the vborder in draw_commit

the vborder is drawn on top of the window and that can cause issues with double-width characters. Instead, account for it when computing the space available for the log message. ok stsp@


Omar Polo

tog: resize main view

drawing the child view on top of the main view when the layout is split-screen can produce some ugly glitches when double-width characters are involved. (issue found by stsp) ok stsp@


Omar Polo

simplify scroll_wline (now span_wline) and format_line

generalize scroll_wline to start at a specified offset so that we can reuse it to simplify format_line. While here, simplify scroll_wline (now called span_wline) too. ok and improvements by stsp@




Stefan Sperling

tog: fix crash in expand_tab while searching in diff/blame views

found by op@ ok op@ tracey@


Stefan Sperling

fix diff and blame view search for horizontal scrolling with unicode

ok op@


Stefan Sperling

wrap overlong lines in tog.c


Stefan Sperling

fix horizontal scrolling of unicode in the blame view

ok op@


Stefan Sperling

fix horizontal scrolling of unicode in tog diff view

ok op@


Mark Jamsek

add missing linebreaks to demarcate sentences in tog.1

ok op@


Mark Jamsek

missed style(9) fixes in previous commit

ok tb@