李通洲
4fccad5d10
Disk (macOS): silense compiler warnings
2025-03-28 14:57:43 +08:00
李通洲
0d4f1544c7
Chore: fix code smell
2025-03-26 14:42:55 +08:00
李通洲
e68a9476b5
Disk (SunOS): remove creation time detection support
...
ctim is `Timestamp of last file status change`, not creation time
2025-03-26 11:02:57 +08:00
李通洲
966b8452b7
Disk (Haiku): report all partitions
2025-02-18 09:35:56 +08:00
Carter Li
01d37653b0
Disk (Haiku): code cleanup; honor option->folders
2025-02-16 11:05:53 +08:00
François Revol
c64854804d
Haiku: 32bit fixes
...
For historical reasons int32 and int32_t are not compatible types.
2025-02-15 12:08:27 +08:00
李通洲
da76dcb2fe
Disk (Haiku): add support
2025-02-12 00:42:55 +08:00
Carter Li
fe7c4f724e
Disk (BSD): silence compiler warnings
2025-01-27 23:52:59 +08:00
Carter Li
66deb4316b
Disk (NetBSD): silence compiler warnings
...
Ref: https://github.com/NetBSD/pkgsrc/blob/ef998fe87c836293a337726e5f212011d4ee0327/sysutils/fastfetch/patches/patch-src_detection_disk_disk__bsd.c
2025-01-21 09:41:40 +08:00
Carter Li
f7288fec01
Global: support DragonFly BSD
2024-11-03 08:35:11 +08:00
Carter Li
49902d8c2f
Disk (NetBSD): fix disk size detection
2024-10-30 23:46:40 +08:00
Carter Li
bc550a5ea7
Disk (OpenBSD): fix build
2024-10-28 16:27:29 +08:00
Carter Li
081e8ea39f
Disk: support NetBSD, improve hidden partition detection
2024-10-28 16:11:37 +08:00
李通洲
fd26373c8f
Global: overall optimization
2024-10-26 11:42:07 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
6500cddc09
Disk (Android): fix compiling
2024-10-17 15:25:54 +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
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
a1f0570a96
Chore: fix typos
2024-09-13 22:26:47 +08:00
李通洲
099a390f2f
Disk (Linux): fix hang in WSL when custom format is used
2024-08-21 00:23:24 +08:00
Sergey Fedorov
1101d2e90e
Disk (BSD): minor fix for a type, fixes calculation of disk usage on 32-bit ( #1150 )
2024-08-04 20:08:21 +08:00
李通洲
25577a6e58
Disk (Android): ignore /apex/*
2024-07-15 22:56:14 +08:00
Carter Li
06aaf0f3fd
SunOS: support disk detection; fix a small bug
2024-06-17 19:32:54 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
Shu Niu
758ddae344
macOS: Add support for old MacOS version ( #936 )
...
* Add support for old MacOS version, fix-1.
* Add support for old MacOS version, fix-2.
* Add support for old MacOS version with fixing metal gpu api.
* Update disk_bsd.c
* Update disk_bsd.c
* Update gpu_apple.m
* Update monitor_apple.m
* Update os_apple.m
* Update wifi_apple.m
* Update camera_apple.m
* Update camera_apple.m
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2024-05-19 09:31:08 +08:00
Carter Li
15766f5266
Disk (BSD): dont set createTime if stat fails to detect it
2024-05-18 13:38:07 +08:00
Carter Li
4ffa0ffcb7
Disk (FreeBSD): ensure createTime is inited
2024-05-18 13:09:37 +08:00
李通洲
2fc9230b29
Disk (Windows): use sub thread to check accessiblity of remote volumes.
2024-05-04 15:15:00 +08:00
李通洲
9afcc00201
Disk (Windows): don't rely on env vars
2024-05-01 19:32:15 +08:00
李通洲
982e8a0117
Disk (Windows): make / an alias of C:\ for --disk-folders
2024-05-01 15:52:38 +08:00
李通洲
367264e549
Disk: only detect folders that specified by --disk-folders
...
Can be used to improve performance by ignoring network disks
2024-04-30 15:42:44 +08:00
李通洲
1058e876a7
Revert "Disk (Windows): add --disk-ignore-remote"
...
This reverts commit c71b04ba93 .
2024-04-30 14:46:26 +08:00
李通洲
c71b04ba93
Disk (Windows): add --disk-ignore-remote
2024-04-29 23:28:20 +08:00
李通洲
4580f3fd54
Disk (Linux): hide drivers folder in WSL
2024-04-21 17:35:47 +08:00
李通洲
282939f548
Disk (Windows): detect create time
2024-04-09 20:47:06 +08:00
李通洲
6f35b2f382
Disk (Linux): detect create time
2024-04-09 20:47:06 +08:00
李通洲
6700f63091
Disk (macOS): detect create time
2024-04-09 15:15:33 +08:00
李通洲
1f8be43881
Disk (Windows): use MS-DOS device name as mountFrom result, instead of useless GUID volume name
2024-03-25 10:09:35 +08:00
李通洲
4b747f70a4
Disk (Linux): ensure only physical devices are detected
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/731#issuecomment-1955814211
2024-02-23 09:29:39 +08:00
李通洲
77db2d84a3
FFstrbuf: remove ffStrbufCompAlphabetically
2024-02-22 10:38:33 +08:00
李通洲
6a0c7ca788
Disk (Linux): try fixing multidevice bcachefs filesystem compatibility
...
Ref: #731
2024-02-21 09:05:26 +08:00
Carter Li
73a30da7bc
Disk (FreeBSD): detect partition name
2023-12-27 16:26:58 +08:00
李通洲
6c4a4bfe13
Disk (macOS): support name detection of iso volumes
2023-12-27 14:15:50 +08:00
李通洲
0ee892f2de
Disk (Linux): simplify impl of detecting partition removable
2023-12-26 18:58:05 +08:00
李通洲
58e8403e16
Disk (Linux): be more careful to detect external type
2023-12-24 20:53:11 +08:00
李通洲
97c6966939
Disk (Linux): detect subvolume first
...
Fix #674
2023-12-24 20:32:43 +08:00
李通洲
be38182ab2
Disk (WSL): fix Windows volume detection
2023-12-24 19:42:10 +08:00
李通洲
e071a1eeb2
Disk (Linux): improve removable type detection
2023-12-17 12:13:28 +08:00
Marius Messerschmidt
40e977be31
Spelling: fix spelling of files in src/detection/
2023-11-18 15:47:22 +01:00