Commit Graph

5219 Commits

Author SHA1 Message Date
leo
770a9184ba code_style: remove unnecessary function call
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 18:32:23 +08:00
github-actions[bot]
92b010a6e1 doc: Update translation status and sort locale files 2026-04-17 10:22:34 +00:00
leo
fb708065ff feature: add String Formatter for TextBox in custom action (#2274)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 18:22:16 +08:00
leo
9144daeb6f code_style: remove unnecessary function call
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 17:27:37 +08:00
leo
8395efdd55 enhance: replace ${BRANCH} with current branch name if the custom action's scope is Repository (#2274)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 17:23:04 +08:00
github-actions[bot]
7b875d6005 doc: Update translation status and sort locale files 2026-04-17 08:33:06 +00:00
leo
dfe362f237 feature: add Local Branch Selector and Remote Branch Selector control type for custom actions (#2274)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 16:32:41 +08:00
github-actions[bot]
53cd847bb0 doc: Update translation status and sort locale files 2026-04-17 04:36:10 +00:00
leo
29cf5fc538 feature: add Hide Others app menu on macOS and correct the behaviour of Show All
Signed-off-by: leo <longshuang@msn.cn>
2026-04-17 12:35:45 +08:00
leo
5114c43dcd code_style: move App.FixFontFamilyNames to StringExtensions.FormatFontNames
Signed-off-by: leo <longshuang@msn.cn>
2026-04-16 14:41:47 +08:00
leo
3c747494a8 fix: app will crash when it is quiting from Dock (#2271)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-16 14:19:38 +08:00
leo
5a35c41517 fix: directly patch the final file when trying to stage/unstage/discard selected hunk with renamed/copied file (#2272)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-16 12:23:15 +08:00
leo
8bdba69cb4 refactor: rewrite the way to quit app
Signed-off-by: leo <longshuang@msn.cn>
2026-04-16 11:47:42 +08:00
leo
538001a72f fix: enable Set as tracking branch should be visible when push to a new branch (#2273)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-16 10:51:20 +08:00
github-actions[bot]
f5d5f63bdd doc: Update translation status and sort locale files 2026-04-15 11:23:35 +00:00
leo
6abdf32cf4 fix: remove --push option because it is not valid parameter for git-flow-next (#2269)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 19:23:14 +08:00
leo
460cc68995 enhance: do not show Git LFS submenu for submodules (#2264)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 19:10:03 +08:00
github-actions[bot]
27f5f5e27d doc: Update translation status and sort locale files 2026-04-15 09:47:56 +00:00
leo
07b9c7a1c2 feature: show uncommitted changes count for submodule (#2264)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 17:47:34 +08:00
leo
2ed3a79e7f refactor: move some code from App to Views.ControlExtensions
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 12:14:55 +08:00
leo
0bf4f92247 fix: fetch AI models in background to avoid main window waiting to show (#2267)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 11:00:06 +08:00
leo
5fd7551869 enhance: show the Submodule Change Details window on the same screen of it's parent (#2264)
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 10:36:54 +08:00
leo
cff6db8dc7 enhance: disable OPEN DETAILS button when one of submodule revision is lost
Signed-off-by: leo <longshuang@msn.cn>
2026-04-15 10:32:40 +08:00
github-actions[bot]
87768e9d98 doc: Update translation status and sort locale files 2026-04-14 12:15:24 +00:00
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