Commit graph

70 commits

Author SHA1 Message Date
extrawurst
b89672b134 rust 1.80 clippy fixes 2024-07-26 13:24:52 +07:00
Juan
43af49bab4
Remove unused clippy warning suppression (missing_const_for_fn) (#2115) 2024-03-07 20:08:28 +01:00
extrawurst
2bbaa6f3a1 fix a bunch more typos 2024-02-20 19:51:05 +01:00
extrawurst
5dad9f4adb
cancel commit search (#2078)
closes #1860

Co-authored-by: StemCll <lydjotj6f@mozmail.com>
2024-02-20 19:07:25 +01:00
extrawurst
2b39c6465a ratatui 0.24 update 2024-02-20 15:41:31 +01:00
extrawurst
e22cc70a7d
moving popups in its own module (#2066) 2024-02-19 17:18:30 +01:00
Alexandru Macovei
0383f9517b (refactor) shorten component creation by grouping common items in an Environment 2024-02-12 12:55:10 +01:00
extrawurst
6356f64b1d fix #1866 2023-09-03 18:41:00 +02:00
extrawurst
9a7c2199a7
make commit filtering an async job (#1842) 2023-08-27 15:14:10 +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
77bb69a162 fix ci 2023-08-21 12:54:56 +02:00
extrawurst
0cf041bb98 fix backgrounding search thread 2023-08-21 12:19:07 +02:00
extrawurst
d253022f13 add missing command for new commit search in log 2023-08-21 11:29:02 +02:00
extrawurst
3c5131ad27
commit log filtering (#1800) 2023-08-18 17:19:18 +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
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
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
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
289f4f3630 cleanup logging 2022-11-21 18:17:28 +01:00
extrawurst
92f63d107c support fetching branch_infos async 2022-11-21 16:32:17 +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
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
e68e5e2f46 fix one more TODO 2022-08-21 15:11:12 +02:00
extrawurst
8e54bfd364 upgrade crossterm/tui 2022-08-17 22:12:39 +02:00
Stephan Dilly
284c57fb72
generic popup stacking solution (#1124)
* generic popup stacking solution
* allow going back to file-revision popup
* do not select diff in coming back to files-revlog
* handle filetree popup via stacking
* allow going back to inspect commit
* allow coming back to compare/inspect commit
2022-02-06 22:13:05 +01:00
Stephan Dilly
d5d36de01e
implement reverting commit from revlog (#1057) 2021-12-29 16:40:22 +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
Stephan Dilly
5672cfd033
compare two commits (#860) 2021-08-21 15:49:39 +02:00
Stephan Dilly
bc611bca52 allow inspecting top commit in branchlist 2021-08-19 22:20:54 +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
Christoph Rüßler
bce652ecca Add filter to AsyncLog
This is a small change that makes it possible to reuse the logic in
`AsyncLog` for the file history view. `AsyncLog` passes the filter to
`FileLogWalker` unchanged.
2021-06-26 13:07:03 +02:00
Stephan Dilly
8032c35902 refactor better name 2021-06-07 23:04:07 +02:00
Stephan Dilly
7058ab14d3 abstract queue into custom type 2021-06-07 22:57:27 +02:00
Christoph Rüßler
2ed6f53dcf Add popup for tags
This closes #483.
2021-05-27 21:02:30 +02:00
Stephan Dilly
5ba657cabe
file tree of a commit (#715) 2021-05-18 00:21:05 +02:00
Stephan Dilly
838258c933 some cleanup 2021-04-26 11:55:40 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Stephan Dilly
f1fcd341c6
add support for pushing tags (#569) 2021-03-05 17:49:40 +01:00
Antonio Yang
eb3d6c9b0f update command list of revlog 2020-12-19 16:27:26 +01:00
Antonio Yang
3101f7b104 copy commit hash 2020-12-19 16:27:26 +01:00
Arnaud
9297915ddd
feat: add branch selection popup in the log view (#349) 2020-10-16 18:21:24 +02:00
Stephan Dilly
4907e8b727
new 'create branch' popup (#254)
closes #253
2020-08-29 14:15:06 +02:00