Commit graph

153 commits

Author SHA1 Message Date
leo
fdf95e39a7 fix: loading JetBrains Toolbox stage.json crash 2024-04-27 22:05:17 +08:00
leo
9a68418f51 Merge pull request #92 from ennerperez/feature/issues-77
code_review:

* use JsonSerializerContext to avoid AOT warnnings
* since we call TryAdd by interating the installed tools, so detecting by environment variable becomes meaningless (it can not detect tools not installed by Toolbox). Just add it into founded directly
* remove unnecessary type defines
* determine the Icon used by tool while adding it to the founded list.

# Conflicts:
#	src/Native/Linux.cs
#	src/Native/MacOS.cs
#	src/Native/Windows.cs
2024-04-27 21:13:21 +08:00
Enner Pérez
53beb3daac JetBrains Toolbox IDE detection 2024-04-27 02:12:03 -05:00
Enner Pérez
ad570eec3b Fallback Icon Implementation 2024-04-27 02:11:38 -05:00
leo
fd2160e56e feature: supports JetBrains Rider (#77) 2024-04-23 16:53:33 +08:00
leo
ab26bb83e9 refactor: re-design toolbar of Views.DiffView 2024-04-14 12:27:09 +08:00
Gadfly
a249eed1ac
feat: show git file mode change if exist 2024-04-12 21:38:36 +08:00
leo
217800c83a feature: support Meld as an external merge tool on Linux platform 2024-04-09 15:36:11 +08:00
leo
17fc7ab994 ux: add icons for external merge tools 2024-04-09 15:00:52 +08:00
leo
4882fd9d69 refactor: external tools and shells
* rename Models.ExternalMergeTools to Models.ExternalMerger
* supports Git Bash/PowerShell/Command Prompt/Default Shell in Windows Terminal
2024-04-09 10:41:37 +08:00
leo
4ac705f8ca feature: add powershell support for Windows 2024-04-08 17:39:52 +08:00
leo
b5b1f0cb8d refactor: add ExternalEditorFinder to detect supported external editors 2024-04-07 17:56:53 +08:00
leo
400d454478 enhance: a more adaptable regular expression for remote URLs (#61) 2024-04-06 18:11:49 +08:00
leo
1196fabfc1 feature: external editor supports Sublime Text 2024-04-06 15:31:13 +08:00
leo
d873f21b6a fix: crash when open external tool drop down menu 2024-04-06 15:01:07 +08:00
leo
111bf2966a refactor: rewrite external editor supports
* supported editors can be different on different platforms.
* display founded editors only
2024-04-06 13:14:22 +08:00
leo
0252887442 feature: external editor supports visual studio code insiders; add environment variable VSCODE_PATH and FLEET_PATH to help to find these editors. (#54) (#55) 2024-04-03 12:17:20 +08:00
leo
96d4150d26 project: reorganize the structure of the project.
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
18aaa0a143 style: add .editorconfig for code formatting. see issu #25 2024-03-18 09:37:06 +08:00
Enner Pérez
c0a079de41 Source Generated Regex 2024-03-16 04:09:27 -05:00
leo
f4b396596b feature: shows selected revision file size if it's a binary file 2024-03-14 11:59:56 +08:00
leo
f6eb1281b5 enhance: force using StringComparison.Ordinal 2024-03-14 11:09:05 +08:00
leo
a37c11e32f enhance: better sync scroll logic with two-side diff - if the width in each side is different 2024-03-12 16:14:22 +08:00
leo
213f04a57b fix: branch tree not restore last IsExpanded nodes. See issue #20
* Binding IsExpanded property of TreeViewItem with Models.BranchTreeNode
* Current local branch should never be collapsed
2024-03-09 20:58:44 +08:00
leo
a89760c7a5 refactor: change the way to refresh repository's data.
* mark dirty instead of calling refresh method directly
* force mark branches data dirty after remotes changed
2024-03-08 09:57:29 +08:00
leo
9e4d349b51 feature<TextDiffView>: implementation for stage/unstage/discard selected changes in file 2024-02-28 18:15:40 +08:00
leo
671e46f8b3 feature<TextDiffView>: supports line staging/unstaging in working copy diff view 2024-02-28 14:55:11 +08:00
leo
787fe4ad70 fix<Statistics>: month to index; fix using UTC time compare to local time 2024-02-26 09:29:22 +08:00
leo
68ddeb4cc5 refactor<Statistics>: use committer instead of author 2024-02-25 11:32:15 +08:00
leo
e070b79d2c feature<Statistics>: finish statistiscs 2024-02-23 19:16:28 +08:00
leo
49f6ad0407 feature<Avatar>: supports gravatar.com and cravatar.cn (for China) 2024-02-23 11:39:05 +08:00
leo
cf09ab463c feature<Linux>: try to support Linux 2024-02-22 12:26:09 +08:00
leo
1a27b1dfb1 feature<ExternalMergeTools>: add supported external merge tool for macOS 2024-02-19 16:05:00 +08:00
leo
98e65c0f11 fix<Repository>: filter not working 2024-02-06 17:52:16 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00
leo
4e40018a78 feature<Repository>: supports modify display name of repository 2024-01-17 11:02:08 +08:00
leo
0966baa1d8 rename<CrashInfo>: rename Models.Issue to Models.CrashInfo 2023-10-13 11:21:45 +08:00
leo
838e688a0c refactor<Exception>: add context to exception to filter exceptions; each page has it's own error display control 2023-10-13 11:16:03 +08:00
leo
918eb48663 optimize<*>: reduce repository loading time 2023-10-12 12:02:41 +08:00
leo
e17fbab4cf style<FileHistories>: new style for FileHistories 2023-10-11 11:14:26 +08:00
leo
217a382849 optimize<Sort>: remove sort repositories by name desc 2023-10-10 17:35:54 +08:00
leo
766f24f4b0 optimize<User>: reduce memory used by commit's author/committer data 2023-10-10 11:25:57 +08:00
leo
afe0220a46 fix<Bookmark>: bookmark changes will not be saved when there's no welcome page 2023-08-28 10:59:46 +08:00
leo
63a6ef256e feature<Preference>: supports for customizing max number of displayed history commits 2023-08-23 11:39:47 +08:00
leo
4d7b16dc75 fix<Repository>: fix filter not work when there's no files under .git/refs/xxx/ 2023-08-21 20:04:25 +08:00
leo
5d3088d520 feature<Welcome>: supports set bookmark of selected repository from context menu. 2023-08-21 17:49:49 +08:00
leo
476c23f9d2 style<*>: new dark theme 2022-10-26 10:02:22 +08:00
leo
e31a304cac feature<Welcome>: supports to sort repositories by bookmark color 2022-10-18 15:55:39 +08:00
leo
b76bc96ee7 optimize<Upgrade>: remove auto-upgrade feature 2022-10-18 15:30:24 +08:00
leo
d827c1fbe1 optimize<Preference>: remove avater server 2022-10-18 15:25:27 +08:00
leo
918263130c feature<Welcome>: add sort supports 2022-10-17 10:12:59 +08:00
leo
b43044a7bf style<Welcome,PageTabBar>: re-design the style for Welcome page 2022-10-14 20:38:53 +08:00
leo
814637946d fix<Histroies>: remove invalid filters to fix issue #I5RZC9 2022-09-20 16:55:24 +08:00
leo
a19f81a708 optimize<Dashboard>: ISSUE #3 Rebase merge request detected but there is no rebase in progress. 2022-07-07 09:25:41 +08:00
leo
e779d1b65e feature<Pull>: remember user's choice for Pull 2022-05-26 17:45:05 +08:00
leo
338f91357e optimize<*>: remove deprecated apis (older than .NET 6) 2022-05-20 16:00:25 +08:00
leo
171f1d1d0c optimize<*>: remove Windows Terminal settings because it can be set outside in Windows Terminal 2022-05-20 15:29:56 +08:00
leo
35235df7bc feature<WorkingCopy>: gitee issue #I54W26 - toggle untracked files in working copy changes 2022-05-05 09:58:10 +08:00
leo
2b9d07479d rename<FileHistories>: rename Views.Histories to Views.FileHistories 2022-01-12 18:43:21 +08:00
leo
1ad5ff1bd8 feature<Statistics>: add statistics for current year 2022-01-12 18:38:03 +08:00
leo
c52ed4a711 feature<Statistics>: add simple statistic page 2022-01-11 20:18:35 +08:00
leo
f04c01b878 feature<Window>: remember window state 2022-01-04 14:52:13 +08:00
leo
7fe48d9a88 refactor<*>: change all url of this repo from gitee.com to github.com 2021-11-15 14:26:55 +08:00
leo
18f176a66b refactor<Version>: check latest release from api.github.com instead 2021-11-15 14:23:45 +08:00
leo
b452456d9d feature<Issue>: always generate crash log file instead of report to gitee.com 2021-11-09 11:40:02 +08:00
leo
37ce2cdba6 optimize<Issue>: simplify crashreport logic while compiling with .NET 6 2021-10-28 16:00:28 +08:00
leo
3628729a93 feature<Project>: supports build with .NET 6 2021-10-28 15:47:47 +08:00
leo
e5996d0fe1 style<Preference>: new style of preference setting dialog 2021-10-13 11:19:45 +08:00
leo
7c44c0a840 optimize<CommitGraph>: remove unused polyline mode 2021-10-08 16:46:14 +08:00
leo
ade45732f2 optimize<TextCompare>: combine two modified parts those have one same unchanged character 2021-10-08 16:01:46 +08:00
leo
4456019968 feature<VSCode>: supports to open repository with Visual Studio Code 2021-09-13 14:22:25 +08:00
leo
717772c62b style<Welcome>: re-design layout for Welcome page 2021-09-13 11:47:54 +08:00
李通洲
ebc2fc6b91 feature<Preference>: query git version after selecting git path 2021-09-07 16:57:57 +08:00
李通洲
1a5fdc540c feature<Preference>: query git config after selecting git path 2021-09-07 16:57:42 +08:00
李通洲
5e706588a0 feature<OpenTerminal>: support Windows Terminal 2021-09-07 16:57:00 +08:00
Jai
663f3237c0 Merge pull request !19 from Jai/fix/copy-content-order
* optimix<Diff>: performance optimization
* fix<DiffViewer>: incorrect order when copying file contents
2021-08-11 11:16:00 +00:00
leo
780b4b9d18 feature<Issue>: add preference setting to enable/disable crash report 2021-08-11 10:20:19 +08:00
Jai
0c7f217106 feature<Preference>: add custom font settings 2021-08-10 22:05:29 +08:00
Jai
eab5db982c feature<MergeTool>: support for finding Tortoise Merge from TortoiseGit 2021-08-09 21:36:42 +08:00
leo
d52fc37b65 style<Reset>: mode option style 2021-08-06 11:56:50 +08:00
leo
2cf7192ec4 cleanup<*>: run vs code cleanup to format codestyle and remove unused references 2021-08-05 15:54:00 +08:00
Jai
701d18216c optimiz<Net48>: remove dependency Newtonsoft.Json 2021-08-05 11:05:18 +08:00
leo
47cb708744 optimize<DiffViewer>: use Models.TextChanges.Line directly for DiffViewer and HighlightableTextBlock 2021-08-05 09:29:26 +08:00
leo
a56a3ac5d2 feature<Issue>: create Gitee issue when unhandled exception raised 2021-08-03 10:19:30 +08:00
leo
22249876b5 optimize<TextCompare>: return invalid result instead of throwing exceptions 2021-07-30 10:00:50 +08:00
leo
d259d67fd5 optimize<Diff>: simplify DiffPlex algorithm 2021-07-29 20:42:44 +08:00
leo
92de6f2b79 feature<Diff>: highlights differences for modified lines (both added and removed) 2021-07-28 15:02:13 +08:00
leo
afc4eafb6f refactor<*>: use DynamicResource instead of StaticResource for brushes and locales 2021-07-20 16:26:10 +08:00
leo
17e9ce2a2f optimize<Preference>: use default preference settings when load broken preference data. 2021-07-13 09:04:28 +08:00
leo
f6c17e7d34 feature<Launcher>: supports restore last opened tabs when startup 2021-07-06 09:58:36 +08:00
leo
2ddc61e162 feature<Watcher>: sync changes for git-worktrees 2021-06-30 15:09:18 +08:00
leo
a36c00f68c update<AvatarServer>: use geekzu.org for Chinese avatar server 2021-06-22 17:37:09 +08:00
leo
0377326363 optimize<*>: remove PageTabItem 2021-06-15 17:35:37 +08:00
leo
e13467c457 fix<Preference>: fix external merge tool configuration lost when path can NOT be found automatically 2021-06-08 09:33:17 +08:00
leo
130b5a66ab feature<SubTree>: supports git subtree feature 2021-06-07 11:47:16 +08:00
leo
13ab3d1eae optimize<Watcher>: do NOT listen changed event on .git/*_HEAD 2021-05-31 10:54:56 +08:00
leo
259473626b feature<DiffViewer>: supports to diff with external merge tools 2021-05-31 10:25:48 +08:00
leo
11420ee5b4 feature<MergeTool>: supports to use WinMerge as git.mergetool 2021-05-28 20:49:43 +08:00
leo
e6182f9818 feature<CommitGraph>: add polyline display mode 2021-05-19 16:14:46 +08:00