Commit Briefs

6de537c079 Stefan Sperling

CHANGES for 0.71 (tags/0.71)


a00719e9ec 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 <)


dd6e31d7e3 Stefan Sperling

fix build of tog on sparc64 with -Werror

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


4d1f6af329 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@


0dbbbe90fd 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@


4e4a9ac8bc 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@


95d136acd3 Stefan Sperling

fix wrong pointer in NULL check; found by tracey



cb7135077d Stefan Sperling

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

found by op@ ok op@ tracey@


1853e0f425 Stefan Sperling

fix diff and blame view search for horizontal scrolling with unicode

ok op@


87411fa9fa Stefan Sperling

wrap overlong lines in tog.c


4cb9d86977 Stefan Sperling

fix horizontal scrolling of unicode in the blame view

ok op@


969c159c1e Stefan Sperling

fix horizontal scrolling of unicode in tog diff view

ok op@


f7443f6606 Mark Jamsek

add missing linebreaks to demarcate sentences in tog.1

ok op@


367ddf2871 Mark Jamsek

missed style(9) fixes in previous commit

ok tb@


20282b029a Tracey Emery

fix build with -DGOT_NO_OBJ_CACHE

ok stsp


6e1c41adc8 Mark Jamsek

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

fixes and ok from tb@


ccda2f4db6 Stefan Sperling

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

ok op@


0ce35b6695 Stefan Sperling

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



29688b02fe Stefan Sperling

fix horizontal scrolling of unicode in tog log view

ok jamsek


a75b3e2dd7 Stefan Sperling

fix horizontal scrolling bug in the blame view

ok op@, jamsek


b4996beee4 Stefan Sperling

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

Patch by Mark Jamsek


145b6838cd Stefan Sperling

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

Patch by Mark Jamsek


1b1b91abdb Omar Polo

style: remove double semicolon