Commit graph

344 commits

Author SHA1 Message Date
Stephan Dilly
a8bf31b0ab optimize all async job related clones away (#725) 2021-05-24 02:15:52 +02:00
Stephan Dilly
f73cfa01f1 cleanup 2021-05-24 01:34:58 +02:00
Stephan Dilly
eb9b0753a0 show scrollbars in tree and syntax text (#725) 2021-05-24 01:29:48 +02:00
Stephan Dilly
13b346b8b1 fix scrolling bounds (#725) 2021-05-24 01:12:34 +02:00
Stephan Dilly
3ff8584438 remove some excepts 2021-05-24 00:25:54 +02:00
Stephan Dilly
9b6dd60fe0
Stateful paragraph (#729)
* introduce stateful paragraph
* limit scroll
* show focus clearly
2021-05-23 23:42:49 +02:00
Stephan Dilly
6decd7a638 allow scrolling syntax text (see #725) 2021-05-23 12:37:32 +02:00
Stephan Dilly
eab8fc202b move syntax highlighting into compononent (see #725) 2021-05-23 12:19:38 +02:00
Stephan Dilly
1034dc1aaf
add syntax highlighting (#727) 2021-05-23 02:45:22 +02:00
Stephan Dilly
a31f185154 loss non-utf8 files lossily (fix #726) 2021-05-22 13:36:16 +02:00
Stephan Dilly
9ffe52634e treeview shows selectd file content 2021-05-22 00:47:06 +02:00
Stephan Dilly
65445eba5e support tree-view blaming (see #714) 2021-05-21 17:42:27 +02:00
Stephan Dilly
4591fbb965 tree view commands (see #714) 2021-05-21 17:12:33 +02:00
Stephan Dilly
0e31d57a33
New file tree (#718) 2021-05-21 14:52:05 +02:00
Stephan Dilly
5ba657cabe
file tree of a commit (#715) 2021-05-18 00:21:05 +02:00
Stephan Dilly
8ddb3cdac5 move focus after last file staged 2021-05-16 22:05:22 +02:00
Stephan Dilly
d4455a2657 move args stuff into separate file 2021-05-16 17:02:09 +02:00
Stephan Dilly
9e3d494dbb wording 2021-05-12 15:37:49 +02:00
Stephan Dilly
ca808ca300
update state after merge (#703) 2021-05-12 11:37:21 +02:00
Stephan Dilly
3643cea44d
update branchlist after creating a branch (#702) 2021-05-12 11:37:08 +02:00
Stephan Dilly
f35ce0cbf4
support doing merge commit (#701) 2021-05-12 11:20:39 +02:00
bruceCoelho
a3b4b98d4f Preserves same modal behavior per #679 2021-05-11 09:54:19 +02:00
Stephan Dilly
4f6aceb3ec
merging a branch (#696)
* merging arbitrary branch
* cleanup intermediate in-merge state
2021-05-09 22:53:12 +02:00
Stephan Dilly
9f37835dc4 cleanup some more expects 2021-05-09 20:39:26 +02:00
Stephan Dilly
4cebb41cf4
Fix 682 smarter times in log (#683) 2021-05-06 14:11:15 +02:00
Stephan Dilly
62c824a51c update changelog and fix clippy warnings 2021-04-30 15:27:01 +02:00
Stephan Dilly
42a792d5b3 warning if first line of commit msg is too long
right now the limit is hardcoded to 50 in accordance to official git best practices

this closes #478
2021-04-30 15:21:45 +02:00
Stephan Dilly
fb37cec2f0 fix branchlist scrollbr 2021-04-27 15:03:43 +02:00
Stephan Dilly
3ad1911a97 do not fetch commit.template on every update 2021-04-26 14:49:59 +02:00
Wander Nauta
fa606104db
Load a commit.template message if one is configured (#671)
closes #546
2021-04-26 14:37:48 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Stephan Dilly
9a93bfe8d8 some fun 2021-04-25 14:58:56 +02:00
Stephan Dilly
a3f7d189e5
Fix 663 msg scroll (#669)
* fix line skipping and added unittest
2021-04-25 14:09:53 +02:00
Christoph Rüßler
26fbc8650f Add async wrapper to blame
- Rename `self.path` to `self.file_path`.
- Take into account that `draw_scrollbar` subtracts the area’s height
  before calculating the scrollbar’s position.
- Show in title if blame is pending.
2021-04-25 13:35:34 +02:00
Stephan Dilly
ea1415461f add todo 2021-04-24 15:52:21 +02:00
Stephan Dilly
d50e17b353 give blame a more apropriate place in command list 2021-04-24 15:40:16 +02:00
Christoph Rüßler
e7b703b922 Improve blame view
- Set default shortcut to `B` instead of `b` because the latter would
  shadow `[b]ranches`.
- Add scrollbar.
- Show resolved commit id in title instead of `HEAD`.
- Make commit id bold if it is the commit id the file is blamed at.
- Don’t run blame on a binary file.
- Add shortcut for inspecting a commit in blame view.
2021-04-24 14:02:51 +02:00
Christoph Rüßler
8030022303 Address minor issues in blame view 2021-04-22 09:17:42 +02:00
Christoph Rüßler
b7eed4361e Add blame view
This closes #484.
2021-04-21 15:03:37 +02:00
Stephan Dilly
f0a367c3f5
more linting (#647) 2021-04-17 23:17:19 +02:00
Stephan Dilly
53b2c79877
even more clippy restrtictions (#646)
* even more clippy restrtictions
2021-04-17 18:55:59 +02:00
Stephan Dilly
f7a17fa3bb fix empty branch list enter key still accepted and panics 2021-04-14 22:08:36 +02:00
Stephan Dilly
6274777eed
simplify toggling remote/local via tabs (and tab key) (#635)
* simplify toggling remote/local via tabs (and tab key)
2021-04-11 22:45:10 +02:00
Stephan Dilly
b546900e8f
Fix 623 head remote (#631) 2021-04-11 18:08:12 +02:00
brunohgouveia
79a38a70b9 Add pop stash command on Staches tab 2021-04-11 13:17:26 +02:00
Stephan Dilly
0a608ae65e
Fix 624 pull offline (#625)
* fix pull being blocked if it fails
* update changelog
2021-04-07 10:57:03 +02:00
Stephan Dilly
6f722b4806 fix branchname width misalignment 2021-04-06 18:51:24 +02:00
Stephan Dilly
b5f1e76455
Remote branches (#618)
* allow checking out remote branch
* set tracking branch on checking out remote
* fix unittests by making branch list stable sorted by name
2021-04-06 18:16:08 +02:00
Stephan Dilly
2e5b344c04
branchlist was ignoring unicode boundaries on truncating strings (#603)
* branchlist was ignoring unicode boundaries on truncating strings (fixes #602)
2021-03-24 11:16:01 +01:00
Stephan Dilly
a2ca58a3f6
use branches upstream remote if it is already tracked (#598)
closes #597
2021-03-20 18:47:53 +01:00