Commits
- Commit:
e6b8b8905c5a1967c31bf6b8abed6d6b05fbff14
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog log: terminate author field at '>' in case there is no '@'
ok stsp
- Commit:
f193b03845f89ae0e671e5f871fe635020cb7b48
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_reflist_object_map_free to got_reflist_object_id_map_free
- Commit:
dae613fa0e1938aee68699d7118412f82912facf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a comment that is now misleading
- Commit:
d9dff0e5c658f1bef8647522dcb5b851b3f4734e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch reflist to TAILQ; insert elements more efficiently for sorted input
ok naddy
- Commit:
87670572d0f25fb0137be54add50dd728195bb0d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch the "tog <path>" log view shortcut to the global reference list, too
ok stsp
- Commit:
84de91061b4d6cf5649efd5a42c4c3b90550332c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags'
Make use of this where possible to avoid re-reading references from disk.
ok naddy
- Commit:
8924d611db93087fb80e3221b1876b5ebabe5f0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch tog ref view to the global reference list as well
ok naddy
- Commit:
51a10b52c0575add67661e603b216358d68f8ed8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog store refs and object id map in global variables instead of per view
ok naddy
- Commit:
d2075bf3e6019b7903ce19414f09348839e36fbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make use of reflist object id maps in tog log and diff views
This is a partial fix for performance issues when browsing the FreeBSD
Git repo, which can easily contain more than 4000 references.
ok naddy
- Commit:
c156c7a4f456c171f9e458793a2baa06389f8e1e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not mix up repositories if tog's -r option is used inside a work tree
with input from and ok naddy
- Commit:
6059809a13b5d528052e38f84661039e6565f458
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; by emaste@freebsd
Same change as 16aeacf7088d, for subdirectories other than lib/
- Commit:
748d5cab9a3d0d5d0edc28c8fd38430c684b1e55
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace unprintable characters with '.' before passing them to curses
Otherwise, ncurses will replace them with some printable representation
whose width we can't predict, and wunctrl() fails to return the
replacement for 0x80..0x9f.
ok stsp
- Commit:
f5a09613ce18eb49de0d07d7f7a1dbd5dcac25c8
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
reset tog blame view's scroll position if line count shrinks too much
ok stsp
- Commit:
7f64f4d6a730d414a4060625b2aceb39b89621eb
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
accommodate newer ncurses where panel_userptr() returns a const pointer
ok stsp
- Commit:
826082fed43c92130e9545e829c660b3c2fd2fab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use getline(3) instead of fparseln(3) in tog, for better portability
ok millert
- Commit:
3f670bfb38a502b7309f7db354b9d4f767ea12fc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix display of lines that end in "\r\n" in tog(1)
Problem found and reported by jrick
ok naddy
- Commit:
9cd7cbd12706001e5786d399b4421e5150c82be1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
deep-copy reference names in the log and tree views to prevent use-after-free
ok naddy
- Commit:
bf30f15468e36d39f58e79bc407c20e02d30deaa
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
miscellaneous minor style issues
- Commit:
ca51c5411b14602dbc1b2de3e719eb15b0e7024e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reload references when the log view is restarted with Ctrl-L
- Commit:
4e0d287073e17725b38ac3103043c87112cd84e5
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
pass the thread_args struct to queue_commits() and trim the parameter list
ok stsp
- Commit:
1e1ff4ed1450f7db40a4abd77d9016432a1291ef
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move the tree view's selection cursor up if the terminal shrinks too much
ok naddy
- Commit:
8b5b8d0ca2f5e814f7cf2921c3dbe91e53012a4e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move the ref view's selection cursor up if the terminal shrinks too much
bug found by naddy
ok naddy
- Commit:
cdfcfb036ce6caac01cb04ae2805cf202a1fc068
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
send resize events to tog child views as well as parent views
problem found by naddy
ok naddy
- Commit:
213556435a701b3010c66843b5b824af2d3b6f72
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crashes when the 'tog log' view reloads displayed data
This reimplements log view reloading (Ctrl-L), logging of a parent
path (Backspace), and the toggle to show commits on branches (B).
The idea is to reuse the existing log view and change its state, instead
of allocating a new view with a new state and replacing the existing view.
Fixes a segfault that occurs when a parent path is logged with Backspace:
tog tree -r got.git -c 0.44
pick tog/tog.c
'l'
Backspace
-> tog will segfault
The first change in this patch is a partial fix. The log thread should always
check the 'quit' flag as soon as it wakes from sleep. Otherwise it could try
to load more commits after waking up and before checking the 'quit' flag.
It will then attempt to load commits with a NULL commit graph pointer.
This partial fix by itself is not sufficient to fix the crash, since we'll
now see a bus error in the main thread, instead of a NULL deref in the
log thread. The remainder of the patch fixes this bus error.
ok naddy
- Commit:
486cd271536d13bdd204143922fc527bd7b28952
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug leak of ref in cmd_tree(); found by naddy