6 years ago Stefan Sperling
mark many functions and structs static in got.c and tog.c
remove view_id stuff from tog; it's unused
remove pointless comment
merge log_view and diff_view structs
remove unused main window/panel in tog
move got_opentmp* functions to public API; used from tog
move common diff helpers from got and tog into lib/diff.c
implement 'tog diff' in a basic way
always scroll down by a full page during page-down scroll
fix single-step downwards scrolling in tog; broken by previous
improve selection behaviour for page-up/down scrolling
disallow single-step scrolling beyond available commits in tog
implement page-down scroll in tog log view
implement page-up scrolling in tog log view
add a tog helper function for scrolling down N lines
add a tog helper function for scrolling up N lines
don't fetch commits redundantly when scrolling down in tog
hide terminal cursor in tog
tweak conditional; no functional change
implement upwards scrolling in tog log view
make tog store all first-parent commits, not just those displayed
add get_head_commit_id() helper function to tog
fix upper limit of number of commits in log view
fix error handling case in tog(1)
fix potential crash in tog(1)