李通洲
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
98c94b01e5
Some more standard comformance
2022-09-23 11:51:16 +02:00
Linus Dierheimer
877ed94187
Fix possible crash if giving invalid format string
...
#252
2022-09-23 10:43:11 +02: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
d31d157b00
New caching mechanism for CPU
2022-09-21 17:26:10 +02:00
李通洲
f9fa482b83
Locale: try detecting with locale command
...
in case $LC_* envs are not set ( macOS )
2022-09-21 18:10:50 +08:00
Linus Dierheimer
f0cee064bd
Basic BSD support
2022-09-19 23:16:43 +02:00
Linus Dierheimer
f3e6d04c8e
Fix build on macos the second
2022-09-19 21:45:39 +02:00
Linus Dierheimer
d5846d94ca
Fix build on macos
2022-09-19 21:37:01 +02:00
Linus Dierheimer
2a61d29be9
sysctl utils
2022-09-19 21:31:50 +02:00
Linus Dierheimer
34b273186a
FF_LIBRARY_LOAD: don't implicit create pointer
2022-09-19 18:00:19 +02:00
Linus Dierheimer
e3acd8c155
Share more code between media detection on different platforms
2022-09-19 17:53:00 +02:00
Linus Dierheimer
87c3459f5d
Moved terminal font detection logic to detection folder
2022-09-18 15:53:51 +02: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
李通洲
9eeb216b70
util: add check macros to avoid possible mistakes
2022-09-16 23:43:08 +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
李通洲
f9695f4148
Vulkan: print detailed reason of why failing
...
instead of the general message `Failed to detect vulkan`
2022-09-15 13:32:08 +08: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
李通洲
93ac3f1971
Library: simplify macros
2022-09-12 21:10:05 +08:00
Linus Dierheimer
60c735d1a4
Enable Vulkan on MacOS
2022-09-09 20:37:56 +02:00
Linus Dierheimer
be7f8f4117
Swap module
...
#225
2022-09-08 14:51:31 +02:00
Linus Dierheimer
16a706d3c5
Seperate color config of title and keys
2022-09-07 19:50:10 +02:00
Linus Dierheimer
0b3bf3c273
Only build display server code on linux
2022-09-06 15:42:37 +02:00
Linus Dierheimer
54cb74c999
Separate gpu detection and printing logic
2022-09-05 17:42:42 +02:00
Linus Dierheimer
cfcc4c8375
MacOS cpu support
2022-09-04 14:12:04 -07:00
Linus Dierheimer
71779fa4b1
Basic MacOS support
2022-09-04 09:02:11 -07:00
Linus Dierheimer
14670b6144
Always cast to right tv_usec type
2022-09-04 14:41:00 +02:00
Linus Dierheimer
9d106c6672
Enable build on MacOS
...
Note that this commit just makes fastfetch compile, not work properly
2022-09-04 14:30:52 +02:00
Linus Dierheimer
d387800bda
Separate host detection and printing logic
2022-09-04 12:43:30 +02:00
Linus Dierheimer
f011f8851e
recache between commits too
2022-09-01 17:14:10 +02:00
Linus Dierheimer
873c7d93b6
Fix ffStrSet
2022-08-27 12:22:03 +02:00
Linus Dierheimer
f4ee8667b1
Binary prefix option
2022-08-26 16:02:04 +02:00
Linus Dierheimer
aa1237b0fd
Simplified config file loading logic
2022-08-22 12:45:20 +02:00
Linus Dierheimer
47373998d5
replace gethostbyname with getaddrinfo
...
#217
2022-08-21 23:35:22 +02:00
Linus Dierheimer
6cdb694e33
Do simple \ replacement in user strings
2022-08-18 11:36:30 +02:00
Linus Dierheimer
83016289e9
--set-keyless option
2022-08-18 10:44:21 +02:00
Linus Dierheimer
bba912d42e
Add missing include
2022-08-02 10:24:54 +02:00
Linus Dierheimer
d4c836fd25
Handle empty xdg env vars better
2022-07-30 23:30:46 +02:00