Commit Graph

4347 Commits

Author SHA1 Message Date
github-actions[bot]
46e8e922cd doc: Update translation status and sort locale files 2025-08-25 09:19:02 +00:00
leo
b00bf2a0ec feature: supports to read OpenAI API key from env (#1748)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 17:18:21 +08:00
github-actions[bot]
2f61f06ca2 doc: Update translation status and sort locale files 2025-08-25 07:51:08 +00:00
leo
c631c2d1a4 feature: auto-sanitize branch/tag name (#1753)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 15:50:13 +08:00
leo
39a49c4263 ux: use WrapPanel instead of VirtualizingStackPanel for history filters (#1712)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 14:39:11 +08:00
leo
14adc2361a enhance: warn users if they are using vimdiff or nvimdiff as external merge/diff tool (#1742)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 12:39:01 +08:00
github-actions[bot]
b135d590de doc: Update translation status and sort locale files 2025-08-25 03:34:41 +00:00
leo
b07e2c2f5f feature: add a new button Paste (Replace all) to paste commit message from clipboard (#1169)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 11:34:04 +08:00
leo
cbe2d4a2e1 Merge branch 'master' into develop 2025-08-25 10:02:31 +08:00
leo
6d28822087 Merge branch 'release/v2025.32' v2025.32 2025-08-25 10:01:42 +08:00
leo
3a1e86790d version: Release 2025.32
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 10:01:34 +08:00
Göran W
a916403618 enhance: make NumericSort use InvariantCulture instead of Ordinal comparison (#1724)
Ordinal comparison sorts non-alphanumeric chars (like underscore etc) differently than expected (i.e compared to filesystem sorting etc).
InvariantCulture comparison corrects this, without imposing cultural differences. (A possible alternative would be CurrentCulture comparison.)
The earlier code, when comparing a single digit-char against non-digit-char, used char.CompareTo() where the comparison method can not be specified.
To fix this, we now use the same Comparer for all non-all-digits string comparisons.
2025-08-25 09:59:28 +08:00
leo
291e32e36f enhance: cancel the running event when a new same refresh event occurs (#1760)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-24 11:10:53 +08:00
github-actions[bot]
d72e26adb5 doc: Update translation status and sort locale files 2025-08-23 07:30:12 +00:00
AquariusStar
f1c2a19539 localization: update Russian translation (#1759) 2025-08-23 15:29:58 +08:00
leo
19ce2d0bbd refactor: simplify BlockNavigation.UpdateByCaretPosition
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:41:08 +08:00
leo
c72a151825 ux: use fixed width for commit history context menu
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:11:21 +08:00
leo
dbedf4bc7b feature: support to open selected file with default editor in CHANGES tab (#1750)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:04:36 +08:00
github-actions[bot]
85c49b75cd doc: Update translation status and sort locale files 2025-08-22 07:57:54 +00:00
leo
63096ebd55 code_review: PR #1756
- Keep translation keys in order
- Add missing translations for zh_CN and en_US
- Rename `WorkingCopy.ClearCommitMessageHistory` to `WorkingCopy.ClearCommitMessageHistoryAsync`
- It's not necessary to use `Dispatcher.UI.Invoke` in event callback

Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 15:57:28 +08:00
ギャップ
c40296946d feat: add clear history button to commit message template/history dropdown (#1756)
* feat: add clear history button to commit message template/history dropdown

- Added ClearCommitMessageHistory method to WorkingCopy ViewModel with user confirmation
- Added "Clear History" menu item to commit message picker dropdown
- Implemented thread-safe collection clearing using Dispatcher.UIThread.Invoke
- Added localization support for clear history button and confirmation dialog
- Follows existing codebase patterns for destructive operations with async/await

* fix: dotnet format
2025-08-22 15:44:38 +08:00
leo
e2cd5bac7b project: upgrade Azure.AI.OpenAI to version 2.3.0-beta.1 (#1755)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 13:19:41 +08:00
github-actions[bot]
af760b2a0e doc: Update translation status and sort locale files 2025-08-22 04:30:12 +00:00
Leonardo
c0b1174979 localization: new keys translated to italian (#1754)
(cherry picked from commit 728ba4194042506a61527385f1c9af7acac7c303)
2025-08-22 12:29:47 +08:00
leo
93a2edd8a8 enhance: text search in ComboBox
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 10:02:47 +08:00
leo
a2f47dfcac code_style: remove warnings reported by JetBrains Rider
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 23:38:24 +08:00
leo
3f3eaa414f refactor: remove unnecessary converter
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 22:31:54 +08:00
github-actions[bot]
bd7c2fb40b doc: Update translation status and sort locale files 2025-08-21 02:42:39 +00:00
leo
8ac5896280 refactor: text diff navigation
- Remove navigation by prev/next change of first/last visible block. Always use Block-Navigation
- Remove auto-updating current actived block on text view scrolling
- Auto update current active block when caret position changed
- Clean up unused resources

Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 10:42:16 +08:00
leo
2da8a1d6bf fix: toggle Ignore All Whitespace Changes does not work when there is only whitespace changes (#1752)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 09:16:23 +08:00
github-actions[bot]
7e415d45f8 doc: Update translation status and sort locale files 2025-08-20 12:19:36 +00:00
leo
13d5c5fc6d feature: add a configuration in Preferences window to open LOCAL CHANGES pages by default (#1750)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 20:19:07 +08:00
leo
20117a399b refactor: re-write the way to manually update repository immediately (#1720)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 19:38:14 +08:00
leo
898528fc92 fix: unable to save selected staged changes to patch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 14:25:44 +08:00
aikawayataro
b166053de4 build: use _topdir macro instead of hardcoded relative path (#1749) 2025-08-20 13:59:57 +08:00
github-actions[bot]
add48c1933 doc: Update translation status and sort locale files 2025-08-19 11:45:20 +00:00
leo
065ec2a909 feature: add option to turn off auto-updating current block while scrolling in diff view with Block-Navigation enabled
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 19:44:40 +08:00
leo
d3610d57c8 ux: change MaxWidth of ContextMenu to 1024
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 16:41:19 +08:00
leo
6426c57c8c code_style: fix format check
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 16:00:20 +08:00
leo
6511d15c01 refactor: rewrite text diff view
- Move some data-only code from `Views` to `ViewModels`
- Remove unnecessary attributes
- This commit also contains a feature request #1722

Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 15:53:03 +08:00
leo
5c33198fc7 enhance: remove unnecessary code for moving window on macOS
This has been fix in`AvaloniaUI`. See https://github.com/AvaloniaUI/Avalonia/pull/19447

Signed-off-by: leo <longshuang@msn.cn>
2025-08-18 11:53:58 +08:00
leo
39090791de Merge branch 'master' into develop 2025-08-18 10:54:24 +08:00
leo
32eb7fba06 Merge branch 'release/v2025.31' v2025.31 2025-08-18 10:52:57 +08:00
leo
6f7c695058 version: Release 2025.31
Signed-off-by: leo <longshuang@msn.cn>
2025-08-18 10:52:46 +08:00
leo
0526ce2777 project: upgrade AvaloniaUI to 11.3.4
Signed-off-by: leo <longshuang@msn.cn>
2025-08-18 10:50:18 +08:00
Sina Hinderks
79cf73e8af fix: Open Terminal on Welcome Page crashed (Windows) (#1740)
Trying to open the Windows Terminal on the Welcome Page crashed with a
`NullReferenceException`.  The code for Windows after the fix is similar
to the corresponding code for Linux.
2025-08-18 10:36:17 +08:00
Sina Hinderks
8a0c2f11ef localization: fix typos in German translations (#1739) 2025-08-18 10:34:10 +08:00
Sina Hinderks
5008bf6bff localization: fix typos for English translations (#1738)
`Friendly` and `delimiter` had typos.
2025-08-18 10:33:52 +08:00
github-actions[bot]
179ae26519 doc: Update translation status and sort locale files 2025-08-18 02:33:41 +00:00
Sina Hinderks
c363a783d2 localization: update German translations (#1737) 2025-08-18 10:33:32 +08:00