Carter Li
ae1288d087
Global (Windows): adds more FF_DEBUG
2026-10-03 12:29:52 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
李通洲
c7ecc33b64
Global: removes FFlist::elementSize
...
Improves performance of module Sound and PhysicalMemory
2026-04-14 15:47:26 +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
李通洲
8c72792e31
Common (Windows): adds a universal function ffFileTimeToUnixMs and use it
2026-03-16 13:49:49 +08:00
李通洲
52a81dbdc4
Disk (Windows): reads SystemWindowsDirectory directly from SharedUserData
2026-03-07 00:35:07 +08:00
李通洲
53ffe8459f
Global: applies Copilot's suggestions
2026-03-06 18:33:29 +08:00
李通洲
ddc2131343
Chore (Windows): adds comments
2026-03-05 10:16:11 +08:00
李通洲
df87cdfa6e
Windows: defines NtCurrentProcess and uses it
2026-02-13 19:38:22 +08:00
李通洲
5825bce57d
Disk (Windows): replaces most Kernel32 calls to ntdll calls
...
* Improves accurancy of detection of drive create time
* Improves performance slightly
* Removes remove drive check, `hideFolders` should be used instead
2026-02-10 18:50:35 +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
李通洲
645bf5c839
Disk: moves disk hiding by folder and FS type to detection code
...
Don't probe if hided
Fixes #2043
2025-11-06 13:39:30 +08:00
李通洲
57a4b9b6ed
Disk: refactors mountpoint matching to use shared string utilities
2025-09-19 14:54:13 +08:00
李通洲
c2ed71c4eb
Global: set SetErrorMode(SEM_FAILCRITICALERRORS) globally
...
Fix #1805
2025-06-15 00:00:22 +08:00
李通洲
8eb8f710d0
Disk: add option --disk-hidden-folders
2025-05-19 18:32:56 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
a1f0570a96
Chore: fix typos
2024-09-13 22:26:47 +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
李通洲
282939f548
Disk (Windows): detect create time
2024-04-09 20:47:06 +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
李通洲
8fa6aee571
Disk: move physicalType to module DiskIO
...
Physical type applies to physical disks, not partitions
2023-10-09 16:32:31 +08:00
李通洲
276e22f6b0
DiskIO: init module
2023-10-07 23:56:15 +08:00
李通洲
1985552636
Disk (Windows): fix crashing on Windows 7 VM
2023-10-03 16:50:57 +08:00
李通洲
e53acf42ec
Disk (Linux): detect physical type
2023-09-30 20:32:14 +08:00
李通洲
18233a27c5
Disk (Windows): detect disk physical type
2023-09-30 15:00:59 +08:00
李通洲
b54e182c0f
Disk (Windows): detect volume name
2023-09-17 20:41:07 +08:00
李通洲
32d6436027
Disk: add --disk-show-readonly
2023-08-26 13:43:33 +08:00
李通洲
7358326a13
Disk: add --disk-use-available
...
fix #543
2023-08-26 13:43:13 +08:00
李通洲
434a879538
Disk: rename FFDiskType to FFDiskVolumeType
2023-08-26 13:40:40 +08:00
李通洲
d5a3802492
Disk: don't use singleton
2023-06-13 09:04:41 +08:00
李通洲
e13f04e80f
Disk: backport changes from config branch
2023-06-08 22:24:57 +08:00
李通洲
c379c65960
Disk (Windows): improve performance
2023-05-27 23:34:03 +08:00
李通洲
725d2f2612
Windows: fix <Windows.h> header mess
2023-03-25 00:50:40 +08:00
李通洲
e3ea39afaa
Disk: add volume name detection
2022-10-18 21:23:29 +08:00
Linus Dierheimer
b812f1dcb4
Disk: Fix build on windows
2022-10-17 17:52:43 +02:00
Linus Dierheimer
a03eaed4e2
Disk: add options#
2022-10-17 17:35:06 +02:00
Linus Dierheimer
19a9b18c69
Disk: Linux impl working
2022-10-17 13:19:48 +02:00
李通洲
00f5b84660
Disk: improve performance; support --disk-folders option
2022-10-09 21:07:34 +08:00