Ciarán Mooney
04a96ddb6e
Additional Unit Tests for TextInput Component #264
2020-09-19 11:42:29 +02:00
Stephan Dilly
7c68a0ff23
todo
2020-09-07 22:57:06 +02:00
Stephan Dilly
26565e9021
test fetch
2020-09-07 21:44:42 +02:00
Stephan Dilly
de80601bf4
Push progress
...
closes #267
2020-09-06 17:48:14 +02:00
Stephan Dilly
17de5a900c
Test push progress ( #272 )
2020-09-04 09:08:29 +02:00
Stephan Dilly
56959e6596
do not highlight selection in diff when not focused ( closes #270 )
2020-09-02 11:11:17 +02:00
Stephan Dilly
7d1e3643b1
support push to origin ( #266 )
...
* use vendored ssl
2020-09-02 02:08:41 +02:00
Stephan Dilly
e5c38e8d4a
revert clipboard feature on linux to fix static linux binary build ( #261 )
2020-09-01 01:36:38 +02:00
Stephan Dilly
4907e8b727
new 'create branch' popup ( #254 )
...
closes #253
2020-08-29 14:15:06 +02:00
Stephan Dilly
7da34eb3e4
switch more missing places to use new keyconfig
2020-08-29 12:43:32 +02:00
Stephan Dilly
19177ec9bb
simplify key bindings further
2020-08-29 00:24:34 +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
40e9194b5d
fix wrong hunk highlighting after arrow-down at end of diff ( closes #249 )
2020-08-28 18:53:01 +02:00
Stephan Dilly
aa1bf4fded
fix "add hunk" using "revert hunk" key in command bar
2020-08-28 18:43:13 +02:00
Stephan Dilly
425963ca58
Scrollbar in diff ( #251 )
...
closes #204
2020-08-28 18:19:44 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci ( #246 )
2020-08-28 10:52:24 +02:00
Stephan Dilly
53f333f4ca
isolate scrolllist widget further
2020-08-27 22:41:09 +02:00
Stephan Dilly
80da95b6f5
cleanup commit message line encodings to fix rendering commit msg ( closes #245 )
2020-08-27 01:10:38 +02:00
Stephan Dilly
0e9fdfcaa2
fix key config of resetting hunk ( closes #244 )
2020-08-27 00:03:57 +02:00
Stephan Dilly
59377c7a91
clippy fix and make perf warnings to errors
2020-08-26 19:18:57 +02:00
Stephan Dilly
1a5a121b33
small cleanups
2020-08-26 18:53:50 +02:00
Antonio Yang
a95ffd7bcc
Customize key binds ( #234 )
...
* customizable key config
* provide example vim key config
* automatically show correct key binding in bottom cmd-bar
2020-08-26 18:23:53 +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
Christoph Rüßler
1a90fd365f
Add scrolling to commit message in details
...
- Manually wrap commit message using `textwrap`
Closes #181
2020-08-08 19:42:02 +02:00
Stephan Dilly
0e81f062da
fix slection error after deleting last element in stash ( closes #223 )
2020-08-08 09:24:23 +02:00
Jon Grythe Stødle
1c3295affc
Switch focus when working directory or stage becomes empty
...
If the focus is on the working directory and it becomes empty (no files are listed) by either staging the last file or using the _Stage all_ command, the focus will be moved to the stage automatically. It works the same for when the stage becomes empty, by moving the focus to the working directory.
If the focus is on the diff area, the focus will not be moved when either the working directory or the stage becomes empty.
Fixes #215
2020-07-29 21:16:50 +02:00
Jon Grythe Stødle
8db6325777
Add support for spaces in file path
...
If the file path contained a space, the editor would be launched with an incomplete file path.
This also switches to using `OsStr` for the file path, which means that if the file name contains invalid UTF-8, it will not blow up because of gitui.
2020-07-29 21:10:45 +02:00
Jon Grythe Stødle
6b4d088b28
Add config migration
...
With the upgrade to version 3 of `dirs`, the `config_dir` function returns a new path for macOS. This migrates the file present at the old location (now available through the `preferences_dir` function) to the new location.
2020-07-29 21:10:45 +02:00
Stephan Dilly
f45af0e3cf
fix multiple tags not being seperated in details view ( fixes #212 )
2020-07-22 10:37:47 +02:00
Stephan Dilly
e7d17b2cf1
remove config migration code
2020-07-18 19:13:16 +02:00
Stephan Dilly
7e8df3ad28
simplify pending state by using the new one
2020-07-18 13:35:24 +02:00
Stephan Dilly
03cf23ad98
visualize pending load on status file list ( closes #160 )
2020-07-18 12:44:23 +02:00
Stephan Dilly
a54fbf7f63
visualize pending load of a diff ( #160 )
2020-07-18 12:21:18 +02:00
Stephan Dilly
ed730c2fa1
comment
2020-07-18 11:59:30 +02:00
Stephan Dilly
0dd50b402e
upgrade to rust 1.45 and fix new clippy warnings
2020-07-17 11:54:12 +02:00
Christoph Rüßler
70423c5b83
Add command for tagging commit
2020-07-15 23:22:03 +02:00
Stephan Dilly
002a3a8f6f
fix writing out of bounds ( fixes #198 )
2020-07-15 01:14:55 +02:00
Stephan Dilly
18f3bd981d
min rect size for commit popup ( fixes #179 )
2020-07-14 09:42:55 +02:00
Stephan Dilly
dc5911de20
dont send noop GitNotification into app
2020-07-12 14:45:12 +02:00
Stephan Dilly
1afa91b144
show tags in commit details popup ( closes #193 )
2020-07-12 14:38:38 +02:00
Stephan Dilly
f4e2b7c6c0
update changes title right away
2020-07-12 14:38:18 +02:00
Stephan Dilly
315cf615e0
Async tag fetching ( #195 )
2020-07-12 13:21:34 +02:00
Stephan Dilly
cbd75110b7
add error handling on potential error in ignore ( #191 )
2020-07-10 09:08:36 +02:00
Stephan Dilly
4f731f6acc
fix opening relative paths in external edtiro ( closes #184 )
2020-07-09 17:47:38 +02:00
Stephan Dilly
0d09071c0a
cleanup
2020-07-08 20:05:28 +02:00
Stephan Dilly
540997c177
error if file to be opened in external editor will not be found ( #184 )
2020-07-08 19:47:25 +02:00
Stephan Dilly
083e06c57c
fix: in revlog dont allow arrow-right when commit-details not open
2020-07-07 13:26:08 +02:00
Stephan Dilly
a11713ee18
docs
2020-07-07 13:02:41 +02:00
Stephan Dilly
1cd74ad02e
fix messing up users terminal after opening file in vi (related to #173 )
2020-07-07 12:53:17 +02:00
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