Commit graph

61 commits

Author SHA1 Message Date
extrawurst
66af52ae70 rust 1.84 update 2025-01-09 17:38:44 +01:00
extrawurst
640bf333fc
Fix ci (#2447) 2024-12-10 09:44:01 +01:00
Concelare
5dd1852dd3 Fixed:
- Cargo clippy errors

Updated:
- Ran cargo clippy --fix
- Ran cargo fmt
2024-03-21 23:01:02 -07:00
extrawurst
0ab1ff8625 fix chrono deprecations 2024-03-13 11:00:31 +01:00
extrawurst
2bbaa6f3a1 fix a bunch more typos 2024-02-20 19:51:05 +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
extrawurst
985acf23ef fix nighyly clippy 2023-11-02 07:50:41 +01:00
extrawurst
5808515853 fix warnings 2023-09-04 09:48:37 +02:00
extrawurst
c38b1d1e1c do not fetch commit_info if batch is the same 2023-08-29 13:40:28 +02:00
extrawurst
2675934027
Index of search result (#1840) 2023-08-27 11:25:16 +02:00
extrawurst
0fdec134c5
Fix: search in log (#1838) 2023-08-26 20:34:37 +02:00
extrawurst
3c5131ad27
commit log filtering (#1800) 2023-08-18 17:19:18 +02:00
extrawurst
b935df59a1 fix nightly build 2023-07-18 09:45:05 +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
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
extrawurst
8ab62244ce
support reset from log view (#1534) 2023-02-04 16:15:26 +01:00
Christoph Rüßler
9fa5fddd93
Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
extrawurst
45d850e8ca fix new clippy warnings 2022-11-14 14:06:43 +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
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
5101b39556 switch from lazy_static to once_cell 2022-09-02 09:17:34 +02:00
extrawurst
c1cb868c4b fix nightly clippy 2022-07-02 08:17:15 +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
Jakub Jirutka
fa7cd37ca7 Make gh-emoji optional
gh-emoji crate includes *images* of GitHub's emoji - this is quite a big
dependency. It increases the binary size by 1 MiB; that's +25 % when
building v0.18.0 on Alpine Linux with build flags to optimize size.
I consider it an unnecessary bloat that should be optional.
2021-11-10 18:07:48 +01: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
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
5e62217928 fix commit msg details lockin (#780) 2021-06-10 09:56:20 +02:00
Stephan Dilly
7058ab14d3 abstract queue into custom type 2021-06-07 22:57:27 +02:00
Stephan Dilly
5320d0ee0b fix commit msg details scrolling again 2021-06-06 00:53:27 +02:00
Stephan Dilly
bcc0e16208 rename 2021-06-06 00:36:28 +02:00
Stephan Dilly
610eab053c mark longer commit msg than displayed (closes #773) 2021-06-06 00:14:36 +02:00
Stephan Dilly
3a849bc900 use new scroll in files list too 2021-06-05 22:59:00 +02:00
Stephan Dilly
b9c763756a fix scroll being off in branchlist after tab
refactored scroll stuff into new abstraction for reuse
2021-06-05 22:52:46 +02:00
Stephan Dilly
5b07c48234 nightly clippy fixes 2021-06-05 10:28:18 +02:00
Stephan Dilly
470ca4a678 todos 2021-05-28 11:18:58 +02:00
Stephan Dilly
9f37835dc4 cleanup some more expects 2021-05-09 20:39:26 +02:00
Stephan Dilly
4cebb41cf4
Fix 682 smarter times in log (#683) 2021-05-06 14:11:15 +02:00
Christoph Rüßler
b7eed4361e Add blame view
This closes #484.
2021-04-21 15:03:37 +02:00
Stephan Dilly
8d4c1ca26e
don't close branchlist every time (#550)
* do not close branchlist after branch rename 
* do not close branchlist after deleting a branch
* closes #543
2021-02-25 15:54:18 +01:00
Stephan Dilly
6fcbb99faf fix clippy on nightly 2020-12-22 10:17:14 +01:00
Stephan Dilly
0f5b8a0909 use anyhow::bail 2020-10-25 23:57:26 +01:00
Stephan Dilly
a2b26c30dc little cleanups 2020-10-25 15:43:13 +01:00
Richard Menzies
ecf425d6e5
Fix left key in tree broken (#294) 2020-09-28 09:54:15 +02:00
Richard Menzies
adb6025c51
Fold folders up into parent if alone in directory (#288) 2020-09-27 18:37:40 +02:00
Stephan Dilly
5445594018 fix amend due to blind clippy warning refactoring (closes #250) 2020-08-28 23:57:06 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci (#246) 2020-08-28 10:52:24 +02:00
Christoph Rüßler
bc23270951
Add multiple selection in diff view (#231)
* Add multiple selection in diff view
* Copy selection to clipboard in diff view
* Show error message if copy to clipboard fails
- Draw `msg` after `inspect_commit_popup` to make sure the error message
  is visible
- Move `try_or_popup!` to `utils`
2020-08-19 21:02:19 +02:00