Commit Graph

5195 Commits

Author SHA1 Message Date
leo
b42464163a feature: supports to view details changes of submodule (only if this submodule is initialized and not available for new/delete submodule change) (#2264)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 20:14:58 +08:00
leo
5a838ec8f2 ux: copied icon change duration
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 16:17:27 +08:00
leo
1ca4145e00 fix: infinite-loop occurs when interactive rebasing with multiple fixup!/squash! commits target a single commit (#2261)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 16:06:39 +08:00
leo
4940714f2f code_style: refine diff result parsing
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 15:48:16 +08:00
Shun-ichi Goto
c5eb024043 feature: allow partial stage/unstage/discard for non-UTF8 text in diff view (#2260)
Current implementation fails on partial stage/unstage/discard operations for
non-UTF8 text because of applying a patch made with broken (replaced) text.
This modification allows these operation by preserving the original raw bytes
from the output of `git diff`, and use it to create patch file.
2026-04-14 14:45:37 +08:00
leo
0d5185b13d feature: reorder squash commits to its right position when loading commits for interactive rebase (#588)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 13:57:06 +08:00
leo
e6ba0534dc feature: reorder fixup commits to its right position when loading commits for interactive rebase (#588)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-14 11:14:03 +08:00
leo
68a409c0ac enhance: when cloning remote repo or opening local repo, the Group is No Group (Uncategorized) by default (#2258)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 18:14:08 +08:00
leo
b7796f19ef feature: show a checked icon when sha was copied
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 18:04:08 +08:00
leo
c4c75c32c7 revert: use blank User-Agent header when communicating with open-ai compatible service
This reverts commit 26ab0a7529.

Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 17:28:55 +08:00
github-actions[bot]
f8e8dcab56 doc: Update translation status and sort locale files 2026-04-13 07:43:11 +00:00
leo
6f58f479c2 feature: add hotkey Ctrl+Shift+O/⌘+⇧+O to open local repository (#2256)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 15:42:49 +08:00
github-actions[bot]
6eaf636b23 doc: Update translation status and sort locale files 2026-04-13 07:20:39 +00:00
leo
d6f45cca7d fix: bad condition to check if auto-fetch is enabled (#2257)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 15:17:43 +08:00
leo
c1a5e986bf refactor: rewrite Open Local Repository feature
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 15:16:22 +08:00
leo
3db91ed5ae feature: supports to choose group and bookmark when cloning remote repository
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 14:14:18 +08:00
leo
52b51ffb16 enhance: AI-based commit message generator (#2255)
- Make `AI Assistant` window resizable
- Make `AI Assistant` window non-modal dialog
- Clean up code

Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 11:20:42 +08:00
leo
f726d9f085 Merge branch 'master' into develop 2026-04-13 10:43:20 +08:00
leo
7b5ef8c867 Merge branch 'release/v2026.08' v2026.08 2026-04-13 10:42:30 +08:00
leo
a46e752ef9 version: Release 2026.08
Signed-off-by: leo <longshuang@msn.cn>
2026-04-13 10:42:20 +08:00
leo
13e2597168 enhance: avoid pre-edit text box being clipped
Signed-off-by: leo <longshuang@msn.cn>
2026-04-09 16:33:44 +08:00
leo
bfdd73d2fd feature: auto-fetch now is a global setting instead of per-repo setting (#2050)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-09 14:16:08 +08:00
leo
42734b90a2 fix: staged files do not update after committing with --amend enabled successfully (#2253)
This issue is introduced by commit 26fc29bce6. And the right way to fix this issue is to force `Command.Commit` finish in UI thread.

Signed-off-by: leo <longshuang@msn.cn>
2026-04-09 11:36:30 +08:00
Shun-ichi Goto
a3c0b225d5 feature: better word division for highlighting (#2251)
Each line is divided into several chunks to highlight the changes.

The previous implementation splits text at a fixed set of delimiter
characters (spaces, tabs, and common ASCII symbols such as `+-*/=!,;`).
Non-delimiter characters — including CJK ideographs, Hiragana, and
Katakana — are never treated as boundaries, so they tend to form large,
coarse chunks in languages like Japanese or Chinese that do not use
spaces to separate words. A small change within such text causes the
entire surrounding phrase to be highlighted.

This new implementation classifies each character into one of three
categories and groups consecutive characters of the same category into
one chunk, except for the Other category which is always split
character by character:

- Letter (Unicode Ll/Lu/Lt/Lm + digits): ASCII letters, digits, and
  letters with diacritics such as é, ü, ß, ñ, ё. Consecutive Letter
  characters form one chunk, keeping European words intact.
- OtherLetter (Unicode Lo): CJK, Hiragana, Katakana, Hangul, Thai,
  Arabic, Hebrew, etc. Consecutive OtherLetter characters form one
  chunk. CJK punctuation (。、「」…) falls into the Other category
  and therefore acts as a natural boundary between chunks.
- Other (default): whitespace, control characters, punctuation, and
  symbols. This category corresponds to the delimiter characters of
  the previous implementation. Each character is always its own chunk,
  preserving the same per-character precision as before for operators,
  spaces, and punctuation.

Category values for all 65,536 char values are pre-computed into a
static read-only array at startup for lock-free O(1) lookup.
2026-04-08 14:46:10 +08:00
leo
6fc741c3bb doc: update third-party readme
Signed-off-by: leo <longshuang@msn.cn>
2026-04-08 14:29:35 +08:00
heartacker
63e13a59e1 build: update packages (CommunityToolkit.Mvvm, OpenAI, LiveChartsCore) (#2242) 2026-04-08 14:27:59 +08:00
leo
2581f24b7b code_style: remove unused namespace using
Signed-off-by: leo <longshuang@msn.cn>
2026-04-08 14:19:28 +08:00
leo
255138f20f refactor: use DirectoryInfo to get absolute path of repository (#2246)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-08 10:27:36 +08:00
Shun-ichi Goto
03bfa29c82 feature: allow editing of repository name via tab context menu (#2250)
* feature: allow editing of repository name via context menu of repository tab

Now we can edit tab name while seeing repository view.
This is a same feature of 'Edit' action for repository path in welcome view.
Add text resource "Text.PageTabBar.Tab.Edit" and  its translations are copied
from "Text.Welcome.Edit".

Note: The feature of changing bookmark is duplicated in a sub menu and
the edit dialog.

* refactor: remove duplicated menu action 'Bookmark'

Remove the 'Bookmark' sub-menu action because 'Edit'  action contains it.
The text resource "PageTabBar.Tab.Bookmark" and its translations are also removed.
2026-04-08 10:19:41 +08:00
github-actions[bot]
d2aa9660bd doc: Update translation status and sort locale files 2026-04-07 05:57:00 +00:00
Javier J. Martínez M.
834cc0c56f localization: update Spanish translation (#2244)
+ Add missing strings.
2026-04-07 13:56:49 +08:00
leo
f8b91ecaca enhance: use string.Equals instead of operator ==
Signed-off-by: leo <longshuang@msn.cn>
2026-04-07 10:53:39 +08:00
leo
3bf2da28d0 enhance: auto-select the new HEAD after reword (#2236)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-07 10:42:06 +08:00
github-actions[bot]
488e64d22d doc: Update translation status and sort locale files 2026-04-07 02:29:03 +00:00
AquariusStar
ba997edb32 localization: update Russian translate (#2240) 2026-04-07 10:28:54 +08:00
leo
9dd1914e62 refactor: move some codes from App to Views.ControlExtensions
Signed-off-by: leo <longshuang@msn.cn>
2026-04-03 16:10:55 +08:00
leo
68831b22dc refactor: notifications
- Modal dialog must display error message on top of its self
- Commands should only depends on Models and Native

Signed-off-by: leo <longshuang@msn.cn>
2026-04-03 12:35:02 +08:00
leo
9e0ba44fcb fix: remote's visit url must remove the account info part (#2235)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-02 18:56:02 +08:00
leo
b81c67c911 localization: apply selected datetime format in About dialog (#2223)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-02 17:41:44 +08:00
leo
8ec1527fe6 ux: keybindings for BranchSelector
Signed-off-by: leo <longshuang@msn.cn>
2026-04-02 15:06:02 +08:00
leo
26ab0a7529 refactor: use blank User-Agent header when communicating with open-ai compatible service (#2216)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-02 10:35:49 +08:00
leo
6792614f20 project: upgrade AvaloniaEdit
Signed-off-by: leo <longshuang@msn.cn>
2026-04-01 17:54:11 +08:00
leo
43827a5106 fix: duplicated repo may be added when scanning repositories on case-insensitive platforms (#2230)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-01 14:22:30 +08:00
github-actions[bot]
a05e7975e8 doc: Update translation status and sort locale files 2026-04-01 03:28:28 +00:00
leo
e684d71302 refactor: dynamic loading and choosing AI model in assistant dialog (#2228)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-01 11:28:10 +08:00
leo
7ca1c5539a feature: allow Doubao detecting selection in commit message box on Windows
Signed-off-by: leo <longshuang@msn.cn>
2026-03-31 18:09:00 +08:00
leo
bc6d837c5c ux: simplify data template for branch name in BranchSelector
Signed-off-by: leo <longshuang@msn.cn>
2026-03-31 14:30:02 +08:00
leo
58e3130a40 ux: makes BranchSelector looks like normal ComboBox
Signed-off-by: leo <longshuang@msn.cn>
2026-03-31 14:21:59 +08:00
leo
4dd2847d35 feature: use custom BranchSelector instead of ComboBox to select remote branches with searching enabled (#2217)
Signed-off-by: leo <longshuang@msn.cn>
2026-03-31 13:15:31 +08:00
github-actions[bot]
1f1cd2fbf3 doc: Update translation status and sort locale files 2026-03-30 07:02:42 +00:00