Commit Graph

75 Commits

Author SHA1 Message Date
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
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
d6b21bad17 feature: now image file previewer shows the image size and file size 2024-09-14 16:13:40 +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
a2c6afc5cc enhance: add file histories context menu item for staged changes and deleted files (#432) 2024-09-02 09:41:00 +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
a573436b67 feature: add supports for .webp image format (#421) 2024-08-28 18:58:01 +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
6ab0900b20 feature: add a button to see which branches and tags that contains selected commit (#388) 2024-08-23 16:52:55 +08:00
leo
24dde77548 refactor: rewrite SourceGit.App 2024-08-19 12:49:29 +08:00
leo
84b8735d6c code_style: run dotnet format 2024-08-18 23:14:44 +08:00
leo
6ac7ff2882 feature: add context menu item to checkout file with revision 2024-08-16 14:49:26 +08:00
leo
f71cd237cb enhance: disable reset file to parent revision when it has been renamed
* new icon for checkout file
2024-08-16 11:55:36 +08:00
leo
addbb19728 feature: add context menu items to revision changes to reset (checkout) selected file to this revision or to it's first parent file version (#359) 2024-08-15 22:13:20 +08:00
leo
eaad685d06 fix: typo 2024-08-15 10:43:38 +08:00
leo
bf6ac4d20d refactor: rewrite commit web link
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
abdf9d7e75 refactor: rewrite commit web links 2024-08-13 19:30:10 +08:00
leo
34a598d421 feature: add commit web links (#357) 2024-08-13 17:15:17 +08:00
leo
6bd0920d71 feature: enable syntax highlighting in revision files view (#333) 2024-08-08 10:12:39 +08:00
leo
dfd098e131 refactor: merge sourcegit.issuetracker.setting to sourcegit.settings. 2024-08-05 18:18:57 +08:00
leo
f754b2c63a feature: supports issue tracker in commit message (#315) 2024-08-05 17:34:49 +08:00
leo
efa02d9e96 ux: remove unnecessary controls 2024-07-29 15:07:41 +08:00
leo
684fedb9bd ux: icons 2024-07-15 15:47:28 +08:00
leo
f4eca45754 code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
de1a4d14e8 enhance: disable blame on submodules 2024-07-01 13:45:48 +08:00
leo
0da30b6b89 enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
leo
7f389b2e6f refactor: move settings of repository, such as filters, commit message, from Preference to each repository's gitdir.
* avoid invalid repository setting remains in preference.json
* supports to restore tabs that not added to the Welcome page
2024-07-01 11:57:13 +08:00
leo
a168b05ac6 ux: re-design submodule preview in revision files 2024-06-19 14:24:49 +08:00