Carter Li
9bd692dffb
Presets: add showAllIps to all.jsonc
2024-10-17 19:39:26 +08:00
李通洲
dee5f1b339
CMake: enable fortify if available
2024-10-17 19:38:48 +08:00
Carter Li
ecd73667df
DiskIO (Linux): fix multi-namespace nvme drive detection
2024-10-17 19:38:48 +08:00
李通洲
993902916d
Chore: don't use strncpy in favor of strlcpy
...
strncpy doesn't require target to be NUL terminated
2024-10-17 16:16:04 +08:00
李通洲
8f79d6ab1d
Chore: silence some warnings
2024-10-17 15:39:11 +08:00
李通洲
6500cddc09
Disk (Android): fix compiling
2024-10-17 15:25:54 +08:00
李通洲
4146bb6731
OS (Windows): hard linking winbrand
2024-10-17 09:30:48 +08:00
李通洲
9188715efd
TPM (Windows): use system headers
2024-10-17 09:20:17 +08:00
李通洲
bf1cd3388d
Battery (macOS): fix remaining time detection
2024-10-16 09:15:04 +08:00
李通洲
a0ad38d1d4
Disk: check for mntopt instead of statvfs when detecting read only flags
...
Ref: #1343
2024-10-15 23:08:10 +08:00
李通洲
cc86c2c428
CI (Linux): try fixing build
2024-10-15 21:43:55 +08:00
李通洲
67a35c92ff
Chore (Linux): code cleanup
2024-10-15 21:43:41 +08:00
李通洲
ae76d2d032
IO (Linux): improve performance of ffPathExists
2024-10-15 19:40:03 +08:00
Carter Li
2b2c223d22
Btrfs (Linux): simplify
2024-10-15 11:11:11 +08:00
Carter Li
d6fa03d9e6
Fastfetch: don't use invalid paths when printing preset files
2024-10-15 10:31:37 +08:00
Carter Li
21ab56ad00
DiskIO (Linux): simplify
2024-10-15 10:30:58 +08:00
Carter Li
b5a9d64e75
PhysicalDisk (Linux): simplify
2024-10-15 10:29:50 +08:00
Carter Li
e73d6db2e5
Battery (Linux): improve performance by specifying O_PATH
2024-10-15 10:18:26 +08:00
Carter Li
1c598add39
Chore (Linux): always ignore hidden files when enumerating directories
2024-10-15 10:16:58 +08:00
XeroArch
f87f345918
Fixing wrong color in the XeroArch ASCII logo ( #1342 )
...
* putting xeroarch logo in askii
* updating logo
* updating
* updating
* uploading xeroarch ascii logo
* upgrading fetch ascii logo
* fixing a very small issue
* removing unecessary line
* removing trailing lines
* fixing erroneous colors in the logo
---------
Co-authored-by: xeroarch <xeroarch.os@gmail.com >
2024-10-15 08:52:42 +08:00
李通洲
fba33df1d3
Kernel: don't print ( -
2024-10-14 16:28:53 +08:00
李通洲
a11b10fb37
Doc: update changelog
2024-10-14 16:07:01 +08:00
李通洲
c73b5914ab
Battery (macOS): report time remaining only when discharging
2024-10-14 15:58:31 +08:00
李通洲
e70589483d
Kernel (Windows): detect wine
2024-10-14 15:52:12 +08:00
Carter Li
71a8978f41
Display: report platform api used for detection
2024-10-14 14:42:11 +08:00
apocelipes
0f1ad5750d
Netif (Linux): fix unused-result warning ( #1340 )
2024-10-14 12:30:39 +08:00
apocelipes
bbc9cf4980
Processing(Linux, SunOS): little optimizations ( #1341 )
2024-10-14 11:35:29 +08:00
李通洲
fbed730dac
Netif (Linux): don't use fseek
...
Turns out that `fseek` generates two extra syscalls, which causes unnecessary overhead.
2024-10-13 21:32:17 +08:00
李通洲
f847a23fb9
CI: remove musl-aarch64
2024-10-13 18:54:46 +08:00
Carter Li
c5527fa4e6
Zpool: don't report invalid fragmentation
2024-10-13 17:18:53 +08:00
Carter Li
c92d6f9eb6
CI: fix spellcheck errors
2024-10-13 17:07:01 +08:00
李通洲
3a914f2d27
LocalIP (Linux): simplify ffNetifGetDefaultRouteImpl
...
Fix #1336
2024-10-13 08:55:03 +08:00
Shu Niu
986d36c028
fix build in ancient MacOS ( #1334 )
2024-10-12 19:45:14 +08:00
李通洲
746cff471f
IO (Windows): fix build
2024-10-12 19:44:30 +08:00
Carter Li
08cdeb3bcf
PhysicalDisk (Linux): simplify code
2024-10-12 13:29:58 +08:00
Carter Li
b5a8d6b86d
PowerAdapter (Linux): simplify
2024-10-12 10:42:13 +08:00
Carter Li
29dd6d88c9
IO: add function ffReadFileDataRelative
2024-10-12 10:41:58 +08:00
Carter Li
49076ec69d
Battery (Linux): simplify
2024-10-12 10:41:25 +08:00
李通洲
15fc3bcc92
IO (Windows): add ffAppendFileBufferRelative
2024-10-12 10:13:23 +08:00
Carter Li
1178f46aac
Battery (Linux): check if AC is connected
2024-10-12 09:38:19 +08:00
Carter Li
68406cd044
IO (Linux): use openat to simplify code
2024-10-11 16:36:08 +08:00
Carter Li
782474b068
Battery (Linux): revert back not to use uevent
...
Reading `uevent` is slow...
2024-10-11 16:24:19 +08:00
李通洲
cd9cfa5d99
Memory (SunOS): simplify
2024-10-11 14:48:56 +08:00
李通洲
ded38efb1a
Memory (OpenBSD): fix detection of used memory size
...
Fix #1331
2024-10-11 14:48:11 +08:00
Carter Li
e2474d1238
OpenCL: print more detailed error messages
2024-10-11 13:28:10 +08:00
Carter Li
ec7c1855b3
Battery (FreeBSD): fix time remaining detection
...
oops
2024-10-11 00:23:04 +08:00
red-magic
99c0e9e719
run.sh: Improve compatibility with other systems ( #1332 )
...
* run.sh: Improve compatibility with other systems
For example $OSTYPE is empty in OpenBSD and the script fallsback to Linux option, with nproc isn't present it fails to build.
* Update run.sh
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2024-10-10 23:38:49 +08:00
李通洲
af09de319b
Battery (Android): better status detection
2024-10-10 21:03:27 +08:00
李通洲
ff21dabfb7
Battery (FreeBSD): detect time remaining
2024-10-10 21:01:12 +08:00
Carter Li
27910cf6ec
Battery (Linux): calcuate time remaining with current & charge if time_to_empty is unavailable
2024-10-10 08:38:58 +00:00