Commits


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@


fix wrong pointer in NULL check; found by tracey


fix highlighting issues in tog diff/blame search on lines with tabs


tog: fix crash in expand_tab while searching in diff/blame views found by op@ ok op@ tracey@


fix diff and blame view search for horizontal scrolling with unicode ok op@


wrap overlong lines in tog.c


fix horizontal scrolling of unicode in the blame view ok op@


fix horizontal scrolling of unicode in tog diff view ok op@


add missing linebreaks to demarcate sentences in tog.1 ok op@


missed style(9) fixes in previous commit ok tb@


fix build with -DGOT_NO_OBJ_CACHE ok stsp


plug realloc memleak and style(9) fixes in expand_tab() fixes and ok from tb@


move horizontal line scrolling logic into format_line() for easier reuse ok op@


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


fix a recent regression where tog segfaults if Ctrl+l is used in the log view