Carter Li
016b1e6961
Format: support syntax of {$ENV_VAR}
in custom format
...
CI / spellcheck (push) Waiting to run
CI / No-features-test (push) Waiting to run
CI / Linux-amd64 (push) Waiting to run
CI / Linux-aarch64 (push) Waiting to run
CI / Linux-armv7 (push) Waiting to run
CI / Linux-armv6 (push) Waiting to run
CI / Linux-riscv64 (push) Waiting to run
CI / Linux-ppc64le (push) Waiting to run
CI / Musl-amd64 (push) Waiting to run
CI / macOS-universal (push) Waiting to run
CI / SunOS-amd64 (push) Waiting to run
CI / FreeBSD-amd64 (push) Waiting to run
CI / DragonFly-amd64 (push) Waiting to run
CI / OpenBSD-amd64 (push) Waiting to run
CI / NetBSD-amd64 (push) Waiting to run
CI / Windows-amd64 (push) Waiting to run
CI / Release (push) Blocked by required conditions
Fix #1541
2025-02-08 22:54:25 +08:00
Carter Li
3dc51d5f88
FFstrbuf: improve performance of copying static strings
2025-01-03 10:59:01 +08:00
Carter Li
9955e9da02
CPU: remove duplicate whitespaces in CPU name
...
Eg. `Intel(R) Xeon(R) CPU E5620 @ 2.40GHz`
2024-11-26 21:27:36 +08:00
Carter Li
8b41cbd508
CPU (Linux): refactor; fix cpu count detection
2024-11-26 16:05:01 +08:00
李通洲
e618303343
Media (macOS): try fixing error CFStringGetCString() failed
2024-11-12 21:52:12 +08:00
apocelipes
0a61031463
tests: add FFstrbuf smallest allocation test & minor fix ( #1387 )
2024-11-11 07:58:24 +08:00
李通洲
4d7d367e72
FFstrbuf: add new methods ffStrbufPrependC
and ffStrbufInsertNC
2024-09-26 14:34:51 +08:00
李通洲
dc541ac781
Formatting: support syntax of sub string
...
Fix #1256 ; Ref #1255
2024-09-11 11:07:00 +08:00
李通洲
85d89395a9
Format: support syntax of padded string
...
Ref: #1237
2024-09-02 16:01:25 +08:00
李通洲
c795c20723
FFstrbuf: improve ffStrbufSubstr*
2024-07-16 15:39:06 +08:00
李通洲
8801921d02
Smbios: trim spaces
2024-01-06 18:33:57 +08:00
apocelipes
4868517d53
optimize(IO): reduce memory usage during reading data from files to FFstrbufs
...
Avoid unnecessary calls of ffStrbufEnsureFree and only allocate
necessary memory.
In most cases, this will save 30% ~ 50% of memory used by ffAppendFDBuffer.
2023-12-03 19:57:49 +08:00
李通洲
e4c1ec916b
FFstrbuf: change ffStrbufToUInt16
to more general function ffStrbufToUInt
2023-09-26 09:52:10 +08:00
李通洲
0d5cf52f08
FFstrbuf: add ffStrbufAppendNC
2023-09-15 10:35:12 +08:00
李通洲
309d1d2130
FFstrbuf: add ffStrbufCreateStatic
2023-07-25 17:35:09 +08:00
李通洲
e685a00a4b
FFstrbuf: remove ffStrbufRemoveStringsV; rename ffStrbufRemoveStringsA to ffStrbufRemoveStrings
2023-07-25 17:35:09 +08:00
李通洲
13f58f5f1b
FFPlatform: only add a path to data dirs if the path exits
2023-06-29 10:39:49 +08:00
李通洲
39582471e8
Global: major FFlist related code refactor
2023-06-10 09:15:15 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
3cee8f5475
FFlist: add new functions to make it be able to work as a queue
2023-01-13 19:08:14 +08:00
李通洲
0d722ebe0b
Config: add --list-config-paths
option
2023-01-02 16:51:11 +08:00
李通洲
822496808d
Windows: look for config files in $LOCALAPPDATA
2023-01-02 16:34:57 +08:00
李通洲
5efd7b9ac4
FFstrbuf: add ffStrbufContainC
2022-12-29 11:03:33 +08:00
李通洲
b4e2997389
Tests: don't include fastfetch.h
2022-12-08 18:29:24 +08:00
李通洲
983bd50a09
FFstrbuf: improve performance of InitF
2022-12-06 16:27:00 +08:00
李通洲
8b0d034a94
FFstrbuf: fix bug of AppendF when string len == ffStrbufGetFree
2022-12-02 22:20:01 +08:00
李通洲
47a0b8969f
FFstrbuf: more inline fns and more tests
2022-09-26 14:57:54 +08:00
Linus Dierheimer
8e856c3dd6
Wayland: don't leak memory
...
#256
2022-09-24 16:34:03 +02:00
李通洲
737b36e799
FFstrbuf / FFlist: add some improvements
...
1. make some short fns inlinable
2. simplify implementation
3. fix possible crashes with non-allocated strbuf
4. make the default init fn allocates no memory
5. add more tests
2022-09-24 22:18:48 +08:00
李通洲
484264027c
FFstrbuf: don't free string literals
2022-09-23 15:33:23 +08:00
Linus Dierheimer
3d0653025e
Leak sanitizer: no false positives
2022-09-22 22:02:58 +02:00
李通洲
e5b110375f
FFlist: add tests
2022-09-20 23:56:43 +08:00
李通洲
6eed53217d
FFstrbuf: fix bugs in ffStrbufAppendS; add more tests
2022-09-20 23:56:43 +08:00
Linus Dierheimer
d387800bda
Separate host detection and printing logic
2022-09-04 12:43:30 +02:00
Linus Dierheimer
707e0f930d
Refactor: don't include FFvaluestore global
2022-07-25 19:54:33 +02:00
Linus Dierheimer
97d2096df8
Delete performance test
...
I never really used it, and it didn't even build any more
2022-06-17 18:19:53 +02:00
Linus Dierheimer
3248afe91c
Prepare flashfetch for images in terminal too
2022-04-02 14:44:26 +02:00
Linus Dierheimer
fd450bcccc
Date Time support
2022-02-25 13:30:37 +01:00
Anna “CyberTailor”
aa9dd9c155
CMakeLists.txt: make tests optional
...
Run test-strbuf using ctest.
2022-02-21 12:30:06 +05:00
Linus Dierheimer
f54ac1c4e6
Update tests
2022-02-14 12:04:54 +01:00
Linus Dierheimer
e887b56209
Fix performance test
2022-01-22 23:03:09 +01:00
Linus Dierheimer
33127388f0
refactored FFstrbuf
2022-01-12 01:02:14 +01:00
Linus Dierheimer
d4f753a9f8
Moved detection files to their own folder
2021-12-20 16:34:46 +01:00
Linus Dierheimer
a011b55692
Custom logo colors support
2021-12-19 22:39:22 +01:00
Linus Dierheimer
bbbf00e834
Separator string option
2021-11-18 18:25:24 +01:00
Linus Dierheimer
fd257ddde9
better FF_UNUSED
2021-10-19 19:34:55 +02:00
yuannan
914cd9219d
tests multithreading
2021-10-18 02:40:33 +01:00
Linus Dierheimer
409b1f29a6
renamed calculation threads to detection threads
2021-06-15 13:12:29 +02:00
Sourajyoti Basak
e79209c7bf
Change shebang
2021-06-14 14:22:51 +05:30
Sourajyoti Basak
bc65c9f9c3
Add shebang
2021-06-14 12:18:39 +05:30