Commits
- Commit:
41ad2652808e8c045a2a82b97bb309e35fde2887
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused function got_path_get_absolute(); realpath(3) is usually better
- Commit:
dbb02f4d25e3588f5eaecee3dd69a1306004af14
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in got_repo_open(), let realpath(3) take care of relative paths
- Commit:
9970f7fca9084ec99cb608732155668240b318fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace dead_view pointer in view_loop() with 'dying' flag in struct tog_view
ok naddy
- Commit:
72a9cb46de886cdce06a733a113b6ed47be4969b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog's view_set_child() never returned an error; simplify accordingly
ok naddy
- Commit:
acdafe9c25c0e859deb1540d58c50723221f12c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant "child_focussed" variable from struct tog_view
ok naddy
- Commit:
0bf7f15321b5345c5f024cd18cede1959da68873
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog's log view needs to request more commits when the window expands
ok stsp
- Commit:
3e13595003634037ff26696ce7a32545721bfc24
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
pass only the view state to scroll functions that don't need the full view
ok stsp
- Commit:
42a2230c34c2c687f7240566e9a9192a4a7f6f47
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
reverse tree_view_visit_subtree() parameters for consistency
ok stsp
- Commit:
d91faf3b4d4dad2a2fb478e472c1355b5cf864a9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim repo parameter from tree_view_walk_path(), already set by open_tree_view()
ok stsp
- Commit:
d86d3b18bf5528157d1125bd8476e36715c0de7f
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and used parameters from draw_tree_entries()
ok stsp
- Commit:
4f7c3e5ef9dcbaf5bf22ba67d9607de1b14c2fcf
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from draw_blame()
ok stsp
- Commit:
89f1a395ef2937f18d497603baa0036428c16905
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from draw_file()
ok stsp
- Commit:
8fdc79fef0665b11704d1ed9f5fd5386c6615b13
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and unused parameters from draw_commits() and draw_commit()
ok stsp
- Commit:
a538836306586bdccfe624c360afb341f68a7776
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and unused parameters from run_blame()
ok stsp
- Commit:
ffe385066240ef3f4d6b0f279be621a100b20a70
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
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
- Commit:
694d3271e2afd0fc9a20ede5856bd4ee41d92eb3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
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
- Commit:
34ba691717f92f1469abdb1fdcb04351278668a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix page-up/down in 'tog ref' view; ok naddy
- Commit:
fa86c4bf0e5efe0e4835e6df0aa0b587e098e8e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix page-down/page-up scrolling in the tog tree view
problem reported by, fixed with lots of help from, and ok naddy
- Commit:
152c1c93d3f4f950c827a16175c3f439311e28c0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: make it possible to open a ref view from the tree view
- Commit:
5e9266f9d6904304336b0a80b14ba5676953c9f0
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix a typo that triggered "munmap: Invalid argument" in got blame on FreeBSD
ok stsp
- Commit:
578133c9903e5620b4601f9c0f178f530d28722f
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace echo with printf, stop option processing with "--" for portability
ok stsp
- Commit:
9a1d514689bb6e57bb47e4c13630ba38bd650a39
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
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
- Commit:
16aeacf7088dcd3cd5e654af46a3015cecf41426
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; from emaste@freebsd
- Commit:
e99e2d157170987cd8665508a0adcbec58d040b6
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
let tog's tree and ref commands call their own usage() and not each other's
- Commit:
c42c9805fb36a73a8de6f81318a07617264ca7e0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
support opening a tree view from the ref view; requested by naddy