Carter Li
04a5c2d9d3
Camera (Android): tidy
2026-10-07 00:35:45 +08:00
Carter Li
1b3594f600
Global: adds more FF_DEBUG
2026-10-03 18:09:17 +08:00
Carter Li
ae1288d087
Global (Windows): adds more FF_DEBUG
2026-10-03 12:29:52 +08:00
Carter Li
c26bace3c2
Global: fixes a lot bugs found by AI
2026-09-22 22:09:26 +08:00
李通洲
2594c01fc1
Common: renames androidApi.h for android/api.h
2026-09-18 20:25:46 +08:00
李通洲
098b501d0e
Camera (Android): uses NDK instead of the unstable termux-api
2026-09-18 15:01:10 +08:00
Carter Li
ba60d7975c
Camera (macOS): simplifies code
2026-08-07 09:37:39 +08:00
李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
1c89bbc34e
Chore: clang-format
2026-05-10 16:00:22 +08:00
李通洲
8159f473cc
Common (Windows): allows COM be used in C sources
2026-05-06 15:01:40 +08:00
李通洲
dca3b154ef
Global (Windows): fixes possible use-before-init errors
2026-05-06 15:00:52 +08:00
李通洲
ba54763dde
Camera (Windows): adds support for Display P3 color space
2026-05-06 11:06:07 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
李通洲
c7ecc33b64
Global: removes FFlist::elementSize
...
Improves performance of module Sound and PhysicalMemory
2026-04-14 15:47:26 +08:00
李通洲
48daf4ac1e
Camera (macOS): fixes a compiler warning
2026-04-13 16:16:57 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +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
李通洲
e6bd1c340f
Common: add on_scope_exit utility for scope-based resource management
2026-01-13 18:33:02 +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
李通洲
8c86003220
Common: introduces FF_LIBRARY_LOAD_MESSAGE to simplify library-loading
2026-01-05 17:54:41 +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
李通洲
3cef51ec4a
JsonConfig: refactor string buffer JSON handling for robustness
2025-08-02 17:41:19 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
李通洲
89e0ede12f
Camera (OpenBSD): add support
2025-04-23 20:09:08 +08:00
李通洲
7562e05123
Chore: fix a lot code smell
2025-03-25 22:08:50 +08:00
Carter Li
4e00f37be9
Camera (macOS): silence compiler warnings
2025-03-02 10:43:54 +08:00
李通洲
334afc9838
Camera (macOS): fix crashing on old macOS version
...
Fix #1594
2025-03-02 10:24:02 +08:00
李通洲
2eae5a86d2
Camera (macOS): try fixing segfault in macOS 10.15
2025-02-27 00:00:05 +08:00
李通洲
63cc8e5523
Camera (macOS): make fastfetch compiled on newer macOS versions runs on older ones
2025-02-05 14:42:41 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
c64720c6da
Camera (Linux): fix compiling with old linux headers
...
Fix #1265
2024-09-16 11:12:54 +08:00
李通洲
c9d539090d
Global: remove --lib-xxx support
2024-09-04 15:56:11 +08:00
李通洲
ec8391f6c6
Global: don't use __has_include
...
It reports false results in ubuntu 20.04. Details unknown.
2024-07-30 11:06:42 +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
李通洲
39cd8cfb4c
Camera: fix deprecation warning for macOS 14.0 hopefully
...
Fix #860
2024-05-06 09:25:06 +08:00
Carter Li
78c903c403
Camera (macOS): fix building on old xcode
2024-04-30 19:22:45 +08:00
Carter Li
c42711ee26
Camera (macOS): try silence system deprecation warnings
2024-04-30 18:56:45 +08:00
李通洲
55c72a8bb3
Camera (Windows): fix Windows Server Core compatibility
2024-02-08 19:14:09 +08:00
李通洲
40fae5c5f1
Camera (Android): add empty color space result
2024-02-04 19:07:47 +08:00
李通洲
199e71553d
CI: run camera module
2024-02-04 15:14:18 +08:00
李通洲
eed5efabea
Camera (Windows): detect color space
2024-02-04 14:17:18 +08:00
李通洲
d2315e967e
Camera (macOS): detect color space
2024-02-04 14:17:18 +08:00
Carter Li
cbe3c70480
Camera (Linux): add property colorspace
2024-02-04 14:17:18 +08:00
李通洲
458c2ccd01
Camera (FreeBSD): enable support
...
Requires build dependency `v4l_compat`
2024-02-04 09:26:19 +08:00
李通洲
7bb9efcebb
Camera (Android): init support
2024-02-02 23:22:40 +08:00