bb081ca764
more mutex safety with staging panel
2020-10-10 00:23:01 +11:00
2e05ac0c90
paging keybindings for line by line panel
...
support searching in line by line panel
move mutexes into their own struct
add line by line panel mutex
apply LBL panel mutex
bump gocui to prevent crashing when search item count decreases
2020-10-10 00:23:01 +11:00
4fb52ce2ab
better handling of there being no commit files
2020-08-23 15:11:06 +10:00
59d61f00a6
hide secondary view when escaping patch building panel
2020-08-23 14:29:18 +10:00
88ae550b93
unused method
2020-08-23 14:29:18 +10:00
43d891b8d6
support creating patches from files in diff mode
2020-08-23 14:29:18 +10:00
12bf851c7d
faster patch manager
2020-08-23 14:29:18 +10:00
4080e9b501
only return focus if we already have it
2020-08-23 14:29:18 +10:00
ce20d1b482
remove clipboard option for now because we need a better way of doing it
2020-08-23 14:29:18 +10:00
fcf916d138
don't panic
2020-08-23 14:29:18 +10:00
1fd0f31682
only show rebasey commands on a local commit when patch building
2020-08-23 14:29:18 +10:00
e6a1bd6566
generalise patch building stuff
2020-08-23 14:29:18 +10:00
609f3f4bfa
rename Sha to parent now that we're also considering stash entries
2020-08-23 14:29:18 +10:00
ddf25e14af
allowing commit files to be viewed in reflog as well
2020-08-23 14:29:18 +10:00
f5b22d94d9
WIP
2020-08-23 14:29:18 +10:00
0f7b2c45d7
centralise split main panel code
2020-08-23 14:29:18 +10:00
7f89113245
WIP
2020-08-23 14:29:18 +10:00
9b7a6934b3
more removing of g
2020-08-15 18:01:43 +10:00
d9fa02c53b
clean up interface for popup panels
2020-08-15 18:01:43 +10:00
36ac764133
fix race condition when scrolling to merge conflict
2020-05-19 18:05:14 +10:00
40fbce91ce
add new diff mode
...
WIP
WIP
WIP
WIP
WIP
WIP
WIP
2020-03-29 18:26:24 +11:00
e47ad846c4
big golangci-lint cleanup
2020-03-09 12:23:13 +11:00
79299be3b2
better keybindings for patch building mode
2020-02-29 18:48:10 +11:00
64782a433e
fix segfault on line by line panel
...
The state object is sometimes undefined in the onclick method of the
line by line panel. Because we set it to nil in a bunch of places,
I've decided to just change the main context to 'normal' before setting
it to nil anywhere. That way the keybindings for the line by line panel
won't get executed and we won't get a segfault.
2020-01-31 08:27:49 +11:00
7e0a8f235e
add contexts to views
2019-11-21 22:07:14 +11:00
131113b065
simplify how the context system works
2019-11-10 22:32:13 +11:00
e85310c0a9
add mouse support
2019-11-10 22:32:13 +11:00
cd17b46b55
reset patch builder when we've escaped from the building phase and nothing has been added
2019-11-10 16:18:25 +11:00
cd3874ffb7
don't let patch manager ever be nil
2019-11-05 19:22:01 +11:00
10fe88a2cf
more work on managing focus when applying patch command
2019-11-05 19:22:01 +11:00
beaebb7dc7
handling when to show the split panel
2019-11-05 19:22:01 +11:00
6d5d054c30
support line by line additions in staging and patch building contexts
2019-11-05 19:22:01 +11:00