Commit graph

54 commits

Author SHA1 Message Date
extrawurst
4f3be697d5 upgrade ratatui 2023-06-19 15:05:17 +02:00
extrawurst
904885e001 tui -> ratatui
tui is not maintained anymore and it seems that ratatui is the successor: https://github.com/fdehau/tui-rs/issues/654
2023-04-19 14:46:09 +02:00
Christoph Rüßler
2554f04ace Don’t show upstream if commit is local branch head 2023-04-12 11:53:08 +02:00
Christoph Rüßler
3af256c75a Show remote branches in revlog 2023-04-12 11:53:08 +02:00
extrawurst
2fa4c7932c fix race issue in revlog message fetching
sometimes messages appear empty because getting the revlog is so fast (empty repo) that no draw happened yet and so we do not know yet what size the view will have.
fixes #1473
2023-03-01 14:22:42 +01:00
Andrey Krupskiy
57a5322fa7
Checkout commit (#1499)
* Add keybind to checkout commit in log view
* Extract commit checkout into method
* add quckbar hint for checkout commit
* add a smoke test
* update changelog
* show an error in popup

---------

Co-authored-by: Omnikar <omnikar5@gmail.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-02-04 07:00:19 +01:00
Christoph Rüßler
9fa5fddd93
Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
Alexandru Macovei
e371153034
Report failure to copy to clipboard (#1410)
* (refactor) move copy_commit_hash from revlog into commitlist, and make fewer functions public in commitlist
* (refactor) reduce duplication in commit copying code; use already-stored commits instead of looking up items
* (clipboard) actually check subprocess exit status, and report failure instead of ignoring it
* (commitlist) display popup with copy failure instead of exiting the application on error
2022-11-05 16:51:03 +01:00
Sergio Alejandro Ribera Costa
282e578ac3
Add notification when correctly copying hash commit (#1376) 2022-10-26 14:35:31 +02:00
extrawurst
ac67e53b12 dup current branch name in revlog 2022-10-19 14:03:04 +02:00
Alexandru Macovei
6b5745f6c2
Fix Clippy Lints (#1390)
* apply latest nigtly clippy lints
* temporarily disable const fn lints due to nigh false positive count on nightly
2022-10-19 13:45:12 +02:00
extrawurst
f04af21382 align branch name parenth usage
and added changelog github user name
2022-10-18 13:44:27 +02:00
Alexandru Macovei
216fad3140
Display tags and branches in the revlog (#1371)
* give tags a more distinctive appearance in the revlog
* store branches on commitlist, and display branch labels on head commits
2022-10-18 13:37:20 +02:00
Emil Jaszczuk
e0fa63c6c9
Allow copying multiple commits (#1288) 2022-09-19 10:54:29 +02:00
extrawurst
4249a278b6 nightly clippy fixes 2022-09-02 09:09:29 +02:00
Luigi Clemente
bacf81f6d6
Improve UI selection and command bar (#1299)
* Added new color for commands bar
* Made commit list item and file tree item fill the entire row
2022-08-30 14:03:35 +02:00
extrawurst
8e54bfd364 upgrade crossterm/tui 2022-08-17 22:12:39 +02:00
Stephan D
02efae1499
Fix stashlist after marked drop (#1207) 2022-04-23 19:01:15 +02:00
Stephan Dilly
132559ea7f
support annotated tags (#1073) 2022-01-12 12:44:34 +01:00
Stephan Dilly
3db1a68515
allow config for key symbols (#997)
closes #465
2021-11-20 18:44:04 +01:00
Stephan Dilly
8729530ba9 nightly clippy fixes 2021-09-10 11:19:32 +02:00
Ashvin Arsakularatne
e275caa872 add scrollbar to revlog 2021-08-28 14:32:12 +02:00
Stephan Dilly
9c7ac0f84d some more immutable string optimizations
and precompute diff line trimming (newlines)
2021-08-27 09:40:45 +02:00
andrewpollack
d3a6fdd2e7
Issue/768/support markdown emoji (#866) 2021-08-23 12:09:00 +02:00
Stephan Dilly
60d512a5b3 fix capacity 2021-08-22 12:53:53 +02:00
Stephan Dilly
2b85b81a3e
drop multiple stashes (#855) 2021-08-18 01:41:33 +02:00
Stephan Dilly
5c694bd696 improve marker styling 2021-08-17 17:54:13 +02:00
Stephan Dilly
3847ec92cf distinct marked commits styling 2021-08-17 14:51:27 +02:00
Stephan Dilly
dad8e8d43d cargo fmt: use hardtabs
since it does not support hard-whitespaces its the only way to make whitespaces consisitent and checked
2021-08-17 14:24:25 +02:00
Stephan Dilly
25a49e22f2 supporting marking commits in the log 2021-08-17 14:21:24 +02:00
Christoph Rüßler
2ed6f53dcf Add popup for tags
This closes #483.
2021-05-27 21:02:30 +02:00
Stephan Dilly
4cebb41cf4
Fix 682 smarter times in log (#683) 2021-05-06 14:11:15 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Christoph Rüßler
b7eed4361e Add blame view
This closes #484.
2021-04-21 15:03:37 +02:00
Stephan Dilly
dcfdc42003 cleanup 2021-03-08 01:51:55 +01:00
Stephan Dilly
bde8eb8a7b Revert "Support mouse scrolling (#306)"
This reverts commit 457f644f30.
2021-02-24 11:38:30 +01:00
Richard Menzies
457f644f30
Support mouse scrolling (#306)
Linked to #226
2021-02-23 11:03:50 +01:00
Antonio Yang
3101f7b104 copy commit hash 2020-12-19 16:27:26 +01:00
Stephan Dilly
2df0a8957b clippy fixes 2020-10-11 16:06:44 +02:00
Richard Menzies
93168639fe
Bump tui: 0.9 -> 0.12 (#289) 2020-10-08 09:56:36 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci (#246) 2020-08-28 10:52:24 +02:00
Antonio Yang
a95ffd7bcc
Customize key binds (#234)
* customizable key config
* provide example vim key config
* automatically show correct key binding in bottom cmd-bar
2020-08-26 18:23:53 +02:00
Stephan Dilly
0e81f062da fix slection error after deleting last element in stash (closes #223) 2020-08-08 09:24:23 +02:00
Stephan Dilly
315cf615e0
Async tag fetching (#195) 2020-07-12 13:21:34 +02:00
Stephan
4a442f3829 cleanup use 2020-06-29 12:30:10 +02:00
Stephan Dilly
895c013d10 fixed author column width (closes #148) 2020-06-25 10:27:07 +02:00
Stephan Dilly
0d84abd1c6 make draw take shared ref again 2020-06-23 11:03:02 +02:00
Stephan Dilly
b899751c2b share theme instead of copying it all over the place 2020-06-22 12:21:21 +02:00
Stephan Dilly
63e449fca9 indicate what branch we are on (closes #115) 2020-06-12 22:37:53 +02:00
Stephan Dilly
71fdf1d6a9 better tag highlighting in log 2020-06-06 19:33:52 +02:00