李通洲
3cc6611614
Windows: support native Windows
2022-10-13 23:49:09 +08:00
Linus Dierheimer
d54f14a14c
ffStrbufLastIndexC: account for empty strings
...
#285
2022-10-11 12:37:54 +02:00
李通洲
e7c9b80d85
Fix building on Linux
...
It seems that glibc doesn't support strnstr, and strcasestr requires
_GNU_SOURCE to be defined
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
李通洲
47a0b8969f
FFstrbuf: more inline fns and more tests
2022-09-26 14:57:54 +08:00
李通洲
737b36e799
FFstrbuf / FFlist: add some improvements
...
1. make some short fns inlinable
2. simplify implementation
3. fix possible crashes with non-allocated strbuf
4. make the default init fn allocates no memory
5. add more tests
2022-09-24 22:18:48 +08:00
Linus Dierheimer
d337126c80
Fix possible crash in strbuf
2022-09-24 00:43:55 +02:00
Linus Dierheimer
007ded2883
Revert "Don't inline strbuf methods on macos"
...
This reverts commit c32f2f2f2b .
2022-09-23 12:11:04 +02:00
Linus Dierheimer
c32f2f2f2b
Don't inline strbuf methods on macos
2022-09-23 12:05:07 +02:00
Linus Dierheimer
8f30d0cdd8
Move inline functions to end of header
2022-09-23 01:27:25 +02:00
Linus Dierheimer
80f18e2473
Don't force inline
2022-09-23 00:49:43 +02:00
Linus Dierheimer
1700d23c26
Always inline some strbuf methods
2022-09-23 00:10:48 +02:00
李通洲
254c4e5f50
WMTheme: support macOS
2022-09-20 21:49:11 +08:00
李通洲
9eeb216b70
util: add check macros to avoid possible mistakes
2022-09-16 23:43:08 +08:00
Linus Dierheimer
ea60fd0a0d
Separate cpu detection and printing logic
2022-09-04 22:20:12 +02:00
Linus Dierheimer
d387800bda
Separate host detection and printing logic
2022-09-04 12:43:30 +02:00
Linus Dierheimer
c440fdfca8
Uses instance->state.configDirs consistenlty (in particular thread save) troughout the project
2022-06-22 20:14:10 +02:00
Linus Dierheimer
5e96ba8384
Fix cpu temp detection the second
2022-06-16 14:55:02 +02:00
Linus Dierheimer
22a8cfdcfe
Remove obsolete strbuf function
2022-06-08 17:14:11 +02:00
Linus Dierheimer
572d4ec8e9
NixOS support
2022-04-21 17:59:26 +02:00
Linus Dierheimer
f21013f646
Use same variable name in definition and declaration
2022-01-12 01:33:03 +01:00
Linus Dierheimer
33127388f0
refactored FFstrbuf
2022-01-12 01:02:14 +01:00
Linus Dierheimer
816d86aee8
Public IP module
2022-01-10 20:20:18 +01:00
Linus Dierheimer
f73137aef8
Better filtering of batteries
2021-12-31 14:12:44 +01:00
Linus Dierheimer
7ced537e59
FFstrbuf is now always null terminated
2021-11-17 10:59:31 +01:00
Linus Dierheimer
588a68ac4c
Better OS output
2021-07-12 19:01:31 +02:00
Linus Dierheimer
2c599b5924
prettier cursor output
2021-06-26 16:48:15 +02:00
Linus Dierheimer
582d5b6473
better naming of strbuf methods
2021-06-26 15:34:01 +02:00
Linus Dierheimer
bd3c236480
a bit better parsing of fonts
2021-05-23 19:40:34 +02:00
Linus Dierheimer
eea74b085b
prettier GPU output
2021-05-07 17:10:22 +02:00
Linus Dierheimer
a389b89ff0
supprt for custom / multiple config dirs
2021-05-07 14:55:43 +02:00
Linus Dierheimer
a7784f5a88
better os output
2021-05-05 21:12:42 +02:00
Linus Dierheimer
d469120e9b
format string more like template language
2021-04-24 21:42:48 +02:00
Linus Dierheimer
e28126f40e
better result handling of calculation functions
2021-04-22 21:41:42 +02:00
Linus Dierheimer
1d47eb0c60
shell version support
2021-04-18 15:19:21 +02:00
Linus Dierheimer
4e54117238
better cpu name prettifier
2021-04-17 14:37:32 +02:00
Linus Dierheimer
9bc1f2a116
much more efficient caching
2021-04-15 18:59:26 +02:00
Linus Dierheimer
0ed54eddc4
plasma color theme detection
2021-04-09 19:21:56 +02:00
Linus Dierheimer
de312adb52
better gtk detection
2021-04-05 19:25:34 +02:00
Linus Dierheimer
67465d266e
more efficient memory usage
2021-04-03 12:14:25 +02:00
Linus Dierheimer
a8821cf6f0
some terminal improvements
2021-04-02 16:21:52 +02:00
Linus Dierheimer
307fc61184
better structure looping
2021-03-28 20:09:29 +02:00
Linus Dierheimer
c44bd6dbc1
better disk output
2021-03-28 15:38:52 +02:00
Linus Dierheimer
184eafce20
better cpu output
2021-03-28 13:02:40 +02:00
Linus Dierheimer
f61ffdb149
removed ffStrbufIsEmpty
2021-03-23 19:48:52 +01:00
Linus Dierheimer
a0af3b0eb6
ffStrbufPutTo
2021-03-22 20:02:32 +01:00
Linus Dierheimer
2004544528
using strbuf for loading/saving cached values
2021-03-21 20:42:07 +01:00
Linus Dierheimer
101d19a015
ffGetFileContent now uses FFstrbuf for preventing buffer overflows
2021-03-21 16:52:17 +01:00
Linus Dierheimer
1ceb5c91ac
format options for every output!
2021-03-19 20:57:07 +01:00