李通洲
772dd1e294
GPU: improve performance (Windows)
2022-11-23 15:38:59 +08:00
李通洲
27212e8b98
Battery: improve performance (Windows)
2022-11-23 15:38:59 +08:00
李通洲
629c2de253
util: add a helper function to convert wide strings (Windows)
2022-11-23 15:38:59 +08:00
李通洲
9ef95e43a3
CPU: improve performance (Windows)
2022-11-22 19:40:57 +08:00
李通洲
6a304dbb4d
OS: improve performance (Windows)
2022-11-22 19:40:57 +08:00
李通洲
4355039329
Host: improve performance (Windows)
2022-11-22 19:40:56 +08:00
李通洲
5aebb400da
Board: improve performance (Windows)
2022-11-22 19:40:56 +08:00
李通洲
fbd8c0237f
BIOS: improve performance (Windows)
2022-11-22 19:40:56 +08:00
李通洲
04c9d16c16
util: introduce register helpers and use them (Windows)
2022-11-22 19:40:56 +08:00
李通洲
308408a962
Processes: improve performance (Windows)
2022-11-22 19:40:56 +08:00
李通洲
19c5904561
Memory: improve performance by not querying WMI (Windows)
2022-11-21 15:45:53 +08:00
李通洲
1c69d6c788
Disk: use statvfs64 only when __USE_LARGEFILE64 is defined
2022-11-20 19:43:02 +08:00
李通洲
55c6374949
WmTheme: support Windows 7
2022-11-20 00:57:32 +08:00
李通洲
0a65867937
Windows: fix memleaks
2022-11-20 00:52:52 +08:00
李通洲
859f645fe5
Disk: fix size detection on 32bit Linux
...
Ref: #337
2022-11-18 00:10:16 +08:00
李通洲
f1cc94207e
Host: detect WSL version
2022-11-17 22:36:49 +08:00
李通洲
fde9379bb2
Android: simplify code; fix mistakes in terminal font detection code
2022-11-17 20:19:27 +08:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
李通洲
fb78d9bbb9
TerminalFont: support Warp; improve performance of Apple Terminal (macOS)
2022-11-17 19:53:12 +08:00
李通洲
a498e9e142
CPU: don't remove (R) in CPU name to be consistant with GPU name
2022-11-17 10:33:50 +08:00
李通洲
0361a30c40
Font: simplify code; fix memleaks (macOS)
2022-11-17 10:18:13 +08:00
李通洲
d0c18c4679
DisplayServer: don't use private API (macOS)
2022-11-17 10:18:13 +08:00
李通洲
8aca8a2229
Temps: silence compiler warnings
2022-11-17 10:18:13 +08:00
李通洲
3f008c4b6d
CpuUsage: improve performance
2022-11-15 17:48:57 +08:00
李通洲
227eb707d2
CpuUsage: fix calucation on Windows
2022-11-15 17:30:16 +08:00
李通洲
85a554b60d
CPU: support Windows 7
2022-11-12 21:33:31 +08:00
李通洲
1ea44417d0
TerminalFont: add support for ConEmu
2022-11-12 21:33:31 +08:00
李通洲
0605cb754b
OS: fix Windows 7 detection
2022-11-12 21:33:31 +08:00
李通洲
f889d919f8
TerminalShell: add basic support for ConEmu
2022-11-12 21:33:31 +08:00
李通洲
b8f14c964a
Disk: detect Windows volumes on WSL
2022-10-28 16:29:31 +08:00
李通洲
de964d3e77
Disk: only prints useful mount points on Android
...
fix #322
2022-10-28 16:29:31 +08:00
李通洲
4634606a36
CpuUsage: clearify the restriction on Android
2022-10-28 16:29:31 +08:00
Linus Dierheimer
5d306ed9f3
Don't print vulkan driver info, if it contains new lines
...
#316
2022-10-27 13:23:24 +02:00
李通洲
2ee5b3b7a5
TerminalShell: add support for tcsh
...
which is the default shell for freebsd
2022-10-27 16:45:59 +08:00
李通洲
302a588812
TerminalShell: fix shellExe detection on macOS
...
`proc_pidpath()` works only if bufsize >= PROC_PIDPATHINFO_MAXSIZE
2022-10-27 16:45:59 +08:00
李通洲
5472621ac0
Disk: support freebsd
...
Also rewrite macOS detection to share code with bsd
2022-10-27 16:45:59 +08:00
李通洲
9ad7ba7144
CpuTemp: support freebsd
...
Untested
2022-10-27 11:15:53 +08:00
李通洲
895d151e2e
Host: support freebsd
2022-10-27 11:15:53 +08:00
李通洲
60ad6792ba
CpuUsage: support freebsd
2022-10-27 10:17:29 +08:00
李通洲
f93bd9e28b
TerminalFont: fix platform font detection
...
my bad...
2022-10-26 20:02:15 +08:00
李通洲
9c73f6b787
TerminalShell: support freebsd
2022-10-26 19:49:25 +08:00
李通洲
64b9f69fb1
Swap: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
aca2c01c9e
Processes: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
470d160346
Uptime: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
e225b496b1
Disk: don't print hidden removable volumes (macOS)
2022-10-25 20:02:26 +08:00
李通洲
883a535441
Packages: support Chocolatey (Windows)
2022-10-23 23:28:49 +08:00
李通洲
1395abcf09
TerminalFont: improve Windows Terminal terminal font detection on Windows
2022-10-23 18:48:31 +08:00
李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
Linus Dierheimer
eb1738b1c6
Merge pull request #309 from CarterLi/swap
...
Swap: split code out from memory detection
2022-10-18 20:34:03 +02:00
李通洲
581c6f547d
Swap: split code out from memory detection
...
1. Since swap module is disabled by default, swap detection is unnecessary in most cases.
2. On platform other than Linux, swap detection doesn't share code with memory.
3. Swap detection can be expensive. On Windows, it requires another WMI query which can lag heavily in some cases. Don't pay for you don't use.
2022-10-19 00:24:17 +08:00