李通洲
794035f8d9
Shell: sets pretty name of busybox to ash
2026-06-03 18:29:33 +08:00
李通洲
723552f68b
Shell: be more robust on busybox version detection
2026-06-03 18:29:10 +08:00
李通洲
8aeb7c2f10
Shell (Linux): improves performance of busybox (ash) version detection
2026-06-02 17:44:55 +08:00
SirSputnikWiki
90bbfe195f
Terminal (Linux): improves terminal name detection for nix packages ( #2352 )
...
* Improved terminal name detection for nix packages
* Improved terminal name detection for nix packages
* Update terminalshell_linux.c
Move ffStrbufStartsWithC(&result->processName, '.') before string comparation, as it's much cheaper.
2026-05-30 10:16:12 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
Carter Li
dadcccdf26
TerminalShell: code refactor
2026-05-28 10:31:35 +08:00
Carter Li
9856d97bd1
Common (macOS): unifies AppBundle version detection code
2026-05-22 13:37:48 +08:00
Carter Li
26b3a84b8a
Terminal: fixes TDE konsole version detection
...
Fixes #2319
2026-05-11 08:51:46 +08:00
李通洲
55e4896524
Chore: runs clang-format
2026-04-28 19:45:19 +08:00
李通洲
bf0564f9e5
Terminal (Windows): removes using of Win32 registry APIs
2026-04-21 23:41:34 +08:00
李通洲
c1c6ccce9a
Shell (Linux): fixes ash version detection
...
Fixes #2271
2026-04-17 18:50:35 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
李通洲
831659966f
Style: adds Cpp11BracedListStyle: Block
2026-03-31 14:20:21 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
ea6ad4ac86
Global (Windows): prefers NTAPI for querying registry values
2026-03-13 13:27:58 +08:00
李通洲
72bdee7fbf
Global (Windows): prefers RtlUnicodeToUTF8N instead of WideCharToMultiByte
2026-03-11 22:40:13 +08:00
李通洲
000a688bb6
TerminalShell (Windows): improves logic of GUI program check
2026-02-28 10:06:13 +08:00
李通洲
340a58bda1
Shell (Windows): ignore lldb-dap
2026-02-27 15:03:15 +08:00
李通洲
df87cdfa6e
Windows: defines NtCurrentProcess and uses it
2026-02-13 19:38:22 +08:00
李通洲
61cdfcabf8
Windows: uses SHGetKnownFolderPath instead of the unreliable getenv
2026-02-10 17:32:34 +08:00
李通洲
359a77097c
Terminal (Windows): uses NtQueryInformationProcess to retrieve information of conhost.exe
2026-02-10 17:32:34 +08:00
李通洲
1337525eb5
Shell: fixes xonsh version detection
2026-01-09 20:14:00 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
Carter Li
f03a0bc202
Terminal (Linux): supports cosmic-term version detection
2026-01-01 22:32:32 +08:00
李通洲
5e27ee0f57
Shell: fixes ksh version detection on Linux
2025-12-01 10:04:40 +08:00
Carter Li
2fe2a21bfe
Terminal: reports sshd if $SSH_TTY is not available
2025-11-25 14:33:35 +08:00
Carter Li
5d13389827
TerminalShell: uses absolute path when detecting version if available
...
Closes #2067
2025-11-25 09:10:30 +08:00
李通洲
662f5127fa
Shell: makes fish shell version detection more robust (v2)
2025-11-11 15:38:53 +08:00
李通洲
fb9117553b
Shell: makes fish shell version detection more robust
2025-11-11 15:19:40 +08:00
李通洲
8b8eb6f290
TerminalShell (Linux): ignores run-parts
...
Ref: #2048
2025-11-11 10:10:47 +08:00
李通洲
ff28f5807b
Shell: supports brush version detection
2025-10-19 10:25:28 +08:00
李通洲
6a317366d7
Shell: fix fish version detection when LC_ALL is set
...
Fixes #2014
2025-10-19 10:25:28 +08:00
李通洲
aa40366a49
Terminal: ignores WSL2 unknown process for terminal detection
2025-09-04 22:31:59 +08:00
Carter Li
74e0732390
Common (GNU): more __GNU__ tests
2025-08-24 21:40:22 +08:00
Carter Li
e9104c38c6
Terminal (GNU): enable version detection
2025-08-24 13:04:12 +01:00
李通洲
f2f9b10b18
TerminalShell: remove special handling of hyfetch
...
Ref: https://github.com/search?q=repo%3Ahykilpikonna%2Fhyfetch%20FFTS_IGNORE_PARENT&type=code
2025-08-24 00:00:10 +08:00
Carter Li
cb13d43a7a
TerminalShell (Linux): always ignore pid1 (v2)
2025-08-21 00:19:52 +08:00
Carter Li
bd7190ca6d
TerminalShell (Linux): always ignore pid1
2025-08-21 00:12:41 +08:00
李通洲
08e6db090b
Shell (Windows): be compatible with fish 4 built by MSYS2
2025-08-19 17:25:04 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
2406015c81
Terminal (Linux): ignore init and systemd
2025-06-30 19:41:59 +08:00
李通洲
768238cb46
TerminalShell (Linux): ignore script
...
Fix #1761
2025-05-17 18:04:41 +08:00
apocelipes
1c7aa89228
TerminalShell: use ffBinaryExtractStrings result as possible ( #1739 )
2025-05-06 18:49:29 +08:00
李通洲
f34d51dddc
Terminal (Windows): fix file version detection
2025-03-30 16:38:54 +08:00
李通洲
d9d34ccbbb
Terminal (macOS): fix Warp Terminal pid detection
2025-03-21 10:08:26 +08:00
李通洲
6ef4f62d5b
Terminal (Windows): detect warp version
2025-03-06 22:11:36 +08:00
Carter Li
ac71ebcad9
Terminal (Linux): support termite version detection
2025-02-26 09:28:18 +08:00