Commit graph

688 commits

Author SHA1 Message Date
ClementTsang
07efc3f301 opt: Only recalculate rect layout if resize or startup 2020-04-06 23:38:00 -04:00
Clement Tsang
9127cb1468
refactor/bug: Array bound checking, fix CPU jump 2020-04-06 23:04:04 -04:00
Clement Tsang
0a63ee46ef
refactor: Deal with some cognitive complexity 2020-04-06 00:40:55 -04:00
ClementTsang
c2eaaed8b7 docs: Add changelog 2020-04-05 23:41:05 -04:00
Clement Tsang
a40ddce84f
deps: Upgrade crossterm and sysinfo (#105) 2020-04-05 23:20:22 -04:00
ClementTsang
15a3eb4c7e (docs) Be more specific about manual installation 2020-04-04 23:20:50 -04:00
imgbot[bot]
09ab88e7bf
[ImgBot] Optimize images (#104)
/assets/basic_mode.png -- 155.11kb -> 111.93kb (27.83%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-04-04 20:35:02 -04:00
ClementTsang
e30ec757f7 (docs) Update README to contain info about basic 2020-04-04 18:36:20 -04:00
Clement Tsang
ba0fbf808e
(perf) Avoid harvesting if widget is not being displayed 2020-04-04 18:29:32 -04:00
Clement Tsang
620d614f12
(docs): Updates docs and removes a debug 2020-04-03 01:16:23 -04:00
Clement Tsang
4b756e9fe9
Merge pull request #101 from ClementTsang/imgbot
[ImgBot] Optimize images
2020-04-03 01:16:10 -04:00
ClementTsang
14c58507c0 (docs): Updates docs and removes a debug 2020-04-03 01:14:41 -04:00
ImgBotApp
a30f0bc929
[ImgBot] Optimize images
*Total -- 336.94kb -> 251.45kb (25.37%)

/assets/cpu_layout.png -- 215.94kb -> 160.37kb (25.73%)
/assets/sample_layout.png -- 121.00kb -> 91.08kb (24.73%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-04-03 05:10:24 +00:00
Clement Tsang
2a5d071096
(docs): Update README to be a bit nicer 2020-04-03 01:09:27 -04:00
Clement Tsang
a9c6b227a6
Update pull_request_template.md 2020-04-03 00:53:11 -04:00
ClementTsang
572d665a8a (docs): Update README to be a bit nicer 2020-04-03 00:50:56 -04:00
allcontributors[bot]
ebceed123d
docs: add shilangyu as a contributor (#99)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-04-02 20:54:18 -04:00
Marcin Wojnarowski
d82dae0b8d
Added scoop installation instructions (#89) 2020-04-02 20:52:57 -04:00
Clement Tsang
0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
Clement Tsang
c1a19f960f
Reworded a bit of the PR template 2020-03-30 00:49:12 -04:00
Clement Tsang
8b5414cc01
Update pull_request_template.md 2020-03-30 00:46:41 -04:00
dependabot-preview[bot]
f44de81874
Update assert_cmd requirement from 0.12 to 1.0 (#94)
Updates the requirements on [assert_cmd](https://github.com/assert-rs/assert_cmd) to permit the latest version.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.12.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 18:33:51 -04:00
ClementTsang
8c418dc2c2 Update travis for windows build 2020-03-23 23:02:29 -04:00
Clement Tsang
c4dca935f1
Moved badge 2020-03-20 11:10:55 -04:00
Clement Tsang
8ea83d6feb
Update README to fit in ac 2020-03-20 11:09:55 -04:00
allcontributors[bot]
cbd4841ab6
docs: add mqudsi as a contributor (#88)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-03-20 11:07:41 -04:00
allcontributors[bot]
3d83f5f967
docs: add shilangyu as a contributor (#86)
* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-03-20 11:06:12 -04:00
Clement Tsang
2ce99d3c43
[skip travis] Add contributor 2020-03-19 21:04:38 -04:00
Mahmoud Al-Qudsi
2b418fb506
Fix division by zero when memory data is not available (#85)
The total memory values may be zero when bottom is run on an unsupported
(or not-fully-supported) platform.

The previous behavior resulted in a NaN value for the memory datapoints,
which was passed through to tui-rs which ultimately panicked when
attempting to graph the memory widget.
2020-03-19 21:03:52 -04:00
Clement Tsang
cd6187ec5f
Change the wording of some items in the README 2020-03-17 19:21:37 -04:00
Clement Tsang
790e1044cf
Remove "tests" folder from travis, rename tar 2020-03-15 19:37:50 -04:00
Clement Tsang
a17bf0b973
Update pull_request_template.md 2020-03-13 01:09:21 -04:00
Clement Tsang
1968bb14b4
Cleanup before modularity (#84)
* Uptick some crates, update README dependencies

* Cleanup before modularity feature.

* Fix missing reset zoom on reset

* Fixed reset... not resetting search or data displayed

* Cleaned up options a tiny bit to make more sense.

* Cleaned up some TODOs and the like.

* specify only build master branch.
2020-03-13 01:07:24 -04:00
Clement Tsang
d9747f78e8
Uptick chocolatey version (in moderation) 2020-03-13 00:47:10 -04:00
Clement Tsang
d07cee0f7e
Fix cpu legend colouring (#83)
* Initial fix, but pending a rewrite.

* Initial fix, but pending a rewrite.

* Merged two separate iterations into one for cpu legend.

* Refactor average cpu, fix bug with legend and cursor.
2020-03-11 01:02:47 -04:00
Clement Tsang
7156392665
Merge pull request #82 from ClementTsang/fix_cpu_scroll
Fix cpu scroll
2020-03-10 22:44:30 -04:00
Clement Tsang
6c5f95aa5e
Merge branch 'master' into fix_cpu_scroll 2020-03-10 22:21:08 -04:00
Clement Tsang
d0bf247291
Merge pull request #81 from ClementTsang/fix_resize_scroll
Fix resizing breaking scrolling
2020-03-10 21:55:49 -04:00
ClementTsang
05e0e6bb82 Forgot to set size field upon detecting a resize... 2020-03-10 21:42:12 -04:00
ClementTsang
ee1504db89 Fix cpu scroll. 2020-03-10 21:36:13 -04:00
Clement Tsang
49bd298528
Merge pull request #78 from ClementTsang/dependabot/cargo/fern-0.6.0
Update fern requirement from 0.5.9 to 0.6.0
2020-03-10 12:52:11 -04:00
dependabot-preview[bot]
57fcd77d98
Update fern requirement from 0.5.9 to 0.6.0
Updates the requirements on [fern](https://github.com/daboross/fern) to permit the latest version.
- [Release notes](https://github.com/daboross/fern/releases)
- [Changelog](https://github.com/daboross/fern/blob/master/CHANGELOG.md)
- [Commits](https://github.com/daboross/fern/compare/fern-0.5.9...fern-0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-10 10:40:44 +00:00
Clement Tsang
3ab94edc5d
Merge pull request #76 from ClementTsang/time_scaling
Time scaling
2020-03-10 02:03:11 -04:00
ClementTsang
648864176f Updated documentation, made error in args clearer 2020-03-10 01:51:28 -04:00
ClementTsang
46f1b7df00 Redid how we auto-set time if we have autohide on. 2020-03-10 01:43:42 -04:00
ClementTsang
8630287676 Default to showing time at first for autohide. 2020-03-10 01:38:37 -04:00
ClementTsang
1046043138 Fix bug with autohide causing hide to break. 2020-03-10 01:26:30 -04:00
ClementTsang
e5588f1606 Add hiding time and autohiding time. 2020-03-09 00:52:29 -04:00
ClementTsang
78a05bc683 Fixes bug with too large inputs causing a panic
We would prefer a more graceful error message stating what went wrong.
Caught by the Travis test.
2020-03-08 22:27:41 -04:00
ClementTsang
f70cf02414 Add configurable default time and interval values
Also added documentation both in app and in the README.
2020-03-08 22:01:49 -04:00