Commit graph

108 commits

Author SHA1 Message Date
Clement Tsang
ba0fbf808e
(perf) Avoid harvesting if widget is not being displayed 2020-04-04 18:29:32 -04:00
Clement Tsang
0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -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
ClementTsang
ee1504db89 Fix cpu scroll. 2020-03-10 21:36:13 -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
e5588f1606 Add hiding time and autohiding time. 2020-03-09 00:52:29 -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
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
Clement Tsang
d018c6ee88
Make update rate u128 across the board. (#64) 2020-03-05 01:30:53 -05:00
ClementTsang
32ca9edf11 Fix highlighting and cpu filtering when maximized 2020-03-04 18:16:19 -05:00
ClementTsang
f3ebed6185 Add table indicator to basic. 2020-03-03 00:48:07 -05:00
ClementTsang
1ba1b0318f Fixed bug with basic mode and default position with basic variants. 2020-03-02 23:45:44 -05:00
ClementTsang
225ad5366c Added proper navigation for basic mode. 2020-03-02 00:09:45 -05:00
ClementTsang
fcd529aca2 Fixed column organization, need to refactor CPU side to remove any redundant code. 2020-03-02 00:09:45 -05:00
ClementTsang
14c2320de2 Added highlighting + begin finalizing arrangement. Still not done. 2020-03-02 00:09:45 -05:00
ClementTsang
4c98fe4fde Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
eb2622467f Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
ff43799037 Add basic flag + option. Not functional yet. 2020-03-02 00:09:45 -05:00
ClementTsang
c715133b4d Some more suggestions based on clion. Mostly removing brackets. 2020-02-28 22:39:26 -05:00
ClementTsang
75a1934420 rustfmt 2020-02-28 22:27:35 -05:00
ClementTsang
bbdd7786ce Optimized imports as per clion 2020-02-28 22:24:24 -05:00
ClementTsang
05d4982a1a Treat backspace as a cursor left movement. 2020-02-28 19:54:20 -05:00
ClementTsang
818d920835 Fixed cursor issue. 2020-02-28 01:12:24 -05:00
ClementTsang
3f55f071b7 Some minor things like adding a question template + removal of debug. 2020-02-27 22:50:43 -05:00
ClementTsang
cc751e19ae Fix issue with cursor on canvas due to not incrementing by the SIZE of the grapheme. 2020-02-27 17:15:09 -05:00
ClementTsang
ce9b5372d9 Use max grapheme length rather than max "string" length. 2020-02-27 16:15:28 -05:00
ClementTsang
a755a5d41c Switch to using unicode_segmentation's cursor as a basis on how we do cursor movement in search. 2020-02-27 16:10:33 -05:00
ClementTsang
0660184099 Colours if selected and F1-3 keys for search options
Added different colours to search options if selected; added F1-3 keys as an alternative for searching.  Both are available, but on macOS F1-3 will be suggested instead.
2020-02-25 21:24:31 -05:00
ClementTsang
ceaedad6dc Skip control characters if they are somehow passed in as a char to on_char_key. 2020-02-24 20:07:38 -05:00
ClementTsang
67c6984406 Pretty sure I fixed scroll resizing... 2020-02-19 19:56:18 -05:00
ClementTsang
8cf5b42f29 Update cargo.toml, some todos 2020-02-19 00:16:40 -05:00
ClementTsang
2135ebbef1 Aaaaand revert again. 2020-02-19 00:06:36 -05:00
ClementTsang
2f59af412d Tons of refactoring and fixes.
* Fixed a bunch of previously introduced bugs.  Oops.
* Some minor refactoring/efficiency changes that *should* help.  Should.
2020-02-17 22:59:35 -05:00
ClementTsang
8e1c525e2a Fix issue introduced with searching and ctrl-u 2020-02-17 18:13:31 -05:00
ClementTsang
b3eafe711e Fix issue introduced with last commit on searching. 2020-02-17 17:53:49 -05:00
ClementTsang
4485d1b380 Some clippy and refactoring. 2020-02-17 17:42:51 -05:00
ClementTsang
c669b5337c Add ability to still show data entries in the legend even if line is disabled. 2020-02-17 12:07:43 -05:00
ClementTsang
b80259d4d2 Add ctrl-u, update in-program docs 2020-02-17 00:20:22 -05:00
ClementTsang
9fcbff99a3 Update GIF, add DELETE key to search options. 2020-02-16 21:54:29 -05:00
ClementTsang
65634f23d4 Not implementing mem and network for now... sorry. 2020-02-16 19:50:10 -05:00
ClementTsang
01b1ec8380 Disabled for now... 2020-02-16 19:45:31 -05:00
ClementTsang
32e8be93b7 CPU title bar and esc sequencing. 2020-02-16 19:32:21 -05:00
ClementTsang
8a718080a5 CPU specific line filtering added. 2020-02-16 17:48:24 -05:00
ClementTsang
74df90010d Some basic setup for adding graph filtering; added delete key to allow dd-ing, some refactoring. 2020-02-16 15:25:52 -05:00
ClementTsang
882e5d9289 More minor refactoring to generalize the app search state struct. 2020-02-15 20:25:32 -05:00
ClementTsang
4dc5a3f6d4 Minor refactoring again. 2020-02-15 20:16:05 -05:00
ClementTsang
51761400ce Some minor refactoring; added a quick skip for invalid or blank searches 2020-02-15 20:01:59 -05:00