Commit graph

1014 commits

Author SHA1 Message Date
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
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
b8a230cf16 style: use TextBox.InnerLeftContent and TextBox.InnerRightContent instead of custom layout for search 2024-03-12 09:53:52 +08:00
leo
ea3e28b5e7 style: text editor's search panel border 2024-03-11 19:30:07 +08:00
leo
c1c47074f4 style: use TextBox.InnerLeftContent and TextBox.InnerRightContent instead of custom layout for search 2024-03-11 18:54:12 +08:00
leo
13c5c116fd doc: add text editor hotkeys information 2024-03-11 18:30:32 +08:00
leo
76505fb582 style: new text editor search panel style 2024-03-11 18:29:42 +08:00
leo
b82c0e2ebd version: Release 8.3 2024-03-11 09:26:11 +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
ef26f5b41c fix: bad arguments to query git version 2024-03-09 11:04:03 +08:00
leo
2ec46c9da0 feature: prefer same name if new branch is created based on a remote branch 2024-03-08 18:01:29 +08:00
leo
fc0ac109d8 build: add a script to publish on Linux 2024-03-08 17:54:26 +08:00
leo
8d533e5270 style: UseRebase and AutoStash perfered selected by default 2024-03-08 17:49:03 +08:00
leo
61e1491854 style: remove popup's border on non-linux platforms 2024-03-08 17:41:10 +08:00
leo
c14b7ebbe1 optimize: only parse track status for local branch 2024-03-08 17:16:54 +08:00
leo
f7e8cf1311 refactor: use rev-list --left-right --count to query track status with upstream (when using some linux with other locales instead of English, upstream:track will output status with localized word instead of 'ahead'/'behind') 2024-03-08 16:32:44 +08:00
leo
0d1c61bcb5 style: compatible with Linux 2024-03-08 15:57:36 +08:00
leo
8c1fe66ee5 fix: using DropShadowEffect in Launcher's popup container on Linux will get a wrong render result. 2024-03-08 15:52:40 +08:00
leo
2182d39e5f refactor: setup fonts based on operating system 2024-03-08 12:22:22 +08:00
leo
267c955c88 style: views supports Linux 2024-03-08 11:28:17 +08:00