李通洲
17eb22dfdb
PhysicalDisk: adds option hideVirtual (defaults to false) and hideUnknown (defaults to true)
2026-04-09 13:54:50 +08:00
Carter Li
c09a788ce3
PhysicalDisk (OpenBSD): honors namePrefix
2026-04-09 09:35:48 +08:00
Carter Li
ab32056c3f
PhysicalDisk (NetBSD): honors namePrefix
2026-04-09 09:35:48 +08:00
李通洲
5fe2cc6350
PhysicalDisk (Windows): adds simple debug log
2026-04-06 10:36:46 +08:00
李通洲
7887067301
PhysicalDisk (Windows): switches to CMAPI; adds floppy support
2026-04-05 20:37:23 +08:00
Carter Li
04c486d3db
PhysicalDisk (SunOS): detects unknown type
2026-04-04 00:29:08 +08:00
李通洲
b7890e1e2a
PhysicalDisk (SunOS): better device type detection
2026-04-04 00:08:25 +08:00
李通洲
8913620aa5
PhysicalDisk (NetBSD): fixes building on older systems
2026-04-03 22:32:35 +08:00
李通洲
2a103f620d
PhysicalDisk (NetBSD): adds support
...
Requires root permission
2026-04-03 21:01:49 +08:00
李通洲
8d0ceff7fa
PhysicalDisk (OpenBSD): fixes issues found later
2026-04-03 21:01:15 +08:00
李通洲
e639700387
PhysicalDisk (OpenBSD): fix potencial out-of-bound read
2026-04-03 15:44:47 +08:00
李通洲
c9dbf990d8
PhysicalDisk (OpenBSD): adds support
2026-04-02 20:10:14 +08:00
李通洲
6319b68c2c
PhysicalDisk (FreeBSD): adds type virtual and type unknown detection
2026-04-01 15:08:44 +08:00
李通洲
c37ac4da2b
PhysicalDisk (Windows): adds type virtual and type unknown detection
2026-04-01 15:08:26 +08:00
李通洲
643db92cd1
PhysicalDisk (Linux): adds type unknown detection
2026-04-01 15:08:02 +08:00
李通洲
99795154b5
PhysicalDisk (macOS): adds type unknown detection
2026-04-01 15:06:15 +08:00
李通洲
0c401a0112
PhysicalDisk: detects virtual disks
2026-03-31 19:48:54 +08:00
李通洲
d4b1ae9751
PhysicalDisk / DiskIO (macOS): improves performance by query less IO entries
2026-03-31 14:20:21 +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
李通洲
15804091b0
PhysicalDisk (Windows): detects tape devices
2026-03-24 18:42:56 +08:00
李通洲
6ad8e68d26
Global: simplifies code with __auto_type
2026-03-11 22:40:14 +08:00
李通洲
1323d007d3
Global: uses alignas where applicable
2026-02-10 17:32:34 +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
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +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
Carter Li
3a1f0485f4
PhysicalDisk: unifying white space trimming
2025-07-05 08:31:21 +08:00
Carter Li
dbeb338bda
PhysicalDisk (SunOS): rework; support more device types
2025-06-22 11:14:29 +08:00
Carter Li
65ff11a8d0
PhysicalDisk (SunOS): add support
2025-06-22 01:16:50 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
Carter Li
f22d73d473
PhysicalDisk: trim white spaces of serial
2025-05-13 18:29:46 +08:00
李通洲
50ea515476
PhysicalDisk (Linux): don't detect disk type of virtual disks
...
Fix #1697
2025-04-18 16:10:01 +08:00
李通洲
536ad9594e
PhysicalDisk (Linux): add more disk types
2025-04-05 22:35:42 +08:00
李通洲
a57bbbadf4
PhysicalDisk (Linux): don't detect disk type for virtual disks
...
Fix #1669
2025-04-05 22:35:42 +08:00
李通洲
b8b2fab499
Haiku: fix building
2025-02-18 15:49:39 +08:00
李通洲
6fd4720faf
PhysicalDisk (Haiku): fix drive size calcuation
2025-02-18 10:13:25 +08:00
李通洲
a13935e232
PhysicalDisk (Haiku): fix SCSI drive detection
2025-02-17 21:21:28 +08:00
Carter Li
716f0a3bbb
PhysicalDisk (Haiku): report drive type
2025-02-16 21:43:35 +08:00
Carter Li
17711ee5c8
PhysicalDisk (Haiku): add support
2025-02-16 20:12:46 +08:00
Carter Li
fdbd8d9ad5
Chore: forbid using of VLAs
2025-01-14 10:28:22 +08:00
Carter Li
14d6157901
PhysicalDisk (Linux): fix interconnect type detection
...
Regression of b5a9d64
Fix #1453
2024-12-20 16:38:30 +08:00
李通洲
97e1b987dd
Global: pack all enums and make flag enums unsigned
2024-11-14 11:00:44 +08:00
Carter Li
f7288fec01
Global: support DragonFly BSD
2024-11-03 08:35:11 +08:00
李通洲
7a3afa4adf
PhysicalDisk (Linux): don't report obviously invalid temp
2024-10-18 16:49:36 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
Carter Li
b5a9d64e75
PhysicalDisk (Linux): simplify
2024-10-15 10:29:50 +08:00
Carter Li
08cdeb3bcf
PhysicalDisk (Linux): simplify code
2024-10-12 13:29:58 +08:00
李通洲
9b4053e9dc
Chore: remove temps_linux
2024-09-24 01:51:45 +00:00