李通洲
7b2d4b7a0d
Wifi: silence compiler warnings
2024-07-03 15:27:06 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
李通洲
b308ded1e1
Global (Linux): silence some compiler warnings
2024-06-05 16:11:52 +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
Carter Li
c04c040713
Wifi (FreeBSD): fix bssid & status detection
2024-05-18 11:58:35 +08:00
李通洲
74c89cc03f
Wifi (Linux): try fixing #811
2024-04-26 19:26:58 +08:00
李通洲
31b3fe403a
Wifi (Linux): remove trailing \n
...
Fix #697
2024-01-22 11:10:30 +08:00
Carter Li
e8c067ff3d
Wifi (Linux): don't print invalid information
2024-01-08 11:32:39 +08:00
李通洲
ff0f91dc3c
macOS: fix mem leaks
2024-01-03 10:12:48 +08:00
apocelipes
113b1b8fc2
fix: fix trailing space
2023-12-23 02:55:14 +00:00
李通洲
b8b15c5170
Wifi (macOS): support most auth types
2023-12-19 18:48:38 +08:00
李通洲
8ed5d30b3e
Wifi (Windows): use less magic numbers
2023-12-13 19:33:20 +08:00
Marius Messerschmidt
40e977be31
Spelling: fix spelling of files in src/detection/
2023-11-18 15:47:22 +01:00
Marius Messerschmidt
f78f6ceb54
fixup! ClangTidy: avoid reserved identifier names
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
42c03b2383
ClangTidy: avoid reserved identifier names
2023-11-18 12:31:57 +01:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
04409f4381
Wifi (macOS): better (or worse) support of security detection
2023-10-27 12:02:01 +08:00
李通洲
bd898e4006
Wifi (macOS): additional fix of Sonoma compatibility
2023-10-26 09:50:51 +08:00
李通洲
2c49dcceaf
Options (Library): split code
2023-10-25 16:24:24 +08:00
李通洲
839ff311de
Wifi (macOS): work around #581
2023-10-13 16:47:45 +08:00
李通洲
076324e60e
Wifi (macOS): remove undesired code
2023-10-11 15:23:21 +08:00
李通洲
e319be19de
Wifi (macOS): print <unknown ssid> when we can't get SSID
...
SSID is not available after Sonoma. According to the doc: SSID information is not available unless Location Services is enabled and the user has authorized the calling app to use location services.
2023-10-11 14:48:48 +08:00
李通洲
6d1bde17c8
Wifi (macOS): silence compiler warnings
2023-09-25 16:11:00 +08:00
李通洲
cebc5cd77a
Wifi (Linux): support signal quality detection with ioctl
...
Also don't show 802.11 as protocol
2023-08-08 00:37:03 +08:00
李通洲
0c86e458ce
Wifi (Linux): don't make iw a slow operation
2023-08-01 23:19:49 +08:00
李通洲
396cec8033
Wifi (Android): use yyjson to parse JSON string
2023-07-19 15:44:40 +08:00
李通洲
da4ec98f47
Wifi (Linux): fix false errors when built without libnm support
2023-07-13 07:46:40 +00: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
李通洲
da76c6efbe
Global: refactor strncmp to ffStrStartsWith
2023-06-19 17:11:57 +08:00
Carter
2896ea0437
Wifi (FreeBSD): add dirty support
2023-06-15 15:55:02 +00:00
Linus Dierheimer
29f070fc1f
Wifi: Workaround: Check if header is present
2023-06-12 16:15:29 +02:00
Linus Dierheimer
216ae71f7f
Don't use linux/if_packet.h
2023-06-12 16:02:56 +02:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
4f19bf9a18
Windows: use ffStrbufInitWS
2023-05-27 23:34:03 +08:00
李通洲
725d2f2612
Windows: fix <Windows.h> header mess
2023-03-25 00:50:40 +08:00
李通洲
199f2fc0cd
Wifi (Linux): fix compiling with musl ( #429 )
2023-03-04 09:46:21 +08:00
李通洲
e05d9da231
Battery / Wifi: fix missing NULL for ffProcessAppendStdOut
2023-02-22 15:12:37 +08:00
李通洲
3e068d16df
Wifi / Battery (Android): more accurate checks
2023-02-21 21:25:02 +08:00
李通洲
304f171d38
Battery / Wifi (Android): add more debug messages
2023-02-21 09:42:41 +08:00
李通洲
6ca4b5391b
Library: refactor FF_LIBRARY_LOAD to use __cleanup__
2023-02-15 14:51:04 +08:00
Linus Dierheimer
7a8b94b6d4
Fix build with older libnm versions
2023-02-03 14:20:15 +01:00
Linus Dierheimer
a1ea7804f3
IO: Separate platform specific implementations
2023-01-28 12:40:12 +01:00
Linus Dierheimer
2c51d55ba2
IO: don't require posix specific stuff for ffPathExists
2023-01-28 11:52:23 +01:00
李通洲
e8bde5a394
Wifi: fix compiling on macOS
2023-01-21 16:23:28 +08:00
李通洲
c1444c0822
Android: support Wifi & Battery by using termux-api
2023-01-21 15:23:40 +08:00
李通洲
622a5c267b
Wifi: fall back to ioctls if fail to loading libnm libs
2023-01-18 01:00:00 +08:00
李通洲
c746cde61e
Wifi: code refactor; fix a silly copy & paste error
2023-01-17 15:52:51 +08:00
李通洲
f28805fb94
Wifi: detect more information using libnm (Linux)
2023-01-17 05:36:43 +08:00
李通洲
df793c20fd
Wifi: use ioctls instead of iw (Linux)
2023-01-17 10:43:55 +08:00
李通洲
1c93d68e7b
Wifi: add basic Linux support using iw
2023-01-16 00:33:31 +08:00