Commit Graph

629 Commits

Author SHA1 Message Date
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
ClementTsang
3026fbd1bc Add time scaling. 2020-03-08 19:47:10 -04:00
ClementTsang
6d0b7035d3 Redid basic mode logic and separated CPU
* Separated CPU into CPU legend and graph

* Redid how I did maximizing with basic mode
2020-03-08 16:17:28 -04:00
Clement Tsang
01b37368b2
More basic cleaning (#74)
* Add htop link.

* Move dd and help dialog into separate files

* Move to  folder

* Properly show error message if DD fails on macOS and linux.
2020-03-08 13:56:18 -04:00
Clement Tsang
226c4e5a68
Clean up and manage some basic stuff (#73)
* Remove debug statement.

* Remove redundant functions from main

* Update pull request template.

* Format temperature line.

* Update README for chocolatey.

* Add note about basic mode and htop's inspiration.
2020-03-08 00:35:01 -05:00
Clement Tsang
6342686e22
Merge pull request #72 from ClementTsang/split_widgets_up
Split up widgets to make it a bit easier to work with.
2020-03-07 23:57:22 -05:00
ClementTsang
03ec52c5b1 Split up widgets to make it a bit easier to work with. 2020-03-07 23:47:53 -05:00
Clement Tsang
132a5a2170
Fix dialog box height and scroll label (#71)
* Fixes search with small mode by changing the prompt based on size.

* Minor fixes for search

- Remove ignore unused var lint
- Add a bit more spacing to deal with large unicode
- Add on-right movement on type

* Add contributor's list and bug/req section

* Check for div by zero

* Fix for dd in terms of sizing.

* Added (temporary) fix for help box.  Scrolling is the ideal solution but will leave that for another time.
2020-03-05 23:54:39 -05:00
imgbot[bot]
e16eb832fc
[ImgBot] Optimize images (#68)
/assets/cpu_filter.png -- 100.80kb -> 87.13kb (13.56%)

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

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-05 20:33:04 -05:00
Clement Tsang
f2b5f96d80
Fix by doublechecking the remaining width calculation. (#67) 2020-03-05 11:46:38 -05:00