Commits
- Commit:
f9d376997dd2e84bf84c3c9a4da842d1b5565e9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() out of lib/diff.c again
ok tracey
- Commit:
1b484788fec38ce9936267c176e77f653d749b8d
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of blame_open ok stsp@ jrick@
- Commit:
eb81bc23c735e8aa9eaee796a230c7d7c76657ba
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of open_blob. ok stsp@
- Commit:
c301e4ed7f25d48be4d36d791f90cac50b0be419
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: echo count prefix when entering compound key maps
like less(1), echo the digits as they're typed.
suggested by and ok op@ stsp@
- Commit:
8469d82143a591d423c000c47c63bababe6f5716
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
always show commit or tree IDs in diff header, in order to help 'got patch'
The idea is that got patch can simply look for a line such as:
commit - abcde1234567...
to find the merge base commit ID to show in diff3 conflict markers.
got log -p now displays commit IDs in its diff header, instead ofl
tree or blob IDs.
ok op@
- Commit:
336075a42a5ae0fa322db734c481d21998e82bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
build with -Wmissing-prototypes
ok stsp@
- Commit:
640cd7ff31ef05df4f6394c8792925b7dd0b8c7c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: prefix mvmt keymaps with count modifier like vi(1)
Enable compound commands for all movement keymaps (e.g., hjkl, bfdu). The
optional prefixed count determines how many times the movement is performed;
for example, '123j' (move 123 lines down) or '4f' (scroll 4 pages down).
Counts are ignored if preceding non-movement and some singular movement
operations (e.g., 't', 'r', 'ret', '/', '$', 'G', 'g').
ok stsp@
- Commit:
63ba1a3a6f40953d1636e718c0e0000a3d626159
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix `limit' accounting in draw_commit
if the child view is fullscreen we don't need to subtract one, because
no vborder is drawn.
ok Mark Jamsek
- Commit:
48bb96f04b6f67bbc78ae9526830dbf20e84ef7d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: make SPACE page down in all views
ok op@, Mark Jamsek
- Commit:
6131ff18e81056001a823f913094a92c10580cba
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix fullscreen view regression introduced in 0dbbbe90fd
When cycling from a child view in fullscreen, the parent view is opened in
a splitscreen with no border instead of fullscreen. Check the view mode when
cycling between views and resize parent dimensions accordingly.
ok op@
- Commit:
6141756554c6ee1a8a23728658279ef5e16262a0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
alias C-b/C-f to scroll page back/forward with b/f
Suggested by naddy. Remap 'f'ullscreen to 'F', and blame view key maps 'b' and
'B' to 'c' and 'C', respectively, per stsp's and naddy's suggestion. While
here, remove trailing whitespace.
ok naddy@
- Commit:
f704b35c7dbaaf8f3d4c7ee8b219e027d00816f2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
small grammar and accuracy fixes in a comment
- Commit:
4bfe9f0a4671fffd9de9bcb1048c5fdec8a3b9c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing braces around multi-line if-statement body; pointed out by op@
- Commit:
364ac6fd6d8e9ecf616ce569d655cbc3ad8f7680
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
take tog selection cursor position into account when searching for next match
Patch by Mikhail
ok op@ jamsek
- Commit:
dfee752e56872f1c60240f72c9cf845415488bcc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tog: reset matched and search data after C-l
otherwise they point to free'd data. ok stsp@
- Commit:
a00719e9ec7fca4511eb77a8aee31bd098f52c68
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a segfault in tog diff
The f1 tempfile must always be created. Even if the initial diff has no
objects on the left side, the view can be switched to a different diff
which does have objects on both sides. When that happened, tog crashed.
(To reproduce: open tog in got.git, hit G, hit Enter, hit <)
- Commit:
dd6e31d7e33e64ea324b0afe932b3a509d7d963e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix build of tog on sparc64 with -Werror
error was tog/tog.c:636: warning: function declaration isn't a prototype
- Commit:
4d1f6af329d8c0aff4e62ee3fd5cf44c8ea57fa6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
account for the vborder in draw_commit
the vborder is drawn on top of the window and that can cause issues with
double-width characters. Instead, account for it when computing the
space available for the log message.
ok stsp@
- Commit:
0dbbbe90fd9a3e5eec46f03459367552d13fec3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tog: resize main view
drawing the child view on top of the main view when the layout is
split-screen can produce some ugly glitches when double-width
characters are involved. (issue found by stsp)
ok stsp@
- Commit:
4e4a9ac8bc1f43c6f8c14b163ee83d5a54f7a192
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify scroll_wline (now span_wline) and format_line
generalize scroll_wline to start at a specified offset so that we can
reuse it to simplify format_line. While here, simplify scroll_wline
(now called span_wline) too.
ok and improvements by stsp@
- Commit:
95d136acd37c706e1f4874b6606e5b70917a0d79
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong pointer in NULL check; found by tracey
- Commit:
44a87665e55ea6309b20b37d20574e25de5f50af
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix highlighting issues in tog diff/blame search on lines with tabs
- Commit:
cb7135077d54730dd9db4241233fcffdb77bd996
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: fix crash in expand_tab while searching in diff/blame views
found by op@
ok op@ tracey@
- Commit:
1853e0f4252bee193b48a934d269ecf11d6283fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix diff and blame view search for horizontal scrolling with unicode
ok op@
- Commit:
87411fa9fa02ed103ef9b39edb8f2751155567c7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
wrap overlong lines in tog.c