Commit Briefs

Thomas Adam

fix build of tog on sparc64 with -Werror

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


Thomas Adam

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@


Thomas Adam

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@


Thomas Adam

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@




Thomas Adam

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

found by op@ ok op@ tracey@



Thomas Adam

wrap overlong lines in tog.c


Thomas Adam

fix horizontal scrolling of unicode in the blame view

ok op@


Thomas Adam

fix horizontal scrolling of unicode in tog diff view

ok op@


Thomas Adam

add missing linebreaks to demarcate sentences in tog.1

ok op@


Thomas Adam

missed style(9) fixes in previous commit

ok tb@


Thomas Adam

fix build with -DGOT_NO_OBJ_CACHE

ok stsp


Thomas Adam

plug realloc memleak and style(9) fixes in expand_tab()

fixes and ok from tb@



Thomas Adam

fix an off-by-one in tog's draw_file() causing wrong diff output

This issue caused empty lines added in diffs to be displayed without leading + in the diff view. Problem found by op@ ok op jamsek



Thomas Adam

fix horizontal scrolling of unicode in tog log view

ok jamsek


Thomas Adam

fix horizontal scrolling bug in the blame view

ok op@, jamsek


Thomas Adam

show last-modified date in the "tog ref" view if the 'm' key is pressed

Patch by Mark Jamsek


Thomas Adam

implement horizontal scrolling for tog diff, blame, and log views

Patch by Mark Jamsek


Thomas Adam

style: remove double semicolon


Thomas Adam

revert "clear the rest of the pack_fds pointers"

There is no need to clear local variables before returning from a function. ok tracey