Commits
- Commit:
27a7eb2334fa33dee50546dc3b0d8cd4eb770923
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid printing harmless errors that can occur when tog exits due to Ctrl-C
ok jamsek
- Commit:
47cc6e779191771a207495fd7e4d1cbe915f71d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix detection of SIGTERM in tog; this signal was accidentally being ignored
ok jamsek
- Commit:
0a58e7222f591acd7479040f317f1e0e0e9d132e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
ba5cc5fa6d3cb2de42937287ae932026dbf967ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
d0d3e7a4b8abe052820792c09bcdbd763b6be711
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tweak view name display in the help screen for clarity
- Commit:
d2c172746f7e32f0649b60375e77ec77363ca7df
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
850265be5c1846c742ea6b6413d52a8c3118cadf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix indentation; from jamsek
- Commit:
06ff88bb4fd24d28eac73efe33f3a92ad5369a5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make exiting tog's help screen easier for new users
ok jamsek
- Commit:
a7dd23ad257cf5f2f45268ad73afb49be16ae110
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
6f6c25d65e82e60c44877d2aa05bcbdbc48e65b3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
30e77f6ad14985d6db8d179b7ed73dc4c8cab68a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
2a7d3cd7fd18be5657ca71a452a73ba70a8530e5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
fc2737d5cdf003ae6a96db1af639d7fa39643f75
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
e7baaec8113dd8e2b22320006a167ffc6ff39d84
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: respect current cursor position during log search
ok op@
- Commit:
7e8004bac7c582235903e2d61b6e7b59f96244ea
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
7210b7156b950b1b2c0055beb00fab4b3e442317
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got_commit_graph_iter_next use caller-provided storage for the id
and adjust the callers. discussed with and ok stsp@
- Commit:
86f4aab9e588b1f19647a7d8a2492a262e960fed
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
f31d6c3bb64ee3c4dc056588d559b58a9174ba59
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: extend log view author highlight colour to full field width
ok stsp@
- Commit:
cacf16907d60b1450a87868913052cb6dd375b24
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: ensure stdin is a tty
This guards against {mis,ab}use such as `tog < /dev/null`.
ok plus fix from op@
- Commit:
d68b973725ce0a2c7b1f5094448a444d4f2effdc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
d3f8b1f9b4928339a8421ee84b92b407104086d5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: remove gcc ternary if extension
ok stsp@
- Commit:
d6506a3d8fbcc06720765fc488978d6ad81202d4
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Group options in accordance with style(9)
patch by Josiah Frentsos
- Commit:
2510002603337f808dc9857a6904a9ca3a6e9f22
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: add missing checks for NULL pointers in log view state
ok jamsek
- Commit:
c0be89335b195b639d4dd9a3159ddf6f38937444
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: don't block when processing log view 'G' key map
As per stsp's TODO item, make tog respond to key presses while "loading..."
history. Initial testing in src.git appears to work as intended.
ok stsp@
- Commit:
6f5f393a4c4429e6729a0e6b3d7353c5cc29ccb4
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix delayed tree index update
If a child blame view has been opened, halfdelay() is reset to a 1 second
refresh rate, so the index in the header lags behind subtree navigation as we
set the index based on the selected tree entry, which isn't updated till that
refresh cycle completes. Don't wait for the selected_entry to update; instead,
compute the index from the first displayed entry and the currently selected
line index.
improved by and ok stsp@