Commit graph

930 commits

Author SHA1 Message Date
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