李通洲
e4a5194115
Rework stdout buffering on Windows.
...
Windows doesn't support line-buffering. We enable full-buffering instead and flush buffers per module.
2022-12-14 16:27:04 +08:00
李通洲
b09aa3240a
Global: support --stat option for benchmark
2022-12-14 11:30:50 +08:00
李通洲
68b98c1bd2
Windows: disable stdout buffer
2022-12-10 22:47:53 +08:00
李通洲
b4e2997389
Tests: don't include fastfetch.h
2022-12-08 18:29:24 +08:00
李通洲
5e5442426c
Wifi: load wlanapi.dll dynamically
...
Windows Server doesn't support it
2022-11-27 16:22:30 +08:00
李通洲
a55add190c
Wifi: add new module
...
Only Windows is supported currently
2022-11-27 12:21:53 +08:00
李通洲
b6b95581cd
Windows: partially revert a5306d60ee to fix crashes on Windows 7
...
Very strange behavior. Needs further investigation
2022-11-20 02:18:06 +08:00
李通洲
a5306d60ee
Windows: enable console processing, disable output buffer
...
UCRT doesn't support line buffering, which makes modules being not printed ASAP
2022-11-15 14:50:57 +08:00
李通洲
46ebb52afa
Thread: split ffThreadCreateAndDetach; add ffThreadJoin
2022-11-03 20:25:09 +08:00
李通洲
ed85b8249a
Init: enable buffering on Windows
2022-10-23 17:54:02 +08:00
李通洲
0aac358e33
Init: simplify module arg parsing code
2022-10-23 10:08:02 +08:00
李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
Linus Dierheimer
19a9b18c69
Disk: Linux impl working
2022-10-17 13:19:48 +02:00
李通洲
1b7a2c2ed5
MSYS2: remove support
...
MSYS2 version was built for smooth transition from POSIX api to Win32 api. It has almost identical output as Windows native version, except requiring msys runtime dll and being a bit slower.
2022-10-14 18:33:11 +08:00
李通洲
3cc6611614
Windows: support native Windows
2022-10-13 23:49:09 +08:00
李通洲
1b594d9ed1
Thread: add common thread abstraction layer, and make threading optional
2022-10-12 21:59:21 +08:00
李通洲
2a491a8da9
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 21:10:43 +08:00
Linus Dierheimer
b548c6405b
Destroy everything
...
#276
2022-10-09 13:34:55 +02:00
李通洲
661c174348
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 16:55:51 +08:00
Linus Dierheimer
1dd942a7b1
TARGET_DIR_ETC
2022-10-09 10:39:57 +02:00
李通洲
89850535ae
Windows: replace __CYGWIN__ with __MSYS__
2022-10-09 15:37:14 +08:00
李通洲
230d2ac39d
Board: split out from host; add support for Windows
2022-10-06 23:03:15 +08:00
李通洲
c7e6e45078
Host: split Bios module; init support for Windows
2022-10-06 23:02:39 +08:00
李通洲
eaa4230bf5
Windows: add basic support for msys2
2022-10-06 23:01:19 +08:00
Carter Li
01dbd0c266
macOS: completely drop libplist dependency
2022-10-02 01:54:43 +08:00
Linus Dierheimer
e6e189497d
Refactor font output
2022-09-29 14:15:11 +02:00
李通洲
8a52836afc
Init: don't pay for unused module
...
Networking can be very slow
2022-09-29 18:33:37 +08:00
李通洲
9cf95620a9
Weather: add new module
2022-09-29 18:33:37 +08:00
李通洲
c72c6c4a27
PublicIp: add option to set public IP server URL
2022-09-29 18:33:37 +08:00
李通洲
e289db184c
PublicIp: improve performance
2022-09-29 18:33:37 +08:00
李通洲
db6ad5a268
CpuUsage: improve performance
...
by moving the first `/proc/stat` query earlier
2022-09-27 23:41:39 +08:00
李通洲
5096b4a81d
Common: add missing features
2022-09-27 23:30:55 +08:00
李通洲
5c64ce3b89
Users: add missing module settings
2022-09-27 23:30:55 +08:00
李通洲
38a6d07c85
TerminalFont: support Termux
2022-09-27 23:30:55 +08:00
李通洲
f324794f54
LocalIp: add option --localip-name-prefix
...
eg: --localip-name-prefix en
2022-09-26 16:20:51 +08:00
李通洲
b2da8bac41
Font: add option to display fonts inline ( enabled by default )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
李通洲
ed5d7292ba
TerminalFont: support Windows Terminal detection
2022-09-24 01:49:08 +08:00
李通洲
371b3a2d75
Disk: better folder detection, support removable devices ( macOS )
2022-09-23 21:23:48 +08:00
Linus Dierheimer
3d0653025e
Leak sanitizer: no false positives
2022-09-22 22:02:58 +02:00
李通洲
cbab8d7f70
Fix some memleaks
2022-09-22 21:28:20 +08:00
李通洲
6e09157235
Battery: add power adapter support ( macOS )
2022-09-22 19:07:18 +08:00
Linus Dierheimer
051a043a4b
Merge pull request #237 from CarterLi/master
...
[macOS] Implement `swap` `processes` `Terminalfont`
2022-09-17 17:18:18 +02:00
Linus Dierheimer
913a3e79d4
Fixed a memory leak in config dirs init
2022-09-17 16:44:59 +02:00
Carter Li
b59227e49f
Terminalfont: add iTerm2 support ( macOS )
2022-09-17 21:09:36 +08:00
Linus Dierheimer
e98c18a64b
Fix two compiler warnings
2022-09-15 12:10:48 +02:00
Linus Dierheimer
acba1d29d9
Enable multithreading on macos
2022-09-15 11:59:06 +02:00
Linus Dierheimer
ac330430bf
Link apple frameworks at compile time
2022-09-14 14:55:28 +02:00
Linus Dierheimer
52275b89dc
Try to unify linux and apple code paths
2022-09-14 12:41:43 +02:00
李通洲
a8b0e77189
OpenGL / OpenCL: add macOS support
...
Note: FF_LIBRARY_LOAD and friends are not used because loading framework
bundles are not supported by FF_LIBRARY_LOAD and support it is not easy.
Since CGL is guaranteed to be supported by macOS system, we simply use
static linking in this case.
2022-09-13 17:03:26 +08:00