Stephan Dilly
bb1abb22c0
cleanup
2020-10-11 14:36:08 +02:00
Richard Menzies
b6c932d0af
Delete branch ( #332 )
2020-10-11 14:30:44 +02:00
Stephan Dilly
aae3d2c611
better place for push cmd
2020-10-11 01:00:31 +02:00
Stephan Dilly
23ccee002b
do not show push cmd in wrong tabs
2020-10-11 00:56:31 +02:00
Richard Menzies
1cc1884162
Move open_select_branch_popup location
2020-10-11 00:52:09 +02:00
Stephan Dilly
0b97c545ed
cleanup clipboard and add to changelog ( #325 )
2020-10-11 00:23:20 +02:00
Christoph Rüßler
04bd45e641
Use helper binary for clipboard access ( #262 )
...
Use `clip` on Windows, `pbcopy` on MacOX, `xclip` on Linux.
- Remove dependency on `clipboard`
- Remove feature `clipboard`
2020-10-10 23:31:40 +02:00
Richard Menzies
94bbf3c9fb
Branch popup ( #303 )
...
closes #91
2020-10-10 01:27:13 +02:00
Stephan Dilly
92b1b4c2a8
dont allow unused imports
2020-10-09 15:31:51 +02:00
Richard Menzies
93168639fe
Bump tui: 0.9 -> 0.12 ( #289 )
2020-10-08 09:56:36 +02:00
Timur Aliberdov
7dc72380ce
Draw scrollbar for long commit messages
2020-10-07 09:36:55 +02:00
Stephan Dilly
32f9a3a4df
fix crash on small terminals ( closes #307 )
2020-10-05 21:10:37 +02:00
Richard Menzies
c887b8597c
Fix scrolling in filetrees ( #296 )
...
* Add selection offset considering non-visible items to scroll_top
* Add test for filetree scrolling
* Fix scroll test
* Fix scroll when multiple folders folded onto one line are folded up
* Add test for not visible folded up folder scrolling correctly
2020-09-29 20:13:09 +02:00
Richard Menzies
ecf425d6e5
Fix left key in tree broken ( #294 )
2020-09-28 09:54:15 +02:00
Stephan Dilly
a991810f01
fix nightly build
2020-09-27 18:56:20 +02:00
Richard Menzies
adb6025c51
Fold folders up into parent if alone in directory ( #288 )
2020-09-27 18:37:40 +02:00
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