summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-17other: directly implement procfs functionality with small optimizationsoptimize_procfsClement Tsang
2023-04-16deps: migrate from tui to ratatui (#1086)Clement Tsang
2023-04-15other: update default config generation to show cache (#1102)Clement Tsang
2023-04-15refactor: clean up data init sleep duration code (#1101)Clement Tsang
* refactor: clean up data init sleep duration code * const
2023-04-15other: Speed up first draw and first data collection (#1100)Clement Tsang
* other: add first draw immediately after initialization Previously, I would only do the first draw after an event triggered, so this just makes it so that I *always* draw once first. Some widgets look a bit weird with no data, but this is fine I guess if we want to gain a bit of responsiveness. * other: potentially shorten first time to get data * other: move event loop thread init earlier in app initialization
2023-04-14deps: update starship-battery to 0.8.0 (#1098)Clement Tsang
2023-04-13deps: bump serde to 1.0.160 (#1095)Clement Tsang
2023-04-12docs: add aragonnetje6 as a contributor for code (#1096)allcontributors[bot]
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-12feature: add buffer and cache memory (#1063)Twan Stok
* First implementation of cache memory data collection, mostly copied from RAM and swap implementations * First implementation of cache memory display, copied from RAM and swap implementations. placed cache as second in the list as it is more similar to the RAM than any other item in the list * expanded comment to explain method. * rustfmt * all cache-related code excluded on windows, in the process refactored src/data_conversion.rs convert_mem_label() to convert a single label instead of all at once * better factoring-out of cache memory logic to allow individual disabling * added --enable_cache_memory flag, disabled cache memory collection by default * renamed CCH to CHE not sure how i messed that up * changelog updated * Added command line flag documentation * updated config file documentation * specified that buffer and cache memory display does not work on windows * resolved merge conflicts * added documentation to cache memory data collection * capitalized Windows * implemented missing canvas styling logic * fixed misplaced no-windows flag * reduced colour collisions, as cache colour was the same as the first GPU colour * made FIFTH_COLOUR constant windows-only * Revert "made FIFTH_COLOUR constant windows-only" This reverts commit 72698f1dd7e2de7dbda843708ece6a3dba66f94f. * made FIFTH_COLOUR constant non-windows-only * minor fix for basic mode row count * Update src/app/data_harvester/memory/sysinfo.rs Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> * Update src/canvas/widgets/mem_basic.rs Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> * updated default_config.toml * formatting --------- Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
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-04-11ci: run black on Python scripts (#1094)Clement Tsang
* ci: run black on Python scripts * comments
2023-04-11ci: run wf cache clear script twice with delays (#1093)Clement Tsang
* ci: run wf cache clear script twice with delays * reduce
2023-04-11deps: bump once_cell and related dependencies (#1090)Clement Tsang
* deps: bump once_cell and related dependencies Now that we've removed heim, I can bump up other dependencies that relied on newer versions of once_cell. * Add some dhat code * dhat gitignore
2023-04-10refactor: migrate disk collection code off of heim, remove heim (#1064)Clement Tsang
Migrates existing heim-based disk data collection code off of it to either sysinfo or vendored code based on heim/sysinfo/other sources. This also allows us to remove heim completely from bottom. --- * refactor: fix some refresh code * remove async from the freebsd code * some file/implementation organization Turns out sysinfo lacks a lot of data I need. I can still use it for the Windows disk usage implementation, but I'm probably going to manually implement macos/linux usage and all io usage stats. * more restructuring * Some other fixes * remove futures * ready for some big changes? * big changes * linux io + reads * use lossy conversion for mount point * add windows refresh * so long heim, and thanks for all the fish * fix filter behaviour, remove string allocation when reading lines * rename unix -> system for more accurate file struct representation * fix freebsd * port generic unix partition code * add bindings and fix errors * finish macOS bindings for I/O * disable conform check, this seems to... make disk I/O work on macOS????? * fix linux * add safety comments * more comments * update changelog * changelog * We're going full 0.9.0 for this * update lock * fix some typing * bleh * some file management * hoist out get_disk_usage * fix some stuff for Windows * typing and remove dead code allow lint * unify typing * fix * fix 2 * macOS fix * Add bindings file for windows * add windows implementation * fix macos
2023-04-09docs: update binary install instructionClement Tsang
2023-04-08docs: fix typo in cargo install instructionsClement Tsang
2023-04-08docs: update cargo install instructionsClement Tsang
2023-04-08docs: update mkdocs-material to 9.1.6 (#1089)Clement Tsang
2023-04-08docs: fix typo for Powershell auto-completion installationClement Tsang
2023-04-07deps: update some minor dependency versions (#1087)Clement Tsang
* deps: update some minor dependency versions Bump some dependency versions as of April 7, 2023. Note I skipped any updates tied to futures as that's getting removed along with heim in the near future (heh). * fix rename on Windows from K32GetPerformanceInfo -> GetPerformanceInfo
2023-04-05other: add clippy lints to deny todo and unimplemented (#1085)Clement Tsang
2023-04-04docs: update mkdocs-material to 9.1.5 (#1084)Clement Tsang
2023-04-03ci: run build on unsupported platforms instead of check, bump cross version ↵Clement Tsang
(#1083)
2023-04-03other: add test for multiple regexes in filter (#1082)Clement Tsang
2023-04-02github: change workflow cache clear to weeklyClement Tsang
2023-03-31docs: update note on FreeBSD/M1Clement Tsang
2023-03-30docs: bump mkdocs-material to 9.1.4 (#1081)Clement Tsang
2023-03-29docs: update font issue troubleshooting headerClementTsang
2023-03-29docs: add mention for braille font issues on Linux (#1080)Clement Tsang
2023-03-28deps: bump various dependencies as of 2023-03-27 (#1079)Clement Tsang
2023-03-27deps: bump sysinfo to 0.28 (#1078)Clement Tsang
* deps: update sysinfo to 0.28.0 * 0.28.1 * 0.28.2 * 0.28.3 * 0.28.4
2023-03-26refactor: unify on using bytes for the memory unit when harvesting (#1077)Clement Tsang
* refactor: unify on using bytes for the memory unit when harvesting * some ordering stuff that doesn't mean much * some comments * more fixes * refactor: rename * comments v2 * some more cleanup * remove uninlined_format_args allow
2023-03-25refactor: clean up some data collection refresh code, refresh sysinfo lists ↵Clement Tsang
on loop (#1076) * refactor: clean up some data collection refresh/init code * move out battery * missing setting memory value for proc * stop segfault on macos * unit * oopsie
2023-03-24github: update issue template orderingClement Tsang
2023-03-19docs: words and capitalizationClement Tsang
2023-03-17docs: bump mkdocs-material to 9.1.3 (#1070)Clement Tsang
2023-03-15deps: forgot to bump crossterm back to 0.26.1 (#1069)Clement Tsang
2023-03-15deps: switch back to crossterm 0.26.1 with fix to double keypress (#1068)Clement Tsang
2023-03-14deps: revert crossterm 0.26.1 to fix double input bug on Windows (#1066)Clement Tsang
2023-03-14docs: link to support section in spielClement Tsang
2023-03-13ci: add musl build targets for .deb generation (#1061)Clement Tsang
* ci: add musl build targets for .deb generation * add missing container * try to fix musl rename condition
2023-03-13ci: bump fkirc/skip-duplicate-actions to v5.3.0 (#1059)Clement Tsang
2023-03-13ci: go back to using default cache key + target, update to 2.2.1 (#1058)Clement Tsang
* ci: go back to using default cache key + target, update to 2.2.1 * fix formatting
2023-03-12ci: use sparse crates.io registries in CI (#1057)Clement Tsang
2023-03-11clippy: appease clippy as of Rust 1.68.0 (#1055)Clement Tsang
* clippy: fix derivable_impls clippy warning This was done using `cargo clippy --fix` * cargo fmt after autofix
2023-03-10ci: update the upload artifact action to v3.1.2 (#1054)Clement Tsang
2023-03-08refactor: use internal committed memory calculation for Windows (#1051)Clement Tsang
* refactor: use internal committed memory calculation for Windows * comments
2023-03-08other: deny missing safety docs and add them (#1053)Clement Tsang
2023-03-07ci: do no feature first in cirrus (#1048)Clement Tsang
2023-03-07refactor: more data collection cleanup (#1047)Clement Tsang
* refactor: more memory collection cleanup * more cleanup * clean up data_harvester, remove heim sensor flag Separate out most individual components to separate functions. Also remove Linux's usage of heim's sensors feature, since I wasn't using it apparently. * clean up GPU section * fix cond * fix feature flags * more cleanup * even more cleanup