李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
54f18982ac
Common: renames arrayUtil to arrutil
2026-06-02 10:59:18 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +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
李通洲
76d6e86fe5
Time (Windows): prefers RTL APIs
2026-03-23 10:03:12 +08:00
李通洲
8c72792e31
Common (Windows): adds a universal function ffFileTimeToUnixMs and use it
2026-03-16 13:49:49 +08:00
李通洲
f924a8bf06
Uptime: reads (System|Interrupt)Time directly from SharedUserData
2026-03-07 00:09:08 +08:00
李通洲
1699d14984
Common: ensures thread safety of ffTimeInitQpcMultiplier
2026-01-14 10:03:51 +08:00
李通洲
1c066bc69a
Common: updates ffTimeSleep to return true on success
2026-01-12 15:16:03 +08:00
李通洲
2f1e37bb7c
Common (Windows): improves performance of ffTimeGetTick
2026-01-12 15:16:02 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
Carter Li
de2dff5da0
Common: corrects the position for appending milliseconds
2025-08-20 11:07:53 +08:00
李通洲
ea86273a0e
Common: refactors time formatting to use a shared buffer and utility macro
2025-08-19 09:49:43 +08:00
Carter Li
1ac1f1f889
Chore: silense compiler warnings
2025-07-16 15:19:48 +08:00
李通洲
6851e7b082
Uptime / Users: add years, days-of-year and year-fraction
...
Like what `Disk` has
2025-07-16 09:53:09 +08:00
Carter Li
72afa9ef99
Networking (Linux): improve performance by TFO and response compression
2025-03-15 22:35:11 +08:00
Carter Li
e38f094c16
Uptime (Haiku): silence compiler warnings
2025-02-13 22:56:25 +00:00
李通洲
f6e1e5c96b
Fastfetch: support --stat <num>
2024-08-13 08:41:32 +08:00
Carter Li
0b85fc74eb
Fastfetch: increase precision of --stat
2024-08-13 08:41:32 +08:00
李通洲
2f26045d30
Common: fix compiler warnings
2024-07-19 23:57:44 +08:00
李通洲
d7018c2fd3
DateTime: try fixing 32bit linux
...
Fix #1108
2024-07-19 22:53:10 +08:00
李通洲
691cb4ac24
Global: use time string when generating JSON result
2024-04-09 20:47:06 +08:00
李通洲
c749f214e0
Global: silence warnings when building in 32bit environments
2024-01-17 23:12:55 +08:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
f3ec60a061
Uptime: add ffTimeGetNow() and use it
2023-09-12 14:55:33 +08:00
李通洲
d151901049
Common: improve resolution of ffTimeGetTick
2022-12-14 15:43:53 +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
李通洲
89850535ae
Windows: replace __CYGWIN__ with __MSYS__
2022-10-09 15:37:14 +08:00
李通洲
a57e334d73
CpuUsage: support no wait detection on Windows
2022-10-09 15:37:14 +08:00