Commit graph

543 commits

Author SHA1 Message Date
Ammar Abou Zor
306ff91afa
Search popup: allow navigation with non arrow keys (#1816) 2023-08-22 12:47:18 +02:00
extrawurst
cde1c7f883
Search commits by author (#1822) 2023-08-21 12:11:53 +02:00
extrawurst
3c5131ad27
commit log filtering (#1800) 2023-08-18 17:19:18 +02:00
extrawurst
8437b76f99 fix nightly clippy 2023-08-12 18:50:19 +02:00
extrawurst
6ec647710d visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
extrawurst
9eb8d470a4 optimize logfilter to not check stashes
logfilter using `get_commit_diff` on each entry lead to a lot of unneeded calls to `get_stashes` and `is_stash_commit` which should be not even needed for file history log entries. this is not happening now anymore
2023-08-11 11:38:21 +02:00
extrawurst
53988ba4e0
fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
extrawurst
495d4d5da7 do shell expansion for commit.template
more error logging around commit-template loading
2023-08-09 19:02:24 +02:00
Niklas Dießner
403c5aabd9
Switch to bwrap (#1792)
* switch from textwrap to bwrap
2023-08-09 16:00:35 +02:00
domtac
dba5206e46
Feat 1757 add signoff option (#1758) 2023-07-29 22:11:36 +02:00
extrawurst
b935df59a1 fix nightly build 2023-07-18 09:45:05 +02:00
Ammar Abou Zor
4682a1b75b
Make fuzzy find popup scrollable (#1734)
* Added: Make fuzzy find popup scrollable
* Fuzzy_find: Add scrollbar to matches list
* Update CHANGELOG
2023-07-08 12:29:47 +02:00
UG
b4450f9bc3
fixed wrong fuzzy-find highlight in long str (#1731)
* fixed wrong highlight in long str
* support multibyte characters
2023-07-06 21:15:08 +02:00
extrawurst
022b389146 fix char_count with utf8 chars (fixes #1726) 2023-06-20 18:04:27 +02:00
UG
e90e8dc536
FuzzyFindPopup for general use (#1672)
* replace BranchFindPopup with FuzzyFindPopup
* replace FileFindPopup with FuzzyFindPopup
2023-06-20 12:57: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
kamillo
58e72cd22b
Add support for options handling in log and stashes views #1661 (#1675) 2023-06-19 15:40:26 +02:00
extrawurst
4f3be697d5 upgrade ratatui 2023-06-19 15:05:17 +02:00
extrawurst
7d5b7d2c38 clippy nightly fixes 2023-06-07 12:50:27 +02:00
pm100
2b3bc622d6 too many things skipped with !verify 2023-05-21 22:40:15 -05:00
Christoph Rüßler
49cd7ea2db Fix file history for sizes <= 1200 entries 2023-05-04 15:49:21 +02:00
UG
3a6f292bf5
add fuzzy finder in branch list (#1658)
* add branch_find_popup
* capital F for fetch in branchlist, f for find
* add command info of return

closes #1350
2023-04-21 23:03:35 +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
pm100
c1e3e978a2 fix test failure on nightly due to cef81dc 2023-04-12 06:39:53 +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
extrawurst
c3e318fdd5 fix clippy nightly 2023-02-27 23:26:14 +01:00
extrawurst
9d83ce358e
Reword commit (#1553)
* reuse commit popup for reword
* switch to status after reword
* show command
* prepopulate with old msg
* changelog

Closes #829
2023-02-18 20:47:24 +00:00
extrawurst
ba9b6d6b6a fix crash on entering submodule #1510
also do not allow opening submodule without workdir
2023-02-17 11:19:16 +00:00
extrawurst
d4d6fd28eb
Unittest keylist (#1545)
* fix warning
* add unittest to keylist
2023-02-15 00:20:45 +00:00
Antonio Yang
aefc18d819
Copy file path (#1516)
* copy file path to click board
* update change log
* Add copy path info to command bar
2023-02-12 10:06:56 +00:00
extrawurst
8f7f35b8a9 remove focus key bindings
merge them into `move_XYZ` keys
2023-02-11 10:51:51 +00:00
extrawurst
8ab62244ce
support reset from log view (#1534) 2023-02-04 16:15:26 +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
extrawurst
ce70d5ef12 bump msrv 1.64 2023-01-29 09:28:09 +01:00
extrawurst
b8a436fdeb clippy fix 2023-01-13 14:13:40 +01:00
Dave
5ca712ff80
Add no-verify commit command (#1375)
* add no-verify option on commit action
* make verify a bool flag on commit component
2023-01-13 14:05:51 +01: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
extrawurst
7dcf93e0b2 do not show edit item cmd in commit detail: msg
fixes #1461
2022-12-10 11:25:11 +01:00
extrawurst
ca19d42948 follow up to 9b46bb6 (see #1420)
add standard "Changs to be commited" text on top of changes.
2022-11-23 15:31:37 +01:00
bc-universe
9b46bb63f9 Display commit changes (#1420)
When using an external editor to edit the commit message, the changes are now displayed
2022-11-23 15:26:26 +01:00
extrawurst
b987598c7b fix next commit msg from history ordering
and also disable this command if no history is present

this fixes #1445
2022-11-22 12:18:36 +01:00
extrawurst
bea70306e2 fix up for 8e8c5fa never showing file tree 2022-11-22 10:55:25 +01:00
extrawurst
8e8c5fad55 make fetching tree files async 2022-11-21 20:16:48 +01:00
extrawurst
92f63d107c support fetching branch_infos async 2022-11-21 16:32:17 +01:00
extrawurst
3fee481e8d fix status_tree not showing while first status loading 2022-11-21 14:45:03 +01:00
extrawurst
c03a220990 nightly clippy fix 2022-11-14 15:04:48 +01:00
extrawurst
6b9a91f17d
Edit file from file tree (#1430)
* allow edit file from any StatusTreeComponent
2022-11-14 15:01:34 +01:00