Carter Li
afa986efd4
Global (Linux): unrefs dbus replies to avoid memleaks
2026-02-26 10:11:12 +08:00
Carter Li
bc6e8c7813
Global (Linux): unrefs dbus connection to avoid memleaks
2026-02-26 09:47:18 +08:00
李通洲
357aa77e21
Media (Solaris): fixes another compiling error
...
Fixes #2173
2026-02-10 22:42:36 +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
李通洲
9f24e4363f
Media (Linux): handles invalid percent-encoding in cover metadata
2025-11-11 15:16:12 +08:00
李通洲
df15bbc5f2
Media: moves media cover cleanup logic to media detection
2025-11-11 14:00:43 +08:00
李通洲
c353bf3c96
Logo: adds automatic cleanup of temporary media cover files
2025-10-22 13:51:36 +08:00
李通洲
338b552499
Logo: adds support for using media cover as logo source
2025-10-21 15:05:25 +08:00
李通洲
5d73cc1232
Media: save media cover to temp file
2025-10-21 14:36:35 +08:00
李通洲
faddef7a3b
Media (Windows): adds media cover extraction
2025-10-21 14:01:26 +08:00
Carter Li
2d9bbc8049
Media (Linux): adds media cover extraction
2025-10-21 09:44:36 +08:00
李通洲
64afaa07e7
Media (macOS): adds media cover extraction
2025-10-21 09:44:36 +08:00
李通洲
75ff054255
Dbus: adds 2nd argument to ffDBusGetMethodReply
2025-09-04 08:45:09 +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
李通洲
ad0ddfd7f1
Media (macOS): support old macOS version
2025-06-27 16:00:27 +08:00
李通洲
1da8367f55
Media (macOS): simplify now playing handling
...
Also improve performance
2025-06-27 14:28:45 +08:00
李通洲
9ac635e2e6
Media (Windows): detect player name (UMP apps only)
2025-05-13 15:46:33 +08:00
Carter Li
06427ee62b
Media (Linux): fix duplicated playback status
2025-05-09 19:23:28 +08:00
李通洲
1557f0c556
Media (macOS): support macOS 15.4
...
Fix #1737
2025-05-06 16:12:58 +08:00
李通洲
1d7b212d8d
Media: fix code smells
2025-03-27 16:44:14 +08:00
李通洲
10c8c1b4bf
Media (Linux): use file name as media name if song title is not available
2025-01-10 22:17:36 +08:00
李通洲
be99c4ca6e
Media (Linux): remove unused variables
2025-01-09 08:50:56 +08:00
Carter Li
2f13ee3814
Media (Linux): set player name manually for musikcube
2024-12-25 10:47:36 +08:00
Carter Li
28ec935c42
Media (Linux): report player name
2024-12-25 08:50:28 +08:00
李通洲
e0fd5111fe
Media (Linux): Fix #1461 (WIP)
2024-12-24 19:38:43 +08:00
Carter Li
16b7a4a1be
Media (Linux): improve performance of dbus communication
2024-11-20 08:43:41 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
c9d539090d
Global: remove --lib-xxx support
2024-09-04 15:56:11 +08:00
Carter Li
7c3835bd9f
DBus: increase dbus timeout
2024-08-08 09:01:41 +08:00
Carter Li
493cf8ff6c
Media (Linux): detect playing status; update dbus api change
2024-08-03 22:05:29 +08:00
Carter Li
db1fbe0a30
DBus: rename ffDBusGetValue to ffDBusGetString; add ffDBusGetUint16
2024-07-28 10:54:26 +08:00
李通洲
df0fb93542
Media (macOS): optimise
2024-06-12 15:52:09 +08:00
李通洲
671f5e2cec
Media (Windows): fix compiling for GCC
2024-06-11 19:48:25 +08:00
李通洲
cf4ed9d9dc
Media (Windows): finalize Windows support
2024-06-11 16:41:57 +08:00
李通洲
c4751eb834
Media (Windows): build winrt stuff statically
2024-06-11 15:46:30 +08:00
李通洲
ff3ddc774e
Media (Windows): detect with external DLL
...
For backup only
2024-06-11 15:24:33 +08:00
Carter Li
a3c0085e2b
Sound: tidy
2024-01-17 13:31:34 +08:00
李通洲
bb489f9af3
Common: get rid of detection/internal.h
2023-12-30 18:13:54 +08:00
李通洲
adae31304d
Media (macOS): tidy
2023-12-30 14:21:52 +08:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +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
李通洲
baa8992322
Global: refactor strcmp() == 0 to ffStrEquals()
2023-06-19 17:11:57 +08:00
李通洲
da76c6efbe
Global: refactor strncmp to ffStrStartsWith
2023-06-19 17:11:57 +08:00
李通洲
df4d6627ee
Player: make playerName a global config
...
`playerName` is used in `ffDetectMedia`, which is used in Module `media` and `player`.
2023-06-12 15:28:31 +08:00
李通洲
6a71e0fa75
Media: tidy, add fixme
2023-06-12 15:03:56 +08:00
李通洲
a4a801d83a
Player: add JSON config support
2023-06-10 09:15:15 +08:00