Commit graph

121 commits

Author SHA1 Message Date
linkmauve
26a38183cf
Fix all mismatched_lifetime_syntaxes warnings (#2727) 2025-10-28 16:34:42 +01:00
extrawurst
66af52ae70 rust 1.84 update 2025-01-09 17:38:44 +01:00
extrawurst
b89672b134 rust 1.80 clippy fixes 2024-07-26 13:24:52 +07:00
extrawurst
9c8c802b20 fix nightly clippy 2024-03-24 12:50:56 -07:00
Anas
c629070ea5
fix: fix typos (#2092) 2024-02-21 21:27:33 +01:00
extrawurst
2b39c6465a ratatui 0.24 update 2024-02-20 15:41:31 +01:00
extrawurst
acf4661c1e fix nighty and raise msrv 2024-02-19 11:36:38 +01:00
Alexandru Macovei
0383f9517b (refactor) shorten component creation by grouping common items in an Environment 2024-02-12 12:55:10 +01:00
Maurice Wangleng Tan
2fd957e2c8
Allow customizing line break visualization (#1904) 2023-10-16 18:00:48 +02:00
extrawurst
6ec647710d visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
extrawurst
53988ba4e0
fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
hamflx
bfcf33fce4
feat: support 'n'/'p' key to move to the next/prev hunk. (#1723)
* feat: support 'n'/'p' key to move to the next/prev hunk.
* feat: auto scroll next/prev hunk into visible area.
* add unittest for VerticalScroll::move_area_to_visible.
2023-06-19 17:52:05 +02:00
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
9fa5fddd93
Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
extrawurst
289eddd9be fix nightly clippy 2022-12-10 11:27:59 +01: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
8e54bfd364 upgrade crossterm/tui 2022-08-17 22:12:39 +02:00
Stephan D
4a0e58ae15
msrv 160 (#1279)
* bump edition
* msrv 160
* upgrade clap and more deps
2022-08-17 16:30:54 +02:00
extrawurst
cce49a34b7 Revert "Change diff renamed files (#1040)"
This reverts commit 5f466ff983.
2022-04-24 22:30:40 +02:00
Gleb Davydov
5f466ff983
Change diff renamed files (#1040) 2022-04-24 19:25:50 +02:00
Christoph Rüßler
b622ceef94
Add popup for file history (#841) 2022-01-30 18:50:50 +01:00
Stephan Dilly
006cdd6373
support bare repos (#1028) 2021-12-05 00:35:45 +01:00
Stephan Dilly
3db1a68515
allow config for key symbols (#997)
closes #465
2021-11-20 18:44:04 +01:00
Alessandro Menezes
6ae5b5e2b2
Add specific key bindings to stage / unstage items (#930)
* Add specific key bindings to stage / unstage items

Feature requested by Issue #909.

* Updating Help popup with stage / unstage keys

* Merging staging and unstaging into a single `stage_unstage_item` key

* Add/remove hunk now use the `stage_unstage_item` key
2021-10-10 02:58:21 +02:00
Stephan Dilly
fb2b990072
find files via fuzzy finder (#890) 2021-09-04 10:50:03 +02:00
Stephan Dilly
8353dfdd36 use less memory per hunk (immutable string) 2021-08-27 09:31:31 +02:00
Stephan Dilly
6524af65a1 fix filetree content not showing tabs (fixes #874) 2021-08-24 23:02:23 +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
7058ab14d3 abstract queue into custom type 2021-06-07 22:57:27 +02:00
Stephan Dilly
bcc0e16208 rename 2021-06-06 00:36:28 +02:00
Stephan Dilly
535486f276 use new VerticalScroll in diff aswell 2021-06-05 23:04:05 +02:00
Stephan Dilly
5b07c48234 nightly clippy fixes 2021-06-05 10:28:18 +02:00
Stephan Dilly
fb37cec2f0 fix branchlist scrollbr 2021-04-27 15:03:43 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Stephan Dilly
f0a367c3f5
more linting (#647) 2021-04-17 23:17:19 +02:00
Stephan Dilly
53b2c79877
even more clippy restrtictions (#646)
* even more clippy restrtictions
2021-04-17 18:55:59 +02:00
Stephan Dilly
37415259b1 cleanup commands in status/diff (closes #572) 2021-03-14 12:33:55 +01:00
Stephan Dilly
52bf018515 rename new key 2021-03-13 20:36:48 +01:00
Stephan Dilly
7937b80483
Fix 583 fix diff line selection (#585)
Preserve line selection after staging/unstaging/discard (closes #583)
2021-03-12 23:57:31 +01:00
Stephan Dilly
b5ef9b10f1
Stage/unstage lines (#575) 2021-03-10 22:27:02 +01:00
Stephan Dilly
6e5db96c19
support discard selected lines (#571) 2021-03-08 18:00:30 +01:00
Stephan Dilly
546c7f3072
fix some potentials for errors to bubble up (#547)
* fix some potentials for errors to bubble up (#490)
* fix async diff failing panic
2021-02-24 21:54:27 +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
Stephan Dilly
337ebb6656 fix new https://rust-lang.github.io/rust-clippy/master/#unnecessary_wraps clippy warnigns in nightly 2020-12-08 00:59:14 +01:00
Stephan Dilly
bd00b3e4b8 fix scrollbar (#350) 2020-10-31 12:32:20 +01:00
Christoph Rüßler
04bd45e641 Use helper binary for clipboard access (#262)
Use `clip` on Windows, `pbcopy` on MacOX, `xclip` on Linux.

- Remove dependency on `clipboard`
- Remove feature `clipboard`
2020-10-10 23:31:40 +02:00
Richard Menzies
93168639fe
Bump tui: 0.9 -> 0.12 (#289) 2020-10-08 09:56:36 +02:00
Stephan Dilly
56959e6596 do not highlight selection in diff when not focused (closes #270) 2020-09-02 11:11:17 +02:00