Commit graph

232 commits

Author SHA1 Message Date
Stephan Dilly
a2b26c30dc little cleanups 2020-10-25 15:43:13 +01:00
Arnaud
9439114e5f
feat: support https push (#353) 2020-10-25 10:50:20 +01:00
Arnaud Locquet
f665d69d0e feat: dynamic branch popup size 2020-10-21 01:25:13 +02:00
Richard Menzies
71880f96f7
Rename branch (#334) 2020-10-17 09:00:34 +02:00
Arnaud Locquet
a55977874f fix: gauge style 2020-10-16 08:42:12 +02:00
Richard Menzies
1a7a6410b6
Fix crash on small terminal size when branch list is open (#338)
* Fix crash on small terminal size
* Use const varibles for numbers
2020-10-14 23:51:26 +02:00
Stephan Dilly
2df0a8957b clippy fixes 2020-10-11 16:06:44 +02:00
Richard Menzies
b6c932d0af
Delete branch (#332) 2020-10-11 14:30:44 +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
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
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
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
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
80da95b6f5 cleanup commit message line encodings to fix rendering commit msg (closes #245) 2020-08-27 01:10:38 +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
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
Stephan Dilly
f45af0e3cf fix multiple tags not being seperated in details view (fixes #212) 2020-07-22 10:37:47 +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
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
18f3bd981d min rect size for commit popup (fixes #179) 2020-07-14 09:42:55 +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
540997c177 error if file to be opened in external editor will not be found (#184) 2020-07-08 19:47:25 +02:00