summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2024-01-01refactor: move around some configuration code again (#1371)Clement Tsang
2024-01-01refactor: move around configuration-related files (#1370)Clement Tsang
* rename general utils file * refactor: move around some configuration files * more shuffling around * fix some ugly formatting
2024-01-01refactor: restructure canvas file folder structure (#1368)Clement Tsang
* refactor: group together some canvas files * rename file * more shuffling around * fmt * more shuffling Going to flatten widgets in another PR. * some docs * naming * fmt
2023-11-19feature: Add gpu proc info (#1276)Justin Martin
* Add gpu util, power and procs. Consolidated gpu calls into `data_harvester`. Changed config flag from `enable_gpu_memory` to `enable_gpu`. Added GPU utilization to the cpu widget. Added GPU process memory usage and utilization percentage to the proc widget. Added key binds for gpu process toggling. Added GPU power usage to the battery widget. Added bounds check to battery widget header. Show battery widget header when `gpu_enable`. Added feature flag `legacy-functions` to `nvml-wrapper`. updated config file(s). updated help text. updated docs. * Code Review: Remove GPU util from cpu widget Remove GPU power from battery widget Use reference for gpu widgets_to_harvest Extract match arm to function for feature gate * Code Review: add gmem% toggle * Do not poll gpu temp when filtered * Code Review Two Changes: adjust doc wordings remove extra references remove extra widget harvest checks init proc gpu values use convert_temp_unit for gpu temp
2023-10-22chore: Minor cleanup - remove un-needed ident qualifiers (#1307)Yuri Astrakhan
Keep code a bit tidier and consistent (i.e. if an identifier already has a `use` entry above, why in some cases still prove a full path to it?)
2023-08-24other: appease clippy after Rust 1.72.0 (#1281)Clement Tsang
* deps: use clap 4.4.0 to remove is-terminal * fmt * appease clippy * fmt again * Revert "deps: use clap 4.4.0 to remove is-terminal" This reverts commit 78aa6ec8481d38357adc09e262aa5df87796b6c7.
2023-06-23feature: support human times for rate (#1221)Clement Tsang
2023-06-13other: clean up some cfg usage (#1205)Clement Tsang
* other: convert some cfg if * fix
2023-05-09bug: fix certain custom column combinations causing issues (#1140)Clement Tsang
* docs: update some docs related to processes * bug: temp bandaid on column feature to avoid dupes issue
2023-04-21deps: update clap to 4.x (#1107)Clement Tsang
* deps: update clap to 4.x * changelog * fix test * add gpu feature/flag test
2023-04-12deps: Switch to using hashbrown for general hashmap usage (#1092)Clement Tsang
* deps: replace fxhash with hashbrown + ahash * replace std hashmap with hashbrown + ahash * fmt * some more fmt
2023-03-01other: switch to toml_edit (#1034)Clement Tsang
2023-02-18feature: support 3-char hex colours (#1022)Clement Tsang
2022-12-30other: use custom time chart grid implementation (#937)Clement Tsang
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-11-21other: don't use manual map for color name mapping (#908)Clement Tsang
* 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-06-27ci: fix missing target in tests (#757)Clement Tsang
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
2022-05-01other: add test for battery flag if battery feature is offClementTsang
2022-03-27refactor: remove some simple as-casts (#697)Clement Tsang
Remove some simple as casts that are easy to change to .into(), or easy to check.
2022-03-07deps: update clap to 3.x (#690)Clement Tsang
Updates bottom to use clap 3.x, along with some small refactoring changes.
2021-09-18Feature gate test_default_battery_movementRandy Barlow
test_default_battery_movement() is now feature gated on the battery feature. fixes #581 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2021-07-06bug: Tests try to modify user home directory (#535)Chloe Brown
Fixes a bug where running `cargo test` would try to create a configuration file for the user.
2021-02-15feature: add nord and nord-light colours (#406)Clement Tsang
Adds colour schemes for Nord, along with a light variant.
2020-11-22ci: uptick to 0.5.1, fix ciClementTsang
2020-11-15feature: default colour schemes (#296)Clement Tsang
Adds some default colour choices to choose from.
2020-09-02other: aarch64 support (#217)Clement Tsang
Adds theoretical aarch64 support.
2020-09-01bug: fix broken check from last commit, add testsClementTsang
2020-08-31refactor: Update error messages w/ anyhow and thiserror (#216)Clement Tsang
Refactoring and updating of error messages + tests to be more useful.
2020-08-29feature: Add mouse click support for moving between widgets (#208)Clement Tsang
Adds mouse support to the application, to move between widgets and click on elements. List of things to added: - Click to move between widgets - Click to move between widgets in basic mode - Click on widget entries - Ability to disable mouse if you don't like it, I guess
2020-08-19refactor: Refactor code, add new testsClement Tsang
Refactor code so we use a lib, allowing for easier testing. Adds additional tests for layouts.
2020-08-15feature: Allow sorting by any columnClement Tsang
This feature allows any column to be sortable. This also adds: - Inverting sort for current column with `I` - Invoking a sort widget with `s` or `F6`. Close with same key or esc. And: - A bugfix in regards the basic menu and battery widget - A lot of refactoring
2020-05-16change: remove slash, change scroll behaviour on cpuClement Tsang
- Removal of the old slash-space-to-hide behaviour of CPU widget - Scrolling onto a specific entry will only show that entry - Showing average is now default
2020-05-04chore: update travis a bit for msrvClement Tsang
2020-05-04update tests to deal with msrvClementTsang
2020-04-23test: add config tests, update arg testsClementTsang
2020-04-23refactor: update arg tests to use new binary envClementTsang
2020-04-01Add modularity to widget placement and inclusion (#95)Clement Tsang
2020-03-10Updated documentation, made error in args clearerClementTsang
2020-03-09Add hiding time and autohiding time.ClementTsang
2020-03-08Fixes bug with too large inputs causing a panicClementTsang
We would prefer a more graceful error message stating what went wrong. Caught by the Travis test.
2020-03-08Add configurable default time and interval valuesClementTsang
Also added documentation both in app and in the README.
2020-03-03Add two new tests; bit unrelated tbh.ClementTsang
2020-03-02Refactoring.ClementTsang
2020-02-28Optimized imports as per clionClementTsang
2020-02-20Fix issue with default file paths not being respected; updated default file ↵ClementTsang
paths.
2019-12-30Quick error change for processes to be a bit more graceful, fix testsClement Tsang
2019-12-15Update controls.ClementTsang
2019-10-20Fix for broken testsClementTsang
2019-09-16Fixed text issue.ClementTsang
2019-09-16Added vim + keyboard bindings.ClementTsang
2019-09-15Made charting look better, switched back to braille markers (its the only ↵ClementTsang
way I could make it look good), and dealt with some issues regarding the display of networking.