李通洲
cba22b7155
Camera (Windows): init support
2024-02-02 20:36:22 +08:00
李通洲
59c1e3d8c5
Platform: detect real path of exe path
2024-01-28 10:45:21 +08:00
李通洲
6b0314f14b
Platform: fix exe path detection
2024-01-26 10:19:21 +08:00
Carter Li
025a708ecb
Shell: remove trailing \0 in JSON output
2024-01-25 10:33:06 +08:00
李通洲
9d7cbb0fe3
Revert "3rdparty: use a newer wcwidch implementation"
...
Unwanted change
This reverts commit 28ea765f19 .
2024-01-23 14:42:00 +08:00
李通洲
28ea765f19
3rdparty: use a newer wcwidch implementation
2024-01-23 10:19:02 +08:00
李通洲
1e4f174415
Shell (macOS): improve handling of xonsh
2024-01-18 14:07:29 +08:00
李通洲
0c844fc342
FFstrbuf: don't crash with ffStrbufInitStatic(&buf, NULL)
2024-01-15 15:22:33 +08:00
李通洲
22cdb1247f
TerminalShell: tidy; use case senstive string comparation where meaningful
2024-01-12 21:21:42 +08:00
李通洲
37e0a7b03f
stringUtils: tidy
2024-01-11 16:27:53 +08:00
李通洲
0645f559af
Monitor: detect serial number and manufacture date
2024-01-10 19:01:54 +08:00
李通洲
92e05f7e38
Chassis: don't print useless version
2024-01-10 14:44:14 +08:00
李通洲
f84bb1ebe2
Smbios: silence compiler warnings
2024-01-09 15:46:19 +08:00
李通洲
a160bc8de5
Gamepad (macOS): detect manufacturer
2024-01-09 15:28:03 +08:00
Carter Li
80cc4e3f4a
Host (Linux): detect serial number for Asahi Linux
2024-01-08 11:19:35 +08:00
李通洲
8801921d02
Smbios: trim spaces
2024-01-06 18:33:57 +08:00
李通洲
c0c32456e8
Board: detect serial number
2024-01-06 18:12:51 +08:00
李通洲
de91429e1a
CI: fix build
2024-01-06 17:11:39 +08:00
李通洲
1d35811253
Windows: make SMBIOS data a singleton
2024-01-06 17:11:26 +08:00
李通洲
446fe907d2
Smbios: add comments, tidy
2024-01-06 17:11:26 +08:00
李通洲
33f3199383
Host / Chassis (Windows): parse SMBIOS data directly
2024-01-06 17:11:25 +08:00
李通洲
b6c8649cbf
macOS: improve IO service related code generally
2024-01-05 15:00:50 +08:00
Carter Li
b6b1993f62
Battery (Linux): code refactor, support serial number detection
2024-01-04 15:16:51 +08:00
李通洲
db6d5d7fd6
Windows: get rid of InitOnceExecuteOnce
2023-12-30 14:19:25 +08:00
李通洲
c1f511c8f2
GPU: detect supported platform graphic API version
2023-12-29 23:13:44 +08:00
李通洲
0284f6bfd1
Font: tidy
2023-12-28 15:42:07 +08:00
Carter Li
cf98e6f5a1
Global: remove unexpected trailing line endings
...
Ref: https://github.com/fastfetch-cli/fastfetch/pull/671#issuecomment-1867777472
2023-12-23 00:19:50 +08:00
apocelipes
e85a4b9ff5
refactor(IO): clean up ffAppendFDBuffer
...
for 2 reasons:
- Simplify the Code.
- ffAppendFDBuffer can't make assumptions about how the read data will
be processed, so the trim calls are inappropriate.
2023-12-22 11:49:57 +00:00
李通洲
b3484088e9
FFPlatform (Linux): tidy
2023-12-17 11:46:28 +08:00
Carter Li
335022e034
SMBIOS: ignore more meaningless values
2023-12-17 09:10:11 +08:00
李通洲
165c213ed0
FFstrbuf: don't crash with ffStrbufAppendNC(&str, 0, 'c')
2023-12-11 15:21:16 +08:00
李通洲
97211df285
DiskIO (macOS): detect disk size
2023-12-04 08:59:41 +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
Marius Messerschmidt
ad5be0f0c2
Spelling: fix spelling of files in remaining files
2023-11-18 15:47:22 +01:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
Mohammed Keyvanzadeh
b4cd47cbc4
src: end va_list before returning ( #618 )
...
Explicitly end the `va_list` before returning in the `ffStrbufSetF()`
function as `va_list`s are not ended implicitly.
2023-11-08 20:16:44 +08:00
李通洲
3e0d97db2e
Platform: detect system page size
2023-11-08 00:10:16 +08:00
李通洲
df245f32ec
FFlist: add FF_LIST_GET
...
this macro can be safer to use than `ffListGet` because it detects wrong type convertion
2023-10-27 12:02:01 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +08:00
李通洲
1fe92738d8
macOS: embed Info.plist
2023-10-11 15:17:14 +08:00
李通洲
42cf88be9d
CPUUsage: support display value per core
2023-10-10 16:24:44 +08:00
李通洲
b2130477ae
DiskIO (macOS): add support
2023-10-08 16:29:53 +08:00
李通洲
12208b2c7c
Global: improve support of --help *-format
...
Also fix some bugs found when refactoring
2023-10-07 13:40:40 +08:00
Carter Li
8795d99f79
Brightness: add DDC/CI support for Intel
...
Doesn't work for me. Need more testing
2023-10-04 14:41:06 +08:00
李通洲
b29b78b321
NetUsage: finish module
2023-09-26 23:00:31 +08:00
李通洲
69373906ca
Windows: pre-basic msvc support
2023-09-26 20:13:32 +08:00
李通洲
e4c1ec916b
FFstrbuf: change ffStrbufToUInt16 to more general function ffStrbufToUInt
2023-09-26 09:52:10 +08:00
李通洲
1caaa69deb
Platform: fix memleaks
2023-09-23 11:58:46 +08:00
李通洲
5aa2798e42
Kernel (Windows): detect service pack version
2023-09-23 11:51:37 +08:00
李通洲
939165d4cf
Platform: align logic of getting host name to neofetch
...
Fixes : #561
2023-09-18 13:56:32 +08:00