5496 Commits

Author SHA1 Message Date
Carter Li
dfe36daf79 Release: v2.31.0 2024-12-02 16:36:12 +08:00
李通洲
e9ab67b380 Processing (Linux): interrupt poll & read syscalls when the child process is exited
Fix #1418
2024-12-02 16:02:04 +08:00
Carter Li
f073f4882c Wifi (Linux): detect Wifi-7 2024-12-01 18:16:05 +08:00
李通洲
692ad502df Wifi (Windows): make unit of bitrates be consistant
Also fix a copy & paste bug
2024-11-30 23:50:06 +08:00
Raymond Kemboi
3004ce8565
Completion (Zsh): fix syntax error in completion file (#1421)
A syntax error in the file caused the following output when trying to trigger completions in `zsh` (pressing <TAB>):

```zsh
$ fastfetch    File "<stdin>", line 15
    command_prefix = f"--logo-color-{i}[{flag["desc"]} ({i})]"
                                               ^^^^
SyntaxError: f-string: unmatched '['
```
This fix replaces single quotes with double quotes in the f-strings in lines 37 and 41.
2024-11-29 10:25:58 +08:00
Ryan
ee8801b54d
WM (Linux): fix wl-restart parsing (#1422)
Make the WM name in `wl-restart -n 5 Hyprland` parse as "Hyprland"
instead of "-n".
2024-11-29 08:34:40 +08:00
李通洲
bbe239647b
Logo (Builtin): add Windows Server 2025
Fix #1420
2024-11-28 21:55:21 +08:00
Carter Li
77c06193d6 GPU (Linux): detect GPU NV type 2024-11-28 21:28:35 +08:00
李通洲
90bbefe11a
CPU (Windows): code cleanup 2024-11-26 22:02:57 +08:00
Carter Li
69a7e64e48 CPU (Linux): support up to 128-socket boards 2024-11-26 21:49:28 +08:00
Carter Li
ee564de461 CPU: change cpuCount to packages; support custom format
Fix #1413
2024-11-26 21:37:15 +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
AzimovParviz
7535ce8a18
Support for dual CPU systems (#1417)
* [macOS] Added support for dual CPUs on Mac computers

Signed-off-by: Koneko <azimovp17@gmail.com>

* Change how number of cores is displayed when the system is dual CPU

* Support for dual CPU on Windows

* Dual CPU detection on Linux basic implementation

---------

Signed-off-by: Koneko <azimovp17@gmail.com>
2024-11-26 08:53:01 +08:00
李通洲
b76eb87510
CI: fix building on macOS 2024-11-25 22:46:57 +08:00
李通洲
0cd7aeac19
Display (macOS): don't crash with NULL pointer references
Fix #1393
2024-11-25 22:23:24 +08:00
Carter Li
04088b5b2c Logo (Builtin): update MidOS
Fix #1409
2024-11-25 14:31:07 +08:00
Carter Li
e77c3119ca OS (Linux): check for lmde
Fix #1415
2024-11-25 14:20:52 +08:00
Carlos Henrique Lima Melara
3463fc331f
Scripts: use datetime to get date and set timezone to UTC (#1410)
This will ensure the package is reproducible even in different
timezones.
2024-11-24 10:22:57 +08:00
李通洲
64287eed21 Display: change physical size detection to use basic display parameters
Some monitor report invalid data in DTD.
Ref: #1406
2024-11-24 01:02:06 +08:00
李通洲
1b835544b6 Users: fix invalid var name
Fix #1408
2024-11-23 22:44:45 +08:00
Carter Li
55352be0cc Wifi (FreeBSD): support channel & frequency detection 2024-11-23 12:21:48 +08:00
Carter Li
c0be2637a8 Wifi (Android): silence compiler warnings 2024-11-22 15:37:01 +08:00
Carter Li
864fb918bc Chore: silence some warnings 2024-11-22 14:20:50 +08:00
Carter Li
2197cfb06d Wifi (Android): report more props 2024-11-22 13:53:04 +08:00
Carter Li
94f8ff938b Wifi: print channel band 2024-11-22 11:01:54 +08:00
Carter Li
7000317841 Wifi (Linux): detect frequency & channel number 2024-11-22 10:31:12 +08:00
李通洲
06055cc6c3
Wifi (macOS): fix build on old OS version 2024-11-21 22:03:25 +08:00
李通洲
601b9706b5
Display: report ppi to 0 if screen size is not available 2024-11-21 21:44:05 +08:00
李通洲
d48c76b597
Wifi: detect channel and frequency 2024-11-21 21:37:30 +08:00
李通洲
9a1d18556d
Display: don't report screen size when display is mirrored
Fix #1406
2024-11-21 15:29:14 +08:00
李通洲
71b073e1bf CMake: fix possible linking errors in BINARY_LINK_TYPE=dynamic mode 2024-11-20 22:13:10 +08:00
Carter Li
a567268ca1
Display (Linux): fix preferred resolution detection for wayland 2024-11-20 21:38:18 +08:00
李通洲
8b62ad72f7
Display (FreeBSD): fix build 2024-11-20 16:39:01 +08:00
李通洲
cee880cb83
Display: print preferred resolution & refresh rate in custom format
Fix #1406
2024-11-20 16:39:01 +08:00
李通洲
925c3471c2
Display: add scale factor in custom format 2024-11-20 16:39:01 +08:00
李通洲
7948e627b0
Display (Android): fix build 2024-11-20 16:39:01 +08:00
李通洲
4cca63a299
Display (Windows): detect preferred resolution & refresh rate 2024-11-20 16:39:01 +08:00
李通洲
21a35769a7
Display (macOS): detect maximum resolution & refresh rate 2024-11-20 16:39:01 +08:00
Carter Li
fa9290088d
Display (Linux): detect preferred resolution and refresh rate 2024-11-20 16:38:53 +08:00
Carter Li
3d5133eaba DisplayServer (Linux): remove support of xcb & xlib
They don't support multi-monitors. Prefer libdrm.
2024-11-20 09:37:32 +08:00
Carter Li
4cbcd0f107 Wifi (Linux): improve performance 2024-11-20 08:43:41 +08:00
Carter Li
fdc9bee4b3 DBus: use general.processingTimeout as its timeout instead hard coding 2024-11-20 08:43:41 +08:00
Carter Li
16b7a4a1be Media (Linux): improve performance of dbus communication 2024-11-20 08:43:41 +08:00
R0CKSTAR
465170428f
mtgpu: header file cleanup for forward compatibility (#1405)
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
2024-11-19 19:36:12 +08:00
Carter Li
e953ed9d88 Packaging: update debian stuff [ci skip] 2024-11-18 15:47:48 +08:00
Carter Li
6d45fe61b5
Merge pull request #1404 from fastfetch-cli/dev
Release: v2.30.1
2.30.1
2024-11-18 14:57:05 +08:00
李通洲
efc8504607
CMake: check return code of python scripts 2024-11-18 14:08:53 +08:00
李通洲
a9a08d8a80
Release: v2.30.1 2024-11-18 13:40:08 +08:00
李通洲
7f63ec1315
CMake: fix the destination where fastfetch_pciids.c.inc is generated 2024-11-18 13:36:31 +08:00