Commit graph

93 commits

Author SHA1 Message Date
leo
c1c743f2ff
readme: add tips for Linux users
Signed-off-by: leo <longshuang@msn.cn>
2024-11-22 09:17:56 +08:00
leo
e6e1e4e82e
fix: can not type characters with accent (#716)
Leaves the `X11PlatformOptions.EnableIme` unsetted, since Avalonia will auto enable it when `LANG` contains `zh`/`ja`/`vi`/`ko`

Signed-off-by: leo <longshuang@msn.cn>
2024-11-21 19:23:59 +08:00
leo
163e8cc0a4
feature: add context menu for issue link in commit details panel (#651)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-04 15:31:55 +08:00
leo
310c786693
feature: ignore case when finding visual studio solution file
Signed-off-by: leo <longshuang@msn.cn>
2024-11-04 11:54:18 +08:00
leo
6b348fbd1a
code_review!: PR #648
* rewrite `Models.ExternalTool` to use `_execArgsGenerator` instead of `OpenCmdArgs` and `ArgTransform`
* remove dependency of `System.Linq` due to AOT limitations
* since the `Visual Studio` is only available on Windows, use `TryAdd` directly.
* update `README.md`

BREAKING CHANGE: now the key in `external_editors.json` uses the same name with external tool.

Signed-off-by: leo <longshuang@msn.cn>
2024-11-04 10:02:20 +08:00
Dmitrij D. Czarkoff
1d0098703e
feature: add support for Visual Studio as external tool (#648)
* feature: support Visual Studio external tool on Windows
* feature: when opening in Visual Studio, try to locate solution file
2024-11-04 09:22:16 +08:00
leo
67b6a6d9d5
refactor: using custom PATH instead of reading it from zsh (#581)
* run `echo $PATH > ~/Library/Application\ Support/SourceGit/PATH` to generate to custom PATH file for SourceGit
2024-10-21 15:31:13 +08:00
leo
ccdc849baa
code_style: run dotnet format 2024-10-15 09:39:01 +08:00
leo
a232f50755
feature: try to read PATH from zsh 2024-10-14 16:59:20 +08:00
leo
983607e708
fix: minimize window button not work on Windows 10 (#501)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-23 14:44:23 +08:00
leo
4a3620db5e
refactor: rewrites the built-in grammar extension
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-21 16:34:00 +08:00
leo
30765cf7b3
code_review: PR #495
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
* correct the path passed to `--cwd`
2024-09-20 22:02:10 +08:00
Jens Fischer
a8a85613fc Add support for WezTerm 2024-09-20 14:13:02 +02:00
leo
5f567460e2
fix: missing -d ${WORKDIR} parameter for wt.exe (#490) 2024-09-20 14:15:19 +08:00
leo
5574dd2c38
refactor: a better way to fix window drop shadow effect on Win10 2024-09-19 09:50:27 +08:00
leo
33f9ae0cd6
fix: wrong executable file name for Zed editor on Linux (#477) 2024-09-19 09:12:38 +08:00
leo
69b39dac6c
code_style: simpfy FindTerminal
* [macOS] should return `string.Empty` when failed to find terminal path
* [Linux] use `shell.Type` instead of `shell.Exec` to skip custom terminal detection
2024-09-18 15:26:28 +08:00
leo
ba9c3058ed
feature: supports Zed editor as an external editor (#477) 2024-09-18 10:00:32 +08:00
leo
bc633e4085
code_review: PR #480
* remove `string.IsNullOrEmpty(OS.ShellOrTerminal)` checking from detail backend since it has been checked by `Native.OS.OpenTerminal`
* remove `ViewModels.Preference.IsTerminalConfigured` because it is only used by itself (Unlike `IsGitConfigured`).
* add `Native.OS.TestShellOrTerminal` and use it instead of setting `Preference.ShellOrTerminal` directly, because we have binded a callback that will save preference into file when its property changed. It may cause lag in some enviroments if we saving preference into file too frequently (see PR #436).
* run `dotnet format`
2024-09-17 22:09:51 +08:00
Aikawa Yataro
736ad02991
enhance: allow to specify custom terminal 2024-09-16 12:06:33 +00:00
Aikawa Yataro
53c915578e
enhance: allow terminal without full path and adjust error message 2024-09-16 11:55:50 +00:00
Aikawa Yataro
4deac98c4e
fix: crash when trying to open terminal from the Welcome screen 2024-09-16 08:51:39 +00:00
leo
fb0120d338
refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
bede3663ec
code_review: PR #453
* remove Visual Studio ENC0004 warning
2024-09-10 09:22:35 +08:00
Chiahong Hong
6d18839237
refactor: terminal launch on macOS without temporary AppleScript 2024-09-10 01:02:41 +08:00
leo
ebc112a627
feature: workspace support (#445) 2024-09-09 18:26:43 +08:00
leo
17dd32456b
refactor: add Avalonia.Fonts.Inter as built-in default font (#447) 2024-09-09 10:01:41 +08:00
leo
6688319714
fix: failed get default font on some Linux distro (#447) 2024-09-08 18:29:05 +08:00
Hannes Braun
3b44616aba Add support for foot
foot is a terminal emulator for Wayland.
2024-08-28 01:05:08 +02:00
Chiahong Hong
9a1e95b7e5
fix: handle file paths with spaces 2024-08-22 02:09:34 +08:00
Chiahong Hong
fd7bc8b122
fix: prevent executing an executable file with the same name as the directory 2024-08-22 00:57:23 +08:00
leo
04a187203a
refactor: detect terminal before it is needed 2024-08-20 21:05:20 +08:00
leo
66b28621d1
fix: wrong path to find iTerm2 2024-08-20 20:55:41 +08:00
leo
05db9e429d
code_review: PR #377
* simplify the implementation
2024-08-20 20:44:54 +08:00
Yitzchak Ben-Ezra
f53b35243d Support iTerm2 in MacOS 2024-08-20 14:32:52 +03:00
leo
9057b71f2d
refactor: rewrite the font configuration (#366)
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +08:00
leo
e7921db339
fix: can not open app dir on macOS 2024-08-18 15:53:54 +08:00
leo
39fba17648
enhance: text editor (#365)
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
db40a3f368
feature: try to enable DBus file picker on Linux platforms (#289) 2024-08-14 16:09:55 +08:00
leo
d1b236b090
enhance: usually we create hidden sub-directories in $HOME with lowercase names 2024-08-13 10:19:16 +08:00
leo
38665a61cb
fix: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) returns an empty string on some linux distro
* fallback the storage folder to `~/.sourcegit`
2024-08-12 21:38:11 +08:00
leo
f4eca45754
code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
bfea573d4b
feature: supports mate-terminal on Linux 2024-06-29 11:53:12 +08:00
leo
989e359a5a
fix: pwsh (PowerShell) typo 2024-06-24 19:15:26 +08:00
leo
49ce07443e fix: application data dir may not have been created before crash (#161) 2024-06-03 09:44:12 +08:00
leo
a976f007f5 refactor: load external tool's icon on startup 2024-05-17 12:01:29 +08:00
leo
bd09a44ab9 fix: IME not work on Wayland (#125) 2024-05-13 15:42:24 +08:00
leo
e0d35409b4 feature: move main menu to macOS system menu bar 2024-05-11 11:31:14 +08:00
leo
9627206764 fix: launch terminal in current user's home dir failed on macOS(#105) 2024-05-05 13:12:26 +08:00
leo
7da184c55b fix: disable native system menubar on macOS (#106) 2024-05-05 13:02:23 +08:00