Commits
- 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:
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:
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
- Commit:
f2f6d207e8856d57057b4c2e3237fcfade4278ed
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
trigger log thread if a log view is opened as a child view; found by naddy
- Commit:
a1b774028efab4c5ed609551502edf024af8cca5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix calls to ref_usage(); found by naddy
- Commit:
6458efa5c16a7c2047493dd0b0ba8b6c2f7cf79e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial 'tog ref' implementation
ok naddy tracey
- Commit:
78756c87d902bd89e7c1e8ef59bf2da2439e3bc2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store reflists in view state where required and get rid of reflist pointers
ok tracey naddy
- Commit:
3dbaef42733b9b959e3fdbd00ea0dc98f1aadd9e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog diff' accept reference and tag arguments; add -w and -C options
ok naddy tracey
- Commit:
27829c9eecdd45b95815c64d7fea5216ca5bf259
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reset tog diff view's scroll position if diff context shrinks too much
- Commit:
64453f7e55c4c69b6cd08229929ed8227b789ff8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle binary files in got/tog diff commands; add -a options to force text
- Commit:
be659d10a8dd75e169fb7a246f54238dfc4386e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix type of filesize output parameter of got_object_blob_dump_to_file()
- Commit:
8fa913ec61095de669c9ca40e3cd782d53c85bdc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove now pointless 'check_disk' parameter of got_repo_map_path()
suggested by naddy
- Commit:
bfd61697d22df765ef7a98856bc68c4b19109c6e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog avoid got_repo_map_path() if a work tree is available
ok naddy
- Commit:
276b94a1f9ff915aab767e558957527ccddf43e9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Call pthread_cond_destroy(cond) exactly once when closing a view.
This moves the pthread_cond_destroy(need_commits) from stop_log_thread(),
which can be called twice, to close_log_view(), which is called
once. It also destroys the commit_loaded condition variable, which
is created in open_log_view() but was never destroyed.
ok stsp
- Commit:
41605754d020cd4be569b2dffdfac47451ea8925
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
highlight matched search terms in tog diff and tog blame views
ok naddy@
- Commit:
135a2da0c5bd18fcf65ac142fa604ec03ad1aa2d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show current/total line numbers in tog's diff view header
- Commit:
e54cc94af2217992a549a0ae0cf2d38314120297
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug two memory leaks in tog's draw_file()
- Commit:
fe621944e83fe6367f7bff97128b4240a9cdc7c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge new diff implementation from the git.gameoftrees.org diff.git repository
This new diff implementation was started by Neels Hofmeyr during the u2k20
hackathon and now replaces diffreg.c code lifted from the OpenBSD base system.
The integration of this code into Got was done by me.
Got now uses the patience diff algorithm by default.
The diff.git repository will remain the primary repository for the diff code,
which already compiles and runs on other operating systems such as Linux.
Any fixes and improvements for files inherited from the diff.git repository
should be written against that repository and synced to got.git afterwards.
- Commit:
62d463cac1fd99c423acb07c0367c649724a2a9a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes