Commits
- Commit:
3bf00f2542ea6e7825f52c155e5f3f5fecb136e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog log' display the committer handle by default, '@' switches to author
People coming from CVS might not expect names of patch contributers to
show up in commit history listings, so make things easy for them.
discussed with op@
- Commit:
9d0feb8b5d4a20276efaf3f29df59ade82cd38aa
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: always echo input prompt to bottom left of screen
Irrespective of the active view, always echo to the bottom left of the parent
view.
ok op@
- Commit:
092a9f9c956bc6b6f16e7f9897f5bca5e8a400fa
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix typo that breaks log search when in hsplit
Ironically, the typo "blocks" log search when in hsplit because we block input
on the wrong view! Pass the proper "v" view to nodelay() calls.
ok op@
- Commit:
ea371198ec8b032e31b86ddef231db39756a3b44
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cope with deleted references when reloading the tog log view
ok op jamsek
- Commit:
e45c294c2605016fcafbc76e8f911ae3dd126e7b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid printing harmless errors that can occur when tog exits due to Ctrl-C
ok jamsek
- Commit:
f044c8414b8ab21062f8866d8336fa7c8bf21897
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix detection of SIGTERM in tog; this signal was accidentally being ignored
ok jamsek
- Commit:
6a0a1bd407b4d06a6d003428daaa50cc2d92c6f9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync usage with reality
The -h and -V/--version flags must be given before the command; with
those flags the command is actually optional, but don't over-complicate
the usage string with these nitpicks.
ok/improvements stsp@
- Commit:
38d166d8a39caba9979a99c71a5f98a26ddc453d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
backout Make & command in tog's log view display "searching..."
The limit feature is more than just a search operation, tog's man page
has been updated accordingly.
- Commit:
fd6badaa23802f292e84971498f1f57318443671
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak view name display in the help screen for clarity
- Commit:
64ffece483cd67d1be7059657670ce1f90b53f2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Make & command in tog's log view display "searching..." while loading commits.
This command acts like a search operation, and the display should reflect that.
- Commit:
12c07a25b65fee8e7bca0ed2aa35f76e446d1241
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix indentation; from jamsek
- Commit:
16a2d4f0fd14165dfcd85b3a468295194a7480e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make exiting tog's help screen easier for new users
ok jamsek
- Commit:
94274a8f75da950b87727bc93439723aac3ea64c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: open help in fullscreen irrespective of view configuration
Prompted by a suggestion from stsp to make the help view distinct rather than
follow the default behaviour of established views. Occupying the fullscreen
seems to be a somewhat established convention for TUI apps.
ok stsp@
- Commit:
34a842a42b1cd020ca656445c0b65e67a97bff1a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
drop unconventional got_object_commit_dup() routine
Replace with got_object_commit_retain() to increment commit object
reference counter.
suggested by and ok stsp@
- Commit:
1681ba873c6a910d6acea91780ed16374329848b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: don't embed utf8 glyphs into tog.c source code
Reported by stsp: Embedded utf8 precludes developers running C locales
from browsing the code. Fix was suggested by stsp with hints from the
tmux(1) codebase.
ok stsp@
- Commit:
eaf2c13e05bf70e2d0819292768dad7bbadaa8f3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: refactor search setup into tog_view function pointers
Suggested by stsp. While here, add declarations for new help view routines.
ok stsp@
- Commit:
ec2a9698e29a1ee9152c8740cdce9603d84d224d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: implement runtime help accessible via H,F1 keymaps
Original idea inspired from discussion with tb, tobhe, and stsp at g2k22:
display view-specific help, with option to toggle display of full key map
reference when {H,F1} is pressed again inside the help view.
Includes improvements suggested by stsp.
ok stsp@
- Commit:
f83ada346bec1ad98dda1d8f0ee7e95551ff4780
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: respect current cursor position during log search
ok op@
- Commit:
568eae9578c8babb5be9eea6c85b9e016a6cdb29
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add new log view limit feature to filter commits
Use the & key map to enter a pattern with which to limit the displayed commits
to those matching the provided pattern; similar to less(1) and mutt's limit
feature. Includes various tweaks from op.
ok plus fixes from op@
- Commit:
d9787ed86ecec0bda7a570181d86c44ba80bd583
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make got_commit_graph_iter_next use caller-provided storage for the id
and adjust the callers. discussed with and ok stsp@
- Commit:
0c6ad1bc25c4e1d95a1173141a757137815ddaa8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: make headline highlight extend the full view width
In splitscreen mode, make the active view headline highlight extend the full
width of view->ncols. While here, format the tree view header like the blame
view by moving the index to the path line.
suggested by and ok stsp@
- Commit:
f0f62654dd608d01879094d1f491287f0f7029f1
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: extend log view author highlight colour to full field width
ok stsp@
- Commit:
3264c09cde46f38f7530f9e07225846c916c020e
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: ensure stdin is a tty
This guards against {mis,ab}use such as `tog < /dev/null`.
ok plus fix from op@
- Commit:
e15c42decfa8a80fb91cc1e19b467efc34a8c05d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug leak in the commit graph iterator
We fail to release the memory for the nodes. To fix it however, we some
consumer of the commit graph iterator need to be corrected: the returned
pointer is safe to be used only up until the next iter_next call;
save a copy it if it's needed afterwards too.
ok stsp@
- Commit:
4924afe127087d3fd243c0e488cde9769852ba7b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: remove gcc ternary if extension
ok stsp@