Commit graph

1725 commits

Author SHA1 Message Date
leo
7b26589485
fix: button tooltip foreground (#381)
* TextBlock may not be the direct child of Button, for example, it may wrapped by a StackPanel with icons.
* Introduce another way to solve this problem
2024-08-21 10:18:28 +08:00
Chiahong Hong
1dfa7aa1a7
fix: correct selector for foreground color in tooltip on primary button 2024-08-21 01:28:13 +08:00
leo
04a187203a
refactor: detect terminal before it is needed 2024-08-20 21:05:20 +08:00
leo
f4f5ae7430
ux: remove rounded corner when window is maximized using TemplateBinding (#378) 2024-08-20 20:59:57 +08:00
leo
66b28621d1
fix: wrong path to find iTerm2 2024-08-20 20:55:41 +08:00
leo
c1c1e1f0c8
ux: remove rounded corner when window is maximized (#378) 2024-08-20 20:48:44 +08:00
leo
05db9e429d
code_review: PR #377
* simplify the implementation
2024-08-20 20:44:54 +08:00
Yitzchak Ben-Ezra
f53b35243d Support iTerm2 in MacOS 2024-08-20 14:32:52 +03:00
leo
5370526fcc
ux: selected style for repo dashboard contents 2024-08-20 17:11:51 +08:00
leo
9844043c7f
ux: use ListBox with VirtualizingStackPanel instead of DataGrid since height of DataGridRow is not equal with the RowHeight value 2024-08-20 16:55:28 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check on push (#345) 2024-08-20 15:20:58 +08:00
leo
d66053a42d
code_style: run dotnet format 2024-08-20 11:53:37 +08:00
leo
55d2657799
ux: better line number layout 2024-08-19 19:54:46 +08:00
leo
ecc1414006
fix: empty monospace font with non-empty default font fallback issue 2024-08-19 19:18:31 +08:00
leo
50d742e1eb
Merge pull request #371 from NilsPvR/develop
New keys for german translation
2024-08-19 17:44:30 +08:00
NilsPvR
ef0c04fe20 localization: add new keys for German translation
the keys were originally added in b3327eb and addbb19
2024-08-19 11:31:15 +02:00
leo
8bd8787d25
feature: auto-focus when open a new page (#368) 2024-08-19 17:24:39 +08:00
leo
9057b71f2d
refactor: rewrite the font configuration (#366)
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +08:00
leo
24dde77548
refactor: rewrite SourceGit.App 2024-08-19 12:49:29 +08:00
leo
84b8735d6c
code_style: run dotnet format 2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
e7921db339
fix: can not open app dir on macOS 2024-08-18 15:53:54 +08:00
leo
2934ad72d4
project: upgrade TextMateSharp to 1.0.62 2024-08-18 14:41:28 +08:00
leo
fe9f4f5743
refactor: rewrite the way using extension to get custom grammars 2024-08-18 09:33:40 +08:00
leo
39fba17648
enhance: text editor (#365)
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
a3496a9d2f
fix: virtual space not include (#364) 2024-08-16 19:21:48 +08:00
leo
ed7465def5
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush) (#364) 2024-08-16 18:59:48 +08:00
leo
9f39a9b295
fix: background not fill entire text line (#364) 2024-08-16 17:28:00 +08:00
leo
6d11296eae
enhance: update selected chunk after stage/discard/unstage previous chunk (#361) 2024-08-16 15:11:35 +08:00
leo
6ac7ff2882
feature: add context menu item to checkout file with revision 2024-08-16 14:49:26 +08:00
leo
b6b52c14e5
ux: change icon for checking out file with revision 2024-08-16 14:18:29 +08:00
leo
f71cd237cb
enhance: disable reset file to parent revision when it has been renamed
* new icon for checkout file
2024-08-16 11:55:36 +08:00
leo
f7e0cbf989
ux: style for disabled menu item 2024-08-16 10:14:08 +08:00
Jean
dd66e68ecd fix: update pt-BR locale w/ new strings 2024-08-15 19:02:09 -03:00
leo
addbb19728
feature: add context menu items to revision changes to reset (checkout) selected file to this revision or to it's first parent file version (#359) 2024-08-15 22:13:20 +08:00
leo
eb56de2d6f
ux: change min height of DataGridCell's from 32 (default) to 24 2024-08-15 21:34:24 +08:00
leo
2ffc1b7178
enhance: manually stage all changes instead of using --all parameter in git commit 2024-08-15 20:09:38 +08:00
leo
3bcea2a4f0
ux: style of commit message picker button 2024-08-15 19:52:05 +08:00
leo
b3327ebeb5
feature: supports commit template (#264) 2024-08-15 18:59:35 +08:00
leo
c8db2fd8ea
code_style: format axaml 2024-08-15 15:59:10 +08:00
NilsPvR
6a48ab05a4 feat: add German translation 'open app data dir' 2024-08-15 09:18:03 +02:00
leo
f3cbb7adb0
project: change optimization mode from Size to Speed 2024-08-15 12:05:28 +08:00
leo
ff3d841d12
feature: add a menu item to open app data dir 2024-08-15 11:47:04 +08:00
leo
0c6af27b40
refactor: rewrite the way to find external editors (#347)
* do not find tools from environment variables since it needs a lot of works on some platforms, such as macOS
* add `external_editors.json` to allow user configure paths directly
2024-08-15 11:32:26 +08:00
leo
eaad685d06
fix: typo 2024-08-15 10:43:38 +08:00
leo
bf6ac4d20d
refactor: rewrite commit web link
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
48de509c63
ux: change cursor to hand when hover links 2024-08-14 17:27:37 +08:00
leo
db40a3f368
feature: try to enable DBus file picker on Linux platforms (#289) 2024-08-14 16:09:55 +08:00
leo
f5d4f61c8a
ux: change cursor to Hand when mouse is hovered the commit web link 2024-08-14 11:14:21 +08:00
leo
55da40f8dc
fix: sometimes textblock with issue link will render nothing 2024-08-14 11:06:37 +08:00
leo
ec14d9d533
refactor: remove binding errors 2024-08-13 20:40:05 +08:00
leo
abdf9d7e75
refactor: rewrite commit web links 2024-08-13 19:30:10 +08:00
leo
59a7c74fd1
fix: try to fix issue #338
* use custom control to draw badges
2024-08-13 18:24:28 +08:00
leo
f3406e93fc
fix: try to fix issue #338
* upgrade Avalonia to `11.1.3`
* use reactive property instead of simple getter
2024-08-13 17:38:58 +08:00
leo
34a598d421
feature: add commit web links (#357) 2024-08-13 17:15:17 +08:00
leo
a145d6e4c3
revert: remove issue link support in commit list
* improve render performance
* the links in commit list are very easy to click by mistake
2024-08-13 15:58:34 +08:00
leo
d601ca6b23
enhance: force InvalidateVisual 2024-08-13 14:57:05 +08:00
leo
435c12b340
ux: add style for issue link hovered 2024-08-13 12:25:06 +08:00
leo
08fc069281
enhance: disable selection while click issue link 2024-08-13 12:18:26 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message 2024-08-13 12:08:33 +08:00
leo
d1b236b090
enhance: usually we create hidden sub-directories in $HOME with lowercase names 2024-08-13 10:19:16 +08:00
leo
19cb5678a7
project: upgrade TextMateSharp to 1.0.61 to support arm64 platforms (#312) 2024-08-13 10:08:44 +08:00
leo
38665a61cb
fix: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) returns an empty string on some linux distro
* fallback the storage folder to `~/.sourcegit`
2024-08-12 21:38:11 +08:00
leo
9561f7ef64
Merge pull request #353 from NilsPvR/develop
Code review suggestions for German translation
2024-08-12 19:59:56 +08:00
Gadfly
04c9214fc0
fix: remove null-check of sshKey in EditRemote 2024-08-12 19:28:01 +08:00
leo
69178838be
fix: always trait Atl/Ctrl/Shift as key modifers (#351) 2024-08-12 16:51:37 +08:00
leo
0646db36a4
fix: KeyDown event won't be triggered unless toolbar got focus (#351) 2024-08-12 16:14:39 +08:00
van Rijsinge
d98ec5db75 feature: add German translations for new features 2024-08-12 09:33:25 +02:00
leo
429e037adb
feature: use Ctrl + click to stash all changes automatically with default options (#351) 2024-08-12 15:11:49 +08:00
leo
965a4b21ae
feature: use Ctrl + click to start fetch/pull/push automatically with default options (#351) 2024-08-12 15:01:00 +08:00
NilsPvR
9c6bd87dd6 enhance: review suggestions for German translation 2024-08-12 08:59:40 +02:00
leo
2e12717235
ux: removes padding when calculate layouts 2024-08-12 12:03:30 +08:00
leo
dabdd0b06a
code_style: remove empty lines 2024-08-11 18:41:59 +08:00
leo
de2f70b8ea
feature: supports display tags in a tree (#350) 2024-08-11 18:12:58 +08:00
leo
f59af0afcf
enhance: only when the repository has submodules will the submodule information be updated at the same time after the branch information changes 2024-08-11 10:15:43 +08:00
leo
e2da0d3643
project: downgrade AvaloniaUI to 11.0.13 2024-08-11 09:18:06 +08:00
NilsPvR
116a1bcca3 fix: accidently whitespace + capizalization 2024-08-09 21:04:19 +02:00
NilsPvR
27d0aed516 enhance: german translation for more consistency
+ fix some typos and add missing translations
2024-08-09 20:18:05 +02:00
leo
6881837c80
ux: increase max font size to 18 (#346) 2024-08-09 21:21:28 +08:00
leo
747c8054f5
fix: submodule status is not updated when branch changed (#339) 2024-08-09 18:29:04 +08:00
leo
e05264e35d
fix: can not create branch when detached head has extra commits (#344) 2024-08-09 16:59:48 +08:00
leo
ed2d3279e1
enhance: create branch on detached HEAD (#344) 2024-08-09 16:06:28 +08:00
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed 2024-08-09 15:17:04 +08:00
leo
ce7420354d
fix: local changes do not updated after submodule changed (#339) 2024-08-09 14:34:19 +08:00
leo
d37f53a4f3
fix: local changes do not updated after submodule changed (#339) 2024-08-09 14:28:10 +08:00
leo
905664c5e2
fix: can not select issue rules after remove one in last two (#343) 2024-08-09 14:22:30 +08:00
leo
3a54471ea5
refactor: rewrite branch auto-select after remote changed while pulling (#342) 2024-08-09 14:08:25 +08:00
leo
f98423b4c7
enhance: auto-select branch after remote changed while pulling (#342) 2024-08-09 14:03:31 +08:00
leo
a75d50bf97
refactor: rename Models.Watcher.UpdateSubmodules to Models.Watcher.SetSubmodules
* run `dotnet format`
2024-08-09 11:33:37 +08:00
leo
71d2b295da
refactor: combine Commands.UpdateSubmoduleStatus into Commands.QuerySubmodules 2024-08-09 09:41:24 +08:00
leo
3969111393
ux: force datagrid row height to 24 2024-08-08 21:21:30 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty state (#339) 2024-08-08 21:11:10 +08:00
leo
eb441852b0
enhance: allow edit commit message only with Amend (#336) 2024-08-08 15:18:35 +08:00
leo
97d5ecdfe9
code_style: remove IDE warnings 2024-08-08 15:10:08 +08:00
leo
6c08ee1b05
ux: use smaller fontsize for launcher tabbar 2024-08-08 14:04:48 +08:00
Gadfly
4c471c6bb9
fix: do NOT change parent of RepositoryNode if it exists when open it from FolderPicker 2024-08-08 10:34:30 +08:00
leo
6bd0920d71
feature: enable syntax highlighting in revision files view (#333) 2024-08-08 10:12:39 +08:00
leo
1ab0ea27df
enhance: remove fixed fontsize in launcher's tabbar (#332) 2024-08-08 09:38:11 +08:00
leo
f8bc48c49c
enhance: exec git command directly instead of call methods from WorkingCopy (#330) 2024-08-08 09:33:46 +08:00
leo
dc32c3e95d
project: upgrade AvaloniaUI to 11.1.2 2024-08-07 19:52:40 +08:00
leo
7ff92c4e1d
ux: stage/unstage/discard button aligment in TextDiffView 2024-08-07 19:42:41 +08:00
leo
d4b0958f67
ux: new style of tab switcher in statistics window 2024-08-07 17:07:39 +08:00
leo
3609d46c1f
enhance: pop stash directly instead of apply+drop 2024-08-07 15:59:35 +08:00
leo
3bcf4e128e
enhance: get count of changed file (without untracked) directly (#316) 2024-08-07 15:52:58 +08:00
leo
8c16ded6bd
enhance: ignore untracked files when calculate local changes in checkout/create branch/pull (#316) 2024-08-07 15:38:18 +08:00
leo
71c2ad989b
enhance: do not call git add before git stash push when enable auto stash in checkout/create branch/pull (#316) 2024-08-07 15:20:21 +08:00
warappa
8a7ec4840f #322: Add German translation for issue tracker integration 2024-08-06 21:24:50 +02:00
warappa
67ebc5ae03 Merge branch 'develop' into bugfixes/enhance-german-translation 2024-08-06 21:05:27 +02:00
leo
3506df40e0
refactor: rewrite SetDetail for selected working copy changes (#328) 2024-08-06 17:17:41 +08:00
leo
e50db02ea8
fix: SelectedUnstaged and SelectedStaged should always be re-calculated (#328) 2024-08-06 17:08:01 +08:00
leo
f41f8266d2
ux: rebase popup should always be closed after started (#327) 2024-08-06 16:39:54 +08:00
leo
0450931655
enhance: avoid refetch avatar for noreply@github.com 2024-08-06 15:40:07 +08:00
leo
a7ea61f9af
refactor: remove binding null warnings 2024-08-06 15:33:23 +08:00
leo
1d15c4c95f
fix: drag window won't stop (#326) 2024-08-06 15:12:44 +08:00
leo
2e433aa278
refactor: set detail directly instead of reset selected changes 2024-08-06 14:36:58 +08:00
Gadfly
519d9c770c
fix: clean SelectedStaged after commit 2024-08-06 14:23:47 +08:00
heartacker
5e85ce8f8b update AvaloniaEdit nuget package to 11.1.0
- AvaloniaEdit
- TextMate
- Grammars
2024-08-06 14:03:24 +08:00
David Rettenbacher
e29e8c2990
Fix about texts 2024-08-06 07:58:20 +02:00
leo
a2749d3c4f
ux: add Color.Link for issue links (#315) 2024-08-06 13:57:51 +08:00
leo
9bee51686a
feature: show issue link on commit list of histories view (#315) 2024-08-06 11:02:52 +08:00
leo
90e3abed8d
enhance: keep selection after unstaging (#320) 2024-08-06 10:42:55 +08:00
leo
4ba7c879c5
feature: use Ctrl+C to copy selected commits in histories (#321) 2024-08-06 10:04:08 +08:00
warappa
6d9613945e Fixes and tweaks German translation 2024-08-05 23:13:36 +02:00
leo
b059423391
feature: enable using drag-drop to re-order commits (#319) 2024-08-05 22:10:43 +08:00
leo
85d3f0993c
refactor: load default github avatar 2024-08-05 20:12:41 +08:00
leo
91daa42c08
ux: margins between textbox and its label in issue tracker configure page 2024-08-05 19:32:50 +08:00
leo
dfd098e131
refactor: merge sourcegit.issuetracker.setting to sourcegit.settings. 2024-08-05 18:18:57 +08:00
leo
f754b2c63a
feature: supports issue tracker in commit message (#315) 2024-08-05 17:34:49 +08:00
warappa
b88031f09d Enhance German translation 2024-08-04 16:47:59 +02:00
leo
281ef8b490
fix: first '_' character not shown in menu item (#313) 2024-08-02 22:53:55 +08:00
leo
cd9196bb84
feature: supports get avatar from avatars.githubusercontent.com
* move all images to `src/Resources/Images` folder
2024-08-02 18:06:45 +08:00
jacky
12451a21c4 fix: fix some typos 2024-08-02 15:40:00 +08:00
leo
f3aff65d03
ux: reduce change list row height in commit detail panel 2024-08-02 15:16:19 +08:00
leo
eb437df9fe
enhance: reduce commits loading time for interactive rebase 2024-08-01 18:05:58 +08:00
leo
7891b1124e
feature: asking to create local branch instead of checkout commit if some remote branch's HEAD is selected commit (#295) 2024-08-01 16:59:39 +08:00
leo
57e9c44754
ux: new icon for changes 2024-08-01 15:12:00 +08:00
leo
af8543a4b8
ux: add icon Icons.Clone 2024-08-01 15:02:53 +08:00
leo
58357f031d
ux: add a new icon Icons.Stashes.Add 2024-08-01 11:45:20 +08:00
Gadfly
2a09ae64a4
fix: support revert merge commit 2024-08-01 10:02:09 +08:00
leo
425b713d1e
code_review: PR (#307)
* locale selection is sorted by name
* add en_US fallback for de_DE
2024-08-01 09:57:03 +08:00
leo
c8c881c38a
Merge pull request #307 from warappa/features/305-add-german-translation
Add German translation
2024-08-01 09:49:36 +08:00
warappa
edf09234c8 #305: Add German translation 2024-07-31 23:32:41 +02:00
leo
2a05ffa30f
enhance: trim description of commit message while pasting on subject 2024-07-31 21:36:23 +08:00
leo
ff8456bcba
Merge pull request #304 from JeanFranz73/ptbr-locale
feat: Add portuguese (pt_BR) locale
2024-07-31 21:20:21 +08:00
Jean Franz
177450fffd
feat: Add portuguese (pt_BR) locale 2024-07-31 10:08:59 -03:00
leo
ec6fe25e87
code_style: run dotnet format 2024-07-31 16:26:58 +08:00
leo
2e87f83a38
feature: add tooltip for page tab (#302) 2024-07-31 15:42:13 +08:00
leo
f55a576013
refactor: rewrite amend behaviour (#300)
* toggle amend will show changes in HEAD commit
* since discard is not compatible with staged changes in `amend` mode, we only allows user to discard unstaged changes
2024-07-31 12:04:52 +08:00
leo
3c5a661fa0
feature: supports type change 2024-07-30 21:32:23 +08:00
leo
7f8b8a19a0
feature: add auto complete box for searching commits by file path 2024-07-30 15:59:54 +08:00