Commits


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


fix entry selection when moving to the parent in tog's tree view The tree view attempts to keep the scroll position of an already visited parent directory intact. If we start out by viewing a subtree and then move up, the scroll position of the parent isn't actually available since the parent tree was never nagivated by the user. In this case tree_view_walk_path() has to fill in some values. The only parent entry we know about in this case is the one which was traversed to reach the child. The best we can do is to lock the parent's scroll position such that the traversed child entry appears at the top of the list if moving up to the parent's view. If we then navigate down again and return, the parent's scroll position will start to be retained and restored properly. Analysis and draft patch by stsp, initial report and simpler fix by yours truly. ok stsp


use size_t for loop indices to avoid signedness warnings; from emaste@freebsd


let tog's tree and ref commands call their own usage() and not each other's


support opening a tree view from the ref view; requested by naddy


trigger log thread if a log view is opened as a child view; found by naddy


fix calls to ref_usage(); found by naddy


document tog ref


initial 'tog ref' implementation ok naddy tracey


store reflists in view state where required and get rid of reflist pointers ok tracey naddy


make 'tog diff' accept reference and tag arguments; add -w and -C options ok naddy tracey


do not forget to add an offset for line zero in diff_blobs() Fixes a problem in 'tog diff' where the first line of the output was cut off.


repair gotweb build after diff api changes


remove redundant lines of code from close_file2_and_reuse_file1()


sync files from diff.git 86b603da3068dce115470492279dc6f86f17f60b


prevent potential fclose(NULL) in error path of diff_blobs()


consistently label removed files as "/dev/null" in diff headers


sync files from diff.git e4c510c1d83fe01247b6f59d855dffad81e4f26a


handle binary files in blame's custom file diff atomizer


reset tog diff view's scroll position if diff context shrinks too much


handle binary files in got/tog diff commands; add -a options to force text