Commit graph

2048 commits

Author SHA1 Message Date
leo
027844f4c5
ux: reorder reset modes by safety 2024-09-27 09:53:04 +08:00
leo
304b175b4b
refactor: remove context menu items about LFS tracking from changes and revision files 2024-09-27 09:46:02 +08:00
leo
9ff28dff72
feature: add git LFS context menu items for changes and revision files in commit details view 2024-09-27 09:39:25 +08:00
leo
05c135a89d
feature: auto add checkout target branch to history filters if the filter list is not empty (#518)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 20:37:48 +08:00
Katharina Sternbauer
4925e56dfb
localization: add missing german text entries (#519) 2024-09-26 19:50:40 +08:00
leo
d34aa8cb7e
localization: use localized text for Show only my locks checkbox (#515)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 15:43:31 +08:00
leo
5d2a442144
code_review: PR #515
* remove Linq expressions due to AOT limitations. See https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/?tabs=windows%2Cnet8#limitations-of-native-aot-deployment
* rename `FilteredLocks` to `VisibleLocks`
* use `Commands.Config.Get` instead of `Commands.Config.ListAll`
* disable checkbox if user name is not valid
2024-09-26 15:36:20 +08:00
Mat
21498f7009
Show only my locks (#515)
* Added a checkbox in the LFSLocks window to only show the ones locked by "Mat"
* Waits for the locks list to finish loading before making the checkbox clickable
* Now uses correct username for lock filtering.
   WIP: needs an error popup if user is misconfigured
* Added an error popup if username is empty on lfs locks
* Replaced an IEnumerable with a AvaloniaList for consistency
2024-09-26 15:00:31 +08:00
leo
4a08caddad
update: description for git reset --merge 2024-09-26 14:49:15 +08:00
leo
1cda5d858e
feature: add --merge and --keep support to git reset command (#514) 2024-09-26 11:29:32 +08:00
leo
1ba294a07b
refactor: move auto-fetch from global preference to repository settings
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 10:50:21 +08:00
leo
8e31ea9140
enhance: use Click event instead of IsCheckedChanged to reduce the times of calling update filter (#513)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 20:44:25 +08:00
leo
a8ce4e6d95
feature: when toggle a local branch filter, if it has a tracked upstream branch, do the same for the upstream branch (#513) 2024-09-25 20:30:48 +08:00
leo
85b83990a8
code_style: run dotnet format
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 16:24:04 +08:00
leo
acf71a30b8
enhance: re-calculate the opened repositories in active workspace (#511) 2024-09-25 15:07:23 +08:00
leo
28c59ee0ab
code_style: move the code to initialize informations to spawn git sub-process to function Models.Command.CreateGitStartInfo 2024-09-25 10:57:37 +08:00
leo
a8685f2047
refactor: rewrite the way to support HomeBrew pathes on macOS (#507)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 10:35:07 +08:00
leo
a52ebffbf3
ux: layout for Statistics window
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-24 20:50:53 +08:00
leo
bc8a2cb162
ux: color picker button theme in Statistics window 2024-09-24 20:34:52 +08:00
leo
6b44fd4416
code_style: remove unused codes
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-24 18:22:18 +08:00
leo
d1d913aa45
fix: do NOT delete .git/rebase-merge and .git/rebase-apply folders (#509) 2024-09-24 18:19:22 +08:00
leo
b9597dc92a
ux: new layout for Staticstics window 2024-09-24 17:06:16 +08:00
leo
6151f4dc5f
refactor: a new way to test if this app should be launched as a SSH askpass client 2024-09-24 15:53:36 +08:00
leo
c0f59c441b
feature: allow user to select the chart fill color 2024-09-24 12:14:51 +08:00
leo
de15cb1ff2
ux: use column series instead of line series because change between samples is not linear 2024-09-24 11:02:49 +08:00
leo
1dd1e41b7b
ux: workspace button margin
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-24 10:09:54 +08:00
leo
94a8139578
enhance: increase the number of commits to analyze in OVERVIEW tab to 40K 2024-09-24 10:00:31 +08:00
leo
1b63da45e5
ux: disable line smoothness in Statistics 2024-09-24 09:40:55 +08:00
leo
0bc7208230
ux: remove the MaxWidth limitation for file tree view in CHANGES page and FILES page (#503) 2024-09-24 09:28:30 +08:00
Михаил Усоцкий
deb8789178
Updating the localization with the latest changes. 2024-09-24 09:19:01 +08:00
Jens Fischer
49d5b679fc Respect .mailmap files in statistics
see https://git-scm.com/docs/gitmailmap
2024-09-23 16:28:07 +02:00
leo
308445fa81
ux: fill brush for line chart (#493) 2024-09-23 21:54:02 +08:00
leo
af57c56cd7
feature: enhanced statistics panel (#493)
* replace the `YEAR` tab with `OVERVIEW` tab, which will analyze most recent 20K commits
* use `LiveChartsCore.SkiaSharpView.Avalonia` instead of a custom chart view
2024-09-23 21:45:44 +08:00
leo
983607e708
fix: minimize window button not work on Windows 10 (#501)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-23 14:44:23 +08:00
Михаил Усоцкий
10d8c8112b
Поправка перевода, упрощение перевода под интерфейс. 2024-09-23 09:11:03 +08:00
Михаил Усоцкий
31dc060b5b
Поправка перевода. 2024-09-23 09:10:59 +08:00
Михаил Усоцкий
dd38987803
Поправка перевода. 2024-09-23 09:10:53 +08:00
leo
dd6ee6b8e6
enhance: use SelectedItem instead of SelectedItems since the selection mode is Single
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-22 20:53:11 +08:00
leo
07cba1cf5f
feature: support using left/right arrow to expand/collapse tree node (#463) 2024-09-22 20:48:36 +08:00
leo
01380ff194
code_review: PR #497
* remove unused file
* update readme
2024-09-22 19:03:55 +08:00
Михаил Усоцкий
45ad1363fa
Поправка перевода. 2024-09-22 18:56:33 +08:00
Михаил Усоцкий
977b800c89
Added locale file 2024-09-22 18:56:27 +08:00
leo
81b72f7c1c
enhance: use ~ to represent the home dir of current user
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-22 11:00:30 +08:00
leo
0b6ecc0388
code_style: typo in s_extraGrammars
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-21 22:04:50 +08:00
leo
80017d8bd0
code_style: simplify Models.TextMateHelper 2024-09-21 22:02:50 +08:00
leo
4a3620db5e
refactor: rewrites the built-in grammar extension
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-21 16:34:00 +08:00
Jens Fischer
0dbca4fe47 Add syntax highlighting for Haxe 2024-09-20 16:30:40 +02:00
leo
30765cf7b3
code_review: PR #495
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
* correct the path passed to `--cwd`
2024-09-20 22:02:10 +08:00
leo
e011b1807a
Merge pull request #495 from Gama11/feature/wezterm
Add support for WezTerm
2024-09-20 21:51:59 +08:00
Jens Fischer
a8a85613fc Add support for WezTerm 2024-09-20 14:13:02 +02:00
Jens Fischer
535dc1ef49 Add syntax highlighting for Kotlin 2024-09-20 13:51:05 +02:00
leo
094b07b03a
ux: new icon for remotes
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-20 14:41:27 +08:00
leo
5f567460e2
fix: missing -d ${WORKDIR} parameter for wt.exe (#490) 2024-09-20 14:15:19 +08:00
leo
cb2caa0930
ux: icons for group header 2024-09-20 10:12:21 +08:00
leo
6a0cf30db2
fix: wrong width for commit graph
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-19 15:59:34 +08:00
leo
0ed1f369e9
feature: display commit's detail info even if the commit is not shown in histories 2024-09-19 14:38:11 +08:00
leo
5574dd2c38
refactor: a better way to fix window drop shadow effect on Win10 2024-09-19 09:50:27 +08:00
leo
687b58576d
code_style: use readonly property instead of responsive property for Workspace.Brush 2024-09-19 09:21:04 +08:00
leo
33f9ae0cd6
fix: wrong executable file name for Zed editor on Linux (#477) 2024-09-19 09:12:38 +08:00
leo
e4870759f7
ux: workspace configuration window 2024-09-18 21:46:04 +08:00
leo
84fda6a8db
feature: add property RestoreOnStartup property to ViewModels.Workspace (#488) 2024-09-18 21:35:33 +08:00
leo
900ebd8282
feature: supports parameters in commit template (#487)
- ${files_num} will be replaced with staged changes count
- ${files} will be replaced with changed file paths
- ${files:N} will be replaced with top N changes file paths and with `and {TOTAL - N} other files` at end of replaced string.
2024-09-18 20:11:34 +08:00
leo
6932ce44a9
fix: new window opened on failing fetch due to missing StrictHostKeyChecking=accept-new for repo remote without private ssh key (#485) 2024-09-18 17:19:55 +08:00
leo
bbd4012bc5
enhance: do NOT create sub-nodes for detached HEAD 2024-09-18 16:02:38 +08:00
leo
69b39dac6c
code_style: simpfy FindTerminal
* [macOS] should return `string.Empty` when failed to find terminal path
* [Linux] use `shell.Type` instead of `shell.Exec` to skip custom terminal detection
2024-09-18 15:26:28 +08:00
leo
9c6745c271
enhance: skip auto fetching when index.lock file exists in the repository's git dir 2024-09-18 14:49:53 +08:00
leo
ba9c3058ed
feature: supports Zed editor as an external editor (#477) 2024-09-18 10:00:32 +08:00
leo
a00cf4f009
ux: add custom terminal icon 2024-09-17 22:58:28 +08:00
leo
934d784d40
fix: unable to access the Stage/Unstage buttons in diff viewer when line wrap is enabled (#481)
* disable line wrap in side-by-side diff mode
2024-09-17 22:26:35 +08:00
leo
bc633e4085
code_review: PR #480
* remove `string.IsNullOrEmpty(OS.ShellOrTerminal)` checking from detail backend since it has been checked by `Native.OS.OpenTerminal`
* remove `ViewModels.Preference.IsTerminalConfigured` because it is only used by itself (Unlike `IsGitConfigured`).
* add `Native.OS.TestShellOrTerminal` and use it instead of setting `Preference.ShellOrTerminal` directly, because we have binded a callback that will save preference into file when its property changed. It may cause lag in some enviroments if we saving preference into file too frequently (see PR #436).
* run `dotnet format`
2024-09-17 22:09:51 +08:00
Aikawa Yataro
54ab625931
enhance: select any terminal when none is set 2024-09-17 07:20:17 +00:00
Aikawa Yataro
736ad02991
enhance: allow to specify custom terminal 2024-09-16 12:06:33 +00:00
Aikawa Yataro
53c915578e
enhance: allow terminal without full path and adjust error message 2024-09-16 11:55:50 +00:00
Aikawa Yataro
4deac98c4e
fix: crash when trying to open terminal from the Welcome screen 2024-09-16 08:51:39 +00:00
leo
4b182e6ecd
fix: http System.InvalidOperationException (#476) 2024-09-16 15:41:49 +08:00
leo
74a9be0667
Merge pull request #475 from NilsPvR/develop
Add DE keys for new OpenAI commit message generation
2024-09-16 10:49:47 +08:00
NilsPvR
0055ddbaa7 localization: add DE keys for OpenAI msg gen
- were added in 16f8e2f
2024-09-15 20:18:22 +02:00
Chiahong Hong
fd116914d5
localization: update zh_TW.axaml 2024-09-15 22:11:23 +08:00
leo
1a4d3d0086
enhance: remember the height/width of commit list and detail panel in histories page (#472) 2024-09-14 17:22:29 +08:00
leo
6d92b7fc8c
ux: image info text layout 2024-09-14 16:15:53 +08:00
leo
d6b21bad17
feature: now image file previewer shows the image size and file size 2024-09-14 16:13:40 +08:00
leo
7f87ce3431
ux: move some configuration from GIT to GENERAL tab 2024-09-14 12:31:31 +08:00
leo
2bea686436
fix: wrong name for iTerm2 icon 2024-09-14 12:18:22 +08:00
leo
fb0120d338
refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
817f8919fd
enhance: add Content-Type to OpenAI request headers 2024-09-13 20:50:11 +08:00
leo
ab54ecee42
enhance: API Key is now optional
- Update README.md by adding tips for using OpenAI in this project
2024-09-13 20:46:00 +08:00
Gadfly
4f47658e70
fix: AIAssistant window height sometimes wrong 2024-09-13 17:59:29 +08:00
leo
1ec5cc416d
enhance: leave remote branch to empty when the local branch tracks no branch in the remote while pulling changes (#469) 2024-09-13 17:29:24 +08:00
leo
ab8b27c1f8
Merge pull request #468 from aikawayataro/aot-switch
Allow to disable native AOT deployment
2024-09-13 16:07:21 +08:00
Aikawa Yataro
79d3083b0d
project: allow to disable native AOT deployment 2024-09-13 07:33:31 +00:00
leo
5c2583db67
enhance: notify user when try to generate commit message by OpenAI but not files are added to commit 2024-09-13 15:26:12 +08:00
leo
cc6e486663
enhance: do NOT modify repository's local configuration if it is equals to default value 2024-09-13 15:20:52 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call. 2024-09-13 14:25:38 +08:00
leo
f7f549f86d
enhance: change tooltip's alignment to Top to avoid issue #467 2024-09-12 17:40:25 +08:00
leo
8a20a7a542
ux: set Focusable by XAML instead of hard coded 2024-09-12 17:05:05 +08:00
leo
ea3a6a4755
feature: auto focus the next change after stage/unstage selected changes (#464) 2024-09-12 16:33:56 +08:00
leo
dcddc5a2f2
ux: OpenAI button layout 2024-09-12 11:51:07 +08:00
leo
b09d1d46c9 fix: openpgp typo (#465) 2024-09-12 11:03:56 +08:00
leo
676835dee5
enhance: do NOT modify global .gitconfig if value equals git default (#465) 2024-09-12 10:33:52 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI (#456) 2024-09-12 09:42:47 +08:00
Gadfly
f6fa31f287
fix: ConfigureWorkspace window width (#458) 2024-09-11 11:08:04 +08:00
leo
0c31c982be
enhance: ColorPicker performance improvement 2024-09-11 10:34:27 +08:00
leo
f4f0fe788b
fix: vertical grid line over-draw 2024-09-11 10:23:20 +08:00
leo
2d611cf988
fix: repository settings did not saved correctly when closing app (#459) 2024-09-11 10:20:12 +08:00
leo
9b47198229
fix: the width of ConfigureWorkspace window sometimes tool small (#458) 2024-09-11 10:08:31 +08:00
leo
f314da54aa
code_style: add comment for ColorPicker.COLOR_TABLE 2024-09-11 09:38:32 +08:00
leo
3cebff6722
enhance: when open sourcegit with repository from commandline disable all workspaces 2024-09-10 17:47:08 +08:00
leo
6d54b43ee3
ux: layout of ConfigureWorkspace window 2024-09-10 17:17:02 +08:00
leo
7b2da25c0b
enhance: do NOT save preference.json while loading 2024-09-10 16:37:39 +08:00
leo
88fb43e4fb
ux: new style for ColorPicker 2024-09-10 16:31:16 +08:00
NilsPvR
edcf67b3d6 localization: add DE keys for new features
- Hotey DiscardSelected was added in c22ba75
- ScanRepos were added in 0d67fa3
- MoveRepos were added in dfffd9d
- RepoFilter was updated in b1457e
- Workspaces were added in ebc112a and 0190c21, and updated in 2e2c443
2024-09-10 09:36:52 +02:00
leo
f5b8bc472a
fix: hightlight not working the first time clicking the first line (#448) 2024-09-10 12:03:07 +08:00
leo
f42ddd8cee
fix: hightlight background not updated (#448) 2024-09-10 11:50:32 +08:00
leo
2e2c443b5d
localization: Text.Workspace.Configure translation 2024-09-10 11:30:26 +08:00
leo
22f0fb3854
ux: rounded rect in ColorPicker 2024-09-10 11:26:07 +08:00
leo
33e4404222
code_style: remove unused converters 2024-09-10 11:22:12 +08:00
leo
853d5ce20e
code_style: remove debug code 2024-09-10 11:20:59 +08:00
leo
69117e8ee9
refactor: use custom color picker instead of Avalonia.Controls.ColorPicker 2024-09-10 11:02:34 +08:00
leo
bede3663ec
code_review: PR #453
* remove Visual Studio ENC0004 warning
2024-09-10 09:22:35 +08:00
Chiahong Hong
6d18839237
refactor: terminal launch on macOS without temporary AppleScript 2024-09-10 01:02:41 +08:00
leo
b1ce8c5451
enhance: do NOT auto focus the text editor when there's no highlighted commit (#448) 2024-09-09 21:06:44 +08:00
leo
32c0aa61cd
fix: the highlight background not updated while scrolling using mouse wheel without focus the text editor control (#448) 2024-09-09 21:01:10 +08:00
leo
9934586ee0
enhance: remember the active page index for each workspace (#445) 2024-09-09 19:40:44 +08:00
leo
e63034acd5
enhance: when open repository from commandline, create a new workspace Unnamed for it, and never add it to preference (#445) 2024-09-09 19:14:44 +08:00
leo
0190c2111d
enhance: workspace tooltip (#445) 2024-09-09 18:47:53 +08:00
leo
ebc112a627
feature: workspace support (#445) 2024-09-09 18:26:43 +08:00
leo
acd6171350
refactor: remove Caret.PositionChanged event listener since TextArea.LayoutUpdated will also triggered when caret position changed (#448) 2024-09-09 12:22:26 +08:00
leo
4be7710336
feature: highlight lines those come from the same change with current line (#448) 2024-09-09 11:45:02 +08:00
leo
17dd32456b
refactor: add Avalonia.Fonts.Inter as built-in default font (#447) 2024-09-09 10:01:41 +08:00
leo
6688319714
fix: failed get default font on some Linux distro (#447) 2024-09-08 18:29:05 +08:00
UchiTesting
a77c6dba67 Fix case for Text.Configure.IssueTracker.RuleName
Capital letter in the beginning was missing.
2024-09-07 20:27:05 +02:00
UchiTesting
6631611fa9 style(locale): Translate a few sections
Diff.SyntaxHighlight
RevealFile
Revert
Reword
Running
Save
Stash
URL
UpdateSubmodules
Warn
WorkingCopy
Worktree

Some extra sentences

Include small fixes for
CodeEditor : missing accent
2024-09-07 15:21:29 +02:00
UchiTesting
74bffc39b4 style(locale): Translate Text.Histories section to French 2024-09-07 15:21:28 +02:00
UchiTesting
ea164bfdf4 style(locale): Fix mistake in French translation
Text.DeleteMultiBranch.Tip had the term branch in singular instead of plural
2024-09-07 15:21:28 +02:00
leo
b1457fe39d
feature: supports filter submodules (#443) 2024-09-06 09:57:22 +08:00
leo
0e774ee035
ux: window caption button (#442) 2024-09-04 15:54:12 +08:00
leo
998230edff
code_style: simplify static commands used by styles and main menu; run dotnet format 2024-09-02 20:27:12 +08:00
leo
e27d2d6a3f
enhance: change default search commit method to Message 2024-09-02 19:51:42 +08:00
leo
b85c2a1754
ux: re-arrange context menu items of RepositoryNode in welcome page 2024-09-02 17:44:02 +08:00
leo
72fbab3b2e
ux: new icon for Move to Anthor Group 2024-09-02 17:33:00 +08:00
leo
dffd9d7676
feature: add context menu item to move repository node (#437) 2024-09-02 17:05:43 +08:00
leo
837e3889b7
ux: column width in histories (#438) 2024-09-02 15:28:30 +08:00
leo
fe7972684c
ux: change the icon for Check refs that contains this commit button 2024-09-02 14:44:42 +08:00
leo
de86890012
ux: make it easier to change the width of column AUTHOR 2024-09-02 14:34:51 +08:00
leo
931831431b
enhance: reduce the times calling Save() (#436) 2024-09-02 14:14:52 +08:00
leo
9fe8ffcea9
code_review: PR #436
It's ok to call `Save()` multiple times after property of `ViewModels.Preference` changed immediately. If we delay the saving operation 3 seconds after the property changed event, we reduce the times calling `Save`, but the issue metioned in #436 may still exists.
2024-09-02 12:20:11 +08:00
Gadfly
c85293c86a
enhance: support save RepositoryNode changes instantly 2024-09-02 12:05:24 +08:00
Gadfly
28b6ce4993
enhance: save preference.json instantly 2024-09-02 10:51:48 +08:00
leo
a2c6afc5cc
enhance: add file histories context menu item for staged changes and deleted files (#432) 2024-09-02 09:41:00 +08:00
leo
b0b55c989a
Merge pull request #433 from ChiahongHong/traditional-chinese
Update Traditional Chinese translation
2024-09-02 09:28:32 +08:00
leo
eca37e8d70
fix: crash when drag & drop on macOS 2024-09-02 09:26:06 +08:00
leo
f586979ac5
fix: crash when scan repositories under default clone dir (#434) 2024-09-02 07:54:46 +08:00
Chiahong Hong
595e243ab9
localization: update zh_TW.axaml 2024-09-01 22:10:54 +08:00
leo
e4f95745ce
fix: IsCloseButtonOnly is not work on Windows (#431) 2024-09-01 17:01:24 +08:00
leo
e19d025572
code_review: PR #431
* move resources and styles for macOS caption button to `CaptionButtonsMacOS` because it is never used by others and should not been changed
* add `IsCloseButtonOnly` property to `CaptionButtons` and `CaptionButtonsMacOS` and replace the controls in windows
2024-09-01 16:54:20 +08:00
Chiahong Hong
2b056ee644
ux: improve macOS window control button colors for a more native look 2024-09-01 13:47:13 +08:00
leo
ef9396bf57
code_review: PR #428
* remove unused namespace using
* remove the duplicated menu seperator between `Open in Merge Tool` and `Reveal in File Explorer`
* keep the same menu item orders both in changes and revision files
2024-08-30 21:38:43 +08:00
Yitzchak Ben-Ezra
8c9e8e5dbc Reset to Parent Revision
* support reset to parent revision for Added files too
* support reset to parent revision in Files tab
* support reset to parent revision in Changes - now supports Renamings too

now it behaves more like git-extensions
2024-08-30 15:42:24 +03:00
leo
089f24b0d2
fix: can not create subgroups (#427) 2024-08-30 16:59:51 +08:00
leo
bb749f225d
enhance: auto create group by relative path when scanning repositories under default clone dir (#427) 2024-08-30 16:45:45 +08:00
leo
0d676fa3fb
feature: add a button to scan repositories under default clone dir (#427) 2024-08-30 16:14:10 +08:00
leo
aab14784fc
project: upgrade TextMateSharp to 1.0.63 2024-08-29 20:56:07 +08:00
leo
1f4bf92642
ux: remove margins for column 'AUTHOR' in histories view 2024-08-29 15:02:06 +08:00
leo
93304a39d2
localization: mistake 2024-08-29 11:25:33 +08:00
leo
4dadf7afb6
ux: style for branch tree node 2024-08-29 11:20:44 +08:00
leo
d794a61196
enhance: remember the width of author name column in histories view (#425) 2024-08-29 10:17:22 +08:00
leo
c22ba75780
enhance: supports using Delete or Backspace to discard selected changes (#423) 2024-08-29 10:10:28 +08:00
leo
9c40b76577 code_style: use the same syntax to specify platform dependent text 2024-08-28 22:07:26 +08:00
leo
987152869c code_review: PR #422
* add unstage/stage button tooltip for hotkeys
* add description for new hotkeys in `Keyboard Shortcuts Reference` window
2024-08-28 22:00:18 +08:00
Hannes Braun
bb54c14566 Add Enter as keybinding for staging/unstaging 2024-08-28 15:17:07 +02:00
leo
a573436b67
feature: add supports for .webp image format (#421) 2024-08-28 18:58:01 +08:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers 2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year (#414) 2024-08-28 18:16:57 +08:00
leo
c90abd0ca2
refactor: commit search
* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
2024-08-28 16:56:43 +08:00
leo
48e1de809b
ux: style for commit info row in histories view 2024-08-28 14:38:06 +08:00
leo
3ea80d99f1
code_style: remove unused namespace using and run dotnet format 2024-08-28 13:42:25 +08:00
leo
4bcdd0ade4
fix: commit graph clip bounds 2024-08-28 13:36:09 +08:00
leo
45212ebc28
refactor: rewrite Views.CommitGraph.Render 2024-08-28 13:26:46 +08:00
leo
ddcab64940
enhance: do NOT redraw commit graph if vertical scroll of commit list not changed 2024-08-28 13:19:44 +08:00
leo
ce2340456e
feature: cherry-pick multiple commits (#418) 2024-08-28 11:26:00 +08:00
leo
b2bbbb191c
fix: copy multiple commits info not working anymore 2024-08-28 10:17:12 +08:00
leo
9f9cea34f8
Merge pull request #420 from hannesbraun/foot-support
Add support for foot
2024-08-28 10:11:55 +08:00
leo
d908198214
Merge pull request #419 from NilsPvR/develop
Fix and add DE localization keys
2024-08-28 10:06:46 +08:00
leo
bd6228bb26
refactor: using ListBox instead of DataGrid for commit list and remove dependency of Avalonia.Controls.DataGrid 2024-08-28 10:02:14 +08:00
Hannes Braun
3b44616aba Add support for foot
foot is a terminal emulator for Wayland.
2024-08-28 01:05:08 +02:00
NilsPvR
9337b2bead localization: enhance "OnlyUseMonoFontInEditor" 2024-08-27 22:20:29 +02:00
NilsPvR
a5dad23ad9 localization: add DE keys for new features
- SquashCommitsSinceThis was added in 184c89e and updated in 6b90a11
- FileContent and FileChange were added in db8de81
- CopyAllText was added in 7a2722e
2024-08-27 22:09:53 +02:00
NilsPvR
31ac1c832f localization: fix incorrect key updated for DE in:
184c89ea1d
2024-08-27 21:56:35 +02:00
leo
7776cda475
enhance: using lightweight ListBox instead of DataGrid to improve performance 2024-08-27 21:28:48 +08:00
leo
1f07c1bdf0
ux: force enable horizontal stretch for commit message (#400) 2024-08-27 16:40:46 +08:00
leo
64943044aa
ux: new style for Flyout 2024-08-27 16:28:20 +08:00
leo
b16d267c9b
enhance: show git errors when failed to get the repository root dir of given path (#397) 2024-08-27 15:35:10 +08:00
Gadfly
208dd9a5e0
enhance: make HEAD commit badge highlight 2024-08-27 14:54:28 +08:00
leo
959805d63c
feature: auto scrolling while seleting text in commit message (#394) 2024-08-27 14:47:20 +08:00
leo
551ea883ff
code_style: remove unnecessary call 2024-08-27 14:15:20 +08:00
leo
e0b09d4dd4
feature: using TextBlock instead of SelectableTextBlock for commit SHA and add a button to copy it 2024-08-27 12:20:36 +08:00
Gadfly
5e02b08d48
fix: avoid crash when closing a repo which is deleted in file system 2024-08-27 10:51:15 +08:00
Gadfly
80559ce199
fix: try-catch OpenFolderPickerAsync to avoid crash when select a directory is NOT exist 2024-08-27 10:40:49 +08:00
leo
492f22fcfa
enhance: add inlines once time and mark text layout dirty (#400) 2024-08-26 21:46:43 +08:00
leo
27a68f0d4d
enhance: add inlines once time and mark text layout dirty (#400) 2024-08-26 21:41:48 +08:00