Commit graph

906 commits

Author SHA1 Message Date
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
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
3eb8a82005 feature: use branch's fullname to create new branch based on selected one 2024-03-08 09:29:54 +08:00
leo
59b7fd8c61 optimize: better supports for LFS object 2024-03-07 17:04:57 +08:00
leo
d0e80be79f feature: enhance commit search
* Supports search commits by author/committer email
* Auto focus when search panel is visible
2024-03-07 16:29:24 +08:00
leo
f65dc36e62 style: popup container widgets 2024-03-07 12:08:54 +08:00
leo
b48c2b5ab5 fix: gnome-terminal name 2024-03-06 20:41:02 +08:00
leo
3bf962d745 feature: remember last active tab index if restore tabs is enabled 2024-03-06 19:46:19 +08:00
leo
0e824f12b4 upgrade: upgrade AvaloiaUI to 11.0.10 2024-03-06 17:17:16 +08:00