Commit graph

97 commits

Author SHA1 Message Date
Stephan Dilly
74a86bae24 prevent panics to mess up your previous terminal session 2020-03-29 16:34:29 +02:00
Stephan Dilly
9282c360e8 note why forbid-unsafe does not work 2020-03-29 15:13:37 +02:00
Stephan Dilly
1aa4024721 better panic message 2020-03-28 14:14:03 +01:00
Stephan Dilly
41a52cfc8c more clean solution that does not need git cli
* make test run in parallel again
* better test structure
2020-03-28 13:45:19 +01:00
Stephan Dilly
2b45a039d1 fix clippy warning 2020-03-27 10:41:46 +01:00
Stephan Dilly
bfbde25116 fix diff at the end of file 2020-03-27 10:32:55 +01:00
Stephan Dilly
b1f8914cba clamp scroll position to valid range 2020-03-27 09:49:57 +01:00
Stephan Dilly
68d8d47c62 fix clippy warning 2020-03-27 01:15:00 +01:00
Stephan Dilly
8e7d2eb4a1 fix more clippy 2020-03-27 01:11:15 +01:00
Stephan Dilly
7df5b9b24a cleanup 2020-03-27 00:50:11 +01:00
Stephan Dilly
bc908ee049 fail on clippy warnings 2020-03-27 00:50:02 +01:00
Stephan Dilly
33e9013b72 more on clippy 2020-03-27 00:41:59 +01:00
Stephan Dilly
37da79233a fix tons of clippy warnings 2020-03-26 23:45:52 +01:00
Stephan Dilly
b2c44566f6 hunk based renderer 2020-03-26 18:35:21 +01:00
Stephan Dilly
82e0966a13 doc 2020-03-26 13:37:52 +01:00
Stephan Dilly
0dce256f80 stricter warning leves 2020-03-26 13:26:40 +01:00
Stephan Dilly
1d58365b33 use threadpool for all threads to be able to have unified panic handling 2020-03-26 10:05:50 +01:00
Stephan Dilly
314d76e0c2 rip out mouse support for now 2020-03-26 09:51:11 +01:00
Stephan Dilly
a60c3b2eb0 fetch file diff based on hunks 2020-03-25 23:47:39 +01:00
Stephan Dilly
63ec83f60d set rayon global thread panic handler 2020-03-25 23:37:00 +01:00
Stephan Dilly
d52308ea0a update diff if changed externally 2020-03-25 15:36:57 +01:00
Stephan Dilly
3d0926d279 fix: diff not correct when switching between same file in stage/unstaged 2020-03-24 20:45:47 +01:00
Stephan Dilly
adf925083d first test for a help popup 2020-03-24 14:39:00 +01:00
Stephan Dilly
e355b4f830 better naming 2020-03-24 10:04:41 +01:00
Stephan Dilly
7d76db09cc cleanup 2020-03-24 09:50:21 +01:00
Stephan Dilly
f330226efe some cleanup 2020-03-23 14:27:49 +01:00
Stephan Dilly
0234b9f87b try to keep selection 2020-03-23 14:04:27 +01:00
Stephan Dilly
4fdf09fc56 make git status fetching async 2020-03-23 11:42:50 +01:00
Stephan Dilly
b0b9fb570d better asyncgit crate structure 2020-03-23 00:50:55 +01:00
Stephan Dilly
9580f8b489 move all git method in crate, reduce main deps 2020-03-23 00:14:57 +01:00
Stephan Dilly
f4dc2de961 make libgit diffing async 2020-03-22 21:08:48 +01:00
Stephan Dilly
8a7e3414d0 cleanup mod structure 2020-03-22 02:38:39 +01:00
Stephan Dilly
e155773c59 very little optimization 2020-03-22 02:33:04 +01:00
Stephan Dilly
87254045c3 trigger update only after sending commit 2020-03-22 02:26:32 +01:00
Stephan Dilly
cb247b9e7f less libgit calls and added optional timing logging for benchmarking 2020-03-22 02:17:03 +01:00
Stephan Dilly
55e9fe643b update diff after commit 2020-03-20 19:31:01 +01:00
Stephan Dilly
3ce4a51b04 reduce slow git-calls further 2020-03-20 19:24:02 +01:00
Stephan Dilly
5c771b0bbc try reducing git-calls to optimize performance 2020-03-20 19:15:25 +01:00
Stephan Dilly
f1d6921353 support logging 2020-03-20 18:28:42 +01:00
Stephan Dilly
eac8488ce6 reduce updates to improve performance on large repos 2020-03-20 12:49:58 +01:00
Stephan Dilly
c6c1bac3b4 slide in diff when focused 2020-03-20 10:54:43 +01:00
Stephan Dilly
cb42dca0a3 support non root repo open 2020-03-20 02:42:06 +01:00
Stephan Dilly
1956e111dd better key handling 2020-03-20 02:08:10 +01:00
Stephan Dilly
7c454629fe better key controls 2020-03-20 01:53:21 +01:00
Stephan Dilly
571f45e464 indicate file status (color coded) 2020-03-20 01:40:39 +01:00
Stephan Dilly
8b37a22e4d keep highlighting current diff file 2020-03-19 21:58:28 +01:00
Stephan Dilly
c4b2c81227 cleanup 2020-03-19 21:41:59 +01:00
Stephan Dilly
09f893f3b0 central place for strings/keys and better key bindings for focusing 2020-03-19 21:40:48 +01:00
Stephan Dilly
9455a23721 better code structure 2020-03-19 20:54:40 +01:00
Stephan Dilly
5dd2174049 remove confusing (non-functional) tabs 2020-03-19 20:15:02 +01:00