李通洲
e3de39d3ab
Windows: add version info in binaries
2022-11-12 21:33:31 +08:00
李通洲
4f97692245
Networking: support nowait connection (Windows)
2022-11-03 20:25:09 +08:00
李通洲
5472621ac0
Disk: support freebsd
...
Also rewrite macOS detection to share code with bsd
2022-10-27 16:45:59 +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
李通洲
aca2c01c9e
Processes: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
470d160346
Uptime: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
f470744e44
Kernel: improve performance, detect code name (Windows)
2022-10-25 20:02:26 +08:00
Linus Dierheimer
7f82f8d679
Merge pull request #312 from CarterLi/android
...
Android: add vulkan support for GPU detection
2022-10-22 18:19:32 +02:00
李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
李通洲
fbc76714f5
Android: add vulkan support for GPU detection
...
Termux does have package pciutils, but it's put inside of root-repo and
and doesn't provide libpci.pc. So I think use vulkan can be a better
option than libpci because vulkan.so is provided by Android system.
To build with android support, install `vulkan-headers` and
`vulkan-loader-android` (for `vulkan.pc`).
2022-10-20 17:42:01 +08: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
Linus Dierheimer
7bbd2aee94
Merge pull request #305 from LinusDierheimer/work/disk_refactor
...
Work/disk refactor
2022-10-17 18:24:29 +02:00
Linus Dierheimer
ee705363c1
Disk: Don't always build apple code
2022-10-17 17:13:45 +02:00
Linus Dierheimer
19a9b18c69
Disk: Linux impl working
2022-10-17 13:19:48 +02:00
李通洲
5d5663e2a7
Kernel: fix detection on Windows
...
According to MSDN, GetVersionExA is not reliable. We have to query WMI instead.
2022-10-17 00:17:19 +08:00
李通洲
76684e49ca
TerminalShell: speed up PowerShell version detection by querying the version of pwsh.exe file
...
Also add cmd version detection
2022-10-15 22:45:30 +08:00
李通洲
5749a8f7c1
TerminalShell: improve speed on Windows
...
[NtQueryInformationProcess](https://learn.microsoft.com/en-us/windows/win32/api/winternl/nf-winternl-ntqueryinformationprocess ) is an internal NT syscall which may change in the future. However, unlike other NT syscalls NtQueryInformationProcess is well documented on MSDN, so I think it's safe to use.
Boost shell detection by 0.3s on my machine. Note querying PowerShell's version `pwsh --version` costs another 0.2s
2022-10-15 21:20:58 +08:00
李通洲
a99ca9a1a1
macOS: remove unneeded dependencies
2022-10-15 01:02:46 +08:00
李通洲
1b7a2c2ed5
MSYS2: remove support
...
MSYS2 version was built for smooth transition from POSIX api to Win32 api. It has almost identical output as Windows native version, except requiring msys runtime dll and being a bit slower.
2022-10-14 18:33:11 +08:00
李通洲
11ad7a8a3d
TerminalShell: unify shell version detection code
2022-10-14 18:33:11 +08:00
李通洲
622f84c971
Kernel: remove special handling for Windows
...
Since we have an implementation for it
2022-10-14 17:39:07 +08:00
Linus Dierheimer
cf048bc723
Refactor package detection code
2022-10-13 21:43:31 +02:00
李通洲
3cc6611614
Windows: support native Windows
2022-10-13 23:49:09 +08:00
李通洲
2689a20889
Uptime: support Windows
2022-10-13 23:49:08 +08:00
李通洲
06262c078d
TerminaFont: move windows specific code into its own file
2022-10-12 21:59:21 +08:00
李通洲
b64a234f8a
Networking: support Windows
2022-10-12 21:59:21 +08:00
李通洲
1b594d9ed1
Thread: add common thread abstraction layer, and make threading optional
2022-10-12 21:59:21 +08:00
Linus Dierheimer
bc72f3cd64
Don't build dmg
2022-10-11 19:41:37 +02:00
Linus Dierheimer
88a16d4c7d
Merge pull request #286 from CarterLi/dev
...
Improvements, see commit list
2022-10-11 16:00:45 +02:00
Linus Dierheimer
779266e61e
Release 1.7.5
2022-10-11 14:26:00 +02:00
李通洲
2e42bbb1a2
Don't enable LTO on Debug mode
...
which breaks debuging on macOS
2022-10-11 19:19:43 +08:00
Linus Dierheimer
df986d36a2
Print the last element of the default structure
...
#283
2022-10-10 10:16:43 +02:00
Linus Dierheimer
173c9043e3
Merge pull request #282 from CarterLi/msys2
...
Introduce Windows support
2022-10-09 22:24:19 +02:00
Linus Dierheimer
488986e42e
Release 1.7.3
2022-10-09 21:36:53 +02:00
李通洲
f2540f00a5
Address some feedbacks
2022-10-09 23:23:46 +08:00
李通洲
00f5b84660
Disk: improve performance; support --disk-folders option
2022-10-09 21:07:34 +08:00
李通洲
661c174348
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 16:55:51 +08:00
Linus Dierheimer
1dd942a7b1
TARGET_DIR_ETC
2022-10-09 10:39:57 +02:00
李通洲
7c98450acc
OpenCL / Vulkan: enable support for Windows
2022-10-09 15:37:15 +08:00
李通洲
da797ecb33
Cursor / Icons / Theme / GTK / Qt: don't compile on Windows / macOS / Android
2022-10-09 15:37:15 +08:00
李通洲
2c51252396
LocalIP: add support for Windows
2022-10-09 15:37:15 +08:00
李通洲
f7ba00746b
Fix compiling on Linux
2022-10-09 15:37:15 +08:00
李通洲
8387d8651e
Kernel: add support for Windows
2022-10-09 15:37:15 +08:00
李通洲
af6b7dd81b
Packages: add support for Windows
2022-10-09 15:37:15 +08:00
李通洲
09a2f96cf0
TerminalShell: add support for Windows
2022-10-09 15:37:14 +08:00
李通洲
8246c6e61d
Windows: builds without exceptions and RTTI
...
which removes libstdc++ dependency
2022-10-09 15:37:14 +08:00
李通洲
cc490294e9
Font: add support for Windows
2022-10-09 15:37:14 +08:00
李通洲
0a55071f88
Memory: add support for Windows
2022-10-09 15:37:14 +08:00
李通洲
a57e334d73
CpuUsage: support no wait detection on Windows
2022-10-09 15:37:14 +08:00