Commits
- Commit:
748b46b9f4f7af3736a2bdc81e204d250a56b3c7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
4c2d69cb280249e1deaae9699e989795509029e3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: make SPACE page down in all views
ok op@, Mark Jamsek
- Commit:
b65b3ea056c6456b6b335189af016235a22c2515
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
1c5e5faa6333a09f54d94e18818547ae55f433f7
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
1f4d51624ce2a28d6cd8385d3ec7bef9975db99f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
small grammar and accuracy fixes in a comment
- Commit:
b74feda6c03e98dfcfc9b50c418817ee34ae4f51
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing braces around multi-line if-statement body; pointed out by op@
- Commit:
df5e841d09305f99fc2b172349b1caf24bf1e10b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
take tog selection cursor position into account when searching for next match
Patch by Mikhail
ok op@ jamsek
- Commit:
e24d0f152ad6cb66adbe0efce357b73d9d719fe5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: reset matched and search data after C-l
otherwise they point to free'd data. ok stsp@
- Commit:
9a1d7435894d96f76306bd47db368d52bc7096d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
c31666ae2d9d83148e3a726b077fb0756d807a4d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix build of tog on sparc64 with -Werror
error was tog/tog.c:636: warning: function declaration isn't a prototype
- Commit:
5c6cacf5ac35a34762aea020d9eba56b1b973c94
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
40236d7667cfdc2a4107c514b64f7f7bf6490f45
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
8d208d3487a42414bcbbd542d3caca89e442fb33
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
1065461da75da76e9e55d79a8b1c74b7d1f75e00
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix wrong pointer in NULL check; found by tracey
- Commit:
666f7b101a108aff1b7d4ddf36521f55159db286
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix highlighting issues in tog diff/blame search on lines with tabs
- Commit:
78eecffc27a77c02d95f8ab9dffb7d8ec7dba733
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix crash in expand_tab while searching in diff/blame views
found by op@
ok op@ tracey@
- Commit:
cbea38000971f273e45bd6c97b6203daefbb8438
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix diff and blame view search for horizontal scrolling with unicode
ok op@
- Commit:
9119855459d45307656bf70c7302295c55be7bae
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
wrap overlong lines in tog.c
- Commit:
923086fdfc886d17bc06195d87e3fd344c1f0474
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix horizontal scrolling of unicode in the blame view
ok op@
- Commit:
f1c0ec19a9ca0f47f5ed103fb127207019c336d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix horizontal scrolling of unicode in tog diff view
ok op@
- Commit:
b235ad5de664deda8bcce9efe3083f81c643774c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
missed style(9) fixes in previous commit
ok tb@
- Commit:
8331683470d6461305fa990d167c7f9b3be031e2
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug realloc memleak and style(9) fixes in expand_tab()
fixes and ok from tb@
- Commit:
f91a2b483b4be113fca62a06cd1c43795052af81
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move horizontal line scrolling logic into format_line() for easier reuse
ok op@
- Commit:
4122562d732f642d4fe4f5926b534508f2336155
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix an off-by-one in tog's draw_file() causing wrong diff output
This issue caused empty lines added in diffs to be displayed without
leading + in the diff view.
Problem found by op@
ok op jamsek
- Commit:
bf7e79b3bda88577a127a80a52a869c2766b8d7f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix a recent regression where tog segfaults if Ctrl+l is used in the log view