Sina Hinderks
fe54d30b70
refactor: collecting inlines for subjects ( #1402 )
...
Instead of checking intersections of inline elements yourself before adding an inline element, the new class `InlineElementCollector` prevents intersections internally.
Additionally the inline elements are sorted by the new class, so it's no longer necessary to do this after adding the inline elements.
2025-06-08 08:47:03 +08:00
leo
ac55bed812
enhance: revision file viewer
...
- show current file path
- add a toggle button to use global syntax highlighting setting (sometimes TextMateSharp will crash this app)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-06 10:07:58 +08:00
leo
f003f67129
fix: should use file.SHA
instead of _commit.SHA
to query submodule's commit
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Signed-off-by: leo <longshuang@msn.cn>
2025-06-05 21:54:09 +08:00
leo
a023a9259b
refactor: rewrite lfs pointer detection and image loading
...
Signed-off-by: leo <longshuang@msn.cn>
2025-06-05 21:06:31 +08:00
leo
c2187edbe9
fix: running git command in UIThread
via context menu entry blocks whole app ( #1384 )
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Localization Check / localization-check (push) Has been cancelled
Signed-off-by: leo <longshuang@msn.cn>
2025-06-03 23:36:15 +08:00
leo
bc5deac9fe
fix: OpenFolderPickerAsync
raise exception when selected a drive root such as E:\
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-30 17:12:56 +08:00
Göran W
4363b8b6aa
refactor: add new constant Models.Commit.EmptyTreeSHA1
( #1360 )
2025-05-24 19:23:28 +08:00
leo
75b7724d44
refactor: implement IDisposable
instead of calling custom Cleanup
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-20 17:24:00 +08:00
leo
eb183589f5
enhance: prevent requesting revision files more than once time
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-20 16:32:57 +08:00
leo
0f6c8976af
refactor: rewrite checkout/create branch with submodules
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 18:12:30 +08:00
leo
6cf1b20ea6
refactor: context menu for commit change and revision file
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 14:11:15 +08:00
leo
b9dc5a8164
feature: parse url in commit message ( #1133 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-29 18:08:35 +08:00
leo
8c4362a98d
feature: subject presenter supports inline codeblock
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-25 13:24:13 +08:00
leo
06d033464d
code_style: move commit link parser to Models.CommitLink.Get
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-21 17:27:07 +08:00
leo
750ca8ec61
refactor: use custom view locator to create new window/dialog ( #1216 )
...
Signed-off-by: leo <longshuang@msn.cn>
(cherry picked from commit 3e6f2b25f15b263e2b84922abc5cf6d621d62a83)
2025-04-21 15:32:21 +08:00
leo
75b4a4b294
enhance: record more git command logs
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-18 11:29:59 +08:00
leo
276d000bcf
refactor: change Copy File Name
to Copy Full Path
for selected file or change ( #1132 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-28 18:01:53 +08:00
leo
bb2284c4c9
refactor: re-write commit searching (part 3)
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 11:53:24 +08:00
leo
471452646b
refactor: use System.Threading.CancellationToken
instead of SourceGit.Commands.Command.CancelToken
to cancel fetching information of selected commit
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-11 16:53:51 +08:00
leo
df6cbcaa28
fix: app crashed after enable Show children in the commit details
( #1072 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 11:33:38 +08:00
leo
81bbe11345
code_style: rename some variables in ParseLinksInMessage
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-05 17:06:45 +08:00
leo
5e898a809e
enhance: check commit hash after intersect testing
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-05 09:30:55 +08:00
leo
e884f27f67
code_style: re-order CommitDetail
properties
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-04 18:02:29 +08:00
leo
b75676a7f8
refactor: commit message
...
- move issue tracker and commit hash links parsing to view models
- parsing links async
- make sure matched hash is a valid commit oid
- disable `CHILDREN` row in submodule info panel
Signed-off-by: leo <longshuang@msn.cn>
2025-03-04 16:04:19 +08:00
leo
61d7f36be4
enhance: reset diff view context for empty commit
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-27 10:59:00 +08:00
leo
c6747f72f9
feature: auto-select first change in commit details panel and revision/branch compare panel ( #1019 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-25 10:53:42 +08:00
leo
766b60d05e
enhance: disable unused context menus for bare
repository ( #899 )
2025-01-14 17:53:26 +08:00
wl2776
6e5626f267
fix: several typos in source code ( #895 )
2025-01-13 10:11:28 +08:00
leo
962055dd2a
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2024-12-08 21:51:33 +08:00
leo
ca29a232e4
enhance: call gc after viewing commit changed
2024-12-03 10:44:27 +08:00
leo
d1a1b4b2b9
enhance: do NOT show search suggestion if input string is empty ( #775 )
2024-12-02 21:51:05 +08:00
leo
894f3e9b03
feature: supports searching revision files ( #775 )
2024-12-02 21:44:15 +08:00
leo
1c0d8a2697
fix: git rev-list
do not support --decorate-refs-exclude
( #746 )
...
Do not use histories filters to query commit children
2024-11-27 17:06:44 +08:00
leo
8342702103
feature: add save as path menu item for commit change ( #724 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-21 10:19:00 +08:00
leo
ab2156bfc2
code_review: PR #710
...
* SourceGit.Commands.* should not reference SourceGit.ViewModels.*
* remove unused namespace using
* update translations for zh_CN and zh_TW
* use WrapPanel instead of inner ScrollViewer
* some other UI/UX changes
Signed-off-by: leo <longshuang@msn.cn>
2024-11-20 09:42:48 +08:00
Dmitrij D. Czarkoff
cc5bb5f6d4
Show the list of children in the commit details ( #710 )
...
* feature: add children list to the commit base info view
Useful for navigation between the commits.
* feature: use repository filters to limit children search
* feature: execute children search asynchronously
* feature: respect global commit limit for a good measure
* fix: input lines may contain several commits
The first commit is always the immediate child, so take only 40 initial characters of the line
* fix: hide children behind the preference
* feature: make parents and children scrollable
2024-11-20 09:17:36 +08:00
Dmitrij D. Czarkoff
5301645f8b
fix: in commit view get file histories by commit ( #708 )
...
When file histories are accessed from the commit details view, run git log for the inspected commit. Previously the log was ran against current branch regardless whether the inspected commit belongs to that branch.
2024-11-17 11:14:56 +08:00
leo
6e4f971733
feature: show tooltip of parent commit when hover the parent SHA
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-12 17:59:50 +08:00
leo
503f700fc2
refactor: open selected revision file ( #681 )
...
* Instead of opening the file from current worktree, save the selected revision file to the temp dir and the open it with default editor
* Do NOT set the `IsEnable` property, since the revision file is always available
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 20:24:17 +08:00
leo
050b1d1188
enhance: supports issue link in keywords ( #678 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 12:16:29 +08:00
leo
82320f3494
revert: PR #673
...
* the `Commands.QueryCommitChildren` takes too much time when executes in a large repo
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 10:26:34 +08:00
leo
67cf23267a
feature: supports open selected revision file with default editor ( #674 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 09:37:42 +08:00
Dmitrij D. Czarkoff
03f96cc9f8
feature: add children list to the commit base info view ( #673 )
2024-11-11 09:24:49 +08:00
leo
8de37720fa
code_style: remove Rider warnings
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-10 13:19:25 +08:00
leo
daba8e5064
code_review: PR #672
...
* use formatted string instead of `CommitUrlTitle`
Signed-off-by: leo <longshuang@msn.cn>
2024-11-10 13:19:05 +08:00
Dmitrij D. Czarkoff
bbfc94d624
enhance: several commit links improvements ( #672 )
...
* Codeberge (https://codeberg.org/ )
* Gitea (https://gitea.org/ )
* sourcehut (https://git.sr.ht/ )
2024-11-10 12:56:08 +08:00
leo
1adcf4dd80
enhance: do NOT query gpg.ssh.allowedSignersFile
every time while getting commit's signing status
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-30 10:10:17 +08:00
leo
279b1819a3
feature: show commit gpg sign status ( #614 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-29 21:03:45 +08:00
leo
130c98ad40
feature: supports search commit only in current branch
2024-09-27 11:17:02 +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