李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
9f190b46c9
DisplayServer (macOS): detects string serial number for Apple Silicon
2026-06-22 13:18:27 +08:00
Carter Li
f5b9e09d91
DisplayServer (macOS): detects string serial number
2026-06-20 01:21:39 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +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
李通洲
37b8bb4fc0
DisplayServer: reports DPI instead of scaled resolution
...
Fixes #2224
2026-03-13 20:44:21 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
李通洲
093f56a03d
Theme (macOS): moves macOS theme detection logic from DE to dedicated module
...
The old behavior was inherited from neofetch. However `Aqua` and `Liquid Glass` are actually design language, not a DE. There is no DE on macOS.
2025-09-29 09:25:24 +08:00
李通洲
d182f3f743
OS (macOS): seems macOS 26 Beta 1 still reports itself as macOS 16. Honor it.
2025-06-17 14:01:22 +08:00
李通洲
e68406ee22
DE (macOS): report Liquid Glass on macOS 26+
2025-06-10 10:56:13 +08:00
李通洲
de5ef3842c
Global: fix code smells
2025-03-26 16:44:52 +08:00
李通洲
0cd7aeac19
Display (macOS): don't crash with NULL pointer references
...
Fix #1393
2024-11-25 22:23:24 +08:00
李通洲
9a1d18556d
Display: don't report screen size when display is mirrored
...
Fix #1406
2024-11-21 15:29:14 +08:00
李通洲
21a35769a7
Display (macOS): detect maximum resolution & refresh rate
2024-11-20 16:39:01 +08:00
Carter Li
837903e845
DisplayServer: fix deprecation warnings
2024-11-09 21:36:48 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
Carter Li
71a8978f41
Display: report platform api used for detection
2024-10-14 14:42:11 +08:00
Shu Niu
986d36c028
fix build in ancient MacOS ( #1334 )
2024-10-12 19:45:14 +08:00
Carter Li
f30501f365
Display (macOS): fix invalid physical size on old Intel Mac
2024-10-05 17:22:32 +08:00
李通洲
fb0a18dc82
Display (macOS): merge monitor module features
2024-09-30 20:16:24 +08:00
Carter Li
e0d733f030
DisplayServer (macOS): fix building on ancient macOS version
...
Fix #1190
2024-08-15 19:01:33 +08:00
李通洲
ea18d93a40
Display / Monitor (macOS): code refactor
2024-08-13 08:41:32 +08:00
李通洲
812a13c871
Display (macOS): fix invalid refresh rate in old mac
2024-08-01 16:41:02 +08:00
李通洲
65883766a0
Display (macOS): don't parse string
2024-08-01 16:02:41 +08:00
李通洲
f11b07ba8a
DisplayServer (macOS): detect bit depth
2024-07-18 16:41:57 +08:00
Carter Li
e786cd5d33
Display: detect physical width and height
2024-07-11 20:33:25 +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
李通洲
bb489f9af3
Common: get rid of detection/internal.h
2023-12-30 18:13:54 +08:00
李通洲
cf66679323
DE: move version detection code to separate files
2023-10-30 22:46:38 +08:00
李通洲
55b41144db
WM: add flag --wm-detect-plugin
2023-10-30 16:34:35 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +08:00
李通洲
28d95c9f45
WM (macOS): don't print Core Graphics
2023-08-11 15:56:02 +08:00
李通洲
126034f33e
WM (macOS): detect if WindowServer is running
2023-08-11 14:56:17 +08:00
李通洲
841be619ba
Global: use ffStrbufInitStatic
2023-07-25 17:35:09 +08:00
李通洲
55c516a14b
DisplayServer: prepare for DDC/CI
2023-07-08 10:06:04 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
eea02ffb80
Display (macOS): detect primary display
2023-06-16 23:27:21 +08:00
李通洲
be40894bbd
DisplayServer: fix typos.
2023-06-13 22:03:29 +08:00
李通洲
6f9167c725
Display: detect screen rotation
2023-06-12 10:35:28 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
04180a7389
Display: init support of JSON config
2023-06-10 09:15:15 +08:00
李通洲
356c905703
DisplayServer (macOS): add a missing variable initialization
2023-06-09 11:07:06 +08:00
李通洲
a7896c39f0
DisplayServer (Apple): use FF_AUTO_FREE
2023-05-27 23:34:04 +08:00
李通洲
babb836f91
DisplayServer: detect display type ( builtin or external )
2023-03-22 21:33:46 +08:00
李通洲
642a0c78cc
Display: add options --display-detect-name and --display-precise-refresh-rate
2023-03-22 16:51:06 +08:00
李通洲
ccef5de86e
Display (macOS, Windows): support display name detection
2023-03-22 16:04:48 +08:00
李通洲
dcd0f8d3f6
DisplayServer (Windows): support precise refresh rate
2023-03-22 14:59:24 +08:00
李通洲
ef9b5c57b1
DisplayServer (macOS): change process names
2023-02-27 11:29:10 +08:00