Commits


fix move to next/prev commit in diff view when the log view is not displayed Original analysis and final tweak by yours truly, all the hard work of fixing the program logic by stsp. ok stsp


pass reference name along when a log view is opened from a ref view ok naddy


replace 'focus_view' output param of view_input with 'view->focussed'


make tog call pledge(2) directly in main() instead of per-command All of tog's pledges are currently the same, and they must be the same because tog allows switching between available command views at run-time. ok tracey


remove unused function got_path_get_absolute(); realpath(3) is usually better


in got_repo_open(), let realpath(3) take care of relative paths


replace dead_view pointer in view_loop() with 'dying' flag in struct tog_view ok naddy


tog's view_set_child() never returned an error; simplify accordingly ok naddy


remove redundant "child_focussed" variable from struct tog_view ok naddy


tog's log view needs to request more commits when the window expands ok stsp


pass only the view state to scroll functions that don't need the full view ok stsp


reverse tree_view_visit_subtree() parameters for consistency ok stsp


trim repo parameter from tree_view_walk_path(), already set by open_tree_view() ok stsp


trim redundant and used parameters from draw_tree_entries() ok stsp


trim redundant parameters from draw_blame() ok stsp


trim redundant parameters from draw_file() ok stsp


trim redundant and unused parameters from draw_commits() and draw_commit() ok stsp


trim redundant and unused parameters from run_blame() ok stsp


trim redundant parameters from log_scroll_* and trigger_log_thread functions Also rename scroll_{up,down} to log_scroll_{up,down}; requested by stsp. ok stsp


trim redundant parameters from {ref,tree}_scroll_{up,down} functions Pass only the view and scroll amount to these functions; remove unused parameters and those that are contained in the view state. ok stsp


fix page-up/down in 'tog ref' view; ok naddy


fix page-down/page-up scrolling in the tog tree view problem reported by, fixed with lots of help from, and ok naddy


tog: make it possible to open a ref view from the tree view


fix a typo that triggered "munmap: Invalid argument" in got blame on FreeBSD ok stsp


replace echo with printf, stop option processing with "--" for portability ok stsp