Jesse Duffield
02bf6a5c17
fix delta again
2021-11-22 21:07:04 +11:00
black_desk
9c4f837d45
fix chinese translate
2021-11-16 17:06:46 +08:00
Jesse Duffield
2f45db8f7c
fix scrolling in sub commits panel
2021-11-10 08:54:14 +11:00
Jesse Duffield
3fb478a30e
add tests
2021-11-07 13:32:36 +11:00
Jesse Duffield
5d12a6bf99
restore some code that was erroneously removed
2021-11-07 13:32:36 +11:00
Jesse Duffield
1d40d03bb2
refactor
2021-11-05 07:58:21 +11:00
Jesse Duffield
9a9e3d506d
more consistent rendering
2021-11-05 07:58:21 +11:00
Jesse Duffield
06ca71e955
fix bug
2021-11-05 07:58:21 +11:00
Jesse Duffield
308a3b51b3
some more throttling stuff
2021-11-05 07:58:21 +11:00
Jesse Duffield
ccd80a0e4b
add menu options for log stuff
2021-11-05 07:58:21 +11:00
Jesse Duffield
37be9dbea1
support scrolling left and right
2021-11-05 07:58:21 +11:00
Jesse Duffield
f6ec7babf5
add some config
2021-11-05 07:58:21 +11:00
Jesse Duffield
802cfb1a04
render commit graph
2021-11-05 07:58:21 +11:00
Jesse Duffield
2fc1498517
some refactoring in anticipation of the graph feature
2021-11-01 10:03:49 +11:00
Jesse Duffield
7a464ae5b7
add graph algorithm
2021-11-01 10:03:49 +11:00
Jesse Duffield
927ee63106
support aborting a merge or rebase with esc
2021-11-01 09:18:30 +11:00
Jesse Duffield
9989c96321
better formatting
2021-10-31 22:33:39 +11:00
Jesse Duffield
f91892b8f1
fix truncation
2021-10-30 20:19:40 +11:00
Jesse Duffield
5df0fe0765
fix crash
2021-10-30 18:26:06 +11:00
Jesse Duffield
c47c539e12
support user-configurable author colours
2021-10-30 18:26:06 +11:00
Jesse Duffield
c96496c3a7
show author info in rebase commits
2021-10-30 18:26:06 +11:00
Jesse Duffield
7561703e8d
move author name colouring code into its own file
2021-10-30 18:26:06 +11:00
Jesse Duffield
b04b457246
fix yet another issue with indentation
2021-10-30 18:26:06 +11:00
Jesse Duffield
6457800748
fix another issue with indentation
2021-10-30 18:26:06 +11:00
Jesse Duffield
7d9461877a
fix issue with indentation
2021-10-30 18:26:06 +11:00
Jesse Duffield
e122f421e6
only use a single initial for double sized runes
2021-10-30 18:26:06 +11:00
Ryooooooga
6171690b00
Fix multibyte initial characters
2021-10-30 18:26:06 +11:00
Jesse Duffield
253504a094
associate random colours with authors
2021-10-30 18:26:06 +11:00
Jesse Duffield
f704707d29
stream output from certain git commands in command log panel
2021-10-30 18:26:06 +11:00
Jesse Duffield
01d82749b1
fix commit message prefix thingo
2021-10-25 22:40:15 +00:00
Jesse Duffield
3eb124c732
easier hiding of command log
2021-10-23 12:54:57 +11:00
Jesse Duffield
ef544e6ce9
add more suggestions
2021-10-23 12:29:52 +11:00
Jesse Duffield
629494144f
show suggestions when typing in an origin
2021-10-23 12:29:52 +11:00
Jesse Duffield
b6a5e9d615
use cached git config
2021-10-23 10:26:47 +11:00
Jesse Duffield
5011cac7ea
show filetree by default
2021-10-22 22:39:17 +11:00
Sam Burville
5df0475612
Add variable to simplify JumpToBlock keybinding
...
This removes the magic '5' and instead uses the number of windows.
2021-10-22 22:38:26 +11:00
Sam Burville
f6e316dfe5
Improve JumpToBlock keybinding functionality
...
Improve experience when yaml file has != 5 keybindings and change view
helper to use the length of the array instead of hardcoded value.
2021-10-22 22:38:26 +11:00
Sam Burville
91e8765d9c
Add JumpToBlock keybinding
...
This should allow users to decide their own keybinding for jumping
between blocks/panels.
E.g. A user could choose 5-9 instead of 1-5.
2021-10-22 22:38:26 +11:00
Jesse Duffield
80a8e9b04d
fix merge conflict scrolling
2021-10-22 22:16:52 +11:00
Jesse Duffield
2008c39516
add tests for dealing with remotes
2021-10-22 21:33:17 +11:00
Jesse Duffield
6388af70ac
simplify pull logic
2021-10-22 21:33:17 +11:00
Jesse Duffield
5ee559b896
fix issue where upstream origin and branch were quoted together
...
fix issue where upstream origin and branch were quoted together
2021-10-20 09:29:17 +11:00
Jesse Duffield
ca7252ef8e
suggest files when picking a path to filter on
...
async fetching of suggestions
remove limit
cache the trie for future use
more
more
2021-10-19 09:02:42 +11:00
Ryooooooga
40bc3aa5a9
Improve backward compatibility
2021-10-18 22:44:01 +09:00
Jesse Duffield
a05f22efa2
support home/end keys in editors
2021-10-17 20:14:31 +11:00
Jesse Duffield
c0cd9dd835
stop opening suggestions tab when no suggestions present
2021-10-17 20:05:09 +11:00
Jesse Duffield
305f211615
surface error when trying to set upstream
2021-10-17 09:00:08 +00:00
Jesse Duffield
d672b7342f
stop resetting scroll all the time
2021-10-17 19:45:57 +11:00
Jesse Duffield
e7c27b6f4a
small fixes
2021-10-17 06:41:21 +00:00
Jesse Duffield
345c90ac05
fix editor
2021-10-17 04:17:59 +00:00
Ryooooooga
7564e506b5
Enable/disable os specific tests at compile time
2021-10-17 11:00:20 +11:00
Ryooooooga
1e50764b4d
Fix tests
2021-10-17 11:00:20 +11:00
Ryooooooga
4171b7613c
Use replacer
2021-10-16 22:40:50 +11:00
Ryooooooga
92f03a7872
Escape special characters
2021-10-16 22:40:50 +11:00
Ryooooooga
2dc8396deb
Fix test
2021-10-16 22:40:50 +11:00
Ryooooooga
7b615e3186
Fix open link command in Windows
2021-10-16 22:40:50 +11:00
Adam Łyskawa
a2108362de
Update polish.go
...
Previous translation was completely unacceptable. As a native Polish speaker I consulted various Polish documentation files and translated almost all content.
My translation may contain minor errors due to the possible lack of context for some text.
2021-10-16 22:32:34 +11:00
Jesse Duffield
87e9d9bdc2
minor changes
2021-10-16 21:18:43 +11:00
Hrishikesh Hiraskar
b6454755ca
copy selected text to clipboard
2021-10-16 21:18:43 +11:00
Jesse Duffield
3621084096
small changes
2021-10-16 12:22:34 +11:00
Jesse Duffield
8c25aaa687
extra comment
2021-10-16 12:22:34 +11:00
Jesse Duffield
d02e52989e
small changes
2021-10-16 12:22:34 +11:00
mjarkk
913a2fd065
Allow having multiple config files
2021-10-16 12:22:34 +11:00
Mark Kopenga
db736896bc
Merge pull request #1501 from Ryooooooga/feature/fix-command
...
Improved command execution
2021-10-09 11:10:29 +02:00
Ryooooooga
154b6b09cb
Quote ref names and branches
2021-10-09 12:55:00 +09:00
Ryooooooga
292b780bd8
Quote branch names and remote names
2021-10-08 18:36:05 +09:00
Mark Kopenga
c421f396af
Merge pull request #1473 from black-desk/tmp
...
Improve Chinese translation
2021-10-08 09:53:48 +02:00
black_desk
a1ae2aa277
Improve Chinese translation
2021-10-08 08:49:22 +08:00
Ryooooooga
e19b4fe369
Fix git-remote commands
2021-10-06 23:20:19 +09:00
Ryooooooga
eb7531b206
Fix error prompt when new tag name starts with '--'
2021-10-06 22:57:02 +09:00
Ryooooooga
428ce2d0f2
Fix crash when new submodule url contains double quotes
2021-10-06 22:51:24 +09:00
Ryooooooga
f1fbf1e9f5
Fix crash when try to ignore tracked files
2021-10-06 22:43:30 +09:00
Sam Burville
268d4080b3
Fix text formatting
2021-09-30 01:26:05 +10:00
Jesse Duffield
2c72990838
Update pkg/theme/theme.go
2021-09-30 01:26:05 +10:00
Jesse Duffield
046edd8120
Update pkg/theme/theme.go
2021-09-30 01:26:05 +10:00
samburville
c4552aad28
Use simpler short variable declaration
...
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2021-09-30 01:26:05 +10:00
Sam Burville
5c57c973d6
Tidy of spacing on GetDefaultConfig in user_config
2021-09-30 01:26:05 +10:00
Sam Burville
c5f7ad5adb
Make cherry pick commit color customisable
...
Two new settings in the config, which allow the cherry picked
foreground and background to be custom colors.
Issue #856
2021-09-30 01:26:05 +10:00
Ryooooooga
663c036ca5
Save patch files in TempDir
2021-09-29 22:05:58 +10:00
Jesse Duffield
ab0117c416
fix some encodings
2021-09-27 19:58:24 +10:00
Jesse Duffield
652c97d239
honour options menu press
2021-09-27 19:41:38 +10:00
Mark Kopenga
5193353020
Merge pull request #1478 from black-desk/remove-unused-strings
...
Remove unused strings
2021-09-23 22:23:52 +02:00
Ryooooooga
add3e8783e
Fix crash on remove tracked files #1480
2021-09-21 18:51:18 +09:00
black_desk
5eff56b557
Remove unused strings
2021-09-19 19:05:11 +08:00
black_desk
66d0fd2133
Format code to pass lint
2021-09-16 21:38:43 +08:00
Ryooooooga
57f7051590
Fix deletion of unmerged branches in languages other than English
2021-09-04 21:01:38 +09:00
Mark Kopenga
0543d43f10
Merge pull request #1459 from btwise/master
...
fix chinese translate
2021-09-02 09:27:46 +02:00
btwise
151486dcfb
fix chinese translate
2021-09-02 12:16:53 +08:00
codesoap
c1d2aa61f3
Fix misspells
2021-09-01 22:51:24 +02:00
Dwarven YANG
63072af5bc
allow user to configure the gui language
2021-08-30 09:12:29 +10:00
Jesse Duffield
44d08edfb0
Address feedback
2021-08-25 22:23:55 +10:00
Jesse Duffield
f08fdb2873
Minor refactor
2021-08-25 22:23:55 +10:00
Ryooooooga
df4eb70ba2
Fix translations
2021-08-25 22:23:55 +10:00
Ryooooooga
6ca42ff720
Fix pick all hunks
2021-08-25 22:23:55 +10:00
Ryooooooga
a533f8e1a5
simplify merge panel logic
2021-08-25 22:23:55 +10:00
Ryooooooga
cf8ded0b79
add mergeConflict#hasAncestor
2021-08-25 22:23:55 +10:00
Ryooooooga
73548fa15f
Fix conflict resolution
2021-08-25 22:23:55 +10:00
Ryooooooga
a0e7604f61
Support git config merge.conflictStyle diff3
2021-08-25 22:23:55 +10:00
Ryooooooga
c3d7de1c18
Change not to use cat command
2021-08-25 21:32:48 +10:00
Liberatys
711bd5a670
Lint
2021-08-25 20:13:50 +10:00
Liberatys
6b68f4f25d
Update as per review and add tests
2021-08-25 20:13:50 +10:00
Liberatys
89ee0a1dee
Move field names to translation
2021-08-25 20:13:50 +10:00
Liberatys
2dc6f5f079
Implement state filtering for commit files
2021-08-25 20:13:50 +10:00
Ryooooooga
51f05ce08b
Fix open command in Windows
2021-08-23 21:21:34 +09:00
Mark Kopenga
487ad196a7
Merge pull request #1413 from Ryooooooga/feature/edit-line
...
Make os.editCommand customizable using template
2021-08-23 10:15:38 +02:00
Ryooooooga
0af0e66586
Fix panic in merge conflict
2021-08-21 18:34:30 +09:00
Mark Kopenga
2eeff1257b
Merge pull request #1432 from black-desk/moved-submodule
...
fix moved submodule
2021-08-17 10:10:22 +02:00
Mark Kopenga
c878f34ff1
Merge pull request #1438 from Ryooooooga/feature/rename-files-with-modification
...
Fix staged renamed file with unstaged in file pane #1408
2021-08-16 17:29:08 +02:00
Ryooooooga
d073932cec
Fix stash submodule #1436
2021-08-16 23:36:16 +09:00
Ryooooooga
a2f7fcd730
Remove unused constant
2021-08-16 23:21:46 +09:00
Ryooooooga
f96674b24b
Fix error when filename contains ->
2021-08-16 23:15:37 +09:00
Ryooooooga
a553f7fb77
Fix staged renamed file with unstaged changes displays incorrectly in Files view #1408
2021-08-16 20:05:59 +09:00
Mark Kopenga
6c415d1341
Merge pull request #1434 from Ryooooooga/feature/fix-quote-in-filename
...
the patch panel would crash if the filename contained an odd number of double quotes
2021-08-16 09:52:06 +02:00
Ryooooooga
b21ac990ea
fix submodule command escaping #1436
2021-08-16 12:34:52 +09:00
Ryooooooga
0740409f43
fix test
2021-08-13 22:15:06 +09:00
Ryooooooga
37700908cc
fix checkout file command
2021-08-13 21:49:40 +09:00
Ryooooooga
488c43aaa2
fix crash when double quotes in filename #1433
2021-08-13 21:39:38 +09:00
black_desk
bb4fe2653b
fix moved submodule
2021-08-13 17:03:37 +08:00
black_desk
66d735acb5
Update pkg/commands/files.go
...
Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
2021-08-13 16:41:23 +08:00
black_desk
d51b065f2a
fix empty patch panel when spaces in filename
2021-08-13 14:02:11 +08:00
mjarkk
e58376f9f7
add tests for TemplateFuncMapAddColors
2021-08-09 21:09:52 +02:00
Elwardi
e8e4fa5957
Add color functions to templates funcMaps
2021-08-09 11:52:00 +01:00
Elwardi
b5d8849c06
Support match colors in labelFormat
entry in menuFromCommand prompts
2021-08-07 16:06:36 +01:00
Mark Kopenga
5d1a9639b6
Merge pull request #1416 from FoamScience/feature_menuOptions
2021-08-07 15:24:42 +02:00
mjarkk
ea136e4e77
Improve code quality
...
- Make CommandMenuEntry private
- create candidates only once we really need it
- Use only 1 buffer
- Clearify CommandMenuEntry creation fields
2021-08-06 21:50:58 +02:00
Elwardi
dcd3b7c058
Show only labels in menuFromCommand prompts
2021-08-06 18:38:26 +01:00
Elwardi
906ec30cac
Minor changes to menuFromCommand prompts
2021-08-06 10:53:32 +01:00
Matthew Garelli
46c146a8c1
fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go
2021-08-06 02:18:04 -07:00
Elwardi
a8ec044f0e
Make menuFromCommand format menu items and their description
2021-08-05 15:45:18 +01:00
Ryooooooga
ac609bd37c
fix backward compatibility
2021-08-04 18:43:34 +09:00
Ryooooooga
67cc65930a
fix out of range error
2021-08-03 22:00:28 +09:00
Ryooooooga
4f66093335
introduce edit command template to open a specifig line of a file
2021-08-03 21:42:14 +09:00
Jesse Duffield
d626bcac00
color fixups
2021-08-01 16:14:56 +10:00
Jesse Duffield
e798aa4b15
more color tests
2021-08-01 13:21:06 +10:00
mjarkk
0662733ad9
add tests for color changes
2021-07-31 20:53:49 +02:00
Jesse Duffield
550c0fd4dc
refactor
2021-07-31 17:56:47 +10:00
Jesse Duffield
0bc0e4ac88
more efficient
2021-07-31 17:33:20 +10:00
Jesse Duffield
117c0bd4f7
simplify code a bit
2021-07-31 17:33:13 +10:00
mjarkk
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
Jesse Duffield
62393cf28a
more treeish files
2021-07-27 21:52:42 +10:00
Jesse Duffield
b81bac3d65
more i18n
2021-07-27 21:30:08 +10:00
Jesse Duffield
58ddbae4d1
Minor refactor
2021-07-27 21:30:08 +10:00
Denis Palashevskii
3802b563b0
Add error message if target branch not found with prompt
2021-07-27 21:30:08 +10:00
Denis Palashevskii
d1134daa53
review fixes: PR URL refactoring, target branch selection prompt
2021-07-27 21:30:08 +10:00
Denis Palashevskii
63cb304a82
Fix translations, make formatter happy
2021-07-27 21:30:08 +10:00
Denis Palashevskii
d5ec0fdcd1
Remove doubled string formatting in pull request URL generation
2021-07-27 21:30:08 +10:00
Denis Palashevskii
0a63f701e5
Apply suggestions from code review
...
Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
2021-07-27 21:30:08 +10:00
Denis Palashevskii
bccf203a18
Fix menu item color
2021-07-27 21:30:08 +10:00
Denis Palashevskii
b590397dce
Update docs
2021-07-27 21:30:08 +10:00
Denis Palashevskii
755cc9f8d8
Add tests
2021-07-27 21:30:08 +10:00