Commit Graph

721 Commits

Author SHA1 Message Date
Jon Grythe Stødle
52f31adb98 Add command to edit selected file in editor
Pressing `e` while looking at a file in the _Status_ view will launch an external editor with the current file opened. The editor chosen is determined by the default logic introduced in #114.

An improvement to this in the future could be launching at the specific line at which the _Diff_ view is focused, but that seems to require a change in `FileDiff` which is a change bigger than this PR.

Fixes #166
2020-07-07 12:42:01 +02:00
Stephan Dilly
b9ec27d89c fix newline visualization in commit msg editor (closes #169) 2020-07-07 12:33:32 +02:00
Stephan Dilly
26f734c57d fixed bin file size diff on untracked files (closes #171) 2020-07-07 09:42:34 +02:00
Stephan Dilly
02bd22d3b3 fix crash diffing stash created on cmd line (closes #178) 2020-07-07 09:10:10 +02:00
Stephan Dilly
59d93d7c23 cargo update 2020-07-06 21:18:37 +02:00
Stephan Dilly
8c5b2b3774 switch deprecated transitive dependency net2->socket2 - crossterm update (closes #66) 2020-07-06 21:18:14 +02:00
Stephan Dilly
e4e61d87f6 fix symbolic link 2020-07-06 20:01:15 +02:00
Stephan Dilly
dd31496da9 new version of invalidstring containing the LICENSE 2020-07-06 19:55:15 +02:00
Stephan Dilly
5c33e97a69 add missing license file 2020-07-06 19:46:08 +02:00
Stephan Dilly
0856a0914b cargo update 2020-07-06 09:16:13 +02:00
dependabot-preview[bot]
2719694b8e Bump chrono from 0.4.11 to 0.4.12
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.11...v0.4.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:51:44 +02:00
Stephan Dilly
2c53c09487 make release 2020-07-06 08:35:05 +02:00
Stephan Dilly
4351b891a9 missing changelog entry 2020-07-04 23:07:39 +02:00
Stephan Dilly
05c2e2ab49 prepare for release 2020-07-04 20:35:55 +02:00
Stephan Dilly
de7f48f88e show placeholder popup when waiting for external editor #157 2020-07-04 20:22:55 +02:00
Stephan Dilly
7016f17a34 typo 2020-07-04 18:18:38 +02:00
Stephan Dilly
a33db8d3de cache branchname lookup (closes #159) 2020-07-04 18:12:54 +02:00
Stephan Dilly
715c1794d6 fix clippy for when pprof is off 2020-07-04 16:54:30 +02:00
Stephan Dilly
8f1a1a008a fix windows pprof build 2020-07-04 16:24:51 +02:00
Stephan Dilly
972f071fe4 visuals in changelog 2020-07-04 16:07:32 +02:00
Stephan Dilly
e63ae022f6 dont use pprof on windows 2020-07-04 15:59:32 +02:00
Stephan Dilly
23d61b4ab2 fix link for CI 2020-07-04 15:47:06 +02:00
Stephan Dilly
bfda870933 fix panic when cursor is OOB after closing editor with shorter msg 2020-07-04 15:44:24 +02:00
Stephan Dilly
756c124b68 hide cursor again after external editor closes (fixes #168) 2020-07-04 15:40:52 +02:00
Stephan Dilly
313f5586b0 todo 2020-07-04 15:38:46 +02:00
Stephan Dilly
60759d7bec open external editor from commit popup
this puts all commit logic into one 'view' and allows editing amend commit messages in the external editor aswell.
2020-07-04 15:36:12 +02:00
Stephan Dilly
0a24c2c9b0 add profiling feature 2020-07-04 14:59:30 +02:00
Stephan Dilly
b782472a63 more fancy spinner, cleanup tabs 2020-07-04 12:55:40 +02:00
Stephan Dilly
a34bab22fa show untracked files in stash commit details (closes #130) 2020-07-02 12:55:17 +02:00
Stephan Dilly
e803cb3afe unneeded clones 2020-07-02 12:24:02 +02:00
Mehran Kordi
ea244b8cfa fixed issue with utracked files. 2020-07-02 11:58:11 +02:00
dependabot-preview[bot]
dd459ecb8a Bump unicode-width from 0.1.7 to 0.1.8
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/commits/v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 01:03:56 +02:00
Dario Vladovic
0e3dfa4c42 Add CD action to update Homebrew formula 2020-06-30 18:03:36 +02:00
Stephan Dilly
c97335435a cleanup 2020-06-30 09:51:05 +02:00
Stephan Dilly
b5fd133b04 update changelog (#144) 2020-06-30 09:49:43 +02:00
Stephan Dilly
c784c9e9b3 safety first 2020-06-30 09:49:27 +02:00
Agung Baptiso Sorlawan
3ec47ced67
Fix scrolling issues in staged/unstaged section (fixes #144) (#162) 2020-06-30 09:45:18 +02:00
Stephan Dilly
923bed9abf use condvar/mutex to not busywait when suspending input polling (closes #153) 2020-06-30 09:33:22 +02:00
Stephan Dilly
a4de701415 move input into app so start/stop polling is less awkward 2020-06-29 20:00:47 +02:00
Stephan Dilly
fb6cdb92ea fix whitespace at commit-msg start breaking revlog alignment (closes #158) 2020-06-29 19:48:39 +02:00
Stephan Dilly
b54e90a0de simplify spinner and mainloop to reduce log noise (#156) 2020-06-29 18:29:37 +02:00
Stephan Dilly
51d17b2596 prevent stacking up more and more status requests (#156) 2020-06-29 17:53:01 +02:00
Stephan Dilly
18c4d872d3 more debug logging 2020-06-29 16:03:35 +02:00
Stephan Dilly
4f45be0924 better naming 2020-06-29 16:00:21 +02:00
Stephan
738cf3fab4 try speeding up status (see #156) 2020-06-29 14:11:23 +02:00
Stephan
4a442f3829 cleanup use 2020-06-29 12:30:10 +02:00
Stephan
ce4f3af767 leave alternate screen when going into external editor (fixes #152) 2020-06-29 10:27:16 +02:00
Stephan Dilly
80f98d6b6d move commit into its own mod
# Conflicts:
#	asyncgit/src/sync/utils.rs
2020-06-29 09:47:54 +02:00
Stephan Dilly
c856c23aef remove outdated commit method 2020-06-29 09:46:38 +02:00
Stephan Dilly
6630b7c89c added new external editor feature in changes (closes #46) 2020-06-26 01:07:16 +02:00