Commit graph

1033 commits

Author SHA1 Message Date
leo
7b5534a267 code_style: run dotnet format to apply rules defined in .editorconfig 2024-04-13 19:24:45 +08:00
leo
1bb4d55a5c
Merge pull request #69 from gadfly3173/feat/diff-file-mode
feat: show git file mode change if exist
2024-04-13 19:17:44 +08:00
Gadfly
54c9552985
refactor: remove duplicate ObjectConverters, remove unused using 2024-04-13 18:54:46 +08:00
Gadfly
f4e1e0fb6b
fix: use TextTrimming alternative PathConverters 2024-04-13 02:05:26 +08:00
Gadfly
f7dd856e49
fix: enhance diff view by truncating long file paths with ellipsis and adding tooltips for full path display 2024-04-13 01:34:08 +08:00
Gadfly
83728c1a5f
fix: change file mode status postion to right 2024-04-12 21:58:54 +08:00
Gadfly
a249eed1ac
feat: show git file mode change if exist 2024-04-12 21:38:36 +08:00
Gadfly
972b940742
fix: GPG executable file input didn't echo after selected 2024-04-12 19:37:06 +08:00
leo
2d5e048797 Merge branch 'fix/stage-list-count' into develop from PR #68 2024-04-12 10:04:03 +08:00
leo
ede96c298e code_review: review PR #68
* use Converters.ListConverters.ToCount instead of adding two properties to get the count of list.
* adding a new TextBlock to show number of files
2024-04-12 10:03:24 +08:00
leo
d64b7a7824 code_style: private functions should appear after all public functions 2024-04-12 09:41:12 +08:00
Gadfly
0e2da217f1
feat: shows the number of files in the current list on unstaged and staged lists 2024-04-12 01:27:19 +08:00
Gadfly
c0b13bdc8c
fix: Fixed the problem that the AvaloniaRider plugin on Windows cannot display the live preview for Avalonia XAML 2024-04-12 01:23:08 +08:00
leo
f3f39ac593 feature: supports resolving multiple conflicts at once. 2024-04-11 20:50:19 +08:00
leo
057c0be547 ux: change MaxHeight of commit message to 64 to ensure that there are at least 2 items displayed in the change list (#66) 2024-04-10 20:13:56 +08:00
leo
8ab7370409 enhance: use --force to override local refs if it is mismatched with remote's 2024-04-10 11:52:28 +08:00
leo
1dadad7775 ux: disable TextEditor hyperlinks (#65) 2024-04-10 11:02:33 +08:00
leo
1da754afe8 resource: update all icons to 64x64 (since we use this icons in 16x16 size) 2024-04-09 19:19:49 +08:00
leo
b8da3e9afd enhance: use diff command instead of show command to get changes of selected commit. (#56)
* for merge commit, it will shows all changes compare to the first parent of the selected commit now.
2024-04-09 16:02:42 +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
f0e0c90621 Merge branch 'feature/powershell_supports' into develop 2024-04-09 14:59:15 +08:00
leo
7336a870f7 ux: macOS main menu position 2024-04-09 14:36:32 +08:00
leo
7be7ef161b fix: deepin-terminal commandline argument format 2024-04-09 13:59:55 +08:00
leo
6811103cf4 ux: use RenderOptions.BitmapInterpolationMode="HighQuality" for shell icons 2024-04-09 13:34:42 +08:00
leo
395bd29084 feature: add supports to deepin-terminal 2024-04-09 13:06:27 +08:00
leo
3fd1e0ea19 fix: Windows Terminal is not a built-in app on Windows 10 2024-04-09 11:18:16 +08:00
leo
5c9b92c3db fix: the system default powershell.exe does not recognize the -WorkingDirectory arg 2024-04-09 11:12:22 +08:00
leo
a3c81745aa enhance: add -WorkingDirectory and -Nologo arguments for PowerShell 2024-04-09 10:49:36 +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
8f70778ec2 version: Release 8.7 2024-04-08 10:49:48 +08:00
leo
8adf11b64c fix: crash when create image from a empty stream 2024-04-08 10:24:28 +08:00
leo
75f6087447 update: unify all external tool icons to 128 x 128 2024-04-08 10:01:17 +08:00
leo
8dd1ce9185 refactor: rewrite Commands.QueryFileContent and use it instead of GetImageFileAsBitmap 2024-04-08 09:57:41 +08:00
leo
9a4f928ece fix: DataGrid does NOT scroll when navigation target is the same as current selected in Views.Histories. (#58) 2024-04-07 21:19:02 +08:00
leo
d09e81b80a fix: remove unused using 2024-04-07 20:06:04 +08:00
leo
24b6e39066 feature: add context menu for changes in Views.CommitDetail and Views.RevisionCompare to diff with external merge tool (#53) 2024-04-07 20:02:43 +08:00
leo
b5b1f0cb8d refactor: add ExternalEditorFinder to detect supported external editors 2024-04-07 17:56:53 +08:00
leo
482fab97c0 ux: update Icons.Tree 2024-04-07 15:17:02 +08:00
leo
a8d06ce042 ux: set RenderOptions.BitmapInterpolationMode = BitmapInterpolationMode.HighQuality for avatars 2024-04-07 15:00:18 +08:00
leo
416b839df5 localization: use x:String instead of declare a new namespace for System.String 2024-04-07 10:06:17 +08:00
leo
e5be649a2d fix: Github REST API access rate limit (#60) 2024-04-07 09:54:35 +08:00
leo
400d454478 enhance: a more adaptable regular expression for remote URLs (#61) 2024-04-06 18:11:49 +08:00
leo
040a6d4bba refactor: use axaml resource to manage locales instead of resx 2024-04-06 18:06:32 +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
bcb83af576 ux: new style for statistics page 2024-04-03 17:34:06 +08:00
leo
099e6a4f97 ux: use CubicBezierTo instead of calling QuadraticBezierTo twice for curves in commit graph (#57) 2024-04-03 15:32:23 +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
eea3d2c6c0 feature: enable to use external merge tool for all type of files (#53) 2024-04-03 09:43:17 +08:00
leo
54c7f80eda ux: move navigate current head button to histories (#50) 2024-04-02 21:00:55 +08:00
leo
d986aa7165 feature: add button to navigate to current HEAD (#50) 2024-04-02 20:54:57 +08:00
leo
09720f81d4 ux: use FontWeight.Bold for current head decorator 2024-04-02 20:42:17 +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
leo
96e60da7ad ux: auto focus the first input element in popup widget (#49) 2024-04-02 16:23:47 +08:00
leo
ddd152df59 ux: unify icons and labels for repository action in both welcome and repository page; remove unused resources 2024-04-02 10:09:28 +08:00
leo
4dfbb0b2ba style: ux improvement (#42) 2024-04-02 09:46:48 +08:00
leo
53bcafa5ed refactor: ux for in progress action (cherry-pick/rebase/revert/merge) 2024-04-01 21:27:08 +08:00
leo
814af539cd fix: resolve button should be visible when current active view index is NOT 1 (the changes page) 2024-04-01 19:59:15 +08:00
leo
ef02a57ab2 style: use FontWeight.Bold for current head (#44) 2024-04-01 18:12:27 +08:00
leo
7e28c0904d localization: add git command name to locale zh_CN (#41) 2024-04-01 12:17:50 +08:00
leo
1f3f9a4472 style: add source code website in about dialog (#40) 2024-04-01 11:45:30 +08:00
leo
30d5f1415e version: Release 8.6 2024-04-01 09:29:04 +08:00
leo
d89a00e559 code_style: using avalonia's editorconfig and run dotnet format. 2024-03-31 16:54:29 +08:00
leo
3c38f681bd fix: disable custom window resizer on Linux platform if Window.WindowState != WindowState.Normal 2024-03-29 12:15:52 +08:00
leo
e59bacb75c update: external tool icons 2024-03-29 10:50:49 +08:00
leo
976c8da83c style: use the larger size of image in diff view if it has two valid bitmaps 2024-03-29 10:02:11 +08:00
leo
871751d7c0 style: set RenderOptions.BitmapInterpolationMode="HighQuality" for all image views 2024-03-29 09:49:42 +08:00
leo
911456a3e7 style: set RenderOptions.BitmapInterpolationMode="HighQuality" for external tool icons 2024-03-29 09:45:36 +08:00
leo
1f353f8163 style: unify all external tool icons to 512 x 512 2024-03-29 09:37:54 +08:00
leo
c2eedbdbf2 performance: do NOT re-create background brush if there exists one 2024-03-28 21:06:12 +08:00
leo
eb4f38b676 code_style: move private member/functions (except static readonly members) after all public members 2024-03-28 20:03:56 +08:00
leo
5e66765326
Merge pull request #36 from walterlv/master
_backend will never be null
2024-03-28 17:55:31 +08:00
leo
60bcdd671f style: keep aspect ratio of image in image diff view 2024-03-28 17:53:53 +08:00
walterlv
4e8efe05cc _backend will never be null 2024-03-28 17:48:46 +08:00
leo
61cead1867 code_style: run dotnet format to follow rules defined in .editorconfig 2024-03-28 17:46:03 +08:00
leo
7866a11037 Merge branch 'feature/open_with' from PR #33 2024-03-28 17:43:37 +08:00
leo
4659fbd901 code_review: code review for PR #33
* use PNG instead of SVG for external tool icons and remove dependency `Avalonia.SVG`
* remove unused property `IsVSCodeFound` and `IsFleetFound`
* find VS from registry first
* remove compile warning CA1416
* remove unused enum `OS.Platforms`
2024-03-28 17:42:13 +08:00
leo
760d64c39c style: use custom RevisionImageFileView to preview images. 2024-03-28 17:20:19 +08:00
walterlv
e54f17d13b Fix spelling errors in configuration keys 2024-03-28 16:29:15 +08:00
leo
8ed068e2dd
Merge pull request #34 from walterlv/master
Enhance file and folder selection
2024-03-28 16:18:23 +08:00
walterlv
f6683954fe Enhance file and folder selection by utilizing the default file manager instead of enforcing the use of explorer.exe 2024-03-28 16:02:39 +08:00
leo
effabb08fe style: add a background for image diff view 2024-03-28 15:47:40 +08:00
Enner Pérez
370b9bd31e MacOS Update 2024-03-28 02:16:34 -05:00
Enner Pérez
386987fbb1 Open in... Menu
New Icons
2024-03-28 02:16:33 -05:00
Enner Pérez
cde5fc8f73 Open In Fleet 2024-03-28 02:16:01 -05:00
leo
91bc1ee8ab fix: try to fix window drop shadow missing on Windows 10 2024-03-28 12:25:07 +08:00
leo
6cc6088684 style: ImageDiff layout 2024-03-28 10:11:34 +08:00
leo
0995e6e638 style: margins for ImageDiff 2024-03-28 09:54:20 +08:00
leo
582a283ad5 feature: show image size change for Models.ImageDiff 2024-03-28 09:48:42 +08:00
leo
223467480f fix: wrong work tree file path 2024-03-28 09:34:08 +08:00
leo
6950055f24 feature: supports preview and diff with image files 2024-03-27 21:38:38 +08:00
leo
5ef542f92d style: add loading indicator for FileHistories 2024-03-27 10:40:11 +08:00
leo
92e065feba feature: simple self-update implementation (#29) 2024-03-27 09:36:54 +08:00
leo
86a1148148 style: text alignment in Hotkeys 2024-03-26 16:58:12 +08:00
leo
391b017200 style: remove file name in FileHistories's title bar 2024-03-26 16:03:41 +08:00
leo
6d2e10cec2 feature: embed commit detail page in file histories 2024-03-26 15:56:38 +08:00
leo
e443e1657b style: increase all GridSplitter's size 2024-03-26 15:19:41 +08:00
leo
15ab457e74 style: traits .plist file as normal xml 2024-03-26 14:42:41 +08:00
leo
0079cdd88e style: change FontSize for MenuItem /template/ PART_InputGestureText 2024-03-26 11:30:22 +08:00
leo
cd42f2471a style: windows/linux caption buttons 2024-03-26 11:00:15 +08:00
leo
43d50c5ded version: Release 8.5 2024-03-25 11:43:21 +08:00
leo
4e81c7dc85 style: font fallback for windows 2024-03-25 10:39:36 +08:00
leo
5c5ee9bef5 style: icon for commit decorators 2024-03-25 10:27:07 +08:00
leo
8042091836 style: move some settings to Appearance tab 2024-03-22 12:29:40 +08:00
leo
a992485d11 style: use fixed tab title font size; NumericUpDown border 2024-03-22 12:18:03 +08:00
leo
c247b03223 feature: allow customized font size 2024-03-22 12:04:30 +08:00
leo
7ba7e58c9f style: keep the launcher's title bar consistent across platforms 2024-03-22 09:57:59 +08:00
leo
56f5f3b4a7 enhance: use custom JsonConverter instead of converting string to FontFamily in each control 2024-03-21 23:19:09 +08:00
leo
0fadab2ca2 fix: select file with only eol changes after other change types will not update diff result 2024-03-21 21:24:53 +08:00
leo
a6103b8b31 code-style: run dotnet format to compliance the editorconfig rules (#31) 2024-03-21 21:08:30 +08:00
leo
98a46f8211 fix: endless loop when character missing both in current active font and the default font and the fallback font is same with the default. 2024-03-21 20:55:08 +08:00
leo
8f3f011d81 enhance: calculate monospace fonts in background to avoid delay for preference window (#30) 2024-03-21 20:02:07 +08:00
leo
ff2e0d7928 fix: indicator line does not use editor's FontFamily (#30) 2024-03-21 18:08:43 +08:00
leo
83aa373079 feature: supports custom fonts (#30) 2024-03-21 18:02:06 +08:00
leo
0e49ad181a enhance: remeber tag group and submodule group IsExpanded state. 2024-03-21 11:40:17 +08:00
leo
c83d4588a1 style: update icons 2024-03-21 11:16:34 +08:00
leo
7c3c022ccc enhance: use previous state before we get new diff result 2024-03-20 20:34:24 +08:00
leo
635db8b3b3 feature: allow user to control whether or not to enable syntax highlighting in DiffView. 2024-03-20 20:17:20 +08:00
leo
8fc25e312d optimize: collect garbage after SetGrammar to avoid memory leak 2024-03-20 19:49:01 +08:00
leo
340fe9e3ba enhance: leave the current state until we got the new diff result to reduce flickering 2024-03-20 18:27:48 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
f175f5abc1 optimize: use combined diff view as default. 2024-03-20 13:08:01 +08:00
leo
0b8740dc3a linux: use managed system dialog instead of DBus file picker (it has an extra black background panel on Wayland). 2024-03-19 15:53:46 +08:00
leo
1c14f5ea88 linux: force using en_US.UTF-8 locale to avoid GCM crash 2024-03-19 15:43:47 +08:00
leo
abc97dce6c fix: missing localization for Text.Cut 2024-03-19 13:00:47 +08:00
leo
b67cd693cd build: move build scripts and resources from src to build 2024-03-19 11:28:22 +08:00
leo
44c141be7c update: localizations
* fix Locales.Designer.cs NOT updated when compile after Locale.*.resx changed in Visual Studio 2022.
* use PublicResXFileCodeGenerator instead of ResXFileCodeGenerator to make sure access modifier is 'public' in Visual Studio 2022.
* use ResourceManager.GetResourceSet instead of collecting properties by reflection.
* remove translation warnings in Visual Studio's ResXManager extension.
2024-03-18 18:44:31 +08:00
leo
5567a8bc08 project: remove duplicated item in ItemGroup 2024-03-18 16:47:45 +08:00
leo
0bb268cdf2 version: Release 8.4 2024-03-18 15:10:11 +08:00
leo
6ea0e59c31 fix: remove warning for duplicated using 2024-03-18 11:42:54 +08:00
Enner Pérez
aa4c7be813 Resx Folder Location 2024-03-17 22:34:24 -05:00
Enner Pérez
14550655f3
Merge branch 'master' into feature/resx 2024-03-17 21:11:24 -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
Enner Pérez
ad1fdbe6ee Resx Localization 2024-03-16 03:27:03 -05:00
leo
f93dec5e6a style: Blame & FileHistories window style 2024-03-15 10:41:36 +08:00
leo
abc3e8e9f7 fix: Statistics window can not move 2024-03-15 10:13:21 +08:00
leo
b9f29ef059 style: margins for fixed-size window on Linux platform 2024-03-14 18:29:19 +08:00
leo
035300a612 style: border-less window style on Linux platform. 2024-03-14 18:23:36 +08: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
cd2ecb109a enhance: diff with LFS filtered files 2024-03-14 10:55:25 +08:00
leo
499a8235b5
Merge pull request #22 from ennerperez/feature/syntax_fixes
Syntax Fixes
2024-03-13 16:20:35 +08:00
Enner Pérez
f70d48495f Syntax Fixes 2024-03-13 03:10:29 -05:00
Enner Pérez
cb90f8b98d en_US Typo Fixes 2024-03-13 03:10:02 -05:00
leo
47d9e0e9f9 fix: key to close search panel in text editor is ‘ESC' not 'Ctrl+3' 2024-03-12 16:40:59 +08:00
leo
ea49de2379 style: search bar style 2024-03-12 16:32:40 +08:00