Clement Tsang
32d816fa8f
docs: update changelog
2023-01-04 02:34:17 -05:00
Clement Tsang
8f9097b90c
bug: fix CPU 'all' label missing on small sizes ( #953 )
...
Fixes the "All" label being missing on small windows.
2023-01-04 01:55:46 -05:00
Clement Tsang
0093a45be9
bug: reduce battery text cutoff in small windows ( #952 )
...
Fixes an issue where small windows would cause the battery to-X time to be cut off.
2023-01-04 01:27:15 -05:00
Clement Tsang
21f1503277
docs: update note on unofficial FreeBSD support
2023-01-02 15:45:30 -05:00
Clement Tsang
7c53f088c3
ci: add build hash to nightly builds for version ( #951 )
...
This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to.
2023-01-02 15:18:05 -05:00
Clement Tsang
a56e7f6cc9
feature: split usage into usage percentage and value ( #950 )
...
Denotes both usage and usage percentage. This also redoes the calculation for percentage to be based on the sum of avail + used, rather than on total, as otherwise we get potentially confusing percentages.
2023-01-01 05:08:04 -05:00
Clement Tsang
d7e9fd6be0
other: run rustfmt ( #949 )
2023-01-01 04:35:08 -05:00
Clement Tsang
0adefababf
ci: use a better way of getting branch from tagged builds for CirrusCI ( #948 )
...
* ci: use a better way of getting branch from tagged builds for CirrusCI
* add a bit more logging
2023-01-01 03:18:47 -05:00
imgbot[bot]
543fd6c047
docs: [ImgBot] Optimize images ( #947 )
...
/assets/demo.gif -- 3,692.42kb -> 3,226.92kb (12.61%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-01-01 00:59:43 -05:00
Clement Tsang
a4b5e38fd2
ci: update action-gh-release dependency ( #946 )
2023-01-01 00:23:11 -05:00
Clement Tsang
a956d9e9a1
ci: remove typo in chocolatey template ( #944 )
2022-12-31 22:08:52 -05:00
Clement Tsang
4d5a58c3ec
ci: default to master branch on tag release ( #943 )
2022-12-31 21:50:17 -05:00
Clement Tsang
0fa11fb5c5
ci: disable cache for cross release gen ( #942 )
2022-12-31 21:14:18 -05:00
Clement Tsang
b7bf57481f
docs: update demo to 0.7.0 ( #941 )
...
* docs: update demo to 0.7.0
* update again
2022-12-31 20:47:33 -05:00
Clement Tsang
e654322743
docs: update debian install instructions regarding ARM
2022-12-31 17:52:31 -05:00
Clement Tsang
46884d48f0
uptick: 0.7.0 ( #940 )
2022-12-31 17:50:20 -05:00
Clement Tsang
3b5774117f
bug: fix search scrolling with wider Unicode characters. ( #938 )
...
This should help make search scrolling more reliable larger Unicode characters like CJK/flag characters.
2022-12-31 05:51:59 -05:00
Clement Tsang
efcf2bde29
other: use custom time chart grid implementation ( #937 )
...
Pulls in the tui-rs grid logic so I can implement custom braille painting logic. We basically "flatten" the layering logic into a single layer by replacing resetting cells if the colour is different. This avoids the multiple allocations if we used multiple layers as intended with tui-rs.
This gives us chart results similar to the current stable version, but with a flamegraph similar to the current master branch.
2022-12-30 03:06:48 -05:00
Clement Tsang
21a21b86c0
ci: clean all workflow caches to script ( #936 )
2022-12-30 00:56:27 -05:00
Clement Tsang
32da5f39bb
bug: fix dot marker setting not being considered ( #934 )
...
* bug: fixes marker settings being ignored while rendering time charts
* appease clippy
2022-12-27 06:37:47 -05:00
Clement Tsang
0a9a6cfa60
docs: fix readme workflow shield ( #935 )
2022-12-27 06:37:31 -05:00
Clement Tsang
d8da12ffab
ci: add a timeout for builds and CI ( #930 )
2022-12-09 03:50:49 -05:00
Clement Tsang
07fd2152f4
docs: update changelog + docs for default expansion feature ( #928 )
2022-12-07 04:28:43 -05:00
allcontributors[bot]
c38313abeb
docs: add sou-chon as a contributor for code ( #927 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-12-06 19:34:53 -05:00
Chon Sou
4272dd0c2d
feature: Adding default expanded option to commandline and config ( #919 )
...
* [#822 ] adding default expanded option to commandline and config
* refactoring (#919 )
* nullifying default expanded when in basic mode (#919 )
2022-12-06 19:34:41 -05:00
Clement Tsang
1920f4b2e1
other: add a redraw event on resize ( #926 )
2022-12-05 04:34:19 -05:00
Clement Tsang
ac5e2ce4a2
bug: fix incorrect text width calculation ( #925 )
...
* bug: fix incorrect text calculation
* actual fix, add tests
* appease clippy
* add link to inspiration
2022-12-05 04:21:37 -05:00
Clement Tsang
d3577bd1ab
other: don't draw on non-updating events ( #924 )
2022-12-03 01:18:47 -05:00
Clement Tsang
5cce30c7f1
ci: fix freebsd Cirrus build script ( #923 )
2022-12-02 21:57:41 -05:00
Clement Tsang
3e47383b25
ci: add freebsd 12 as a build/check target ( #922 )
...
* ci: add freebsd 12 as a build/check target
* forgot to add 12 for tests
2022-12-02 20:12:49 -05:00
Clement Tsang
9c3e60e74f
other: slightly reduce the CPU time spent for draws ( #918 )
...
* other: group all dataset draws in a time chart
We used to draw each data set separately as a new canvas. Now, in one
canvas, we draw all datasets.
Note that this changes how dataset lines are drawn - rather than
drawing one on top of another, it now draws kinda all at once. This
effect is *kinda* a bit better IMO, but it might also look a bit
more cluttered.
* other: optimize truncate_text
Flamegraphs showed that this area seems to be a bit heavy at times with
some inefficient use of iterators and collection. This change should
hopefully optimize this a bit by reducing some collections or
reallocations.
There can also be some further optimizations with less allocations from
callers.
* Reduce some redundant draws
2022-11-29 03:53:58 -05:00
Clement Tsang
913c9ed5c6
refactor: move widgets out of the app folder nesting ( #917 )
...
Moves the widget folder away from being nested in the app hierarchy.
2022-11-28 00:26:58 -05:00
Clement Tsang
8338a30752
bug: fix possible gaps with widget layout spacing ( #916 )
...
Fixes an occasional gap appearing due to how rect spacing was previously calculated.
2022-11-26 05:00:38 -05:00
ClementTsang
541867e5af
docs: clean up command line flag docs
2022-11-22 05:15:15 -05:00
Clement Tsang
27fc7a7768
other: change non-normalized shortcut ( #912 )
2022-11-22 05:12:35 -05:00
database64128
a0eebf3acb
bug: fix reading temperature from disabled devices ( #911 )
2022-11-21 15:36:06 -05:00
Clement Tsang
4f00434210
other: non-normalized process CPU% cleanup and docs ( #910 )
...
* refactor: simplify non-normalized code
* update docs
* appease clippy
* add comment
* unnormalized
* fix issues on non-Linux regarding typos/imports
2022-11-21 05:28:42 -05:00
allcontributors[bot]
f887096cea
docs: add database64128 as a contributor for code ( #909 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-11-21 03:34:40 -05:00
Clement Tsang
db07246f67
other: don't use manual map for color name mapping ( #908 )
...
* other: don't use manual map for color name mapping
I actually don't know why I was doing it like that before.
This commit removes the phf crate, as it's not needed anymore.
* update test
2022-11-21 03:34:33 -05:00
database64128
71bc6c940e
feature: per-core process cpu usage percentage ( #899 )
2022-11-21 03:12:47 -05:00
Clement Tsang
9e4aed7d56
ci: bump cargo deb in CI ( #906 )
2022-11-20 04:28:23 -05:00
ClementTsang
dd4b19866d
other: update Debian extended description
2022-11-20 03:22:22 -05:00
Clement Tsang
abff6e4a7a
bug: fix is_nan being incorrectly used to check for division by zero ( #905 )
2022-11-20 03:05:45 -05:00
Clement Tsang
63df220a38
other: clean up some strings ( #904 )
...
* other: clean up some strings
* formatting
2022-11-20 02:21:20 -05:00
Clement Tsang
6a0bf10760
other: some cleanup in proc widget ( #903 )
2022-11-20 01:13:24 -05:00
Clement Tsang
fd1badaf36
other: small linux process cleanup ( #902 )
2022-11-19 23:21:50 -05:00
Clement Tsang
b7ac83e926
other: shrink the timed data vector in addition to clearing ( #900 )
...
Should prevent the times series vector from possibly growing indefinitely.
2022-11-19 15:09:53 -05:00
Clement Tsang
f52b66a844
other: deduplicate sorts, always sort proc by PID first ( #898 )
...
* other: deduplicate sorts, sort proc by PID by default
* add proc test
* remove sort in Windows
* fix tree
* fix test
* Remove mut
* Add comment on sorting processes
2022-11-17 12:10:36 -05:00
Clement Tsang
a07fa305fb
bug: redirect stderr on FreeBSD to avoid drawing on UI ( #897 )
2022-11-17 03:18:05 -05:00
Clement Tsang
31d2e4a746
github: update bug report template OS input
2022-11-16 18:32:14 -05:00