Commit graph

22 commits

Author SHA1 Message Date
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
5973e6db72
docs: adjust dev doc file structure, add build and deploy docs (#804)
* docs: add separate section on development

* docs: update instructions on writing docs

* docs: add build and deploy docs
2022-09-12 04:14:19 -04:00
Clement Tsang
14808b3a2e
ci: completion/manpage generation script spring cleaning (#795)
* ci: spring cleaning of completions autogen

This commit changes a few things/cleans up stuff:
- Completion and manpage generation now drops the files off in
  `./target/tmp/bottom` rather than arbitrarily in the build directory.
  This was originally done because I was lazy and just needed it to work
  in CI, but it's kinda gross if you want to build the manpages in your
  own directory.
- CI was updated to handle this.
- Only run if the `BTM_GENERATE` env var is actually non-empty.

* docs: update for manpage/completion gen

* ci: auto delete autogen comp/manpage dir

* ci: fix incorrect mv for autogen

The mv was too late, should be earlier in the workflow.

* ci: specify shell in autogen delete

* docs: more updates to manpage/comp docs

* ci: unify env vars

* ci: skip autogen on build-msi
2022-08-30 18:25:16 -04:00
ClementTsang
8f6284581d docs: Fix some missing text in docs 2021-06-21 02:03:10 -04:00
Clement Tsang
06071d5abf
docs: migrate documentation over to mkdocs (#506)
A large migration of documentation over to mkdocs, and some rewrites. Some stuff (install information, basic supported systems, contributors, thanks) are still staying in README.md, and CONTRIBUTING.md is essentially duplicated right now. However, stuff like configuration and key/mouse bindings are now moved to mkdocs.

Some parts are still a bit WIP - it is definitely not done (documentation never seems to be...). However, it should be "good enough" for now, and I'm much happier working with the documentation in this form than trying to scroll through a giant endless README.md file. It also works much better for adding new documentation.
2021-06-21 01:40:58 -04:00
Clement Tsang
df13859ef2
other: Remove vscode folder (#461)
Removes the .vscode folder.
2021-05-06 00:19:41 -04:00
Clement Tsang
e63a0b4082
refactor: Unify disk conversion to string step (#446)
Refactor to unify the process disk usage -> string into one function.
2021-04-07 20:52:29 -04:00
Clement Tsang
8c4ad90e67
refactor: Another small optimization pass (#350)
Making some small changes that would hopefully improve performance a bit.

- Remove redundant string generations for CPU data conversion
- Switch to fnv for PID hashmap and hashsets
- Use buffered reading to avoid having to store too many lines as strings
2020-12-11 19:54:02 -05:00
Clement Tsang
fd003f84da
bug: Fix some performance regressions (#344)
Fixes some performance regressions and forgotten cleanup.

Changes to attempt to improve performance to match 0.4.x:

- Remove `trace!` and `--debug` for now.  These were a significant hog.  Removing this dropped initial memory usage by about half.
- Add additional cleaning step for `pid_mapping`  during process harvesting.  This should hopefully improve memory usage as time goes on.
- Slightly change how we do sorting to hopefully be a bit more optimal?  This was just an easy change to make that I spotted.
- Fix broken cleaning child thread task.
2020-12-10 22:29:25 -05:00
Clement Tsang
397a7e8467
ci: Add winget template generation (#199)
Adds winget CI generation.
2020-08-22 20:22:47 -04:00
ClementTsang
6d365140b6 chore: add vscode word dict 2020-05-20 11:55:03 -04:00
ClementTsang
502b821144 chore: Add Cargo.lock back in 2020-04-08 19:44:29 -04:00
ClementTsang
eb159a45c4 [skip travis] Update .gitignore to ignore .idea 2020-02-28 22:31:11 -05:00
ClementTsang
59238c2687 Added named colour support + rgb colour support in config files. 2020-02-23 13:15:46 -05:00
ClementTsang
ae6e27d25a Updated cargo and .gitignore 2020-01-21 22:48:56 -05:00
ClementTsang
ef9e478daf Added new way of calculating the table widths in order to avoid some tui-rs bug causing the lines to freak out. 2020-01-10 23:41:16 -05:00
ClementTsang
b587b1fe57 [skip travis] Update recording. 2020-01-09 22:26:36 -05:00
ClementTsang
5a32404ed4 Base building blocks of grouped process functionality 2020-01-07 23:39:52 -05:00
ClementTsang
8570823a0b [skip travis] Update gitignore 2019-12-26 21:49:38 -05:00
ClementTsang
7b3c63c8e7 [skip travis] Update .gitignore to please cargo. 2019-09-16 23:17:09 -04:00
ClementTsang
e593149ef9 Modified .gitignore. 2019-09-15 01:30:07 -04:00
ClementTsang
9c6bfe84a2 Update .gitignore. 2019-09-04 16:55:00 -04:00